From c4918aa012b08c08256f99357e9ec034bba2c660 Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Thu, 22 Jan 2026 10:00:54 -0500 Subject: [PATCH 01/19] Revert "Merge pull request #284 from Oloodi/sign_up_dataconect_firebase" This reverts commit ceacaee2339cd14af404ab4bc67a69e3aad46f1c, reversing changes made to fbadd976cf25e65f4c9328ce3e9ada6b1f22a5c8. --- apps/.gitignore | 19 - apps/analytics_options.yaml | 0 apps/apps/client/.gitignore | 45 - apps/apps/client/.metadata | 45 - apps/apps/client/analysis_options.yaml | 1 - apps/apps/client/android/.gitignore | 14 - apps/apps/client/android/app/build.gradle.kts | 45 - .../client/android/app/google-services.json | 190 - .../android/app/src/debug/AndroidManifest.xml | 7 - .../android/app/src/main/AndroidManifest.xml | 45 - .../com/example/krow_client/MainActivity.kt | 5 - .../res/drawable-v21/launch_background.xml | 12 - .../main/res/drawable/launch_background.xml | 12 - .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin 544 -> 0 bytes .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin 442 -> 0 bytes .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 721 -> 0 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 1031 -> 0 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 1443 -> 0 bytes .../app/src/main/res/values-night/styles.xml | 18 - .../app/src/main/res/values/styles.xml | 18 - .../app/src/profile/AndroidManifest.xml | 7 - apps/apps/client/android/build.gradle.kts | 24 - apps/apps/client/android/gradle.properties | 2 - .../gradle/wrapper/gradle-wrapper.properties | 5 - apps/apps/client/android/settings.gradle.kts | 27 - apps/apps/client/ios/.gitignore | 34 - .../client/ios/Flutter/AppFrameworkInfo.plist | 26 - apps/apps/client/ios/Flutter/Debug.xcconfig | 2 - apps/apps/client/ios/Flutter/Release.xcconfig | 2 - apps/apps/client/ios/Podfile | 43 - .../ios/Runner.xcodeproj/project.pbxproj | 616 - .../contents.xcworkspacedata | 7 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcshareddata/WorkspaceSettings.xcsettings | 8 - .../xcshareddata/xcschemes/Runner.xcscheme | 101 - .../contents.xcworkspacedata | 7 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcshareddata/WorkspaceSettings.xcsettings | 8 - apps/apps/client/ios/Runner/AppDelegate.swift | 13 - .../AppIcon.appiconset/Contents.json | 122 - .../Icon-App-1024x1024@1x.png | Bin 10932 -> 0 bytes .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin 295 -> 0 bytes .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin 406 -> 0 bytes .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin 450 -> 0 bytes .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin 282 -> 0 bytes .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin 462 -> 0 bytes .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin 704 -> 0 bytes .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin 406 -> 0 bytes .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin 586 -> 0 bytes .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin 862 -> 0 bytes .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin 862 -> 0 bytes .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin 1674 -> 0 bytes .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin 762 -> 0 bytes .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin 1226 -> 0 bytes .../Icon-App-83.5x83.5@2x.png | Bin 1418 -> 0 bytes .../LaunchImage.imageset/Contents.json | 23 - .../LaunchImage.imageset/LaunchImage.png | Bin 68 -> 0 bytes .../LaunchImage.imageset/LaunchImage@2x.png | Bin 68 -> 0 bytes .../LaunchImage.imageset/LaunchImage@3x.png | Bin 68 -> 0 bytes .../LaunchImage.imageset/README.md | 5 - .../Runner/Base.lproj/LaunchScreen.storyboard | 37 - .../ios/Runner/Base.lproj/Main.storyboard | 26 - apps/apps/client/ios/Runner/Info.plist | 49 - .../ios/Runner/Runner-Bridging-Header.h | 1 - .../client/ios/RunnerTests/RunnerTests.swift | 12 - apps/apps/client/lib/main.dart | 67 - apps/apps/client/linux/.gitignore | 1 - apps/apps/client/linux/CMakeLists.txt | 128 - apps/apps/client/linux/flutter/CMakeLists.txt | 88 - .../flutter/generated_plugin_registrant.cc | 11 - .../flutter/generated_plugin_registrant.h | 15 - .../linux/flutter/generated_plugins.cmake | 23 - apps/apps/client/linux/runner/CMakeLists.txt | 26 - apps/apps/client/linux/runner/main.cc | 6 - .../client/linux/runner/my_application.cc | 148 - .../apps/client/linux/runner/my_application.h | 21 - apps/apps/client/macos/.gitignore | 7 - .../macos/Flutter/Flutter-Debug.xcconfig | 2 - .../macos/Flutter/Flutter-Release.xcconfig | 2 - .../Flutter/GeneratedPluginRegistrant.swift | 18 - apps/apps/client/macos/Podfile | 42 - .../macos/Runner.xcodeproj/project.pbxproj | 705 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcshareddata/xcschemes/Runner.xcscheme | 99 - .../contents.xcworkspacedata | 7 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../client/macos/Runner/AppDelegate.swift | 13 - .../AppIcon.appiconset/Contents.json | 68 - .../AppIcon.appiconset/app_icon_1024.png | Bin 102994 -> 0 bytes .../AppIcon.appiconset/app_icon_128.png | Bin 5680 -> 0 bytes .../AppIcon.appiconset/app_icon_16.png | Bin 520 -> 0 bytes .../AppIcon.appiconset/app_icon_256.png | Bin 14142 -> 0 bytes .../AppIcon.appiconset/app_icon_32.png | Bin 1066 -> 0 bytes .../AppIcon.appiconset/app_icon_512.png | Bin 36406 -> 0 bytes .../AppIcon.appiconset/app_icon_64.png | Bin 2218 -> 0 bytes .../macos/Runner/Base.lproj/MainMenu.xib | 343 - .../macos/Runner/Configs/AppInfo.xcconfig | 14 - .../macos/Runner/Configs/Debug.xcconfig | 2 - .../macos/Runner/Configs/Release.xcconfig | 2 - .../macos/Runner/Configs/Warnings.xcconfig | 13 - .../macos/Runner/DebugProfile.entitlements | 12 - apps/apps/client/macos/Runner/Info.plist | 32 - .../macos/Runner/MainFlutterWindow.swift | 15 - .../client/macos/Runner/Release.entitlements | 8 - .../macos/RunnerTests/RunnerTests.swift | 12 - apps/apps/client/pubspec.yaml | 34 - apps/apps/client/test/widget_test.dart | 30 - apps/apps/client/web/favicon.png | Bin 917 -> 0 bytes apps/apps/client/web/icons/Icon-192.png | Bin 5292 -> 0 bytes apps/apps/client/web/icons/Icon-512.png | Bin 8252 -> 0 bytes .../client/web/icons/Icon-maskable-192.png | Bin 5594 -> 0 bytes .../client/web/icons/Icon-maskable-512.png | Bin 20998 -> 0 bytes apps/apps/client/web/index.html | 38 - apps/apps/client/web/manifest.json | 35 - apps/apps/client/windows/.gitignore | 17 - apps/apps/client/windows/CMakeLists.txt | 108 - .../client/windows/flutter/CMakeLists.txt | 109 - .../flutter/generated_plugin_registrant.cc | 17 - .../flutter/generated_plugin_registrant.h | 15 - .../windows/flutter/generated_plugins.cmake | 25 - .../apps/client/windows/runner/CMakeLists.txt | 40 - apps/apps/client/windows/runner/Runner.rc | 121 - .../client/windows/runner/flutter_window.cpp | 71 - .../client/windows/runner/flutter_window.h | 33 - apps/apps/client/windows/runner/main.cpp | 43 - apps/apps/client/windows/runner/resource.h | 16 - .../windows/runner/resources/app_icon.ico | Bin 33772 -> 0 bytes .../client/windows/runner/runner.exe.manifest | 14 - apps/apps/client/windows/runner/utils.cpp | 65 - apps/apps/client/windows/runner/utils.h | 19 - .../client/windows/runner/win32_window.cpp | 288 - .../apps/client/windows/runner/win32_window.h | 102 - apps/apps/design_system_viewer/.gitignore | 45 - apps/apps/design_system_viewer/.metadata | 45 - .../analysis_options.yaml | 1 - .../design_system_viewer/android/.gitignore | 14 - .../android/app/build.gradle.kts | 44 - .../android/app/src/debug/AndroidManifest.xml | 7 - .../android/app/src/main/AndroidManifest.xml | 45 - .../krow_design_system_viewer/MainActivity.kt | 5 - .../res/drawable-v21/launch_background.xml | 12 - .../main/res/drawable/launch_background.xml | 12 - .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin 544 -> 0 bytes .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin 442 -> 0 bytes .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 721 -> 0 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 1031 -> 0 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 1443 -> 0 bytes .../app/src/main/res/values-night/styles.xml | 18 - .../app/src/main/res/values/styles.xml | 18 - .../app/src/profile/AndroidManifest.xml | 7 - .../android/build.gradle.kts | 24 - .../android/gradle.properties | 2 - .../gradle/wrapper/gradle-wrapper.properties | 5 - .../android/settings.gradle.kts | 26 - apps/apps/design_system_viewer/ios/.gitignore | 34 - .../ios/Flutter/AppFrameworkInfo.plist | 26 - .../ios/Flutter/Debug.xcconfig | 1 - .../ios/Flutter/Release.xcconfig | 1 - .../ios/Runner.xcodeproj/project.pbxproj | 616 - .../contents.xcworkspacedata | 7 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcshareddata/WorkspaceSettings.xcsettings | 8 - .../xcshareddata/xcschemes/Runner.xcscheme | 101 - .../contents.xcworkspacedata | 7 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcshareddata/WorkspaceSettings.xcsettings | 8 - .../ios/Runner/AppDelegate.swift | 13 - .../AppIcon.appiconset/Contents.json | 122 - .../Icon-App-1024x1024@1x.png | Bin 10932 -> 0 bytes .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin 295 -> 0 bytes .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin 406 -> 0 bytes .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin 450 -> 0 bytes .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin 282 -> 0 bytes .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin 462 -> 0 bytes .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin 704 -> 0 bytes .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin 406 -> 0 bytes .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin 586 -> 0 bytes .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin 862 -> 0 bytes .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin 862 -> 0 bytes .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin 1674 -> 0 bytes .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin 762 -> 0 bytes .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin 1226 -> 0 bytes .../Icon-App-83.5x83.5@2x.png | Bin 1418 -> 0 bytes .../LaunchImage.imageset/Contents.json | 23 - .../LaunchImage.imageset/LaunchImage.png | Bin 68 -> 0 bytes .../LaunchImage.imageset/LaunchImage@2x.png | Bin 68 -> 0 bytes .../LaunchImage.imageset/LaunchImage@3x.png | Bin 68 -> 0 bytes .../LaunchImage.imageset/README.md | 5 - .../Runner/Base.lproj/LaunchScreen.storyboard | 37 - .../ios/Runner/Base.lproj/Main.storyboard | 26 - .../ios/Runner/Info.plist | 49 - .../ios/Runner/Runner-Bridging-Header.h | 1 - .../ios/RunnerTests/RunnerTests.swift | 12 - apps/apps/design_system_viewer/lib/main.dart | 122 - .../design_system_viewer/linux/.gitignore | 1 - .../design_system_viewer/linux/CMakeLists.txt | 128 - .../linux/flutter/CMakeLists.txt | 88 - .../flutter/generated_plugin_registrant.cc | 11 - .../flutter/generated_plugin_registrant.h | 15 - .../linux/flutter/generated_plugins.cmake | 23 - .../linux/runner/CMakeLists.txt | 26 - .../design_system_viewer/linux/runner/main.cc | 6 - .../linux/runner/my_application.cc | 148 - .../linux/runner/my_application.h | 21 - .../design_system_viewer/macos/.gitignore | 7 - .../macos/Flutter/Flutter-Debug.xcconfig | 1 - .../macos/Flutter/Flutter-Release.xcconfig | 1 - .../Flutter/GeneratedPluginRegistrant.swift | 10 - .../macos/Runner.xcodeproj/project.pbxproj | 705 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcshareddata/xcschemes/Runner.xcscheme | 99 - .../contents.xcworkspacedata | 7 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../macos/Runner/AppDelegate.swift | 13 - .../AppIcon.appiconset/Contents.json | 68 - .../AppIcon.appiconset/app_icon_1024.png | Bin 102994 -> 0 bytes .../AppIcon.appiconset/app_icon_128.png | Bin 5680 -> 0 bytes .../AppIcon.appiconset/app_icon_16.png | Bin 520 -> 0 bytes .../AppIcon.appiconset/app_icon_256.png | Bin 14142 -> 0 bytes .../AppIcon.appiconset/app_icon_32.png | Bin 1066 -> 0 bytes .../AppIcon.appiconset/app_icon_512.png | Bin 36406 -> 0 bytes .../AppIcon.appiconset/app_icon_64.png | Bin 2218 -> 0 bytes .../macos/Runner/Base.lproj/MainMenu.xib | 343 - .../macos/Runner/Configs/AppInfo.xcconfig | 14 - .../macos/Runner/Configs/Debug.xcconfig | 2 - .../macos/Runner/Configs/Release.xcconfig | 2 - .../macos/Runner/Configs/Warnings.xcconfig | 13 - .../macos/Runner/DebugProfile.entitlements | 12 - .../macos/Runner/Info.plist | 32 - .../macos/Runner/MainFlutterWindow.swift | 15 - .../macos/Runner/Release.entitlements | 8 - .../macos/RunnerTests/RunnerTests.swift | 12 - apps/apps/design_system_viewer/pubspec.yaml | 90 - .../test/widget_test.dart | 30 - .../apps/design_system_viewer/web/favicon.png | Bin 917 -> 0 bytes .../web/icons/Icon-192.png | Bin 5292 -> 0 bytes .../web/icons/Icon-512.png | Bin 8252 -> 0 bytes .../web/icons/Icon-maskable-192.png | Bin 5594 -> 0 bytes .../web/icons/Icon-maskable-512.png | Bin 20998 -> 0 bytes apps/apps/design_system_viewer/web/index.html | 38 - .../design_system_viewer/web/manifest.json | 35 - .../design_system_viewer/windows/.gitignore | 17 - .../windows/CMakeLists.txt | 108 - .../windows/flutter/CMakeLists.txt | 109 - .../flutter/generated_plugin_registrant.cc | 11 - .../flutter/generated_plugin_registrant.h | 15 - .../windows/flutter/generated_plugins.cmake | 23 - .../windows/runner/CMakeLists.txt | 40 - .../windows/runner/Runner.rc | 121 - .../windows/runner/flutter_window.cpp | 71 - .../windows/runner/flutter_window.h | 33 - .../windows/runner/main.cpp | 43 - .../windows/runner/resource.h | 16 - .../windows/runner/resources/app_icon.ico | Bin 33772 -> 0 bytes .../windows/runner/runner.exe.manifest | 14 - .../windows/runner/utils.cpp | 65 - .../windows/runner/utils.h | 19 - .../windows/runner/win32_window.cpp | 288 - .../windows/runner/win32_window.h | 102 - apps/apps/staff/.gitignore | 45 - apps/apps/staff/.metadata | 30 - apps/apps/staff/README.md | 3 - apps/apps/staff/analysis_options.yaml | 1 - apps/apps/staff/android/.gitignore | 14 - apps/apps/staff/android/app/build.gradle.kts | 44 - .../android/app/src/debug/AndroidManifest.xml | 7 - .../android/app/src/main/AndroidManifest.xml | 45 - .../com/example/krow_staff/MainActivity.kt | 5 - .../krowwithus_staff/MainActivity.kt | 5 - .../res/drawable-v21/launch_background.xml | 12 - .../main/res/drawable/launch_background.xml | 12 - .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin 544 -> 0 bytes .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin 442 -> 0 bytes .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 721 -> 0 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 1031 -> 0 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 1443 -> 0 bytes .../app/src/main/res/values-night/styles.xml | 18 - .../app/src/main/res/values/styles.xml | 18 - .../app/src/profile/AndroidManifest.xml | 7 - apps/apps/staff/android/build.gradle.kts | 24 - apps/apps/staff/android/gradle.properties | 2 - .../gradle/wrapper/gradle-wrapper.properties | 5 - apps/apps/staff/android/settings.gradle.kts | 26 - apps/apps/staff/ios/.gitignore | 34 - .../staff/ios/Flutter/AppFrameworkInfo.plist | 26 - apps/apps/staff/ios/Flutter/Debug.xcconfig | 2 - apps/apps/staff/ios/Flutter/Release.xcconfig | 2 - apps/apps/staff/ios/Podfile | 43 - .../ios/Runner.xcodeproj/project.pbxproj | 616 - .../contents.xcworkspacedata | 7 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcshareddata/WorkspaceSettings.xcsettings | 8 - .../xcshareddata/xcschemes/Runner.xcscheme | 101 - .../contents.xcworkspacedata | 7 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcshareddata/WorkspaceSettings.xcsettings | 8 - apps/apps/staff/ios/Runner/AppDelegate.swift | 13 - .../AppIcon.appiconset/Contents.json | 122 - .../Icon-App-1024x1024@1x.png | Bin 10932 -> 0 bytes .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin 295 -> 0 bytes .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin 406 -> 0 bytes .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin 450 -> 0 bytes .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin 282 -> 0 bytes .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin 462 -> 0 bytes .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin 704 -> 0 bytes .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin 406 -> 0 bytes .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin 586 -> 0 bytes .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin 862 -> 0 bytes .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin 862 -> 0 bytes .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin 1674 -> 0 bytes .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin 762 -> 0 bytes .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin 1226 -> 0 bytes .../Icon-App-83.5x83.5@2x.png | Bin 1418 -> 0 bytes .../LaunchImage.imageset/Contents.json | 23 - .../LaunchImage.imageset/LaunchImage.png | Bin 68 -> 0 bytes .../LaunchImage.imageset/LaunchImage@2x.png | Bin 68 -> 0 bytes .../LaunchImage.imageset/LaunchImage@3x.png | Bin 68 -> 0 bytes .../LaunchImage.imageset/README.md | 5 - .../Runner/Base.lproj/LaunchScreen.storyboard | 37 - .../ios/Runner/Base.lproj/Main.storyboard | 26 - apps/apps/staff/ios/Runner/Info.plist | 49 - .../staff/ios/Runner/Runner-Bridging-Header.h | 1 - .../staff/ios/RunnerTests/RunnerTests.swift | 12 - apps/apps/staff/lib/main.dart | 67 - apps/apps/staff/linux/.gitignore | 1 - apps/apps/staff/linux/CMakeLists.txt | 128 - apps/apps/staff/linux/flutter/CMakeLists.txt | 88 - .../flutter/generated_plugin_registrant.cc | 11 - .../flutter/generated_plugin_registrant.h | 15 - .../linux/flutter/generated_plugins.cmake | 23 - apps/apps/staff/linux/runner/CMakeLists.txt | 26 - apps/apps/staff/linux/runner/main.cc | 6 - .../apps/staff/linux/runner/my_application.cc | 148 - apps/apps/staff/linux/runner/my_application.h | 21 - apps/apps/staff/macos/.gitignore | 7 - .../macos/Flutter/Flutter-Debug.xcconfig | 2 - .../macos/Flutter/Flutter-Release.xcconfig | 2 - .../Flutter/GeneratedPluginRegistrant.swift | 18 - apps/apps/staff/macos/Podfile | 42 - apps/apps/staff/macos/Podfile.lock | 23 - .../macos/Runner.xcodeproj/project.pbxproj | 801 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcshareddata/xcschemes/Runner.xcscheme | 99 - .../contents.xcworkspacedata | 10 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../apps/staff/macos/Runner/AppDelegate.swift | 13 - .../AppIcon.appiconset/Contents.json | 68 - .../AppIcon.appiconset/app_icon_1024.png | Bin 102994 -> 0 bytes .../AppIcon.appiconset/app_icon_128.png | Bin 5680 -> 0 bytes .../AppIcon.appiconset/app_icon_16.png | Bin 520 -> 0 bytes .../AppIcon.appiconset/app_icon_256.png | Bin 14142 -> 0 bytes .../AppIcon.appiconset/app_icon_32.png | Bin 1066 -> 0 bytes .../AppIcon.appiconset/app_icon_512.png | Bin 36406 -> 0 bytes .../AppIcon.appiconset/app_icon_64.png | Bin 2218 -> 0 bytes .../macos/Runner/Base.lproj/MainMenu.xib | 343 - .../macos/Runner/Configs/AppInfo.xcconfig | 14 - .../staff/macos/Runner/Configs/Debug.xcconfig | 2 - .../macos/Runner/Configs/Release.xcconfig | 2 - .../macos/Runner/Configs/Warnings.xcconfig | 13 - .../macos/Runner/DebugProfile.entitlements | 12 - apps/apps/staff/macos/Runner/Info.plist | 32 - .../macos/Runner/MainFlutterWindow.swift | 15 - .../staff/macos/Runner/Release.entitlements | 8 - .../staff/macos/RunnerTests/RunnerTests.swift | 12 - apps/apps/staff/pubspec.yaml | 30 - apps/apps/staff/test/widget_test.dart | 30 - apps/apps/staff/web/favicon.png | Bin 917 -> 0 bytes apps/apps/staff/web/icons/Icon-192.png | Bin 5292 -> 0 bytes apps/apps/staff/web/icons/Icon-512.png | Bin 8252 -> 0 bytes .../staff/web/icons/Icon-maskable-192.png | Bin 5594 -> 0 bytes .../staff/web/icons/Icon-maskable-512.png | Bin 20998 -> 0 bytes apps/apps/staff/web/index.html | 38 - apps/apps/staff/web/manifest.json | 35 - apps/apps/staff/windows/.gitignore | 17 - apps/apps/staff/windows/CMakeLists.txt | 108 - .../apps/staff/windows/flutter/CMakeLists.txt | 109 - .../flutter/generated_plugin_registrant.cc | 17 - .../flutter/generated_plugin_registrant.h | 15 - .../windows/flutter/generated_plugins.cmake | 25 - apps/apps/staff/windows/runner/CMakeLists.txt | 40 - apps/apps/staff/windows/runner/Runner.rc | 121 - .../staff/windows/runner/flutter_window.cpp | 71 - .../staff/windows/runner/flutter_window.h | 33 - apps/apps/staff/windows/runner/main.cpp | 43 - apps/apps/staff/windows/runner/resource.h | 16 - .../windows/runner/resources/app_icon.ico | Bin 33772 -> 0 bytes .../staff/windows/runner/runner.exe.manifest | 14 - apps/apps/staff/windows/runner/utils.cpp | 65 - apps/apps/staff/windows/runner/utils.h | 19 - .../staff/windows/runner/win32_window.cpp | 288 - apps/apps/staff/windows/runner/win32_window.h | 102 - apps/docs/01-architecture-principles.md | 134 - apps/docs/02-agent-development-rules.md | 83 - apps/docs/03-design-system-usage.md | 131 - apps/melos.yaml | 22 - apps/mobile-client/.keep | 1 + apps/mobile-staff/.keep | 1 + apps/packages/core/lib/core.dart | 4 - .../domain/arguments/usecase_argument.dart | 12 - .../core/lib/src/domain/usecases/usecase.dart | 25 - apps/packages/core/pubspec.yaml | 13 - apps/packages/core_localization/.gitignore | 31 - apps/packages/core_localization/.metadata | 10 - .../core_localization/analysis_options.yaml | 4 - .../lib/core_localization.dart | 10 - .../lib/src/bloc/locale_bloc.dart | 56 - .../lib/src/bloc/locale_event.dart | 22 - .../lib/src/bloc/locale_state.dart | 20 - .../datasources/locale_local_data_source.dart | 29 - .../locale_repository_impl.dart | 28 - .../locale_repository_interface.dart | 17 - .../domain/usecases/get_locale_use_case.dart | 19 - .../domain/usecases/set_locale_use_case.dart | 19 - .../lib/src/l10n/en.i18n.json | 190 - .../lib/src/l10n/es.i18n.json | 189 - .../lib/src/l10n/strings.g.dart | 183 - .../lib/src/l10n/strings_en.g.dart | 861 - .../lib/src/l10n/strings_es.g.dart | 579 - .../lib/src/localization_module.dart | 46 - apps/packages/core_localization/pubspec.yaml | 38 - .../test/localization_test.dart | 12 - .../data_connect/lib/krow_data_connect.dart | 20 - .../lib/src/data_connect_module.dart | 13 - .../dataconnect_generated/.guides/config.json | 9 - .../dataconnect_generated/.guides/setup.md | 15 - .../dataconnect_generated/.guides/usage.md | 32 - .../lib/src/dataconnect_generated/README.md | 23741 ---------------- .../accept_invite_by_code.dart | 88 - .../cancel_invite_by_code.dart | 88 - .../dataconnect_generated/create_account.dart | 163 - .../create_activity_log.dart | 245 - .../create_application.dart | 187 - .../create_assignment.dart | 291 - .../create_attire_option.dart | 192 - .../create_benefits_data.dart | 139 - .../create_business.dart | 300 - .../create_category.dart | 147 - .../create_certificate.dart | 261 - .../create_client_feedback.dart | 192 - .../create_conversation.dart | 223 - .../dataconnect_generated/create_course.dart | 231 - .../create_custom_rate_card.dart | 170 - .../create_document.dart | 149 - .../create_emergency_contact.dart | 142 - .../create_faq_data.dart | 142 - .../src/dataconnect_generated/create_hub.dart | 177 - .../dataconnect_generated/create_invoice.dart | 341 - .../create_invoice_template.dart | 402 - .../dataconnect_generated/create_level.dart | 162 - .../create_member_task.dart | 133 - .../dataconnect_generated/create_message.dart | 154 - .../dataconnect_generated/create_order.dart | 426 - .../create_recent_payment.dart | 170 - .../dataconnect_generated/create_role.dart | 140 - .../create_role_category.dart | 130 - .../dataconnect_generated/create_shift.dart | 389 - .../create_shift_role.dart | 264 - .../dataconnect_generated/create_staff.dart | 597 - .../create_staff_availability.dart | 187 - .../create_staff_availability_stats.dart | 230 - .../create_staff_course.dart | 207 - .../create_staff_document.dart | 183 - .../create_staff_role.dart | 152 - .../dataconnect_generated/create_task.dart | 255 - .../create_task_comment.dart | 154 - .../create_tax_form.dart | 201 - .../dataconnect_generated/create_team.dart | 296 - .../create_team_hub.dart | 197 - .../create_team_hud_department.dart | 147 - .../create_team_member.dart | 216 - .../dataconnect_generated/create_user.dart | 194 - .../create_user_conversation.dart | 167 - .../dataconnect_generated/create_vendor.dart | 402 - .../create_vendor_benefit_plan.dart | 207 - .../create_vendor_rate.dart | 245 - .../create_workforce.dart | 154 - .../deactivate_workforce.dart | 124 - .../dataconnect_generated/delete_account.dart | 124 - .../delete_activity_log.dart | 124 - .../delete_application.dart | 124 - .../delete_assignment.dart | 124 - .../delete_attire_option.dart | 124 - .../delete_benefits_data.dart | 135 - .../delete_business.dart | 124 - .../delete_category.dart | 124 - .../delete_certificate.dart | 124 - .../delete_client_feedback.dart | 124 - .../delete_conversation.dart | 124 - .../dataconnect_generated/delete_course.dart | 124 - .../delete_custom_rate_card.dart | 124 - .../delete_document.dart | 124 - .../delete_emergency_contact.dart | 124 - .../delete_faq_data.dart | 124 - .../src/dataconnect_generated/delete_hub.dart | 124 - .../dataconnect_generated/delete_invoice.dart | 124 - .../delete_invoice_template.dart | 124 - .../dataconnect_generated/delete_level.dart | 124 - .../delete_member_task.dart | 135 - .../dataconnect_generated/delete_message.dart | 124 - .../dataconnect_generated/delete_order.dart | 124 - .../delete_recent_payment.dart | 124 - .../dataconnect_generated/delete_role.dart | 124 - .../delete_role_category.dart | 124 - .../dataconnect_generated/delete_shift.dart | 124 - .../delete_shift_role.dart | 135 - .../dataconnect_generated/delete_staff.dart | 124 - .../delete_staff_availability.dart | 154 - .../delete_staff_availability_stats.dart | 124 - .../delete_staff_course.dart | 124 - .../delete_staff_document.dart | 135 - .../delete_staff_role.dart | 135 - .../dataconnect_generated/delete_task.dart | 124 - .../delete_task_comment.dart | 124 - .../delete_tax_form.dart | 124 - .../dataconnect_generated/delete_team.dart | 124 - .../delete_team_hub.dart | 124 - .../delete_team_hud_department.dart | 124 - .../delete_team_member.dart | 124 - .../dataconnect_generated/delete_user.dart | 124 - .../delete_user_conversation.dart | 135 - .../dataconnect_generated/delete_vendor.dart | 124 - .../delete_vendor_benefit_plan.dart | 124 - .../delete_vendor_rate.dart | 124 - .../filter_accounts.dart | 209 - .../filter_activity_logs.dart | 332 - .../filter_assignments.dart | 444 - .../filter_attire_options.dart | 203 - .../filter_categories.dart | 188 - .../filter_client_feedbacks.dart | 359 - .../filter_conversations.dart | 285 - .../dataconnect_generated/filter_courses.dart | 250 - .../filter_documents.dart | 161 - .../filter_faq_datas.dart | 149 - .../dataconnect_generated/filter_hubs.dart | 196 - .../filter_invoices.dart | 594 - .../dataconnect_generated/filter_levels.dart | 174 - .../dataconnect_generated/filter_shifts.dart | 529 - .../dataconnect_generated/filter_staff.dart | 299 - .../filter_staff_availability_stats.dart | 389 - .../filter_staff_roles.dart | 206 - .../dataconnect_generated/filter_tasks.dart | 239 - .../filter_tax_forms.dart | 189 - .../filter_user_conversations.dart | 423 - .../dataconnect_generated/filter_users.dart | 215 - .../filter_vendor_benefit_plans.dart | 293 - .../src/dataconnect_generated/generated.dart | 4498 --- .../get_account_by_id.dart | 174 - .../get_accounts_by_owner_id.dart | 174 - .../get_activity_log_by_id.dart | 216 - .../get_application_by_id.dart | 545 - .../get_applications_by_shift_id.dart | 545 - ...t_applications_by_shift_id_and_status.dart | 587 - .../get_applications_by_staff_id.dart | 578 - .../get_assignment_by_id.dart | 707 - .../get_attire_option_by_id.dart | 169 - .../get_benefits_data_by_key.dart | 266 - .../get_business_by_id.dart | 236 - .../get_businesses_by_user_id.dart | 236 - .../get_category_by_id.dart | 162 - .../get_certificate_by_id.dart | 252 - .../get_client_feedback_by_id.dart | 250 - .../get_conversation_by_id.dart | 184 - .../get_course_by_id.dart | 229 - .../get_custom_rate_card_by_id.dart | 164 - .../get_document_by_id.dart | 150 - .../get_emergency_contact_by_id.dart | 167 - .../get_emergency_contacts_by_staff_id.dart | 167 - .../get_faq_data_by_id.dart | 159 - .../dataconnect_generated/get_hub_by_id.dart | 176 - .../get_hubs_by_owner_id.dart | 176 - .../get_invoice_by_id.dart | 448 - .../get_invoice_template_by_id.dart | 451 - .../get_level_by_id.dart | 169 - .../get_member_task_by_id_key.dart | 291 - .../get_member_tasks_by_task_id.dart | 285 - .../get_message_by_id.dart | 194 - .../get_messages_by_conversation_id.dart | 194 - .../dataconnect_generated/get_my_tasks.dart | 285 - .../get_order_by_id.dart | 378 - .../get_orders_by_business_id.dart | 411 - .../get_orders_by_date_range.dart | 418 - .../get_orders_by_status.dart | 413 - .../get_orders_by_vendor_id.dart | 411 - .../get_rapid_orders.dart | 404 - .../get_recent_payment_by_id.dart | 582 - .../dataconnect_generated/get_role_by_id.dart | 151 - .../get_role_categories_by_category.dart | 138 - .../get_role_category_by_id.dart | 150 - .../get_shift_by_id.dart | 443 - .../get_shift_role_by_id.dart | 462 - .../get_shifts_by_business_id.dart | 506 - .../get_shifts_by_vendor_id.dart | 506 - .../get_staff_availability_by_key.dart | 238 - ..._staff_availability_stats_by_staff_id.dart | 243 - .../get_staff_by_id.dart | 380 - .../get_staff_by_user_id.dart | 373 - .../get_staff_course_by_id.dart | 183 - .../get_staff_course_by_staff_and_course.dart | 189 - .../get_staff_document_by_key.dart | 238 - .../get_staff_role_by_key.dart | 268 - .../dataconnect_generated/get_task_by_id.dart | 213 - .../get_task_comment_by_id.dart | 233 - .../get_task_comments_by_task_id.dart | 233 - .../get_tasks_by_owner_id.dart | 213 - .../get_tax_form_by_id.dart | 190 - .../get_tax_forms_bystaff_id.dart | 190 - .../dataconnect_generated/get_team_by_id.dart | 235 - .../get_team_hub_by_id.dart | 192 - .../get_team_hubs_by_team_id.dart | 192 - .../get_team_hud_department_by_id.dart | 192 - .../get_team_member_by_id.dart | 260 - .../get_team_members_by_team_id.dart | 260 - .../get_teams_by_owner_id.dart | 235 - .../dataconnect_generated/get_user_by_id.dart | 159 - .../get_user_conversation_by_key.dart | 313 - .../get_vendor_benefit_plan_by_id.dart | 222 - .../get_vendor_by_id.dart | 285 - .../get_vendor_by_user_id.dart | 285 - .../get_vendor_rate_by_id.dart | 240 - .../get_workforce_by_id.dart | 259 - .../get_workforce_by_vendor_and_number.dart | 149 - .../get_workforce_by_vendor_and_staff.dart | 265 - .../increment_unread_for_user.dart | 141 - .../dataconnect_generated/list_accounts.dart | 138 - ...ive_vendor_benefit_plans_by_vendor_id.dart | 255 - .../list_activity_logs.dart | 242 - .../list_activity_logs_by_user_id.dart | 249 - .../list_applications.dart | 509 - .../list_applications_for_coverage.dart | 143 - .../list_applications_for_daily_ops.dart | 157 - .../list_applications_for_no_show_range.dart | 143 - .../list_applications_for_performance.dart | 157 - .../list_assignments.dart | 625 - .../list_assignments_by_shift_role.dart | 275 - .../list_assignments_by_workforce_id.dart | 585 - .../list_assignments_by_workforce_ids.dart | 538 - .../list_attire_options.dart | 133 - .../list_benefits_data.dart | 286 - .../list_benefits_data_by_staff_id.dart | 293 - ...nefits_data_by_vendor_benefit_plan_id.dart | 293 - ...efits_data_by_vendor_benefit_plan_ids.dart | 295 - .../list_businesses.dart | 200 - .../list_categories.dart | 126 - .../list_certificates.dart | 216 - .../list_certificates_by_staff_id.dart | 252 - ..._client_feedback_ratings_by_vendor_id.dart | 266 - .../list_client_feedbacks.dart | 276 - ...ient_feedbacks_by_business_and_vendor.dart | 290 - .../list_client_feedbacks_by_business_id.dart | 283 - .../list_client_feedbacks_by_vendor_id.dart | 283 - .../list_conversations.dart | 210 - .../list_conversations_by_status.dart | 219 - .../list_conversations_by_type.dart | 219 - .../dataconnect_generated/list_courses.dart | 193 - .../list_custom_rate_cards.dart | 128 - .../dataconnect_generated/list_documents.dart | 114 - .../list_emergency_contacts.dart | 131 - .../dataconnect_generated/list_faq_datas.dart | 123 - .../src/dataconnect_generated/list_hubs.dart | 140 - .../list_invoice_templates.dart | 477 - ...list_invoice_templates_by_business_id.dart | 484 - .../list_invoice_templates_by_order_id.dart | 484 - .../list_invoice_templates_by_owner_id.dart | 484 - .../list_invoice_templates_by_vendor_id.dart | 484 - .../dataconnect_generated/list_invoices.dart | 474 - .../list_invoices_by_business_id.dart | 481 - .../list_invoices_by_order_id.dart | 481 - .../list_invoices_by_status.dart | 483 - .../list_invoices_by_vendor_id.dart | 481 - .../list_invoices_for_spend_by_business.dart | 297 - .../list_invoices_for_spend_by_order.dart | 297 - .../list_invoices_for_spend_by_vendor.dart | 297 - .../dataconnect_generated/list_levels.dart | 133 - .../dataconnect_generated/list_messages.dart | 158 - .../dataconnect_generated/list_orders.dart | 404 - .../list_overdue_invoices.dart | 481 - .../list_recent_payments.dart | 608 - ...ist_recent_payments_by_application_id.dart | 607 - .../list_recent_payments_by_business_id.dart | 657 - .../list_recent_payments_by_invoice_id.dart | 605 - .../list_recent_payments_by_invoice_ids.dart | 602 - .../list_recent_payments_by_staff_id.dart | 631 - .../list_recent_payments_by_status.dart | 602 - .../list_role_categories.dart | 114 - .../src/dataconnect_generated/list_roles.dart | 115 - .../list_roles_by_vendor_id.dart | 151 - .../list_roles_byrole_category_id.dart | 151 - .../list_shift_roles_by_role_id.dart | 489 - .../list_shift_roles_by_shift_id.dart | 489 - ...hift_roles_by_shift_id_and_time_range.dart | 503 - .../list_shift_roles_by_vendor_id.dart | 549 - .../dataconnect_generated/list_shifts.dart | 469 - .../list_shifts_for_coverage.dart | 166 - ...list_shifts_for_daily_ops_by_business.dart | 179 - .../list_shifts_for_daily_ops_by_vendor.dart | 179 - .../list_shifts_for_forecast_by_business.dart | 173 - .../list_shifts_for_forecast_by_vendor.dart | 173 - ..._shifts_for_no_show_range_by_business.dart | 143 - ...st_shifts_for_no_show_range_by_vendor.dart | 143 - ...st_shifts_for_performance_by_business.dart | 173 - ...list_shifts_for_performance_by_vendor.dart | 173 - .../src/dataconnect_generated/list_staff.dart | 330 - .../list_staff_availabilities.dart | 248 - .../list_staff_availabilities_by_day.dart | 257 - ...list_staff_availabilities_by_staff_id.dart | 255 - .../list_staff_availability_stats.dart | 269 - .../list_staff_courses_by_course_id.dart | 216 - .../list_staff_courses_by_staff_id.dart | 216 - ...list_staff_documents_by_document_type.dart | 246 - .../list_staff_documents_by_staff_id.dart | 258 - .../list_staff_documents_by_status.dart | 246 - .../list_staff_for_no_show_report.dart | 145 - .../list_staff_for_performance.dart | 154 - .../list_staff_roles.dart | 288 - .../list_staff_roles_by_role_id.dart | 246 - .../list_staff_roles_by_staff_id.dart | 232 - .../list_task_comments.dart | 197 - .../src/dataconnect_generated/list_tasks.dart | 177 - .../dataconnect_generated/list_tax_forms.dart | 154 - .../dataconnect_generated/list_team_hubs.dart | 156 - .../list_team_hubs_by_owner_id.dart | 178 - .../list_team_hud_departments.dart | 218 - ...t_team_hud_departments_by_team_hub_id.dart | 225 - .../list_team_members.dart | 224 - .../src/dataconnect_generated/list_teams.dart | 199 - .../list_timesheets_for_spend.dart | 318 - .../list_unread_activity_logs_by_user_id.dart | 249 - ..._unread_user_conversations_by_user_id.dart | 280 - .../list_user_conversations.dart | 333 - ...user_conversations_by_conversation_id.dart | 241 - .../list_user_conversations_by_user_id.dart | 354 - .../src/dataconnect_generated/list_users.dart | 137 - .../list_vendor_benefit_plans.dart | 248 - ...ist_vendor_benefit_plans_by_vendor_id.dart | 255 - .../list_vendor_rates.dart | 204 - .../dataconnect_generated/list_vendors.dart | 249 - .../list_workforce_by_staff_id.dart | 243 - .../list_workforce_by_vendor_id.dart | 236 - .../mark_activity_log_as_read.dart | 124 - .../mark_activity_logs_as_read.dart | 90 - .../mark_conversation_as_read.dart | 154 - ...h_invoice_templates_by_owner_and_name.dart | 491 - .../dataconnect_generated/update_account.dart | 187 - .../update_activity_log.dart | 292 - .../update_application_status.dart | 209 - .../update_assignment.dart | 293 - .../update_attire_option.dart | 217 - .../update_benefits_data.dart | 154 - .../update_business.dart | 322 - .../update_category.dart | 172 - .../update_certificate.dart | 292 - .../update_client_feedback.dart | 217 - .../update_conversation.dart | 232 - .../update_conversation_last_message.dart | 157 - .../dataconnect_generated/update_course.dart | 239 - .../update_custom_rate_card.dart | 187 - .../update_document.dart | 172 - .../update_emergency_contact.dart | 172 - .../update_faq_data.dart | 159 - .../src/dataconnect_generated/update_hub.dart | 202 - .../dataconnect_generated/update_invoice.dart | 457 - .../update_invoice_template.dart | 427 - .../dataconnect_generated/update_level.dart | 187 - .../dataconnect_generated/update_message.dart | 187 - .../dataconnect_generated/update_order.dart | 382 - .../update_recent_payment.dart | 202 - .../dataconnect_generated/update_role.dart | 164 - .../update_role_category.dart | 157 - .../dataconnect_generated/update_shift.dart | 399 - .../update_shift_role.dart | 274 - .../dataconnect_generated/update_staff.dart | 622 - .../update_staff_availability.dart | 189 - .../update_staff_availability_stats.dart | 232 - .../update_staff_course.dart | 202 - .../update_staff_document.dart | 184 - .../dataconnect_generated/update_task.dart | 292 - .../update_task_comment.dart | 157 - .../update_tax_form.dart | 202 - .../dataconnect_generated/update_team.dart | 307 - .../update_team_hub.dart | 247 - .../update_team_hud_department.dart | 172 - .../update_team_member.dart | 217 - .../update_team_member_invite_status.dart | 132 - .../dataconnect_generated/update_user.dart | 202 - .../update_user_conversation.dart | 169 - .../dataconnect_generated/update_vendor.dart | 412 - .../update_vendor_benefit_plan.dart | 232 - .../update_vendor_rate.dart | 262 - .../update_workforce.dart | 172 - .../lib/src/mocks/auth_repository_mock.dart | 48 - .../src/mocks/business_repository_mock.dart | 28 - .../lib/src/mocks/event_repository_mock.dart | 58 - .../src/mocks/financial_repository_mock.dart | 33 - .../lib/src/mocks/home_repository_mock.dart | 21 - .../lib/src/mocks/rating_repository_mock.dart | 22 - .../lib/src/mocks/skill_repository_mock.dart | 40 - .../lib/src/mocks/staff_repository_mock.dart | 39 - .../src/mocks/support_repository_mock.dart | 25 - apps/packages/data_connect/pubspec.yaml | 16 - apps/packages/design_system/.gitignore | 31 - apps/packages/design_system/.metadata | 10 - apps/packages/design_system/CHANGELOG.md | 3 - apps/packages/design_system/LICENSE | 1 - apps/packages/design_system/README.md | 39 - .../design_system/analysis_options.yaml | 1 - .../design_system/assets/logo-blue.png | Bin 69429 -> 0 bytes .../design_system/assets/logo-yellow.png | Bin 47063 -> 0 bytes .../design_system/lib/design_system.dart | 12 - .../design_system/lib/src/ui_colors.dart | 322 - .../design_system/lib/src/ui_constants.dart | 38 - .../design_system/lib/src/ui_icons.dart | 174 - .../lib/src/ui_images_assets.dart | 14 - .../design_system/lib/src/ui_theme.dart | 359 - .../design_system/lib/src/ui_typography.dart | 564 - .../lib/src/widgets/ui_app_bar.dart | 76 - .../lib/src/widgets/ui_button.dart | 191 - .../lib/src/widgets/ui_chip.dart | 190 - .../lib/src/widgets/ui_icon_button.dart | 89 - .../lib/src/widgets/ui_step_indicator.dart | 87 - .../lib/src/widgets/ui_text_field.dart | 115 - apps/packages/design_system/pubspec.yaml | 31 - .../test/design_system_test.dart | 12 - apps/packages/domain/lib/krow_domain.dart | 60 - .../src/entities/business/biz_contract.dart | 36 - .../lib/src/entities/business/business.dart | 47 - .../entities/business/business_setting.dart | 41 - .../domain/lib/src/entities/business/hub.dart | 42 - .../src/entities/business/hub_department.dart | 24 - .../lib/src/entities/events/assignment.dart | 58 - .../domain/lib/src/entities/events/event.dart | 70 - .../lib/src/entities/events/event_shift.dart | 28 - .../entities/events/event_shift_position.dart | 53 - .../lib/src/entities/events/work_session.dart | 32 - .../lib/src/entities/financial/invoice.dart | 70 - .../entities/financial/invoice_decline.dart | 26 - .../src/entities/financial/invoice_item.dart | 36 - .../src/entities/financial/staff_payment.dart | 49 - .../entities/home/home_dashboard_data.dart | 45 - .../src/entities/profile/accessibility.dart | 20 - .../src/entities/profile/bank_account.dart | 34 - .../entities/profile/emergency_contact.dart | 24 - .../lib/src/entities/profile/schedule.dart | 32 - .../ratings/business_staff_preference.dart | 35 - .../lib/src/entities/ratings/penalty_log.dart | 36 - .../src/entities/ratings/staff_rating.dart | 34 - .../lib/src/entities/skills/certificate.dart | 24 - .../domain/lib/src/entities/skills/skill.dart | 29 - .../src/entities/skills/skill_category.dart | 18 - .../lib/src/entities/skills/skill_kit.dart | 32 - .../lib/src/entities/skills/staff_skill.dart | 58 - .../lib/src/entities/support/addon.dart | 26 - .../lib/src/entities/support/media.dart | 24 - .../domain/lib/src/entities/support/tag.dart | 18 - .../src/entities/support/working_area.dart | 30 - .../lib/src/entities/users/biz_member.dart | 28 - .../lib/src/entities/users/hub_member.dart | 28 - .../lib/src/entities/users/membership.dart | 32 - .../domain/lib/src/entities/users/staff.dart | 83 - .../domain/lib/src/entities/users/user.dart | 30 - apps/packages/domain/pubspec.yaml | 11 - apps/packages/features/.gitkeep | 0 .../lib/client_authentication.dart | 67 - .../auth_repository_impl.dart | 156 - .../sign_in_with_email_arguments.dart | 15 - .../sign_in_with_social_arguments.dart | 12 - .../sign_up_with_email_arguments.dart | 22 - .../auth_repository_interface.dart | 37 - .../usecases/sign_in_with_email_use_case.dart | 24 - .../sign_in_with_social_use_case.dart | 18 - .../domain/usecases/sign_out_use_case.dart | 18 - .../usecases/sign_up_with_email_use_case.dart | 25 - .../presentation/blocs/client_auth_bloc.dart | 131 - .../presentation/blocs/client_auth_event.dart | 51 - .../presentation/blocs/client_auth_state.dart | 54 - .../navigation/client_auth_navigator.dart | 25 - .../pages/client_get_started_page.dart | 252 - .../pages/client_sign_in_page.dart | 147 - .../pages/client_sign_up_page.dart | 158 - .../client_sign_in_form.dart | 113 - .../client_sign_up_form.dart | 137 - .../widgets/common/auth_divider.dart | 28 - .../widgets/common/auth_social_button.dart | 38 - .../widgets/common/section_titles.dart | 24 - .../client/authentication/pubspec.yaml | 35 - .../features/client/home/REFACTOR_SUMMARY.md | 133 - .../features/client/home/lib/client_home.dart | 44 - .../home_repository_impl.dart | 21 - .../home_repository_interface.dart | 10 - .../usecases/get_dashboard_data_usecase.dart | 19 - .../presentation/blocs/client_home_bloc.dart | 96 - .../presentation/blocs/client_home_event.dart | 31 - .../presentation/blocs/client_home_state.dart | 71 - .../navigation/client_home_navigator.dart | 10 - .../presentation/pages/client_home_page.dart | 437 - .../presentation/widgets/actions_widget.dart | 130 - .../widgets/coverage_dashboard.dart | 222 - .../presentation/widgets/coverage_widget.dart | 152 - .../widgets/live_activity_widget.dart | 69 - .../presentation/widgets/reorder_widget.dart | 233 - .../widgets/shift_order_form_sheet.dart | 438 - .../presentation/widgets/spending_widget.dart | 175 - .../features/client/home/pubspec.yaml | 31 - .../template_feature/feature_manifest.md | 29 - .../template_repository_impl.dart | 20 - .../template_repository_interface.dart | 7 - .../usecases/get_template_data_usecase.dart | 13 - .../src/presentation/blocs/template_bloc.dart | 60 - .../src/presentation/pages/template_page.dart | 31 - .../lib/template_feature.dart | 29 - .../shared/template_feature/pubspec.yaml | 32 - .../staff/authentication/feature_manifest.md | 33 - .../auth_repository_impl.dart | 34 - .../sign_in_with_phone_arguments.dart | 17 - .../arguments/verify_otp_arguments.dart | 24 - .../auth_repository_interface.dart | 19 - .../lib/src/domain/ui_entities/auth_mode.dart | 8 - .../usecases/sign_in_with_phone_usecase.dart | 21 - .../domain/usecases/verify_otp_usecase.dart | 24 - .../lib/src/presentation/blocs/auth_bloc.dart | 111 - .../src/presentation/blocs/auth_event.dart | 65 - .../src/presentation/blocs/auth_state.dart | 93 - .../profile_setup/profile_setup_bloc.dart | 100 - .../profile_setup/profile_setup_event.dart | 87 - .../profile_setup/profile_setup_state.dart | 78 - .../navigation/auth_navigator.dart | 21 - .../presentation/pages/get_started_page.dart | 64 - .../pages/phone_verification_page.dart | 124 - .../pages/profile_setup_page.dart | 236 - .../widgets/common/auth_trouble_link.dart | 27 - .../common/section_title_subtitle.dart | 32 - .../get_started_page/get_started_actions.dart | 42 - .../get_started_background.dart | 51 - .../get_started_page/get_started_header.dart | 39 - .../otp_verification.dart | 65 - .../otp_verification/otp_input_field.dart | 127 - .../otp_verification/otp_resend_section.dart | 75 - .../otp_verification_actions.dart | 56 - .../otp_verification_header.dart | 44 - .../phone_verification_page/phone_input.dart | 54 - .../phone_input/phone_input_actions.dart | 53 - .../phone_input/phone_input_form_field.dart | 96 - .../phone_input/phone_input_header.dart | 27 - .../profile_setup_basic_info.dart | 100 - .../profile_setup_experience.dart | 265 - .../profile_setup_header.dart | 57 - .../profile_setup_location.dart | 165 - .../lib/staff_authentication.dart | 65 - .../staff/authentication/pubspec.yaml | 43 - apps/pubspec.lock | 1215 - apps/pubspec.yaml | 20 - backend/dataconnect/connector/connector.yaml | 4 +- 951 files changed, 5 insertions(+), 147695 deletions(-) delete mode 100644 apps/.gitignore delete mode 100644 apps/analytics_options.yaml delete mode 100644 apps/apps/client/.gitignore delete mode 100644 apps/apps/client/.metadata delete mode 100644 apps/apps/client/analysis_options.yaml delete mode 100644 apps/apps/client/android/.gitignore delete mode 100644 apps/apps/client/android/app/build.gradle.kts delete mode 100644 apps/apps/client/android/app/google-services.json delete mode 100644 apps/apps/client/android/app/src/debug/AndroidManifest.xml delete mode 100644 apps/apps/client/android/app/src/main/AndroidManifest.xml delete mode 100644 apps/apps/client/android/app/src/main/kotlin/com/example/krow_client/MainActivity.kt delete mode 100644 apps/apps/client/android/app/src/main/res/drawable-v21/launch_background.xml delete mode 100644 apps/apps/client/android/app/src/main/res/drawable/launch_background.xml delete mode 100644 apps/apps/client/android/app/src/main/res/mipmap-hdpi/ic_launcher.png delete mode 100644 apps/apps/client/android/app/src/main/res/mipmap-mdpi/ic_launcher.png delete mode 100644 apps/apps/client/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png delete mode 100644 apps/apps/client/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png delete mode 100644 apps/apps/client/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png delete mode 100644 apps/apps/client/android/app/src/main/res/values-night/styles.xml delete mode 100644 apps/apps/client/android/app/src/main/res/values/styles.xml delete mode 100644 apps/apps/client/android/app/src/profile/AndroidManifest.xml delete mode 100644 apps/apps/client/android/build.gradle.kts delete mode 100644 apps/apps/client/android/gradle.properties delete mode 100644 apps/apps/client/android/gradle/wrapper/gradle-wrapper.properties delete mode 100644 apps/apps/client/android/settings.gradle.kts delete mode 100644 apps/apps/client/ios/.gitignore delete mode 100644 apps/apps/client/ios/Flutter/AppFrameworkInfo.plist delete mode 100644 apps/apps/client/ios/Flutter/Debug.xcconfig delete mode 100644 apps/apps/client/ios/Flutter/Release.xcconfig delete mode 100644 apps/apps/client/ios/Podfile delete mode 100644 apps/apps/client/ios/Runner.xcodeproj/project.pbxproj delete mode 100644 apps/apps/client/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata delete mode 100644 apps/apps/client/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 apps/apps/client/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings delete mode 100644 apps/apps/client/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme delete mode 100644 apps/apps/client/ios/Runner.xcworkspace/contents.xcworkspacedata delete mode 100644 apps/apps/client/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 apps/apps/client/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings delete mode 100644 apps/apps/client/ios/Runner/AppDelegate.swift delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png delete mode 100644 apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md delete mode 100644 apps/apps/client/ios/Runner/Base.lproj/LaunchScreen.storyboard delete mode 100644 apps/apps/client/ios/Runner/Base.lproj/Main.storyboard delete mode 100644 apps/apps/client/ios/Runner/Info.plist delete mode 100644 apps/apps/client/ios/Runner/Runner-Bridging-Header.h delete mode 100644 apps/apps/client/ios/RunnerTests/RunnerTests.swift delete mode 100644 apps/apps/client/lib/main.dart delete mode 100644 apps/apps/client/linux/.gitignore delete mode 100644 apps/apps/client/linux/CMakeLists.txt delete mode 100644 apps/apps/client/linux/flutter/CMakeLists.txt delete mode 100644 apps/apps/client/linux/flutter/generated_plugin_registrant.cc delete mode 100644 apps/apps/client/linux/flutter/generated_plugin_registrant.h delete mode 100644 apps/apps/client/linux/flutter/generated_plugins.cmake delete mode 100644 apps/apps/client/linux/runner/CMakeLists.txt delete mode 100644 apps/apps/client/linux/runner/main.cc delete mode 100644 apps/apps/client/linux/runner/my_application.cc delete mode 100644 apps/apps/client/linux/runner/my_application.h delete mode 100644 apps/apps/client/macos/.gitignore delete mode 100644 apps/apps/client/macos/Flutter/Flutter-Debug.xcconfig delete mode 100644 apps/apps/client/macos/Flutter/Flutter-Release.xcconfig delete mode 100644 apps/apps/client/macos/Flutter/GeneratedPluginRegistrant.swift delete mode 100644 apps/apps/client/macos/Podfile delete mode 100644 apps/apps/client/macos/Runner.xcodeproj/project.pbxproj delete mode 100644 apps/apps/client/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 apps/apps/client/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme delete mode 100644 apps/apps/client/macos/Runner.xcworkspace/contents.xcworkspacedata delete mode 100644 apps/apps/client/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 apps/apps/client/macos/Runner/AppDelegate.swift delete mode 100644 apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png delete mode 100644 apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png delete mode 100644 apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png delete mode 100644 apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png delete mode 100644 apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png delete mode 100644 apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png delete mode 100644 apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png delete mode 100644 apps/apps/client/macos/Runner/Base.lproj/MainMenu.xib delete mode 100644 apps/apps/client/macos/Runner/Configs/AppInfo.xcconfig delete mode 100644 apps/apps/client/macos/Runner/Configs/Debug.xcconfig delete mode 100644 apps/apps/client/macos/Runner/Configs/Release.xcconfig delete mode 100644 apps/apps/client/macos/Runner/Configs/Warnings.xcconfig delete mode 100644 apps/apps/client/macos/Runner/DebugProfile.entitlements delete mode 100644 apps/apps/client/macos/Runner/Info.plist delete mode 100644 apps/apps/client/macos/Runner/MainFlutterWindow.swift delete mode 100644 apps/apps/client/macos/Runner/Release.entitlements delete mode 100644 apps/apps/client/macos/RunnerTests/RunnerTests.swift delete mode 100644 apps/apps/client/pubspec.yaml delete mode 100644 apps/apps/client/test/widget_test.dart delete mode 100644 apps/apps/client/web/favicon.png delete mode 100644 apps/apps/client/web/icons/Icon-192.png delete mode 100644 apps/apps/client/web/icons/Icon-512.png delete mode 100644 apps/apps/client/web/icons/Icon-maskable-192.png delete mode 100644 apps/apps/client/web/icons/Icon-maskable-512.png delete mode 100644 apps/apps/client/web/index.html delete mode 100644 apps/apps/client/web/manifest.json delete mode 100644 apps/apps/client/windows/.gitignore delete mode 100644 apps/apps/client/windows/CMakeLists.txt delete mode 100644 apps/apps/client/windows/flutter/CMakeLists.txt delete mode 100644 apps/apps/client/windows/flutter/generated_plugin_registrant.cc delete mode 100644 apps/apps/client/windows/flutter/generated_plugin_registrant.h delete mode 100644 apps/apps/client/windows/flutter/generated_plugins.cmake delete mode 100644 apps/apps/client/windows/runner/CMakeLists.txt delete mode 100644 apps/apps/client/windows/runner/Runner.rc delete mode 100644 apps/apps/client/windows/runner/flutter_window.cpp delete mode 100644 apps/apps/client/windows/runner/flutter_window.h delete mode 100644 apps/apps/client/windows/runner/main.cpp delete mode 100644 apps/apps/client/windows/runner/resource.h delete mode 100644 apps/apps/client/windows/runner/resources/app_icon.ico delete mode 100644 apps/apps/client/windows/runner/runner.exe.manifest delete mode 100644 apps/apps/client/windows/runner/utils.cpp delete mode 100644 apps/apps/client/windows/runner/utils.h delete mode 100644 apps/apps/client/windows/runner/win32_window.cpp delete mode 100644 apps/apps/client/windows/runner/win32_window.h delete mode 100644 apps/apps/design_system_viewer/.gitignore delete mode 100644 apps/apps/design_system_viewer/.metadata delete mode 100644 apps/apps/design_system_viewer/analysis_options.yaml delete mode 100644 apps/apps/design_system_viewer/android/.gitignore delete mode 100644 apps/apps/design_system_viewer/android/app/build.gradle.kts delete mode 100644 apps/apps/design_system_viewer/android/app/src/debug/AndroidManifest.xml delete mode 100644 apps/apps/design_system_viewer/android/app/src/main/AndroidManifest.xml delete mode 100644 apps/apps/design_system_viewer/android/app/src/main/kotlin/com/example/krow_design_system_viewer/MainActivity.kt delete mode 100644 apps/apps/design_system_viewer/android/app/src/main/res/drawable-v21/launch_background.xml delete mode 100644 apps/apps/design_system_viewer/android/app/src/main/res/drawable/launch_background.xml delete mode 100644 apps/apps/design_system_viewer/android/app/src/main/res/mipmap-hdpi/ic_launcher.png delete mode 100644 apps/apps/design_system_viewer/android/app/src/main/res/mipmap-mdpi/ic_launcher.png delete mode 100644 apps/apps/design_system_viewer/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png delete mode 100644 apps/apps/design_system_viewer/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png delete mode 100644 apps/apps/design_system_viewer/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png delete mode 100644 apps/apps/design_system_viewer/android/app/src/main/res/values-night/styles.xml delete mode 100644 apps/apps/design_system_viewer/android/app/src/main/res/values/styles.xml delete mode 100644 apps/apps/design_system_viewer/android/app/src/profile/AndroidManifest.xml delete mode 100644 apps/apps/design_system_viewer/android/build.gradle.kts delete mode 100644 apps/apps/design_system_viewer/android/gradle.properties delete mode 100644 apps/apps/design_system_viewer/android/gradle/wrapper/gradle-wrapper.properties delete mode 100644 apps/apps/design_system_viewer/android/settings.gradle.kts delete mode 100644 apps/apps/design_system_viewer/ios/.gitignore delete mode 100644 apps/apps/design_system_viewer/ios/Flutter/AppFrameworkInfo.plist delete mode 100644 apps/apps/design_system_viewer/ios/Flutter/Debug.xcconfig delete mode 100644 apps/apps/design_system_viewer/ios/Flutter/Release.xcconfig delete mode 100644 apps/apps/design_system_viewer/ios/Runner.xcodeproj/project.pbxproj delete mode 100644 apps/apps/design_system_viewer/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata delete mode 100644 apps/apps/design_system_viewer/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 apps/apps/design_system_viewer/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings delete mode 100644 apps/apps/design_system_viewer/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme delete mode 100644 apps/apps/design_system_viewer/ios/Runner.xcworkspace/contents.xcworkspacedata delete mode 100644 apps/apps/design_system_viewer/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 apps/apps/design_system_viewer/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings delete mode 100644 apps/apps/design_system_viewer/ios/Runner/AppDelegate.swift delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Base.lproj/LaunchScreen.storyboard delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Base.lproj/Main.storyboard delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Info.plist delete mode 100644 apps/apps/design_system_viewer/ios/Runner/Runner-Bridging-Header.h delete mode 100644 apps/apps/design_system_viewer/ios/RunnerTests/RunnerTests.swift delete mode 100644 apps/apps/design_system_viewer/lib/main.dart delete mode 100644 apps/apps/design_system_viewer/linux/.gitignore delete mode 100644 apps/apps/design_system_viewer/linux/CMakeLists.txt delete mode 100644 apps/apps/design_system_viewer/linux/flutter/CMakeLists.txt delete mode 100644 apps/apps/design_system_viewer/linux/flutter/generated_plugin_registrant.cc delete mode 100644 apps/apps/design_system_viewer/linux/flutter/generated_plugin_registrant.h delete mode 100644 apps/apps/design_system_viewer/linux/flutter/generated_plugins.cmake delete mode 100644 apps/apps/design_system_viewer/linux/runner/CMakeLists.txt delete mode 100644 apps/apps/design_system_viewer/linux/runner/main.cc delete mode 100644 apps/apps/design_system_viewer/linux/runner/my_application.cc delete mode 100644 apps/apps/design_system_viewer/linux/runner/my_application.h delete mode 100644 apps/apps/design_system_viewer/macos/.gitignore delete mode 100644 apps/apps/design_system_viewer/macos/Flutter/Flutter-Debug.xcconfig delete mode 100644 apps/apps/design_system_viewer/macos/Flutter/Flutter-Release.xcconfig delete mode 100644 apps/apps/design_system_viewer/macos/Flutter/GeneratedPluginRegistrant.swift delete mode 100644 apps/apps/design_system_viewer/macos/Runner.xcodeproj/project.pbxproj delete mode 100644 apps/apps/design_system_viewer/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 apps/apps/design_system_viewer/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme delete mode 100644 apps/apps/design_system_viewer/macos/Runner.xcworkspace/contents.xcworkspacedata delete mode 100644 apps/apps/design_system_viewer/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 apps/apps/design_system_viewer/macos/Runner/AppDelegate.swift delete mode 100644 apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png delete mode 100644 apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png delete mode 100644 apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png delete mode 100644 apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png delete mode 100644 apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png delete mode 100644 apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png delete mode 100644 apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png delete mode 100644 apps/apps/design_system_viewer/macos/Runner/Base.lproj/MainMenu.xib delete mode 100644 apps/apps/design_system_viewer/macos/Runner/Configs/AppInfo.xcconfig delete mode 100644 apps/apps/design_system_viewer/macos/Runner/Configs/Debug.xcconfig delete mode 100644 apps/apps/design_system_viewer/macos/Runner/Configs/Release.xcconfig delete mode 100644 apps/apps/design_system_viewer/macos/Runner/Configs/Warnings.xcconfig delete mode 100644 apps/apps/design_system_viewer/macos/Runner/DebugProfile.entitlements delete mode 100644 apps/apps/design_system_viewer/macos/Runner/Info.plist delete mode 100644 apps/apps/design_system_viewer/macos/Runner/MainFlutterWindow.swift delete mode 100644 apps/apps/design_system_viewer/macos/Runner/Release.entitlements delete mode 100644 apps/apps/design_system_viewer/macos/RunnerTests/RunnerTests.swift delete mode 100644 apps/apps/design_system_viewer/pubspec.yaml delete mode 100644 apps/apps/design_system_viewer/test/widget_test.dart delete mode 100644 apps/apps/design_system_viewer/web/favicon.png delete mode 100644 apps/apps/design_system_viewer/web/icons/Icon-192.png delete mode 100644 apps/apps/design_system_viewer/web/icons/Icon-512.png delete mode 100644 apps/apps/design_system_viewer/web/icons/Icon-maskable-192.png delete mode 100644 apps/apps/design_system_viewer/web/icons/Icon-maskable-512.png delete mode 100644 apps/apps/design_system_viewer/web/index.html delete mode 100644 apps/apps/design_system_viewer/web/manifest.json delete mode 100644 apps/apps/design_system_viewer/windows/.gitignore delete mode 100644 apps/apps/design_system_viewer/windows/CMakeLists.txt delete mode 100644 apps/apps/design_system_viewer/windows/flutter/CMakeLists.txt delete mode 100644 apps/apps/design_system_viewer/windows/flutter/generated_plugin_registrant.cc delete mode 100644 apps/apps/design_system_viewer/windows/flutter/generated_plugin_registrant.h delete mode 100644 apps/apps/design_system_viewer/windows/flutter/generated_plugins.cmake delete mode 100644 apps/apps/design_system_viewer/windows/runner/CMakeLists.txt delete mode 100644 apps/apps/design_system_viewer/windows/runner/Runner.rc delete mode 100644 apps/apps/design_system_viewer/windows/runner/flutter_window.cpp delete mode 100644 apps/apps/design_system_viewer/windows/runner/flutter_window.h delete mode 100644 apps/apps/design_system_viewer/windows/runner/main.cpp delete mode 100644 apps/apps/design_system_viewer/windows/runner/resource.h delete mode 100644 apps/apps/design_system_viewer/windows/runner/resources/app_icon.ico delete mode 100644 apps/apps/design_system_viewer/windows/runner/runner.exe.manifest delete mode 100644 apps/apps/design_system_viewer/windows/runner/utils.cpp delete mode 100644 apps/apps/design_system_viewer/windows/runner/utils.h delete mode 100644 apps/apps/design_system_viewer/windows/runner/win32_window.cpp delete mode 100644 apps/apps/design_system_viewer/windows/runner/win32_window.h delete mode 100644 apps/apps/staff/.gitignore delete mode 100644 apps/apps/staff/.metadata delete mode 100644 apps/apps/staff/README.md delete mode 100644 apps/apps/staff/analysis_options.yaml delete mode 100644 apps/apps/staff/android/.gitignore delete mode 100644 apps/apps/staff/android/app/build.gradle.kts delete mode 100644 apps/apps/staff/android/app/src/debug/AndroidManifest.xml delete mode 100644 apps/apps/staff/android/app/src/main/AndroidManifest.xml delete mode 100644 apps/apps/staff/android/app/src/main/kotlin/com/example/krow_staff/MainActivity.kt delete mode 100644 apps/apps/staff/android/app/src/main/kotlin/com/krowwithus/krowwithus_staff/MainActivity.kt delete mode 100644 apps/apps/staff/android/app/src/main/res/drawable-v21/launch_background.xml delete mode 100644 apps/apps/staff/android/app/src/main/res/drawable/launch_background.xml delete mode 100644 apps/apps/staff/android/app/src/main/res/mipmap-hdpi/ic_launcher.png delete mode 100644 apps/apps/staff/android/app/src/main/res/mipmap-mdpi/ic_launcher.png delete mode 100644 apps/apps/staff/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png delete mode 100644 apps/apps/staff/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png delete mode 100644 apps/apps/staff/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png delete mode 100644 apps/apps/staff/android/app/src/main/res/values-night/styles.xml delete mode 100644 apps/apps/staff/android/app/src/main/res/values/styles.xml delete mode 100644 apps/apps/staff/android/app/src/profile/AndroidManifest.xml delete mode 100644 apps/apps/staff/android/build.gradle.kts delete mode 100644 apps/apps/staff/android/gradle.properties delete mode 100644 apps/apps/staff/android/gradle/wrapper/gradle-wrapper.properties delete mode 100644 apps/apps/staff/android/settings.gradle.kts delete mode 100644 apps/apps/staff/ios/.gitignore delete mode 100644 apps/apps/staff/ios/Flutter/AppFrameworkInfo.plist delete mode 100644 apps/apps/staff/ios/Flutter/Debug.xcconfig delete mode 100644 apps/apps/staff/ios/Flutter/Release.xcconfig delete mode 100644 apps/apps/staff/ios/Podfile delete mode 100644 apps/apps/staff/ios/Runner.xcodeproj/project.pbxproj delete mode 100644 apps/apps/staff/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata delete mode 100644 apps/apps/staff/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 apps/apps/staff/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings delete mode 100644 apps/apps/staff/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme delete mode 100644 apps/apps/staff/ios/Runner.xcworkspace/contents.xcworkspacedata delete mode 100644 apps/apps/staff/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 apps/apps/staff/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings delete mode 100644 apps/apps/staff/ios/Runner/AppDelegate.swift delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png delete mode 100644 apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md delete mode 100644 apps/apps/staff/ios/Runner/Base.lproj/LaunchScreen.storyboard delete mode 100644 apps/apps/staff/ios/Runner/Base.lproj/Main.storyboard delete mode 100644 apps/apps/staff/ios/Runner/Info.plist delete mode 100644 apps/apps/staff/ios/Runner/Runner-Bridging-Header.h delete mode 100644 apps/apps/staff/ios/RunnerTests/RunnerTests.swift delete mode 100644 apps/apps/staff/lib/main.dart delete mode 100644 apps/apps/staff/linux/.gitignore delete mode 100644 apps/apps/staff/linux/CMakeLists.txt delete mode 100644 apps/apps/staff/linux/flutter/CMakeLists.txt delete mode 100644 apps/apps/staff/linux/flutter/generated_plugin_registrant.cc delete mode 100644 apps/apps/staff/linux/flutter/generated_plugin_registrant.h delete mode 100644 apps/apps/staff/linux/flutter/generated_plugins.cmake delete mode 100644 apps/apps/staff/linux/runner/CMakeLists.txt delete mode 100644 apps/apps/staff/linux/runner/main.cc delete mode 100644 apps/apps/staff/linux/runner/my_application.cc delete mode 100644 apps/apps/staff/linux/runner/my_application.h delete mode 100644 apps/apps/staff/macos/.gitignore delete mode 100644 apps/apps/staff/macos/Flutter/Flutter-Debug.xcconfig delete mode 100644 apps/apps/staff/macos/Flutter/Flutter-Release.xcconfig delete mode 100644 apps/apps/staff/macos/Flutter/GeneratedPluginRegistrant.swift delete mode 100644 apps/apps/staff/macos/Podfile delete mode 100644 apps/apps/staff/macos/Podfile.lock delete mode 100644 apps/apps/staff/macos/Runner.xcodeproj/project.pbxproj delete mode 100644 apps/apps/staff/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 apps/apps/staff/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme delete mode 100644 apps/apps/staff/macos/Runner.xcworkspace/contents.xcworkspacedata delete mode 100644 apps/apps/staff/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 apps/apps/staff/macos/Runner/AppDelegate.swift delete mode 100644 apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png delete mode 100644 apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png delete mode 100644 apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png delete mode 100644 apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png delete mode 100644 apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png delete mode 100644 apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png delete mode 100644 apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png delete mode 100644 apps/apps/staff/macos/Runner/Base.lproj/MainMenu.xib delete mode 100644 apps/apps/staff/macos/Runner/Configs/AppInfo.xcconfig delete mode 100644 apps/apps/staff/macos/Runner/Configs/Debug.xcconfig delete mode 100644 apps/apps/staff/macos/Runner/Configs/Release.xcconfig delete mode 100644 apps/apps/staff/macos/Runner/Configs/Warnings.xcconfig delete mode 100644 apps/apps/staff/macos/Runner/DebugProfile.entitlements delete mode 100644 apps/apps/staff/macos/Runner/Info.plist delete mode 100644 apps/apps/staff/macos/Runner/MainFlutterWindow.swift delete mode 100644 apps/apps/staff/macos/Runner/Release.entitlements delete mode 100644 apps/apps/staff/macos/RunnerTests/RunnerTests.swift delete mode 100644 apps/apps/staff/pubspec.yaml delete mode 100644 apps/apps/staff/test/widget_test.dart delete mode 100644 apps/apps/staff/web/favicon.png delete mode 100644 apps/apps/staff/web/icons/Icon-192.png delete mode 100644 apps/apps/staff/web/icons/Icon-512.png delete mode 100644 apps/apps/staff/web/icons/Icon-maskable-192.png delete mode 100644 apps/apps/staff/web/icons/Icon-maskable-512.png delete mode 100644 apps/apps/staff/web/index.html delete mode 100644 apps/apps/staff/web/manifest.json delete mode 100644 apps/apps/staff/windows/.gitignore delete mode 100644 apps/apps/staff/windows/CMakeLists.txt delete mode 100644 apps/apps/staff/windows/flutter/CMakeLists.txt delete mode 100644 apps/apps/staff/windows/flutter/generated_plugin_registrant.cc delete mode 100644 apps/apps/staff/windows/flutter/generated_plugin_registrant.h delete mode 100644 apps/apps/staff/windows/flutter/generated_plugins.cmake delete mode 100644 apps/apps/staff/windows/runner/CMakeLists.txt delete mode 100644 apps/apps/staff/windows/runner/Runner.rc delete mode 100644 apps/apps/staff/windows/runner/flutter_window.cpp delete mode 100644 apps/apps/staff/windows/runner/flutter_window.h delete mode 100644 apps/apps/staff/windows/runner/main.cpp delete mode 100644 apps/apps/staff/windows/runner/resource.h delete mode 100644 apps/apps/staff/windows/runner/resources/app_icon.ico delete mode 100644 apps/apps/staff/windows/runner/runner.exe.manifest delete mode 100644 apps/apps/staff/windows/runner/utils.cpp delete mode 100644 apps/apps/staff/windows/runner/utils.h delete mode 100644 apps/apps/staff/windows/runner/win32_window.cpp delete mode 100644 apps/apps/staff/windows/runner/win32_window.h delete mode 100644 apps/docs/01-architecture-principles.md delete mode 100644 apps/docs/02-agent-development-rules.md delete mode 100644 apps/docs/03-design-system-usage.md delete mode 100644 apps/melos.yaml create mode 100644 apps/mobile-client/.keep create mode 100644 apps/mobile-staff/.keep delete mode 100644 apps/packages/core/lib/core.dart delete mode 100644 apps/packages/core/lib/src/domain/arguments/usecase_argument.dart delete mode 100644 apps/packages/core/lib/src/domain/usecases/usecase.dart delete mode 100644 apps/packages/core/pubspec.yaml delete mode 100644 apps/packages/core_localization/.gitignore delete mode 100644 apps/packages/core_localization/.metadata delete mode 100644 apps/packages/core_localization/analysis_options.yaml delete mode 100644 apps/packages/core_localization/lib/core_localization.dart delete mode 100644 apps/packages/core_localization/lib/src/bloc/locale_bloc.dart delete mode 100644 apps/packages/core_localization/lib/src/bloc/locale_event.dart delete mode 100644 apps/packages/core_localization/lib/src/bloc/locale_state.dart delete mode 100644 apps/packages/core_localization/lib/src/data/datasources/locale_local_data_source.dart delete mode 100644 apps/packages/core_localization/lib/src/data/repositories_impl/locale_repository_impl.dart delete mode 100644 apps/packages/core_localization/lib/src/domain/repositories/locale_repository_interface.dart delete mode 100644 apps/packages/core_localization/lib/src/domain/usecases/get_locale_use_case.dart delete mode 100644 apps/packages/core_localization/lib/src/domain/usecases/set_locale_use_case.dart delete mode 100644 apps/packages/core_localization/lib/src/l10n/en.i18n.json delete mode 100644 apps/packages/core_localization/lib/src/l10n/es.i18n.json delete mode 100644 apps/packages/core_localization/lib/src/l10n/strings.g.dart delete mode 100644 apps/packages/core_localization/lib/src/l10n/strings_en.g.dart delete mode 100644 apps/packages/core_localization/lib/src/l10n/strings_es.g.dart delete mode 100644 apps/packages/core_localization/lib/src/localization_module.dart delete mode 100644 apps/packages/core_localization/pubspec.yaml delete mode 100644 apps/packages/core_localization/test/localization_test.dart delete mode 100644 apps/packages/data_connect/lib/krow_data_connect.dart delete mode 100644 apps/packages/data_connect/lib/src/data_connect_module.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/.guides/config.json delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/.guides/setup.md delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/.guides/usage.md delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/README.md delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/accept_invite_by_code.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/cancel_invite_by_code.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_account.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_activity_log.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_application.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_assignment.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_attire_option.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_benefits_data.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_business.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_category.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_certificate.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_client_feedback.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_conversation.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_course.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_custom_rate_card.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_document.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_emergency_contact.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_faq_data.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_hub.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_invoice.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_invoice_template.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_level.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_member_task.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_message.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_order.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_recent_payment.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_role.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_role_category.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_shift.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_shift_role.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_staff.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_availability.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_availability_stats.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_course.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_document.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_role.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_task.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_task_comment.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_tax_form.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_team.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_team_hub.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_team_hud_department.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_team_member.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_user.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_user_conversation.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_vendor.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_vendor_benefit_plan.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_vendor_rate.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/create_workforce.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/deactivate_workforce.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_account.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_activity_log.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_application.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_assignment.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_attire_option.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_benefits_data.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_business.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_category.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_certificate.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_client_feedback.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_conversation.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_course.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_custom_rate_card.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_document.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_emergency_contact.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_faq_data.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_hub.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_invoice.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_invoice_template.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_level.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_member_task.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_message.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_order.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_recent_payment.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_role.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_role_category.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_shift.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_shift_role.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_availability.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_availability_stats.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_course.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_document.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_role.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_task.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_task_comment.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_tax_form.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_team.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_team_hub.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_team_hud_department.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_team_member.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_user.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_user_conversation.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_vendor.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_vendor_benefit_plan.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/delete_vendor_rate.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_accounts.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_activity_logs.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_assignments.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_attire_options.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_categories.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_client_feedbacks.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_conversations.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_courses.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_documents.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_faq_datas.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_hubs.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_invoices.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_levels.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_shifts.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_staff.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_staff_availability_stats.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_staff_roles.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_tasks.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_tax_forms.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_user_conversations.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_users.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/filter_vendor_benefit_plans.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/generated.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_account_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_accounts_by_owner_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_activity_log_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_application_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_applications_by_shift_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_applications_by_shift_id_and_status.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_applications_by_staff_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_assignment_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_attire_option_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_benefits_data_by_key.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_business_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_businesses_by_user_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_category_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_certificate_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_client_feedback_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_conversation_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_course_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_custom_rate_card_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_document_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_emergency_contact_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_emergency_contacts_by_staff_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_faq_data_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_hub_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_hubs_by_owner_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_invoice_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_invoice_template_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_level_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_member_task_by_id_key.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_member_tasks_by_task_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_message_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_messages_by_conversation_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_my_tasks.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_order_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_orders_by_business_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_orders_by_date_range.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_orders_by_status.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_orders_by_vendor_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_rapid_orders.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_recent_payment_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_role_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_role_categories_by_category.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_role_category_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_shift_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_shift_role_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_shifts_by_business_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_shifts_by_vendor_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_availability_by_key.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_availability_stats_by_staff_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_by_user_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_course_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_course_by_staff_and_course.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_document_by_key.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_role_by_key.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_task_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_task_comment_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_task_comments_by_task_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_tasks_by_owner_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_tax_form_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_tax_forms_bystaff_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_team_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_team_hub_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_team_hubs_by_team_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_team_hud_department_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_team_member_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_team_members_by_team_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_teams_by_owner_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_user_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_user_conversation_by_key.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_vendor_benefit_plan_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_vendor_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_vendor_by_user_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_vendor_rate_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_workforce_by_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_workforce_by_vendor_and_number.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/get_workforce_by_vendor_and_staff.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/increment_unread_for_user.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_accounts.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_active_vendor_benefit_plans_by_vendor_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_activity_logs.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_activity_logs_by_user_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_applications.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_applications_for_coverage.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_applications_for_daily_ops.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_applications_for_no_show_range.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_applications_for_performance.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_assignments.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_assignments_by_shift_role.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_assignments_by_workforce_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_assignments_by_workforce_ids.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_attire_options.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_benefits_data.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_benefits_data_by_staff_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_benefits_data_by_vendor_benefit_plan_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_benefits_data_by_vendor_benefit_plan_ids.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_businesses.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_categories.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_certificates.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_certificates_by_staff_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedback_ratings_by_vendor_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedbacks.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedbacks_by_business_and_vendor.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedbacks_by_business_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedbacks_by_vendor_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_conversations.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_conversations_by_status.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_conversations_by_type.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_courses.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_custom_rate_cards.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_documents.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_emergency_contacts.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_faq_datas.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_hubs.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates_by_business_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates_by_order_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates_by_owner_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates_by_vendor_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_by_business_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_by_order_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_by_status.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_by_vendor_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_for_spend_by_business.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_for_spend_by_order.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_for_spend_by_vendor.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_levels.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_messages.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_orders.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_overdue_invoices.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_application_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_business_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_invoice_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_invoice_ids.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_staff_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_status.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_role_categories.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_roles.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_roles_by_vendor_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_roles_byrole_category_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_shift_roles_by_role_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_shift_roles_by_shift_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_shift_roles_by_shift_id_and_time_range.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_shift_roles_by_vendor_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_coverage.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_daily_ops_by_business.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_daily_ops_by_vendor.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_forecast_by_business.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_forecast_by_vendor.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_no_show_range_by_business.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_no_show_range_by_vendor.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_performance_by_business.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_performance_by_vendor.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_staff.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_availabilities.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_availabilities_by_day.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_availabilities_by_staff_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_availability_stats.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_courses_by_course_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_courses_by_staff_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_documents_by_document_type.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_documents_by_staff_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_documents_by_status.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_for_no_show_report.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_for_performance.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_roles.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_roles_by_role_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_roles_by_staff_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_task_comments.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_tasks.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_tax_forms.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs_by_owner_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_team_hud_departments.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_team_hud_departments_by_team_hub_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_team_members.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_teams.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_timesheets_for_spend.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_unread_activity_logs_by_user_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_unread_user_conversations_by_user_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_user_conversations.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_user_conversations_by_conversation_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_user_conversations_by_user_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_users.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_vendor_benefit_plans.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_vendor_benefit_plans_by_vendor_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_vendor_rates.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_vendors.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_workforce_by_staff_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/list_workforce_by_vendor_id.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/mark_activity_log_as_read.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/mark_activity_logs_as_read.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/mark_conversation_as_read.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/search_invoice_templates_by_owner_and_name.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_account.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_activity_log.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_application_status.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_assignment.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_attire_option.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_benefits_data.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_business.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_category.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_certificate.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_client_feedback.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_conversation.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_conversation_last_message.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_course.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_custom_rate_card.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_document.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_emergency_contact.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_faq_data.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_hub.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_invoice.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_invoice_template.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_level.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_message.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_order.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_recent_payment.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_role.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_role_category.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_shift.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_shift_role.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_staff.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_staff_availability.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_staff_availability_stats.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_staff_course.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_staff_document.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_task.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_task_comment.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_tax_form.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_team.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_team_hub.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_team_hud_department.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_team_member.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_team_member_invite_status.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_user.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_user_conversation.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_vendor.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_vendor_benefit_plan.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_vendor_rate.dart delete mode 100644 apps/packages/data_connect/lib/src/dataconnect_generated/update_workforce.dart delete mode 100644 apps/packages/data_connect/lib/src/mocks/auth_repository_mock.dart delete mode 100644 apps/packages/data_connect/lib/src/mocks/business_repository_mock.dart delete mode 100644 apps/packages/data_connect/lib/src/mocks/event_repository_mock.dart delete mode 100644 apps/packages/data_connect/lib/src/mocks/financial_repository_mock.dart delete mode 100644 apps/packages/data_connect/lib/src/mocks/home_repository_mock.dart delete mode 100644 apps/packages/data_connect/lib/src/mocks/rating_repository_mock.dart delete mode 100644 apps/packages/data_connect/lib/src/mocks/skill_repository_mock.dart delete mode 100644 apps/packages/data_connect/lib/src/mocks/staff_repository_mock.dart delete mode 100644 apps/packages/data_connect/lib/src/mocks/support_repository_mock.dart delete mode 100644 apps/packages/data_connect/pubspec.yaml delete mode 100644 apps/packages/design_system/.gitignore delete mode 100644 apps/packages/design_system/.metadata delete mode 100644 apps/packages/design_system/CHANGELOG.md delete mode 100644 apps/packages/design_system/LICENSE delete mode 100644 apps/packages/design_system/README.md delete mode 100644 apps/packages/design_system/analysis_options.yaml delete mode 100644 apps/packages/design_system/assets/logo-blue.png delete mode 100644 apps/packages/design_system/assets/logo-yellow.png delete mode 100644 apps/packages/design_system/lib/design_system.dart delete mode 100644 apps/packages/design_system/lib/src/ui_colors.dart delete mode 100644 apps/packages/design_system/lib/src/ui_constants.dart delete mode 100644 apps/packages/design_system/lib/src/ui_icons.dart delete mode 100644 apps/packages/design_system/lib/src/ui_images_assets.dart delete mode 100644 apps/packages/design_system/lib/src/ui_theme.dart delete mode 100644 apps/packages/design_system/lib/src/ui_typography.dart delete mode 100644 apps/packages/design_system/lib/src/widgets/ui_app_bar.dart delete mode 100644 apps/packages/design_system/lib/src/widgets/ui_button.dart delete mode 100644 apps/packages/design_system/lib/src/widgets/ui_chip.dart delete mode 100644 apps/packages/design_system/lib/src/widgets/ui_icon_button.dart delete mode 100644 apps/packages/design_system/lib/src/widgets/ui_step_indicator.dart delete mode 100644 apps/packages/design_system/lib/src/widgets/ui_text_field.dart delete mode 100644 apps/packages/design_system/pubspec.yaml delete mode 100644 apps/packages/design_system/test/design_system_test.dart delete mode 100644 apps/packages/domain/lib/krow_domain.dart delete mode 100644 apps/packages/domain/lib/src/entities/business/biz_contract.dart delete mode 100644 apps/packages/domain/lib/src/entities/business/business.dart delete mode 100644 apps/packages/domain/lib/src/entities/business/business_setting.dart delete mode 100644 apps/packages/domain/lib/src/entities/business/hub.dart delete mode 100644 apps/packages/domain/lib/src/entities/business/hub_department.dart delete mode 100644 apps/packages/domain/lib/src/entities/events/assignment.dart delete mode 100644 apps/packages/domain/lib/src/entities/events/event.dart delete mode 100644 apps/packages/domain/lib/src/entities/events/event_shift.dart delete mode 100644 apps/packages/domain/lib/src/entities/events/event_shift_position.dart delete mode 100644 apps/packages/domain/lib/src/entities/events/work_session.dart delete mode 100644 apps/packages/domain/lib/src/entities/financial/invoice.dart delete mode 100644 apps/packages/domain/lib/src/entities/financial/invoice_decline.dart delete mode 100644 apps/packages/domain/lib/src/entities/financial/invoice_item.dart delete mode 100644 apps/packages/domain/lib/src/entities/financial/staff_payment.dart delete mode 100644 apps/packages/domain/lib/src/entities/home/home_dashboard_data.dart delete mode 100644 apps/packages/domain/lib/src/entities/profile/accessibility.dart delete mode 100644 apps/packages/domain/lib/src/entities/profile/bank_account.dart delete mode 100644 apps/packages/domain/lib/src/entities/profile/emergency_contact.dart delete mode 100644 apps/packages/domain/lib/src/entities/profile/schedule.dart delete mode 100644 apps/packages/domain/lib/src/entities/ratings/business_staff_preference.dart delete mode 100644 apps/packages/domain/lib/src/entities/ratings/penalty_log.dart delete mode 100644 apps/packages/domain/lib/src/entities/ratings/staff_rating.dart delete mode 100644 apps/packages/domain/lib/src/entities/skills/certificate.dart delete mode 100644 apps/packages/domain/lib/src/entities/skills/skill.dart delete mode 100644 apps/packages/domain/lib/src/entities/skills/skill_category.dart delete mode 100644 apps/packages/domain/lib/src/entities/skills/skill_kit.dart delete mode 100644 apps/packages/domain/lib/src/entities/skills/staff_skill.dart delete mode 100644 apps/packages/domain/lib/src/entities/support/addon.dart delete mode 100644 apps/packages/domain/lib/src/entities/support/media.dart delete mode 100644 apps/packages/domain/lib/src/entities/support/tag.dart delete mode 100644 apps/packages/domain/lib/src/entities/support/working_area.dart delete mode 100644 apps/packages/domain/lib/src/entities/users/biz_member.dart delete mode 100644 apps/packages/domain/lib/src/entities/users/hub_member.dart delete mode 100644 apps/packages/domain/lib/src/entities/users/membership.dart delete mode 100644 apps/packages/domain/lib/src/entities/users/staff.dart delete mode 100644 apps/packages/domain/lib/src/entities/users/user.dart delete mode 100644 apps/packages/domain/pubspec.yaml delete mode 100644 apps/packages/features/.gitkeep delete mode 100644 apps/packages/features/client/authentication/lib/client_authentication.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/data/repositories_impl/auth_repository_impl.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/domain/arguments/sign_in_with_email_arguments.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/domain/arguments/sign_in_with_social_arguments.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/domain/arguments/sign_up_with_email_arguments.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/domain/repositories/auth_repository_interface.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/domain/usecases/sign_in_with_email_use_case.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/domain/usecases/sign_in_with_social_use_case.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/domain/usecases/sign_out_use_case.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/domain/usecases/sign_up_with_email_use_case.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/presentation/blocs/client_auth_bloc.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/presentation/blocs/client_auth_event.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/presentation/blocs/client_auth_state.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/presentation/navigation/client_auth_navigator.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/presentation/pages/client_get_started_page.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/presentation/pages/client_sign_in_page.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/presentation/pages/client_sign_up_page.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/presentation/widgets/client_sign_in_page/client_sign_in_form.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/presentation/widgets/client_sign_up_page/client_sign_up_form.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/presentation/widgets/common/auth_divider.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/presentation/widgets/common/auth_social_button.dart delete mode 100644 apps/packages/features/client/authentication/lib/src/presentation/widgets/common/section_titles.dart delete mode 100644 apps/packages/features/client/authentication/pubspec.yaml delete mode 100644 apps/packages/features/client/home/REFACTOR_SUMMARY.md delete mode 100644 apps/packages/features/client/home/lib/client_home.dart delete mode 100644 apps/packages/features/client/home/lib/src/data/repositories_impl/home_repository_impl.dart delete mode 100644 apps/packages/features/client/home/lib/src/domain/repositories/home_repository_interface.dart delete mode 100644 apps/packages/features/client/home/lib/src/domain/usecases/get_dashboard_data_usecase.dart delete mode 100644 apps/packages/features/client/home/lib/src/presentation/blocs/client_home_bloc.dart delete mode 100644 apps/packages/features/client/home/lib/src/presentation/blocs/client_home_event.dart delete mode 100644 apps/packages/features/client/home/lib/src/presentation/blocs/client_home_state.dart delete mode 100644 apps/packages/features/client/home/lib/src/presentation/navigation/client_home_navigator.dart delete mode 100644 apps/packages/features/client/home/lib/src/presentation/pages/client_home_page.dart delete mode 100644 apps/packages/features/client/home/lib/src/presentation/widgets/actions_widget.dart delete mode 100644 apps/packages/features/client/home/lib/src/presentation/widgets/coverage_dashboard.dart delete mode 100644 apps/packages/features/client/home/lib/src/presentation/widgets/coverage_widget.dart delete mode 100644 apps/packages/features/client/home/lib/src/presentation/widgets/live_activity_widget.dart delete mode 100644 apps/packages/features/client/home/lib/src/presentation/widgets/reorder_widget.dart delete mode 100644 apps/packages/features/client/home/lib/src/presentation/widgets/shift_order_form_sheet.dart delete mode 100644 apps/packages/features/client/home/lib/src/presentation/widgets/spending_widget.dart delete mode 100644 apps/packages/features/client/home/pubspec.yaml delete mode 100644 apps/packages/features/shared/template_feature/feature_manifest.md delete mode 100644 apps/packages/features/shared/template_feature/lib/src/data/repositories_impl/template_repository_impl.dart delete mode 100644 apps/packages/features/shared/template_feature/lib/src/domain/repositories/template_repository_interface.dart delete mode 100644 apps/packages/features/shared/template_feature/lib/src/domain/usecases/get_template_data_usecase.dart delete mode 100644 apps/packages/features/shared/template_feature/lib/src/presentation/blocs/template_bloc.dart delete mode 100644 apps/packages/features/shared/template_feature/lib/src/presentation/pages/template_page.dart delete mode 100644 apps/packages/features/shared/template_feature/lib/template_feature.dart delete mode 100644 apps/packages/features/shared/template_feature/pubspec.yaml delete mode 100644 apps/packages/features/staff/authentication/feature_manifest.md delete mode 100644 apps/packages/features/staff/authentication/lib/src/data/repositories_impl/auth_repository_impl.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/domain/arguments/sign_in_with_phone_arguments.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/domain/arguments/verify_otp_arguments.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/domain/repositories/auth_repository_interface.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/domain/ui_entities/auth_mode.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/domain/usecases/sign_in_with_phone_usecase.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/domain/usecases/verify_otp_usecase.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/blocs/auth_bloc.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/blocs/auth_event.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/blocs/auth_state.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/blocs/profile_setup/profile_setup_bloc.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/blocs/profile_setup/profile_setup_event.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/blocs/profile_setup/profile_setup_state.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/navigation/auth_navigator.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/pages/get_started_page.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/pages/phone_verification_page.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/pages/profile_setup_page.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/common/auth_trouble_link.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/common/section_title_subtitle.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/get_started_page/get_started_actions.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/get_started_page/get_started_background.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/get_started_page/get_started_header.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification/otp_input_field.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification/otp_resend_section.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification/otp_verification_actions.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification/otp_verification_header.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/phone_input.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/phone_input/phone_input_actions.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/phone_input/phone_input_form_field.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/phone_input/phone_input_header.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/profile_setup_page/profile_setup_basic_info.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/profile_setup_page/profile_setup_experience.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/profile_setup_page/profile_setup_header.dart delete mode 100644 apps/packages/features/staff/authentication/lib/src/presentation/widgets/profile_setup_page/profile_setup_location.dart delete mode 100644 apps/packages/features/staff/authentication/lib/staff_authentication.dart delete mode 100644 apps/packages/features/staff/authentication/pubspec.yaml delete mode 100644 apps/pubspec.lock delete mode 100644 apps/pubspec.yaml diff --git a/apps/.gitignore b/apps/.gitignore deleted file mode 100644 index 9bbffcff..00000000 --- a/apps/.gitignore +++ /dev/null @@ -1,19 +0,0 @@ -# Old apps prototypes -prototypes/* - -# AI prompts -ai_prompts/* - -# Template feature -packages/features/shared/template_feature/* - -# Generated files -*.g.dart -*.freezed.dart - -# Dart/Flutter -.dart_tool/ -.packages -.pub-cache/ -.pub/ -build/ diff --git a/apps/analytics_options.yaml b/apps/analytics_options.yaml deleted file mode 100644 index e69de29b..00000000 diff --git a/apps/apps/client/.gitignore b/apps/apps/client/.gitignore deleted file mode 100644 index 3820a95c..00000000 --- a/apps/apps/client/.gitignore +++ /dev/null @@ -1,45 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.build/ -.buildlog/ -.history -.svn/ -.swiftpm/ -migrate_working_dir/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins-dependencies -.pub-cache/ -.pub/ -/build/ -/coverage/ - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Android Studio will place build artifacts here -/android/app/debug -/android/app/profile -/android/app/release diff --git a/apps/apps/client/.metadata b/apps/apps/client/.metadata deleted file mode 100644 index 08c24780..00000000 --- a/apps/apps/client/.metadata +++ /dev/null @@ -1,45 +0,0 @@ -# This file tracks properties of this Flutter project. -# Used by Flutter tool to assess capabilities and perform upgrades etc. -# -# This file should be version controlled and should not be manually edited. - -version: - revision: "3b62efc2a3da49882f43c372e0bc53daef7295a6" - channel: "stable" - -project_type: app - -# Tracks metadata for the flutter migrate command -migration: - platforms: - - platform: root - create_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - base_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - - platform: android - create_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - base_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - - platform: ios - create_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - base_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - - platform: linux - create_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - base_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - - platform: macos - create_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - base_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - - platform: web - create_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - base_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - - platform: windows - create_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - base_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - - # User provided section - - # List of Local paths (relative to this file) that should be - # ignored by the migrate tool. - # - # Files that are not part of the templates will be ignored by default. - unmanaged_files: - - 'lib/main.dart' - - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/apps/apps/client/analysis_options.yaml b/apps/apps/client/analysis_options.yaml deleted file mode 100644 index 856be8f8..00000000 --- a/apps/apps/client/analysis_options.yaml +++ /dev/null @@ -1 +0,0 @@ -include: ../../analytics_options.yaml \ No newline at end of file diff --git a/apps/apps/client/android/.gitignore b/apps/apps/client/android/.gitignore deleted file mode 100644 index be3943c9..00000000 --- a/apps/apps/client/android/.gitignore +++ /dev/null @@ -1,14 +0,0 @@ -gradle-wrapper.jar -/.gradle -/captures/ -/gradlew -/gradlew.bat -/local.properties -GeneratedPluginRegistrant.java -.cxx/ - -# Remember to never publicly share your keystore. -# See https://flutter.dev/to/reference-keystore -key.properties -**/*.keystore -**/*.jks diff --git a/apps/apps/client/android/app/build.gradle.kts b/apps/apps/client/android/app/build.gradle.kts deleted file mode 100644 index 04b25374..00000000 --- a/apps/apps/client/android/app/build.gradle.kts +++ /dev/null @@ -1,45 +0,0 @@ -plugins { - id("com.android.application") - id("kotlin-android") - // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. - id("dev.flutter.flutter-gradle-plugin") - id("com.google.gms.google-services") -} - -android { - namespace = "com.example.krow_client" - compileSdk = flutter.compileSdkVersion - ndkVersion = flutter.ndkVersion - - compileOptions { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 - } - - kotlinOptions { - jvmTarget = JavaVersion.VERSION_17.toString() - } - - defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId = "com.krowwithus.client" - // You can update the following values to match your application needs. - // For more information, see: https://flutter.dev/to/review-gradle-config. - minSdk = flutter.minSdkVersion - targetSdk = flutter.targetSdkVersion - versionCode = flutter.versionCode - versionName = flutter.versionName - } - - buildTypes { - release { - // TODO: Add your own signing config for the release build. - // Signing with the debug keys for now, so `flutter run --release` works. - signingConfig = signingConfigs.getByName("debug") - } - } -} - -flutter { - source = "../.." -} diff --git a/apps/apps/client/android/app/google-services.json b/apps/apps/client/android/app/google-services.json deleted file mode 100644 index 7533ddc2..00000000 --- a/apps/apps/client/android/app/google-services.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "project_info": { - "project_number": "933560802882", - "project_id": "krow-workforce-dev", - "storage_bucket": "krow-workforce-dev.firebasestorage.app" - }, - "client": [ - { - "client_info": { - "mobilesdk_app_id": "1:933560802882:android:87d41566f8dda41d7757db", - "android_client_info": { - "package_name": "com.example.krow_workforce" - } - }, - "oauth_client": [ - { - "client_id": "933560802882-grp98a1v7amflnnup68vh01tj06eaem1.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyDBYhflhK6DThKnS7RM-9raKdvyKzLUjY4" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "933560802882-grp98a1v7amflnnup68vh01tj06eaem1.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "933560802882-dppsapp5i3lsfrlm1mhob2s21peofg1t.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "com.krow.app.staff.dev" - } - } - ] - } - } - }, - { - "client_info": { - "mobilesdk_app_id": "1:933560802882:android:edcddb83ea4bbb517757db", - "android_client_info": { - "package_name": "com.krow.app.business.dev" - } - }, - "oauth_client": [ - { - "client_id": "933560802882-grp98a1v7amflnnup68vh01tj06eaem1.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyDBYhflhK6DThKnS7RM-9raKdvyKzLUjY4" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "933560802882-grp98a1v7amflnnup68vh01tj06eaem1.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "933560802882-dppsapp5i3lsfrlm1mhob2s21peofg1t.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "com.krow.app.staff.dev" - } - } - ] - } - } - }, - { - "client_info": { - "mobilesdk_app_id": "1:933560802882:android:d49b8c0f4d19e95e7757db", - "android_client_info": { - "package_name": "com.krow.app.staff.dev" - } - }, - "oauth_client": [ - { - "client_id": "933560802882-grp98a1v7amflnnup68vh01tj06eaem1.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyDBYhflhK6DThKnS7RM-9raKdvyKzLUjY4" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "933560802882-grp98a1v7amflnnup68vh01tj06eaem1.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "933560802882-dppsapp5i3lsfrlm1mhob2s21peofg1t.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "com.krow.app.staff.dev" - } - } - ] - } - } - }, - { - "client_info": { - "mobilesdk_app_id": "1:933560802882:android:da13569105659ead7757db", - "android_client_info": { - "package_name": "com.krowwithus.client" - } - }, - "oauth_client": [ - { - "client_id": "933560802882-grp98a1v7amflnnup68vh01tj06eaem1.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyDBYhflhK6DThKnS7RM-9raKdvyKzLUjY4" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "933560802882-grp98a1v7amflnnup68vh01tj06eaem1.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "933560802882-dppsapp5i3lsfrlm1mhob2s21peofg1t.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "com.krow.app.staff.dev" - } - } - ] - } - } - }, - { - "client_info": { - "mobilesdk_app_id": "1:933560802882:android:d26bde4ee337b0b17757db", - "android_client_info": { - "package_name": "com.krowwithus.krow_workforce.dev" - } - }, - "oauth_client": [ - { - "client_id": "933560802882-grp98a1v7amflnnup68vh01tj06eaem1.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyDBYhflhK6DThKnS7RM-9raKdvyKzLUjY4" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "933560802882-grp98a1v7amflnnup68vh01tj06eaem1.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "933560802882-dppsapp5i3lsfrlm1mhob2s21peofg1t.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "com.krow.app.staff.dev" - } - } - ] - } - } - } - ], - "configuration_version": "1" -} \ No newline at end of file diff --git a/apps/apps/client/android/app/src/debug/AndroidManifest.xml b/apps/apps/client/android/app/src/debug/AndroidManifest.xml deleted file mode 100644 index 399f6981..00000000 --- a/apps/apps/client/android/app/src/debug/AndroidManifest.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/apps/apps/client/android/app/src/main/AndroidManifest.xml b/apps/apps/client/android/app/src/main/AndroidManifest.xml deleted file mode 100644 index 2b7a964a..00000000 --- a/apps/apps/client/android/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/client/android/app/src/main/kotlin/com/example/krow_client/MainActivity.kt b/apps/apps/client/android/app/src/main/kotlin/com/example/krow_client/MainActivity.kt deleted file mode 100644 index 419b3bd4..00000000 --- a/apps/apps/client/android/app/src/main/kotlin/com/example/krow_client/MainActivity.kt +++ /dev/null @@ -1,5 +0,0 @@ -package com.example.krow_client - -import io.flutter.embedding.android.FlutterActivity - -class MainActivity : FlutterActivity() diff --git a/apps/apps/client/android/app/src/main/res/drawable-v21/launch_background.xml b/apps/apps/client/android/app/src/main/res/drawable-v21/launch_background.xml deleted file mode 100644 index f74085f3..00000000 --- a/apps/apps/client/android/app/src/main/res/drawable-v21/launch_background.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/apps/apps/client/android/app/src/main/res/drawable/launch_background.xml b/apps/apps/client/android/app/src/main/res/drawable/launch_background.xml deleted file mode 100644 index 304732f8..00000000 --- a/apps/apps/client/android/app/src/main/res/drawable/launch_background.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/apps/apps/client/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/apps/apps/client/android/app/src/main/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index db77bb4b7b0906d62b1847e87f15cdcacf6a4f29..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 544 zcmeAS@N?(olHy`uVBq!ia0vp^9w5xY3?!3`olAj~WQl7;NpOBzNqJ&XDuZK6ep0G} zXKrG8YEWuoN@d~6R2!h8bpbvhu0Wd6uZuB!w&u2PAxD2eNXD>P5D~Wn-+_Wa#27Xc zC?Zj|6r#X(-D3u$NCt}(Ms06KgJ4FxJVv{GM)!I~&n8Bnc94O7-Hd)cjDZswgC;Qs zO=b+9!WcT8F?0rF7!Uys2bs@gozCP?z~o%U|N3vA*22NaGQG zlg@K`O_XuxvZ&Ks^m&R!`&1=spLvfx7oGDKDwpwW`#iqdw@AL`7MR}m`rwr|mZgU`8P7SBkL78fFf!WnuYWm$5Z0 zNXhDbCv&49sM544K|?c)WrFfiZvCi9h0O)B3Pgg&ebxsLQ05GG~ AQ2+n{ diff --git a/apps/apps/client/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/apps/apps/client/android/app/src/main/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index 17987b79bb8a35cc66c3c1fd44f5a5526c1b78be..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 442 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA3?vioaBc-sk|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*D5Xx&nMcT!A!W`0S9QKQy;}1Cl^CgaH=;G9cpY;r$Q>i*pfB zP2drbID<_#qf;rPZx^FqH)F_D#*k@@q03KywUtLX8Ua?`H+NMzkczFPK3lFz@i_kW%1NOn0|D2I9n9wzH8m|-tHjsw|9>@K=iMBhxvkv6m8Y-l zytQ?X=U+MF$@3 zt`~i=@j|6y)RWMK--}M|=T`o&^Ni>IoWKHEbBXz7?A@mgWoL>!*SXo`SZH-*HSdS+ yn*9;$7;m`l>wYBC5bq;=U}IMqLzqbYCidGC!)_gkIk_C@Uy!y&wkt5C($~2D>~)O*cj@FGjOCM)M>_ixfudOh)?xMu#Fs z#}Y=@YDTwOM)x{K_j*Q;dPdJ?Mz0n|pLRx{4n|)f>SXlmV)XB04CrSJn#dS5nK2lM zrZ9#~WelCp7&e13Y$jvaEXHskn$2V!!DN-nWS__6T*l;H&Fopn?A6HZ-6WRLFP=R` zqG+CE#d4|IbyAI+rJJ`&x9*T`+a=p|0O(+s{UBcyZdkhj=yS1>AirP+0R;mf2uMgM zC}@~JfByORAh4SyRgi&!(cja>F(l*O+nd+@4m$|6K6KDn_&uvCpV23&>G9HJp{xgg zoq1^2_p9@|WEo z*X_Uko@K)qYYv~>43eQGMdbiGbo>E~Q& zrYBH{QP^@Sti!`2)uG{irBBq@y*$B zi#&(U-*=fp74j)RyIw49+0MRPMRU)+a2r*PJ$L5roHt2$UjExCTZSbq%V!HeS7J$N zdG@vOZB4v_lF7Plrx+hxo7(fCV&}fHq)$ diff --git a/apps/apps/client/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/apps/apps/client/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index d5f1c8d34e7a88e3f88bea192c3a370d44689c3c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1031 zcmeAS@N?(olHy`uVBq!ia0vp^6F``Q8Ax83A=Cw=BuiW)N`mv#O3D+9QW+dm@{>{( zJaZG%Q-e|yQz{EjrrIztFa`(sgt!6~Yi|1%a`XoT0ojZ}lNrNjb9xjc(B0U1_% zz5^97Xt*%oq$rQy4?0GKNfJ44uvxI)gC`h-NZ|&0-7(qS@?b!5r36oQ}zyZrNO3 zMO=Or+<~>+A&uN&E!^Sl+>xE!QC-|oJv`ApDhqC^EWD|@=#J`=d#Xzxs4ah}w&Jnc z$|q_opQ^2TrnVZ0o~wh<3t%W&flvYGe#$xqda2bR_R zvPYgMcHgjZ5nSA^lJr%;<&0do;O^tDDh~=pIxA#coaCY>&N%M2^tq^U%3DB@ynvKo}b?yu-bFc-u0JHzced$sg7S3zqI(2 z#Km{dPr7I=pQ5>FuK#)QwK?Y`E`B?nP+}U)I#c1+FM*1kNvWG|a(TpksZQ3B@sD~b zpQ2)*V*TdwjFOtHvV|;OsiDqHi=6%)o4b!)x$)%9pGTsE z-JL={-Ffv+T87W(Xpooq<`r*VzWQcgBN$$`u}f>-ZQI1BB8ykN*=e4rIsJx9>z}*o zo~|9I;xof diff --git a/apps/apps/client/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/apps/apps/client/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 4d6372eebdb28e45604e46eeda8dd24651419bc0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1443 zcmb`G{WsKk6vsdJTdFg%tJav9_E4vzrOaqkWF|A724Nly!y+?N9`YV6wZ}5(X(D_N(?!*n3`|_r0Hc?=PQw&*vnU?QTFY zB_MsH|!j$PP;I}?dppoE_gA(4uc!jV&0!l7_;&p2^pxNo>PEcNJv za5_RT$o2Mf!<+r?&EbHH6nMoTsDOa;mN(wv8RNsHpG)`^ymG-S5By8=l9iVXzN_eG%Xg2@Xeq76tTZ*dGh~Lo9vl;Zfs+W#BydUw zCkZ$o1LqWQO$FC9aKlLl*7x9^0q%0}$OMlp@Kk_jHXOjofdePND+j!A{q!8~Jn+s3 z?~~w@4?egS02}8NuulUA=L~QQfm;MzCGd)XhiftT;+zFO&JVyp2mBww?;QByS_1w! zrQlx%{^cMj0|Bo1FjwY@Q8?Hx0cIPF*@-ZRFpPc#bBw{5@tD(5%sClzIfl8WU~V#u zm5Q;_F!wa$BSpqhN>W@2De?TKWR*!ujY;Yylk_X5#~V!L*Gw~;$%4Q8~Mad z@`-kG?yb$a9cHIApZDVZ^U6Xkp<*4rU82O7%}0jjHlK{id@?-wpN*fCHXyXh(bLt* zPc}H-x0e4E&nQ>y%B-(EL=9}RyC%MyX=upHuFhAk&MLbsF0LP-q`XnH78@fT+pKPW zu72MW`|?8ht^tz$iC}ZwLp4tB;Q49K!QCF3@!iB1qOI=?w z7In!}F~ij(18UYUjnbmC!qKhPo%24?8U1x{7o(+?^Zu0Hx81|FuS?bJ0jgBhEMzf< zCgUq7r2OCB(`XkKcN-TL>u5y#dD6D!)5W?`O5)V^>jb)P)GBdy%t$uUMpf$SNV31$ zb||OojAbvMP?T@$h_ZiFLFVHDmbyMhJF|-_)HX3%m=CDI+ID$0^C>kzxprBW)hw(v zr!Gmda);ICoQyhV_oP5+C%?jcG8v+D@9f?Dk*!BxY}dazmrT@64UrP3hlslANK)bq z$67n83eh}OeW&SV@HG95P|bjfqJ7gw$e+`Hxo!4cx`jdK1bJ>YDSpGKLPZ^1cv$ek zIB?0S<#tX?SJCLWdMd{-ME?$hc7A$zBOdIJ)4!KcAwb=VMov)nK;9z>x~rfT1>dS+ zZ6#`2v@`jgbqq)P22H)Tx2CpmM^o1$B+xT6`(v%5xJ(?j#>Q$+rx_R|7TzDZe{J6q zG1*EcU%tE?!kO%^M;3aM6JN*LAKUVb^xz8-Pxo#jR5(-KBeLJvA@-gxNHx0M-ZJLl z;#JwQoh~9V?`UVo#}{6ka@II>++D@%KqGpMdlQ}?9E*wFcf5(#XQnP$Dk5~%iX^>f z%$y;?M0BLp{O3a(-4A?ewryHrrD%cx#Q^%KY1H zNre$ve+vceSLZcNY4U(RBX&)oZn*Py()h)XkE?PL$!bNb{N5FVI2Y%LKEm%yvpyTP z(1P?z~7YxD~Rf<(a@_y` diff --git a/apps/apps/client/android/app/src/main/res/values-night/styles.xml b/apps/apps/client/android/app/src/main/res/values-night/styles.xml deleted file mode 100644 index 06952be7..00000000 --- a/apps/apps/client/android/app/src/main/res/values-night/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - diff --git a/apps/apps/client/android/app/src/main/res/values/styles.xml b/apps/apps/client/android/app/src/main/res/values/styles.xml deleted file mode 100644 index cb1ef880..00000000 --- a/apps/apps/client/android/app/src/main/res/values/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - diff --git a/apps/apps/client/android/app/src/profile/AndroidManifest.xml b/apps/apps/client/android/app/src/profile/AndroidManifest.xml deleted file mode 100644 index 399f6981..00000000 --- a/apps/apps/client/android/app/src/profile/AndroidManifest.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/apps/apps/client/android/build.gradle.kts b/apps/apps/client/android/build.gradle.kts deleted file mode 100644 index dbee657b..00000000 --- a/apps/apps/client/android/build.gradle.kts +++ /dev/null @@ -1,24 +0,0 @@ -allprojects { - repositories { - google() - mavenCentral() - } -} - -val newBuildDir: Directory = - rootProject.layout.buildDirectory - .dir("../../build") - .get() -rootProject.layout.buildDirectory.value(newBuildDir) - -subprojects { - val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name) - project.layout.buildDirectory.value(newSubprojectBuildDir) -} -subprojects { - project.evaluationDependsOn(":app") -} - -tasks.register("clean") { - delete(rootProject.layout.buildDirectory) -} diff --git a/apps/apps/client/android/gradle.properties b/apps/apps/client/android/gradle.properties deleted file mode 100644 index fbee1d8c..00000000 --- a/apps/apps/client/android/gradle.properties +++ /dev/null @@ -1,2 +0,0 @@ -org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError -android.useAndroidX=true diff --git a/apps/apps/client/android/gradle/wrapper/gradle-wrapper.properties b/apps/apps/client/android/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index e4ef43fb..00000000 --- a/apps/apps/client/android/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,5 +0,0 @@ -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-all.zip diff --git a/apps/apps/client/android/settings.gradle.kts b/apps/apps/client/android/settings.gradle.kts deleted file mode 100644 index e4e86fb6..00000000 --- a/apps/apps/client/android/settings.gradle.kts +++ /dev/null @@ -1,27 +0,0 @@ -pluginManagement { - val flutterSdkPath = - run { - val properties = java.util.Properties() - file("local.properties").inputStream().use { properties.load(it) } - val flutterSdkPath = properties.getProperty("flutter.sdk") - require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" } - flutterSdkPath - } - - includeBuild("$flutterSdkPath/packages/flutter_tools/gradle") - - repositories { - google() - mavenCentral() - gradlePluginPortal() - } -} - -plugins { - id("dev.flutter.flutter-plugin-loader") version "1.0.0" - id("com.android.application") version "8.11.1" apply false - id("org.jetbrains.kotlin.android") version "2.2.20" apply false - id("com.google.gms.google-services") version "4.4.2" apply false -} - -include(":app") diff --git a/apps/apps/client/ios/.gitignore b/apps/apps/client/ios/.gitignore deleted file mode 100644 index 7a7f9873..00000000 --- a/apps/apps/client/ios/.gitignore +++ /dev/null @@ -1,34 +0,0 @@ -**/dgph -*.mode1v3 -*.mode2v3 -*.moved-aside -*.pbxuser -*.perspectivev3 -**/*sync/ -.sconsign.dblite -.tags* -**/.vagrant/ -**/DerivedData/ -Icon? -**/Pods/ -**/.symlinks/ -profile -xcuserdata -**/.generated/ -Flutter/App.framework -Flutter/Flutter.framework -Flutter/Flutter.podspec -Flutter/Generated.xcconfig -Flutter/ephemeral/ -Flutter/app.flx -Flutter/app.zip -Flutter/flutter_assets/ -Flutter/flutter_export_environment.sh -ServiceDefinitions.json -Runner/GeneratedPluginRegistrant.* - -# Exceptions to above rules. -!default.mode1v3 -!default.mode2v3 -!default.pbxuser -!default.perspectivev3 diff --git a/apps/apps/client/ios/Flutter/AppFrameworkInfo.plist b/apps/apps/client/ios/Flutter/AppFrameworkInfo.plist deleted file mode 100644 index 1dc6cf76..00000000 --- a/apps/apps/client/ios/Flutter/AppFrameworkInfo.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - App - CFBundleIdentifier - io.flutter.flutter.app - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - App - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - MinimumOSVersion - 13.0 - - diff --git a/apps/apps/client/ios/Flutter/Debug.xcconfig b/apps/apps/client/ios/Flutter/Debug.xcconfig deleted file mode 100644 index ec97fc6f..00000000 --- a/apps/apps/client/ios/Flutter/Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" -#include "Generated.xcconfig" diff --git a/apps/apps/client/ios/Flutter/Release.xcconfig b/apps/apps/client/ios/Flutter/Release.xcconfig deleted file mode 100644 index c4855bfe..00000000 --- a/apps/apps/client/ios/Flutter/Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" -#include "Generated.xcconfig" diff --git a/apps/apps/client/ios/Podfile b/apps/apps/client/ios/Podfile deleted file mode 100644 index 620e46eb..00000000 --- a/apps/apps/client/ios/Podfile +++ /dev/null @@ -1,43 +0,0 @@ -# Uncomment this line to define a global platform for your project -# platform :ios, '13.0' - -# CocoaPods analytics sends network stats synchronously affecting flutter build latency. -ENV['COCOAPODS_DISABLE_STATS'] = 'true' - -project 'Runner', { - 'Debug' => :debug, - 'Profile' => :release, - 'Release' => :release, -} - -def flutter_root - generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) - unless File.exist?(generated_xcode_build_settings_path) - raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" - end - - File.foreach(generated_xcode_build_settings_path) do |line| - matches = line.match(/FLUTTER_ROOT\=(.*)/) - return matches[1].strip if matches - end - raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" -end - -require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) - -flutter_ios_podfile_setup - -target 'Runner' do - use_frameworks! - - flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) - target 'RunnerTests' do - inherit! :search_paths - end -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - flutter_additional_ios_build_settings(target) - end -end diff --git a/apps/apps/client/ios/Runner.xcodeproj/project.pbxproj b/apps/apps/client/ios/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index 6da39393..00000000 --- a/apps/apps/client/ios/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,616 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 54; - objects = { - -/* Begin PBXBuildFile section */ - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; - 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; }; - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 97C146E61CF9000F007C117D /* Project object */; - proxyType = 1; - remoteGlobalIDString = 97C146ED1CF9000F007C117D; - remoteInfo = Runner; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 9705A1C41CF9048500538489 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; - 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; - 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; - 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; - 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 97C146EB1CF9000F007C117D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 331C8082294A63A400263BE5 /* RunnerTests */ = { - isa = PBXGroup; - children = ( - 331C807B294A618700263BE5 /* RunnerTests.swift */, - ); - path = RunnerTests; - sourceTree = ""; - }; - 9740EEB11CF90186004384FC /* Flutter */ = { - isa = PBXGroup; - children = ( - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 9740EEB31CF90195004384FC /* Generated.xcconfig */, - ); - name = Flutter; - sourceTree = ""; - }; - 97C146E51CF9000F007C117D = { - isa = PBXGroup; - children = ( - 9740EEB11CF90186004384FC /* Flutter */, - 97C146F01CF9000F007C117D /* Runner */, - 97C146EF1CF9000F007C117D /* Products */, - 331C8082294A63A400263BE5 /* RunnerTests */, - ); - sourceTree = ""; - }; - 97C146EF1CF9000F007C117D /* Products */ = { - isa = PBXGroup; - children = ( - 97C146EE1CF9000F007C117D /* Runner.app */, - 331C8081294A63A400263BE5 /* RunnerTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 97C146F01CF9000F007C117D /* Runner */ = { - isa = PBXGroup; - children = ( - 97C146FA1CF9000F007C117D /* Main.storyboard */, - 97C146FD1CF9000F007C117D /* Assets.xcassets */, - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, - 97C147021CF9000F007C117D /* Info.plist */, - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, - ); - path = Runner; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 331C8080294A63A400263BE5 /* RunnerTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; - buildPhases = ( - 331C807D294A63A400263BE5 /* Sources */, - 331C807F294A63A400263BE5 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 331C8086294A63A400263BE5 /* PBXTargetDependency */, - ); - name = RunnerTests; - productName = RunnerTests; - productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 97C146ED1CF9000F007C117D /* Runner */ = { - isa = PBXNativeTarget; - buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; - buildPhases = ( - 9740EEB61CF901F6004384FC /* Run Script */, - 97C146EA1CF9000F007C117D /* Sources */, - 97C146EB1CF9000F007C117D /* Frameworks */, - 97C146EC1CF9000F007C117D /* Resources */, - 9705A1C41CF9048500538489 /* Embed Frameworks */, - 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Runner; - productName = Runner; - productReference = 97C146EE1CF9000F007C117D /* Runner.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 97C146E61CF9000F007C117D /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = YES; - LastUpgradeCheck = 1510; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 331C8080294A63A400263BE5 = { - CreatedOnToolsVersion = 14.0; - TestTargetID = 97C146ED1CF9000F007C117D; - }; - 97C146ED1CF9000F007C117D = { - CreatedOnToolsVersion = 7.3.1; - LastSwiftMigration = 1100; - }; - }; - }; - buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 97C146E51CF9000F007C117D; - productRefGroup = 97C146EF1CF9000F007C117D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 97C146ED1CF9000F007C117D /* Runner */, - 331C8080294A63A400263BE5 /* RunnerTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 331C807F294A63A400263BE5 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EC1CF9000F007C117D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", - ); - name = "Thin Binary"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; - }; - 9740EEB61CF901F6004384FC /* Run Script */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Run Script"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 331C807D294A63A400263BE5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EA1CF9000F007C117D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 331C8086294A63A400263BE5 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 97C146ED1CF9000F007C117D /* Runner */; - targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 97C146FA1CF9000F007C117D /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C146FB1CF9000F007C117D /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C147001CF9000F007C117D /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 249021D3217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Profile; - }; - 249021D4217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.krowwithus.client; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Profile; - }; - 331C8088294A63A400263BE5 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.krowwithus.client; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Debug; - }; - 331C8089294A63A400263BE5 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.krowwithus.client; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Release; - }; - 331C808A294A63A400263BE5 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.krowwithus.client; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Profile; - }; - 97C147031CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 97C147041CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 97C147061CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.krowwithus.client; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Debug; - }; - 97C147071CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.krowwithus.client; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 331C8088294A63A400263BE5 /* Debug */, - 331C8089294A63A400263BE5 /* Release */, - 331C808A294A63A400263BE5 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147031CF9000F007C117D /* Debug */, - 97C147041CF9000F007C117D /* Release */, - 249021D3217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147061CF9000F007C117D /* Debug */, - 97C147071CF9000F007C117D /* Release */, - 249021D4217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 97C146E61CF9000F007C117D /* Project object */; -} diff --git a/apps/apps/client/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/apps/apps/client/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a6..00000000 --- a/apps/apps/client/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/apps/apps/client/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/apps/apps/client/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d98100..00000000 --- a/apps/apps/client/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/apps/apps/client/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/apps/apps/client/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5..00000000 --- a/apps/apps/client/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/apps/apps/client/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/apps/apps/client/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme deleted file mode 100644 index e3773d42..00000000 --- a/apps/apps/client/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/client/ios/Runner.xcworkspace/contents.xcworkspacedata b/apps/apps/client/ios/Runner.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 1d526a16..00000000 --- a/apps/apps/client/ios/Runner.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/apps/apps/client/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/apps/apps/client/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d98100..00000000 --- a/apps/apps/client/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/apps/apps/client/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/apps/apps/client/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5..00000000 --- a/apps/apps/client/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/apps/apps/client/ios/Runner/AppDelegate.swift b/apps/apps/client/ios/Runner/AppDelegate.swift deleted file mode 100644 index 62666446..00000000 --- a/apps/apps/client/ios/Runner/AppDelegate.swift +++ /dev/null @@ -1,13 +0,0 @@ -import Flutter -import UIKit - -@main -@objc class AppDelegate: FlutterAppDelegate { - override func application( - _ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? - ) -> Bool { - GeneratedPluginRegistrant.register(with: self) - return super.application(application, didFinishLaunchingWithOptions: launchOptions) - } -} diff --git a/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d36b1fab..00000000 --- a/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "images" : [ - { - "size" : "20x20", - "idiom" : "iphone", - "filename" : "Icon-App-20x20@2x.png", - "scale" : "2x" - }, - { - "size" : "20x20", - "idiom" : "iphone", - "filename" : "Icon-App-20x20@3x.png", - "scale" : "3x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@1x.png", - "scale" : "1x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@2x.png", - "scale" : "2x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@3x.png", - "scale" : "3x" - }, - { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "Icon-App-40x40@2x.png", - "scale" : "2x" - }, - { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "Icon-App-40x40@3x.png", - "scale" : "3x" - }, - { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "Icon-App-60x60@2x.png", - "scale" : "2x" - }, - { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "Icon-App-60x60@3x.png", - "scale" : "3x" - }, - { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "Icon-App-20x20@1x.png", - "scale" : "1x" - }, - { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "Icon-App-20x20@2x.png", - "scale" : "2x" - }, - { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "Icon-App-29x29@1x.png", - "scale" : "1x" - }, - { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "Icon-App-29x29@2x.png", - "scale" : "2x" - }, - { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-App-40x40@1x.png", - "scale" : "1x" - }, - { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-App-40x40@2x.png", - "scale" : "2x" - }, - { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "Icon-App-76x76@1x.png", - "scale" : "1x" - }, - { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "Icon-App-76x76@2x.png", - "scale" : "2x" - }, - { - "size" : "83.5x83.5", - "idiom" : "ipad", - "filename" : "Icon-App-83.5x83.5@2x.png", - "scale" : "2x" - }, - { - "size" : "1024x1024", - "idiom" : "ios-marketing", - "filename" : "Icon-App-1024x1024@1x.png", - "scale" : "1x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png deleted file mode 100644 index dc9ada4725e9b0ddb1deab583e5b5102493aa332..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10932 zcmeHN2~<R zh`|8`A_PQ1nSu(UMFx?8j8PC!!VDphaL#`F42fd#7Vlc`zIE4n%Y~eiz4y1j|NDpi z?<@|pSJ-HM`qifhf@m%MamgwK83`XpBA<+azdF#2QsT{X@z0A9Bq>~TVErigKH1~P zRX-!h-f0NJ4Mh++{D}J+K>~~rq}d%o%+4dogzXp7RxX4C>Km5XEI|PAFDmo;DFm6G zzjVoB`@qW98Yl0Kvc-9w09^PrsobmG*Eju^=3f?0o-t$U)TL1B3;sZ^!++3&bGZ!o-*6w?;oOhf z=A+Qb$scV5!RbG+&2S}BQ6YH!FKb0``VVX~T$dzzeSZ$&9=X$3)_7Z{SspSYJ!lGE z7yig_41zpQ)%5dr4ff0rh$@ky3-JLRk&DK)NEIHecf9c*?Z1bUB4%pZjQ7hD!A0r-@NF(^WKdr(LXj|=UE7?gBYGgGQV zidf2`ZT@pzXf7}!NH4q(0IMcxsUGDih(0{kRSez&z?CFA0RVXsVFw3^u=^KMtt95q z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Jt4%fOHA=Bwf|RzhwqdXGr78y$J)LR7&3T zE1WWz*>GPWKZ0%|@%6=fyx)5rzUpI;bCj>3RKzNG_1w$fIFCZ&UR0(7S?g}`&Pg$M zf`SLsz8wK82Vyj7;RyKmY{a8G{2BHG%w!^T|Njr!h9TO2LaP^_f22Q1=l$QiU84ao zHe_#{S6;qrC6w~7{y(hs-?-j?lbOfgH^E=XcSgnwW*eEz{_Z<_xN#0001NP)t-s|Ns9~ z#rXRE|M&d=0au&!`~QyF`q}dRnBDt}*!qXo`c{v z{Djr|@Adh0(D_%#_&mM$D6{kE_x{oE{l@J5@%H*?%=t~i_`ufYOPkAEn!pfkr2$fs z652Tz0001XNklqeeKN4RM4i{jKqmiC$?+xN>3Apn^ z0QfuZLym_5b<*QdmkHjHlj811{If)dl(Z2K0A+ekGtrFJb?g|wt#k#pV-#A~bK=OT ts8>{%cPtyC${m|1#B1A6#u!Q;umknL1chzTM$P~L002ovPDHLkV1lTfnu!1a diff --git a/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png deleted file mode 100644 index 797d452e458972bab9d994556c8305db4c827017..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 406 zcmV;H0crk;P))>cdjpWt&rLJgVp-t?DREyuq1A%0Z4)6_WsQ7{nzjN zo!X zGXV)2i3kcZIL~_j>uIKPK_zib+3T+Nt3Mb&Br)s)UIaA}@p{wDda>7=Q|mGRp7pqY zkJ!7E{MNz$9nOwoVqpFb)}$IP24Wn2JJ=Cw(!`OXJBr45rP>>AQr$6c7slJWvbpNW z@KTwna6d?PP>hvXCcp=4F;=GR@R4E7{4VU^0p4F>v^#A|>07*qoM6N<$f*5nx ACIA2c diff --git a/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png deleted file mode 100644 index 6ed2d933e1120817fe9182483a228007b18ab6ae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 450 zcmV;z0X_bSP)iGWQ_5NJQ_~rNh*z)}eT%KUb z`7gNk0#AwF^#0T0?hIa^`~Ck;!}#m+_uT050aTR(J!bU#|IzRL%^UsMS#KsYnTF*!YeDOytlP4VhV?b} z%rz_<=#CPc)tU1MZTq~*2=8~iZ!lSa<{9b@2Jl;?IEV8)=fG217*|@)CCYgFze-x? zIFODUIA>nWKpE+bn~n7;-89sa>#DR>TSlqWk*!2hSN6D~Qb#VqbP~4Fk&m`@1$JGr zXPIdeRE&b2Thd#{MtDK$px*d3-Wx``>!oimf%|A-&-q*6KAH)e$3|6JV%HX{Hig)k suLT-RhftRq8b9;(V=235Wa|I=027H2wCDra;{X5v07*qoM6N<$f;9x^2LJ#7 diff --git a/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png deleted file mode 100644 index 4cd7b0099ca80c806f8fe495613e8d6c69460d76..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 282 zcmV+#0p(^bcu7P-R4C8Q z&e;xxFbF_Vrezo%_kH*OKhshZ6BFpG-Y1e10`QXJKbND7AMQ&cMj60B5TNObaZxYybcN07*qoM6N<$g3m;S%K!iX diff --git a/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png deleted file mode 100644 index fe730945a01f64a61e2235dbe3f45b08f7729182..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 462 zcmV;<0WtoGP)-}iV`2<;=$?g5M=KQbZ{F&YRNy7Nn@%_*5{gvDM0aKI4?ESmw z{NnZg)A0R`+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=Cw(!`OXJBr45rP>>AQr$6c7slJWvbpNW z@KTwna6d?PP>hvXCcp=4F;=GR@R4E7{4VU^0p4F>v^#A|>07*qoM6N<$f*5nx ACIA2c diff --git a/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png deleted file mode 100644 index 502f463a9bc882b461c96aadf492d1729e49e725..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 586 zcmV-Q0=4~#P)+}#`wDE{8-2Mebf5<{{PqV{TgVcv*r8?UZ3{-|G?_}T*&y;@cqf{ z{Q*~+qr%%p!1pS*_Uicl#q9lc(D`!D`LN62sNwq{oYw(Wmhk)k<@f$!$@ng~_5)Ru z0Z)trIA5^j{DIW^c+vT2%lW+2<(RtE2wR;4O@)Tm`Xr*?A(qYoM}7i5Yxw>D(&6ou zxz!_Xr~yNF+waPe00049Nkl*;a!v6h%{rlvIH#gW3s8p;bFr=l}mRqpW2h zw=OA%hdyL~z+UHOzl0eKhEr$YYOL-c-%Y<)=j?(bzDweB7{b+%_ypvm_cG{SvM=DK zhv{K@m>#Bw>2W$eUI#iU)Wdgs8Y3U+A$Gd&{+j)d)BmGKx+43U_!tik_YlN)>$7G! zhkE!s;%oku3;IwG3U^2kw?z+HM)jB{@zFhK8P#KMSytSthr+4!c(5c%+^UBn`0X*2 zy3(k600_CSZj?O$Qu%&$;|TGUJrptR(HzyIx>5E(2r{eA(<6t3e3I0B)7d6s7?Z5J zZ!rtKvA{MiEBm&KFtoifx>5P^Z=vl)95XJn()aS5%ad(s?4-=Tkis9IGu{`Fy8r+H07*qoM6N<$f20Z)wqMt%V?S?~D#06};F zA3KcL`Wb+>5ObvgQIG&ig8(;V04hz?@cqy3{mSh8o!|U|)cI!1_+!fWH@o*8vh^CU z^ws0;(c$gI+2~q^tO#GDHf@=;DncUw00J^eL_t(&-tE|HQ`%4vfZ;WsBqu-$0nu1R zq^Vj;p$clf^?twn|KHO+IGt^q#a3X?w9dXC@*yxhv&l}F322(8Y1&=P&I}~G@#h6; z1CV9ecD9ZEe87{{NtI*)_aJ<`kJa z?5=RBtFF50s;jQLFil-`)m2wrb=6h(&brpj%nG_U&ut~$?8Rokzxi8zJoWr#2dto5 zOX_URcc<1`Iky+jc;A%Vzx}1QU{2$|cKPom2Vf1{8m`vja4{F>HS?^Nc^rp}xo+Nh zxd}eOm`fm3@MQC1< zIk&aCjb~Yh%5+Yq0`)D;q{#-Uqlv*o+Oor zE!I71Z@ASH3grl8&P^L0WpavHoP|UX4e?!igT`4?AZk$hu*@%6WJ;zDOGlw7kj@ zY5!B-0ft0f?Lgb>C;$Ke07*qoM6N<$f~t1N9smFU diff --git a/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png deleted file mode 100644 index 0ec303439225b78712f49115768196d8d76f6790..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 862 zcmV-k1EKthP)20Z)wqMt%V?S?~D#06};F zA3KcL`Wb+>5ObvgQIG&ig8(;V04hz?@cqy3{mSh8o!|U|)cI!1_+!fWH@o*8vh^CU z^ws0;(c$gI+2~q^tO#GDHf@=;DncUw00J^eL_t(&-tE|HQ`%4vfZ;WsBqu-$0nu1R zq^Vj;p$clf^?twn|KHO+IGt^q#a3X?w9dXC@*yxhv&l}F322(8Y1&=P&I}~G@#h6; z1CV9ecD9ZEe87{{NtI*)_aJ<`kJa z?5=RBtFF50s;jQLFil-`)m2wrb=6h(&brpj%nG_U&ut~$?8Rokzxi8zJoWr#2dto5 zOX_URcc<1`Iky+jc;A%Vzx}1QU{2$|cKPom2Vf1{8m`vja4{F>HS?^Nc^rp}xo+Nh zxd}eOm`fm3@MQC1< zIk&aCjb~Yh%5+Yq0`)D;q{#-Uqlv*o+Oor zE!I71Z@ASH3grl8&P^L0WpavHoP|UX4e?!igT`4?AZk$hu*@%6WJ;zDOGlw7kj@ zY5!B-0ft0f?Lgb>C;$Ke07*qoM6N<$f~t1N9smFU diff --git a/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png deleted file mode 100644 index e9f5fea27c705180eb716271f41b582e76dcbd90..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1674 zcmV;526g#~P){YQnis^a@{&-nmRmq)<&%Mztj67_#M}W?l>kYSliK<%xAp;0j{!}J0!o7b zE>q9${Lb$D&h7k=+4=!ek^n+`0zq>LL1O?lVyea53S5x`Nqqo2YyeuIrQrJj9XjOp z{;T5qbj3}&1vg1VK~#9!?b~^C5-}JC@Pyrv-6dSEqJqT}#j9#dJ@GzT@B8}x zU&J@bBI>f6w6en+CeI)3^kC*U?}X%OD8$Fd$H&LV$H&LV$H&LV#|K5~mLYf|VqzOc zkc7qL~0sOYuM{tG`rYEDV{DWY`Z8&)kW*hc2VkBuY+^Yx&92j&StN}Wp=LD zxoGxXw6f&8sB^u})h@b@z0RBeD`K7RMR9deyL(ZJu#39Z>rT)^>v}Khq8U-IbIvT> z?4pV9qGj=2)TNH3d)=De<+^w;>S7m_eFKTvzeaBeir45xY!^m!FmxnljbSS_3o=g( z->^wC9%qkR{kbGnW8MfFew_o9h3(r55Is`L$8KI@d+*%{=Nx+FXJ98L0PjFIu;rGnnfY zn1R5Qnp<{Jq0M1vX=X&F8gtLmcWv$1*M@4ZfF^9``()#hGTeKeP`1!iED ztNE(TN}M5}3Bbc*d=FIv`DNv&@|C6yYj{sSqUj5oo$#*0$7pu|Dd2TLI>t5%I zIa4Dvr(iayb+5x=j*Vum9&irk)xV1`t509lnPO0%skL8_1c#Xbamh(2@f?4yUI zhhuT5<#8RJhGz4%b$`PJwKPAudsm|at?u;*hGgnA zU1;9gnxVB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b?Wy<&gOo;dS`~CR$Vwb@XWtR|N zi~t=w02?-0&j0TD{>bb6sNwsK*!p?V`RMQUl(*DVjk-9Cx+-z1KXab|Ka2oXhX5f% z`$|e!000AhNklrxs)5QTeTVRiEmz~MKK1WAjCw(c-JK6eox;2O)?`? zTG`AHia671e^vgmp!llKp|=5sVHk#C7=~epA~VAf-~%aPC=%Qw01h8mnSZ|p?hz91 z7p83F3%LVu9;S$tSI$C^%^yud1dfTM_6p2|+5Ejp$bd`GDvbR|xit>i!ZD&F>@CJrPmu*UjD&?DfZs=$@e3FQA(vNiU+$A*%a} z?`XcG2jDxJ_ZQ#Md`H{4Lpf6QBDp81_KWZ6Tk#yCy1)32zO#3<7>b`eT7UyYH1eGz z;O(rH$=QR*L%%ZcBpc=eGua?N55nD^K(8<#gl2+pN_j~b2MHs4#mcLmv%DkspS-3< zpI1F=^9siI0s-;IN_IrA;5xm~3?3!StX}pUv0vkxMaqm+zxrg7X7(I&*N~&dEd0kD z-FRV|g=|QuUsuh>-xCI}vD2imzYIOIdcCVV=$Bz@*u0+Bs<|L^)32nN*=wu3n%Ynw z@1|eLG>!8ruU1pFXUfb`j>(=Gy~?Rn4QJ-c3%3T|(Frd!bI`9u&zAnyFYTqlG#&J7 zAkD(jpw|oZLNiA>;>hgp1KX7-wxC~31II47gc zHcehD6Uxlf%+M^^uN5Wc*G%^;>D5qT{>=uxUhX%WJu^Z*(_Wq9y}npFO{Hhb>s6<9 zNi0pHXWFaVZnb)1+RS&F)xOv6&aeILcI)`k#0YE+?e)5&#r7J#c`3Z7x!LpTc01dx zrdC3{Z;joZ^KN&))zB_i)I9fWedoN>Zl-6_Iz+^G&*ak2jpF07*qoM6N<$f;w%0(f|Me diff --git a/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/apps/apps/client/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png deleted file mode 100644 index 0467bf12aa4d28f374bb26596605a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RBmp)q`#PCA`Vd#Tc$@f1tAcM>f_I@bC)hkI9|o(Iqv zo}Piadq!j76}004RBio<`)70k^`K1NK)q>w?p^C6J2ZC!+UppiK6&y3Kmbv&O!oYF z34$0Z;QO!JOY#!`qyGH<3Pd}Pt@q*A0V=3SVtWKRR8d8Z&@)3qLPA19LPA19LPEUC YUoZo%k(ykuW&i*H07*qoM6N<$f+CH{y8r+H diff --git a/apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json deleted file mode 100644 index 0bedcf2f..00000000 --- a/apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "LaunchImage.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "LaunchImage@2x.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "filename" : "LaunchImage@3x.png", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png deleted file mode 100644 index 9da19eacad3b03bb08bbddbbf4ac48dd78b3d838..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx0wlM}@Gt=>Zci7-kcv6Uzs@r-FtIZ-&5|)J Q1PU{Fy85}Sb4q9e0B4a5jsO4v diff --git a/apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png deleted file mode 100644 index 9da19eacad3b03bb08bbddbbf4ac48dd78b3d838..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx0wlM}@Gt=>Zci7-kcv6Uzs@r-FtIZ-&5|)J Q1PU{Fy85}Sb4q9e0B4a5jsO4v diff --git a/apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png deleted file mode 100644 index 9da19eacad3b03bb08bbddbbf4ac48dd78b3d838..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx0wlM}@Gt=>Zci7-kcv6Uzs@r-FtIZ-&5|)J Q1PU{Fy85}Sb4q9e0B4a5jsO4v diff --git a/apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md deleted file mode 100644 index 89c2725b..00000000 --- a/apps/apps/client/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Launch Screen Assets - -You can customize the launch screen with your own desired assets by replacing the image files in this directory. - -You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. \ No newline at end of file diff --git a/apps/apps/client/ios/Runner/Base.lproj/LaunchScreen.storyboard b/apps/apps/client/ios/Runner/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index f2e259c7..00000000 --- a/apps/apps/client/ios/Runner/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/client/ios/Runner/Base.lproj/Main.storyboard b/apps/apps/client/ios/Runner/Base.lproj/Main.storyboard deleted file mode 100644 index f3c28516..00000000 --- a/apps/apps/client/ios/Runner/Base.lproj/Main.storyboard +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/client/ios/Runner/Info.plist b/apps/apps/client/ios/Runner/Info.plist deleted file mode 100644 index e7dfbac0..00000000 --- a/apps/apps/client/ios/Runner/Info.plist +++ /dev/null @@ -1,49 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - krowwithus_client - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - krowwithus_client - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleSignature - ???? - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - CADisableMinimumFrameDurationOnPhone - - UIApplicationSupportsIndirectInputEvents - - - diff --git a/apps/apps/client/ios/Runner/Runner-Bridging-Header.h b/apps/apps/client/ios/Runner/Runner-Bridging-Header.h deleted file mode 100644 index 308a2a56..00000000 --- a/apps/apps/client/ios/Runner/Runner-Bridging-Header.h +++ /dev/null @@ -1 +0,0 @@ -#import "GeneratedPluginRegistrant.h" diff --git a/apps/apps/client/ios/RunnerTests/RunnerTests.swift b/apps/apps/client/ios/RunnerTests/RunnerTests.swift deleted file mode 100644 index 86a7c3b1..00000000 --- a/apps/apps/client/ios/RunnerTests/RunnerTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -import Flutter -import UIKit -import XCTest - -class RunnerTests: XCTestCase { - - func testExample() { - // If you add code to the Runner application, consider adding tests here. - // See https://developer.apple.com/documentation/xctest for more information about using XCTest. - } - -} diff --git a/apps/apps/client/lib/main.dart b/apps/apps/client/lib/main.dart deleted file mode 100644 index 5f323380..00000000 --- a/apps/apps/client/lib/main.dart +++ /dev/null @@ -1,67 +0,0 @@ -import 'package:core_localization/core_localization.dart' as core_localization; -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_modular/flutter_modular.dart'; -import 'package:client_authentication/client_authentication.dart' - as client_authentication; -import 'package:client_home/client_home.dart' as client_home; -import 'package:firebase_core/firebase_core.dart'; - -void main() async { - WidgetsFlutterBinding.ensureInitialized(); - await Firebase.initializeApp(); - runApp(ModularApp(module: AppModule(), child: const AppWidget())); -} - -/// The main application module for the Client app. -class AppModule extends Module { - @override - List get imports => [core_localization.LocalizationModule()]; - - @override - void routes(r) { - // Initial route points to the client authentication flow - r.module('/', module: client_authentication.ClientAuthenticationModule()); - - // Client home route - r.module('/client-home', module: client_home.ClientHomeModule()); - } -} - -class AppWidget extends StatelessWidget { - const AppWidget({super.key}); - - @override - Widget build(BuildContext context) { - return BlocProvider( - create: (context) => - Modular.get() - ..add(const core_localization.LoadLocale()), - child: - BlocBuilder< - core_localization.LocaleBloc, - core_localization.LocaleState - >( - builder: (context, state) { - return core_localization.TranslationProvider( - child: MaterialApp.router( - debugShowCheckedModeBanner: false, - title: "Krow Client", - theme: UiTheme.light, - routerConfig: Modular.routerConfig, - locale: state.locale, - supportedLocales: state.supportedLocales, - localizationsDelegates: const [ - GlobalMaterialLocalizations.delegate, - GlobalWidgetsLocalizations.delegate, - GlobalCupertinoLocalizations.delegate, - ], - ), - ); - }, - ), - ); - } -} diff --git a/apps/apps/client/linux/.gitignore b/apps/apps/client/linux/.gitignore deleted file mode 100644 index d3896c98..00000000 --- a/apps/apps/client/linux/.gitignore +++ /dev/null @@ -1 +0,0 @@ -flutter/ephemeral diff --git a/apps/apps/client/linux/CMakeLists.txt b/apps/apps/client/linux/CMakeLists.txt deleted file mode 100644 index 6f1df0fe..00000000 --- a/apps/apps/client/linux/CMakeLists.txt +++ /dev/null @@ -1,128 +0,0 @@ -# Project-level configuration. -cmake_minimum_required(VERSION 3.13) -project(runner LANGUAGES CXX) - -# The name of the executable created for the application. Change this to change -# the on-disk name of your application. -set(BINARY_NAME "krow_client") -# The unique GTK application identifier for this application. See: -# https://wiki.gnome.org/HowDoI/ChooseApplicationID -set(APPLICATION_ID "com.example.krow_client") - -# Explicitly opt in to modern CMake behaviors to avoid warnings with recent -# versions of CMake. -cmake_policy(SET CMP0063 NEW) - -# Load bundled libraries from the lib/ directory relative to the binary. -set(CMAKE_INSTALL_RPATH "$ORIGIN/lib") - -# Root filesystem for cross-building. -if(FLUTTER_TARGET_PLATFORM_SYSROOT) - set(CMAKE_SYSROOT ${FLUTTER_TARGET_PLATFORM_SYSROOT}) - set(CMAKE_FIND_ROOT_PATH ${CMAKE_SYSROOT}) - set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) - set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) - set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) - set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) -endif() - -# Define build configuration options. -if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) - set(CMAKE_BUILD_TYPE "Debug" CACHE - STRING "Flutter build mode" FORCE) - set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS - "Debug" "Profile" "Release") -endif() - -# Compilation settings that should be applied to most targets. -# -# Be cautious about adding new options here, as plugins use this function by -# default. In most cases, you should add new options to specific targets instead -# of modifying this function. -function(APPLY_STANDARD_SETTINGS TARGET) - target_compile_features(${TARGET} PUBLIC cxx_std_14) - target_compile_options(${TARGET} PRIVATE -Wall -Werror) - target_compile_options(${TARGET} PRIVATE "$<$>:-O3>") - target_compile_definitions(${TARGET} PRIVATE "$<$>:NDEBUG>") -endfunction() - -# Flutter library and tool build rules. -set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter") -add_subdirectory(${FLUTTER_MANAGED_DIR}) - -# System-level dependencies. -find_package(PkgConfig REQUIRED) -pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0) - -# Application build; see runner/CMakeLists.txt. -add_subdirectory("runner") - -# Run the Flutter tool portions of the build. This must not be removed. -add_dependencies(${BINARY_NAME} flutter_assemble) - -# Only the install-generated bundle's copy of the executable will launch -# correctly, since the resources must in the right relative locations. To avoid -# people trying to run the unbundled copy, put it in a subdirectory instead of -# the default top-level location. -set_target_properties(${BINARY_NAME} - PROPERTIES - RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/intermediates_do_not_run" -) - - -# Generated plugin build rules, which manage building the plugins and adding -# them to the application. -include(flutter/generated_plugins.cmake) - - -# === Installation === -# By default, "installing" just makes a relocatable bundle in the build -# directory. -set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle") -if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) - set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE) -endif() - -# Start with a clean build bundle directory every time. -install(CODE " - file(REMOVE_RECURSE \"${BUILD_BUNDLE_DIR}/\") - " COMPONENT Runtime) - -set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data") -set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib") - -install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES}) - install(FILES "${bundled_library}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) -endforeach(bundled_library) - -# Copy the native assets provided by the build.dart from all packages. -set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/linux/") -install(DIRECTORY "${NATIVE_ASSETS_DIR}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -# Fully re-copy the assets directory on each build to avoid having stale files -# from a previous install. -set(FLUTTER_ASSET_DIR_NAME "flutter_assets") -install(CODE " - file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\") - " COMPONENT Runtime) -install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}" - DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime) - -# Install the AOT library on non-Debug builds only. -if(NOT CMAKE_BUILD_TYPE MATCHES "Debug") - install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) -endif() diff --git a/apps/apps/client/linux/flutter/CMakeLists.txt b/apps/apps/client/linux/flutter/CMakeLists.txt deleted file mode 100644 index d5bd0164..00000000 --- a/apps/apps/client/linux/flutter/CMakeLists.txt +++ /dev/null @@ -1,88 +0,0 @@ -# This file controls Flutter-level build steps. It should not be edited. -cmake_minimum_required(VERSION 3.10) - -set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral") - -# Configuration provided via flutter tool. -include(${EPHEMERAL_DIR}/generated_config.cmake) - -# TODO: Move the rest of this into files in ephemeral. See -# https://github.com/flutter/flutter/issues/57146. - -# Serves the same purpose as list(TRANSFORM ... PREPEND ...), -# which isn't available in 3.10. -function(list_prepend LIST_NAME PREFIX) - set(NEW_LIST "") - foreach(element ${${LIST_NAME}}) - list(APPEND NEW_LIST "${PREFIX}${element}") - endforeach(element) - set(${LIST_NAME} "${NEW_LIST}" PARENT_SCOPE) -endfunction() - -# === Flutter Library === -# System-level dependencies. -find_package(PkgConfig REQUIRED) -pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0) -pkg_check_modules(GLIB REQUIRED IMPORTED_TARGET glib-2.0) -pkg_check_modules(GIO REQUIRED IMPORTED_TARGET gio-2.0) - -set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/libflutter_linux_gtk.so") - -# Published to parent scope for install step. -set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE) -set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE) -set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE) -set(AOT_LIBRARY "${PROJECT_DIR}/build/lib/libapp.so" PARENT_SCOPE) - -list(APPEND FLUTTER_LIBRARY_HEADERS - "fl_basic_message_channel.h" - "fl_binary_codec.h" - "fl_binary_messenger.h" - "fl_dart_project.h" - "fl_engine.h" - "fl_json_message_codec.h" - "fl_json_method_codec.h" - "fl_message_codec.h" - "fl_method_call.h" - "fl_method_channel.h" - "fl_method_codec.h" - "fl_method_response.h" - "fl_plugin_registrar.h" - "fl_plugin_registry.h" - "fl_standard_message_codec.h" - "fl_standard_method_codec.h" - "fl_string_codec.h" - "fl_value.h" - "fl_view.h" - "flutter_linux.h" -) -list_prepend(FLUTTER_LIBRARY_HEADERS "${EPHEMERAL_DIR}/flutter_linux/") -add_library(flutter INTERFACE) -target_include_directories(flutter INTERFACE - "${EPHEMERAL_DIR}" -) -target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}") -target_link_libraries(flutter INTERFACE - PkgConfig::GTK - PkgConfig::GLIB - PkgConfig::GIO -) -add_dependencies(flutter flutter_assemble) - -# === Flutter tool backend === -# _phony_ is a non-existent file to force this command to run every time, -# since currently there's no way to get a full input/output list from the -# flutter tool. -add_custom_command( - OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS} - ${CMAKE_CURRENT_BINARY_DIR}/_phony_ - COMMAND ${CMAKE_COMMAND} -E env - ${FLUTTER_TOOL_ENVIRONMENT} - "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.sh" - ${FLUTTER_TARGET_PLATFORM} ${CMAKE_BUILD_TYPE} - VERBATIM -) -add_custom_target(flutter_assemble DEPENDS - "${FLUTTER_LIBRARY}" - ${FLUTTER_LIBRARY_HEADERS} -) diff --git a/apps/apps/client/linux/flutter/generated_plugin_registrant.cc b/apps/apps/client/linux/flutter/generated_plugin_registrant.cc deleted file mode 100644 index e71a16d2..00000000 --- a/apps/apps/client/linux/flutter/generated_plugin_registrant.cc +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#include "generated_plugin_registrant.h" - - -void fl_register_plugins(FlPluginRegistry* registry) { -} diff --git a/apps/apps/client/linux/flutter/generated_plugin_registrant.h b/apps/apps/client/linux/flutter/generated_plugin_registrant.h deleted file mode 100644 index e0f0a47b..00000000 --- a/apps/apps/client/linux/flutter/generated_plugin_registrant.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#ifndef GENERATED_PLUGIN_REGISTRANT_ -#define GENERATED_PLUGIN_REGISTRANT_ - -#include - -// Registers Flutter plugins. -void fl_register_plugins(FlPluginRegistry* registry); - -#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/apps/apps/client/linux/flutter/generated_plugins.cmake b/apps/apps/client/linux/flutter/generated_plugins.cmake deleted file mode 100644 index 2e1de87a..00000000 --- a/apps/apps/client/linux/flutter/generated_plugins.cmake +++ /dev/null @@ -1,23 +0,0 @@ -# -# Generated file, do not edit. -# - -list(APPEND FLUTTER_PLUGIN_LIST -) - -list(APPEND FLUTTER_FFI_PLUGIN_LIST -) - -set(PLUGIN_BUNDLED_LIBRARIES) - -foreach(plugin ${FLUTTER_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin}) - target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) - list(APPEND PLUGIN_BUNDLED_LIBRARIES $) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) -endforeach(plugin) - -foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin}) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) -endforeach(ffi_plugin) diff --git a/apps/apps/client/linux/runner/CMakeLists.txt b/apps/apps/client/linux/runner/CMakeLists.txt deleted file mode 100644 index e97dabc7..00000000 --- a/apps/apps/client/linux/runner/CMakeLists.txt +++ /dev/null @@ -1,26 +0,0 @@ -cmake_minimum_required(VERSION 3.13) -project(runner LANGUAGES CXX) - -# Define the application target. To change its name, change BINARY_NAME in the -# top-level CMakeLists.txt, not the value here, or `flutter run` will no longer -# work. -# -# Any new source files that you add to the application should be added here. -add_executable(${BINARY_NAME} - "main.cc" - "my_application.cc" - "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" -) - -# Apply the standard set of build settings. This can be removed for applications -# that need different build settings. -apply_standard_settings(${BINARY_NAME}) - -# Add preprocessor definitions for the application ID. -add_definitions(-DAPPLICATION_ID="${APPLICATION_ID}") - -# Add dependency libraries. Add any application-specific dependencies here. -target_link_libraries(${BINARY_NAME} PRIVATE flutter) -target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK) - -target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}") diff --git a/apps/apps/client/linux/runner/main.cc b/apps/apps/client/linux/runner/main.cc deleted file mode 100644 index e7c5c543..00000000 --- a/apps/apps/client/linux/runner/main.cc +++ /dev/null @@ -1,6 +0,0 @@ -#include "my_application.h" - -int main(int argc, char** argv) { - g_autoptr(MyApplication) app = my_application_new(); - return g_application_run(G_APPLICATION(app), argc, argv); -} diff --git a/apps/apps/client/linux/runner/my_application.cc b/apps/apps/client/linux/runner/my_application.cc deleted file mode 100644 index d5fe45fd..00000000 --- a/apps/apps/client/linux/runner/my_application.cc +++ /dev/null @@ -1,148 +0,0 @@ -#include "my_application.h" - -#include -#ifdef GDK_WINDOWING_X11 -#include -#endif - -#include "flutter/generated_plugin_registrant.h" - -struct _MyApplication { - GtkApplication parent_instance; - char** dart_entrypoint_arguments; -}; - -G_DEFINE_TYPE(MyApplication, my_application, GTK_TYPE_APPLICATION) - -// Called when first Flutter frame received. -static void first_frame_cb(MyApplication* self, FlView* view) { - gtk_widget_show(gtk_widget_get_toplevel(GTK_WIDGET(view))); -} - -// Implements GApplication::activate. -static void my_application_activate(GApplication* application) { - MyApplication* self = MY_APPLICATION(application); - GtkWindow* window = - GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application))); - - // Use a header bar when running in GNOME as this is the common style used - // by applications and is the setup most users will be using (e.g. Ubuntu - // desktop). - // If running on X and not using GNOME then just use a traditional title bar - // in case the window manager does more exotic layout, e.g. tiling. - // If running on Wayland assume the header bar will work (may need changing - // if future cases occur). - gboolean use_header_bar = TRUE; -#ifdef GDK_WINDOWING_X11 - GdkScreen* screen = gtk_window_get_screen(window); - if (GDK_IS_X11_SCREEN(screen)) { - const gchar* wm_name = gdk_x11_screen_get_window_manager_name(screen); - if (g_strcmp0(wm_name, "GNOME Shell") != 0) { - use_header_bar = FALSE; - } - } -#endif - if (use_header_bar) { - GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new()); - gtk_widget_show(GTK_WIDGET(header_bar)); - gtk_header_bar_set_title(header_bar, "krow_client"); - gtk_header_bar_set_show_close_button(header_bar, TRUE); - gtk_window_set_titlebar(window, GTK_WIDGET(header_bar)); - } else { - gtk_window_set_title(window, "krow_client"); - } - - gtk_window_set_default_size(window, 1280, 720); - - g_autoptr(FlDartProject) project = fl_dart_project_new(); - fl_dart_project_set_dart_entrypoint_arguments( - project, self->dart_entrypoint_arguments); - - FlView* view = fl_view_new(project); - GdkRGBA background_color; - // Background defaults to black, override it here if necessary, e.g. #00000000 - // for transparent. - gdk_rgba_parse(&background_color, "#000000"); - fl_view_set_background_color(view, &background_color); - gtk_widget_show(GTK_WIDGET(view)); - gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view)); - - // Show the window when Flutter renders. - // Requires the view to be realized so we can start rendering. - g_signal_connect_swapped(view, "first-frame", G_CALLBACK(first_frame_cb), - self); - gtk_widget_realize(GTK_WIDGET(view)); - - fl_register_plugins(FL_PLUGIN_REGISTRY(view)); - - gtk_widget_grab_focus(GTK_WIDGET(view)); -} - -// Implements GApplication::local_command_line. -static gboolean my_application_local_command_line(GApplication* application, - gchar*** arguments, - int* exit_status) { - MyApplication* self = MY_APPLICATION(application); - // Strip out the first argument as it is the binary name. - self->dart_entrypoint_arguments = g_strdupv(*arguments + 1); - - g_autoptr(GError) error = nullptr; - if (!g_application_register(application, nullptr, &error)) { - g_warning("Failed to register: %s", error->message); - *exit_status = 1; - return TRUE; - } - - g_application_activate(application); - *exit_status = 0; - - return TRUE; -} - -// Implements GApplication::startup. -static void my_application_startup(GApplication* application) { - // MyApplication* self = MY_APPLICATION(object); - - // Perform any actions required at application startup. - - G_APPLICATION_CLASS(my_application_parent_class)->startup(application); -} - -// Implements GApplication::shutdown. -static void my_application_shutdown(GApplication* application) { - // MyApplication* self = MY_APPLICATION(object); - - // Perform any actions required at application shutdown. - - G_APPLICATION_CLASS(my_application_parent_class)->shutdown(application); -} - -// Implements GObject::dispose. -static void my_application_dispose(GObject* object) { - MyApplication* self = MY_APPLICATION(object); - g_clear_pointer(&self->dart_entrypoint_arguments, g_strfreev); - G_OBJECT_CLASS(my_application_parent_class)->dispose(object); -} - -static void my_application_class_init(MyApplicationClass* klass) { - G_APPLICATION_CLASS(klass)->activate = my_application_activate; - G_APPLICATION_CLASS(klass)->local_command_line = - my_application_local_command_line; - G_APPLICATION_CLASS(klass)->startup = my_application_startup; - G_APPLICATION_CLASS(klass)->shutdown = my_application_shutdown; - G_OBJECT_CLASS(klass)->dispose = my_application_dispose; -} - -static void my_application_init(MyApplication* self) {} - -MyApplication* my_application_new() { - // Set the program name to the application ID, which helps various systems - // like GTK and desktop environments map this running application to its - // corresponding .desktop file. This ensures better integration by allowing - // the application to be recognized beyond its binary name. - g_set_prgname(APPLICATION_ID); - - return MY_APPLICATION(g_object_new(my_application_get_type(), - "application-id", APPLICATION_ID, "flags", - G_APPLICATION_NON_UNIQUE, nullptr)); -} diff --git a/apps/apps/client/linux/runner/my_application.h b/apps/apps/client/linux/runner/my_application.h deleted file mode 100644 index db16367a..00000000 --- a/apps/apps/client/linux/runner/my_application.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef FLUTTER_MY_APPLICATION_H_ -#define FLUTTER_MY_APPLICATION_H_ - -#include - -G_DECLARE_FINAL_TYPE(MyApplication, - my_application, - MY, - APPLICATION, - GtkApplication) - -/** - * my_application_new: - * - * Creates a new Flutter-based application. - * - * Returns: a new #MyApplication. - */ -MyApplication* my_application_new(); - -#endif // FLUTTER_MY_APPLICATION_H_ diff --git a/apps/apps/client/macos/.gitignore b/apps/apps/client/macos/.gitignore deleted file mode 100644 index 746adbb6..00000000 --- a/apps/apps/client/macos/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -# Flutter-related -**/Flutter/ephemeral/ -**/Pods/ - -# Xcode-related -**/dgph -**/xcuserdata/ diff --git a/apps/apps/client/macos/Flutter/Flutter-Debug.xcconfig b/apps/apps/client/macos/Flutter/Flutter-Debug.xcconfig deleted file mode 100644 index 4b81f9b2..00000000 --- a/apps/apps/client/macos/Flutter/Flutter-Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" -#include "ephemeral/Flutter-Generated.xcconfig" diff --git a/apps/apps/client/macos/Flutter/Flutter-Release.xcconfig b/apps/apps/client/macos/Flutter/Flutter-Release.xcconfig deleted file mode 100644 index 5caa9d15..00000000 --- a/apps/apps/client/macos/Flutter/Flutter-Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" -#include "ephemeral/Flutter-Generated.xcconfig" diff --git a/apps/apps/client/macos/Flutter/GeneratedPluginRegistrant.swift b/apps/apps/client/macos/Flutter/GeneratedPluginRegistrant.swift deleted file mode 100644 index 8bd29968..00000000 --- a/apps/apps/client/macos/Flutter/GeneratedPluginRegistrant.swift +++ /dev/null @@ -1,18 +0,0 @@ -// -// Generated file. Do not edit. -// - -import FlutterMacOS -import Foundation - -import firebase_app_check -import firebase_auth -import firebase_core -import shared_preferences_foundation - -func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { - FLTFirebaseAppCheckPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseAppCheckPlugin")) - FLTFirebaseAuthPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseAuthPlugin")) - FLTFirebaseCorePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCorePlugin")) - SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) -} diff --git a/apps/apps/client/macos/Podfile b/apps/apps/client/macos/Podfile deleted file mode 100644 index ff5ddb3b..00000000 --- a/apps/apps/client/macos/Podfile +++ /dev/null @@ -1,42 +0,0 @@ -platform :osx, '10.15' - -# CocoaPods analytics sends network stats synchronously affecting flutter build latency. -ENV['COCOAPODS_DISABLE_STATS'] = 'true' - -project 'Runner', { - 'Debug' => :debug, - 'Profile' => :release, - 'Release' => :release, -} - -def flutter_root - generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__) - unless File.exist?(generated_xcode_build_settings_path) - raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first" - end - - File.foreach(generated_xcode_build_settings_path) do |line| - matches = line.match(/FLUTTER_ROOT\=(.*)/) - return matches[1].strip if matches - end - raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\"" -end - -require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) - -flutter_macos_podfile_setup - -target 'Runner' do - use_frameworks! - - flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) - target 'RunnerTests' do - inherit! :search_paths - end -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - flutter_additional_macos_build_settings(target) - end -end diff --git a/apps/apps/client/macos/Runner.xcodeproj/project.pbxproj b/apps/apps/client/macos/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index 613f0631..00000000 --- a/apps/apps/client/macos/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,705 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 54; - objects = { - -/* Begin PBXAggregateTarget section */ - 33CC111A2044C6BA0003C045 /* Flutter Assemble */ = { - isa = PBXAggregateTarget; - buildConfigurationList = 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */; - buildPhases = ( - 33CC111E2044C6BF0003C045 /* ShellScript */, - ); - dependencies = ( - ); - name = "Flutter Assemble"; - productName = FLX; - }; -/* End PBXAggregateTarget section */ - -/* Begin PBXBuildFile section */ - 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C80D7294CF71000263BE5 /* RunnerTests.swift */; }; - 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; }; - 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; }; - 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; }; - 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; }; - 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 33CC10E52044A3C60003C045 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 33CC10EC2044A3C60003C045; - remoteInfo = Runner; - }; - 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 33CC10E52044A3C60003C045 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 33CC111A2044C6BA0003C045; - remoteInfo = FLX; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 33CC110E2044A8840003C045 /* Bundle Framework */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Bundle Framework"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 331C80D5294CF71000263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; - 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; }; - 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; }; - 33CC10ED2044A3C60003C045 /* krow_client.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "krow_client.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; }; - 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; - 33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = ""; }; - 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = ""; }; - 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = ""; }; - 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = ""; }; - 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = ""; }; - 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = ""; }; - 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = ""; }; - 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 331C80D2294CF70F00263BE5 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 33CC10EA2044A3C60003C045 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 331C80D6294CF71000263BE5 /* RunnerTests */ = { - isa = PBXGroup; - children = ( - 331C80D7294CF71000263BE5 /* RunnerTests.swift */, - ); - path = RunnerTests; - sourceTree = ""; - }; - 33BA886A226E78AF003329D5 /* Configs */ = { - isa = PBXGroup; - children = ( - 33E5194F232828860026EE4D /* AppInfo.xcconfig */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 333000ED22D3DE5D00554162 /* Warnings.xcconfig */, - ); - path = Configs; - sourceTree = ""; - }; - 33CC10E42044A3C60003C045 = { - isa = PBXGroup; - children = ( - 33FAB671232836740065AC1E /* Runner */, - 33CEB47122A05771004F2AC0 /* Flutter */, - 331C80D6294CF71000263BE5 /* RunnerTests */, - 33CC10EE2044A3C60003C045 /* Products */, - D73912EC22F37F3D000D13A0 /* Frameworks */, - ); - sourceTree = ""; - }; - 33CC10EE2044A3C60003C045 /* Products */ = { - isa = PBXGroup; - children = ( - 33CC10ED2044A3C60003C045 /* krow_client.app */, - 331C80D5294CF71000263BE5 /* RunnerTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 33CC11242044D66E0003C045 /* Resources */ = { - isa = PBXGroup; - children = ( - 33CC10F22044A3C60003C045 /* Assets.xcassets */, - 33CC10F42044A3C60003C045 /* MainMenu.xib */, - 33CC10F72044A3C60003C045 /* Info.plist */, - ); - name = Resources; - path = ..; - sourceTree = ""; - }; - 33CEB47122A05771004F2AC0 /* Flutter */ = { - isa = PBXGroup; - children = ( - 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */, - 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */, - 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */, - 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */, - ); - path = Flutter; - sourceTree = ""; - }; - 33FAB671232836740065AC1E /* Runner */ = { - isa = PBXGroup; - children = ( - 33CC10F02044A3C60003C045 /* AppDelegate.swift */, - 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */, - 33E51913231747F40026EE4D /* DebugProfile.entitlements */, - 33E51914231749380026EE4D /* Release.entitlements */, - 33CC11242044D66E0003C045 /* Resources */, - 33BA886A226E78AF003329D5 /* Configs */, - ); - path = Runner; - sourceTree = ""; - }; - D73912EC22F37F3D000D13A0 /* Frameworks */ = { - isa = PBXGroup; - children = ( - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 331C80D4294CF70F00263BE5 /* RunnerTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; - buildPhases = ( - 331C80D1294CF70F00263BE5 /* Sources */, - 331C80D2294CF70F00263BE5 /* Frameworks */, - 331C80D3294CF70F00263BE5 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 331C80DA294CF71000263BE5 /* PBXTargetDependency */, - ); - name = RunnerTests; - productName = RunnerTests; - productReference = 331C80D5294CF71000263BE5 /* RunnerTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 33CC10EC2044A3C60003C045 /* Runner */ = { - isa = PBXNativeTarget; - buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */; - buildPhases = ( - 33CC10E92044A3C60003C045 /* Sources */, - 33CC10EA2044A3C60003C045 /* Frameworks */, - 33CC10EB2044A3C60003C045 /* Resources */, - 33CC110E2044A8840003C045 /* Bundle Framework */, - 3399D490228B24CF009A79C7 /* ShellScript */, - ); - buildRules = ( - ); - dependencies = ( - 33CC11202044C79F0003C045 /* PBXTargetDependency */, - ); - name = Runner; - productName = Runner; - productReference = 33CC10ED2044A3C60003C045 /* krow_client.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 33CC10E52044A3C60003C045 /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = YES; - LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 1510; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 331C80D4294CF70F00263BE5 = { - CreatedOnToolsVersion = 14.0; - TestTargetID = 33CC10EC2044A3C60003C045; - }; - 33CC10EC2044A3C60003C045 = { - CreatedOnToolsVersion = 9.2; - LastSwiftMigration = 1100; - ProvisioningStyle = Automatic; - SystemCapabilities = { - com.apple.Sandbox = { - enabled = 1; - }; - }; - }; - 33CC111A2044C6BA0003C045 = { - CreatedOnToolsVersion = 9.2; - ProvisioningStyle = Manual; - }; - }; - }; - buildConfigurationList = 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 33CC10E42044A3C60003C045; - productRefGroup = 33CC10EE2044A3C60003C045 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 33CC10EC2044A3C60003C045 /* Runner */, - 331C80D4294CF70F00263BE5 /* RunnerTests */, - 33CC111A2044C6BA0003C045 /* Flutter Assemble */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 331C80D3294CF70F00263BE5 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 33CC10EB2044A3C60003C045 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */, - 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 3399D490228B24CF009A79C7 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - ); - outputFileListPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n"; - }; - 33CC111E2044C6BF0003C045 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - Flutter/ephemeral/FlutterInputs.xcfilelist, - ); - inputPaths = ( - Flutter/ephemeral/tripwire, - ); - outputFileListPaths = ( - Flutter/ephemeral/FlutterOutputs.xcfilelist, - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 331C80D1294CF70F00263BE5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 33CC10E92044A3C60003C045 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */, - 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */, - 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 331C80DA294CF71000263BE5 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 33CC10EC2044A3C60003C045 /* Runner */; - targetProxy = 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */; - }; - 33CC11202044C79F0003C045 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */; - targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 33CC10F42044A3C60003C045 /* MainMenu.xib */ = { - isa = PBXVariantGroup; - children = ( - 33CC10F52044A3C60003C045 /* Base */, - ); - name = MainMenu.xib; - path = Runner; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 331C80DB294CF71000263BE5 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.krowClient.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/krow_client.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/krow_client"; - }; - name = Debug; - }; - 331C80DC294CF71000263BE5 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.krowClient.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/krow_client.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/krow_client"; - }; - name = Release; - }; - 331C80DD294CF71000263BE5 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.krowClient.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/krow_client.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/krow_client"; - }; - name = Profile; - }; - 338D0CE9231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEAD_CODE_STRIPPING = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - }; - name = Profile; - }; - 338D0CEA231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 5.0; - }; - name = Profile; - }; - 338D0CEB231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Manual; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Profile; - }; - 33CC10F92044A3C60003C045 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEAD_CODE_STRIPPING = YES; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 33CC10FA2044A3C60003C045 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEAD_CODE_STRIPPING = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - }; - name = Release; - }; - 33CC10FC2044A3C60003C045 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - 33CC10FD2044A3C60003C045 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - 33CC111C2044C6BA0003C045 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Manual; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - 33CC111D2044C6BA0003C045 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 331C80DB294CF71000263BE5 /* Debug */, - 331C80DC294CF71000263BE5 /* Release */, - 331C80DD294CF71000263BE5 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC10F92044A3C60003C045 /* Debug */, - 33CC10FA2044A3C60003C045 /* Release */, - 338D0CE9231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC10FC2044A3C60003C045 /* Debug */, - 33CC10FD2044A3C60003C045 /* Release */, - 338D0CEA231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC111C2044C6BA0003C045 /* Debug */, - 33CC111D2044C6BA0003C045 /* Release */, - 338D0CEB231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 33CC10E52044A3C60003C045 /* Project object */; -} diff --git a/apps/apps/client/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/apps/apps/client/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d98100..00000000 --- a/apps/apps/client/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/apps/apps/client/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/apps/apps/client/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme deleted file mode 100644 index 0e92a56b..00000000 --- a/apps/apps/client/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/client/macos/Runner.xcworkspace/contents.xcworkspacedata b/apps/apps/client/macos/Runner.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 1d526a16..00000000 --- a/apps/apps/client/macos/Runner.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/apps/apps/client/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/apps/apps/client/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d98100..00000000 --- a/apps/apps/client/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/apps/apps/client/macos/Runner/AppDelegate.swift b/apps/apps/client/macos/Runner/AppDelegate.swift deleted file mode 100644 index b3c17614..00000000 --- a/apps/apps/client/macos/Runner/AppDelegate.swift +++ /dev/null @@ -1,13 +0,0 @@ -import Cocoa -import FlutterMacOS - -@main -class AppDelegate: FlutterAppDelegate { - override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { - return true - } - - override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool { - return true - } -} diff --git a/apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index a2ec33f1..00000000 --- a/apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "images" : [ - { - "size" : "16x16", - "idiom" : "mac", - "filename" : "app_icon_16.png", - "scale" : "1x" - }, - { - "size" : "16x16", - "idiom" : "mac", - "filename" : "app_icon_32.png", - "scale" : "2x" - }, - { - "size" : "32x32", - "idiom" : "mac", - "filename" : "app_icon_32.png", - "scale" : "1x" - }, - { - "size" : "32x32", - "idiom" : "mac", - "filename" : "app_icon_64.png", - "scale" : "2x" - }, - { - "size" : "128x128", - "idiom" : "mac", - "filename" : "app_icon_128.png", - "scale" : "1x" - }, - { - "size" : "128x128", - "idiom" : "mac", - "filename" : "app_icon_256.png", - "scale" : "2x" - }, - { - "size" : "256x256", - "idiom" : "mac", - "filename" : "app_icon_256.png", - "scale" : "1x" - }, - { - "size" : "256x256", - "idiom" : "mac", - "filename" : "app_icon_512.png", - "scale" : "2x" - }, - { - "size" : "512x512", - "idiom" : "mac", - "filename" : "app_icon_512.png", - "scale" : "1x" - }, - { - "size" : "512x512", - "idiom" : "mac", - "filename" : "app_icon_1024.png", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png deleted file mode 100644 index 82b6f9d9a33e198f5747104729e1fcef999772a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 102994 zcmeEugo5nb1G~3xi~y`}h6XHx5j$(L*3|5S2UfkG$|UCNI>}4f?MfqZ+HW-sRW5RKHEm z^unW*Xx{AH_X3Xdvb%C(Bh6POqg==@d9j=5*}oEny_IS;M3==J`P0R!eD6s~N<36C z*%-OGYqd0AdWClO!Z!}Y1@@RkfeiQ$Ib_ z&fk%T;K9h`{`cX3Hu#?({4WgtmkR!u3ICS~|NqH^fdNz>51-9)OF{|bRLy*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(u zh1Abu(oCSmgqQ2IrE;Zz2f2DAD%T4XO6tU&)2IB}vV3{^xpz1MYFEPy_09RP2QvmA zIqw<(UaCnCs!mFX$+3sjnV*(O5)y`jW!*wzF-l^K`Bxgap+0Ej z@c^nf{Ic`6I5#9bcE7fwiiP8JZ9dr3FsD~SBiW_`8{UgFt*{$@qj#E)90JYra>Zs3 z$sCTuzOye2GdTO;4@;wgJK@!ij-|c--insluCR}{#q=D6Xz#nL6;`rkc*UzLTR%Y{ zN2YK;Zcz4YY=+|(0_?E=#~3U@I1fIyRiBF zIeWj=id+b|L;kSMs>NMfeB^(={IdrC;NYJy_$L+olL`OdOqgH0OpSa?FTRhwb<|%A Pe7HEdAEg|=c=LY&YVNkY diff --git a/apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png deleted file mode 100644 index 13b35eba55c6dabc3aac36f33d859266c18fa0d0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5680 zcmaiYXH?Tqu=Xz`p-L#B_gI#0we$cm_HcmYFP$?wjD#BaCN4mzC5#`>w9y6=ThxrYZc0WPXprg zYjB`UsV}0=eUtY$(P6YW}npdd;%9pi?zS3k-nqCob zSX_AQEf|=wYT3r?f!*Yt)ar^;l3Sro{z(7deUBPd2~(SzZ-s@0r&~Km2S?8r##9-< z)2UOSVaHqq6}%sA9Ww;V2LG=PnNAh6mA2iWOuV7T_lRDR z&N8-eN=U)-T|;wo^Wv=34wtV0g}sAAe}`Ph@~!|<;z7*K8(qkX0}o=!(+N*UWrkEja*$_H6mhK1u{P!AC39} z|3+Z(mAOq#XRYS)TLoHv<)d%$$I@+x+2)V{@o~~J-!YUI-Q9%!Ldi4Op&Lw&B>jj* zwAgC#Y>gbIqv!d|J5f!$dbCXoq(l3GR(S>(rtZ~Z*agXMMKN!@mWT_vmCbSd3dUUm z4M&+gz?@^#RRGal%G3dDvj7C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(Jj|@j`$xoPQ=Cl diff --git a/apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png deleted file mode 100644 index 0a3f5fa40fb3d1e0710331a48de5d256da3f275d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 520 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uuz(rC1}QWNE&K#jR^;j87-Auq zoUlN^K{r-Q+XN;zI ze|?*NFmgt#V#GwrSWaz^2G&@SBmck6ZcIFMww~vE<1E?M2#KUn1CzsB6D2+0SuRV@ zV2kK5HvIGB{HX-hQzs0*AB%5$9RJ@a;)Ahq#p$GSP91^&hi#6sg*;a~dt}4AclK>h z_3MoPRQ{i;==;*1S-mY<(JFzhAxMI&<61&m$J0NDHdJ3tYx~j0%M-uN6Zl8~_0DOkGXc0001@sz3l12C6Xg{AT~( zm6w64BA|AX`Ve)YY-glyudNN>MAfkXz-T7`_`fEolM;0T0BA)(02-OaW z0*cW7Z~ec94o8&g0D$N>b!COu{=m}^%oXZ4?T8ZyPZuGGBPBA7pbQMoV5HYhiT?%! zcae~`(QAN4&}-=#2f5fkn!SWGWmSeCISBcS=1-U|MEoKq=k?_x3apK>9((R zuu$9X?^8?@(a{qMS%J8SJPq))v}Q-ZyDm6Gbie0m92=`YlwnQPQP1kGSm(N2UJ3P6 z^{p-u)SSCTW~c1rw;cM)-uL2{->wCn2{#%;AtCQ!m%AakVs1K#v@(*-6QavyY&v&*wO_rCJXJuq$c$7ZjsW+pJo-$L^@!7X04CvaOpPyfw|FKvu;e(&Iw>Tbg zL}#8e^?X%TReXTt>gsBByt0kSU20oQx*~P=4`&tcZ7N6t-6LiK{LxX*p6}9c<0Pu^ zLx1w_P4P2V>bX=`F%v$#{sUDdF|;rbI{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NMJt>1ST)tyX)h@?`DxhbgCHr>S4wv}WC&Nw-!{+Z7$2D}74QAcXTvip=M0%Tp_N zor=k`)t|ra^ySr-+(|R9mB(E=`MX#y(wSw)$!iymzB;^c*>%&^*7HxTnRga=soSZT zdDl+9s;r!v8hk6POtzBaig4pRp7eWF(<8gufvNHPu6xs-=e{;mnHzJyGKE+8L0j}; z@%8-e^UCL5HhMiR>sD3Rve&yVZ#{Q1*CO8c+qSr^Z#CN;)(X5>tGG5yUw3<+CfhaL z%bP;hZ?jvgJU67BWyiy74_)6r)_nSxttxn0`0?HE^5(uydHVgP+HE$V?Lv)Leti43 zWA|;f-RqX``95>)^P-fw!Vi{3KNsII-*5f){gdxqd%gVdB1sOBNe=nEW%;i~g_P8J w!5uhoe-Jcg1nPN%MiEAtgE$;km@@t6ukO)1^!cY^83Pb_y85}Sb4q9e0FIsP9{>OV diff --git a/apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/apps/apps/client/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png deleted file mode 100644 index 2f1632cfddf3d9dade342351e627a0a75609fb46..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2218 zcmV;b2vzrqP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91K%fHv1ONa40RR91KmY&$07g+lumAuE6iGxuRCodHTWf3-RTMruyW6Fu zQYeUM04eX6D5c0FCjKKPrco1(K`<0SL=crI{PC3-^hZU0kQie$gh-5!7z6SH6Q0J% zqot*`H1q{R5fHFYS}dje@;kG=v$L0(yY0?wY2%*c?A&{2?!D*x?m71{of2gv!$5|C z3>qG_BW}7K_yUcT3A5C6QD<+{aq?x;MAUyAiJn#Jv8_zZtQ{P zTRzbL3U9!qVuZzS$xKU10KiW~Bgdcv1-!uAhQxf3a7q+dU6lj?yoO4Lq4TUN4}h{N z*fIM=SS8|C2$(T>w$`t@3Tka!(r!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RDyA_H440cpmYkv*)6m1XazTqw%=E5Xv7^@^^T7Q2wxr+Z2kVYr - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/client/macos/Runner/Configs/AppInfo.xcconfig b/apps/apps/client/macos/Runner/Configs/AppInfo.xcconfig deleted file mode 100644 index 3dceff21..00000000 --- a/apps/apps/client/macos/Runner/Configs/AppInfo.xcconfig +++ /dev/null @@ -1,14 +0,0 @@ -// Application-level settings for the Runner target. -// -// This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the -// future. If not, the values below would default to using the project name when this becomes a -// 'flutter create' template. - -// The application's name. By default this is also the title of the Flutter window. -PRODUCT_NAME = krow_client - -// The application's bundle identifier -PRODUCT_BUNDLE_IDENTIFIER = com.example.krowClient - -// The copyright displayed in application information -PRODUCT_COPYRIGHT = Copyright © 2026 com.example. All rights reserved. diff --git a/apps/apps/client/macos/Runner/Configs/Debug.xcconfig b/apps/apps/client/macos/Runner/Configs/Debug.xcconfig deleted file mode 100644 index 36b0fd94..00000000 --- a/apps/apps/client/macos/Runner/Configs/Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "../../Flutter/Flutter-Debug.xcconfig" -#include "Warnings.xcconfig" diff --git a/apps/apps/client/macos/Runner/Configs/Release.xcconfig b/apps/apps/client/macos/Runner/Configs/Release.xcconfig deleted file mode 100644 index dff4f495..00000000 --- a/apps/apps/client/macos/Runner/Configs/Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "../../Flutter/Flutter-Release.xcconfig" -#include "Warnings.xcconfig" diff --git a/apps/apps/client/macos/Runner/Configs/Warnings.xcconfig b/apps/apps/client/macos/Runner/Configs/Warnings.xcconfig deleted file mode 100644 index 42bcbf47..00000000 --- a/apps/apps/client/macos/Runner/Configs/Warnings.xcconfig +++ /dev/null @@ -1,13 +0,0 @@ -WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings -GCC_WARN_UNDECLARED_SELECTOR = YES -CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES -CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE -CLANG_WARN__DUPLICATE_METHOD_MATCH = YES -CLANG_WARN_PRAGMA_PACK = YES -CLANG_WARN_STRICT_PROTOTYPES = YES -CLANG_WARN_COMMA = YES -GCC_WARN_STRICT_SELECTOR_MATCH = YES -CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES -CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES -GCC_WARN_SHADOW = YES -CLANG_WARN_UNREACHABLE_CODE = YES diff --git a/apps/apps/client/macos/Runner/DebugProfile.entitlements b/apps/apps/client/macos/Runner/DebugProfile.entitlements deleted file mode 100644 index dddb8a30..00000000 --- a/apps/apps/client/macos/Runner/DebugProfile.entitlements +++ /dev/null @@ -1,12 +0,0 @@ - - - - - com.apple.security.app-sandbox - - com.apple.security.cs.allow-jit - - com.apple.security.network.server - - - diff --git a/apps/apps/client/macos/Runner/Info.plist b/apps/apps/client/macos/Runner/Info.plist deleted file mode 100644 index 4789daa6..00000000 --- a/apps/apps/client/macos/Runner/Info.plist +++ /dev/null @@ -1,32 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconFile - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) - NSHumanReadableCopyright - $(PRODUCT_COPYRIGHT) - NSMainNibFile - MainMenu - NSPrincipalClass - NSApplication - - diff --git a/apps/apps/client/macos/Runner/MainFlutterWindow.swift b/apps/apps/client/macos/Runner/MainFlutterWindow.swift deleted file mode 100644 index 3cc05eb2..00000000 --- a/apps/apps/client/macos/Runner/MainFlutterWindow.swift +++ /dev/null @@ -1,15 +0,0 @@ -import Cocoa -import FlutterMacOS - -class MainFlutterWindow: NSWindow { - override func awakeFromNib() { - let flutterViewController = FlutterViewController() - let windowFrame = self.frame - self.contentViewController = flutterViewController - self.setFrame(windowFrame, display: true) - - RegisterGeneratedPlugins(registry: flutterViewController) - - super.awakeFromNib() - } -} diff --git a/apps/apps/client/macos/Runner/Release.entitlements b/apps/apps/client/macos/Runner/Release.entitlements deleted file mode 100644 index 852fa1a4..00000000 --- a/apps/apps/client/macos/Runner/Release.entitlements +++ /dev/null @@ -1,8 +0,0 @@ - - - - - com.apple.security.app-sandbox - - - diff --git a/apps/apps/client/macos/RunnerTests/RunnerTests.swift b/apps/apps/client/macos/RunnerTests/RunnerTests.swift deleted file mode 100644 index 61f3bd1f..00000000 --- a/apps/apps/client/macos/RunnerTests/RunnerTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -import Cocoa -import FlutterMacOS -import XCTest - -class RunnerTests: XCTestCase { - - func testExample() { - // If you add code to the Runner application, consider adding tests here. - // See https://developer.apple.com/documentation/xctest for more information about using XCTest. - } - -} diff --git a/apps/apps/client/pubspec.yaml b/apps/apps/client/pubspec.yaml deleted file mode 100644 index 8550ff66..00000000 --- a/apps/apps/client/pubspec.yaml +++ /dev/null @@ -1,34 +0,0 @@ -name: krowwithus_client -description: "Krow Client Application" -publish_to: 'none' -version: 1.0.0+1 -resolution: workspace - -environment: - sdk: ^3.10.7 - -dependencies: - flutter: - sdk: flutter - cupertino_icons: ^1.0.8 - design_system: - path: ../../packages/design_system - client_authentication: - path: ../../packages/features/client/authentication - client_home: - path: ../../packages/features/client/home - core_localization: - path: ../../packages/core_localization - flutter_modular: ^6.3.2 - flutter_bloc: ^8.1.3 - flutter_localizations: - sdk: flutter - -dev_dependencies: - flutter_test: - sdk: flutter - flutter_lints: ^6.0.0 - rename: ^3.1.0 - -flutter: - uses-material-design: true diff --git a/apps/apps/client/test/widget_test.dart b/apps/apps/client/test/widget_test.dart deleted file mode 100644 index 1888d2ab..00000000 --- a/apps/apps/client/test/widget_test.dart +++ /dev/null @@ -1,30 +0,0 @@ -// This is a basic Flutter widget test. -// -// To perform an interaction with a widget in your test, use the WidgetTester -// utility in the flutter_test package. For example, you can send tap and scroll -// gestures. You can also use WidgetTester to find child widgets in the widget -// tree, read text, and verify that the values of widget properties are correct. - -import 'package:flutter/material.dart'; -import 'package:flutter_test/flutter_test.dart'; - -import 'package:client/main.dart'; - -void main() { - testWidgets('Counter increments smoke test', (WidgetTester tester) async { - // Build our app and trigger a frame. - await tester.pumpWidget(const MyApp()); - - // Verify that our counter starts at 0. - expect(find.text('0'), findsOneWidget); - expect(find.text('1'), findsNothing); - - // Tap the '+' icon and trigger a frame. - await tester.tap(find.byIcon(Icons.add)); - await tester.pump(); - - // Verify that our counter has incremented. - expect(find.text('0'), findsNothing); - expect(find.text('1'), findsOneWidget); - }); -} diff --git a/apps/apps/client/web/favicon.png b/apps/apps/client/web/favicon.png deleted file mode 100644 index 8aaa46ac1ae21512746f852a42ba87e4165dfdd1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 917 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|I14-?iy0X7 zltGxWVyS%@P(fs7NJL45ua8x7ey(0(N`6wRUPW#JP&EUCO@$SZnVVXYs8ErclUHn2 zVXFjIVFhG^g!Ppaz)DK8ZIvQ?0~DO|i&7O#^-S~(l1AfjnEK zjFOT9D}DX)@^Za$W4-*MbbUihOG|wNBYh(yU7!lx;>x^|#0uTKVr7USFmqf|i<65o z3raHc^AtelCMM;Vme?vOfh>Xph&xL%(-1c06+^uR^q@XSM&D4+Kp$>4P^%3{)XKjo zGZknv$b36P8?Z_gF{nK@`XI}Z90TzwSQO}0J1!f2c(B=V`5aP@1P1a|PZ!4!3&Gl8 zTYqUsf!gYFyJnXpu0!n&N*SYAX-%d(5gVjrHJWqXQshj@!Zm{!01WsQrH~9=kTxW#6SvuapgMqt>$=j#%eyGrQzr zP{L-3gsMA^$I1&gsBAEL+vxi1*Igl=8#8`5?A-T5=z-sk46WA1IUT)AIZHx1rdUrf zVJrJn<74DDw`j)Ki#gt}mIT-Q`XRa2-jQXQoI%w`nb|XblvzK${ZzlV)m-XcwC(od z71_OEC5Bt9GEXosOXaPTYOia#R4ID2TiU~`zVMl08TV_C%DnU4^+HE>9(CE4D6?Fz oujB08i7adh9xk7*FX66dWH6F5TM;?E2b5PlUHx3vIVCg!0Dx9vYXATM diff --git a/apps/apps/client/web/icons/Icon-192.png b/apps/apps/client/web/icons/Icon-192.png deleted file mode 100644 index b749bfef07473333cf1dd31e9eed89862a5d52aa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5292 zcmZ`-2T+sGz6~)*FVZ`aW+(v>MIm&M-g^@e2u-B-DoB?qO+b1Tq<5uCCv>ESfRum& zp%X;f!~1{tzL__3=gjVJ=j=J>+nMj%ncXj1Q(b|Ckbw{Y0FWpt%4y%$uD=Z*c-x~o zE;IoE;xa#7Ll5nj-e4CuXB&G*IM~D21rCP$*xLXAK8rIMCSHuSu%bL&S3)8YI~vyp@KBu9Ph7R_pvKQ@xv>NQ`dZp(u{Z8K3yOB zn7-AR+d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Q*SIH5KI-mn%i;Z7-)m$mN9CnI$G7?# zo`zVrUwoSL&_dJ92YhX5TKqaRkfPgC4=Q&=K+;_aDs&OU0&{WFH}kKX6uNQC6%oUH z2DZa1s3%Vtk|bglbxep-w)PbFG!J17`<$g8lVhqD2w;Z0zGsh-r zxZ13G$G<48leNqR!DCVt9)@}(zMI5w6Wo=N zpP1*3DI;~h2WDWgcKn*f!+ORD)f$DZFwgKBafEZmeXQMAsq9sxP9A)7zOYnkHT9JU zRA`umgmP9d6=PHmFIgx=0$(sjb>+0CHG)K@cPG{IxaJ&Ueo8)0RWgV9+gO7+Bl1(F z7!BslJ2MP*PWJ;x)QXbR$6jEr5q3 z(3}F@YO_P1NyTdEXRLU6fp?9V2-S=E+YaeLL{Y)W%6`k7$(EW8EZSA*(+;e5@jgD^I zaJQ2|oCM1n!A&-8`;#RDcZyk*+RPkn_r8?Ak@agHiSp*qFNX)&i21HE?yuZ;-C<3C zwJGd1lx5UzViP7sZJ&|LqH*mryb}y|%AOw+v)yc`qM)03qyyrqhX?ub`Cjwx2PrR! z)_z>5*!*$x1=Qa-0uE7jy0z`>|Ni#X+uV|%_81F7)b+nf%iz=`fF4g5UfHS_?PHbr zB;0$bK@=di?f`dS(j{l3-tSCfp~zUuva+=EWxJcRfp(<$@vd(GigM&~vaYZ0c#BTs z3ijkxMl=vw5AS&DcXQ%eeKt!uKvh2l3W?&3=dBHU=Gz?O!40S&&~ei2vg**c$o;i89~6DVns zG>9a*`k5)NI9|?W!@9>rzJ;9EJ=YlJTx1r1BA?H`LWijk(rTax9(OAu;q4_wTj-yj z1%W4GW&K4T=uEGb+E!>W0SD_C0RR91 diff --git a/apps/apps/client/web/icons/Icon-512.png b/apps/apps/client/web/icons/Icon-512.png deleted file mode 100644 index 88cfd48dff1169879ba46840804b412fe02fefd6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8252 zcmd5=2T+s!lYZ%-(h(2@5fr2dC?F^$C=i-}R6$UX8af(!je;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`d6R-}EX9IVXWO-!hL5 z*k6T#^2zAXdardU3Ao~I)4DGdAv2bx{4nOK`20rJo>rmk3S2ZDu}))8Z1m}CKigf0 z3L`3Y`{huj`xj9@`$xTZzZc3je?n^yG<8sw$`Y%}9mUsjUR%T!?k^(q)6FH6Af^b6 zlPg~IEwg0y;`t9y;#D+uz!oE4VP&Je!<#q*F?m5L5?J3i@!0J6q#eu z!RRU`-)HeqGi_UJZ(n~|PSNsv+Wgl{P-TvaUQ9j?ZCtvb^37U$sFpBrkT{7Jpd?HpIvj2!}RIq zH{9~+gErN2+}J`>Jvng2hwM`=PLNkc7pkjblKW|+Fk9rc)G1R>Ww>RC=r-|!m-u7( zc(a$9NG}w#PjWNMS~)o=i~WA&4L(YIW25@AL9+H9!?3Y}sv#MOdY{bb9j>p`{?O(P zIvb`n?_(gP2w3P#&91JX*md+bBEr%xUHMVqfB;(f?OPtMnAZ#rm5q5mh;a2f_si2_ z3oXWB?{NF(JtkAn6F(O{z@b76OIqMC$&oJ_&S|YbFJ*)3qVX_uNf5b8(!vGX19hsG z(OP>RmZp29KH9Ge2kKjKigUmOe^K_!UXP`von)PR8Qz$%=EmOB9xS(ZxE_tnyzo}7 z=6~$~9k0M~v}`w={AeqF?_)9q{m8K#6M{a&(;u;O41j)I$^T?lx5(zlebpY@NT&#N zR+1bB)-1-xj}R8uwqwf=iP1GbxBjneCC%UrSdSxK1vM^i9;bUkS#iRZw2H>rS<2<$ zNT3|sDH>{tXb=zq7XZi*K?#Zsa1h1{h5!Tq_YbKFm_*=A5-<~j63he;4`77!|LBlo zR^~tR3yxcU=gDFbshyF6>o0bdp$qmHS7D}m3;^QZq9kBBU|9$N-~oU?G5;jyFR7>z hN`IR97YZXIo@y!QgFWddJ3|0`sjFx!m))><{BI=FK%f8s diff --git a/apps/apps/client/web/icons/Icon-maskable-192.png b/apps/apps/client/web/icons/Icon-maskable-192.png deleted file mode 100644 index eb9b4d76e525556d5d89141648c724331630325d..0000000000000000000000000000000000000000 GI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mfpn;OT&V(;z75J*<$52{sB65$gDjwX3Xa!x_wE- z!#RpwHM#WrO*|~f7z}(}o7US(+0FYLM}6de>gQdtPazXz?OcNv4R^oYLJ_BQOd_l172oSK$6!1r@g+B@0ofJ4*{>_AIxfe-#xp>(1 z@Y3Nfd>fmqvjL;?+DmZk*KsfXJf<%~(gcLwEez%>1c6XSboURUh&k=B)MS>6kw9bY z{7vdev7;A}5fy*ZE23DS{J?8at~xwVk`pEwP5^k?XMQ7u64;KmFJ#POzdG#np~F&H ze-BUh@g54)dsS%nkBb}+GuUEKU~pHcYIg4vSo$J(J|U36bs0Use+3A&IMcR%6@jv$ z=+QI+@wW@?iu}Hpyzlvj-EYeop{f65GX0O%>w#0t|V z1-svWk`hU~m`|O$kw5?Yn5UhI%9P-<45A(v0ld1n+%Ziq&TVpBcV9n}L9Tus-TI)f zd_(g+nYCDR@+wYNQm1GwxhUN4tGMLCzDzPqY$~`l<47{+l<{FZ$L6(>J)|}!bi<)| zE35dl{a2)&leQ@LlDxLQOfUDS`;+ZQ4ozrleQwaR-K|@9T{#hB5Z^t#8 zC-d_G;B4;F#8A2EBL58s$zF-=SCr`P#z zNCTnHF&|X@q>SkAoYu>&s9v@zCpv9lLSH-UZzfhJh`EZA{X#%nqw@@aW^vPcfQrlPs(qQxmC|4tp^&sHy!H!2FH5eC{M@g;ElWNzlb-+ zxpfc0m4<}L){4|RZ>KReag2j%Ot_UKkgpJN!7Y_y3;Ssz{9 z!K3isRtaFtQII5^6}cm9RZd5nTp9psk&u1C(BY`(_tolBwzV_@0F*m%3G%Y?2utyS zY`xM0iDRT)yTyYukFeGQ&W@ReM+ADG1xu@ruq&^GK35`+2r}b^V!m1(VgH|QhIPDE X>c!)3PgKfL&lX^$Z>Cpu&6)6jvi^Z! diff --git a/apps/apps/client/web/icons/Icon-maskable-512.png b/apps/apps/client/web/icons/Icon-maskable-512.png deleted file mode 100644 index d69c56691fbdb0b7efa65097c7cc1edac12a6d3e..0000000000000000000000000000000000000000 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ny&5~)%ITb@^+x$w0)f&om;P8B)@}=Wzy59BwUfZ1vqw87 za2lB8J(&*l#(V}Id8SyQ0C(2amzkz3EqG&Ed0Jq1)$|&>4_|NIe=5|n=3?siFV0fI z{As5DLW^gs|B-b4C;Hd(SM-S~GQhzb>HgF2|2Usww0nL^;x@1eaB)=+Clj+$fF@H( z-fqP??~QMT$KI-#m;QC*&6vkp&8699G3)Bq0*kFZXINw=b9OVaed(3(3kS|IZ)CM? zJdnW&%t8MveBuK21uiYj)_a{Fnw0OErMzMN?d$QoPwkhOwcP&p+t>P)4tHlYw-pPN z^oJ=uc$Sl>pv@fZH~ZqxSvdhF@F1s=oZawpr^-#l{IIOGG=T%QXjtwPhIg-F@k@uIlr?J->Ia zpEUQ*=4g|XYn4Gez&aHr*;t$u3oODPmc2Ku)2Og|xjc%w;q!Zz+zY)*3{7V8bK4;& zYV82FZ+8?v)`J|G1w4I0fWdKg|2b#iaazCv;|?(W-q}$o&Y}Q5d@BRk^jL7#{kbCK zSgkyu;=DV+or2)AxCBgq-nj5=@n^`%T#V+xBGEkW4lCqrE)LMv#f;AvD__cQ@Eg3`~x| zW+h9mofSXCq5|M)9|ez(#X?-sxB%Go8};sJ?2abp(Y!lyi>k)|{M*Z$c{e1-K4ky` MPgg&ebxsLQ025IeI{*Lx diff --git a/apps/apps/client/web/index.html b/apps/apps/client/web/index.html deleted file mode 100644 index 0b6cda5a..00000000 --- a/apps/apps/client/web/index.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - krow_client - - - - - - diff --git a/apps/apps/client/web/manifest.json b/apps/apps/client/web/manifest.json deleted file mode 100644 index 3f8812a2..00000000 --- a/apps/apps/client/web/manifest.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "krow_client", - "short_name": "krow_client", - "start_url": ".", - "display": "standalone", - "background_color": "#0175C2", - "theme_color": "#0175C2", - "description": "A new Flutter project.", - "orientation": "portrait-primary", - "prefer_related_applications": false, - "icons": [ - { - "src": "icons/Icon-192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "icons/Icon-512.png", - "sizes": "512x512", - "type": "image/png" - }, - { - "src": "icons/Icon-maskable-192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "maskable" - }, - { - "src": "icons/Icon-maskable-512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "maskable" - } - ] -} diff --git a/apps/apps/client/windows/.gitignore b/apps/apps/client/windows/.gitignore deleted file mode 100644 index d492d0d9..00000000 --- a/apps/apps/client/windows/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -flutter/ephemeral/ - -# Visual Studio user-specific files. -*.suo -*.user -*.userosscache -*.sln.docstates - -# Visual Studio build-related files. -x64/ -x86/ - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!*.[Cc]ache/ diff --git a/apps/apps/client/windows/CMakeLists.txt b/apps/apps/client/windows/CMakeLists.txt deleted file mode 100644 index 77e16d56..00000000 --- a/apps/apps/client/windows/CMakeLists.txt +++ /dev/null @@ -1,108 +0,0 @@ -# Project-level configuration. -cmake_minimum_required(VERSION 3.14) -project(krow_client LANGUAGES CXX) - -# The name of the executable created for the application. Change this to change -# the on-disk name of your application. -set(BINARY_NAME "krow_client") - -# Explicitly opt in to modern CMake behaviors to avoid warnings with recent -# versions of CMake. -cmake_policy(VERSION 3.14...3.25) - -# Define build configuration option. -get_property(IS_MULTICONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) -if(IS_MULTICONFIG) - set(CMAKE_CONFIGURATION_TYPES "Debug;Profile;Release" - CACHE STRING "" FORCE) -else() - if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) - set(CMAKE_BUILD_TYPE "Debug" CACHE - STRING "Flutter build mode" FORCE) - set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS - "Debug" "Profile" "Release") - endif() -endif() -# Define settings for the Profile build mode. -set(CMAKE_EXE_LINKER_FLAGS_PROFILE "${CMAKE_EXE_LINKER_FLAGS_RELEASE}") -set(CMAKE_SHARED_LINKER_FLAGS_PROFILE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE}") -set(CMAKE_C_FLAGS_PROFILE "${CMAKE_C_FLAGS_RELEASE}") -set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_RELEASE}") - -# Use Unicode for all projects. -add_definitions(-DUNICODE -D_UNICODE) - -# Compilation settings that should be applied to most targets. -# -# Be cautious about adding new options here, as plugins use this function by -# default. In most cases, you should add new options to specific targets instead -# of modifying this function. -function(APPLY_STANDARD_SETTINGS TARGET) - target_compile_features(${TARGET} PUBLIC cxx_std_17) - target_compile_options(${TARGET} PRIVATE /W4 /WX /wd"4100") - target_compile_options(${TARGET} PRIVATE /EHsc) - target_compile_definitions(${TARGET} PRIVATE "_HAS_EXCEPTIONS=0") - target_compile_definitions(${TARGET} PRIVATE "$<$:_DEBUG>") -endfunction() - -# Flutter library and tool build rules. -set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter") -add_subdirectory(${FLUTTER_MANAGED_DIR}) - -# Application build; see runner/CMakeLists.txt. -add_subdirectory("runner") - - -# Generated plugin build rules, which manage building the plugins and adding -# them to the application. -include(flutter/generated_plugins.cmake) - - -# === Installation === -# Support files are copied into place next to the executable, so that it can -# run in place. This is done instead of making a separate bundle (as on Linux) -# so that building and running from within Visual Studio will work. -set(BUILD_BUNDLE_DIR "$") -# Make the "install" step default, as it's required to run. -set(CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD 1) -if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) - set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE) -endif() - -set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data") -set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}") - -install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -if(PLUGIN_BUNDLED_LIBRARIES) - install(FILES "${PLUGIN_BUNDLED_LIBRARIES}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) -endif() - -# Copy the native assets provided by the build.dart from all packages. -set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/windows/") -install(DIRECTORY "${NATIVE_ASSETS_DIR}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -# Fully re-copy the assets directory on each build to avoid having stale files -# from a previous install. -set(FLUTTER_ASSET_DIR_NAME "flutter_assets") -install(CODE " - file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\") - " COMPONENT Runtime) -install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}" - DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime) - -# Install the AOT library on non-Debug builds only. -install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" - CONFIGURATIONS Profile;Release - COMPONENT Runtime) diff --git a/apps/apps/client/windows/flutter/CMakeLists.txt b/apps/apps/client/windows/flutter/CMakeLists.txt deleted file mode 100644 index 903f4899..00000000 --- a/apps/apps/client/windows/flutter/CMakeLists.txt +++ /dev/null @@ -1,109 +0,0 @@ -# This file controls Flutter-level build steps. It should not be edited. -cmake_minimum_required(VERSION 3.14) - -set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral") - -# Configuration provided via flutter tool. -include(${EPHEMERAL_DIR}/generated_config.cmake) - -# TODO: Move the rest of this into files in ephemeral. See -# https://github.com/flutter/flutter/issues/57146. -set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper") - -# Set fallback configurations for older versions of the flutter tool. -if (NOT DEFINED FLUTTER_TARGET_PLATFORM) - set(FLUTTER_TARGET_PLATFORM "windows-x64") -endif() - -# === Flutter Library === -set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll") - -# Published to parent scope for install step. -set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE) -set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE) -set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE) -set(AOT_LIBRARY "${PROJECT_DIR}/build/windows/app.so" PARENT_SCOPE) - -list(APPEND FLUTTER_LIBRARY_HEADERS - "flutter_export.h" - "flutter_windows.h" - "flutter_messenger.h" - "flutter_plugin_registrar.h" - "flutter_texture_registrar.h" -) -list(TRANSFORM FLUTTER_LIBRARY_HEADERS PREPEND "${EPHEMERAL_DIR}/") -add_library(flutter INTERFACE) -target_include_directories(flutter INTERFACE - "${EPHEMERAL_DIR}" -) -target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}.lib") -add_dependencies(flutter flutter_assemble) - -# === Wrapper === -list(APPEND CPP_WRAPPER_SOURCES_CORE - "core_implementations.cc" - "standard_codec.cc" -) -list(TRANSFORM CPP_WRAPPER_SOURCES_CORE PREPEND "${WRAPPER_ROOT}/") -list(APPEND CPP_WRAPPER_SOURCES_PLUGIN - "plugin_registrar.cc" -) -list(TRANSFORM CPP_WRAPPER_SOURCES_PLUGIN PREPEND "${WRAPPER_ROOT}/") -list(APPEND CPP_WRAPPER_SOURCES_APP - "flutter_engine.cc" - "flutter_view_controller.cc" -) -list(TRANSFORM CPP_WRAPPER_SOURCES_APP PREPEND "${WRAPPER_ROOT}/") - -# Wrapper sources needed for a plugin. -add_library(flutter_wrapper_plugin STATIC - ${CPP_WRAPPER_SOURCES_CORE} - ${CPP_WRAPPER_SOURCES_PLUGIN} -) -apply_standard_settings(flutter_wrapper_plugin) -set_target_properties(flutter_wrapper_plugin PROPERTIES - POSITION_INDEPENDENT_CODE ON) -set_target_properties(flutter_wrapper_plugin PROPERTIES - CXX_VISIBILITY_PRESET hidden) -target_link_libraries(flutter_wrapper_plugin PUBLIC flutter) -target_include_directories(flutter_wrapper_plugin PUBLIC - "${WRAPPER_ROOT}/include" -) -add_dependencies(flutter_wrapper_plugin flutter_assemble) - -# Wrapper sources needed for the runner. -add_library(flutter_wrapper_app STATIC - ${CPP_WRAPPER_SOURCES_CORE} - ${CPP_WRAPPER_SOURCES_APP} -) -apply_standard_settings(flutter_wrapper_app) -target_link_libraries(flutter_wrapper_app PUBLIC flutter) -target_include_directories(flutter_wrapper_app PUBLIC - "${WRAPPER_ROOT}/include" -) -add_dependencies(flutter_wrapper_app flutter_assemble) - -# === Flutter tool backend === -# _phony_ is a non-existent file to force this command to run every time, -# since currently there's no way to get a full input/output list from the -# flutter tool. -set(PHONY_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/_phony_") -set_source_files_properties("${PHONY_OUTPUT}" PROPERTIES SYMBOLIC TRUE) -add_custom_command( - OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS} - ${CPP_WRAPPER_SOURCES_CORE} ${CPP_WRAPPER_SOURCES_PLUGIN} - ${CPP_WRAPPER_SOURCES_APP} - ${PHONY_OUTPUT} - COMMAND ${CMAKE_COMMAND} -E env - ${FLUTTER_TOOL_ENVIRONMENT} - "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat" - ${FLUTTER_TARGET_PLATFORM} $ - VERBATIM -) -add_custom_target(flutter_assemble DEPENDS - "${FLUTTER_LIBRARY}" - ${FLUTTER_LIBRARY_HEADERS} - ${CPP_WRAPPER_SOURCES_CORE} - ${CPP_WRAPPER_SOURCES_PLUGIN} - ${CPP_WRAPPER_SOURCES_APP} -) diff --git a/apps/apps/client/windows/flutter/generated_plugin_registrant.cc b/apps/apps/client/windows/flutter/generated_plugin_registrant.cc deleted file mode 100644 index d141b74f..00000000 --- a/apps/apps/client/windows/flutter/generated_plugin_registrant.cc +++ /dev/null @@ -1,17 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#include "generated_plugin_registrant.h" - -#include -#include - -void RegisterPlugins(flutter::PluginRegistry* registry) { - FirebaseAuthPluginCApiRegisterWithRegistrar( - registry->GetRegistrarForPlugin("FirebaseAuthPluginCApi")); - FirebaseCorePluginCApiRegisterWithRegistrar( - registry->GetRegistrarForPlugin("FirebaseCorePluginCApi")); -} diff --git a/apps/apps/client/windows/flutter/generated_plugin_registrant.h b/apps/apps/client/windows/flutter/generated_plugin_registrant.h deleted file mode 100644 index dc139d85..00000000 --- a/apps/apps/client/windows/flutter/generated_plugin_registrant.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#ifndef GENERATED_PLUGIN_REGISTRANT_ -#define GENERATED_PLUGIN_REGISTRANT_ - -#include - -// Registers Flutter plugins. -void RegisterPlugins(flutter::PluginRegistry* registry); - -#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/apps/apps/client/windows/flutter/generated_plugins.cmake b/apps/apps/client/windows/flutter/generated_plugins.cmake deleted file mode 100644 index 29944d5b..00000000 --- a/apps/apps/client/windows/flutter/generated_plugins.cmake +++ /dev/null @@ -1,25 +0,0 @@ -# -# Generated file, do not edit. -# - -list(APPEND FLUTTER_PLUGIN_LIST - firebase_auth - firebase_core -) - -list(APPEND FLUTTER_FFI_PLUGIN_LIST -) - -set(PLUGIN_BUNDLED_LIBRARIES) - -foreach(plugin ${FLUTTER_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin}) - target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) - list(APPEND PLUGIN_BUNDLED_LIBRARIES $) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) -endforeach(plugin) - -foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin}) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) -endforeach(ffi_plugin) diff --git a/apps/apps/client/windows/runner/CMakeLists.txt b/apps/apps/client/windows/runner/CMakeLists.txt deleted file mode 100644 index 394917c0..00000000 --- a/apps/apps/client/windows/runner/CMakeLists.txt +++ /dev/null @@ -1,40 +0,0 @@ -cmake_minimum_required(VERSION 3.14) -project(runner LANGUAGES CXX) - -# Define the application target. To change its name, change BINARY_NAME in the -# top-level CMakeLists.txt, not the value here, or `flutter run` will no longer -# work. -# -# Any new source files that you add to the application should be added here. -add_executable(${BINARY_NAME} WIN32 - "flutter_window.cpp" - "main.cpp" - "utils.cpp" - "win32_window.cpp" - "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" - "Runner.rc" - "runner.exe.manifest" -) - -# Apply the standard set of build settings. This can be removed for applications -# that need different build settings. -apply_standard_settings(${BINARY_NAME}) - -# Add preprocessor definitions for the build version. -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION=\"${FLUTTER_VERSION}\"") -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MAJOR=${FLUTTER_VERSION_MAJOR}") -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MINOR=${FLUTTER_VERSION_MINOR}") -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_PATCH=${FLUTTER_VERSION_PATCH}") -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_BUILD=${FLUTTER_VERSION_BUILD}") - -# Disable Windows macros that collide with C++ standard library functions. -target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX") - -# Add dependency libraries and include directories. Add any application-specific -# dependencies here. -target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app) -target_link_libraries(${BINARY_NAME} PRIVATE "dwmapi.lib") -target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}") - -# Run the Flutter tool portions of the build. This must not be removed. -add_dependencies(${BINARY_NAME} flutter_assemble) diff --git a/apps/apps/client/windows/runner/Runner.rc b/apps/apps/client/windows/runner/Runner.rc deleted file mode 100644 index 406f018c..00000000 --- a/apps/apps/client/windows/runner/Runner.rc +++ /dev/null @@ -1,121 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#pragma code_page(65001) -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "winres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (United States) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""winres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_APP_ICON ICON "resources\\app_icon.ico" - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -#if defined(FLUTTER_VERSION_MAJOR) && defined(FLUTTER_VERSION_MINOR) && defined(FLUTTER_VERSION_PATCH) && defined(FLUTTER_VERSION_BUILD) -#define VERSION_AS_NUMBER FLUTTER_VERSION_MAJOR,FLUTTER_VERSION_MINOR,FLUTTER_VERSION_PATCH,FLUTTER_VERSION_BUILD -#else -#define VERSION_AS_NUMBER 1,0,0,0 -#endif - -#if defined(FLUTTER_VERSION) -#define VERSION_AS_STRING FLUTTER_VERSION -#else -#define VERSION_AS_STRING "1.0.0" -#endif - -VS_VERSION_INFO VERSIONINFO - FILEVERSION VERSION_AS_NUMBER - PRODUCTVERSION VERSION_AS_NUMBER - FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0x0L -#endif - FILEOS VOS__WINDOWS32 - FILETYPE VFT_APP - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "com.example" "\0" - VALUE "FileDescription", "krow_client" "\0" - VALUE "FileVersion", VERSION_AS_STRING "\0" - VALUE "InternalName", "krow_client" "\0" - VALUE "LegalCopyright", "Copyright (C) 2026 com.example. All rights reserved." "\0" - VALUE "OriginalFilename", "krow_client.exe" "\0" - VALUE "ProductName", "krow_client" "\0" - VALUE "ProductVersion", VERSION_AS_STRING "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - -#endif // English (United States) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED diff --git a/apps/apps/client/windows/runner/flutter_window.cpp b/apps/apps/client/windows/runner/flutter_window.cpp deleted file mode 100644 index 955ee303..00000000 --- a/apps/apps/client/windows/runner/flutter_window.cpp +++ /dev/null @@ -1,71 +0,0 @@ -#include "flutter_window.h" - -#include - -#include "flutter/generated_plugin_registrant.h" - -FlutterWindow::FlutterWindow(const flutter::DartProject& project) - : project_(project) {} - -FlutterWindow::~FlutterWindow() {} - -bool FlutterWindow::OnCreate() { - if (!Win32Window::OnCreate()) { - return false; - } - - RECT frame = GetClientArea(); - - // The size here must match the window dimensions to avoid unnecessary surface - // creation / destruction in the startup path. - flutter_controller_ = std::make_unique( - frame.right - frame.left, frame.bottom - frame.top, project_); - // Ensure that basic setup of the controller was successful. - if (!flutter_controller_->engine() || !flutter_controller_->view()) { - return false; - } - RegisterPlugins(flutter_controller_->engine()); - SetChildContent(flutter_controller_->view()->GetNativeWindow()); - - flutter_controller_->engine()->SetNextFrameCallback([&]() { - this->Show(); - }); - - // Flutter can complete the first frame before the "show window" callback is - // registered. The following call ensures a frame is pending to ensure the - // window is shown. It is a no-op if the first frame hasn't completed yet. - flutter_controller_->ForceRedraw(); - - return true; -} - -void FlutterWindow::OnDestroy() { - if (flutter_controller_) { - flutter_controller_ = nullptr; - } - - Win32Window::OnDestroy(); -} - -LRESULT -FlutterWindow::MessageHandler(HWND hwnd, UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept { - // Give Flutter, including plugins, an opportunity to handle window messages. - if (flutter_controller_) { - std::optional result = - flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam, - lparam); - if (result) { - return *result; - } - } - - switch (message) { - case WM_FONTCHANGE: - flutter_controller_->engine()->ReloadSystemFonts(); - break; - } - - return Win32Window::MessageHandler(hwnd, message, wparam, lparam); -} diff --git a/apps/apps/client/windows/runner/flutter_window.h b/apps/apps/client/windows/runner/flutter_window.h deleted file mode 100644 index 6da0652f..00000000 --- a/apps/apps/client/windows/runner/flutter_window.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef RUNNER_FLUTTER_WINDOW_H_ -#define RUNNER_FLUTTER_WINDOW_H_ - -#include -#include - -#include - -#include "win32_window.h" - -// A window that does nothing but host a Flutter view. -class FlutterWindow : public Win32Window { - public: - // Creates a new FlutterWindow hosting a Flutter view running |project|. - explicit FlutterWindow(const flutter::DartProject& project); - virtual ~FlutterWindow(); - - protected: - // Win32Window: - bool OnCreate() override; - void OnDestroy() override; - LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam, - LPARAM const lparam) noexcept override; - - private: - // The project to run. - flutter::DartProject project_; - - // The Flutter instance hosted by this window. - std::unique_ptr flutter_controller_; -}; - -#endif // RUNNER_FLUTTER_WINDOW_H_ diff --git a/apps/apps/client/windows/runner/main.cpp b/apps/apps/client/windows/runner/main.cpp deleted file mode 100644 index 2c445bb3..00000000 --- a/apps/apps/client/windows/runner/main.cpp +++ /dev/null @@ -1,43 +0,0 @@ -#include -#include -#include - -#include "flutter_window.h" -#include "utils.h" - -int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, - _In_ wchar_t *command_line, _In_ int show_command) { - // Attach to console when present (e.g., 'flutter run') or create a - // new console when running with a debugger. - if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) { - CreateAndAttachConsole(); - } - - // Initialize COM, so that it is available for use in the library and/or - // plugins. - ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED); - - flutter::DartProject project(L"data"); - - std::vector command_line_arguments = - GetCommandLineArguments(); - - project.set_dart_entrypoint_arguments(std::move(command_line_arguments)); - - FlutterWindow window(project); - Win32Window::Point origin(10, 10); - Win32Window::Size size(1280, 720); - if (!window.Create(L"krow_client", origin, size)) { - return EXIT_FAILURE; - } - window.SetQuitOnClose(true); - - ::MSG msg; - while (::GetMessage(&msg, nullptr, 0, 0)) { - ::TranslateMessage(&msg); - ::DispatchMessage(&msg); - } - - ::CoUninitialize(); - return EXIT_SUCCESS; -} diff --git a/apps/apps/client/windows/runner/resource.h b/apps/apps/client/windows/runner/resource.h deleted file mode 100644 index 66a65d1e..00000000 --- a/apps/apps/client/windows/runner/resource.h +++ /dev/null @@ -1,16 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Runner.rc -// -#define IDI_APP_ICON 101 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/apps/apps/client/windows/runner/resources/app_icon.ico b/apps/apps/client/windows/runner/resources/app_icon.ico deleted file mode 100644 index c04e20caf6370ebb9253ad831cc31de4a9c965f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 33772 zcmeHQc|26z|35SKE&G-*mXah&B~fFkXr)DEO&hIfqby^T&>|8^_Ub8Vp#`BLl3lbZ zvPO!8k!2X>cg~Elr=IVxo~J*a`+9wR=A83c-k-DFd(XM&UI1VKCqM@V;DDtJ09WB} zRaHKiW(GT00brH|0EeTeKVbpbGZg?nK6-j827q-+NFM34gXjqWxJ*a#{b_apGN<-L_m3#8Z26atkEn& ze87Bvv^6vVmM+p+cQ~{u%=NJF>#(d;8{7Q{^rWKWNtf14H}>#&y7$lqmY6xmZryI& z($uy?c5-+cPnt2%)R&(KIWEXww>Cnz{OUpT>W$CbO$h1= z#4BPMkFG1Y)x}Ui+WXr?Z!w!t_hjRq8qTaWpu}FH{MsHlU{>;08goVLm{V<&`itk~ zE_Ys=D(hjiy+5=?=$HGii=Y5)jMe9|wWoD_K07(}edAxh`~LBorOJ!Cf@f{_gNCC| z%{*04ViE!#>@hc1t5bb+NO>ncf@@Dv01K!NxH$3Eg1%)|wLyMDF8^d44lV!_Sr}iEWefOaL z8f?ud3Q%Sen39u|%00W<#!E=-RpGa+H8}{ulxVl4mwpjaU+%2pzmi{3HM)%8vb*~-M9rPUAfGCSos8GUXp02|o~0BTV2l#`>>aFV&_P$ejS;nGwSVP8 zMbOaG7<7eKD>c12VdGH;?2@q7535sa7MN*L@&!m?L`ASG%boY7(&L5imY#EQ$KrBB z4@_tfP5m50(T--qv1BJcD&aiH#b-QC>8#7Fx@3yXlonJI#aEIi=8&ChiVpc#N=5le zM*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OvOMKEyWz!vG(Kp*;hB?d|R3`2X~=5a6#^o5@qn?J-bI8Ppip{-yG z!k|VcGsq!jF~}7DMr49Wap-s&>o=U^T0!Lcy}!(bhtYsPQy z4|EJe{12QL#=c(suQ89Mhw9<`bui%nx7Nep`C&*M3~vMEACmcRYYRGtANq$F%zh&V zc)cEVeHz*Z1N)L7k-(k3np#{GcDh2Q@ya0YHl*n7fl*ZPAsbU-a94MYYtA#&!c`xGIaV;yzsmrjfieTEtqB_WgZp2*NplHx=$O{M~2#i_vJ{ps-NgK zQsxKK_CBM2PP_je+Xft`(vYfXXgIUr{=PA=7a8`2EHk)Ym2QKIforz# tySWtj{oF3N9@_;i*Fv5S)9x^z=nlWP>jpp-9)52ZmLVA=i*%6g{{fxOO~wEK diff --git a/apps/apps/client/windows/runner/runner.exe.manifest b/apps/apps/client/windows/runner/runner.exe.manifest deleted file mode 100644 index 153653e8..00000000 --- a/apps/apps/client/windows/runner/runner.exe.manifest +++ /dev/null @@ -1,14 +0,0 @@ - - - - - PerMonitorV2 - - - - - - - - - diff --git a/apps/apps/client/windows/runner/utils.cpp b/apps/apps/client/windows/runner/utils.cpp deleted file mode 100644 index 3a0b4651..00000000 --- a/apps/apps/client/windows/runner/utils.cpp +++ /dev/null @@ -1,65 +0,0 @@ -#include "utils.h" - -#include -#include -#include -#include - -#include - -void CreateAndAttachConsole() { - if (::AllocConsole()) { - FILE *unused; - if (freopen_s(&unused, "CONOUT$", "w", stdout)) { - _dup2(_fileno(stdout), 1); - } - if (freopen_s(&unused, "CONOUT$", "w", stderr)) { - _dup2(_fileno(stdout), 2); - } - std::ios::sync_with_stdio(); - FlutterDesktopResyncOutputStreams(); - } -} - -std::vector GetCommandLineArguments() { - // Convert the UTF-16 command line arguments to UTF-8 for the Engine to use. - int argc; - wchar_t** argv = ::CommandLineToArgvW(::GetCommandLineW(), &argc); - if (argv == nullptr) { - return std::vector(); - } - - std::vector command_line_arguments; - - // Skip the first argument as it's the binary name. - for (int i = 1; i < argc; i++) { - command_line_arguments.push_back(Utf8FromUtf16(argv[i])); - } - - ::LocalFree(argv); - - return command_line_arguments; -} - -std::string Utf8FromUtf16(const wchar_t* utf16_string) { - if (utf16_string == nullptr) { - return std::string(); - } - unsigned int target_length = ::WideCharToMultiByte( - CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, - -1, nullptr, 0, nullptr, nullptr) - -1; // remove the trailing null character - int input_length = (int)wcslen(utf16_string); - std::string utf8_string; - if (target_length == 0 || target_length > utf8_string.max_size()) { - return utf8_string; - } - utf8_string.resize(target_length); - int converted_length = ::WideCharToMultiByte( - CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, - input_length, utf8_string.data(), target_length, nullptr, nullptr); - if (converted_length == 0) { - return std::string(); - } - return utf8_string; -} diff --git a/apps/apps/client/windows/runner/utils.h b/apps/apps/client/windows/runner/utils.h deleted file mode 100644 index 3879d547..00000000 --- a/apps/apps/client/windows/runner/utils.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef RUNNER_UTILS_H_ -#define RUNNER_UTILS_H_ - -#include -#include - -// Creates a console for the process, and redirects stdout and stderr to -// it for both the runner and the Flutter library. -void CreateAndAttachConsole(); - -// Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string -// encoded in UTF-8. Returns an empty std::string on failure. -std::string Utf8FromUtf16(const wchar_t* utf16_string); - -// Gets the command line arguments passed in as a std::vector, -// encoded in UTF-8. Returns an empty std::vector on failure. -std::vector GetCommandLineArguments(); - -#endif // RUNNER_UTILS_H_ diff --git a/apps/apps/client/windows/runner/win32_window.cpp b/apps/apps/client/windows/runner/win32_window.cpp deleted file mode 100644 index 60608d0f..00000000 --- a/apps/apps/client/windows/runner/win32_window.cpp +++ /dev/null @@ -1,288 +0,0 @@ -#include "win32_window.h" - -#include -#include - -#include "resource.h" - -namespace { - -/// Window attribute that enables dark mode window decorations. -/// -/// Redefined in case the developer's machine has a Windows SDK older than -/// version 10.0.22000.0. -/// See: https://docs.microsoft.com/windows/win32/api/dwmapi/ne-dwmapi-dwmwindowattribute -#ifndef DWMWA_USE_IMMERSIVE_DARK_MODE -#define DWMWA_USE_IMMERSIVE_DARK_MODE 20 -#endif - -constexpr const wchar_t kWindowClassName[] = L"FLUTTER_RUNNER_WIN32_WINDOW"; - -/// Registry key for app theme preference. -/// -/// A value of 0 indicates apps should use dark mode. A non-zero or missing -/// value indicates apps should use light mode. -constexpr const wchar_t kGetPreferredBrightnessRegKey[] = - L"Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize"; -constexpr const wchar_t kGetPreferredBrightnessRegValue[] = L"AppsUseLightTheme"; - -// The number of Win32Window objects that currently exist. -static int g_active_window_count = 0; - -using EnableNonClientDpiScaling = BOOL __stdcall(HWND hwnd); - -// Scale helper to convert logical scaler values to physical using passed in -// scale factor -int Scale(int source, double scale_factor) { - return static_cast(source * scale_factor); -} - -// Dynamically loads the |EnableNonClientDpiScaling| from the User32 module. -// This API is only needed for PerMonitor V1 awareness mode. -void EnableFullDpiSupportIfAvailable(HWND hwnd) { - HMODULE user32_module = LoadLibraryA("User32.dll"); - if (!user32_module) { - return; - } - auto enable_non_client_dpi_scaling = - reinterpret_cast( - GetProcAddress(user32_module, "EnableNonClientDpiScaling")); - if (enable_non_client_dpi_scaling != nullptr) { - enable_non_client_dpi_scaling(hwnd); - } - FreeLibrary(user32_module); -} - -} // namespace - -// Manages the Win32Window's window class registration. -class WindowClassRegistrar { - public: - ~WindowClassRegistrar() = default; - - // Returns the singleton registrar instance. - static WindowClassRegistrar* GetInstance() { - if (!instance_) { - instance_ = new WindowClassRegistrar(); - } - return instance_; - } - - // Returns the name of the window class, registering the class if it hasn't - // previously been registered. - const wchar_t* GetWindowClass(); - - // Unregisters the window class. Should only be called if there are no - // instances of the window. - void UnregisterWindowClass(); - - private: - WindowClassRegistrar() = default; - - static WindowClassRegistrar* instance_; - - bool class_registered_ = false; -}; - -WindowClassRegistrar* WindowClassRegistrar::instance_ = nullptr; - -const wchar_t* WindowClassRegistrar::GetWindowClass() { - if (!class_registered_) { - WNDCLASS window_class{}; - window_class.hCursor = LoadCursor(nullptr, IDC_ARROW); - window_class.lpszClassName = kWindowClassName; - window_class.style = CS_HREDRAW | CS_VREDRAW; - window_class.cbClsExtra = 0; - window_class.cbWndExtra = 0; - window_class.hInstance = GetModuleHandle(nullptr); - window_class.hIcon = - LoadIcon(window_class.hInstance, MAKEINTRESOURCE(IDI_APP_ICON)); - window_class.hbrBackground = 0; - window_class.lpszMenuName = nullptr; - window_class.lpfnWndProc = Win32Window::WndProc; - RegisterClass(&window_class); - class_registered_ = true; - } - return kWindowClassName; -} - -void WindowClassRegistrar::UnregisterWindowClass() { - UnregisterClass(kWindowClassName, nullptr); - class_registered_ = false; -} - -Win32Window::Win32Window() { - ++g_active_window_count; -} - -Win32Window::~Win32Window() { - --g_active_window_count; - Destroy(); -} - -bool Win32Window::Create(const std::wstring& title, - const Point& origin, - const Size& size) { - Destroy(); - - const wchar_t* window_class = - WindowClassRegistrar::GetInstance()->GetWindowClass(); - - const POINT target_point = {static_cast(origin.x), - static_cast(origin.y)}; - HMONITOR monitor = MonitorFromPoint(target_point, MONITOR_DEFAULTTONEAREST); - UINT dpi = FlutterDesktopGetDpiForMonitor(monitor); - double scale_factor = dpi / 96.0; - - HWND window = CreateWindow( - window_class, title.c_str(), WS_OVERLAPPEDWINDOW, - Scale(origin.x, scale_factor), Scale(origin.y, scale_factor), - Scale(size.width, scale_factor), Scale(size.height, scale_factor), - nullptr, nullptr, GetModuleHandle(nullptr), this); - - if (!window) { - return false; - } - - UpdateTheme(window); - - return OnCreate(); -} - -bool Win32Window::Show() { - return ShowWindow(window_handle_, SW_SHOWNORMAL); -} - -// static -LRESULT CALLBACK Win32Window::WndProc(HWND const window, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept { - if (message == WM_NCCREATE) { - auto window_struct = reinterpret_cast(lparam); - SetWindowLongPtr(window, GWLP_USERDATA, - reinterpret_cast(window_struct->lpCreateParams)); - - auto that = static_cast(window_struct->lpCreateParams); - EnableFullDpiSupportIfAvailable(window); - that->window_handle_ = window; - } else if (Win32Window* that = GetThisFromHandle(window)) { - return that->MessageHandler(window, message, wparam, lparam); - } - - return DefWindowProc(window, message, wparam, lparam); -} - -LRESULT -Win32Window::MessageHandler(HWND hwnd, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept { - switch (message) { - case WM_DESTROY: - window_handle_ = nullptr; - Destroy(); - if (quit_on_close_) { - PostQuitMessage(0); - } - return 0; - - case WM_DPICHANGED: { - auto newRectSize = reinterpret_cast(lparam); - LONG newWidth = newRectSize->right - newRectSize->left; - LONG newHeight = newRectSize->bottom - newRectSize->top; - - SetWindowPos(hwnd, nullptr, newRectSize->left, newRectSize->top, newWidth, - newHeight, SWP_NOZORDER | SWP_NOACTIVATE); - - return 0; - } - case WM_SIZE: { - RECT rect = GetClientArea(); - if (child_content_ != nullptr) { - // Size and position the child window. - MoveWindow(child_content_, rect.left, rect.top, rect.right - rect.left, - rect.bottom - rect.top, TRUE); - } - return 0; - } - - case WM_ACTIVATE: - if (child_content_ != nullptr) { - SetFocus(child_content_); - } - return 0; - - case WM_DWMCOLORIZATIONCOLORCHANGED: - UpdateTheme(hwnd); - return 0; - } - - return DefWindowProc(window_handle_, message, wparam, lparam); -} - -void Win32Window::Destroy() { - OnDestroy(); - - if (window_handle_) { - DestroyWindow(window_handle_); - window_handle_ = nullptr; - } - if (g_active_window_count == 0) { - WindowClassRegistrar::GetInstance()->UnregisterWindowClass(); - } -} - -Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept { - return reinterpret_cast( - GetWindowLongPtr(window, GWLP_USERDATA)); -} - -void Win32Window::SetChildContent(HWND content) { - child_content_ = content; - SetParent(content, window_handle_); - RECT frame = GetClientArea(); - - MoveWindow(content, frame.left, frame.top, frame.right - frame.left, - frame.bottom - frame.top, true); - - SetFocus(child_content_); -} - -RECT Win32Window::GetClientArea() { - RECT frame; - GetClientRect(window_handle_, &frame); - return frame; -} - -HWND Win32Window::GetHandle() { - return window_handle_; -} - -void Win32Window::SetQuitOnClose(bool quit_on_close) { - quit_on_close_ = quit_on_close; -} - -bool Win32Window::OnCreate() { - // No-op; provided for subclasses. - return true; -} - -void Win32Window::OnDestroy() { - // No-op; provided for subclasses. -} - -void Win32Window::UpdateTheme(HWND const window) { - DWORD light_mode; - DWORD light_mode_size = sizeof(light_mode); - LSTATUS result = RegGetValue(HKEY_CURRENT_USER, kGetPreferredBrightnessRegKey, - kGetPreferredBrightnessRegValue, - RRF_RT_REG_DWORD, nullptr, &light_mode, - &light_mode_size); - - if (result == ERROR_SUCCESS) { - BOOL enable_dark_mode = light_mode == 0; - DwmSetWindowAttribute(window, DWMWA_USE_IMMERSIVE_DARK_MODE, - &enable_dark_mode, sizeof(enable_dark_mode)); - } -} diff --git a/apps/apps/client/windows/runner/win32_window.h b/apps/apps/client/windows/runner/win32_window.h deleted file mode 100644 index e901dde6..00000000 --- a/apps/apps/client/windows/runner/win32_window.h +++ /dev/null @@ -1,102 +0,0 @@ -#ifndef RUNNER_WIN32_WINDOW_H_ -#define RUNNER_WIN32_WINDOW_H_ - -#include - -#include -#include -#include - -// A class abstraction for a high DPI-aware Win32 Window. Intended to be -// inherited from by classes that wish to specialize with custom -// rendering and input handling -class Win32Window { - public: - struct Point { - unsigned int x; - unsigned int y; - Point(unsigned int x, unsigned int y) : x(x), y(y) {} - }; - - struct Size { - unsigned int width; - unsigned int height; - Size(unsigned int width, unsigned int height) - : width(width), height(height) {} - }; - - Win32Window(); - virtual ~Win32Window(); - - // Creates a win32 window with |title| that is positioned and sized using - // |origin| and |size|. New windows are created on the default monitor. Window - // sizes are specified to the OS in physical pixels, hence to ensure a - // consistent size this function will scale the inputted width and height as - // as appropriate for the default monitor. The window is invisible until - // |Show| is called. Returns true if the window was created successfully. - bool Create(const std::wstring& title, const Point& origin, const Size& size); - - // Show the current window. Returns true if the window was successfully shown. - bool Show(); - - // Release OS resources associated with window. - void Destroy(); - - // Inserts |content| into the window tree. - void SetChildContent(HWND content); - - // Returns the backing Window handle to enable clients to set icon and other - // window properties. Returns nullptr if the window has been destroyed. - HWND GetHandle(); - - // If true, closing this window will quit the application. - void SetQuitOnClose(bool quit_on_close); - - // Return a RECT representing the bounds of the current client area. - RECT GetClientArea(); - - protected: - // Processes and route salient window messages for mouse handling, - // size change and DPI. Delegates handling of these to member overloads that - // inheriting classes can handle. - virtual LRESULT MessageHandler(HWND window, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept; - - // Called when CreateAndShow is called, allowing subclass window-related - // setup. Subclasses should return false if setup fails. - virtual bool OnCreate(); - - // Called when Destroy is called. - virtual void OnDestroy(); - - private: - friend class WindowClassRegistrar; - - // OS callback called by message pump. Handles the WM_NCCREATE message which - // is passed when the non-client area is being created and enables automatic - // non-client DPI scaling so that the non-client area automatically - // responds to changes in DPI. All other messages are handled by - // MessageHandler. - static LRESULT CALLBACK WndProc(HWND const window, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept; - - // Retrieves a class instance pointer for |window| - static Win32Window* GetThisFromHandle(HWND const window) noexcept; - - // Update the window frame's theme to match the system theme. - static void UpdateTheme(HWND const window); - - bool quit_on_close_ = false; - - // window handle for top level window. - HWND window_handle_ = nullptr; - - // window handle for hosted content. - HWND child_content_ = nullptr; -}; - -#endif // RUNNER_WIN32_WINDOW_H_ diff --git a/apps/apps/design_system_viewer/.gitignore b/apps/apps/design_system_viewer/.gitignore deleted file mode 100644 index 3820a95c..00000000 --- a/apps/apps/design_system_viewer/.gitignore +++ /dev/null @@ -1,45 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.build/ -.buildlog/ -.history -.svn/ -.swiftpm/ -migrate_working_dir/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins-dependencies -.pub-cache/ -.pub/ -/build/ -/coverage/ - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Android Studio will place build artifacts here -/android/app/debug -/android/app/profile -/android/app/release diff --git a/apps/apps/design_system_viewer/.metadata b/apps/apps/design_system_viewer/.metadata deleted file mode 100644 index 08c24780..00000000 --- a/apps/apps/design_system_viewer/.metadata +++ /dev/null @@ -1,45 +0,0 @@ -# This file tracks properties of this Flutter project. -# Used by Flutter tool to assess capabilities and perform upgrades etc. -# -# This file should be version controlled and should not be manually edited. - -version: - revision: "3b62efc2a3da49882f43c372e0bc53daef7295a6" - channel: "stable" - -project_type: app - -# Tracks metadata for the flutter migrate command -migration: - platforms: - - platform: root - create_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - base_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - - platform: android - create_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - base_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - - platform: ios - create_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - base_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - - platform: linux - create_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - base_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - - platform: macos - create_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - base_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - - platform: web - create_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - base_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - - platform: windows - create_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - base_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - - # User provided section - - # List of Local paths (relative to this file) that should be - # ignored by the migrate tool. - # - # Files that are not part of the templates will be ignored by default. - unmanaged_files: - - 'lib/main.dart' - - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/apps/apps/design_system_viewer/analysis_options.yaml b/apps/apps/design_system_viewer/analysis_options.yaml deleted file mode 100644 index 856be8f8..00000000 --- a/apps/apps/design_system_viewer/analysis_options.yaml +++ /dev/null @@ -1 +0,0 @@ -include: ../../analytics_options.yaml \ No newline at end of file diff --git a/apps/apps/design_system_viewer/android/.gitignore b/apps/apps/design_system_viewer/android/.gitignore deleted file mode 100644 index be3943c9..00000000 --- a/apps/apps/design_system_viewer/android/.gitignore +++ /dev/null @@ -1,14 +0,0 @@ -gradle-wrapper.jar -/.gradle -/captures/ -/gradlew -/gradlew.bat -/local.properties -GeneratedPluginRegistrant.java -.cxx/ - -# Remember to never publicly share your keystore. -# See https://flutter.dev/to/reference-keystore -key.properties -**/*.keystore -**/*.jks diff --git a/apps/apps/design_system_viewer/android/app/build.gradle.kts b/apps/apps/design_system_viewer/android/app/build.gradle.kts deleted file mode 100644 index ba883b72..00000000 --- a/apps/apps/design_system_viewer/android/app/build.gradle.kts +++ /dev/null @@ -1,44 +0,0 @@ -plugins { - id("com.android.application") - id("kotlin-android") - // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. - id("dev.flutter.flutter-gradle-plugin") -} - -android { - namespace = "com.example.krow_design_system_viewer" - compileSdk = flutter.compileSdkVersion - ndkVersion = flutter.ndkVersion - - compileOptions { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 - } - - kotlinOptions { - jvmTarget = JavaVersion.VERSION_17.toString() - } - - defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId = "com.example.krow_design_system_viewer" - // You can update the following values to match your application needs. - // For more information, see: https://flutter.dev/to/review-gradle-config. - minSdk = flutter.minSdkVersion - targetSdk = flutter.targetSdkVersion - versionCode = flutter.versionCode - versionName = flutter.versionName - } - - buildTypes { - release { - // TODO: Add your own signing config for the release build. - // Signing with the debug keys for now, so `flutter run --release` works. - signingConfig = signingConfigs.getByName("debug") - } - } -} - -flutter { - source = "../.." -} diff --git a/apps/apps/design_system_viewer/android/app/src/debug/AndroidManifest.xml b/apps/apps/design_system_viewer/android/app/src/debug/AndroidManifest.xml deleted file mode 100644 index 399f6981..00000000 --- a/apps/apps/design_system_viewer/android/app/src/debug/AndroidManifest.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/apps/apps/design_system_viewer/android/app/src/main/AndroidManifest.xml b/apps/apps/design_system_viewer/android/app/src/main/AndroidManifest.xml deleted file mode 100644 index 4ee81882..00000000 --- a/apps/apps/design_system_viewer/android/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/design_system_viewer/android/app/src/main/kotlin/com/example/krow_design_system_viewer/MainActivity.kt b/apps/apps/design_system_viewer/android/app/src/main/kotlin/com/example/krow_design_system_viewer/MainActivity.kt deleted file mode 100644 index 9f6aa558..00000000 --- a/apps/apps/design_system_viewer/android/app/src/main/kotlin/com/example/krow_design_system_viewer/MainActivity.kt +++ /dev/null @@ -1,5 +0,0 @@ -package com.example.krow_design_system_viewer - -import io.flutter.embedding.android.FlutterActivity - -class MainActivity : FlutterActivity() diff --git a/apps/apps/design_system_viewer/android/app/src/main/res/drawable-v21/launch_background.xml b/apps/apps/design_system_viewer/android/app/src/main/res/drawable-v21/launch_background.xml deleted file mode 100644 index f74085f3..00000000 --- a/apps/apps/design_system_viewer/android/app/src/main/res/drawable-v21/launch_background.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/apps/apps/design_system_viewer/android/app/src/main/res/drawable/launch_background.xml b/apps/apps/design_system_viewer/android/app/src/main/res/drawable/launch_background.xml deleted file mode 100644 index 304732f8..00000000 --- a/apps/apps/design_system_viewer/android/app/src/main/res/drawable/launch_background.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/apps/apps/design_system_viewer/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/apps/apps/design_system_viewer/android/app/src/main/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index db77bb4b7b0906d62b1847e87f15cdcacf6a4f29..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 544 zcmeAS@N?(olHy`uVBq!ia0vp^9w5xY3?!3`olAj~WQl7;NpOBzNqJ&XDuZK6ep0G} zXKrG8YEWuoN@d~6R2!h8bpbvhu0Wd6uZuB!w&u2PAxD2eNXD>P5D~Wn-+_Wa#27Xc zC?Zj|6r#X(-D3u$NCt}(Ms06KgJ4FxJVv{GM)!I~&n8Bnc94O7-Hd)cjDZswgC;Qs zO=b+9!WcT8F?0rF7!Uys2bs@gozCP?z~o%U|N3vA*22NaGQG zlg@K`O_XuxvZ&Ks^m&R!`&1=spLvfx7oGDKDwpwW`#iqdw@AL`7MR}m`rwr|mZgU`8P7SBkL78fFf!WnuYWm$5Z0 zNXhDbCv&49sM544K|?c)WrFfiZvCi9h0O)B3Pgg&ebxsLQ05GG~ AQ2+n{ diff --git a/apps/apps/design_system_viewer/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/apps/apps/design_system_viewer/android/app/src/main/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index 17987b79bb8a35cc66c3c1fd44f5a5526c1b78be..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 442 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA3?vioaBc-sk|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*D5Xx&nMcT!A!W`0S9QKQy;}1Cl^CgaH=;G9cpY;r$Q>i*pfB zP2drbID<_#qf;rPZx^FqH)F_D#*k@@q03KywUtLX8Ua?`H+NMzkczFPK3lFz@i_kW%1NOn0|D2I9n9wzH8m|-tHjsw|9>@K=iMBhxvkv6m8Y-l zytQ?X=U+MF$@3 zt`~i=@j|6y)RWMK--}M|=T`o&^Ni>IoWKHEbBXz7?A@mgWoL>!*SXo`SZH-*HSdS+ yn*9;$7;m`l>wYBC5bq;=U}IMqLzqbYCidGC!)_gkIk_C@Uy!y&wkt5C($~2D>~)O*cj@FGjOCM)M>_ixfudOh)?xMu#Fs z#}Y=@YDTwOM)x{K_j*Q;dPdJ?Mz0n|pLRx{4n|)f>SXlmV)XB04CrSJn#dS5nK2lM zrZ9#~WelCp7&e13Y$jvaEXHskn$2V!!DN-nWS__6T*l;H&Fopn?A6HZ-6WRLFP=R` zqG+CE#d4|IbyAI+rJJ`&x9*T`+a=p|0O(+s{UBcyZdkhj=yS1>AirP+0R;mf2uMgM zC}@~JfByORAh4SyRgi&!(cja>F(l*O+nd+@4m$|6K6KDn_&uvCpV23&>G9HJp{xgg zoq1^2_p9@|WEo z*X_Uko@K)qYYv~>43eQGMdbiGbo>E~Q& zrYBH{QP^@Sti!`2)uG{irBBq@y*$B zi#&(U-*=fp74j)RyIw49+0MRPMRU)+a2r*PJ$L5roHt2$UjExCTZSbq%V!HeS7J$N zdG@vOZB4v_lF7Plrx+hxo7(fCV&}fHq)$ diff --git a/apps/apps/design_system_viewer/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/apps/apps/design_system_viewer/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index d5f1c8d34e7a88e3f88bea192c3a370d44689c3c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1031 zcmeAS@N?(olHy`uVBq!ia0vp^6F``Q8Ax83A=Cw=BuiW)N`mv#O3D+9QW+dm@{>{( zJaZG%Q-e|yQz{EjrrIztFa`(sgt!6~Yi|1%a`XoT0ojZ}lNrNjb9xjc(B0U1_% zz5^97Xt*%oq$rQy4?0GKNfJ44uvxI)gC`h-NZ|&0-7(qS@?b!5r36oQ}zyZrNO3 zMO=Or+<~>+A&uN&E!^Sl+>xE!QC-|oJv`ApDhqC^EWD|@=#J`=d#Xzxs4ah}w&Jnc z$|q_opQ^2TrnVZ0o~wh<3t%W&flvYGe#$xqda2bR_R zvPYgMcHgjZ5nSA^lJr%;<&0do;O^tDDh~=pIxA#coaCY>&N%M2^tq^U%3DB@ynvKo}b?yu-bFc-u0JHzced$sg7S3zqI(2 z#Km{dPr7I=pQ5>FuK#)QwK?Y`E`B?nP+}U)I#c1+FM*1kNvWG|a(TpksZQ3B@sD~b zpQ2)*V*TdwjFOtHvV|;OsiDqHi=6%)o4b!)x$)%9pGTsE z-JL={-Ffv+T87W(Xpooq<`r*VzWQcgBN$$`u}f>-ZQI1BB8ykN*=e4rIsJx9>z}*o zo~|9I;xof diff --git a/apps/apps/design_system_viewer/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/apps/apps/design_system_viewer/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 4d6372eebdb28e45604e46eeda8dd24651419bc0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1443 zcmb`G{WsKk6vsdJTdFg%tJav9_E4vzrOaqkWF|A724Nly!y+?N9`YV6wZ}5(X(D_N(?!*n3`|_r0Hc?=PQw&*vnU?QTFY zB_MsH|!j$PP;I}?dppoE_gA(4uc!jV&0!l7_;&p2^pxNo>PEcNJv za5_RT$o2Mf!<+r?&EbHH6nMoTsDOa;mN(wv8RNsHpG)`^ymG-S5By8=l9iVXzN_eG%Xg2@Xeq76tTZ*dGh~Lo9vl;Zfs+W#BydUw zCkZ$o1LqWQO$FC9aKlLl*7x9^0q%0}$OMlp@Kk_jHXOjofdePND+j!A{q!8~Jn+s3 z?~~w@4?egS02}8NuulUA=L~QQfm;MzCGd)XhiftT;+zFO&JVyp2mBww?;QByS_1w! zrQlx%{^cMj0|Bo1FjwY@Q8?Hx0cIPF*@-ZRFpPc#bBw{5@tD(5%sClzIfl8WU~V#u zm5Q;_F!wa$BSpqhN>W@2De?TKWR*!ujY;Yylk_X5#~V!L*Gw~;$%4Q8~Mad z@`-kG?yb$a9cHIApZDVZ^U6Xkp<*4rU82O7%}0jjHlK{id@?-wpN*fCHXyXh(bLt* zPc}H-x0e4E&nQ>y%B-(EL=9}RyC%MyX=upHuFhAk&MLbsF0LP-q`XnH78@fT+pKPW zu72MW`|?8ht^tz$iC}ZwLp4tB;Q49K!QCF3@!iB1qOI=?w z7In!}F~ij(18UYUjnbmC!qKhPo%24?8U1x{7o(+?^Zu0Hx81|FuS?bJ0jgBhEMzf< zCgUq7r2OCB(`XkKcN-TL>u5y#dD6D!)5W?`O5)V^>jb)P)GBdy%t$uUMpf$SNV31$ zb||OojAbvMP?T@$h_ZiFLFVHDmbyMhJF|-_)HX3%m=CDI+ID$0^C>kzxprBW)hw(v zr!Gmda);ICoQyhV_oP5+C%?jcG8v+D@9f?Dk*!BxY}dazmrT@64UrP3hlslANK)bq z$67n83eh}OeW&SV@HG95P|bjfqJ7gw$e+`Hxo!4cx`jdK1bJ>YDSpGKLPZ^1cv$ek zIB?0S<#tX?SJCLWdMd{-ME?$hc7A$zBOdIJ)4!KcAwb=VMov)nK;9z>x~rfT1>dS+ zZ6#`2v@`jgbqq)P22H)Tx2CpmM^o1$B+xT6`(v%5xJ(?j#>Q$+rx_R|7TzDZe{J6q zG1*EcU%tE?!kO%^M;3aM6JN*LAKUVb^xz8-Pxo#jR5(-KBeLJvA@-gxNHx0M-ZJLl z;#JwQoh~9V?`UVo#}{6ka@II>++D@%KqGpMdlQ}?9E*wFcf5(#XQnP$Dk5~%iX^>f z%$y;?M0BLp{O3a(-4A?ewryHrrD%cx#Q^%KY1H zNre$ve+vceSLZcNY4U(RBX&)oZn*Py()h)XkE?PL$!bNb{N5FVI2Y%LKEm%yvpyTP z(1P?z~7YxD~Rf<(a@_y` diff --git a/apps/apps/design_system_viewer/android/app/src/main/res/values-night/styles.xml b/apps/apps/design_system_viewer/android/app/src/main/res/values-night/styles.xml deleted file mode 100644 index 06952be7..00000000 --- a/apps/apps/design_system_viewer/android/app/src/main/res/values-night/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - diff --git a/apps/apps/design_system_viewer/android/app/src/main/res/values/styles.xml b/apps/apps/design_system_viewer/android/app/src/main/res/values/styles.xml deleted file mode 100644 index cb1ef880..00000000 --- a/apps/apps/design_system_viewer/android/app/src/main/res/values/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - diff --git a/apps/apps/design_system_viewer/android/app/src/profile/AndroidManifest.xml b/apps/apps/design_system_viewer/android/app/src/profile/AndroidManifest.xml deleted file mode 100644 index 399f6981..00000000 --- a/apps/apps/design_system_viewer/android/app/src/profile/AndroidManifest.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/apps/apps/design_system_viewer/android/build.gradle.kts b/apps/apps/design_system_viewer/android/build.gradle.kts deleted file mode 100644 index dbee657b..00000000 --- a/apps/apps/design_system_viewer/android/build.gradle.kts +++ /dev/null @@ -1,24 +0,0 @@ -allprojects { - repositories { - google() - mavenCentral() - } -} - -val newBuildDir: Directory = - rootProject.layout.buildDirectory - .dir("../../build") - .get() -rootProject.layout.buildDirectory.value(newBuildDir) - -subprojects { - val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name) - project.layout.buildDirectory.value(newSubprojectBuildDir) -} -subprojects { - project.evaluationDependsOn(":app") -} - -tasks.register("clean") { - delete(rootProject.layout.buildDirectory) -} diff --git a/apps/apps/design_system_viewer/android/gradle.properties b/apps/apps/design_system_viewer/android/gradle.properties deleted file mode 100644 index fbee1d8c..00000000 --- a/apps/apps/design_system_viewer/android/gradle.properties +++ /dev/null @@ -1,2 +0,0 @@ -org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError -android.useAndroidX=true diff --git a/apps/apps/design_system_viewer/android/gradle/wrapper/gradle-wrapper.properties b/apps/apps/design_system_viewer/android/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index e4ef43fb..00000000 --- a/apps/apps/design_system_viewer/android/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,5 +0,0 @@ -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-all.zip diff --git a/apps/apps/design_system_viewer/android/settings.gradle.kts b/apps/apps/design_system_viewer/android/settings.gradle.kts deleted file mode 100644 index ca7fe065..00000000 --- a/apps/apps/design_system_viewer/android/settings.gradle.kts +++ /dev/null @@ -1,26 +0,0 @@ -pluginManagement { - val flutterSdkPath = - run { - val properties = java.util.Properties() - file("local.properties").inputStream().use { properties.load(it) } - val flutterSdkPath = properties.getProperty("flutter.sdk") - require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" } - flutterSdkPath - } - - includeBuild("$flutterSdkPath/packages/flutter_tools/gradle") - - repositories { - google() - mavenCentral() - gradlePluginPortal() - } -} - -plugins { - id("dev.flutter.flutter-plugin-loader") version "1.0.0" - id("com.android.application") version "8.11.1" apply false - id("org.jetbrains.kotlin.android") version "2.2.20" apply false -} - -include(":app") diff --git a/apps/apps/design_system_viewer/ios/.gitignore b/apps/apps/design_system_viewer/ios/.gitignore deleted file mode 100644 index 7a7f9873..00000000 --- a/apps/apps/design_system_viewer/ios/.gitignore +++ /dev/null @@ -1,34 +0,0 @@ -**/dgph -*.mode1v3 -*.mode2v3 -*.moved-aside -*.pbxuser -*.perspectivev3 -**/*sync/ -.sconsign.dblite -.tags* -**/.vagrant/ -**/DerivedData/ -Icon? -**/Pods/ -**/.symlinks/ -profile -xcuserdata -**/.generated/ -Flutter/App.framework -Flutter/Flutter.framework -Flutter/Flutter.podspec -Flutter/Generated.xcconfig -Flutter/ephemeral/ -Flutter/app.flx -Flutter/app.zip -Flutter/flutter_assets/ -Flutter/flutter_export_environment.sh -ServiceDefinitions.json -Runner/GeneratedPluginRegistrant.* - -# Exceptions to above rules. -!default.mode1v3 -!default.mode2v3 -!default.pbxuser -!default.perspectivev3 diff --git a/apps/apps/design_system_viewer/ios/Flutter/AppFrameworkInfo.plist b/apps/apps/design_system_viewer/ios/Flutter/AppFrameworkInfo.plist deleted file mode 100644 index 1dc6cf76..00000000 --- a/apps/apps/design_system_viewer/ios/Flutter/AppFrameworkInfo.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - App - CFBundleIdentifier - io.flutter.flutter.app - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - App - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - MinimumOSVersion - 13.0 - - diff --git a/apps/apps/design_system_viewer/ios/Flutter/Debug.xcconfig b/apps/apps/design_system_viewer/ios/Flutter/Debug.xcconfig deleted file mode 100644 index 592ceee8..00000000 --- a/apps/apps/design_system_viewer/ios/Flutter/Debug.xcconfig +++ /dev/null @@ -1 +0,0 @@ -#include "Generated.xcconfig" diff --git a/apps/apps/design_system_viewer/ios/Flutter/Release.xcconfig b/apps/apps/design_system_viewer/ios/Flutter/Release.xcconfig deleted file mode 100644 index 592ceee8..00000000 --- a/apps/apps/design_system_viewer/ios/Flutter/Release.xcconfig +++ /dev/null @@ -1 +0,0 @@ -#include "Generated.xcconfig" diff --git a/apps/apps/design_system_viewer/ios/Runner.xcodeproj/project.pbxproj b/apps/apps/design_system_viewer/ios/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index c782926e..00000000 --- a/apps/apps/design_system_viewer/ios/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,616 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 54; - objects = { - -/* Begin PBXBuildFile section */ - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; - 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; }; - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 97C146E61CF9000F007C117D /* Project object */; - proxyType = 1; - remoteGlobalIDString = 97C146ED1CF9000F007C117D; - remoteInfo = Runner; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 9705A1C41CF9048500538489 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; - 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; - 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; - 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; - 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 97C146EB1CF9000F007C117D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 331C8082294A63A400263BE5 /* RunnerTests */ = { - isa = PBXGroup; - children = ( - 331C807B294A618700263BE5 /* RunnerTests.swift */, - ); - path = RunnerTests; - sourceTree = ""; - }; - 9740EEB11CF90186004384FC /* Flutter */ = { - isa = PBXGroup; - children = ( - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 9740EEB31CF90195004384FC /* Generated.xcconfig */, - ); - name = Flutter; - sourceTree = ""; - }; - 97C146E51CF9000F007C117D = { - isa = PBXGroup; - children = ( - 9740EEB11CF90186004384FC /* Flutter */, - 97C146F01CF9000F007C117D /* Runner */, - 97C146EF1CF9000F007C117D /* Products */, - 331C8082294A63A400263BE5 /* RunnerTests */, - ); - sourceTree = ""; - }; - 97C146EF1CF9000F007C117D /* Products */ = { - isa = PBXGroup; - children = ( - 97C146EE1CF9000F007C117D /* Runner.app */, - 331C8081294A63A400263BE5 /* RunnerTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 97C146F01CF9000F007C117D /* Runner */ = { - isa = PBXGroup; - children = ( - 97C146FA1CF9000F007C117D /* Main.storyboard */, - 97C146FD1CF9000F007C117D /* Assets.xcassets */, - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, - 97C147021CF9000F007C117D /* Info.plist */, - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, - ); - path = Runner; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 331C8080294A63A400263BE5 /* RunnerTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; - buildPhases = ( - 331C807D294A63A400263BE5 /* Sources */, - 331C807F294A63A400263BE5 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 331C8086294A63A400263BE5 /* PBXTargetDependency */, - ); - name = RunnerTests; - productName = RunnerTests; - productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 97C146ED1CF9000F007C117D /* Runner */ = { - isa = PBXNativeTarget; - buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; - buildPhases = ( - 9740EEB61CF901F6004384FC /* Run Script */, - 97C146EA1CF9000F007C117D /* Sources */, - 97C146EB1CF9000F007C117D /* Frameworks */, - 97C146EC1CF9000F007C117D /* Resources */, - 9705A1C41CF9048500538489 /* Embed Frameworks */, - 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Runner; - productName = Runner; - productReference = 97C146EE1CF9000F007C117D /* Runner.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 97C146E61CF9000F007C117D /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = YES; - LastUpgradeCheck = 1510; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 331C8080294A63A400263BE5 = { - CreatedOnToolsVersion = 14.0; - TestTargetID = 97C146ED1CF9000F007C117D; - }; - 97C146ED1CF9000F007C117D = { - CreatedOnToolsVersion = 7.3.1; - LastSwiftMigration = 1100; - }; - }; - }; - buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 97C146E51CF9000F007C117D; - productRefGroup = 97C146EF1CF9000F007C117D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 97C146ED1CF9000F007C117D /* Runner */, - 331C8080294A63A400263BE5 /* RunnerTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 331C807F294A63A400263BE5 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EC1CF9000F007C117D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", - ); - name = "Thin Binary"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; - }; - 9740EEB61CF901F6004384FC /* Run Script */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Run Script"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 331C807D294A63A400263BE5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EA1CF9000F007C117D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 331C8086294A63A400263BE5 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 97C146ED1CF9000F007C117D /* Runner */; - targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 97C146FA1CF9000F007C117D /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C146FB1CF9000F007C117D /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C147001CF9000F007C117D /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 249021D3217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Profile; - }; - 249021D4217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.krowDesignSystemViewer; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Profile; - }; - 331C8088294A63A400263BE5 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.krowDesignSystemViewer.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Debug; - }; - 331C8089294A63A400263BE5 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.krowDesignSystemViewer.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Release; - }; - 331C808A294A63A400263BE5 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.krowDesignSystemViewer.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Profile; - }; - 97C147031CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 97C147041CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 97C147061CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.krowDesignSystemViewer; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Debug; - }; - 97C147071CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.krowDesignSystemViewer; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 331C8088294A63A400263BE5 /* Debug */, - 331C8089294A63A400263BE5 /* Release */, - 331C808A294A63A400263BE5 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147031CF9000F007C117D /* Debug */, - 97C147041CF9000F007C117D /* Release */, - 249021D3217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147061CF9000F007C117D /* Debug */, - 97C147071CF9000F007C117D /* Release */, - 249021D4217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 97C146E61CF9000F007C117D /* Project object */; -} diff --git a/apps/apps/design_system_viewer/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/apps/apps/design_system_viewer/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a6..00000000 --- a/apps/apps/design_system_viewer/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/apps/apps/design_system_viewer/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/apps/apps/design_system_viewer/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d98100..00000000 --- a/apps/apps/design_system_viewer/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/apps/apps/design_system_viewer/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/apps/apps/design_system_viewer/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5..00000000 --- a/apps/apps/design_system_viewer/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/apps/apps/design_system_viewer/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/apps/apps/design_system_viewer/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme deleted file mode 100644 index e3773d42..00000000 --- a/apps/apps/design_system_viewer/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/design_system_viewer/ios/Runner.xcworkspace/contents.xcworkspacedata b/apps/apps/design_system_viewer/ios/Runner.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 1d526a16..00000000 --- a/apps/apps/design_system_viewer/ios/Runner.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/apps/apps/design_system_viewer/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/apps/apps/design_system_viewer/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d98100..00000000 --- a/apps/apps/design_system_viewer/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/apps/apps/design_system_viewer/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/apps/apps/design_system_viewer/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5..00000000 --- a/apps/apps/design_system_viewer/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/apps/apps/design_system_viewer/ios/Runner/AppDelegate.swift b/apps/apps/design_system_viewer/ios/Runner/AppDelegate.swift deleted file mode 100644 index 62666446..00000000 --- a/apps/apps/design_system_viewer/ios/Runner/AppDelegate.swift +++ /dev/null @@ -1,13 +0,0 @@ -import Flutter -import UIKit - -@main -@objc class AppDelegate: FlutterAppDelegate { - override func application( - _ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? - ) -> Bool { - GeneratedPluginRegistrant.register(with: self) - return super.application(application, didFinishLaunchingWithOptions: launchOptions) - } -} diff --git a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d36b1fab..00000000 --- a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "images" : [ - { - "size" : "20x20", - "idiom" : "iphone", - "filename" : "Icon-App-20x20@2x.png", - "scale" : "2x" - }, - { - "size" : "20x20", - "idiom" : "iphone", - "filename" : "Icon-App-20x20@3x.png", - "scale" : "3x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@1x.png", - "scale" : "1x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@2x.png", - "scale" : "2x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@3x.png", - "scale" : "3x" - }, - { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "Icon-App-40x40@2x.png", - "scale" : "2x" - }, - { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "Icon-App-40x40@3x.png", - "scale" : "3x" - }, - { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "Icon-App-60x60@2x.png", - "scale" : "2x" - }, - { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "Icon-App-60x60@3x.png", - "scale" : "3x" - }, - { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "Icon-App-20x20@1x.png", - "scale" : "1x" - }, - { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "Icon-App-20x20@2x.png", - "scale" : "2x" - }, - { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "Icon-App-29x29@1x.png", - "scale" : "1x" - }, - { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "Icon-App-29x29@2x.png", - "scale" : "2x" - }, - { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-App-40x40@1x.png", - "scale" : "1x" - }, - { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-App-40x40@2x.png", - "scale" : "2x" - }, - { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "Icon-App-76x76@1x.png", - "scale" : "1x" - }, - { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "Icon-App-76x76@2x.png", - "scale" : "2x" - }, - { - "size" : "83.5x83.5", - "idiom" : "ipad", - "filename" : "Icon-App-83.5x83.5@2x.png", - "scale" : "2x" - }, - { - "size" : "1024x1024", - "idiom" : "ios-marketing", - "filename" : "Icon-App-1024x1024@1x.png", - "scale" : "1x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png deleted file mode 100644 index dc9ada4725e9b0ddb1deab583e5b5102493aa332..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10932 zcmeHN2~<R zh`|8`A_PQ1nSu(UMFx?8j8PC!!VDphaL#`F42fd#7Vlc`zIE4n%Y~eiz4y1j|NDpi z?<@|pSJ-HM`qifhf@m%MamgwK83`XpBA<+azdF#2QsT{X@z0A9Bq>~TVErigKH1~P zRX-!h-f0NJ4Mh++{D}J+K>~~rq}d%o%+4dogzXp7RxX4C>Km5XEI|PAFDmo;DFm6G zzjVoB`@qW98Yl0Kvc-9w09^PrsobmG*Eju^=3f?0o-t$U)TL1B3;sZ^!++3&bGZ!o-*6w?;oOhf z=A+Qb$scV5!RbG+&2S}BQ6YH!FKb0``VVX~T$dzzeSZ$&9=X$3)_7Z{SspSYJ!lGE z7yig_41zpQ)%5dr4ff0rh$@ky3-JLRk&DK)NEIHecf9c*?Z1bUB4%pZjQ7hD!A0r-@NF(^WKdr(LXj|=UE7?gBYGgGQV zidf2`ZT@pzXf7}!NH4q(0IMcxsUGDih(0{kRSez&z?CFA0RVXsVFw3^u=^KMtt95q z43q$b*6#uQDLoiCAF_{RFc{!H^moH_cmll#Fc^KXi{9GDl{>%+3qyfOE5;Zq|6#Hb zp^#1G+z^AXfRKaa9HK;%b3Ux~U@q?xg<2DXP%6k!3E)PA<#4$ui8eDy5|9hA5&{?v z(-;*1%(1~-NTQ`Is1_MGdQ{+i*ccd96ab$R$T3=% zw_KuNF@vI!A>>Y_2pl9L{9h1-C6H8<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SgnwW*eEz{_Z<_xN#0001NP)t-s|Ns9~ z#rXRE|M&d=0au&!`~QyF`q}dRnBDt}*!qXo`c{v z{Djr|@Adh0(D_%#_&mM$D6{kE_x{oE{l@J5@%H*?%=t~i_`ufYOPkAEn!pfkr2$fs z652Tz0001XNklqeeKN4RM4i{jKqmiC$?+xN>3Apn^ z0QfuZLym_5b<*QdmkHjHlj811{If)dl(Z2K0A+ekGtrFJb?g|wt#k#pV-#A~bK=OT ts8>{%cPtyC${m|1#B1A6#u!Q;umknL1chzTM$P~L002ovPDHLkV1lTfnu!1a diff --git a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png deleted file mode 100644 index 797d452e458972bab9d994556c8305db4c827017..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 406 zcmV;H0crk;P))>cdjpWt&rLJgVp-t?DREyuq1A%0Z4)6_WsQ7{nzjN zo!X zGXV)2i3kcZIL~_j>uIKPK_zib+3T+Nt3Mb&Br)s)UIaA}@p{wDda>7=Q|mGRp7pqY zkJ!7E{MNz$9nOwoVqpFb)}$IP24Wn2JJ=Cw(!`OXJBr45rP>>AQr$6c7slJWvbpNW z@KTwna6d?PP>hvXCcp=4F;=GR@R4E7{4VU^0p4F>v^#A|>07*qoM6N<$f*5nx ACIA2c diff --git a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png deleted file mode 100644 index 6ed2d933e1120817fe9182483a228007b18ab6ae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 450 zcmV;z0X_bSP)iGWQ_5NJQ_~rNh*z)}eT%KUb z`7gNk0#AwF^#0T0?hIa^`~Ck;!}#m+_uT050aTR(J!bU#|IzRL%^UsMS#KsYnTF*!YeDOytlP4VhV?b} z%rz_<=#CPc)tU1MZTq~*2=8~iZ!lSa<{9b@2Jl;?IEV8)=fG217*|@)CCYgFze-x? zIFODUIA>nWKpE+bn~n7;-89sa>#DR>TSlqWk*!2hSN6D~Qb#VqbP~4Fk&m`@1$JGr zXPIdeRE&b2Thd#{MtDK$px*d3-Wx``>!oimf%|A-&-q*6KAH)e$3|6JV%HX{Hig)k suLT-RhftRq8b9;(V=235Wa|I=027H2wCDra;{X5v07*qoM6N<$f;9x^2LJ#7 diff --git a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png deleted file mode 100644 index 4cd7b0099ca80c806f8fe495613e8d6c69460d76..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 282 zcmV+#0p(^bcu7P-R4C8Q z&e;xxFbF_Vrezo%_kH*OKhshZ6BFpG-Y1e10`QXJKbND7AMQ&cMj60B5TNObaZxYybcN07*qoM6N<$g3m;S%K!iX diff --git a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png deleted file mode 100644 index fe730945a01f64a61e2235dbe3f45b08f7729182..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 462 zcmV;<0WtoGP)-}iV`2<;=$?g5M=KQbZ{F&YRNy7Nn@%_*5{gvDM0aKI4?ESmw z{NnZg)A0R`+4?NF_RZexyVB&^^ZvN!{I28tr{Vje;QNTz`dG&Jz0~Ek&f2;*Z7>B|cg}xYpxEFY+0YrKLF;^Q+-HreN0P{&i zK~zY`?b7ECf-n?@;d<&orQ*Q7KoR%4|C>{W^h6@&01>0SKS`dn{Q}GT%Qj_{PLZ_& zs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png b/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png deleted file mode 100644 index 502f463a9bc882b461c96aadf492d1729e49e725..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 586 zcmV-Q0=4~#P)+}#`wDE{8-2Mebf5<{{PqV{TgVcv*r8?UZ3{-|G?_}T*&y;@cqf{ z{Q*~+qr%%p!1pS*_Uicl#q9lc(D`!D`LN62sNwq{oYw(Wmhk)k<@f$!$@ng~_5)Ru z0Z)trIA5^j{DIW^c+vT2%lW+2<(RtE2wR;4O@)Tm`Xr*?A(qYoM}7i5Yxw>D(&6ou zxz!_Xr~yNF+waPe00049Nkl*;a!v6h%{rlvIH#gW3s8p;bFr=l}mRqpW2h zw=OA%hdyL~z+UHOzl0eKhEr$YYOL-c-%Y<)=j?(bzDweB7{b+%_ypvm_cG{SvM=DK zhv{K@m>#Bw>2W$eUI#iU)Wdgs8Y3U+A$Gd&{+j)d)BmGKx+43U_!tik_YlN)>$7G! zhkE!s;%oku3;IwG3U^2kw?z+HM)jB{@zFhK8P#KMSytSthr+4!c(5c%+^UBn`0X*2 zy3(k600_CSZj?O$Qu%&$;|TGUJrptR(HzyIx>5E(2r{eA(<6t3e3I0B)7d6s7?Z5J zZ!rtKvA{MiEBm&KFtoifx>5P^Z=vl)95XJn()aS5%ad(s?4-=Tkis9IGu{`Fy8r+H07*qoM6N<$f20Z)wqMt%V?S?~D#06};F zA3KcL`Wb+>5ObvgQIG&ig8(;V04hz?@cqy3{mSh8o!|U|)cI!1_+!fWH@o*8vh^CU z^ws0;(c$gI+2~q^tO#GDHf@=;DncUw00J^eL_t(&-tE|HQ`%4vfZ;WsBqu-$0nu1R zq^Vj;p$clf^?twn|KHO+IGt^q#a3X?w9dXC@*yxhv&l}F322(8Y1&=P&I}~G@#h6; z1CV9ecD9ZEe87{{NtI*)_aJ<`kJa z?5=RBtFF50s;jQLFil-`)m2wrb=6h(&brpj%nG_U&ut~$?8Rokzxi8zJoWr#2dto5 zOX_URcc<1`Iky+jc;A%Vzx}1QU{2$|cKPom2Vf1{8m`vja4{F>HS?^Nc^rp}xo+Nh zxd}eOm`fm3@MQC1< zIk&aCjb~Yh%5+Yq0`)D;q{#-Uqlv*o+Oor zE!I71Z@ASH3grl8&P^L0WpavHoP|UX4e?!igT`4?AZk$hu*@%6WJ;zDOGlw7kj@ zY5!B-0ft0f?Lgb>C;$Ke07*qoM6N<$f~t1N9smFU diff --git a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png deleted file mode 100644 index 0ec303439225b78712f49115768196d8d76f6790..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 862 zcmV-k1EKthP)20Z)wqMt%V?S?~D#06};F zA3KcL`Wb+>5ObvgQIG&ig8(;V04hz?@cqy3{mSh8o!|U|)cI!1_+!fWH@o*8vh^CU z^ws0;(c$gI+2~q^tO#GDHf@=;DncUw00J^eL_t(&-tE|HQ`%4vfZ;WsBqu-$0nu1R zq^Vj;p$clf^?twn|KHO+IGt^q#a3X?w9dXC@*yxhv&l}F322(8Y1&=P&I}~G@#h6; z1CV9ecD9ZEe87{{NtI*)_aJ<`kJa z?5=RBtFF50s;jQLFil-`)m2wrb=6h(&brpj%nG_U&ut~$?8Rokzxi8zJoWr#2dto5 zOX_URcc<1`Iky+jc;A%Vzx}1QU{2$|cKPom2Vf1{8m`vja4{F>HS?^Nc^rp}xo+Nh zxd}eOm`fm3@MQC1< zIk&aCjb~Yh%5+Yq0`)D;q{#-Uqlv*o+Oor zE!I71Z@ASH3grl8&P^L0WpavHoP|UX4e?!igT`4?AZk$hu*@%6WJ;zDOGlw7kj@ zY5!B-0ft0f?Lgb>C;$Ke07*qoM6N<$f~t1N9smFU diff --git a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png deleted file mode 100644 index e9f5fea27c705180eb716271f41b582e76dcbd90..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1674 zcmV;526g#~P){YQnis^a@{&-nmRmq)<&%Mztj67_#M}W?l>kYSliK<%xAp;0j{!}J0!o7b zE>q9${Lb$D&h7k=+4=!ek^n+`0zq>LL1O?lVyea53S5x`Nqqo2YyeuIrQrJj9XjOp z{;T5qbj3}&1vg1VK~#9!?b~^C5-}JC@Pyrv-6dSEqJqT}#j9#dJ@GzT@B8}x zU&J@bBI>f6w6en+CeI)3^kC*U?}X%OD8$Fd$H&LV$H&LV$H&LV#|K5~mLYf|VqzOc zkc7qL~0sOYuM{tG`rYEDV{DWY`Z8&)kW*hc2VkBuY+^Yx&92j&StN}Wp=LD zxoGxXw6f&8sB^u})h@b@z0RBeD`K7RMR9deyL(ZJu#39Z>rT)^>v}Khq8U-IbIvT> z?4pV9qGj=2)TNH3d)=De<+^w;>S7m_eFKTvzeaBeir45xY!^m!FmxnljbSS_3o=g( z->^wC9%qkR{kbGnW8MfFew_o9h3(r55Is`L$8KI@d+*%{=Nx+FXJ98L0PjFIu;rGnnfY zn1R5Qnp<{Jq0M1vX=X&F8gtLmcWv$1*M@4ZfF^9``()#hGTeKeP`1!iED ztNE(TN}M5}3Bbc*d=FIv`DNv&@|C6yYj{sSqUj5oo$#*0$7pu|Dd2TLI>t5%I zIa4Dvr(iayb+5x=j*Vum9&irk)xV1`t509lnPO0%skL8_1c#Xbamh(2@f?4yUI zhhuT5<#8RJhGz4%b$`PJwKPAudsm|at?u;*hGgnA zU1;9gnxVBC)wA(BsB`AW54N{|qmikJR*%x0c`{LGsSfa|NK61pYH(r-UQ4_JXd!Rsz)=k zL{GMc5{h138)fF5CzHEDM>+FqY)$pdN3}Ml+riTgJOLN0F*Vh?{9ESR{SVVg>*>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MKK1WAjCw(c-JK6eox;2O)?`? zTG`AHia671e^vgmp!llKp|=5sVHk#C7=~epA~VAf-~%aPC=%Qw01h8mnSZ|p?hz91 z7p83F3%LVu9;S$tSI$C^%^yud1dfTM_6p2|+5Ejp$bd`GDvbR|xit>i!ZD&F>@CJrPmu*UjD&?DfZs=$@e3FQA(vNiU+$A*%a} z?`XcG2jDxJ_ZQ#Md`H{4Lpf6QBDp81_KWZ6Tk#yCy1)32zO#3<7>b`eT7UyYH1eGz z;O(rH$=QR*L%%ZcBpc=eGua?N55nD^K(8<#gl2+pN_j~b2MHs4#mcLmv%DkspS-3< zpI1F=^9siI0s-;IN_IrA;5xm~3?3!StX}pUv0vkxMaqm+zxrg7X7(I&*N~&dEd0kD z-FRV|g=|QuUsuh>-xCI}vD2imzYIOIdcCVV=$Bz@*u0+Bs<|L^)32nN*=wu3n%Ynw z@1|eLG>!8ruU1pFXUfb`j>(=Gy~?Rn4QJ-c3%3T|(Frd!bI`9u&zAnyFYTqlG#&J7 zAkD(jpw|oZLNiA>;>hgp1KX7-wxC~31II47gc zHcehD6Uxlf%+M^^uN5Wc*G%^;>D5qT{>=uxUhX%WJu^Z*(_Wq9y}npFO{Hhb>s6<9 zNi0pHXWFaVZnb)1+RS&F)xOv6&aeILcI)`k#0YE+?e)5&#r7J#c`3Z7x!LpTc01dx zrdC3{Z;joZ^KN&))zB_i)I9fWedoN>Zl-6_Iz+^G&*ak2jpF07*qoM6N<$f;w%0(f|Me diff --git a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png deleted file mode 100644 index 0467bf12aa4d28f374bb26596605a46dcbb3e7c8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1418 zcmV;51$Fv~P)q zKfU)WzW*n(@|xWGCA9ScMt*e9`2kdxPQ&&>|-UCa7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0Z;QO!JOY#!`qyGH<3Pd}Pt@q*A0V=3SVtWKRR8d8Z&@)3qLPA19LPA19LPEUC YUoZo%k(ykuW&i*H07*qoM6N<$f+CH{y8r+H diff --git a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json deleted file mode 100644 index 0bedcf2f..00000000 --- a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "LaunchImage.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "LaunchImage@2x.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "filename" : "LaunchImage@3x.png", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png deleted file mode 100644 index 9da19eacad3b03bb08bbddbbf4ac48dd78b3d838..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx0wlM}@Gt=>Zci7-kcv6Uzs@r-FtIZ-&5|)J Q1PU{Fy85}Sb4q9e0B4a5jsO4v diff --git a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png deleted file mode 100644 index 9da19eacad3b03bb08bbddbbf4ac48dd78b3d838..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx0wlM}@Gt=>Zci7-kcv6Uzs@r-FtIZ-&5|)J Q1PU{Fy85}Sb4q9e0B4a5jsO4v diff --git a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png deleted file mode 100644 index 9da19eacad3b03bb08bbddbbf4ac48dd78b3d838..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx0wlM}@Gt=>Zci7-kcv6Uzs@r-FtIZ-&5|)J Q1PU{Fy85}Sb4q9e0B4a5jsO4v diff --git a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md deleted file mode 100644 index 89c2725b..00000000 --- a/apps/apps/design_system_viewer/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Launch Screen Assets - -You can customize the launch screen with your own desired assets by replacing the image files in this directory. - -You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. \ No newline at end of file diff --git a/apps/apps/design_system_viewer/ios/Runner/Base.lproj/LaunchScreen.storyboard b/apps/apps/design_system_viewer/ios/Runner/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index f2e259c7..00000000 --- a/apps/apps/design_system_viewer/ios/Runner/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/design_system_viewer/ios/Runner/Base.lproj/Main.storyboard b/apps/apps/design_system_viewer/ios/Runner/Base.lproj/Main.storyboard deleted file mode 100644 index f3c28516..00000000 --- a/apps/apps/design_system_viewer/ios/Runner/Base.lproj/Main.storyboard +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/design_system_viewer/ios/Runner/Info.plist b/apps/apps/design_system_viewer/ios/Runner/Info.plist deleted file mode 100644 index 0c4dda83..00000000 --- a/apps/apps/design_system_viewer/ios/Runner/Info.plist +++ /dev/null @@ -1,49 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - Krow Design System Viewer - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - krow_design_system_viewer - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleSignature - ???? - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - CADisableMinimumFrameDurationOnPhone - - UIApplicationSupportsIndirectInputEvents - - - diff --git a/apps/apps/design_system_viewer/ios/Runner/Runner-Bridging-Header.h b/apps/apps/design_system_viewer/ios/Runner/Runner-Bridging-Header.h deleted file mode 100644 index 308a2a56..00000000 --- a/apps/apps/design_system_viewer/ios/Runner/Runner-Bridging-Header.h +++ /dev/null @@ -1 +0,0 @@ -#import "GeneratedPluginRegistrant.h" diff --git a/apps/apps/design_system_viewer/ios/RunnerTests/RunnerTests.swift b/apps/apps/design_system_viewer/ios/RunnerTests/RunnerTests.swift deleted file mode 100644 index 86a7c3b1..00000000 --- a/apps/apps/design_system_viewer/ios/RunnerTests/RunnerTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -import Flutter -import UIKit -import XCTest - -class RunnerTests: XCTestCase { - - func testExample() { - // If you add code to the Runner application, consider adding tests here. - // See https://developer.apple.com/documentation/xctest for more information about using XCTest. - } - -} diff --git a/apps/apps/design_system_viewer/lib/main.dart b/apps/apps/design_system_viewer/lib/main.dart deleted file mode 100644 index 244a702c..00000000 --- a/apps/apps/design_system_viewer/lib/main.dart +++ /dev/null @@ -1,122 +0,0 @@ -import 'package:flutter/material.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({super.key}); - - // This widget is the root of your application. - @override - Widget build(BuildContext context) { - return MaterialApp( - title: 'Flutter Demo', - theme: ThemeData( - // This is the theme of your application. - // - // TRY THIS: Try running your application with "flutter run". You'll see - // the application has a purple toolbar. Then, without quitting the app, - // try changing the seedColor in the colorScheme below to Colors.green - // and then invoke "hot reload" (save your changes or press the "hot - // reload" button in a Flutter-supported IDE, or press "r" if you used - // the command line to start the app). - // - // Notice that the counter didn't reset back to zero; the application - // state is not lost during the reload. To reset the state, use hot - // restart instead. - // - // This works for code too, not just values: Most code changes can be - // tested with just a hot reload. - colorScheme: .fromSeed(seedColor: Colors.deepPurple), - ), - home: const MyHomePage(title: 'Flutter Demo Home Page'), - ); - } -} - -class MyHomePage extends StatefulWidget { - const MyHomePage({super.key, required this.title}); - - // This widget is the home page of your application. It is stateful, meaning - // that it has a State object (defined below) that contains fields that affect - // how it looks. - - // This class is the configuration for the state. It holds the values (in this - // case the title) provided by the parent (in this case the App widget) and - // used by the build method of the State. Fields in a Widget subclass are - // always marked "final". - - final String title; - - @override - State createState() => _MyHomePageState(); -} - -class _MyHomePageState extends State { - int _counter = 0; - - void _incrementCounter() { - setState(() { - // This call to setState tells the Flutter framework that something has - // changed in this State, which causes it to rerun the build method below - // so that the display can reflect the updated values. If we changed - // _counter without calling setState(), then the build method would not be - // called again, and so nothing would appear to happen. - _counter++; - }); - } - - @override - Widget build(BuildContext context) { - // This method is rerun every time setState is called, for instance as done - // by the _incrementCounter method above. - // - // The Flutter framework has been optimized to make rerunning build methods - // fast, so that you can just rebuild anything that needs updating rather - // than having to individually change instances of widgets. - return Scaffold( - appBar: AppBar( - // TRY THIS: Try changing the color here to a specific color (to - // Colors.amber, perhaps?) and trigger a hot reload to see the AppBar - // change color while the other colors stay the same. - backgroundColor: Theme.of(context).colorScheme.inversePrimary, - // Here we take the value from the MyHomePage object that was created by - // the App.build method, and use it to set our appbar title. - title: Text(widget.title), - ), - body: Center( - // Center is a layout widget. It takes a single child and positions it - // in the middle of the parent. - child: Column( - // Column is also a layout widget. It takes a list of children and - // arranges them vertically. By default, it sizes itself to fit its - // children horizontally, and tries to be as tall as its parent. - // - // Column has various properties to control how it sizes itself and - // how it positions its children. Here we use mainAxisAlignment to - // center the children vertically; the main axis here is the vertical - // axis because Columns are vertical (the cross axis would be - // horizontal). - // - // TRY THIS: Invoke "debug painting" (choose the "Toggle Debug Paint" - // action in the IDE, or press "p" in the console), to see the - // wireframe for each widget. - mainAxisAlignment: .center, - children: [ - const Text('You have pushed the button this many times:'), - Text( - '$_counter', - style: Theme.of(context).textTheme.headlineMedium, - ), - ], - ), - ), - floatingActionButton: FloatingActionButton( - onPressed: _incrementCounter, - tooltip: 'Increment', - child: const Icon(Icons.add), - ), - ); - } -} diff --git a/apps/apps/design_system_viewer/linux/.gitignore b/apps/apps/design_system_viewer/linux/.gitignore deleted file mode 100644 index d3896c98..00000000 --- a/apps/apps/design_system_viewer/linux/.gitignore +++ /dev/null @@ -1 +0,0 @@ -flutter/ephemeral diff --git a/apps/apps/design_system_viewer/linux/CMakeLists.txt b/apps/apps/design_system_viewer/linux/CMakeLists.txt deleted file mode 100644 index 2ea8bc94..00000000 --- a/apps/apps/design_system_viewer/linux/CMakeLists.txt +++ /dev/null @@ -1,128 +0,0 @@ -# Project-level configuration. -cmake_minimum_required(VERSION 3.13) -project(runner LANGUAGES CXX) - -# The name of the executable created for the application. Change this to change -# the on-disk name of your application. -set(BINARY_NAME "krow_design_system_viewer") -# The unique GTK application identifier for this application. See: -# https://wiki.gnome.org/HowDoI/ChooseApplicationID -set(APPLICATION_ID "com.example.krow_design_system_viewer") - -# Explicitly opt in to modern CMake behaviors to avoid warnings with recent -# versions of CMake. -cmake_policy(SET CMP0063 NEW) - -# Load bundled libraries from the lib/ directory relative to the binary. -set(CMAKE_INSTALL_RPATH "$ORIGIN/lib") - -# Root filesystem for cross-building. -if(FLUTTER_TARGET_PLATFORM_SYSROOT) - set(CMAKE_SYSROOT ${FLUTTER_TARGET_PLATFORM_SYSROOT}) - set(CMAKE_FIND_ROOT_PATH ${CMAKE_SYSROOT}) - set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) - set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) - set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) - set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) -endif() - -# Define build configuration options. -if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) - set(CMAKE_BUILD_TYPE "Debug" CACHE - STRING "Flutter build mode" FORCE) - set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS - "Debug" "Profile" "Release") -endif() - -# Compilation settings that should be applied to most targets. -# -# Be cautious about adding new options here, as plugins use this function by -# default. In most cases, you should add new options to specific targets instead -# of modifying this function. -function(APPLY_STANDARD_SETTINGS TARGET) - target_compile_features(${TARGET} PUBLIC cxx_std_14) - target_compile_options(${TARGET} PRIVATE -Wall -Werror) - target_compile_options(${TARGET} PRIVATE "$<$>:-O3>") - target_compile_definitions(${TARGET} PRIVATE "$<$>:NDEBUG>") -endfunction() - -# Flutter library and tool build rules. -set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter") -add_subdirectory(${FLUTTER_MANAGED_DIR}) - -# System-level dependencies. -find_package(PkgConfig REQUIRED) -pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0) - -# Application build; see runner/CMakeLists.txt. -add_subdirectory("runner") - -# Run the Flutter tool portions of the build. This must not be removed. -add_dependencies(${BINARY_NAME} flutter_assemble) - -# Only the install-generated bundle's copy of the executable will launch -# correctly, since the resources must in the right relative locations. To avoid -# people trying to run the unbundled copy, put it in a subdirectory instead of -# the default top-level location. -set_target_properties(${BINARY_NAME} - PROPERTIES - RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/intermediates_do_not_run" -) - - -# Generated plugin build rules, which manage building the plugins and adding -# them to the application. -include(flutter/generated_plugins.cmake) - - -# === Installation === -# By default, "installing" just makes a relocatable bundle in the build -# directory. -set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle") -if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) - set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE) -endif() - -# Start with a clean build bundle directory every time. -install(CODE " - file(REMOVE_RECURSE \"${BUILD_BUNDLE_DIR}/\") - " COMPONENT Runtime) - -set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data") -set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib") - -install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES}) - install(FILES "${bundled_library}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) -endforeach(bundled_library) - -# Copy the native assets provided by the build.dart from all packages. -set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/linux/") -install(DIRECTORY "${NATIVE_ASSETS_DIR}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -# Fully re-copy the assets directory on each build to avoid having stale files -# from a previous install. -set(FLUTTER_ASSET_DIR_NAME "flutter_assets") -install(CODE " - file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\") - " COMPONENT Runtime) -install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}" - DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime) - -# Install the AOT library on non-Debug builds only. -if(NOT CMAKE_BUILD_TYPE MATCHES "Debug") - install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) -endif() diff --git a/apps/apps/design_system_viewer/linux/flutter/CMakeLists.txt b/apps/apps/design_system_viewer/linux/flutter/CMakeLists.txt deleted file mode 100644 index d5bd0164..00000000 --- a/apps/apps/design_system_viewer/linux/flutter/CMakeLists.txt +++ /dev/null @@ -1,88 +0,0 @@ -# This file controls Flutter-level build steps. It should not be edited. -cmake_minimum_required(VERSION 3.10) - -set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral") - -# Configuration provided via flutter tool. -include(${EPHEMERAL_DIR}/generated_config.cmake) - -# TODO: Move the rest of this into files in ephemeral. See -# https://github.com/flutter/flutter/issues/57146. - -# Serves the same purpose as list(TRANSFORM ... PREPEND ...), -# which isn't available in 3.10. -function(list_prepend LIST_NAME PREFIX) - set(NEW_LIST "") - foreach(element ${${LIST_NAME}}) - list(APPEND NEW_LIST "${PREFIX}${element}") - endforeach(element) - set(${LIST_NAME} "${NEW_LIST}" PARENT_SCOPE) -endfunction() - -# === Flutter Library === -# System-level dependencies. -find_package(PkgConfig REQUIRED) -pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0) -pkg_check_modules(GLIB REQUIRED IMPORTED_TARGET glib-2.0) -pkg_check_modules(GIO REQUIRED IMPORTED_TARGET gio-2.0) - -set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/libflutter_linux_gtk.so") - -# Published to parent scope for install step. -set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE) -set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE) -set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE) -set(AOT_LIBRARY "${PROJECT_DIR}/build/lib/libapp.so" PARENT_SCOPE) - -list(APPEND FLUTTER_LIBRARY_HEADERS - "fl_basic_message_channel.h" - "fl_binary_codec.h" - "fl_binary_messenger.h" - "fl_dart_project.h" - "fl_engine.h" - "fl_json_message_codec.h" - "fl_json_method_codec.h" - "fl_message_codec.h" - "fl_method_call.h" - "fl_method_channel.h" - "fl_method_codec.h" - "fl_method_response.h" - "fl_plugin_registrar.h" - "fl_plugin_registry.h" - "fl_standard_message_codec.h" - "fl_standard_method_codec.h" - "fl_string_codec.h" - "fl_value.h" - "fl_view.h" - "flutter_linux.h" -) -list_prepend(FLUTTER_LIBRARY_HEADERS "${EPHEMERAL_DIR}/flutter_linux/") -add_library(flutter INTERFACE) -target_include_directories(flutter INTERFACE - "${EPHEMERAL_DIR}" -) -target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}") -target_link_libraries(flutter INTERFACE - PkgConfig::GTK - PkgConfig::GLIB - PkgConfig::GIO -) -add_dependencies(flutter flutter_assemble) - -# === Flutter tool backend === -# _phony_ is a non-existent file to force this command to run every time, -# since currently there's no way to get a full input/output list from the -# flutter tool. -add_custom_command( - OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS} - ${CMAKE_CURRENT_BINARY_DIR}/_phony_ - COMMAND ${CMAKE_COMMAND} -E env - ${FLUTTER_TOOL_ENVIRONMENT} - "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.sh" - ${FLUTTER_TARGET_PLATFORM} ${CMAKE_BUILD_TYPE} - VERBATIM -) -add_custom_target(flutter_assemble DEPENDS - "${FLUTTER_LIBRARY}" - ${FLUTTER_LIBRARY_HEADERS} -) diff --git a/apps/apps/design_system_viewer/linux/flutter/generated_plugin_registrant.cc b/apps/apps/design_system_viewer/linux/flutter/generated_plugin_registrant.cc deleted file mode 100644 index e71a16d2..00000000 --- a/apps/apps/design_system_viewer/linux/flutter/generated_plugin_registrant.cc +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#include "generated_plugin_registrant.h" - - -void fl_register_plugins(FlPluginRegistry* registry) { -} diff --git a/apps/apps/design_system_viewer/linux/flutter/generated_plugin_registrant.h b/apps/apps/design_system_viewer/linux/flutter/generated_plugin_registrant.h deleted file mode 100644 index e0f0a47b..00000000 --- a/apps/apps/design_system_viewer/linux/flutter/generated_plugin_registrant.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#ifndef GENERATED_PLUGIN_REGISTRANT_ -#define GENERATED_PLUGIN_REGISTRANT_ - -#include - -// Registers Flutter plugins. -void fl_register_plugins(FlPluginRegistry* registry); - -#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/apps/apps/design_system_viewer/linux/flutter/generated_plugins.cmake b/apps/apps/design_system_viewer/linux/flutter/generated_plugins.cmake deleted file mode 100644 index 2e1de87a..00000000 --- a/apps/apps/design_system_viewer/linux/flutter/generated_plugins.cmake +++ /dev/null @@ -1,23 +0,0 @@ -# -# Generated file, do not edit. -# - -list(APPEND FLUTTER_PLUGIN_LIST -) - -list(APPEND FLUTTER_FFI_PLUGIN_LIST -) - -set(PLUGIN_BUNDLED_LIBRARIES) - -foreach(plugin ${FLUTTER_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin}) - target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) - list(APPEND PLUGIN_BUNDLED_LIBRARIES $) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) -endforeach(plugin) - -foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin}) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) -endforeach(ffi_plugin) diff --git a/apps/apps/design_system_viewer/linux/runner/CMakeLists.txt b/apps/apps/design_system_viewer/linux/runner/CMakeLists.txt deleted file mode 100644 index e97dabc7..00000000 --- a/apps/apps/design_system_viewer/linux/runner/CMakeLists.txt +++ /dev/null @@ -1,26 +0,0 @@ -cmake_minimum_required(VERSION 3.13) -project(runner LANGUAGES CXX) - -# Define the application target. To change its name, change BINARY_NAME in the -# top-level CMakeLists.txt, not the value here, or `flutter run` will no longer -# work. -# -# Any new source files that you add to the application should be added here. -add_executable(${BINARY_NAME} - "main.cc" - "my_application.cc" - "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" -) - -# Apply the standard set of build settings. This can be removed for applications -# that need different build settings. -apply_standard_settings(${BINARY_NAME}) - -# Add preprocessor definitions for the application ID. -add_definitions(-DAPPLICATION_ID="${APPLICATION_ID}") - -# Add dependency libraries. Add any application-specific dependencies here. -target_link_libraries(${BINARY_NAME} PRIVATE flutter) -target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK) - -target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}") diff --git a/apps/apps/design_system_viewer/linux/runner/main.cc b/apps/apps/design_system_viewer/linux/runner/main.cc deleted file mode 100644 index e7c5c543..00000000 --- a/apps/apps/design_system_viewer/linux/runner/main.cc +++ /dev/null @@ -1,6 +0,0 @@ -#include "my_application.h" - -int main(int argc, char** argv) { - g_autoptr(MyApplication) app = my_application_new(); - return g_application_run(G_APPLICATION(app), argc, argv); -} diff --git a/apps/apps/design_system_viewer/linux/runner/my_application.cc b/apps/apps/design_system_viewer/linux/runner/my_application.cc deleted file mode 100644 index 9a57dad4..00000000 --- a/apps/apps/design_system_viewer/linux/runner/my_application.cc +++ /dev/null @@ -1,148 +0,0 @@ -#include "my_application.h" - -#include -#ifdef GDK_WINDOWING_X11 -#include -#endif - -#include "flutter/generated_plugin_registrant.h" - -struct _MyApplication { - GtkApplication parent_instance; - char** dart_entrypoint_arguments; -}; - -G_DEFINE_TYPE(MyApplication, my_application, GTK_TYPE_APPLICATION) - -// Called when first Flutter frame received. -static void first_frame_cb(MyApplication* self, FlView* view) { - gtk_widget_show(gtk_widget_get_toplevel(GTK_WIDGET(view))); -} - -// Implements GApplication::activate. -static void my_application_activate(GApplication* application) { - MyApplication* self = MY_APPLICATION(application); - GtkWindow* window = - GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application))); - - // Use a header bar when running in GNOME as this is the common style used - // by applications and is the setup most users will be using (e.g. Ubuntu - // desktop). - // If running on X and not using GNOME then just use a traditional title bar - // in case the window manager does more exotic layout, e.g. tiling. - // If running on Wayland assume the header bar will work (may need changing - // if future cases occur). - gboolean use_header_bar = TRUE; -#ifdef GDK_WINDOWING_X11 - GdkScreen* screen = gtk_window_get_screen(window); - if (GDK_IS_X11_SCREEN(screen)) { - const gchar* wm_name = gdk_x11_screen_get_window_manager_name(screen); - if (g_strcmp0(wm_name, "GNOME Shell") != 0) { - use_header_bar = FALSE; - } - } -#endif - if (use_header_bar) { - GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new()); - gtk_widget_show(GTK_WIDGET(header_bar)); - gtk_header_bar_set_title(header_bar, "krow_design_system_viewer"); - gtk_header_bar_set_show_close_button(header_bar, TRUE); - gtk_window_set_titlebar(window, GTK_WIDGET(header_bar)); - } else { - gtk_window_set_title(window, "krow_design_system_viewer"); - } - - gtk_window_set_default_size(window, 1280, 720); - - g_autoptr(FlDartProject) project = fl_dart_project_new(); - fl_dart_project_set_dart_entrypoint_arguments( - project, self->dart_entrypoint_arguments); - - FlView* view = fl_view_new(project); - GdkRGBA background_color; - // Background defaults to black, override it here if necessary, e.g. #00000000 - // for transparent. - gdk_rgba_parse(&background_color, "#000000"); - fl_view_set_background_color(view, &background_color); - gtk_widget_show(GTK_WIDGET(view)); - gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view)); - - // Show the window when Flutter renders. - // Requires the view to be realized so we can start rendering. - g_signal_connect_swapped(view, "first-frame", G_CALLBACK(first_frame_cb), - self); - gtk_widget_realize(GTK_WIDGET(view)); - - fl_register_plugins(FL_PLUGIN_REGISTRY(view)); - - gtk_widget_grab_focus(GTK_WIDGET(view)); -} - -// Implements GApplication::local_command_line. -static gboolean my_application_local_command_line(GApplication* application, - gchar*** arguments, - int* exit_status) { - MyApplication* self = MY_APPLICATION(application); - // Strip out the first argument as it is the binary name. - self->dart_entrypoint_arguments = g_strdupv(*arguments + 1); - - g_autoptr(GError) error = nullptr; - if (!g_application_register(application, nullptr, &error)) { - g_warning("Failed to register: %s", error->message); - *exit_status = 1; - return TRUE; - } - - g_application_activate(application); - *exit_status = 0; - - return TRUE; -} - -// Implements GApplication::startup. -static void my_application_startup(GApplication* application) { - // MyApplication* self = MY_APPLICATION(object); - - // Perform any actions required at application startup. - - G_APPLICATION_CLASS(my_application_parent_class)->startup(application); -} - -// Implements GApplication::shutdown. -static void my_application_shutdown(GApplication* application) { - // MyApplication* self = MY_APPLICATION(object); - - // Perform any actions required at application shutdown. - - G_APPLICATION_CLASS(my_application_parent_class)->shutdown(application); -} - -// Implements GObject::dispose. -static void my_application_dispose(GObject* object) { - MyApplication* self = MY_APPLICATION(object); - g_clear_pointer(&self->dart_entrypoint_arguments, g_strfreev); - G_OBJECT_CLASS(my_application_parent_class)->dispose(object); -} - -static void my_application_class_init(MyApplicationClass* klass) { - G_APPLICATION_CLASS(klass)->activate = my_application_activate; - G_APPLICATION_CLASS(klass)->local_command_line = - my_application_local_command_line; - G_APPLICATION_CLASS(klass)->startup = my_application_startup; - G_APPLICATION_CLASS(klass)->shutdown = my_application_shutdown; - G_OBJECT_CLASS(klass)->dispose = my_application_dispose; -} - -static void my_application_init(MyApplication* self) {} - -MyApplication* my_application_new() { - // Set the program name to the application ID, which helps various systems - // like GTK and desktop environments map this running application to its - // corresponding .desktop file. This ensures better integration by allowing - // the application to be recognized beyond its binary name. - g_set_prgname(APPLICATION_ID); - - return MY_APPLICATION(g_object_new(my_application_get_type(), - "application-id", APPLICATION_ID, "flags", - G_APPLICATION_NON_UNIQUE, nullptr)); -} diff --git a/apps/apps/design_system_viewer/linux/runner/my_application.h b/apps/apps/design_system_viewer/linux/runner/my_application.h deleted file mode 100644 index db16367a..00000000 --- a/apps/apps/design_system_viewer/linux/runner/my_application.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef FLUTTER_MY_APPLICATION_H_ -#define FLUTTER_MY_APPLICATION_H_ - -#include - -G_DECLARE_FINAL_TYPE(MyApplication, - my_application, - MY, - APPLICATION, - GtkApplication) - -/** - * my_application_new: - * - * Creates a new Flutter-based application. - * - * Returns: a new #MyApplication. - */ -MyApplication* my_application_new(); - -#endif // FLUTTER_MY_APPLICATION_H_ diff --git a/apps/apps/design_system_viewer/macos/.gitignore b/apps/apps/design_system_viewer/macos/.gitignore deleted file mode 100644 index 746adbb6..00000000 --- a/apps/apps/design_system_viewer/macos/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -# Flutter-related -**/Flutter/ephemeral/ -**/Pods/ - -# Xcode-related -**/dgph -**/xcuserdata/ diff --git a/apps/apps/design_system_viewer/macos/Flutter/Flutter-Debug.xcconfig b/apps/apps/design_system_viewer/macos/Flutter/Flutter-Debug.xcconfig deleted file mode 100644 index c2efd0b6..00000000 --- a/apps/apps/design_system_viewer/macos/Flutter/Flutter-Debug.xcconfig +++ /dev/null @@ -1 +0,0 @@ -#include "ephemeral/Flutter-Generated.xcconfig" diff --git a/apps/apps/design_system_viewer/macos/Flutter/Flutter-Release.xcconfig b/apps/apps/design_system_viewer/macos/Flutter/Flutter-Release.xcconfig deleted file mode 100644 index c2efd0b6..00000000 --- a/apps/apps/design_system_viewer/macos/Flutter/Flutter-Release.xcconfig +++ /dev/null @@ -1 +0,0 @@ -#include "ephemeral/Flutter-Generated.xcconfig" diff --git a/apps/apps/design_system_viewer/macos/Flutter/GeneratedPluginRegistrant.swift b/apps/apps/design_system_viewer/macos/Flutter/GeneratedPluginRegistrant.swift deleted file mode 100644 index cccf817a..00000000 --- a/apps/apps/design_system_viewer/macos/Flutter/GeneratedPluginRegistrant.swift +++ /dev/null @@ -1,10 +0,0 @@ -// -// Generated file. Do not edit. -// - -import FlutterMacOS -import Foundation - - -func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { -} diff --git a/apps/apps/design_system_viewer/macos/Runner.xcodeproj/project.pbxproj b/apps/apps/design_system_viewer/macos/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index 37a481ad..00000000 --- a/apps/apps/design_system_viewer/macos/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,705 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 54; - objects = { - -/* Begin PBXAggregateTarget section */ - 33CC111A2044C6BA0003C045 /* Flutter Assemble */ = { - isa = PBXAggregateTarget; - buildConfigurationList = 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */; - buildPhases = ( - 33CC111E2044C6BF0003C045 /* ShellScript */, - ); - dependencies = ( - ); - name = "Flutter Assemble"; - productName = FLX; - }; -/* End PBXAggregateTarget section */ - -/* Begin PBXBuildFile section */ - 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C80D7294CF71000263BE5 /* RunnerTests.swift */; }; - 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; }; - 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; }; - 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; }; - 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; }; - 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 33CC10E52044A3C60003C045 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 33CC10EC2044A3C60003C045; - remoteInfo = Runner; - }; - 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 33CC10E52044A3C60003C045 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 33CC111A2044C6BA0003C045; - remoteInfo = FLX; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 33CC110E2044A8840003C045 /* Bundle Framework */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Bundle Framework"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 331C80D5294CF71000263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; - 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; }; - 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; }; - 33CC10ED2044A3C60003C045 /* krow_design_system_viewer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "krow_design_system_viewer.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; }; - 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; - 33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = ""; }; - 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = ""; }; - 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = ""; }; - 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = ""; }; - 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = ""; }; - 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = ""; }; - 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = ""; }; - 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 331C80D2294CF70F00263BE5 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 33CC10EA2044A3C60003C045 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 331C80D6294CF71000263BE5 /* RunnerTests */ = { - isa = PBXGroup; - children = ( - 331C80D7294CF71000263BE5 /* RunnerTests.swift */, - ); - path = RunnerTests; - sourceTree = ""; - }; - 33BA886A226E78AF003329D5 /* Configs */ = { - isa = PBXGroup; - children = ( - 33E5194F232828860026EE4D /* AppInfo.xcconfig */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 333000ED22D3DE5D00554162 /* Warnings.xcconfig */, - ); - path = Configs; - sourceTree = ""; - }; - 33CC10E42044A3C60003C045 = { - isa = PBXGroup; - children = ( - 33FAB671232836740065AC1E /* Runner */, - 33CEB47122A05771004F2AC0 /* Flutter */, - 331C80D6294CF71000263BE5 /* RunnerTests */, - 33CC10EE2044A3C60003C045 /* Products */, - D73912EC22F37F3D000D13A0 /* Frameworks */, - ); - sourceTree = ""; - }; - 33CC10EE2044A3C60003C045 /* Products */ = { - isa = PBXGroup; - children = ( - 33CC10ED2044A3C60003C045 /* krow_design_system_viewer.app */, - 331C80D5294CF71000263BE5 /* RunnerTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 33CC11242044D66E0003C045 /* Resources */ = { - isa = PBXGroup; - children = ( - 33CC10F22044A3C60003C045 /* Assets.xcassets */, - 33CC10F42044A3C60003C045 /* MainMenu.xib */, - 33CC10F72044A3C60003C045 /* Info.plist */, - ); - name = Resources; - path = ..; - sourceTree = ""; - }; - 33CEB47122A05771004F2AC0 /* Flutter */ = { - isa = PBXGroup; - children = ( - 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */, - 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */, - 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */, - 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */, - ); - path = Flutter; - sourceTree = ""; - }; - 33FAB671232836740065AC1E /* Runner */ = { - isa = PBXGroup; - children = ( - 33CC10F02044A3C60003C045 /* AppDelegate.swift */, - 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */, - 33E51913231747F40026EE4D /* DebugProfile.entitlements */, - 33E51914231749380026EE4D /* Release.entitlements */, - 33CC11242044D66E0003C045 /* Resources */, - 33BA886A226E78AF003329D5 /* Configs */, - ); - path = Runner; - sourceTree = ""; - }; - D73912EC22F37F3D000D13A0 /* Frameworks */ = { - isa = PBXGroup; - children = ( - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 331C80D4294CF70F00263BE5 /* RunnerTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; - buildPhases = ( - 331C80D1294CF70F00263BE5 /* Sources */, - 331C80D2294CF70F00263BE5 /* Frameworks */, - 331C80D3294CF70F00263BE5 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 331C80DA294CF71000263BE5 /* PBXTargetDependency */, - ); - name = RunnerTests; - productName = RunnerTests; - productReference = 331C80D5294CF71000263BE5 /* RunnerTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 33CC10EC2044A3C60003C045 /* Runner */ = { - isa = PBXNativeTarget; - buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */; - buildPhases = ( - 33CC10E92044A3C60003C045 /* Sources */, - 33CC10EA2044A3C60003C045 /* Frameworks */, - 33CC10EB2044A3C60003C045 /* Resources */, - 33CC110E2044A8840003C045 /* Bundle Framework */, - 3399D490228B24CF009A79C7 /* ShellScript */, - ); - buildRules = ( - ); - dependencies = ( - 33CC11202044C79F0003C045 /* PBXTargetDependency */, - ); - name = Runner; - productName = Runner; - productReference = 33CC10ED2044A3C60003C045 /* krow_design_system_viewer.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 33CC10E52044A3C60003C045 /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = YES; - LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 1510; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 331C80D4294CF70F00263BE5 = { - CreatedOnToolsVersion = 14.0; - TestTargetID = 33CC10EC2044A3C60003C045; - }; - 33CC10EC2044A3C60003C045 = { - CreatedOnToolsVersion = 9.2; - LastSwiftMigration = 1100; - ProvisioningStyle = Automatic; - SystemCapabilities = { - com.apple.Sandbox = { - enabled = 1; - }; - }; - }; - 33CC111A2044C6BA0003C045 = { - CreatedOnToolsVersion = 9.2; - ProvisioningStyle = Manual; - }; - }; - }; - buildConfigurationList = 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 33CC10E42044A3C60003C045; - productRefGroup = 33CC10EE2044A3C60003C045 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 33CC10EC2044A3C60003C045 /* Runner */, - 331C80D4294CF70F00263BE5 /* RunnerTests */, - 33CC111A2044C6BA0003C045 /* Flutter Assemble */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 331C80D3294CF70F00263BE5 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 33CC10EB2044A3C60003C045 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */, - 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 3399D490228B24CF009A79C7 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - ); - outputFileListPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n"; - }; - 33CC111E2044C6BF0003C045 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - Flutter/ephemeral/FlutterInputs.xcfilelist, - ); - inputPaths = ( - Flutter/ephemeral/tripwire, - ); - outputFileListPaths = ( - Flutter/ephemeral/FlutterOutputs.xcfilelist, - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 331C80D1294CF70F00263BE5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 33CC10E92044A3C60003C045 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */, - 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */, - 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 331C80DA294CF71000263BE5 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 33CC10EC2044A3C60003C045 /* Runner */; - targetProxy = 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */; - }; - 33CC11202044C79F0003C045 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */; - targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 33CC10F42044A3C60003C045 /* MainMenu.xib */ = { - isa = PBXVariantGroup; - children = ( - 33CC10F52044A3C60003C045 /* Base */, - ); - name = MainMenu.xib; - path = Runner; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 331C80DB294CF71000263BE5 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.krowDesignSystemViewer.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/krow_design_system_viewer.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/krow_design_system_viewer"; - }; - name = Debug; - }; - 331C80DC294CF71000263BE5 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.krowDesignSystemViewer.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/krow_design_system_viewer.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/krow_design_system_viewer"; - }; - name = Release; - }; - 331C80DD294CF71000263BE5 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.krowDesignSystemViewer.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/krow_design_system_viewer.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/krow_design_system_viewer"; - }; - name = Profile; - }; - 338D0CE9231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEAD_CODE_STRIPPING = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - }; - name = Profile; - }; - 338D0CEA231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 5.0; - }; - name = Profile; - }; - 338D0CEB231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Manual; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Profile; - }; - 33CC10F92044A3C60003C045 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEAD_CODE_STRIPPING = YES; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 33CC10FA2044A3C60003C045 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEAD_CODE_STRIPPING = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - }; - name = Release; - }; - 33CC10FC2044A3C60003C045 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - 33CC10FD2044A3C60003C045 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - 33CC111C2044C6BA0003C045 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Manual; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - 33CC111D2044C6BA0003C045 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 331C80DB294CF71000263BE5 /* Debug */, - 331C80DC294CF71000263BE5 /* Release */, - 331C80DD294CF71000263BE5 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC10F92044A3C60003C045 /* Debug */, - 33CC10FA2044A3C60003C045 /* Release */, - 338D0CE9231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC10FC2044A3C60003C045 /* Debug */, - 33CC10FD2044A3C60003C045 /* Release */, - 338D0CEA231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC111C2044C6BA0003C045 /* Debug */, - 33CC111D2044C6BA0003C045 /* Release */, - 338D0CEB231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 33CC10E52044A3C60003C045 /* Project object */; -} diff --git a/apps/apps/design_system_viewer/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/apps/apps/design_system_viewer/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d98100..00000000 --- a/apps/apps/design_system_viewer/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/apps/apps/design_system_viewer/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/apps/apps/design_system_viewer/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme deleted file mode 100644 index bbf718ff..00000000 --- a/apps/apps/design_system_viewer/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/design_system_viewer/macos/Runner.xcworkspace/contents.xcworkspacedata b/apps/apps/design_system_viewer/macos/Runner.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 1d526a16..00000000 --- a/apps/apps/design_system_viewer/macos/Runner.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/apps/apps/design_system_viewer/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/apps/apps/design_system_viewer/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d98100..00000000 --- a/apps/apps/design_system_viewer/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/apps/apps/design_system_viewer/macos/Runner/AppDelegate.swift b/apps/apps/design_system_viewer/macos/Runner/AppDelegate.swift deleted file mode 100644 index b3c17614..00000000 --- a/apps/apps/design_system_viewer/macos/Runner/AppDelegate.swift +++ /dev/null @@ -1,13 +0,0 @@ -import Cocoa -import FlutterMacOS - -@main -class AppDelegate: FlutterAppDelegate { - override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { - return true - } - - override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool { - return true - } -} diff --git a/apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index a2ec33f1..00000000 --- a/apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "images" : [ - { - "size" : "16x16", - "idiom" : "mac", - "filename" : "app_icon_16.png", - "scale" : "1x" - }, - { - "size" : "16x16", - "idiom" : "mac", - "filename" : "app_icon_32.png", - "scale" : "2x" - }, - { - "size" : "32x32", - "idiom" : "mac", - "filename" : "app_icon_32.png", - "scale" : "1x" - }, - { - "size" : "32x32", - "idiom" : "mac", - "filename" : "app_icon_64.png", - "scale" : "2x" - }, - { - "size" : "128x128", - "idiom" : "mac", - "filename" : "app_icon_128.png", - "scale" : "1x" - }, - { - "size" : "128x128", - "idiom" : "mac", - "filename" : "app_icon_256.png", - "scale" : "2x" - }, - { - "size" : "256x256", - "idiom" : "mac", - "filename" : "app_icon_256.png", - "scale" : "1x" - }, - { - "size" : "256x256", - "idiom" : "mac", - "filename" : "app_icon_512.png", - "scale" : "2x" - }, - { - "size" : "512x512", - "idiom" : "mac", - "filename" : "app_icon_512.png", - "scale" : "1x" - }, - { - "size" : "512x512", - "idiom" : "mac", - "filename" : "app_icon_1024.png", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png deleted file mode 100644 index 82b6f9d9a33e198f5747104729e1fcef999772a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV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Sr2`TVSUmKS_>V@3%0*S#!+L=3f@oF=4k9U9xv0p1;Fx&}V;X2J~h zcz^}G3|;s8JyEFR*LB*fPUm+?f+ofnBQ5uK%NrwA+RV_~h<6-mw_wU?NGRI!zNTh% z&>ty6x8&gW75gdW)?p->&%?{*brS|k@b|(>&<^nyO55Pi_q*eK)=J*Uunw2cw--p%E!VXuDa? ztZ$HPKJ6$Sh7!UrpxVBLFSnpZOw$(ftvg!Nk1LVfL+FL(u zh1Abu(oCSmgqQ2IrE;Zz2f2DAD%T4XO6tU&)2IB}vV3{^xpz1MYFEPy_09RP2QvmA zIqw<(UaCnCs!mFX$+3sjnV*(O5)y`jW!*wzF-l^K`Bxgap+0Ej z@c^nf{Ic`6I5#9bcE7fwiiP8JZ9dr3FsD~SBiW_`8{UgFt*{$@qj#E)90JYra>Zs3 z$sCTuzOye2GdTO;4@;wgJK@!ij-|c--insluCR}{#q=D6Xz#nL6;`rkc*UzLTR%Y{ zN2YK;Zcz4YY=+|(0_?E=#~3U@I1fIyRiBF zIeWj=id+b|L;kSMs>NMfeB^(={IdrC;NYJy_$L+olL`OdOqgH0OpSa?FTRhwb<|%A Pe7HEdAEg|=c=LY&YVNkY diff --git a/apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png deleted file mode 100644 index 13b35eba55c6dabc3aac36f33d859266c18fa0d0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5680 zcmaiYXH?Tqu=Xz`p-L#B_gI#0we$cm_HcmYFP$?wjD#BaCN4mzC5#`>w9y6=ThxrYZc0WPXprg zYjB`UsV}0=eUtY$(P6YW}npdd;%9pi?zS3k-nqCob zSX_AQEf|=wYT3r?f!*Yt)ar^;l3Sro{z(7deUBPd2~(SzZ-s@0r&~Km2S?8r##9-< z)2UOSVaHqq6}%sA9Ww;V2LG=PnNAh6mA2iWOuV7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CIUp2Xro&1 zg_D=J3r)6hp$8+94?D$Yn2@Kp-3LDsci)<-H!wCeQt$e9Jk)K86hvV^*Nj-Ea*o;G zsuhRw$H{$o>8qByz1V!(yV{p_0X?Kmy%g#1oSmlHsw;FQ%j9S#}ha zm0Nx09@jmOtP8Q+onN^BAgd8QI^(y!n;-APUpo5WVdmp8!`yKTlF>cqn>ag`4;o>i zl!M0G-(S*fm6VjYy}J}0nX7nJ$h`|b&KuW4d&W5IhbR;-)*9Y0(Jj|@j`$xoPQ=Cl diff --git a/apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png deleted file mode 100644 index 0a3f5fa40fb3d1e0710331a48de5d256da3f275d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 520 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|Tv8)E(|mmy zw18|52FCVG1{RPKAeI7R1_tH@j10^`nh_+nfC(-uuz(rC1}QWNE&K#jR^;j87-Auq zoUlN^K{r-Q+XN;zI ze|?*NFmgt#V#GwrSWaz^2G&@SBmck6ZcIFMww~vE<1E?M2#KUn1CzsB6D2+0SuRV@ zV2kK5HvIGB{HX-hQzs0*AB%5$9RJ@a;)Ahq#p$GSP91^&hi#6sg*;a~dt}4AclK>h z_3MoPRQ{i;==;*1S-mY<(JFzhAxMI&<61&m$J0NDHdJ3tYx~j0%M-uN6Zl8~_0DOkGXc0001@sz3l12C6Xg{AT~( zm6w64BA|AX`Ve)YY-glyudNN>MAfkXz-T7`_`fEolM;0T0BA)(02-OaW z0*cW7Z~ec94o8&g0D$N>b!COu{=m}^%oXZ4?T8ZyPZuGGBPBA7pbQMoV5HYhiT?%! zcae~`(QAN4&}-=#2f5fkn!SWGWmSeCISBcS=1-U|MEoKq=k?_x3apK>9((R zuu$9X?^8?@(a{qMS%J8SJPq))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L$!H3s>%KEvbchBFW z%cd?VU83mGF#Dar9*s~w&AnmQRQIOvR+uWsuZ?+|a=TzApXO@q^(r%8=}iv#wCnFq z=K9}JbqU@k99Q%j-}NNk+qLCP)jXfmOO|)@?mHcnynd6({mJisP1_}u7k)|eYHXWK z63eQ)E$ufFi!3CWUY2gw%e>omCv}qEX66aH-k&35f9`Q@Us|NPetVqe8=dX*VxJdn ze`q7b=Dn(UA(2sf&g)cOmQFhNJ#<-aMELJZbA#@to>25@kbW<)&!X01 z%NMJt>1ST)tyX)h@?`DxhbgCHr>S4wv}WC&Nw-!{+Z7$2D}74QAcXTvip=M0%Tp_N zor=k`)t|ra^ySr-+(|R9mB(E=`MX#y(wSw)$!iymzB;^c*>%&^*7HxTnRga=soSZT zdDl+9s;r!v8hk6POtzBaig4pRp7eWF(<8gufvNHPu6xs-=e{;mnHzJyGKE+8L0j}; z@%8-e^UCL5HhMiR>sD3Rve&yVZ#{Q1*CO8c+qSr^Z#CN;)(X5>tGG5yUw3<+CfhaL z%bP;hZ?jvgJU67BWyiy74_)6r)_nSxttxn0`0?HE^5(uydHVgP+HE$V?Lv)Leti43 zWA|;f-RqX``95>)^P-fw!Vi{3KNsII-*5f){gdxqd%gVdB1sOBNe=nEW%;i~g_P8J w!5uhoe-Jcg1nPN%MiEAtgE$;km@@t6ukO)1^!cY^83Pb_y85}Sb4q9e0FIsP9{>OV diff --git a/apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/apps/apps/design_system_viewer/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png deleted file mode 100644 index 2f1632cfddf3d9dade342351e627a0a75609fb46..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2218 zcmV;b2vzrqP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91K%fHv1ONa40RR91KmY&$07g+lumAuE6iGxuRCodHTWf3-RTMruyW6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gf+&6ioZ=roly<0Yst8ck>(M=S?B-ys3mLdM&)ex!hbt+ol|T6CTS+Sc0jv(& z7ijdvFwBq;0a{%3GGwkDKTeG`b+lyj0jjS1OMkYnepCdoosNY`*zmBIo*981BU%%U z@~$z0V`OVtIbEx5pa|Tct|Lg#ZQf5OYMUMRD>Wdxm5SAqV2}3!ceE-M2 z@O~lQ0OiKQp}o9I;?uxCgYVV?FH|?Riri*U$Zi_`V2eiA>l zdSm6;SEm6#T+SpcE8Ro_f2AwxzI z44hfe^WE3!h@W3RDyA_H440cpmYkv*)6m1XazTqw%=E5Xv7^@^^T7Q2wxr+Z2kVYr - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/design_system_viewer/macos/Runner/Configs/AppInfo.xcconfig b/apps/apps/design_system_viewer/macos/Runner/Configs/AppInfo.xcconfig deleted file mode 100644 index b45ff361..00000000 --- a/apps/apps/design_system_viewer/macos/Runner/Configs/AppInfo.xcconfig +++ /dev/null @@ -1,14 +0,0 @@ -// Application-level settings for the Runner target. -// -// This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the -// future. If not, the values below would default to using the project name when this becomes a -// 'flutter create' template. - -// The application's name. By default this is also the title of the Flutter window. -PRODUCT_NAME = krow_design_system_viewer - -// The application's bundle identifier -PRODUCT_BUNDLE_IDENTIFIER = com.example.krowDesignSystemViewer - -// The copyright displayed in application information -PRODUCT_COPYRIGHT = Copyright © 2026 com.example. All rights reserved. diff --git a/apps/apps/design_system_viewer/macos/Runner/Configs/Debug.xcconfig b/apps/apps/design_system_viewer/macos/Runner/Configs/Debug.xcconfig deleted file mode 100644 index 36b0fd94..00000000 --- a/apps/apps/design_system_viewer/macos/Runner/Configs/Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "../../Flutter/Flutter-Debug.xcconfig" -#include "Warnings.xcconfig" diff --git a/apps/apps/design_system_viewer/macos/Runner/Configs/Release.xcconfig b/apps/apps/design_system_viewer/macos/Runner/Configs/Release.xcconfig deleted file mode 100644 index dff4f495..00000000 --- a/apps/apps/design_system_viewer/macos/Runner/Configs/Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "../../Flutter/Flutter-Release.xcconfig" -#include "Warnings.xcconfig" diff --git a/apps/apps/design_system_viewer/macos/Runner/Configs/Warnings.xcconfig b/apps/apps/design_system_viewer/macos/Runner/Configs/Warnings.xcconfig deleted file mode 100644 index 42bcbf47..00000000 --- a/apps/apps/design_system_viewer/macos/Runner/Configs/Warnings.xcconfig +++ /dev/null @@ -1,13 +0,0 @@ -WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings -GCC_WARN_UNDECLARED_SELECTOR = YES -CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES -CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE -CLANG_WARN__DUPLICATE_METHOD_MATCH = YES -CLANG_WARN_PRAGMA_PACK = YES -CLANG_WARN_STRICT_PROTOTYPES = YES -CLANG_WARN_COMMA = YES -GCC_WARN_STRICT_SELECTOR_MATCH = YES -CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES -CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES -GCC_WARN_SHADOW = YES -CLANG_WARN_UNREACHABLE_CODE = YES diff --git a/apps/apps/design_system_viewer/macos/Runner/DebugProfile.entitlements b/apps/apps/design_system_viewer/macos/Runner/DebugProfile.entitlements deleted file mode 100644 index dddb8a30..00000000 --- a/apps/apps/design_system_viewer/macos/Runner/DebugProfile.entitlements +++ /dev/null @@ -1,12 +0,0 @@ - - - - - com.apple.security.app-sandbox - - com.apple.security.cs.allow-jit - - com.apple.security.network.server - - - diff --git a/apps/apps/design_system_viewer/macos/Runner/Info.plist b/apps/apps/design_system_viewer/macos/Runner/Info.plist deleted file mode 100644 index 4789daa6..00000000 --- a/apps/apps/design_system_viewer/macos/Runner/Info.plist +++ /dev/null @@ -1,32 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconFile - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) - NSHumanReadableCopyright - $(PRODUCT_COPYRIGHT) - NSMainNibFile - MainMenu - NSPrincipalClass - NSApplication - - diff --git a/apps/apps/design_system_viewer/macos/Runner/MainFlutterWindow.swift b/apps/apps/design_system_viewer/macos/Runner/MainFlutterWindow.swift deleted file mode 100644 index 3cc05eb2..00000000 --- a/apps/apps/design_system_viewer/macos/Runner/MainFlutterWindow.swift +++ /dev/null @@ -1,15 +0,0 @@ -import Cocoa -import FlutterMacOS - -class MainFlutterWindow: NSWindow { - override func awakeFromNib() { - let flutterViewController = FlutterViewController() - let windowFrame = self.frame - self.contentViewController = flutterViewController - self.setFrame(windowFrame, display: true) - - RegisterGeneratedPlugins(registry: flutterViewController) - - super.awakeFromNib() - } -} diff --git a/apps/apps/design_system_viewer/macos/Runner/Release.entitlements b/apps/apps/design_system_viewer/macos/Runner/Release.entitlements deleted file mode 100644 index 852fa1a4..00000000 --- a/apps/apps/design_system_viewer/macos/Runner/Release.entitlements +++ /dev/null @@ -1,8 +0,0 @@ - - - - - com.apple.security.app-sandbox - - - diff --git a/apps/apps/design_system_viewer/macos/RunnerTests/RunnerTests.swift b/apps/apps/design_system_viewer/macos/RunnerTests/RunnerTests.swift deleted file mode 100644 index 61f3bd1f..00000000 --- a/apps/apps/design_system_viewer/macos/RunnerTests/RunnerTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -import Cocoa -import FlutterMacOS -import XCTest - -class RunnerTests: XCTestCase { - - func testExample() { - // If you add code to the Runner application, consider adding tests here. - // See https://developer.apple.com/documentation/xctest for more information about using XCTest. - } - -} diff --git a/apps/apps/design_system_viewer/pubspec.yaml b/apps/apps/design_system_viewer/pubspec.yaml deleted file mode 100644 index c96bbd77..00000000 --- a/apps/apps/design_system_viewer/pubspec.yaml +++ /dev/null @@ -1,90 +0,0 @@ -name: design_system_viewer -description: "A new Flutter project." -# The following line prevents the package from being accidentally published to -# pub.dev using `flutter pub publish`. This is preferred for private packages. -publish_to: 'none' # Remove this line if you wish to publish to pub.dev - -# The following defines the version and build number for your application. -# A version number is three numbers separated by dots, like 1.2.43 -# followed by an optional build number separated by a +. -# Both the version and the builder number may be overridden in flutter -# build by specifying --build-name and --build-number, respectively. -# In Android, build-name is used as versionName while build-number used as versionCode. -# Read more about Android versioning at https://developer.android.com/studio/publish/versioning -# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion. -# Read more about iOS versioning at -# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -# In Windows, build-name is used as the major, minor, and patch parts -# of the product and file versions while build-number is used as the build suffix. -version: 1.0.0+1 -resolution: workspace - -environment: - sdk: ^3.10.7 - -# Dependencies specify other packages that your package needs in order to work. -# To automatically upgrade your package dependencies to the latest versions -# consider running `flutter pub upgrade --major-versions`. Alternatively, -# dependencies can be manually updated by changing the version numbers below to -# the latest version available on pub.dev. To see which dependencies have newer -# versions available, run `flutter pub outdated`. -dependencies: - flutter: - sdk: flutter - - # The following adds the Cupertino Icons font to your application. - # Use with the CupertinoIcons class for iOS style icons. - cupertino_icons: ^1.0.8 - -dev_dependencies: - flutter_test: - sdk: flutter - - # The "flutter_lints" package below contains a set of recommended lints to - # encourage good coding practices. The lint set provided by the package is - # activated in the `analysis_options.yaml` file located at the root of your - # package. See that file for information about deactivating specific lint - # rules and activating additional ones. - flutter_lints: ^6.0.0 - -# For information on the generic Dart part of this file, see the -# following page: https://dart.dev/tools/pub/pubspec - -# The following section is specific to Flutter packages. -flutter: - - # The following line ensures that the Material Icons font is - # included with your application, so that you can use the icons in - # the material Icons class. - uses-material-design: true - - # To add assets to your application, add an assets section, like this: - # assets: - # - images/a_dot_burr.jpeg - # - images/a_dot_ham.jpeg - - # An image asset can refer to one or more resolution-specific "variants", see - # https://flutter.dev/to/resolution-aware-images - - # For details regarding adding assets from package dependencies, see - # https://flutter.dev/to/asset-from-package - - # To add custom fonts to your application, add a fonts section here, - # in this "flutter" section. Each entry in this list should have a - # "family" key with the font family name, and a "fonts" key with a - # list giving the asset and other descriptors for the font. For - # example: - # fonts: - # - family: Schyler - # fonts: - # - asset: fonts/Schyler-Regular.ttf - # - asset: fonts/Schyler-Italic.ttf - # style: italic - # - family: Trajan Pro - # fonts: - # - asset: fonts/TrajanPro.ttf - # - asset: fonts/TrajanPro_Bold.ttf - # weight: 700 - # - # For details regarding fonts from package dependencies, - # see https://flutter.dev/to/font-from-package diff --git a/apps/apps/design_system_viewer/test/widget_test.dart b/apps/apps/design_system_viewer/test/widget_test.dart deleted file mode 100644 index 59ec1d1b..00000000 --- a/apps/apps/design_system_viewer/test/widget_test.dart +++ /dev/null @@ -1,30 +0,0 @@ -// This is a basic Flutter widget test. -// -// To perform an interaction with a widget in your test, use the WidgetTester -// utility in the flutter_test package. For example, you can send tap and scroll -// gestures. You can also use WidgetTester to find child widgets in the widget -// tree, read text, and verify that the values of widget properties are correct. - -import 'package:flutter/material.dart'; -import 'package:flutter_test/flutter_test.dart'; - -import 'package:design_system_viewer/main.dart'; - -void main() { - testWidgets('Counter increments smoke test', (WidgetTester tester) async { - // Build our app and trigger a frame. - await tester.pumpWidget(const MyApp()); - - // Verify that our counter starts at 0. - expect(find.text('0'), findsOneWidget); - expect(find.text('1'), findsNothing); - - // Tap the '+' icon and trigger a frame. - await tester.tap(find.byIcon(Icons.add)); - await tester.pump(); - - // Verify that our counter has incremented. - expect(find.text('0'), findsNothing); - expect(find.text('1'), findsOneWidget); - }); -} diff --git a/apps/apps/design_system_viewer/web/favicon.png b/apps/apps/design_system_viewer/web/favicon.png deleted file mode 100644 index 8aaa46ac1ae21512746f852a42ba87e4165dfdd1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 917 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|I14-?iy0X7 zltGxWVyS%@P(fs7NJL45ua8x7ey(0(N`6wRUPW#JP&EUCO@$SZnVVXYs8ErclUHn2 zVXFjIVFhG^g!Ppaz)DK8ZIvQ?0~DO|i&7O#^-S~(l1AfjnEK zjFOT9D}DX)@^Za$W4-*MbbUihOG|wNBYh(yU7!lx;>x^|#0uTKVr7USFmqf|i<65o z3raHc^AtelCMM;Vme?vOfh>Xph&xL%(-1c06+^uR^q@XSM&D4+Kp$>4P^%3{)XKjo zGZknv$b36P8?Z_gF{nK@`XI}Z90TzwSQO}0J1!f2c(B=V`5aP@1P1a|PZ!4!3&Gl8 zTYqUsf!gYFyJnXpu0!n&N*SYAX-%d(5gVjrHJWqXQshj@!Zm{!01WsQrH~9=kTxW#6SvuapgMqt>$=j#%eyGrQzr zP{L-3gsMA^$I1&gsBAEL+vxi1*Igl=8#8`5?A-T5=z-sk46WA1IUT)AIZHx1rdUrf zVJrJn<74DDw`j)Ki#gt}mIT-Q`XRa2-jQXQoI%w`nb|XblvzK${ZzlV)m-XcwC(od z71_OEC5Bt9GEXosOXaPTYOia#R4ID2TiU~`zVMl08TV_C%DnU4^+HE>9(CE4D6?Fz oujB08i7adh9xk7*FX66dWH6F5TM;?E2b5PlUHx3vIVCg!0Dx9vYXATM diff --git a/apps/apps/design_system_viewer/web/icons/Icon-192.png b/apps/apps/design_system_viewer/web/icons/Icon-192.png deleted file mode 100644 index b749bfef07473333cf1dd31e9eed89862a5d52aa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5292 zcmZ`-2T+sGz6~)*FVZ`aW+(v>MIm&M-g^@e2u-B-DoB?qO+b1Tq<5uCCv>ESfRum& zp%X;f!~1{tzL__3=gjVJ=j=J>+nMj%ncXj1Q(b|Ckbw{Y0FWpt%4y%$uD=Z*c-x~o zE;IoE;xa#7Ll5nj-e4CuXB&G*IM~D21rCP$*xLXAK8rIMCSHuSu%bL&S3)8YI~vyp@KBu9Ph7R_pvKQ@xv>NQ`dZp(u{Z8K3yOB zn7-AR+d2JkW)KiGx0hosml;+eCXp6+w%@STjFY*CJ?udJ64&{BCbuebcuH;}(($@@ znNlgBA@ZXB)mcl9nbX#F!f_5Z=W>0kh|UVWnf!At4V*LQP%*gPdCXd6P@J4Td;!Ur z<2ZLmwr(NG`u#gDEMP19UcSzRTL@HsK+PnIXbVBT@oHm53DZr?~V(0{rsalAfwgo zEh=GviaqkF;}F_5-yA!1u3!gxaR&Mj)hLuj5Q-N-@Lra{%<4ONja8pycD90&>yMB` zchhd>0CsH`^|&TstH-8+R`CfoWqmTTF_0?zDOY`E`b)cVi!$4xA@oO;SyOjJyP^_j zx^@Gdf+w|FW@DMdOi8=4+LJl$#@R&&=UM`)G!y%6ZzQLoSL%*KE8IO0~&5XYR9 z&N)?goEiWA(YoRfT{06&D6Yuu@Qt&XVbuW@COb;>SP9~aRc+z`m`80pB2o%`#{xD@ zI3RAlukL5L>px6b?QW1Ac_0>ew%NM!XB2(H+1Y3AJC?C?O`GGs`331Nd4ZvG~bM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H*mryb}y|%AOw+v)yc`qM)03qyyrqhX?ub`Cjwx2PrR! z)_z>5*!*$x1=Qa-0uE7jy0z`>|Ni#X+uV|%_81F7)b+nf%iz=`fF4g5UfHS_?PHbr zB;0$bK@=di?f`dS(j{l3-tSCfp~zUuva+=EWxJcRfp(<$@vd(GigM&~vaYZ0c#BTs z3ijkxMl=vw5AS&DcXQ%eeKt!uKvh2l3W?&3=dBHU=Gz?O!40S&&~ei2vg**c$o;i89~6DVns zG>9a*`k5)NI9|?W!@9>rzJ;9EJ=YlJTx1r1BA?H`LWijk(rTax9(OAu;q4_wTj-yj z1%W4GW&K4T=uEGb+E!>W0SD_C0RR91 diff --git a/apps/apps/design_system_viewer/web/icons/Icon-512.png b/apps/apps/design_system_viewer/web/icons/Icon-512.png deleted file mode 100644 index 88cfd48dff1169879ba46840804b412fe02fefd6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8252 zcmd5=2T+s!lYZ%-(h(2@5fr2dC?F^$C=i-}R6$UX8af(!je;W5yC_|HmujSgN*6?W z3knF*TL1$|?oD*=zPbBVex*RUIKsL<(&Rj9%^UD2IK3W?2j>D?eWQgvS-HLymHo9%~|N2Q{~j za?*X-{b9JRowv_*Mh|;*-kPFn>PI;r<#kFaxFqbn?aq|PduQg=2Q;~Qc}#z)_T%x9 zE|0!a70`58wjREmAH38H1)#gof)U3g9FZ^ zF7&-0^Hy{4XHWLoC*hOG(dg~2g6&?-wqcpf{ z&3=o8vw7lMi22jCG9RQbv8H}`+}9^zSk`nlR8?Z&G2dlDy$4#+WOlg;VHqzuE=fM@ z?OI6HEJH4&tA?FVG}9>jAnq_^tlw8NbjNhfqk2rQr?h(F&WiKy03Sn=-;ZJRh~JrD zbt)zLbnabttEZ>zUiu`N*u4sfQaLE8-WDn@tHp50uD(^r-}UsUUu)`!Rl1PozAc!a z?uj|2QDQ%oV-jxUJmJycySBINSKdX{kDYRS=+`HgR2GO19fg&lZKyBFbbXhQV~v~L za^U944F1_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tkAn6F(O{z@b76OIqMC$&oJ_&S|YbFJ*)3qVX_uNf5b8(!vGX19hsG z(OP>RmZp29KH9Ge2kKjKigUmOe^K_!UXP`von)PR8Qz$%=EmOB9xS(ZxE_tnyzo}7 z=6~$~9k0M~v}`w={AeqF?_)9q{m8K#6M{a&(;u;O41j)I$^T?lx5(zlebpY@NT&#N zR+1bB)-1-xj}R8uwqwf=iP1GbxBjneCC%UrSdSxK1vM^i9;bUkS#iRZw2H>rS<2<$ zNT3|sDH>{tXb=zq7XZi*K?#Zsa1h1{h5!Tq_YbKFm_*=A5-<~j63he;4`77!|LBlo zR^~tR3yxcU=gDFbshyF6>o0bdp$qmHS7D}m3;^QZq9kBBU|9$N-~oU?G5;jyFR7>z hN`IR97YZXIo@y!QgFWddJ3|0`sjFx!m))><{BI=FK%f8s diff --git a/apps/apps/design_system_viewer/web/icons/Icon-maskable-192.png b/apps/apps/design_system_viewer/web/icons/Icon-maskable-192.png deleted file mode 100644 index eb9b4d76e525556d5d89141648c724331630325d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5594 zcmdT|`#%%j|KDb2V@0DPm$^(Lx5}lO%Yv(=e*7hl@QqKS50#~#^IQPxBmuh|i9sXnt4ch@VT0F7% zMtrs@KWIOo+QV@lSs66A>2pz6-`9Jk=0vv&u?)^F@HZ)-6HT=B7LF;rdj zskUyBfbojcX#CS>WrIWo9D=DIwcXM8=I5D{SGf$~=gh-$LwY?*)cD%38%sCc?5OsX z-XfkyL-1`VavZ?>(pI-xp-kYq=1hsnyP^TLb%0vKRSo^~r{x?ISLY1i7KjSp z*0h&jG(Rkkq2+G_6eS>n&6>&Xk+ngOMcYrk<8KrukQHzfx675^^s$~<@d$9X{VBbg z2Fd4Z%g`!-P}d#`?B4#S-9x*eNlOVRnDrn#jY@~$jfQ-~3Od;A;x-BI1BEDdvr`pI z#D)d)!2_`GiZOUu1crb!hqH=ezs0qk<_xDm_Kkw?r*?0C3|Io6>$!kyDl;eH=a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l<{FZ$L6(>J)|}!bi<)| zE35dl{a2)&leQ@LlDxLQOfUDS`;+ZQ4ozrleQwaR-K|@9T{#hB5Z^t#8 zC-d_G;B4;F#8A2EBL58s$zF-=SCr`P#z zNCTnHF&|X@q>SkAoYu>&s9v@zCpv9lLSH-UZzfhJh`EZA{X#%nqw@@aW^vPcfQrlPs(qQxmC|4tp^&sHy!H!2FH5eC{M@g;ElWNzlb-+ zxpfc0m4<}L){4|RZ>KReag2j%Ot_UKkgpJN!7Y_y3;Ssz{9 z!K3isRtaFtQII5^6}cm9RZd5nTp9psk&u1C(BY`(_tolBwzV_@0F*m%3G%Y?2utyS zY`xM0iDRT)yTyYukFeGQ&W@ReM+ADG1xu@ruq&^GK35`+2r}b^V!m1(VgH|QhIPDE X>c!)3PgKfL&lX^$Z>Cpu&6)6jvi^Z! diff --git a/apps/apps/design_system_viewer/web/icons/Icon-maskable-512.png b/apps/apps/design_system_viewer/web/icons/Icon-maskable-512.png deleted file mode 100644 index d69c56691fbdb0b7efa65097c7cc1edac12a6d3e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20998 zcmeFZ_gj-)&^4Nb2tlbLMU<{!p(#yjqEe+=0IA_oih%ScH9@5#MNp&}Y#;;(h=A0@ zh7{>lT2MkSQ344eAvrhici!td|HJuyvJm#Y_w1Q9Yu3!26dNlO-oxUDK_C#XnW^Co z5C{VN6#{~B0)K2j7}*1Xq(Nqemv23A-6&=ZpEijkVnSwVGqLv40?n0=p;k3-U5e5+ z+z3>aS`u9DS=!wg8ROu?X4TFoW6CFLL&{GzoVT)ldhLekLM|+j3tIxRd|*5=c{=s&*vfPdBr(Fyj(v@%eQj1Soy7m4^@VRl1~@-PV7y+c!xz$8436WBn$t{=}mEdK#k`aystimGgI{(IBx$!pAwFoE9Y`^t^;> zKAD)C(Dl^s%`?q5$P|fZf8Xymrtu^Pv(7D`rn>Z-w$Ahs!z9!94WNVxrJuXfHAaxg zC6s@|Z1$7R$(!#t%Jb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Kg|2b#iaazCv;|?(W-q}$o&Y}Q5d@BRk^jL7#{kbCK zSgkyu;=DV+or2)AxCBgq-nj5=@n^`%T#V+xBGEkW4lCqrE)LMv#f;AvD__cQ@Eg3`~x| zW+h9mofSXCq5|M)9|ez(#X?-sxB%Go8};sJ?2abp(Y!lyi>k)|{M*Z$c{e1-K4ky` MPgg&ebxsLQ025IeI{*Lx diff --git a/apps/apps/design_system_viewer/web/index.html b/apps/apps/design_system_viewer/web/index.html deleted file mode 100644 index 6105e798..00000000 --- a/apps/apps/design_system_viewer/web/index.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - krow_design_system_viewer - - - - - - diff --git a/apps/apps/design_system_viewer/web/manifest.json b/apps/apps/design_system_viewer/web/manifest.json deleted file mode 100644 index 19d97c3e..00000000 --- a/apps/apps/design_system_viewer/web/manifest.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "krow_design_system_viewer", - "short_name": "krow_design_system_viewer", - "start_url": ".", - "display": "standalone", - "background_color": "#0175C2", - "theme_color": "#0175C2", - "description": "A new Flutter project.", - "orientation": "portrait-primary", - "prefer_related_applications": false, - "icons": [ - { - "src": "icons/Icon-192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "icons/Icon-512.png", - "sizes": "512x512", - "type": "image/png" - }, - { - "src": "icons/Icon-maskable-192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "maskable" - }, - { - "src": "icons/Icon-maskable-512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "maskable" - } - ] -} diff --git a/apps/apps/design_system_viewer/windows/.gitignore b/apps/apps/design_system_viewer/windows/.gitignore deleted file mode 100644 index d492d0d9..00000000 --- a/apps/apps/design_system_viewer/windows/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -flutter/ephemeral/ - -# Visual Studio user-specific files. -*.suo -*.user -*.userosscache -*.sln.docstates - -# Visual Studio build-related files. -x64/ -x86/ - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!*.[Cc]ache/ diff --git a/apps/apps/design_system_viewer/windows/CMakeLists.txt b/apps/apps/design_system_viewer/windows/CMakeLists.txt deleted file mode 100644 index e7ce1a4f..00000000 --- a/apps/apps/design_system_viewer/windows/CMakeLists.txt +++ /dev/null @@ -1,108 +0,0 @@ -# Project-level configuration. -cmake_minimum_required(VERSION 3.14) -project(krow_design_system_viewer LANGUAGES CXX) - -# The name of the executable created for the application. Change this to change -# the on-disk name of your application. -set(BINARY_NAME "krow_design_system_viewer") - -# Explicitly opt in to modern CMake behaviors to avoid warnings with recent -# versions of CMake. -cmake_policy(VERSION 3.14...3.25) - -# Define build configuration option. -get_property(IS_MULTICONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) -if(IS_MULTICONFIG) - set(CMAKE_CONFIGURATION_TYPES "Debug;Profile;Release" - CACHE STRING "" FORCE) -else() - if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) - set(CMAKE_BUILD_TYPE "Debug" CACHE - STRING "Flutter build mode" FORCE) - set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS - "Debug" "Profile" "Release") - endif() -endif() -# Define settings for the Profile build mode. -set(CMAKE_EXE_LINKER_FLAGS_PROFILE "${CMAKE_EXE_LINKER_FLAGS_RELEASE}") -set(CMAKE_SHARED_LINKER_FLAGS_PROFILE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE}") -set(CMAKE_C_FLAGS_PROFILE "${CMAKE_C_FLAGS_RELEASE}") -set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_RELEASE}") - -# Use Unicode for all projects. -add_definitions(-DUNICODE -D_UNICODE) - -# Compilation settings that should be applied to most targets. -# -# Be cautious about adding new options here, as plugins use this function by -# default. In most cases, you should add new options to specific targets instead -# of modifying this function. -function(APPLY_STANDARD_SETTINGS TARGET) - target_compile_features(${TARGET} PUBLIC cxx_std_17) - target_compile_options(${TARGET} PRIVATE /W4 /WX /wd"4100") - target_compile_options(${TARGET} PRIVATE /EHsc) - target_compile_definitions(${TARGET} PRIVATE "_HAS_EXCEPTIONS=0") - target_compile_definitions(${TARGET} PRIVATE "$<$:_DEBUG>") -endfunction() - -# Flutter library and tool build rules. -set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter") -add_subdirectory(${FLUTTER_MANAGED_DIR}) - -# Application build; see runner/CMakeLists.txt. -add_subdirectory("runner") - - -# Generated plugin build rules, which manage building the plugins and adding -# them to the application. -include(flutter/generated_plugins.cmake) - - -# === Installation === -# Support files are copied into place next to the executable, so that it can -# run in place. This is done instead of making a separate bundle (as on Linux) -# so that building and running from within Visual Studio will work. -set(BUILD_BUNDLE_DIR "$") -# Make the "install" step default, as it's required to run. -set(CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD 1) -if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) - set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE) -endif() - -set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data") -set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}") - -install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -if(PLUGIN_BUNDLED_LIBRARIES) - install(FILES "${PLUGIN_BUNDLED_LIBRARIES}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) -endif() - -# Copy the native assets provided by the build.dart from all packages. -set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/windows/") -install(DIRECTORY "${NATIVE_ASSETS_DIR}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -# Fully re-copy the assets directory on each build to avoid having stale files -# from a previous install. -set(FLUTTER_ASSET_DIR_NAME "flutter_assets") -install(CODE " - file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\") - " COMPONENT Runtime) -install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}" - DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime) - -# Install the AOT library on non-Debug builds only. -install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" - CONFIGURATIONS Profile;Release - COMPONENT Runtime) diff --git a/apps/apps/design_system_viewer/windows/flutter/CMakeLists.txt b/apps/apps/design_system_viewer/windows/flutter/CMakeLists.txt deleted file mode 100644 index 903f4899..00000000 --- a/apps/apps/design_system_viewer/windows/flutter/CMakeLists.txt +++ /dev/null @@ -1,109 +0,0 @@ -# This file controls Flutter-level build steps. It should not be edited. -cmake_minimum_required(VERSION 3.14) - -set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral") - -# Configuration provided via flutter tool. -include(${EPHEMERAL_DIR}/generated_config.cmake) - -# TODO: Move the rest of this into files in ephemeral. See -# https://github.com/flutter/flutter/issues/57146. -set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper") - -# Set fallback configurations for older versions of the flutter tool. -if (NOT DEFINED FLUTTER_TARGET_PLATFORM) - set(FLUTTER_TARGET_PLATFORM "windows-x64") -endif() - -# === Flutter Library === -set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll") - -# Published to parent scope for install step. -set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE) -set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE) -set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE) -set(AOT_LIBRARY "${PROJECT_DIR}/build/windows/app.so" PARENT_SCOPE) - -list(APPEND FLUTTER_LIBRARY_HEADERS - "flutter_export.h" - "flutter_windows.h" - "flutter_messenger.h" - "flutter_plugin_registrar.h" - "flutter_texture_registrar.h" -) -list(TRANSFORM FLUTTER_LIBRARY_HEADERS PREPEND "${EPHEMERAL_DIR}/") -add_library(flutter INTERFACE) -target_include_directories(flutter INTERFACE - "${EPHEMERAL_DIR}" -) -target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}.lib") -add_dependencies(flutter flutter_assemble) - -# === Wrapper === -list(APPEND CPP_WRAPPER_SOURCES_CORE - "core_implementations.cc" - "standard_codec.cc" -) -list(TRANSFORM CPP_WRAPPER_SOURCES_CORE PREPEND "${WRAPPER_ROOT}/") -list(APPEND CPP_WRAPPER_SOURCES_PLUGIN - "plugin_registrar.cc" -) -list(TRANSFORM CPP_WRAPPER_SOURCES_PLUGIN PREPEND "${WRAPPER_ROOT}/") -list(APPEND CPP_WRAPPER_SOURCES_APP - "flutter_engine.cc" - "flutter_view_controller.cc" -) -list(TRANSFORM CPP_WRAPPER_SOURCES_APP PREPEND "${WRAPPER_ROOT}/") - -# Wrapper sources needed for a plugin. -add_library(flutter_wrapper_plugin STATIC - ${CPP_WRAPPER_SOURCES_CORE} - ${CPP_WRAPPER_SOURCES_PLUGIN} -) -apply_standard_settings(flutter_wrapper_plugin) -set_target_properties(flutter_wrapper_plugin PROPERTIES - POSITION_INDEPENDENT_CODE ON) -set_target_properties(flutter_wrapper_plugin PROPERTIES - CXX_VISIBILITY_PRESET hidden) -target_link_libraries(flutter_wrapper_plugin PUBLIC flutter) -target_include_directories(flutter_wrapper_plugin PUBLIC - "${WRAPPER_ROOT}/include" -) -add_dependencies(flutter_wrapper_plugin flutter_assemble) - -# Wrapper sources needed for the runner. -add_library(flutter_wrapper_app STATIC - ${CPP_WRAPPER_SOURCES_CORE} - ${CPP_WRAPPER_SOURCES_APP} -) -apply_standard_settings(flutter_wrapper_app) -target_link_libraries(flutter_wrapper_app PUBLIC flutter) -target_include_directories(flutter_wrapper_app PUBLIC - "${WRAPPER_ROOT}/include" -) -add_dependencies(flutter_wrapper_app flutter_assemble) - -# === Flutter tool backend === -# _phony_ is a non-existent file to force this command to run every time, -# since currently there's no way to get a full input/output list from the -# flutter tool. -set(PHONY_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/_phony_") -set_source_files_properties("${PHONY_OUTPUT}" PROPERTIES SYMBOLIC TRUE) -add_custom_command( - OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS} - ${CPP_WRAPPER_SOURCES_CORE} ${CPP_WRAPPER_SOURCES_PLUGIN} - ${CPP_WRAPPER_SOURCES_APP} - ${PHONY_OUTPUT} - COMMAND ${CMAKE_COMMAND} -E env - ${FLUTTER_TOOL_ENVIRONMENT} - "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat" - ${FLUTTER_TARGET_PLATFORM} $ - VERBATIM -) -add_custom_target(flutter_assemble DEPENDS - "${FLUTTER_LIBRARY}" - ${FLUTTER_LIBRARY_HEADERS} - ${CPP_WRAPPER_SOURCES_CORE} - ${CPP_WRAPPER_SOURCES_PLUGIN} - ${CPP_WRAPPER_SOURCES_APP} -) diff --git a/apps/apps/design_system_viewer/windows/flutter/generated_plugin_registrant.cc b/apps/apps/design_system_viewer/windows/flutter/generated_plugin_registrant.cc deleted file mode 100644 index 8b6d4680..00000000 --- a/apps/apps/design_system_viewer/windows/flutter/generated_plugin_registrant.cc +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#include "generated_plugin_registrant.h" - - -void RegisterPlugins(flutter::PluginRegistry* registry) { -} diff --git a/apps/apps/design_system_viewer/windows/flutter/generated_plugin_registrant.h b/apps/apps/design_system_viewer/windows/flutter/generated_plugin_registrant.h deleted file mode 100644 index dc139d85..00000000 --- a/apps/apps/design_system_viewer/windows/flutter/generated_plugin_registrant.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#ifndef GENERATED_PLUGIN_REGISTRANT_ -#define GENERATED_PLUGIN_REGISTRANT_ - -#include - -// Registers Flutter plugins. -void RegisterPlugins(flutter::PluginRegistry* registry); - -#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/apps/apps/design_system_viewer/windows/flutter/generated_plugins.cmake b/apps/apps/design_system_viewer/windows/flutter/generated_plugins.cmake deleted file mode 100644 index b93c4c30..00000000 --- a/apps/apps/design_system_viewer/windows/flutter/generated_plugins.cmake +++ /dev/null @@ -1,23 +0,0 @@ -# -# Generated file, do not edit. -# - -list(APPEND FLUTTER_PLUGIN_LIST -) - -list(APPEND FLUTTER_FFI_PLUGIN_LIST -) - -set(PLUGIN_BUNDLED_LIBRARIES) - -foreach(plugin ${FLUTTER_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin}) - target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) - list(APPEND PLUGIN_BUNDLED_LIBRARIES $) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) -endforeach(plugin) - -foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin}) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) -endforeach(ffi_plugin) diff --git a/apps/apps/design_system_viewer/windows/runner/CMakeLists.txt b/apps/apps/design_system_viewer/windows/runner/CMakeLists.txt deleted file mode 100644 index 394917c0..00000000 --- a/apps/apps/design_system_viewer/windows/runner/CMakeLists.txt +++ /dev/null @@ -1,40 +0,0 @@ -cmake_minimum_required(VERSION 3.14) -project(runner LANGUAGES CXX) - -# Define the application target. To change its name, change BINARY_NAME in the -# top-level CMakeLists.txt, not the value here, or `flutter run` will no longer -# work. -# -# Any new source files that you add to the application should be added here. -add_executable(${BINARY_NAME} WIN32 - "flutter_window.cpp" - "main.cpp" - "utils.cpp" - "win32_window.cpp" - "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" - "Runner.rc" - "runner.exe.manifest" -) - -# Apply the standard set of build settings. This can be removed for applications -# that need different build settings. -apply_standard_settings(${BINARY_NAME}) - -# Add preprocessor definitions for the build version. -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION=\"${FLUTTER_VERSION}\"") -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MAJOR=${FLUTTER_VERSION_MAJOR}") -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MINOR=${FLUTTER_VERSION_MINOR}") -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_PATCH=${FLUTTER_VERSION_PATCH}") -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_BUILD=${FLUTTER_VERSION_BUILD}") - -# Disable Windows macros that collide with C++ standard library functions. -target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX") - -# Add dependency libraries and include directories. Add any application-specific -# dependencies here. -target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app) -target_link_libraries(${BINARY_NAME} PRIVATE "dwmapi.lib") -target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}") - -# Run the Flutter tool portions of the build. This must not be removed. -add_dependencies(${BINARY_NAME} flutter_assemble) diff --git a/apps/apps/design_system_viewer/windows/runner/Runner.rc b/apps/apps/design_system_viewer/windows/runner/Runner.rc deleted file mode 100644 index 9447ef0f..00000000 --- a/apps/apps/design_system_viewer/windows/runner/Runner.rc +++ /dev/null @@ -1,121 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#pragma code_page(65001) -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "winres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (United States) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""winres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_APP_ICON ICON "resources\\app_icon.ico" - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -#if defined(FLUTTER_VERSION_MAJOR) && defined(FLUTTER_VERSION_MINOR) && defined(FLUTTER_VERSION_PATCH) && defined(FLUTTER_VERSION_BUILD) -#define VERSION_AS_NUMBER FLUTTER_VERSION_MAJOR,FLUTTER_VERSION_MINOR,FLUTTER_VERSION_PATCH,FLUTTER_VERSION_BUILD -#else -#define VERSION_AS_NUMBER 1,0,0,0 -#endif - -#if defined(FLUTTER_VERSION) -#define VERSION_AS_STRING FLUTTER_VERSION -#else -#define VERSION_AS_STRING "1.0.0" -#endif - -VS_VERSION_INFO VERSIONINFO - FILEVERSION VERSION_AS_NUMBER - PRODUCTVERSION VERSION_AS_NUMBER - FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0x0L -#endif - FILEOS VOS__WINDOWS32 - FILETYPE VFT_APP - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "com.example" "\0" - VALUE "FileDescription", "krow_design_system_viewer" "\0" - VALUE "FileVersion", VERSION_AS_STRING "\0" - VALUE "InternalName", "krow_design_system_viewer" "\0" - VALUE "LegalCopyright", "Copyright (C) 2026 com.example. All rights reserved." "\0" - VALUE "OriginalFilename", "krow_design_system_viewer.exe" "\0" - VALUE "ProductName", "krow_design_system_viewer" "\0" - VALUE "ProductVersion", VERSION_AS_STRING "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - -#endif // English (United States) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED diff --git a/apps/apps/design_system_viewer/windows/runner/flutter_window.cpp b/apps/apps/design_system_viewer/windows/runner/flutter_window.cpp deleted file mode 100644 index 955ee303..00000000 --- a/apps/apps/design_system_viewer/windows/runner/flutter_window.cpp +++ /dev/null @@ -1,71 +0,0 @@ -#include "flutter_window.h" - -#include - -#include "flutter/generated_plugin_registrant.h" - -FlutterWindow::FlutterWindow(const flutter::DartProject& project) - : project_(project) {} - -FlutterWindow::~FlutterWindow() {} - -bool FlutterWindow::OnCreate() { - if (!Win32Window::OnCreate()) { - return false; - } - - RECT frame = GetClientArea(); - - // The size here must match the window dimensions to avoid unnecessary surface - // creation / destruction in the startup path. - flutter_controller_ = std::make_unique( - frame.right - frame.left, frame.bottom - frame.top, project_); - // Ensure that basic setup of the controller was successful. - if (!flutter_controller_->engine() || !flutter_controller_->view()) { - return false; - } - RegisterPlugins(flutter_controller_->engine()); - SetChildContent(flutter_controller_->view()->GetNativeWindow()); - - flutter_controller_->engine()->SetNextFrameCallback([&]() { - this->Show(); - }); - - // Flutter can complete the first frame before the "show window" callback is - // registered. The following call ensures a frame is pending to ensure the - // window is shown. It is a no-op if the first frame hasn't completed yet. - flutter_controller_->ForceRedraw(); - - return true; -} - -void FlutterWindow::OnDestroy() { - if (flutter_controller_) { - flutter_controller_ = nullptr; - } - - Win32Window::OnDestroy(); -} - -LRESULT -FlutterWindow::MessageHandler(HWND hwnd, UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept { - // Give Flutter, including plugins, an opportunity to handle window messages. - if (flutter_controller_) { - std::optional result = - flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam, - lparam); - if (result) { - return *result; - } - } - - switch (message) { - case WM_FONTCHANGE: - flutter_controller_->engine()->ReloadSystemFonts(); - break; - } - - return Win32Window::MessageHandler(hwnd, message, wparam, lparam); -} diff --git a/apps/apps/design_system_viewer/windows/runner/flutter_window.h b/apps/apps/design_system_viewer/windows/runner/flutter_window.h deleted file mode 100644 index 6da0652f..00000000 --- a/apps/apps/design_system_viewer/windows/runner/flutter_window.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef RUNNER_FLUTTER_WINDOW_H_ -#define RUNNER_FLUTTER_WINDOW_H_ - -#include -#include - -#include - -#include "win32_window.h" - -// A window that does nothing but host a Flutter view. -class FlutterWindow : public Win32Window { - public: - // Creates a new FlutterWindow hosting a Flutter view running |project|. - explicit FlutterWindow(const flutter::DartProject& project); - virtual ~FlutterWindow(); - - protected: - // Win32Window: - bool OnCreate() override; - void OnDestroy() override; - LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam, - LPARAM const lparam) noexcept override; - - private: - // The project to run. - flutter::DartProject project_; - - // The Flutter instance hosted by this window. - std::unique_ptr flutter_controller_; -}; - -#endif // RUNNER_FLUTTER_WINDOW_H_ diff --git a/apps/apps/design_system_viewer/windows/runner/main.cpp b/apps/apps/design_system_viewer/windows/runner/main.cpp deleted file mode 100644 index adbbdb30..00000000 --- a/apps/apps/design_system_viewer/windows/runner/main.cpp +++ /dev/null @@ -1,43 +0,0 @@ -#include -#include -#include - -#include "flutter_window.h" -#include "utils.h" - -int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, - _In_ wchar_t *command_line, _In_ int show_command) { - // Attach to console when present (e.g., 'flutter run') or create a - // new console when running with a debugger. - if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) { - CreateAndAttachConsole(); - } - - // Initialize COM, so that it is available for use in the library and/or - // plugins. - ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED); - - flutter::DartProject project(L"data"); - - std::vector command_line_arguments = - GetCommandLineArguments(); - - project.set_dart_entrypoint_arguments(std::move(command_line_arguments)); - - FlutterWindow window(project); - Win32Window::Point origin(10, 10); - Win32Window::Size size(1280, 720); - if (!window.Create(L"krow_design_system_viewer", origin, size)) { - return EXIT_FAILURE; - } - window.SetQuitOnClose(true); - - ::MSG msg; - while (::GetMessage(&msg, nullptr, 0, 0)) { - ::TranslateMessage(&msg); - ::DispatchMessage(&msg); - } - - ::CoUninitialize(); - return EXIT_SUCCESS; -} diff --git a/apps/apps/design_system_viewer/windows/runner/resource.h b/apps/apps/design_system_viewer/windows/runner/resource.h deleted file mode 100644 index 66a65d1e..00000000 --- a/apps/apps/design_system_viewer/windows/runner/resource.h +++ /dev/null @@ -1,16 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Runner.rc -// -#define IDI_APP_ICON 101 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/apps/apps/design_system_viewer/windows/runner/resources/app_icon.ico b/apps/apps/design_system_viewer/windows/runner/resources/app_icon.ico deleted file mode 100644 index c04e20caf6370ebb9253ad831cc31de4a9c965f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 33772 zcmeHQc|26z|35SKE&G-*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xKK_CBM2PP_je+Xft`(vYfXXgIUr{=PA=7a8`2EHk)Ym2QKIforz# tySWtj{oF3N9@_;i*Fv5S)9x^z=nlWP>jpp-9)52ZmLVA=i*%6g{{fxOO~wEK diff --git a/apps/apps/design_system_viewer/windows/runner/runner.exe.manifest b/apps/apps/design_system_viewer/windows/runner/runner.exe.manifest deleted file mode 100644 index 153653e8..00000000 --- a/apps/apps/design_system_viewer/windows/runner/runner.exe.manifest +++ /dev/null @@ -1,14 +0,0 @@ - - - - - PerMonitorV2 - - - - - - - - - diff --git a/apps/apps/design_system_viewer/windows/runner/utils.cpp b/apps/apps/design_system_viewer/windows/runner/utils.cpp deleted file mode 100644 index 3a0b4651..00000000 --- a/apps/apps/design_system_viewer/windows/runner/utils.cpp +++ /dev/null @@ -1,65 +0,0 @@ -#include "utils.h" - -#include -#include -#include -#include - -#include - -void CreateAndAttachConsole() { - if (::AllocConsole()) { - FILE *unused; - if (freopen_s(&unused, "CONOUT$", "w", stdout)) { - _dup2(_fileno(stdout), 1); - } - if (freopen_s(&unused, "CONOUT$", "w", stderr)) { - _dup2(_fileno(stdout), 2); - } - std::ios::sync_with_stdio(); - FlutterDesktopResyncOutputStreams(); - } -} - -std::vector GetCommandLineArguments() { - // Convert the UTF-16 command line arguments to UTF-8 for the Engine to use. - int argc; - wchar_t** argv = ::CommandLineToArgvW(::GetCommandLineW(), &argc); - if (argv == nullptr) { - return std::vector(); - } - - std::vector command_line_arguments; - - // Skip the first argument as it's the binary name. - for (int i = 1; i < argc; i++) { - command_line_arguments.push_back(Utf8FromUtf16(argv[i])); - } - - ::LocalFree(argv); - - return command_line_arguments; -} - -std::string Utf8FromUtf16(const wchar_t* utf16_string) { - if (utf16_string == nullptr) { - return std::string(); - } - unsigned int target_length = ::WideCharToMultiByte( - CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, - -1, nullptr, 0, nullptr, nullptr) - -1; // remove the trailing null character - int input_length = (int)wcslen(utf16_string); - std::string utf8_string; - if (target_length == 0 || target_length > utf8_string.max_size()) { - return utf8_string; - } - utf8_string.resize(target_length); - int converted_length = ::WideCharToMultiByte( - CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, - input_length, utf8_string.data(), target_length, nullptr, nullptr); - if (converted_length == 0) { - return std::string(); - } - return utf8_string; -} diff --git a/apps/apps/design_system_viewer/windows/runner/utils.h b/apps/apps/design_system_viewer/windows/runner/utils.h deleted file mode 100644 index 3879d547..00000000 --- a/apps/apps/design_system_viewer/windows/runner/utils.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef RUNNER_UTILS_H_ -#define RUNNER_UTILS_H_ - -#include -#include - -// Creates a console for the process, and redirects stdout and stderr to -// it for both the runner and the Flutter library. -void CreateAndAttachConsole(); - -// Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string -// encoded in UTF-8. Returns an empty std::string on failure. -std::string Utf8FromUtf16(const wchar_t* utf16_string); - -// Gets the command line arguments passed in as a std::vector, -// encoded in UTF-8. Returns an empty std::vector on failure. -std::vector GetCommandLineArguments(); - -#endif // RUNNER_UTILS_H_ diff --git a/apps/apps/design_system_viewer/windows/runner/win32_window.cpp b/apps/apps/design_system_viewer/windows/runner/win32_window.cpp deleted file mode 100644 index 60608d0f..00000000 --- a/apps/apps/design_system_viewer/windows/runner/win32_window.cpp +++ /dev/null @@ -1,288 +0,0 @@ -#include "win32_window.h" - -#include -#include - -#include "resource.h" - -namespace { - -/// Window attribute that enables dark mode window decorations. -/// -/// Redefined in case the developer's machine has a Windows SDK older than -/// version 10.0.22000.0. -/// See: https://docs.microsoft.com/windows/win32/api/dwmapi/ne-dwmapi-dwmwindowattribute -#ifndef DWMWA_USE_IMMERSIVE_DARK_MODE -#define DWMWA_USE_IMMERSIVE_DARK_MODE 20 -#endif - -constexpr const wchar_t kWindowClassName[] = L"FLUTTER_RUNNER_WIN32_WINDOW"; - -/// Registry key for app theme preference. -/// -/// A value of 0 indicates apps should use dark mode. A non-zero or missing -/// value indicates apps should use light mode. -constexpr const wchar_t kGetPreferredBrightnessRegKey[] = - L"Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize"; -constexpr const wchar_t kGetPreferredBrightnessRegValue[] = L"AppsUseLightTheme"; - -// The number of Win32Window objects that currently exist. -static int g_active_window_count = 0; - -using EnableNonClientDpiScaling = BOOL __stdcall(HWND hwnd); - -// Scale helper to convert logical scaler values to physical using passed in -// scale factor -int Scale(int source, double scale_factor) { - return static_cast(source * scale_factor); -} - -// Dynamically loads the |EnableNonClientDpiScaling| from the User32 module. -// This API is only needed for PerMonitor V1 awareness mode. -void EnableFullDpiSupportIfAvailable(HWND hwnd) { - HMODULE user32_module = LoadLibraryA("User32.dll"); - if (!user32_module) { - return; - } - auto enable_non_client_dpi_scaling = - reinterpret_cast( - GetProcAddress(user32_module, "EnableNonClientDpiScaling")); - if (enable_non_client_dpi_scaling != nullptr) { - enable_non_client_dpi_scaling(hwnd); - } - FreeLibrary(user32_module); -} - -} // namespace - -// Manages the Win32Window's window class registration. -class WindowClassRegistrar { - public: - ~WindowClassRegistrar() = default; - - // Returns the singleton registrar instance. - static WindowClassRegistrar* GetInstance() { - if (!instance_) { - instance_ = new WindowClassRegistrar(); - } - return instance_; - } - - // Returns the name of the window class, registering the class if it hasn't - // previously been registered. - const wchar_t* GetWindowClass(); - - // Unregisters the window class. Should only be called if there are no - // instances of the window. - void UnregisterWindowClass(); - - private: - WindowClassRegistrar() = default; - - static WindowClassRegistrar* instance_; - - bool class_registered_ = false; -}; - -WindowClassRegistrar* WindowClassRegistrar::instance_ = nullptr; - -const wchar_t* WindowClassRegistrar::GetWindowClass() { - if (!class_registered_) { - WNDCLASS window_class{}; - window_class.hCursor = LoadCursor(nullptr, IDC_ARROW); - window_class.lpszClassName = kWindowClassName; - window_class.style = CS_HREDRAW | CS_VREDRAW; - window_class.cbClsExtra = 0; - window_class.cbWndExtra = 0; - window_class.hInstance = GetModuleHandle(nullptr); - window_class.hIcon = - LoadIcon(window_class.hInstance, MAKEINTRESOURCE(IDI_APP_ICON)); - window_class.hbrBackground = 0; - window_class.lpszMenuName = nullptr; - window_class.lpfnWndProc = Win32Window::WndProc; - RegisterClass(&window_class); - class_registered_ = true; - } - return kWindowClassName; -} - -void WindowClassRegistrar::UnregisterWindowClass() { - UnregisterClass(kWindowClassName, nullptr); - class_registered_ = false; -} - -Win32Window::Win32Window() { - ++g_active_window_count; -} - -Win32Window::~Win32Window() { - --g_active_window_count; - Destroy(); -} - -bool Win32Window::Create(const std::wstring& title, - const Point& origin, - const Size& size) { - Destroy(); - - const wchar_t* window_class = - WindowClassRegistrar::GetInstance()->GetWindowClass(); - - const POINT target_point = {static_cast(origin.x), - static_cast(origin.y)}; - HMONITOR monitor = MonitorFromPoint(target_point, MONITOR_DEFAULTTONEAREST); - UINT dpi = FlutterDesktopGetDpiForMonitor(monitor); - double scale_factor = dpi / 96.0; - - HWND window = CreateWindow( - window_class, title.c_str(), WS_OVERLAPPEDWINDOW, - Scale(origin.x, scale_factor), Scale(origin.y, scale_factor), - Scale(size.width, scale_factor), Scale(size.height, scale_factor), - nullptr, nullptr, GetModuleHandle(nullptr), this); - - if (!window) { - return false; - } - - UpdateTheme(window); - - return OnCreate(); -} - -bool Win32Window::Show() { - return ShowWindow(window_handle_, SW_SHOWNORMAL); -} - -// static -LRESULT CALLBACK Win32Window::WndProc(HWND const window, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept { - if (message == WM_NCCREATE) { - auto window_struct = reinterpret_cast(lparam); - SetWindowLongPtr(window, GWLP_USERDATA, - reinterpret_cast(window_struct->lpCreateParams)); - - auto that = static_cast(window_struct->lpCreateParams); - EnableFullDpiSupportIfAvailable(window); - that->window_handle_ = window; - } else if (Win32Window* that = GetThisFromHandle(window)) { - return that->MessageHandler(window, message, wparam, lparam); - } - - return DefWindowProc(window, message, wparam, lparam); -} - -LRESULT -Win32Window::MessageHandler(HWND hwnd, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept { - switch (message) { - case WM_DESTROY: - window_handle_ = nullptr; - Destroy(); - if (quit_on_close_) { - PostQuitMessage(0); - } - return 0; - - case WM_DPICHANGED: { - auto newRectSize = reinterpret_cast(lparam); - LONG newWidth = newRectSize->right - newRectSize->left; - LONG newHeight = newRectSize->bottom - newRectSize->top; - - SetWindowPos(hwnd, nullptr, newRectSize->left, newRectSize->top, newWidth, - newHeight, SWP_NOZORDER | SWP_NOACTIVATE); - - return 0; - } - case WM_SIZE: { - RECT rect = GetClientArea(); - if (child_content_ != nullptr) { - // Size and position the child window. - MoveWindow(child_content_, rect.left, rect.top, rect.right - rect.left, - rect.bottom - rect.top, TRUE); - } - return 0; - } - - case WM_ACTIVATE: - if (child_content_ != nullptr) { - SetFocus(child_content_); - } - return 0; - - case WM_DWMCOLORIZATIONCOLORCHANGED: - UpdateTheme(hwnd); - return 0; - } - - return DefWindowProc(window_handle_, message, wparam, lparam); -} - -void Win32Window::Destroy() { - OnDestroy(); - - if (window_handle_) { - DestroyWindow(window_handle_); - window_handle_ = nullptr; - } - if (g_active_window_count == 0) { - WindowClassRegistrar::GetInstance()->UnregisterWindowClass(); - } -} - -Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept { - return reinterpret_cast( - GetWindowLongPtr(window, GWLP_USERDATA)); -} - -void Win32Window::SetChildContent(HWND content) { - child_content_ = content; - SetParent(content, window_handle_); - RECT frame = GetClientArea(); - - MoveWindow(content, frame.left, frame.top, frame.right - frame.left, - frame.bottom - frame.top, true); - - SetFocus(child_content_); -} - -RECT Win32Window::GetClientArea() { - RECT frame; - GetClientRect(window_handle_, &frame); - return frame; -} - -HWND Win32Window::GetHandle() { - return window_handle_; -} - -void Win32Window::SetQuitOnClose(bool quit_on_close) { - quit_on_close_ = quit_on_close; -} - -bool Win32Window::OnCreate() { - // No-op; provided for subclasses. - return true; -} - -void Win32Window::OnDestroy() { - // No-op; provided for subclasses. -} - -void Win32Window::UpdateTheme(HWND const window) { - DWORD light_mode; - DWORD light_mode_size = sizeof(light_mode); - LSTATUS result = RegGetValue(HKEY_CURRENT_USER, kGetPreferredBrightnessRegKey, - kGetPreferredBrightnessRegValue, - RRF_RT_REG_DWORD, nullptr, &light_mode, - &light_mode_size); - - if (result == ERROR_SUCCESS) { - BOOL enable_dark_mode = light_mode == 0; - DwmSetWindowAttribute(window, DWMWA_USE_IMMERSIVE_DARK_MODE, - &enable_dark_mode, sizeof(enable_dark_mode)); - } -} diff --git a/apps/apps/design_system_viewer/windows/runner/win32_window.h b/apps/apps/design_system_viewer/windows/runner/win32_window.h deleted file mode 100644 index e901dde6..00000000 --- a/apps/apps/design_system_viewer/windows/runner/win32_window.h +++ /dev/null @@ -1,102 +0,0 @@ -#ifndef RUNNER_WIN32_WINDOW_H_ -#define RUNNER_WIN32_WINDOW_H_ - -#include - -#include -#include -#include - -// A class abstraction for a high DPI-aware Win32 Window. Intended to be -// inherited from by classes that wish to specialize with custom -// rendering and input handling -class Win32Window { - public: - struct Point { - unsigned int x; - unsigned int y; - Point(unsigned int x, unsigned int y) : x(x), y(y) {} - }; - - struct Size { - unsigned int width; - unsigned int height; - Size(unsigned int width, unsigned int height) - : width(width), height(height) {} - }; - - Win32Window(); - virtual ~Win32Window(); - - // Creates a win32 window with |title| that is positioned and sized using - // |origin| and |size|. New windows are created on the default monitor. Window - // sizes are specified to the OS in physical pixels, hence to ensure a - // consistent size this function will scale the inputted width and height as - // as appropriate for the default monitor. The window is invisible until - // |Show| is called. Returns true if the window was created successfully. - bool Create(const std::wstring& title, const Point& origin, const Size& size); - - // Show the current window. Returns true if the window was successfully shown. - bool Show(); - - // Release OS resources associated with window. - void Destroy(); - - // Inserts |content| into the window tree. - void SetChildContent(HWND content); - - // Returns the backing Window handle to enable clients to set icon and other - // window properties. Returns nullptr if the window has been destroyed. - HWND GetHandle(); - - // If true, closing this window will quit the application. - void SetQuitOnClose(bool quit_on_close); - - // Return a RECT representing the bounds of the current client area. - RECT GetClientArea(); - - protected: - // Processes and route salient window messages for mouse handling, - // size change and DPI. Delegates handling of these to member overloads that - // inheriting classes can handle. - virtual LRESULT MessageHandler(HWND window, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept; - - // Called when CreateAndShow is called, allowing subclass window-related - // setup. Subclasses should return false if setup fails. - virtual bool OnCreate(); - - // Called when Destroy is called. - virtual void OnDestroy(); - - private: - friend class WindowClassRegistrar; - - // OS callback called by message pump. Handles the WM_NCCREATE message which - // is passed when the non-client area is being created and enables automatic - // non-client DPI scaling so that the non-client area automatically - // responds to changes in DPI. All other messages are handled by - // MessageHandler. - static LRESULT CALLBACK WndProc(HWND const window, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept; - - // Retrieves a class instance pointer for |window| - static Win32Window* GetThisFromHandle(HWND const window) noexcept; - - // Update the window frame's theme to match the system theme. - static void UpdateTheme(HWND const window); - - bool quit_on_close_ = false; - - // window handle for top level window. - HWND window_handle_ = nullptr; - - // window handle for hosted content. - HWND child_content_ = nullptr; -}; - -#endif // RUNNER_WIN32_WINDOW_H_ diff --git a/apps/apps/staff/.gitignore b/apps/apps/staff/.gitignore deleted file mode 100644 index 3820a95c..00000000 --- a/apps/apps/staff/.gitignore +++ /dev/null @@ -1,45 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.build/ -.buildlog/ -.history -.svn/ -.swiftpm/ -migrate_working_dir/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins-dependencies -.pub-cache/ -.pub/ -/build/ -/coverage/ - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Android Studio will place build artifacts here -/android/app/debug -/android/app/profile -/android/app/release diff --git a/apps/apps/staff/.metadata b/apps/apps/staff/.metadata deleted file mode 100644 index 10fc6261..00000000 --- a/apps/apps/staff/.metadata +++ /dev/null @@ -1,30 +0,0 @@ -# This file tracks properties of this Flutter project. -# Used by Flutter tool to assess capabilities and perform upgrades etc. -# -# This file should be version controlled and should not be manually edited. - -version: - revision: "3b62efc2a3da49882f43c372e0bc53daef7295a6" - channel: "stable" - -project_type: app - -# Tracks metadata for the flutter migrate command -migration: - platforms: - - platform: root - create_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - base_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - - platform: ios - create_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - base_revision: 3b62efc2a3da49882f43c372e0bc53daef7295a6 - - # User provided section - - # List of Local paths (relative to this file) that should be - # ignored by the migrate tool. - # - # Files that are not part of the templates will be ignored by default. - unmanaged_files: - - 'lib/main.dart' - - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/apps/apps/staff/README.md b/apps/apps/staff/README.md deleted file mode 100644 index 54a11c2f..00000000 --- a/apps/apps/staff/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# krowwithus_staff - -A new Flutter project. diff --git a/apps/apps/staff/analysis_options.yaml b/apps/apps/staff/analysis_options.yaml deleted file mode 100644 index 856be8f8..00000000 --- a/apps/apps/staff/analysis_options.yaml +++ /dev/null @@ -1 +0,0 @@ -include: ../../analytics_options.yaml \ No newline at end of file diff --git a/apps/apps/staff/android/.gitignore b/apps/apps/staff/android/.gitignore deleted file mode 100644 index be3943c9..00000000 --- a/apps/apps/staff/android/.gitignore +++ /dev/null @@ -1,14 +0,0 @@ -gradle-wrapper.jar -/.gradle -/captures/ -/gradlew -/gradlew.bat -/local.properties -GeneratedPluginRegistrant.java -.cxx/ - -# Remember to never publicly share your keystore. -# See https://flutter.dev/to/reference-keystore -key.properties -**/*.keystore -**/*.jks diff --git a/apps/apps/staff/android/app/build.gradle.kts b/apps/apps/staff/android/app/build.gradle.kts deleted file mode 100644 index 0f75ed01..00000000 --- a/apps/apps/staff/android/app/build.gradle.kts +++ /dev/null @@ -1,44 +0,0 @@ -plugins { - id("com.android.application") - id("kotlin-android") - // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. - id("dev.flutter.flutter-gradle-plugin") -} - -android { - namespace = "com.example.krow_staff" - compileSdk = flutter.compileSdkVersion - ndkVersion = flutter.ndkVersion - - compileOptions { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 - } - - kotlinOptions { - jvmTarget = JavaVersion.VERSION_17.toString() - } - - defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId = "com.krowwithus.staff" - // You can update the following values to match your application needs. - // For more information, see: https://flutter.dev/to/review-gradle-config. - minSdk = flutter.minSdkVersion - targetSdk = flutter.targetSdkVersion - versionCode = flutter.versionCode - versionName = flutter.versionName - } - - buildTypes { - release { - // TODO: Add your own signing config for the release build. - // Signing with the debug keys for now, so `flutter run --release` works. - signingConfig = signingConfigs.getByName("debug") - } - } -} - -flutter { - source = "../.." -} diff --git a/apps/apps/staff/android/app/src/debug/AndroidManifest.xml b/apps/apps/staff/android/app/src/debug/AndroidManifest.xml deleted file mode 100644 index 399f6981..00000000 --- a/apps/apps/staff/android/app/src/debug/AndroidManifest.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/apps/apps/staff/android/app/src/main/AndroidManifest.xml b/apps/apps/staff/android/app/src/main/AndroidManifest.xml deleted file mode 100644 index a80e0f85..00000000 --- a/apps/apps/staff/android/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/staff/android/app/src/main/kotlin/com/example/krow_staff/MainActivity.kt b/apps/apps/staff/android/app/src/main/kotlin/com/example/krow_staff/MainActivity.kt deleted file mode 100644 index 13520833..00000000 --- a/apps/apps/staff/android/app/src/main/kotlin/com/example/krow_staff/MainActivity.kt +++ /dev/null @@ -1,5 +0,0 @@ -package com.example.krow_staff - -import io.flutter.embedding.android.FlutterActivity - -class MainActivity : FlutterActivity() diff --git a/apps/apps/staff/android/app/src/main/kotlin/com/krowwithus/krowwithus_staff/MainActivity.kt b/apps/apps/staff/android/app/src/main/kotlin/com/krowwithus/krowwithus_staff/MainActivity.kt deleted file mode 100644 index 994d7695..00000000 --- a/apps/apps/staff/android/app/src/main/kotlin/com/krowwithus/krowwithus_staff/MainActivity.kt +++ /dev/null @@ -1,5 +0,0 @@ -package com.krowwithus.krowwithus_staff - -import io.flutter.embedding.android.FlutterActivity - -class MainActivity : FlutterActivity() diff --git a/apps/apps/staff/android/app/src/main/res/drawable-v21/launch_background.xml b/apps/apps/staff/android/app/src/main/res/drawable-v21/launch_background.xml deleted file mode 100644 index f74085f3..00000000 --- a/apps/apps/staff/android/app/src/main/res/drawable-v21/launch_background.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/apps/apps/staff/android/app/src/main/res/drawable/launch_background.xml b/apps/apps/staff/android/app/src/main/res/drawable/launch_background.xml deleted file mode 100644 index 304732f8..00000000 --- a/apps/apps/staff/android/app/src/main/res/drawable/launch_background.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/apps/apps/staff/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/apps/apps/staff/android/app/src/main/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index db77bb4b7b0906d62b1847e87f15cdcacf6a4f29..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 544 zcmeAS@N?(olHy`uVBq!ia0vp^9w5xY3?!3`olAj~WQl7;NpOBzNqJ&XDuZK6ep0G} zXKrG8YEWuoN@d~6R2!h8bpbvhu0Wd6uZuB!w&u2PAxD2eNXD>P5D~Wn-+_Wa#27Xc zC?Zj|6r#X(-D3u$NCt}(Ms06KgJ4FxJVv{GM)!I~&n8Bnc94O7-Hd)cjDZswgC;Qs zO=b+9!WcT8F?0rF7!Uys2bs@gozCP?z~o%U|N3vA*22NaGQG zlg@K`O_XuxvZ&Ks^m&R!`&1=spLvfx7oGDKDwpwW`#iqdw@AL`7MR}m`rwr|mZgU`8P7SBkL78fFf!WnuYWm$5Z0 zNXhDbCv&49sM544K|?c)WrFfiZvCi9h0O)B3Pgg&ebxsLQ05GG~ AQ2+n{ diff --git a/apps/apps/staff/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/apps/apps/staff/android/app/src/main/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index 17987b79bb8a35cc66c3c1fd44f5a5526c1b78be..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 442 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA3?vioaBc-sk|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*D5Xx&nMcT!A!W`0S9QKQy;}1Cl^CgaH=;G9cpY;r$Q>i*pfB zP2drbID<_#qf;rPZx^FqH)F_D#*k@@q03KywUtLX8Ua?`H+NMzkczFPK3lFz@i_kW%1NOn0|D2I9n9wzH8m|-tHjsw|9>@K=iMBhxvkv6m8Y-l zytQ?X=U+MF$@3 zt`~i=@j|6y)RWMK--}M|=T`o&^Ni>IoWKHEbBXz7?A@mgWoL>!*SXo`SZH-*HSdS+ yn*9;$7;m`l>wYBC5bq;=U}IMqLzqbYCidGC!)_gkIk_C@Uy!y&wkt5C($~2D>~)O*cj@FGjOCM)M>_ixfudOh)?xMu#Fs z#}Y=@YDTwOM)x{K_j*Q;dPdJ?Mz0n|pLRx{4n|)f>SXlmV)XB04CrSJn#dS5nK2lM zrZ9#~WelCp7&e13Y$jvaEXHskn$2V!!DN-nWS__6T*l;H&Fopn?A6HZ-6WRLFP=R` zqG+CE#d4|IbyAI+rJJ`&x9*T`+a=p|0O(+s{UBcyZdkhj=yS1>AirP+0R;mf2uMgM zC}@~JfByORAh4SyRgi&!(cja>F(l*O+nd+@4m$|6K6KDn_&uvCpV23&>G9HJp{xgg zoq1^2_p9@|WEo z*X_Uko@K)qYYv~>43eQGMdbiGbo>E~Q& zrYBH{QP^@Sti!`2)uG{irBBq@y*$B zi#&(U-*=fp74j)RyIw49+0MRPMRU)+a2r*PJ$L5roHt2$UjExCTZSbq%V!HeS7J$N zdG@vOZB4v_lF7Plrx+hxo7(fCV&}fHq)$ diff --git a/apps/apps/staff/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/apps/apps/staff/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index d5f1c8d34e7a88e3f88bea192c3a370d44689c3c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1031 zcmeAS@N?(olHy`uVBq!ia0vp^6F``Q8Ax83A=Cw=BuiW)N`mv#O3D+9QW+dm@{>{( zJaZG%Q-e|yQz{EjrrIztFa`(sgt!6~Yi|1%a`XoT0ojZ}lNrNjb9xjc(B0U1_% zz5^97Xt*%oq$rQy4?0GKNfJ44uvxI)gC`h-NZ|&0-7(qS@?b!5r36oQ}zyZrNO3 zMO=Or+<~>+A&uN&E!^Sl+>xE!QC-|oJv`ApDhqC^EWD|@=#J`=d#Xzxs4ah}w&Jnc z$|q_opQ^2TrnVZ0o~wh<3t%W&flvYGe#$xqda2bR_R zvPYgMcHgjZ5nSA^lJr%;<&0do;O^tDDh~=pIxA#coaCY>&N%M2^tq^U%3DB@ynvKo}b?yu-bFc-u0JHzced$sg7S3zqI(2 z#Km{dPr7I=pQ5>FuK#)QwK?Y`E`B?nP+}U)I#c1+FM*1kNvWG|a(TpksZQ3B@sD~b zpQ2)*V*TdwjFOtHvV|;OsiDqHi=6%)o4b!)x$)%9pGTsE z-JL={-Ffv+T87W(Xpooq<`r*VzWQcgBN$$`u}f>-ZQI1BB8ykN*=e4rIsJx9>z}*o zo~|9I;xof diff --git a/apps/apps/staff/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/apps/apps/staff/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 4d6372eebdb28e45604e46eeda8dd24651419bc0..0000000000000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J>YDSpGKLPZ^1cv$ek zIB?0S<#tX?SJCLWdMd{-ME?$hc7A$zBOdIJ)4!KcAwb=VMov)nK;9z>x~rfT1>dS+ zZ6#`2v@`jgbqq)P22H)Tx2CpmM^o1$B+xT6`(v%5xJ(?j#>Q$+rx_R|7TzDZe{J6q zG1*EcU%tE?!kO%^M;3aM6JN*LAKUVb^xz8-Pxo#jR5(-KBeLJvA@-gxNHx0M-ZJLl z;#JwQoh~9V?`UVo#}{6ka@II>++D@%KqGpMdlQ}?9E*wFcf5(#XQnP$Dk5~%iX^>f z%$y;?M0BLp{O3a(-4A?ewryHrrD%cx#Q^%KY1H zNre$ve+vceSLZcNY4U(RBX&)oZn*Py()h)XkE?PL$!bNb{N5FVI2Y%LKEm%yvpyTP z(1P?z~7YxD~Rf<(a@_y` diff --git a/apps/apps/staff/android/app/src/main/res/values-night/styles.xml b/apps/apps/staff/android/app/src/main/res/values-night/styles.xml deleted file mode 100644 index 06952be7..00000000 --- a/apps/apps/staff/android/app/src/main/res/values-night/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - diff --git a/apps/apps/staff/android/app/src/main/res/values/styles.xml b/apps/apps/staff/android/app/src/main/res/values/styles.xml deleted file mode 100644 index cb1ef880..00000000 --- a/apps/apps/staff/android/app/src/main/res/values/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - diff --git a/apps/apps/staff/android/app/src/profile/AndroidManifest.xml b/apps/apps/staff/android/app/src/profile/AndroidManifest.xml deleted file mode 100644 index 399f6981..00000000 --- a/apps/apps/staff/android/app/src/profile/AndroidManifest.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/apps/apps/staff/android/build.gradle.kts b/apps/apps/staff/android/build.gradle.kts deleted file mode 100644 index dbee657b..00000000 --- a/apps/apps/staff/android/build.gradle.kts +++ /dev/null @@ -1,24 +0,0 @@ -allprojects { - repositories { - google() - mavenCentral() - } -} - -val newBuildDir: Directory = - rootProject.layout.buildDirectory - .dir("../../build") - .get() -rootProject.layout.buildDirectory.value(newBuildDir) - -subprojects { - val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name) - project.layout.buildDirectory.value(newSubprojectBuildDir) -} -subprojects { - project.evaluationDependsOn(":app") -} - -tasks.register("clean") { - delete(rootProject.layout.buildDirectory) -} diff --git a/apps/apps/staff/android/gradle.properties b/apps/apps/staff/android/gradle.properties deleted file mode 100644 index fbee1d8c..00000000 --- a/apps/apps/staff/android/gradle.properties +++ /dev/null @@ -1,2 +0,0 @@ -org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError -android.useAndroidX=true diff --git a/apps/apps/staff/android/gradle/wrapper/gradle-wrapper.properties b/apps/apps/staff/android/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index e4ef43fb..00000000 --- a/apps/apps/staff/android/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,5 +0,0 @@ -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-all.zip diff --git a/apps/apps/staff/android/settings.gradle.kts b/apps/apps/staff/android/settings.gradle.kts deleted file mode 100644 index ca7fe065..00000000 --- a/apps/apps/staff/android/settings.gradle.kts +++ /dev/null @@ -1,26 +0,0 @@ -pluginManagement { - val flutterSdkPath = - run { - val properties = java.util.Properties() - file("local.properties").inputStream().use { properties.load(it) } - val flutterSdkPath = properties.getProperty("flutter.sdk") - require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" } - flutterSdkPath - } - - includeBuild("$flutterSdkPath/packages/flutter_tools/gradle") - - repositories { - google() - mavenCentral() - gradlePluginPortal() - } -} - -plugins { - id("dev.flutter.flutter-plugin-loader") version "1.0.0" - id("com.android.application") version "8.11.1" apply false - id("org.jetbrains.kotlin.android") version "2.2.20" apply false -} - -include(":app") diff --git a/apps/apps/staff/ios/.gitignore b/apps/apps/staff/ios/.gitignore deleted file mode 100644 index 7a7f9873..00000000 --- a/apps/apps/staff/ios/.gitignore +++ /dev/null @@ -1,34 +0,0 @@ -**/dgph -*.mode1v3 -*.mode2v3 -*.moved-aside -*.pbxuser -*.perspectivev3 -**/*sync/ -.sconsign.dblite -.tags* -**/.vagrant/ -**/DerivedData/ -Icon? -**/Pods/ -**/.symlinks/ -profile -xcuserdata -**/.generated/ -Flutter/App.framework -Flutter/Flutter.framework -Flutter/Flutter.podspec -Flutter/Generated.xcconfig -Flutter/ephemeral/ -Flutter/app.flx -Flutter/app.zip -Flutter/flutter_assets/ -Flutter/flutter_export_environment.sh -ServiceDefinitions.json -Runner/GeneratedPluginRegistrant.* - -# Exceptions to above rules. -!default.mode1v3 -!default.mode2v3 -!default.pbxuser -!default.perspectivev3 diff --git a/apps/apps/staff/ios/Flutter/AppFrameworkInfo.plist b/apps/apps/staff/ios/Flutter/AppFrameworkInfo.plist deleted file mode 100644 index 1dc6cf76..00000000 --- a/apps/apps/staff/ios/Flutter/AppFrameworkInfo.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - App - CFBundleIdentifier - io.flutter.flutter.app - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - App - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - MinimumOSVersion - 13.0 - - diff --git a/apps/apps/staff/ios/Flutter/Debug.xcconfig b/apps/apps/staff/ios/Flutter/Debug.xcconfig deleted file mode 100644 index ec97fc6f..00000000 --- a/apps/apps/staff/ios/Flutter/Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" -#include "Generated.xcconfig" diff --git a/apps/apps/staff/ios/Flutter/Release.xcconfig b/apps/apps/staff/ios/Flutter/Release.xcconfig deleted file mode 100644 index c4855bfe..00000000 --- a/apps/apps/staff/ios/Flutter/Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" -#include "Generated.xcconfig" diff --git a/apps/apps/staff/ios/Podfile b/apps/apps/staff/ios/Podfile deleted file mode 100644 index 620e46eb..00000000 --- a/apps/apps/staff/ios/Podfile +++ /dev/null @@ -1,43 +0,0 @@ -# Uncomment this line to define a global platform for your project -# platform :ios, '13.0' - -# CocoaPods analytics sends network stats synchronously affecting flutter build latency. -ENV['COCOAPODS_DISABLE_STATS'] = 'true' - -project 'Runner', { - 'Debug' => :debug, - 'Profile' => :release, - 'Release' => :release, -} - -def flutter_root - generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) - unless File.exist?(generated_xcode_build_settings_path) - raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" - end - - File.foreach(generated_xcode_build_settings_path) do |line| - matches = line.match(/FLUTTER_ROOT\=(.*)/) - return matches[1].strip if matches - end - raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" -end - -require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) - -flutter_ios_podfile_setup - -target 'Runner' do - use_frameworks! - - flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) - target 'RunnerTests' do - inherit! :search_paths - end -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - flutter_additional_ios_build_settings(target) - end -end diff --git a/apps/apps/staff/ios/Runner.xcodeproj/project.pbxproj b/apps/apps/staff/ios/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index a377333e..00000000 --- a/apps/apps/staff/ios/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,616 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 54; - objects = { - -/* Begin PBXBuildFile section */ - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; - 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; }; - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 97C146E61CF9000F007C117D /* Project object */; - proxyType = 1; - remoteGlobalIDString = 97C146ED1CF9000F007C117D; - remoteInfo = Runner; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 9705A1C41CF9048500538489 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; - 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; - 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; - 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; - 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 97C146EB1CF9000F007C117D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 331C8082294A63A400263BE5 /* RunnerTests */ = { - isa = PBXGroup; - children = ( - 331C807B294A618700263BE5 /* RunnerTests.swift */, - ); - path = RunnerTests; - sourceTree = ""; - }; - 9740EEB11CF90186004384FC /* Flutter */ = { - isa = PBXGroup; - children = ( - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 9740EEB31CF90195004384FC /* Generated.xcconfig */, - ); - name = Flutter; - sourceTree = ""; - }; - 97C146E51CF9000F007C117D = { - isa = PBXGroup; - children = ( - 9740EEB11CF90186004384FC /* Flutter */, - 97C146F01CF9000F007C117D /* Runner */, - 97C146EF1CF9000F007C117D /* Products */, - 331C8082294A63A400263BE5 /* RunnerTests */, - ); - sourceTree = ""; - }; - 97C146EF1CF9000F007C117D /* Products */ = { - isa = PBXGroup; - children = ( - 97C146EE1CF9000F007C117D /* Runner.app */, - 331C8081294A63A400263BE5 /* RunnerTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 97C146F01CF9000F007C117D /* Runner */ = { - isa = PBXGroup; - children = ( - 97C146FA1CF9000F007C117D /* Main.storyboard */, - 97C146FD1CF9000F007C117D /* Assets.xcassets */, - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, - 97C147021CF9000F007C117D /* Info.plist */, - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, - ); - path = Runner; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 331C8080294A63A400263BE5 /* RunnerTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; - buildPhases = ( - 331C807D294A63A400263BE5 /* Sources */, - 331C807F294A63A400263BE5 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 331C8086294A63A400263BE5 /* PBXTargetDependency */, - ); - name = RunnerTests; - productName = RunnerTests; - productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 97C146ED1CF9000F007C117D /* Runner */ = { - isa = PBXNativeTarget; - buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; - buildPhases = ( - 9740EEB61CF901F6004384FC /* Run Script */, - 97C146EA1CF9000F007C117D /* Sources */, - 97C146EB1CF9000F007C117D /* Frameworks */, - 97C146EC1CF9000F007C117D /* Resources */, - 9705A1C41CF9048500538489 /* Embed Frameworks */, - 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Runner; - productName = Runner; - productReference = 97C146EE1CF9000F007C117D /* Runner.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 97C146E61CF9000F007C117D /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = YES; - LastUpgradeCheck = 1510; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 331C8080294A63A400263BE5 = { - CreatedOnToolsVersion = 14.0; - TestTargetID = 97C146ED1CF9000F007C117D; - }; - 97C146ED1CF9000F007C117D = { - CreatedOnToolsVersion = 7.3.1; - LastSwiftMigration = 1100; - }; - }; - }; - buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 97C146E51CF9000F007C117D; - productRefGroup = 97C146EF1CF9000F007C117D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 97C146ED1CF9000F007C117D /* Runner */, - 331C8080294A63A400263BE5 /* RunnerTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 331C807F294A63A400263BE5 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EC1CF9000F007C117D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", - ); - name = "Thin Binary"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; - }; - 9740EEB61CF901F6004384FC /* Run Script */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Run Script"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 331C807D294A63A400263BE5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EA1CF9000F007C117D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 331C8086294A63A400263BE5 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 97C146ED1CF9000F007C117D /* Runner */; - targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 97C146FA1CF9000F007C117D /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C146FB1CF9000F007C117D /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C147001CF9000F007C117D /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 249021D3217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Profile; - }; - 249021D4217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.krowwithus.staff; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Profile; - }; - 331C8088294A63A400263BE5 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.krowwithus.staff; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Debug; - }; - 331C8089294A63A400263BE5 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.krowwithus.staff; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Release; - }; - 331C808A294A63A400263BE5 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.krowwithus.staff; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Profile; - }; - 97C147031CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 97C147041CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 97C147061CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.krowwithus.staff; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Debug; - }; - 97C147071CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.krowwithus.staff; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 331C8088294A63A400263BE5 /* Debug */, - 331C8089294A63A400263BE5 /* Release */, - 331C808A294A63A400263BE5 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147031CF9000F007C117D /* Debug */, - 97C147041CF9000F007C117D /* Release */, - 249021D3217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147061CF9000F007C117D /* Debug */, - 97C147071CF9000F007C117D /* Release */, - 249021D4217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 97C146E61CF9000F007C117D /* Project object */; -} diff --git a/apps/apps/staff/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/apps/apps/staff/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a6..00000000 --- a/apps/apps/staff/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/apps/apps/staff/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/apps/apps/staff/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d98100..00000000 --- a/apps/apps/staff/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/apps/apps/staff/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/apps/apps/staff/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5..00000000 --- a/apps/apps/staff/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/apps/apps/staff/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/apps/apps/staff/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme deleted file mode 100644 index e3773d42..00000000 --- a/apps/apps/staff/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/staff/ios/Runner.xcworkspace/contents.xcworkspacedata b/apps/apps/staff/ios/Runner.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 1d526a16..00000000 --- a/apps/apps/staff/ios/Runner.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/apps/apps/staff/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/apps/apps/staff/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d98100..00000000 --- a/apps/apps/staff/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/apps/apps/staff/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/apps/apps/staff/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5..00000000 --- a/apps/apps/staff/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/apps/apps/staff/ios/Runner/AppDelegate.swift b/apps/apps/staff/ios/Runner/AppDelegate.swift deleted file mode 100644 index 62666446..00000000 --- a/apps/apps/staff/ios/Runner/AppDelegate.swift +++ /dev/null @@ -1,13 +0,0 @@ -import Flutter -import UIKit - -@main -@objc class AppDelegate: FlutterAppDelegate { - override func application( - _ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? - ) -> Bool { - GeneratedPluginRegistrant.register(with: self) - return super.application(application, didFinishLaunchingWithOptions: launchOptions) - } -} diff --git a/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d36b1fab..00000000 --- a/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "images" : [ - { - "size" : "20x20", - "idiom" : "iphone", - "filename" : "Icon-App-20x20@2x.png", - "scale" : "2x" - }, - { - "size" : "20x20", - "idiom" : "iphone", - "filename" : "Icon-App-20x20@3x.png", - "scale" : "3x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@1x.png", - "scale" : "1x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@2x.png", - "scale" : "2x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@3x.png", - "scale" : "3x" - }, - { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "Icon-App-40x40@2x.png", - "scale" : "2x" - }, - { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "Icon-App-40x40@3x.png", - "scale" : "3x" - }, - { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "Icon-App-60x60@2x.png", - "scale" : "2x" - }, - { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "Icon-App-60x60@3x.png", - "scale" : "3x" - }, - { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "Icon-App-20x20@1x.png", - "scale" : "1x" - }, - { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "Icon-App-20x20@2x.png", - "scale" : "2x" - }, - { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "Icon-App-29x29@1x.png", - "scale" : "1x" - }, - { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "Icon-App-29x29@2x.png", - "scale" : "2x" - }, - { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-App-40x40@1x.png", - "scale" : "1x" - }, - { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-App-40x40@2x.png", - "scale" : "2x" - }, - { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "Icon-App-76x76@1x.png", - "scale" : "1x" - }, - { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "Icon-App-76x76@2x.png", - "scale" : "2x" - }, - { - "size" : "83.5x83.5", - "idiom" : "ipad", - "filename" : "Icon-App-83.5x83.5@2x.png", - "scale" : "2x" - }, - { - "size" : "1024x1024", - "idiom" : "ios-marketing", - "filename" : "Icon-App-1024x1024@1x.png", - "scale" : "1x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png deleted file mode 100644 index dc9ada4725e9b0ddb1deab583e5b5102493aa332..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10932 zcmeHN2~<R zh`|8`A_PQ1nSu(UMFx?8j8PC!!VDphaL#`F42fd#7Vlc`zIE4n%Y~eiz4y1j|NDpi z?<@|pSJ-HM`qifhf@m%MamgwK83`XpBA<+azdF#2QsT{X@z0A9Bq>~TVErigKH1~P zRX-!h-f0NJ4Mh++{D}J+K>~~rq}d%o%+4dogzXp7RxX4C>Km5XEI|PAFDmo;DFm6G zzjVoB`@qW98Yl0Kvc-9w09^PrsobmG*Eju^=3f?0o-t$U)TL1B3;sZ^!++3&bGZ!o-*6w?;oOhf z=A+Qb$scV5!RbG+&2S}BQ6YH!FKb0``VVX~T$dzzeSZ$&9=X$3)_7Z{SspSYJ!lGE z7yig_41zpQ)%5dr4ff0rh$@ky3-JLRk&DK)NEIHecf9c*?Z1bUB4%pZjQ7hD!A0r-@NF(^WKdr(LXj|=UE7?gBYGgGQV zidf2`ZT@pzXf7}!NH4q(0IMcxsUGDih(0{kRSez&z?CFA0RVXsVFw3^u=^KMtt95q z43q$b*6#uQDLoiCAF_{RFc{!H^moH_cmll#Fc^KXi{9GDl{>%+3qyfOE5;Zq|6#Hb zp^#1G+z^AXfRKaa9HK;%b3Ux~U@q?xg<2DXP%6k!3E)PA<#4$ui8eDy5|9hA5&{?v z(-;*1%(1~-NTQ`Is1_MGdQ{+i*ccd96ab$R$T3=% zw_KuNF@vI!A>>Y_2pl9L{9h1-C6H8<)J4gKI6{WzG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Z<_xN#0001NP)t-s|Ns9~ z#rXRE|M&d=0au&!`~QyF`q}dRnBDt}*!qXo`c{v z{Djr|@Adh0(D_%#_&mM$D6{kE_x{oE{l@J5@%H*?%=t~i_`ufYOPkAEn!pfkr2$fs z652Tz0001XNklqeeKN4RM4i{jKqmiC$?+xN>3Apn^ z0QfuZLym_5b<*QdmkHjHlj811{If)dl(Z2K0A+ekGtrFJb?g|wt#k#pV-#A~bK=OT ts8>{%cPtyC${m|1#B1A6#u!Q;umknL1chzTM$P~L002ovPDHLkV1lTfnu!1a diff --git a/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png deleted file mode 100644 index 797d452e458972bab9d994556c8305db4c827017..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 406 zcmV;H0crk;P))>cdjpWt&rLJgVp-t?DREyuq1A%0Z4)6_WsQ7{nzjN zo!X zGXV)2i3kcZIL~_j>uIKPK_zib+3T+Nt3Mb&Br)s)UIaA}@p{wDda>7=Q|mGRp7pqY zkJ!7E{MNz$9nOwoVqpFb)}$IP24Wn2JJ=Cw(!`OXJBr45rP>>AQr$6c7slJWvbpNW z@KTwna6d?PP>hvXCcp=4F;=GR@R4E7{4VU^0p4F>v^#A|>07*qoM6N<$f*5nx ACIA2c diff --git a/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png deleted file mode 100644 index 6ed2d933e1120817fe9182483a228007b18ab6ae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 450 zcmV;z0X_bSP)iGWQ_5NJQ_~rNh*z)}eT%KUb z`7gNk0#AwF^#0T0?hIa^`~Ck;!}#m+_uT050aTR(J!bU#|IzRL%^UsMS#KsYnTF*!YeDOytlP4VhV?b} z%rz_<=#CPc)tU1MZTq~*2=8~iZ!lSa<{9b@2Jl;?IEV8)=fG217*|@)CCYgFze-x? zIFODUIA>nWKpE+bn~n7;-89sa>#DR>TSlqWk*!2hSN6D~Qb#VqbP~4Fk&m`@1$JGr zXPIdeRE&b2Thd#{MtDK$px*d3-Wx``>!oimf%|A-&-q*6KAH)e$3|6JV%HX{Hig)k suLT-RhftRq8b9;(V=235Wa|I=027H2wCDra;{X5v07*qoM6N<$f;9x^2LJ#7 diff --git a/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png deleted file mode 100644 index 4cd7b0099ca80c806f8fe495613e8d6c69460d76..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 282 zcmV+#0p(^bcu7P-R4C8Q z&e;xxFbF_Vrezo%_kH*OKhshZ6BFpG-Y1e10`QXJKbND7AMQ&cMj60B5TNObaZxYybcN07*qoM6N<$g3m;S%K!iX diff --git a/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png deleted file mode 100644 index fe730945a01f64a61e2235dbe3f45b08f7729182..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 462 zcmV;<0WtoGP)-}iV`2<;=$?g5M=KQbZ{F&YRNy7Nn@%_*5{gvDM0aKI4?ESmw z{NnZg)A0R`+4?NF_RZexyVB&^^ZvN!{I28tr{Vje;QNTz`dG&Jz0~Ek&f2;*Z7>B|cg}xYpxEFY+0YrKLF;^Q+-HreN0P{&i zK~zY`?b7ECf-n?@;d<&orQ*Q7KoR%4|C>{W^h6@&01>0SKS`dn{Q}GT%Qj_{PLZ_& zs`MFI#j-(>?bvdZ!8^xTwlY{qA)T4QLbY@j(!YJ7aXJervHy6HaG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8m`vja4{F>HS?^Nc^rp}xo+Nh zxd}eOm`fm3@MQC1< zIk&aCjb~Yh%5+Yq0`)D;q{#-Uqlv*o+Oor zE!I71Z@ASH3grl8&P^L0WpavHoP|UX4e?!igT`4?AZk$hu*@%6WJ;zDOGlw7kj@ zY5!B-0ft0f?Lgb>C;$Ke07*qoM6N<$f~t1N9smFU diff --git a/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png deleted file mode 100644 index 0ec303439225b78712f49115768196d8d76f6790..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 862 zcmV-k1EKthP)20Z)wqMt%V?S?~D#06};F zA3KcL`Wb+>5ObvgQIG&ig8(;V04hz?@cqy3{mSh8o!|U|)cI!1_+!fWH@o*8vh^CU z^ws0;(c$gI+2~q^tO#GDHf@=;DncUw00J^eL_t(&-tE|HQ`%4vfZ;WsBqu-$0nu1R zq^Vj;p$clf^?twn|KHO+IGt^q#a3X?w9dXC@*yxhv&l}F322(8Y1&=P&I}~G@#h6; z1CV9ecD9ZEe87{{NtI*)_aJ<`kJa z?5=RBtFF50s;jQLFil-`)m2wrb=6h(&brpj%nG_U&ut~$?8Rokzxi8zJoWr#2dto5 zOX_URcc<1`Iky+jc;A%Vzx}1QU{2$|cKPom2Vf1{8m`vja4{F>HS?^Nc^rp}xo+Nh zxd}eOm`fm3@MQC1< zIk&aCjb~Yh%5+Yq0`)D;q{#-Uqlv*o+Oor zE!I71Z@ASH3grl8&P^L0WpavHoP|UX4e?!igT`4?AZk$hu*@%6WJ;zDOGlw7kj@ zY5!B-0ft0f?Lgb>C;$Ke07*qoM6N<$f~t1N9smFU diff --git a/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png deleted file mode 100644 index e9f5fea27c705180eb716271f41b582e76dcbd90..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1674 zcmV;526g#~P){YQnis^a@{&-nmRmq)<&%Mztj67_#M}W?l>kYSliK<%xAp;0j{!}J0!o7b zE>q9${Lb$D&h7k=+4=!ek^n+`0zq>LL1O?lVyea53S5x`Nqqo2YyeuIrQrJj9XjOp z{;T5qbj3}&1vg1VK~#9!?b~^C5-}JC@Pyrv-6dSEqJqT}#j9#dJ@GzT@B8}x zU&J@bBI>f6w6en+CeI)3^kC*U?}X%OD8$Fd$H&LV$H&LV$H&LV#|K5~mLYf|VqzOc zkc7qL~0sOYuM{tG`rYEDV{DWY`Z8&)kW*hc2VkBuY+^Yx&92j&StN}Wp=LD zxoGxXw6f&8sB^u})h@b@z0RBeD`K7RMR9deyL(ZJu#39Z>rT)^>v}Khq8U-IbIvT> z?4pV9qGj=2)TNH3d)=De<+^w;>S7m_eFKTvzeaBeir45xY!^m!FmxnljbSS_3o=g( z->^wC9%qkR{kbGnW8MfFew_o9h3(r55Is`L$8KI@d+*%{=Nx+FXJ98L0PjFIu;rGnnfY zn1R5Qnp<{Jq0M1vX=X&F8gtLmcWv$1*M@4ZfF^9``()#hGTeKeP`1!iED ztNE(TN}M5}3Bbc*d=FIv`DNv&@|C6yYj{sSqUj5oo$#*0$7pu|Dd2TLI>t5%I zIa4Dvr(iayb+5x=j*Vum9&irk)xV1`t509lnPO0%skL8_1c#Xbamh(2@f?4yUI zhhuT5<#8RJhGz4%b$`PJwKPAudsm|at?u;*hGgnA zU1;9gnxVBC)wA(BsB`AW54N{|qmikJR*%x0c`{LGsSfa|NK61pYH(r-UQ4_JXd!Rsz)=k zL{GMc5{h138)fF5CzHEDM>+FqY)$pdN3}Ml+riTgJOLN0F*Vh?{9ESR{SVVg>*>=# zix;VJHPtvFFCRY$Ks*F;VX~%*r9F)W`PmPE9F!(&s#x07n2<}?S{(ygpXgX-&B&OM zONY&BRQ(#%0%j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?hz91 z7p83F3%LVu9;S$tSI$C^%^yud1dfTM_6p2|+5Ejp$bd`GDvbR|xit>i!ZD&F>@CJrPmu*UjD&?DfZs=$@e3FQA(vNiU+$A*%a} z?`XcG2jDxJ_ZQ#Md`H{4Lpf6QBDp81_KWZ6Tk#yCy1)32zO#3<7>b`eT7UyYH1eGz z;O(rH$=QR*L%%ZcBpc=eGua?N55nD^K(8<#gl2+pN_j~b2MHs4#mcLmv%DkspS-3< zpI1F=^9siI0s-;IN_IrA;5xm~3?3!StX}pUv0vkxMaqm+zxrg7X7(I&*N~&dEd0kD z-FRV|g=|QuUsuh>-xCI}vD2imzYIOIdcCVV=$Bz@*u0+Bs<|L^)32nN*=wu3n%Ynw z@1|eLG>!8ruU1pFXUfb`j>(=Gy~?Rn4QJ-c3%3T|(Frd!bI`9u&zAnyFYTqlG#&J7 zAkD(jpw|oZLNiA>;>hgp1KX7-wxC~31II47gc zHcehD6Uxlf%+M^^uN5Wc*G%^;>D5qT{>=uxUhX%WJu^Z*(_Wq9y}npFO{Hhb>s6<9 zNi0pHXWFaVZnb)1+RS&F)xOv6&aeILcI)`k#0YE+?e)5&#r7J#c`3Z7x!LpTc01dx zrdC3{Z;joZ^KN&))zB_i)I9fWedoN>Zl-6_Iz+^G&*ak2jpF07*qoM6N<$f;w%0(f|Me diff --git a/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/apps/apps/staff/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png deleted file mode 100644 index 0467bf12aa4d28f374bb26596605a46dcbb3e7c8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1418 zcmV;51$Fv~P)q zKfU)WzW*n(@|xWGCA9ScMt*e9`2kdxPQ&&>|-UCa7_51w+ zLUsW@ZzZSW0y$)Hp~e9%PvP|a03ks1`~K?q{u;6NC8*{AOqIUq{CL&;p56Lf$oQGq z^={4hPQv)y=I|4n+?>7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CH{y8r+H diff --git a/apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json deleted file mode 100644 index 0bedcf2f..00000000 --- a/apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "LaunchImage.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "LaunchImage@2x.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "filename" : "LaunchImage@3x.png", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png deleted file mode 100644 index 9da19eacad3b03bb08bbddbbf4ac48dd78b3d838..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx0wlM}@Gt=>Zci7-kcv6Uzs@r-FtIZ-&5|)J Q1PU{Fy85}Sb4q9e0B4a5jsO4v diff --git a/apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png deleted file mode 100644 index 9da19eacad3b03bb08bbddbbf4ac48dd78b3d838..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx0wlM}@Gt=>Zci7-kcv6Uzs@r-FtIZ-&5|)J Q1PU{Fy85}Sb4q9e0B4a5jsO4v diff --git a/apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png deleted file mode 100644 index 9da19eacad3b03bb08bbddbbf4ac48dd78b3d838..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx0wlM}@Gt=>Zci7-kcv6Uzs@r-FtIZ-&5|)J Q1PU{Fy85}Sb4q9e0B4a5jsO4v diff --git a/apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md deleted file mode 100644 index 89c2725b..00000000 --- a/apps/apps/staff/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Launch Screen Assets - -You can customize the launch screen with your own desired assets by replacing the image files in this directory. - -You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. \ No newline at end of file diff --git a/apps/apps/staff/ios/Runner/Base.lproj/LaunchScreen.storyboard b/apps/apps/staff/ios/Runner/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index f2e259c7..00000000 --- a/apps/apps/staff/ios/Runner/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/staff/ios/Runner/Base.lproj/Main.storyboard b/apps/apps/staff/ios/Runner/Base.lproj/Main.storyboard deleted file mode 100644 index f3c28516..00000000 --- a/apps/apps/staff/ios/Runner/Base.lproj/Main.storyboard +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/staff/ios/Runner/Info.plist b/apps/apps/staff/ios/Runner/Info.plist deleted file mode 100644 index 73018413..00000000 --- a/apps/apps/staff/ios/Runner/Info.plist +++ /dev/null @@ -1,49 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - krowwithus_staff - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - krowwithus_staff - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleSignature - ???? - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - CADisableMinimumFrameDurationOnPhone - - UIApplicationSupportsIndirectInputEvents - - - diff --git a/apps/apps/staff/ios/Runner/Runner-Bridging-Header.h b/apps/apps/staff/ios/Runner/Runner-Bridging-Header.h deleted file mode 100644 index 308a2a56..00000000 --- a/apps/apps/staff/ios/Runner/Runner-Bridging-Header.h +++ /dev/null @@ -1 +0,0 @@ -#import "GeneratedPluginRegistrant.h" diff --git a/apps/apps/staff/ios/RunnerTests/RunnerTests.swift b/apps/apps/staff/ios/RunnerTests/RunnerTests.swift deleted file mode 100644 index 86a7c3b1..00000000 --- a/apps/apps/staff/ios/RunnerTests/RunnerTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -import Flutter -import UIKit -import XCTest - -class RunnerTests: XCTestCase { - - func testExample() { - // If you add code to the Runner application, consider adding tests here. - // See https://developer.apple.com/documentation/xctest for more information about using XCTest. - } - -} diff --git a/apps/apps/staff/lib/main.dart b/apps/apps/staff/lib/main.dart deleted file mode 100644 index cbfcaf74..00000000 --- a/apps/apps/staff/lib/main.dart +++ /dev/null @@ -1,67 +0,0 @@ -import 'package:core_localization/core_localization.dart' as core_localization; -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_modular/flutter_modular.dart'; -import 'package:staff_authentication/staff_authentication.dart' - as staff_authentication; - -void main() async { - WidgetsFlutterBinding.ensureInitialized(); - - runApp(ModularApp(module: AppModule(), child: const AppWidget())); -} - -/// The main application module. -class AppModule extends Module { - @override - List get imports => [core_localization.LocalizationModule()]; - - @override - void routes(r) { - // Set the initial route to the authentication module - r.module("/", module: staff_authentication.StaffAuthenticationModule()); - - // Placeholder for home route (referenced in auth feature) - r.child( - "/worker-home", - child: (_) => const Scaffold( - body: Center(child: Text("Worker Home - To Be Implemented")), - ), - ); - } -} - -class AppWidget extends StatelessWidget { - const AppWidget({super.key}); - - @override - Widget build(BuildContext context) { - return BlocProvider( - create: (context) => - Modular.get() - ..add(const core_localization.LoadLocale()), - child: - BlocBuilder< - core_localization.LocaleBloc, - core_localization.LocaleState - >( - builder: (context, state) { - return MaterialApp.router( - title: "KROW Staff", - theme: UiTheme.light, - routerConfig: Modular.routerConfig, - locale: state.locale, - supportedLocales: state.supportedLocales, - localizationsDelegates: const [ - GlobalMaterialLocalizations.delegate, - GlobalWidgetsLocalizations.delegate, - GlobalCupertinoLocalizations.delegate, - ], - ); - }, - ), - ); - } -} diff --git a/apps/apps/staff/linux/.gitignore b/apps/apps/staff/linux/.gitignore deleted file mode 100644 index d3896c98..00000000 --- a/apps/apps/staff/linux/.gitignore +++ /dev/null @@ -1 +0,0 @@ -flutter/ephemeral diff --git a/apps/apps/staff/linux/CMakeLists.txt b/apps/apps/staff/linux/CMakeLists.txt deleted file mode 100644 index b222a83e..00000000 --- a/apps/apps/staff/linux/CMakeLists.txt +++ /dev/null @@ -1,128 +0,0 @@ -# Project-level configuration. -cmake_minimum_required(VERSION 3.13) -project(runner LANGUAGES CXX) - -# The name of the executable created for the application. Change this to change -# the on-disk name of your application. -set(BINARY_NAME "krow_staff") -# The unique GTK application identifier for this application. See: -# https://wiki.gnome.org/HowDoI/ChooseApplicationID -set(APPLICATION_ID "com.example.krow_staff") - -# Explicitly opt in to modern CMake behaviors to avoid warnings with recent -# versions of CMake. -cmake_policy(SET CMP0063 NEW) - -# Load bundled libraries from the lib/ directory relative to the binary. -set(CMAKE_INSTALL_RPATH "$ORIGIN/lib") - -# Root filesystem for cross-building. -if(FLUTTER_TARGET_PLATFORM_SYSROOT) - set(CMAKE_SYSROOT ${FLUTTER_TARGET_PLATFORM_SYSROOT}) - set(CMAKE_FIND_ROOT_PATH ${CMAKE_SYSROOT}) - set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) - set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) - set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) - set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) -endif() - -# Define build configuration options. -if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) - set(CMAKE_BUILD_TYPE "Debug" CACHE - STRING "Flutter build mode" FORCE) - set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS - "Debug" "Profile" "Release") -endif() - -# Compilation settings that should be applied to most targets. -# -# Be cautious about adding new options here, as plugins use this function by -# default. In most cases, you should add new options to specific targets instead -# of modifying this function. -function(APPLY_STANDARD_SETTINGS TARGET) - target_compile_features(${TARGET} PUBLIC cxx_std_14) - target_compile_options(${TARGET} PRIVATE -Wall -Werror) - target_compile_options(${TARGET} PRIVATE "$<$>:-O3>") - target_compile_definitions(${TARGET} PRIVATE "$<$>:NDEBUG>") -endfunction() - -# Flutter library and tool build rules. -set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter") -add_subdirectory(${FLUTTER_MANAGED_DIR}) - -# System-level dependencies. -find_package(PkgConfig REQUIRED) -pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0) - -# Application build; see runner/CMakeLists.txt. -add_subdirectory("runner") - -# Run the Flutter tool portions of the build. This must not be removed. -add_dependencies(${BINARY_NAME} flutter_assemble) - -# Only the install-generated bundle's copy of the executable will launch -# correctly, since the resources must in the right relative locations. To avoid -# people trying to run the unbundled copy, put it in a subdirectory instead of -# the default top-level location. -set_target_properties(${BINARY_NAME} - PROPERTIES - RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/intermediates_do_not_run" -) - - -# Generated plugin build rules, which manage building the plugins and adding -# them to the application. -include(flutter/generated_plugins.cmake) - - -# === Installation === -# By default, "installing" just makes a relocatable bundle in the build -# directory. -set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle") -if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) - set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE) -endif() - -# Start with a clean build bundle directory every time. -install(CODE " - file(REMOVE_RECURSE \"${BUILD_BUNDLE_DIR}/\") - " COMPONENT Runtime) - -set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data") -set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib") - -install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES}) - install(FILES "${bundled_library}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) -endforeach(bundled_library) - -# Copy the native assets provided by the build.dart from all packages. -set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/linux/") -install(DIRECTORY "${NATIVE_ASSETS_DIR}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -# Fully re-copy the assets directory on each build to avoid having stale files -# from a previous install. -set(FLUTTER_ASSET_DIR_NAME "flutter_assets") -install(CODE " - file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\") - " COMPONENT Runtime) -install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}" - DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime) - -# Install the AOT library on non-Debug builds only. -if(NOT CMAKE_BUILD_TYPE MATCHES "Debug") - install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) -endif() diff --git a/apps/apps/staff/linux/flutter/CMakeLists.txt b/apps/apps/staff/linux/flutter/CMakeLists.txt deleted file mode 100644 index d5bd0164..00000000 --- a/apps/apps/staff/linux/flutter/CMakeLists.txt +++ /dev/null @@ -1,88 +0,0 @@ -# This file controls Flutter-level build steps. It should not be edited. -cmake_minimum_required(VERSION 3.10) - -set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral") - -# Configuration provided via flutter tool. -include(${EPHEMERAL_DIR}/generated_config.cmake) - -# TODO: Move the rest of this into files in ephemeral. See -# https://github.com/flutter/flutter/issues/57146. - -# Serves the same purpose as list(TRANSFORM ... PREPEND ...), -# which isn't available in 3.10. -function(list_prepend LIST_NAME PREFIX) - set(NEW_LIST "") - foreach(element ${${LIST_NAME}}) - list(APPEND NEW_LIST "${PREFIX}${element}") - endforeach(element) - set(${LIST_NAME} "${NEW_LIST}" PARENT_SCOPE) -endfunction() - -# === Flutter Library === -# System-level dependencies. -find_package(PkgConfig REQUIRED) -pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0) -pkg_check_modules(GLIB REQUIRED IMPORTED_TARGET glib-2.0) -pkg_check_modules(GIO REQUIRED IMPORTED_TARGET gio-2.0) - -set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/libflutter_linux_gtk.so") - -# Published to parent scope for install step. -set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE) -set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE) -set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE) -set(AOT_LIBRARY "${PROJECT_DIR}/build/lib/libapp.so" PARENT_SCOPE) - -list(APPEND FLUTTER_LIBRARY_HEADERS - "fl_basic_message_channel.h" - "fl_binary_codec.h" - "fl_binary_messenger.h" - "fl_dart_project.h" - "fl_engine.h" - "fl_json_message_codec.h" - "fl_json_method_codec.h" - "fl_message_codec.h" - "fl_method_call.h" - "fl_method_channel.h" - "fl_method_codec.h" - "fl_method_response.h" - "fl_plugin_registrar.h" - "fl_plugin_registry.h" - "fl_standard_message_codec.h" - "fl_standard_method_codec.h" - "fl_string_codec.h" - "fl_value.h" - "fl_view.h" - "flutter_linux.h" -) -list_prepend(FLUTTER_LIBRARY_HEADERS "${EPHEMERAL_DIR}/flutter_linux/") -add_library(flutter INTERFACE) -target_include_directories(flutter INTERFACE - "${EPHEMERAL_DIR}" -) -target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}") -target_link_libraries(flutter INTERFACE - PkgConfig::GTK - PkgConfig::GLIB - PkgConfig::GIO -) -add_dependencies(flutter flutter_assemble) - -# === Flutter tool backend === -# _phony_ is a non-existent file to force this command to run every time, -# since currently there's no way to get a full input/output list from the -# flutter tool. -add_custom_command( - OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS} - ${CMAKE_CURRENT_BINARY_DIR}/_phony_ - COMMAND ${CMAKE_COMMAND} -E env - ${FLUTTER_TOOL_ENVIRONMENT} - "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.sh" - ${FLUTTER_TARGET_PLATFORM} ${CMAKE_BUILD_TYPE} - VERBATIM -) -add_custom_target(flutter_assemble DEPENDS - "${FLUTTER_LIBRARY}" - ${FLUTTER_LIBRARY_HEADERS} -) diff --git a/apps/apps/staff/linux/flutter/generated_plugin_registrant.cc b/apps/apps/staff/linux/flutter/generated_plugin_registrant.cc deleted file mode 100644 index e71a16d2..00000000 --- a/apps/apps/staff/linux/flutter/generated_plugin_registrant.cc +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#include "generated_plugin_registrant.h" - - -void fl_register_plugins(FlPluginRegistry* registry) { -} diff --git a/apps/apps/staff/linux/flutter/generated_plugin_registrant.h b/apps/apps/staff/linux/flutter/generated_plugin_registrant.h deleted file mode 100644 index e0f0a47b..00000000 --- a/apps/apps/staff/linux/flutter/generated_plugin_registrant.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#ifndef GENERATED_PLUGIN_REGISTRANT_ -#define GENERATED_PLUGIN_REGISTRANT_ - -#include - -// Registers Flutter plugins. -void fl_register_plugins(FlPluginRegistry* registry); - -#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/apps/apps/staff/linux/flutter/generated_plugins.cmake b/apps/apps/staff/linux/flutter/generated_plugins.cmake deleted file mode 100644 index 2e1de87a..00000000 --- a/apps/apps/staff/linux/flutter/generated_plugins.cmake +++ /dev/null @@ -1,23 +0,0 @@ -# -# Generated file, do not edit. -# - -list(APPEND FLUTTER_PLUGIN_LIST -) - -list(APPEND FLUTTER_FFI_PLUGIN_LIST -) - -set(PLUGIN_BUNDLED_LIBRARIES) - -foreach(plugin ${FLUTTER_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin}) - target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) - list(APPEND PLUGIN_BUNDLED_LIBRARIES $) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) -endforeach(plugin) - -foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin}) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) -endforeach(ffi_plugin) diff --git a/apps/apps/staff/linux/runner/CMakeLists.txt b/apps/apps/staff/linux/runner/CMakeLists.txt deleted file mode 100644 index e97dabc7..00000000 --- a/apps/apps/staff/linux/runner/CMakeLists.txt +++ /dev/null @@ -1,26 +0,0 @@ -cmake_minimum_required(VERSION 3.13) -project(runner LANGUAGES CXX) - -# Define the application target. To change its name, change BINARY_NAME in the -# top-level CMakeLists.txt, not the value here, or `flutter run` will no longer -# work. -# -# Any new source files that you add to the application should be added here. -add_executable(${BINARY_NAME} - "main.cc" - "my_application.cc" - "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" -) - -# Apply the standard set of build settings. This can be removed for applications -# that need different build settings. -apply_standard_settings(${BINARY_NAME}) - -# Add preprocessor definitions for the application ID. -add_definitions(-DAPPLICATION_ID="${APPLICATION_ID}") - -# Add dependency libraries. Add any application-specific dependencies here. -target_link_libraries(${BINARY_NAME} PRIVATE flutter) -target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK) - -target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}") diff --git a/apps/apps/staff/linux/runner/main.cc b/apps/apps/staff/linux/runner/main.cc deleted file mode 100644 index e7c5c543..00000000 --- a/apps/apps/staff/linux/runner/main.cc +++ /dev/null @@ -1,6 +0,0 @@ -#include "my_application.h" - -int main(int argc, char** argv) { - g_autoptr(MyApplication) app = my_application_new(); - return g_application_run(G_APPLICATION(app), argc, argv); -} diff --git a/apps/apps/staff/linux/runner/my_application.cc b/apps/apps/staff/linux/runner/my_application.cc deleted file mode 100644 index d0bb4280..00000000 --- a/apps/apps/staff/linux/runner/my_application.cc +++ /dev/null @@ -1,148 +0,0 @@ -#include "my_application.h" - -#include -#ifdef GDK_WINDOWING_X11 -#include -#endif - -#include "flutter/generated_plugin_registrant.h" - -struct _MyApplication { - GtkApplication parent_instance; - char** dart_entrypoint_arguments; -}; - -G_DEFINE_TYPE(MyApplication, my_application, GTK_TYPE_APPLICATION) - -// Called when first Flutter frame received. -static void first_frame_cb(MyApplication* self, FlView* view) { - gtk_widget_show(gtk_widget_get_toplevel(GTK_WIDGET(view))); -} - -// Implements GApplication::activate. -static void my_application_activate(GApplication* application) { - MyApplication* self = MY_APPLICATION(application); - GtkWindow* window = - GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application))); - - // Use a header bar when running in GNOME as this is the common style used - // by applications and is the setup most users will be using (e.g. Ubuntu - // desktop). - // If running on X and not using GNOME then just use a traditional title bar - // in case the window manager does more exotic layout, e.g. tiling. - // If running on Wayland assume the header bar will work (may need changing - // if future cases occur). - gboolean use_header_bar = TRUE; -#ifdef GDK_WINDOWING_X11 - GdkScreen* screen = gtk_window_get_screen(window); - if (GDK_IS_X11_SCREEN(screen)) { - const gchar* wm_name = gdk_x11_screen_get_window_manager_name(screen); - if (g_strcmp0(wm_name, "GNOME Shell") != 0) { - use_header_bar = FALSE; - } - } -#endif - if (use_header_bar) { - GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new()); - gtk_widget_show(GTK_WIDGET(header_bar)); - gtk_header_bar_set_title(header_bar, "krow_staff"); - gtk_header_bar_set_show_close_button(header_bar, TRUE); - gtk_window_set_titlebar(window, GTK_WIDGET(header_bar)); - } else { - gtk_window_set_title(window, "krow_staff"); - } - - gtk_window_set_default_size(window, 1280, 720); - - g_autoptr(FlDartProject) project = fl_dart_project_new(); - fl_dart_project_set_dart_entrypoint_arguments( - project, self->dart_entrypoint_arguments); - - FlView* view = fl_view_new(project); - GdkRGBA background_color; - // Background defaults to black, override it here if necessary, e.g. #00000000 - // for transparent. - gdk_rgba_parse(&background_color, "#000000"); - fl_view_set_background_color(view, &background_color); - gtk_widget_show(GTK_WIDGET(view)); - gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view)); - - // Show the window when Flutter renders. - // Requires the view to be realized so we can start rendering. - g_signal_connect_swapped(view, "first-frame", G_CALLBACK(first_frame_cb), - self); - gtk_widget_realize(GTK_WIDGET(view)); - - fl_register_plugins(FL_PLUGIN_REGISTRY(view)); - - gtk_widget_grab_focus(GTK_WIDGET(view)); -} - -// Implements GApplication::local_command_line. -static gboolean my_application_local_command_line(GApplication* application, - gchar*** arguments, - int* exit_status) { - MyApplication* self = MY_APPLICATION(application); - // Strip out the first argument as it is the binary name. - self->dart_entrypoint_arguments = g_strdupv(*arguments + 1); - - g_autoptr(GError) error = nullptr; - if (!g_application_register(application, nullptr, &error)) { - g_warning("Failed to register: %s", error->message); - *exit_status = 1; - return TRUE; - } - - g_application_activate(application); - *exit_status = 0; - - return TRUE; -} - -// Implements GApplication::startup. -static void my_application_startup(GApplication* application) { - // MyApplication* self = MY_APPLICATION(object); - - // Perform any actions required at application startup. - - G_APPLICATION_CLASS(my_application_parent_class)->startup(application); -} - -// Implements GApplication::shutdown. -static void my_application_shutdown(GApplication* application) { - // MyApplication* self = MY_APPLICATION(object); - - // Perform any actions required at application shutdown. - - G_APPLICATION_CLASS(my_application_parent_class)->shutdown(application); -} - -// Implements GObject::dispose. -static void my_application_dispose(GObject* object) { - MyApplication* self = MY_APPLICATION(object); - g_clear_pointer(&self->dart_entrypoint_arguments, g_strfreev); - G_OBJECT_CLASS(my_application_parent_class)->dispose(object); -} - -static void my_application_class_init(MyApplicationClass* klass) { - G_APPLICATION_CLASS(klass)->activate = my_application_activate; - G_APPLICATION_CLASS(klass)->local_command_line = - my_application_local_command_line; - G_APPLICATION_CLASS(klass)->startup = my_application_startup; - G_APPLICATION_CLASS(klass)->shutdown = my_application_shutdown; - G_OBJECT_CLASS(klass)->dispose = my_application_dispose; -} - -static void my_application_init(MyApplication* self) {} - -MyApplication* my_application_new() { - // Set the program name to the application ID, which helps various systems - // like GTK and desktop environments map this running application to its - // corresponding .desktop file. This ensures better integration by allowing - // the application to be recognized beyond its binary name. - g_set_prgname(APPLICATION_ID); - - return MY_APPLICATION(g_object_new(my_application_get_type(), - "application-id", APPLICATION_ID, "flags", - G_APPLICATION_NON_UNIQUE, nullptr)); -} diff --git a/apps/apps/staff/linux/runner/my_application.h b/apps/apps/staff/linux/runner/my_application.h deleted file mode 100644 index db16367a..00000000 --- a/apps/apps/staff/linux/runner/my_application.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef FLUTTER_MY_APPLICATION_H_ -#define FLUTTER_MY_APPLICATION_H_ - -#include - -G_DECLARE_FINAL_TYPE(MyApplication, - my_application, - MY, - APPLICATION, - GtkApplication) - -/** - * my_application_new: - * - * Creates a new Flutter-based application. - * - * Returns: a new #MyApplication. - */ -MyApplication* my_application_new(); - -#endif // FLUTTER_MY_APPLICATION_H_ diff --git a/apps/apps/staff/macos/.gitignore b/apps/apps/staff/macos/.gitignore deleted file mode 100644 index 746adbb6..00000000 --- a/apps/apps/staff/macos/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -# Flutter-related -**/Flutter/ephemeral/ -**/Pods/ - -# Xcode-related -**/dgph -**/xcuserdata/ diff --git a/apps/apps/staff/macos/Flutter/Flutter-Debug.xcconfig b/apps/apps/staff/macos/Flutter/Flutter-Debug.xcconfig deleted file mode 100644 index 4b81f9b2..00000000 --- a/apps/apps/staff/macos/Flutter/Flutter-Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" -#include "ephemeral/Flutter-Generated.xcconfig" diff --git a/apps/apps/staff/macos/Flutter/Flutter-Release.xcconfig b/apps/apps/staff/macos/Flutter/Flutter-Release.xcconfig deleted file mode 100644 index 5caa9d15..00000000 --- a/apps/apps/staff/macos/Flutter/Flutter-Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" -#include "ephemeral/Flutter-Generated.xcconfig" diff --git a/apps/apps/staff/macos/Flutter/GeneratedPluginRegistrant.swift b/apps/apps/staff/macos/Flutter/GeneratedPluginRegistrant.swift deleted file mode 100644 index 8bd29968..00000000 --- a/apps/apps/staff/macos/Flutter/GeneratedPluginRegistrant.swift +++ /dev/null @@ -1,18 +0,0 @@ -// -// Generated file. Do not edit. -// - -import FlutterMacOS -import Foundation - -import firebase_app_check -import firebase_auth -import firebase_core -import shared_preferences_foundation - -func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { - FLTFirebaseAppCheckPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseAppCheckPlugin")) - FLTFirebaseAuthPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseAuthPlugin")) - FLTFirebaseCorePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCorePlugin")) - SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) -} diff --git a/apps/apps/staff/macos/Podfile b/apps/apps/staff/macos/Podfile deleted file mode 100644 index ff5ddb3b..00000000 --- a/apps/apps/staff/macos/Podfile +++ /dev/null @@ -1,42 +0,0 @@ -platform :osx, '10.15' - -# CocoaPods analytics sends network stats synchronously affecting flutter build latency. -ENV['COCOAPODS_DISABLE_STATS'] = 'true' - -project 'Runner', { - 'Debug' => :debug, - 'Profile' => :release, - 'Release' => :release, -} - -def flutter_root - generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__) - unless File.exist?(generated_xcode_build_settings_path) - raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first" - end - - File.foreach(generated_xcode_build_settings_path) do |line| - matches = line.match(/FLUTTER_ROOT\=(.*)/) - return matches[1].strip if matches - end - raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\"" -end - -require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) - -flutter_macos_podfile_setup - -target 'Runner' do - use_frameworks! - - flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__)) - target 'RunnerTests' do - inherit! :search_paths - end -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - flutter_additional_macos_build_settings(target) - end -end diff --git a/apps/apps/staff/macos/Podfile.lock b/apps/apps/staff/macos/Podfile.lock deleted file mode 100644 index 1385d0fb..00000000 --- a/apps/apps/staff/macos/Podfile.lock +++ /dev/null @@ -1,23 +0,0 @@ -PODS: - - FlutterMacOS (1.0.0) - - shared_preferences_foundation (0.0.1): - - Flutter - - FlutterMacOS - -DEPENDENCIES: - - FlutterMacOS (from `Flutter/ephemeral`) - - shared_preferences_foundation (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin`) - -EXTERNAL SOURCES: - FlutterMacOS: - :path: Flutter/ephemeral - shared_preferences_foundation: - :path: Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin - -SPEC CHECKSUMS: - FlutterMacOS: d0db08ddef1a9af05a5ec4b724367152bb0500b1 - shared_preferences_foundation: 7036424c3d8ec98dfe75ff1667cb0cd531ec82bb - -PODFILE CHECKSUM: 54d867c82ac51cbd61b565781b9fada492027009 - -COCOAPODS: 1.16.2 diff --git a/apps/apps/staff/macos/Runner.xcodeproj/project.pbxproj b/apps/apps/staff/macos/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index 7b0274bc..00000000 --- a/apps/apps/staff/macos/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,801 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 54; - objects = { - -/* Begin PBXAggregateTarget section */ - 33CC111A2044C6BA0003C045 /* Flutter Assemble */ = { - isa = PBXAggregateTarget; - buildConfigurationList = 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */; - buildPhases = ( - 33CC111E2044C6BF0003C045 /* ShellScript */, - ); - dependencies = ( - ); - name = "Flutter Assemble"; - productName = FLX; - }; -/* End PBXAggregateTarget section */ - -/* Begin PBXBuildFile section */ - 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C80D7294CF71000263BE5 /* RunnerTests.swift */; }; - 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; }; - 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; }; - 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; }; - 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; }; - 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; }; - 412DA1D6D757DD2D1DEDC778 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 069E89A5AB8E920696C344DA /* Pods_RunnerTests.framework */; }; - F61791A921ED082C9512CA02 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D8AEFAD6205BEEBA5D907529 /* Pods_Runner.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 33CC10E52044A3C60003C045 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 33CC10EC2044A3C60003C045; - remoteInfo = Runner; - }; - 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 33CC10E52044A3C60003C045 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 33CC111A2044C6BA0003C045; - remoteInfo = FLX; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 33CC110E2044A8840003C045 /* Bundle Framework */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Bundle Framework"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 060EC3AF3A2AB752545F2191 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; - 069E89A5AB8E920696C344DA /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 15C63A664E0150CA184E03A8 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = ""; }; - 331C80D5294CF71000263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; - 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; }; - 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; }; - 33CC10ED2044A3C60003C045 /* krow_staff.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = krow_staff.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; }; - 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; - 33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = ""; }; - 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = ""; }; - 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = ""; }; - 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = ""; }; - 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = ""; }; - 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = ""; }; - 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = ""; }; - 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = ""; }; - 6D300BB405A262BD11BC8E17 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; }; - C1453B9ED71BA9085495FCB6 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; }; - C24103C2702CAEE0091BFC73 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = ""; }; - D8AEFAD6205BEEBA5D907529 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - E11FE7E42C3C39C49F50BEB5 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 331C80D2294CF70F00263BE5 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 412DA1D6D757DD2D1DEDC778 /* Pods_RunnerTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 33CC10EA2044A3C60003C045 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - F61791A921ED082C9512CA02 /* Pods_Runner.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 331C80D6294CF71000263BE5 /* RunnerTests */ = { - isa = PBXGroup; - children = ( - 331C80D7294CF71000263BE5 /* RunnerTests.swift */, - ); - path = RunnerTests; - sourceTree = ""; - }; - 33BA886A226E78AF003329D5 /* Configs */ = { - isa = PBXGroup; - children = ( - 33E5194F232828860026EE4D /* AppInfo.xcconfig */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 333000ED22D3DE5D00554162 /* Warnings.xcconfig */, - ); - path = Configs; - sourceTree = ""; - }; - 33CC10E42044A3C60003C045 = { - isa = PBXGroup; - children = ( - 33FAB671232836740065AC1E /* Runner */, - 33CEB47122A05771004F2AC0 /* Flutter */, - 331C80D6294CF71000263BE5 /* RunnerTests */, - 33CC10EE2044A3C60003C045 /* Products */, - D73912EC22F37F3D000D13A0 /* Frameworks */, - 6ABA80E4B64F392061994EFD /* Pods */, - ); - sourceTree = ""; - }; - 33CC10EE2044A3C60003C045 /* Products */ = { - isa = PBXGroup; - children = ( - 33CC10ED2044A3C60003C045 /* krow_staff.app */, - 331C80D5294CF71000263BE5 /* RunnerTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 33CC11242044D66E0003C045 /* Resources */ = { - isa = PBXGroup; - children = ( - 33CC10F22044A3C60003C045 /* Assets.xcassets */, - 33CC10F42044A3C60003C045 /* MainMenu.xib */, - 33CC10F72044A3C60003C045 /* Info.plist */, - ); - name = Resources; - path = ..; - sourceTree = ""; - }; - 33CEB47122A05771004F2AC0 /* Flutter */ = { - isa = PBXGroup; - children = ( - 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */, - 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */, - 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */, - 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */, - ); - path = Flutter; - sourceTree = ""; - }; - 33FAB671232836740065AC1E /* Runner */ = { - isa = PBXGroup; - children = ( - 33CC10F02044A3C60003C045 /* AppDelegate.swift */, - 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */, - 33E51913231747F40026EE4D /* DebugProfile.entitlements */, - 33E51914231749380026EE4D /* Release.entitlements */, - 33CC11242044D66E0003C045 /* Resources */, - 33BA886A226E78AF003329D5 /* Configs */, - ); - path = Runner; - sourceTree = ""; - }; - 6ABA80E4B64F392061994EFD /* Pods */ = { - isa = PBXGroup; - children = ( - 6D300BB405A262BD11BC8E17 /* Pods-Runner.debug.xcconfig */, - E11FE7E42C3C39C49F50BEB5 /* Pods-Runner.release.xcconfig */, - 060EC3AF3A2AB752545F2191 /* Pods-Runner.profile.xcconfig */, - 15C63A664E0150CA184E03A8 /* Pods-RunnerTests.debug.xcconfig */, - C24103C2702CAEE0091BFC73 /* Pods-RunnerTests.release.xcconfig */, - C1453B9ED71BA9085495FCB6 /* Pods-RunnerTests.profile.xcconfig */, - ); - name = Pods; - path = Pods; - sourceTree = ""; - }; - D73912EC22F37F3D000D13A0 /* Frameworks */ = { - isa = PBXGroup; - children = ( - D8AEFAD6205BEEBA5D907529 /* Pods_Runner.framework */, - 069E89A5AB8E920696C344DA /* Pods_RunnerTests.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 331C80D4294CF70F00263BE5 /* RunnerTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; - buildPhases = ( - B5C2C461D64A106CDA5480B9 /* [CP] Check Pods Manifest.lock */, - 331C80D1294CF70F00263BE5 /* Sources */, - 331C80D2294CF70F00263BE5 /* Frameworks */, - 331C80D3294CF70F00263BE5 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 331C80DA294CF71000263BE5 /* PBXTargetDependency */, - ); - name = RunnerTests; - productName = RunnerTests; - productReference = 331C80D5294CF71000263BE5 /* RunnerTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 33CC10EC2044A3C60003C045 /* Runner */ = { - isa = PBXNativeTarget; - buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */; - buildPhases = ( - 4EAF5AFAFCC94D6A860EEA53 /* [CP] Check Pods Manifest.lock */, - 33CC10E92044A3C60003C045 /* Sources */, - 33CC10EA2044A3C60003C045 /* Frameworks */, - 33CC10EB2044A3C60003C045 /* Resources */, - 33CC110E2044A8840003C045 /* Bundle Framework */, - 3399D490228B24CF009A79C7 /* ShellScript */, - 03022428CF28990CD27A7DBC /* [CP] Embed Pods Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - 33CC11202044C79F0003C045 /* PBXTargetDependency */, - ); - name = Runner; - productName = Runner; - productReference = 33CC10ED2044A3C60003C045 /* krow_staff.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 33CC10E52044A3C60003C045 /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = YES; - LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 1510; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 331C80D4294CF70F00263BE5 = { - CreatedOnToolsVersion = 14.0; - TestTargetID = 33CC10EC2044A3C60003C045; - }; - 33CC10EC2044A3C60003C045 = { - CreatedOnToolsVersion = 9.2; - LastSwiftMigration = 1100; - ProvisioningStyle = Automatic; - SystemCapabilities = { - com.apple.Sandbox = { - enabled = 1; - }; - }; - }; - 33CC111A2044C6BA0003C045 = { - CreatedOnToolsVersion = 9.2; - ProvisioningStyle = Manual; - }; - }; - }; - buildConfigurationList = 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 33CC10E42044A3C60003C045; - productRefGroup = 33CC10EE2044A3C60003C045 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 33CC10EC2044A3C60003C045 /* Runner */, - 331C80D4294CF70F00263BE5 /* RunnerTests */, - 33CC111A2044C6BA0003C045 /* Flutter Assemble */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 331C80D3294CF70F00263BE5 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 33CC10EB2044A3C60003C045 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */, - 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 03022428CF28990CD27A7DBC /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 3399D490228B24CF009A79C7 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - ); - outputFileListPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n"; - }; - 33CC111E2044C6BF0003C045 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - Flutter/ephemeral/FlutterInputs.xcfilelist, - ); - inputPaths = ( - Flutter/ephemeral/tripwire, - ); - outputFileListPaths = ( - Flutter/ephemeral/FlutterOutputs.xcfilelist, - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire"; - }; - 4EAF5AFAFCC94D6A860EEA53 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - B5C2C461D64A106CDA5480B9 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 331C80D1294CF70F00263BE5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 33CC10E92044A3C60003C045 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */, - 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */, - 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 331C80DA294CF71000263BE5 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 33CC10EC2044A3C60003C045 /* Runner */; - targetProxy = 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */; - }; - 33CC11202044C79F0003C045 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */; - targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 33CC10F42044A3C60003C045 /* MainMenu.xib */ = { - isa = PBXVariantGroup; - children = ( - 33CC10F52044A3C60003C045 /* Base */, - ); - name = MainMenu.xib; - path = Runner; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 331C80DB294CF71000263BE5 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 15C63A664E0150CA184E03A8 /* Pods-RunnerTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.krowStaff.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/krow_staff.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/krow_staff"; - }; - name = Debug; - }; - 331C80DC294CF71000263BE5 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C24103C2702CAEE0091BFC73 /* Pods-RunnerTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.krowStaff.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/krow_staff.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/krow_staff"; - }; - name = Release; - }; - 331C80DD294CF71000263BE5 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C1453B9ED71BA9085495FCB6 /* Pods-RunnerTests.profile.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.krowStaff.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/krow_staff.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/krow_staff"; - }; - name = Profile; - }; - 338D0CE9231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEAD_CODE_STRIPPING = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - }; - name = Profile; - }; - 338D0CEA231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 5.0; - }; - name = Profile; - }; - 338D0CEB231458BD00FA5F75 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Manual; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Profile; - }; - 33CC10F92044A3C60003C045 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEAD_CODE_STRIPPING = YES; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 33CC10FA2044A3C60003C045 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - DEAD_CODE_STRIPPING = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.15; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - }; - name = Release; - }; - 33CC10FC2044A3C60003C045 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - 33CC10FD2044A3C60003C045 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements; - CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - ); - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - 33CC111C2044C6BA0003C045 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Manual; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - 33CC111D2044C6BA0003C045 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 331C80DB294CF71000263BE5 /* Debug */, - 331C80DC294CF71000263BE5 /* Release */, - 331C80DD294CF71000263BE5 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC10F92044A3C60003C045 /* Debug */, - 33CC10FA2044A3C60003C045 /* Release */, - 338D0CE9231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC10FC2044A3C60003C045 /* Debug */, - 33CC10FD2044A3C60003C045 /* Release */, - 338D0CEA231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 33CC111C2044C6BA0003C045 /* Debug */, - 33CC111D2044C6BA0003C045 /* Release */, - 338D0CEB231458BD00FA5F75 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 33CC10E52044A3C60003C045 /* Project object */; -} diff --git a/apps/apps/staff/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/apps/apps/staff/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d98100..00000000 --- a/apps/apps/staff/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/apps/apps/staff/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/apps/apps/staff/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme deleted file mode 100644 index 23783d1d..00000000 --- a/apps/apps/staff/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/staff/macos/Runner.xcworkspace/contents.xcworkspacedata b/apps/apps/staff/macos/Runner.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 21a3cc14..00000000 --- a/apps/apps/staff/macos/Runner.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/apps/apps/staff/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/apps/apps/staff/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d98100..00000000 --- a/apps/apps/staff/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/apps/apps/staff/macos/Runner/AppDelegate.swift b/apps/apps/staff/macos/Runner/AppDelegate.swift deleted file mode 100644 index b3c17614..00000000 --- a/apps/apps/staff/macos/Runner/AppDelegate.swift +++ /dev/null @@ -1,13 +0,0 @@ -import Cocoa -import FlutterMacOS - -@main -class AppDelegate: FlutterAppDelegate { - override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { - return true - } - - override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool { - return true - } -} diff --git a/apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index a2ec33f1..00000000 --- a/apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "images" : [ - { - "size" : "16x16", - "idiom" : "mac", - "filename" : "app_icon_16.png", - "scale" : "1x" - }, - { - "size" : "16x16", - "idiom" : "mac", - "filename" : "app_icon_32.png", - "scale" : "2x" - }, - { - "size" : "32x32", - "idiom" : "mac", - "filename" : "app_icon_32.png", - "scale" : "1x" - }, - { - "size" : "32x32", - "idiom" : "mac", - "filename" : "app_icon_64.png", - "scale" : "2x" - }, - { - "size" : "128x128", - "idiom" : "mac", - "filename" : "app_icon_128.png", - "scale" : "1x" - }, - { - "size" : "128x128", - "idiom" : "mac", - "filename" : "app_icon_256.png", - "scale" : "2x" - }, - { - "size" : "256x256", - "idiom" : "mac", - "filename" : "app_icon_256.png", - "scale" : "1x" - }, - { - "size" : "256x256", - "idiom" : "mac", - "filename" : "app_icon_512.png", - "scale" : "2x" - }, - { - "size" : "512x512", - "idiom" : "mac", - "filename" : "app_icon_512.png", - "scale" : "1x" - }, - { - "size" : "512x512", - "idiom" : "mac", - "filename" : "app_icon_1024.png", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png deleted file mode 100644 index 82b6f9d9a33e198f5747104729e1fcef999772a5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 102994 zcmeEugo5nb1G~3xi~y`}h6XHx5j$(L*3|5S2UfkG$|UCNI>}4f?MfqZ+HW-sRW5RKHEm z^unW*Xx{AH_X3Xdvb%C(Bh6POqg==@d9j=5*}oEny_IS;M3==J`P0R!eD6s~N<36C z*%-OGYqd0AdWClO!Z!}Y1@@RkfeiQ$Ib_ z&fk%T;K9h`{`cX3Hu#?({4WgtmkR!u3ICS~|NqH^fdNz>51-9)OF{|bRLy*RBv#&1 z3Oi_gk=Y5;>`KbHf~w!`u}!&O%ou*Jzf|Sf?J&*f*K8cftMOKswn6|nb1*|!;qSrlw= zr-@X;zGRKs&T$y8ENnFU@_Z~puu(4~Ir)>rbYp{zxcF*!EPS6{(&J}qYpWeqrPWW< zfaApz%<-=KqxrqLLFeV3w0-a0rEaz9&vv^0ZfU%gt9xJ8?=byvNSb%3hF^X_n7`(f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K@!ij-|c--insluCR}{#q=D6Xz#nL6;`rkc*UzLTR%Y{ zN2YK;Zcz4YY=+|(0_?E=#~3U@I1fIyRiBF zIeWj=id+b|L;kSMs>NMfeB^(={IdrC;NYJy_$L+olL`OdOqgH0OpSa?FTRhwb<|%A Pe7HEdAEg|=c=LY&YVNkY diff --git a/apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png deleted file mode 100644 index 13b35eba55c6dabc3aac36f33d859266c18fa0d0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5680 zcmaiYXH?Tqu=Xz`p-L#B_gI#0we$cm_HcmYFP$?wjD#BaCN4mzC5#`>w9y6=ThxrYZc0WPXprg zYjB`UsV}0=eUtY$(P6YW}npdd;%9pi?zS3k-nqCob zSX_AQEf|=wYT3r?f!*Yt)ar^;l3Sro{z(7deUBPd2~(SzZ-s@0r&~Km2S?8r##9-< z)2UOSVaHqq6}%sA9Ww;V2LG=PnNAh6mA2iWOuV7T_lRDR z&N8-eN=U)-T|;wo^Wv=34wtV0g}sAAe}`Ph@~!|<;z7*K8(qkX0}o=!(+N*UWrkEja*$_H6mhK1u{P!AC39} z|3+Z(mAOq#XRYS)TLoHv<)d%$$I@+x+2)V{@o~~J-!YUI-Q9%!Ldi4Op&Lw&B>jj* zwAgC#Y>gbIqv!d|J5f!$dbCXoq(l3GR(S>(rtZ~Z*agXMMKN!@mWT_vmCbSd3dUUm z4M&+gz?@^#RRGal%G3dDvj7C5QTb@9+!MG+>0dcjtZEB45c+qx*c?)d<%htn1o!#1 zpIGonh>P1LHu3s)fGFF-qS}AXjW|M*2Xjkh7(~r(lN=o#mBD9?jt74=Rz85I4Nfx_ z7Z)q?!};>IUjMNM6ee2Thq7))a>My?iWFxQ&}WvsFP5LP+iGz+QiYek+K1`bZiTV- zHHYng?ct@Uw5!gquJ(tEv1wTrRR7cemI>aSzL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le+c^ULe;O@ zl+Z@OOAr4$a;=I~R0w4jO`*PKBp?3K+uJ+Tu8^%i<_~bU!p%so z^sjol^slR`W@jiqn!M~eClIIl+`A5%lGT{z^mRbpv}~AyO%R*jmG_Wrng{B9TwIuS z0!@fsM~!57K1l0%{yy(#no}roy#r!?0wm~HT!vLDfEBs9x#`9yCKgufm0MjVRfZ=f z4*ZRc2Lgr(P+j2zQE_JzYmP0*;trl7{*N341Cq}%^M^VC3gKG-hY zmPT>ECyrhIoFhnMB^qpdbiuI}pk{qPbK^}0?Rf7^{98+95zNq6!RuV_zAe&nDk0;f zez~oXlE5%ve^TmBEt*x_X#fs(-En$jXr-R4sb$b~`nS=iOy|OVrph(U&cVS!IhmZ~ zKIRA9X%Wp1J=vTvHZ~SDe_JXOe9*fa zgEPf;gD^|qE=dl>Qkx3(80#SE7oxXQ(n4qQ#by{uppSKoDbaq`U+fRqk0BwI>IXV3 zD#K%ASkzd7u>@|pA=)Z>rQr@dLH}*r7r0ng zxa^eME+l*s7{5TNu!+bD{Pp@2)v%g6^>yj{XP&mShhg9GszNu4ITW=XCIUp2Xro&1 zg_D=J3r)6hp$8+94?D$Yn2@Kp-3LDsci)<-H!wCeQt$e9Jk)K86hvV^*Nj-Ea*o;G zsuhRw$H{$o>8qByz1V!(yV{p_0X?Kmy%g#1oSmlHsw;FQ%j9S#}ha zm0Nx09@jmOtP8Q+onN^BAgd8QI^(y!n;-APUpo5WVdmp8!`yKTlF>cqn>ag`4;o>i zl!M0G-(S*fm6VjYy}J}0nX7nJ$h`|b&KuW4d&W5IhbR;-)*9Y0(Jj|@j`$xoPQ=Cl diff --git a/apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png deleted file mode 100644 index 0a3f5fa40fb3d1e0710331a48de5d256da3f275d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 520 zcmeAS@N?(olH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>sD3Rve&yVZ#{Q1*CO8c+qSr^Z#CN;)(X5>tGG5yUw3<+CfhaL z%bP;hZ?jvgJU67BWyiy74_)6r)_nSxttxn0`0?HE^5(uydHVgP+HE$V?Lv)Leti43 zWA|;f-RqX``95>)^P-fw!Vi{3KNsII-*5f){gdxqd%gVdB1sOBNe=nEW%;i~g_P8J w!5uhoe-Jcg1nPN%MiEAtgE$;km@@t6ukO)1^!cY^83Pb_y85}Sb4q9e0FIsP9{>OV diff --git a/apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/apps/apps/staff/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png deleted file mode 100644 index 2f1632cfddf3d9dade342351e627a0a75609fb46..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2218 zcmV;b2vzrqP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91K%fHv1ONa40RR91KmY&$07g+lumAuE6iGxuRCodHTWf3-RTMruyW6Fu zQYeUM04eX6D5c0FCjKKPrco1(K`<0SL=crI{PC3-^hZU0kQie$gh-5!7z6SH6Q0J% zqot*`H1q{R5fHFYS}dje@;kG=v$L0(yY0?wY2%*c?A&{2?!D*x?m71{of2gv!$5|C z3>qG_BW}7K_yUcT3A5C6QD<+{aq?x;MAUyAiJn#Jv8_zZtQ{P zTRzbL3U9!qVuZzS$xKU10KiW~Bgdcv1-!uAhQxf3a7q+dU6lj?yoO4Lq4TUN4}h{N z*fIM=SS8|C2$(T>w$`t@3Tka!(r!7W`x z-isCVgQD^mG-MJ;XtJuK3V{Vy72GQ83KRWsHU?e*wrhKk=ApIYeDqLi;JI1e zuvv}5^Dc=k7F7?nm3nIw$NVmU-+R>> zyqOR$-2SDpJ}Pt;^RkJytDVXNTsu|mI1`~G7yw`EJR?VkGfNdqK9^^8P`JdtTV&tX4CNcV4 z&N06nZa??Fw1AgQOUSE2AmPE@WO(Fvo`%m`cDgiv(fAeRA%3AGXUbsGw{7Q`cY;1BI#ac3iN$$Hw z0LT0;xc%=q)me?Y*$xI@GRAw?+}>=9D+KTk??-HJ4=A>`V&vKFS75@MKdSF1JTq{S zc1!^8?YA|t+uKigaq!sT;Z!&0F2=k7F0PIU;F$leJLaw2UI6FL^w}OG&!;+b%ya1c z1n+6-inU<0VM-Y_s5iTElq)ThyF?StVcebpGI znw#+zLx2@ah{$_2jn+@}(zJZ{+}_N9BM;z)0yr|gF-4=Iyu@hI*Lk=-A8f#bAzc9f z`Kd6K--x@t04swJVC3JK1cHY-Hq+=|PN-VO;?^_C#;coU6TDP7Bt`;{JTG;!+jj(` zw5cLQ-(Cz-Tlb`A^w7|R56Ce;Wmr0)$KWOUZ6ai0PhzPeHwdl0H(etP zUV`va_i0s-4#DkNM8lUlqI7>YQLf)(lz9Q3Uw`)nc(z3{m5ZE77Ul$V%m)E}3&8L0 z-XaU|eB~Is08eORPk;=<>!1w)Kf}FOVS2l&9~A+@R#koFJ$Czd%Y(ENTV&A~U(IPI z;UY+gf+&6ioZ=roly<0Yst8ck>(M=S?B-ys3mLdM&)ex!hbt+ol|T6CTS+Sc0jv(& z7ijdvFwBq;0a{%3GGwkDKTeG`b+lyj0jjS1OMkYnepCdoosNY`*zmBIo*981BU%%U z@~$z0V`OVtIbEx5pa|Tct|Lg#ZQf5OYMUMRD>Wdxm5SAqV2}3!ceE-M2 z@O~lQ0OiKQp}o9I;?uxCgYVV?FH|?Riri*U$Zi_`V2eiA>l zdSm6;SEm6#T+SpcE8Ro_f2AwxzI z44hfe^WE3!h@W3RDyA_H440cpmYkv*)6m1XazTqw%=E5Xv7^@^^T7Q2wxr+Z2kVYr - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/apps/staff/macos/Runner/Configs/AppInfo.xcconfig b/apps/apps/staff/macos/Runner/Configs/AppInfo.xcconfig deleted file mode 100644 index 721d6ca0..00000000 --- a/apps/apps/staff/macos/Runner/Configs/AppInfo.xcconfig +++ /dev/null @@ -1,14 +0,0 @@ -// Application-level settings for the Runner target. -// -// This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the -// future. If not, the values below would default to using the project name when this becomes a -// 'flutter create' template. - -// The application's name. By default this is also the title of the Flutter window. -PRODUCT_NAME = krow_staff - -// The application's bundle identifier -PRODUCT_BUNDLE_IDENTIFIER = com.example.krowStaff - -// The copyright displayed in application information -PRODUCT_COPYRIGHT = Copyright © 2026 com.example. All rights reserved. diff --git a/apps/apps/staff/macos/Runner/Configs/Debug.xcconfig b/apps/apps/staff/macos/Runner/Configs/Debug.xcconfig deleted file mode 100644 index 36b0fd94..00000000 --- a/apps/apps/staff/macos/Runner/Configs/Debug.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "../../Flutter/Flutter-Debug.xcconfig" -#include "Warnings.xcconfig" diff --git a/apps/apps/staff/macos/Runner/Configs/Release.xcconfig b/apps/apps/staff/macos/Runner/Configs/Release.xcconfig deleted file mode 100644 index dff4f495..00000000 --- a/apps/apps/staff/macos/Runner/Configs/Release.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "../../Flutter/Flutter-Release.xcconfig" -#include "Warnings.xcconfig" diff --git a/apps/apps/staff/macos/Runner/Configs/Warnings.xcconfig b/apps/apps/staff/macos/Runner/Configs/Warnings.xcconfig deleted file mode 100644 index 42bcbf47..00000000 --- a/apps/apps/staff/macos/Runner/Configs/Warnings.xcconfig +++ /dev/null @@ -1,13 +0,0 @@ -WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings -GCC_WARN_UNDECLARED_SELECTOR = YES -CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES -CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE -CLANG_WARN__DUPLICATE_METHOD_MATCH = YES -CLANG_WARN_PRAGMA_PACK = YES -CLANG_WARN_STRICT_PROTOTYPES = YES -CLANG_WARN_COMMA = YES -GCC_WARN_STRICT_SELECTOR_MATCH = YES -CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES -CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES -GCC_WARN_SHADOW = YES -CLANG_WARN_UNREACHABLE_CODE = YES diff --git a/apps/apps/staff/macos/Runner/DebugProfile.entitlements b/apps/apps/staff/macos/Runner/DebugProfile.entitlements deleted file mode 100644 index dddb8a30..00000000 --- a/apps/apps/staff/macos/Runner/DebugProfile.entitlements +++ /dev/null @@ -1,12 +0,0 @@ - - - - - com.apple.security.app-sandbox - - com.apple.security.cs.allow-jit - - com.apple.security.network.server - - - diff --git a/apps/apps/staff/macos/Runner/Info.plist b/apps/apps/staff/macos/Runner/Info.plist deleted file mode 100644 index 4789daa6..00000000 --- a/apps/apps/staff/macos/Runner/Info.plist +++ /dev/null @@ -1,32 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconFile - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) - NSHumanReadableCopyright - $(PRODUCT_COPYRIGHT) - NSMainNibFile - MainMenu - NSPrincipalClass - NSApplication - - diff --git a/apps/apps/staff/macos/Runner/MainFlutterWindow.swift b/apps/apps/staff/macos/Runner/MainFlutterWindow.swift deleted file mode 100644 index 3cc05eb2..00000000 --- a/apps/apps/staff/macos/Runner/MainFlutterWindow.swift +++ /dev/null @@ -1,15 +0,0 @@ -import Cocoa -import FlutterMacOS - -class MainFlutterWindow: NSWindow { - override func awakeFromNib() { - let flutterViewController = FlutterViewController() - let windowFrame = self.frame - self.contentViewController = flutterViewController - self.setFrame(windowFrame, display: true) - - RegisterGeneratedPlugins(registry: flutterViewController) - - super.awakeFromNib() - } -} diff --git a/apps/apps/staff/macos/Runner/Release.entitlements b/apps/apps/staff/macos/Runner/Release.entitlements deleted file mode 100644 index 852fa1a4..00000000 --- a/apps/apps/staff/macos/Runner/Release.entitlements +++ /dev/null @@ -1,8 +0,0 @@ - - - - - com.apple.security.app-sandbox - - - diff --git a/apps/apps/staff/macos/RunnerTests/RunnerTests.swift b/apps/apps/staff/macos/RunnerTests/RunnerTests.swift deleted file mode 100644 index 61f3bd1f..00000000 --- a/apps/apps/staff/macos/RunnerTests/RunnerTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -import Cocoa -import FlutterMacOS -import XCTest - -class RunnerTests: XCTestCase { - - func testExample() { - // If you add code to the Runner application, consider adding tests here. - // See https://developer.apple.com/documentation/xctest for more information about using XCTest. - } - -} diff --git a/apps/apps/staff/pubspec.yaml b/apps/apps/staff/pubspec.yaml deleted file mode 100644 index 659a41ad..00000000 --- a/apps/apps/staff/pubspec.yaml +++ /dev/null @@ -1,30 +0,0 @@ -name: krowwithus_staff -description: "Krow Staff Application" -publish_to: 'none' -version: 1.0.0+1 -resolution: workspace - -environment: - sdk: ^3.10.7 -dependencies: - flutter: - sdk: flutter - flutter_localizations: - sdk: flutter - cupertino_icons: ^1.0.8 - flutter_modular: ^6.3.0 - design_system: - path: ../../packages/design_system - staff_authentication: - path: ../../packages/features/staff/authentication - core_localization: - path: ../../packages/core_localization - -dev_dependencies: - flutter_test: - sdk: flutter - flutter_lints: ^6.0.0 - rename: ^3.1.0 - -flutter: - uses-material-design: true diff --git a/apps/apps/staff/test/widget_test.dart b/apps/apps/staff/test/widget_test.dart deleted file mode 100644 index 1e60e4a3..00000000 --- a/apps/apps/staff/test/widget_test.dart +++ /dev/null @@ -1,30 +0,0 @@ -// This is a basic Flutter widget test. -// -// To perform an interaction with a widget in your test, use the WidgetTester -// utility in the flutter_test package. For example, you can send tap and scroll -// gestures. You can also use WidgetTester to find child widgets in the widget -// tree, read text, and verify that the values of widget properties are correct. - -import 'package:flutter/material.dart'; -import 'package:flutter_test/flutter_test.dart'; - -import 'package:staff/main.dart'; - -void main() { - testWidgets('Counter increments smoke test', (WidgetTester tester) async { - // Build our app and trigger a frame. - await tester.pumpWidget(const MyApp()); - - // Verify that our counter starts at 0. - expect(find.text('0'), findsOneWidget); - expect(find.text('1'), findsNothing); - - // Tap the '+' icon and trigger a frame. - await tester.tap(find.byIcon(Icons.add)); - await tester.pump(); - - // Verify that our counter has incremented. - expect(find.text('0'), findsNothing); - expect(find.text('1'), findsOneWidget); - }); -} diff --git a/apps/apps/staff/web/favicon.png b/apps/apps/staff/web/favicon.png deleted file mode 100644 index 8aaa46ac1ae21512746f852a42ba87e4165dfdd1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 917 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|I14-?iy0X7 zltGxWVyS%@P(fs7NJL45ua8x7ey(0(N`6wRUPW#JP&EUCO@$SZnVVXYs8ErclUHn2 zVXFjIVFhG^g!Ppaz)DK8ZIvQ?0~DO|i&7O#^-S~(l1AfjnEK zjFOT9D}DX)@^Za$W4-*MbbUihOG|wNBYh(yU7!lx;>x^|#0uTKVr7USFmqf|i<65o z3raHc^AtelCMM;Vme?vOfh>Xph&xL%(-1c06+^uR^q@XSM&D4+Kp$>4P^%3{)XKjo zGZknv$b36P8?Z_gF{nK@`XI}Z90TzwSQO}0J1!f2c(B=V`5aP@1P1a|PZ!4!3&Gl8 zTYqUsf!gYFyJnXpu0!n&N*SYAX-%d(5gVjrHJWqXQshj@!Zm{!01WsQrH~9=kTxW#6SvuapgMqt>$=j#%eyGrQzr zP{L-3gsMA^$I1&gsBAEL+vxi1*Igl=8#8`5?A-T5=z-sk46WA1IUT)AIZHx1rdUrf zVJrJn<74DDw`j)Ki#gt}mIT-Q`XRa2-jQXQoI%w`nb|XblvzK${ZzlV)m-XcwC(od z71_OEC5Bt9GEXosOXaPTYOia#R4ID2TiU~`zVMl08TV_C%DnU4^+HE>9(CE4D6?Fz oujB08i7adh9xk7*FX66dWH6F5TM;?E2b5PlUHx3vIVCg!0Dx9vYXATM diff --git a/apps/apps/staff/web/icons/Icon-192.png b/apps/apps/staff/web/icons/Icon-192.png deleted file mode 100644 index b749bfef07473333cf1dd31e9eed89862a5d52aa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5292 zcmZ`-2T+sGz6~)*FVZ`aW+(v>MIm&M-g^@e2u-B-DoB?qO+b1Tq<5uCCv>ESfRum& zp%X;f!~1{tzL__3=gjVJ=j=J>+nMj%ncXj1Q(b|Ckbw{Y0FWpt%4y%$uD=Z*c-x~o zE;IoE;xa#7Ll5nj-e4CuXB&G*IM~D21rCP$*xLXAK8rIMCSHuSu%bL&S3)8YI~vyp@KBu9Ph7R_pvKQ@xv>NQ`dZp(u{Z8K3yOB zn7-AR+d2JkW)KiGx0hosml;+eCXp6+w%@STjFY*CJ?udJ64&{BCbuebcuH;}(($@@ znNlgBA@ZXB)mcl9nbX#F!f_5Z=W>0kh|UVWnf!At4V*LQP%*gPdCXd6P@J4Td;!Ur z<2ZLmwr(NG`u#gDEMP19UcSzRTL@HsK+PnIXbVBT@oHm53DZr?~V(0{rsalAfwgo zEh=GviaqkF;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~h2WDWgcKn*f!+ORD)f$DZFwgKBafEZmeXQMAsq9sxP9A)7zOYnkHT9JU zRA`umgmP9d6=PHmFIgx=0$(sjb>+0CHG)K@cPG{IxaJ&Ueo8)0RWgV9+gO7+Bl1(F z7!BslJ2MP*PWJ;x)QXbR$6jEr5q3 z(3}F@YO_P1NyTdEXRLU6fp?9V2-S=E+YaeLL{Y)W%6`k7$(EW8EZSA*(+;e5@jgD^I zaJQ2|oCM1n!A&-8`;#RDcZyk*+RPkn_r8?Ak@agHiSp*qFNX)&i21HE?yuZ;-C<3C zwJGd1lx5UzViP7sZJ&|LqH*mryb}y|%AOw+v)yc`qM)03qyyrqhX?ub`Cjwx2PrR! z)_z>5*!*$x1=Qa-0uE7jy0z`>|Ni#X+uV|%_81F7)b+nf%iz=`fF4g5UfHS_?PHbr zB;0$bK@=di?f`dS(j{l3-tSCfp~zUuva+=EWxJcRfp(<$@vd(GigM&~vaYZ0c#BTs z3ijkxMl=vw5AS&DcXQ%eeKt!uKvh2l3W?&3=dBHU=Gz?O!40S&&~ei2vg**c$o;i89~6DVns zG>9a*`k5)NI9|?W!@9>rzJ;9EJ=YlJTx1r1BA?H`LWijk(rTax9(OAu;q4_wTj-yj z1%W4GW&K4T=uEGb+E!>W0SD_C0RR91 diff --git a/apps/apps/staff/web/icons/Icon-512.png b/apps/apps/staff/web/icons/Icon-512.png deleted file mode 100644 index 88cfd48dff1169879ba46840804b412fe02fefd6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8252 zcmd5=2T+s!lYZ%-(h(2@5fr2dC?F^$C=i-}R6$UX8af(!je;W5yC_|HmujSgN*6?W z3knF*TL1$|?oD*=zPbBVex*RUIKsL<(&Rj9%^UD2IK3W?2j>D?eWQgvS-HLymHo9%~|N2Q{~j za?*X-{b9JRowv_*Mh|;*-kPFn>PI;r<#kFaxFqbn?aq|PduQg=2Q;~Qc}#z)_T%x9 zE|0!a70`58wjREmAH38H1)#gof)U3g9FZ^ zF7&-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5?J3i@!0J6q#eu z!RRU`-)HeqGi_UJZ(n~|PSNsv+Wgl{P-TvaUQ9j?ZCtvb^37U$sFpBrkT{7Jpd?HpIvj2!}RIq zH{9~+gErN2+}J`>Jvng2hwM`=PLNkc7pkjblKW|+Fk9rc)G1R>Ww>RC=r-|!m-u7( zc(a$9NG}w#PjWNMS~)o=i~WA&4L(YIW25@AL9+H9!?3Y}sv#MOdY{bb9j>p`{?O(P zIvb`n?_(gP2w3P#&91JX*md+bBEr%xUHMVqfB;(f?OPtMnAZ#rm5q5mh;a2f_si2_ z3oXWB?{NF(JtkAn6F(O{z@b76OIqMC$&oJ_&S|YbFJ*)3qVX_uNf5b8(!vGX19hsG z(OP>RmZp29KH9Ge2kKjKigUmOe^K_!UXP`von)PR8Qz$%=EmOB9xS(ZxE_tnyzo}7 z=6~$~9k0M~v}`w={AeqF?_)9q{m8K#6M{a&(;u;O41j)I$^T?lx5(zlebpY@NT&#N zR+1bB)-1-xj}R8uwqwf=iP1GbxBjneCC%UrSdSxK1vM^i9;bUkS#iRZw2H>rS<2<$ zNT3|sDH>{tXb=zq7XZi*K?#Zsa1h1{h5!Tq_YbKFm_*=A5-<~j63he;4`77!|LBlo zR^~tR3yxcU=gDFbshyF6>o0bdp$qmHS7D}m3;^QZq9kBBU|9$N-~oU?G5;jyFR7>z hN`IR97YZXIo@y!QgFWddJ3|0`sjFx!m))><{BI=FK%f8s diff --git a/apps/apps/staff/web/icons/Icon-maskable-192.png b/apps/apps/staff/web/icons/Icon-maskable-192.png deleted file mode 100644 index eb9b4d76e525556d5d89141648c724331630325d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5594 zcmdT|`#%%j|KDb2V@0DPm$^(Lx5}lO%Yv(=e*7hl@QqKS50#~#^IQPxBmuh|i9sXnt4ch@VT0F7% zMtrs@KWIOo+QV@lSs66A>2pz6-`9Jk=0vv&u?)^F@HZ)-6HT=B7LF;rdj zskUyBfbojcX#CS>WrIWo9D=DIwcXM8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=B)MS>6kw9bY z{7vdev7;A}5fy*ZE23DS{J?8at~xwVk`pEwP5^k?XMQ7u64;KmFJ#POzdG#np~F&H ze-BUh@g54)dsS%nkBb}+GuUEKU~pHcYIg4vSo$J(J|U36bs0Use+3A&IMcR%6@jv$ z=+QI+@wW@?iu}Hpyzlvj-EYeop{f65GX0O%>w#0t|V z1-svWk`hU~m`|O$kw5?Yn5UhI%9P-<45A(v0ld1n+%Ziq&TVpBcV9n}L9Tus-TI)f zd_(g+nYCDR@+wYNQm1GwxhUN4tGMLCzDzPqY$~`l<47{+l<{FZ$L6(>J)|}!bi<)| zE35dl{a2)&leQ@LlDxLQOfUDS`;+ZQ4ozrleQwaR-K|@9T{#hB5Z^t#8 zC-d_G;B4;F#8A2EBL58s$zF-=SCr`P#z zNCTnHF&|X@q>SkAoYu>&s9v@zCpv9lLSH-UZzfhJh`EZA{X#%nqw@@aW^vPcfQrlPs(qQxmC|4tp^&sHy!H!2FH5eC{M@g;ElWNzlb-+ zxpfc0m4<}L){4|RZ>KReag2j%Ot_UKkgpJN!7Y_y3;Ssz{9 z!K3isRtaFtQII5^6}cm9RZd5nTp9psk&u1C(BY`(_tolBwzV_@0F*m%3G%Y?2utyS zY`xM0iDRT)yTyYukFeGQ&W@ReM+ADG1xu@ruq&^GK35`+2r}b^V!m1(VgH|QhIPDE X>c!)3PgKfL&lX^$Z>Cpu&6)6jvi^Z! diff --git a/apps/apps/staff/web/icons/Icon-maskable-512.png b/apps/apps/staff/web/icons/Icon-maskable-512.png deleted file mode 100644 index d69c56691fbdb0b7efa65097c7cc1edac12a6d3e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 20998 zcmeFZ_gj-)&^4Nb2tlbLMU<{!p(#yjqEe+=0IA_oih%ScH9@5#MNp&}Y#;;(h=A0@ zh7{>lT2MkSQ344eAvrhici!td|HJuyvJm#Y_w1Q9Yu3!26dNlO-oxUDK_C#XnW^Co z5C{VN6#{~B0)K2j7}*1Xq(Nqemv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-#m;QC*&6vkp&8699G3)Bq0*kFZXINw=b9OVaed(3(3kS|IZ)CM? zJdnW&%t8MveBuK21uiYj)_a{Fnw0OErMzMN?d$QoPwkhOwcP&p+t>P)4tHlYw-pPN z^oJ=uc$Sl>pv@fZH~ZqxSvdhF@F1s=oZawpr^-#l{IIOGG=T%QXjtwPhIg-F@k@uIlr?J->Ia zpEUQ*=4g|XYn4Gez&aHr*;t$u3oODPmc2Ku)2Og|xjc%w;q!Zz+zY)*3{7V8bK4;& zYV82FZ+8?v)`J|G1w4I0fWdKg|2b#iaazCv;|?(W-q}$o&Y}Q5d@BRk^jL7#{kbCK zSgkyu;=DV+or2)AxCBgq-nj5=@n^`%T#V+xBGEkW4lCqrE)LMv#f;AvD__cQ@Eg3`~x| zW+h9mofSXCq5|M)9|ez(#X?-sxB%Go8};sJ?2abp(Y!lyi>k)|{M*Z$c{e1-K4ky` MPgg&ebxsLQ025IeI{*Lx diff --git a/apps/apps/staff/web/index.html b/apps/apps/staff/web/index.html deleted file mode 100644 index e03e65a3..00000000 --- a/apps/apps/staff/web/index.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - krow_staff - - - - - - diff --git a/apps/apps/staff/web/manifest.json b/apps/apps/staff/web/manifest.json deleted file mode 100644 index 39e502ff..00000000 --- a/apps/apps/staff/web/manifest.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "krow_staff", - "short_name": "krow_staff", - "start_url": ".", - "display": "standalone", - "background_color": "#0175C2", - "theme_color": "#0175C2", - "description": "A new Flutter project.", - "orientation": "portrait-primary", - "prefer_related_applications": false, - "icons": [ - { - "src": "icons/Icon-192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "icons/Icon-512.png", - "sizes": "512x512", - "type": "image/png" - }, - { - "src": "icons/Icon-maskable-192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "maskable" - }, - { - "src": "icons/Icon-maskable-512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "maskable" - } - ] -} diff --git a/apps/apps/staff/windows/.gitignore b/apps/apps/staff/windows/.gitignore deleted file mode 100644 index d492d0d9..00000000 --- a/apps/apps/staff/windows/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -flutter/ephemeral/ - -# Visual Studio user-specific files. -*.suo -*.user -*.userosscache -*.sln.docstates - -# Visual Studio build-related files. -x64/ -x86/ - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!*.[Cc]ache/ diff --git a/apps/apps/staff/windows/CMakeLists.txt b/apps/apps/staff/windows/CMakeLists.txt deleted file mode 100644 index 95f1489e..00000000 --- a/apps/apps/staff/windows/CMakeLists.txt +++ /dev/null @@ -1,108 +0,0 @@ -# Project-level configuration. -cmake_minimum_required(VERSION 3.14) -project(krow_staff LANGUAGES CXX) - -# The name of the executable created for the application. Change this to change -# the on-disk name of your application. -set(BINARY_NAME "krow_staff") - -# Explicitly opt in to modern CMake behaviors to avoid warnings with recent -# versions of CMake. -cmake_policy(VERSION 3.14...3.25) - -# Define build configuration option. -get_property(IS_MULTICONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) -if(IS_MULTICONFIG) - set(CMAKE_CONFIGURATION_TYPES "Debug;Profile;Release" - CACHE STRING "" FORCE) -else() - if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) - set(CMAKE_BUILD_TYPE "Debug" CACHE - STRING "Flutter build mode" FORCE) - set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS - "Debug" "Profile" "Release") - endif() -endif() -# Define settings for the Profile build mode. -set(CMAKE_EXE_LINKER_FLAGS_PROFILE "${CMAKE_EXE_LINKER_FLAGS_RELEASE}") -set(CMAKE_SHARED_LINKER_FLAGS_PROFILE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE}") -set(CMAKE_C_FLAGS_PROFILE "${CMAKE_C_FLAGS_RELEASE}") -set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_RELEASE}") - -# Use Unicode for all projects. -add_definitions(-DUNICODE -D_UNICODE) - -# Compilation settings that should be applied to most targets. -# -# Be cautious about adding new options here, as plugins use this function by -# default. In most cases, you should add new options to specific targets instead -# of modifying this function. -function(APPLY_STANDARD_SETTINGS TARGET) - target_compile_features(${TARGET} PUBLIC cxx_std_17) - target_compile_options(${TARGET} PRIVATE /W4 /WX /wd"4100") - target_compile_options(${TARGET} PRIVATE /EHsc) - target_compile_definitions(${TARGET} PRIVATE "_HAS_EXCEPTIONS=0") - target_compile_definitions(${TARGET} PRIVATE "$<$:_DEBUG>") -endfunction() - -# Flutter library and tool build rules. -set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter") -add_subdirectory(${FLUTTER_MANAGED_DIR}) - -# Application build; see runner/CMakeLists.txt. -add_subdirectory("runner") - - -# Generated plugin build rules, which manage building the plugins and adding -# them to the application. -include(flutter/generated_plugins.cmake) - - -# === Installation === -# Support files are copied into place next to the executable, so that it can -# run in place. This is done instead of making a separate bundle (as on Linux) -# so that building and running from within Visual Studio will work. -set(BUILD_BUNDLE_DIR "$") -# Make the "install" step default, as it's required to run. -set(CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD 1) -if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) - set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE) -endif() - -set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data") -set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}") - -install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" - COMPONENT Runtime) - -install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -if(PLUGIN_BUNDLED_LIBRARIES) - install(FILES "${PLUGIN_BUNDLED_LIBRARIES}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) -endif() - -# Copy the native assets provided by the build.dart from all packages. -set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/windows/") -install(DIRECTORY "${NATIVE_ASSETS_DIR}" - DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" - COMPONENT Runtime) - -# Fully re-copy the assets directory on each build to avoid having stale files -# from a previous install. -set(FLUTTER_ASSET_DIR_NAME "flutter_assets") -install(CODE " - file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\") - " COMPONENT Runtime) -install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}" - DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime) - -# Install the AOT library on non-Debug builds only. -install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" - CONFIGURATIONS Profile;Release - COMPONENT Runtime) diff --git a/apps/apps/staff/windows/flutter/CMakeLists.txt b/apps/apps/staff/windows/flutter/CMakeLists.txt deleted file mode 100644 index 903f4899..00000000 --- a/apps/apps/staff/windows/flutter/CMakeLists.txt +++ /dev/null @@ -1,109 +0,0 @@ -# This file controls Flutter-level build steps. It should not be edited. -cmake_minimum_required(VERSION 3.14) - -set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral") - -# Configuration provided via flutter tool. -include(${EPHEMERAL_DIR}/generated_config.cmake) - -# TODO: Move the rest of this into files in ephemeral. See -# https://github.com/flutter/flutter/issues/57146. -set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper") - -# Set fallback configurations for older versions of the flutter tool. -if (NOT DEFINED FLUTTER_TARGET_PLATFORM) - set(FLUTTER_TARGET_PLATFORM "windows-x64") -endif() - -# === Flutter Library === -set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll") - -# Published to parent scope for install step. -set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE) -set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE) -set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE) -set(AOT_LIBRARY "${PROJECT_DIR}/build/windows/app.so" PARENT_SCOPE) - -list(APPEND FLUTTER_LIBRARY_HEADERS - "flutter_export.h" - "flutter_windows.h" - "flutter_messenger.h" - "flutter_plugin_registrar.h" - "flutter_texture_registrar.h" -) -list(TRANSFORM FLUTTER_LIBRARY_HEADERS PREPEND "${EPHEMERAL_DIR}/") -add_library(flutter INTERFACE) -target_include_directories(flutter INTERFACE - "${EPHEMERAL_DIR}" -) -target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}.lib") -add_dependencies(flutter flutter_assemble) - -# === Wrapper === -list(APPEND CPP_WRAPPER_SOURCES_CORE - "core_implementations.cc" - "standard_codec.cc" -) -list(TRANSFORM CPP_WRAPPER_SOURCES_CORE PREPEND "${WRAPPER_ROOT}/") -list(APPEND CPP_WRAPPER_SOURCES_PLUGIN - "plugin_registrar.cc" -) -list(TRANSFORM CPP_WRAPPER_SOURCES_PLUGIN PREPEND "${WRAPPER_ROOT}/") -list(APPEND CPP_WRAPPER_SOURCES_APP - "flutter_engine.cc" - "flutter_view_controller.cc" -) -list(TRANSFORM CPP_WRAPPER_SOURCES_APP PREPEND "${WRAPPER_ROOT}/") - -# Wrapper sources needed for a plugin. -add_library(flutter_wrapper_plugin STATIC - ${CPP_WRAPPER_SOURCES_CORE} - ${CPP_WRAPPER_SOURCES_PLUGIN} -) -apply_standard_settings(flutter_wrapper_plugin) -set_target_properties(flutter_wrapper_plugin PROPERTIES - POSITION_INDEPENDENT_CODE ON) -set_target_properties(flutter_wrapper_plugin PROPERTIES - CXX_VISIBILITY_PRESET hidden) -target_link_libraries(flutter_wrapper_plugin PUBLIC flutter) -target_include_directories(flutter_wrapper_plugin PUBLIC - "${WRAPPER_ROOT}/include" -) -add_dependencies(flutter_wrapper_plugin flutter_assemble) - -# Wrapper sources needed for the runner. -add_library(flutter_wrapper_app STATIC - ${CPP_WRAPPER_SOURCES_CORE} - ${CPP_WRAPPER_SOURCES_APP} -) -apply_standard_settings(flutter_wrapper_app) -target_link_libraries(flutter_wrapper_app PUBLIC flutter) -target_include_directories(flutter_wrapper_app PUBLIC - "${WRAPPER_ROOT}/include" -) -add_dependencies(flutter_wrapper_app flutter_assemble) - -# === Flutter tool backend === -# _phony_ is a non-existent file to force this command to run every time, -# since currently there's no way to get a full input/output list from the -# flutter tool. -set(PHONY_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/_phony_") -set_source_files_properties("${PHONY_OUTPUT}" PROPERTIES SYMBOLIC TRUE) -add_custom_command( - OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS} - ${CPP_WRAPPER_SOURCES_CORE} ${CPP_WRAPPER_SOURCES_PLUGIN} - ${CPP_WRAPPER_SOURCES_APP} - ${PHONY_OUTPUT} - COMMAND ${CMAKE_COMMAND} -E env - ${FLUTTER_TOOL_ENVIRONMENT} - "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat" - ${FLUTTER_TARGET_PLATFORM} $ - VERBATIM -) -add_custom_target(flutter_assemble DEPENDS - "${FLUTTER_LIBRARY}" - ${FLUTTER_LIBRARY_HEADERS} - ${CPP_WRAPPER_SOURCES_CORE} - ${CPP_WRAPPER_SOURCES_PLUGIN} - ${CPP_WRAPPER_SOURCES_APP} -) diff --git a/apps/apps/staff/windows/flutter/generated_plugin_registrant.cc b/apps/apps/staff/windows/flutter/generated_plugin_registrant.cc deleted file mode 100644 index d141b74f..00000000 --- a/apps/apps/staff/windows/flutter/generated_plugin_registrant.cc +++ /dev/null @@ -1,17 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#include "generated_plugin_registrant.h" - -#include -#include - -void RegisterPlugins(flutter::PluginRegistry* registry) { - FirebaseAuthPluginCApiRegisterWithRegistrar( - registry->GetRegistrarForPlugin("FirebaseAuthPluginCApi")); - FirebaseCorePluginCApiRegisterWithRegistrar( - registry->GetRegistrarForPlugin("FirebaseCorePluginCApi")); -} diff --git a/apps/apps/staff/windows/flutter/generated_plugin_registrant.h b/apps/apps/staff/windows/flutter/generated_plugin_registrant.h deleted file mode 100644 index dc139d85..00000000 --- a/apps/apps/staff/windows/flutter/generated_plugin_registrant.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#ifndef GENERATED_PLUGIN_REGISTRANT_ -#define GENERATED_PLUGIN_REGISTRANT_ - -#include - -// Registers Flutter plugins. -void RegisterPlugins(flutter::PluginRegistry* registry); - -#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/apps/apps/staff/windows/flutter/generated_plugins.cmake b/apps/apps/staff/windows/flutter/generated_plugins.cmake deleted file mode 100644 index 29944d5b..00000000 --- a/apps/apps/staff/windows/flutter/generated_plugins.cmake +++ /dev/null @@ -1,25 +0,0 @@ -# -# Generated file, do not edit. -# - -list(APPEND FLUTTER_PLUGIN_LIST - firebase_auth - firebase_core -) - -list(APPEND FLUTTER_FFI_PLUGIN_LIST -) - -set(PLUGIN_BUNDLED_LIBRARIES) - -foreach(plugin ${FLUTTER_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin}) - target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) - list(APPEND PLUGIN_BUNDLED_LIBRARIES $) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) -endforeach(plugin) - -foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin}) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) -endforeach(ffi_plugin) diff --git a/apps/apps/staff/windows/runner/CMakeLists.txt b/apps/apps/staff/windows/runner/CMakeLists.txt deleted file mode 100644 index 394917c0..00000000 --- a/apps/apps/staff/windows/runner/CMakeLists.txt +++ /dev/null @@ -1,40 +0,0 @@ -cmake_minimum_required(VERSION 3.14) -project(runner LANGUAGES CXX) - -# Define the application target. To change its name, change BINARY_NAME in the -# top-level CMakeLists.txt, not the value here, or `flutter run` will no longer -# work. -# -# Any new source files that you add to the application should be added here. -add_executable(${BINARY_NAME} WIN32 - "flutter_window.cpp" - "main.cpp" - "utils.cpp" - "win32_window.cpp" - "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" - "Runner.rc" - "runner.exe.manifest" -) - -# Apply the standard set of build settings. This can be removed for applications -# that need different build settings. -apply_standard_settings(${BINARY_NAME}) - -# Add preprocessor definitions for the build version. -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION=\"${FLUTTER_VERSION}\"") -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MAJOR=${FLUTTER_VERSION_MAJOR}") -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MINOR=${FLUTTER_VERSION_MINOR}") -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_PATCH=${FLUTTER_VERSION_PATCH}") -target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_BUILD=${FLUTTER_VERSION_BUILD}") - -# Disable Windows macros that collide with C++ standard library functions. -target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX") - -# Add dependency libraries and include directories. Add any application-specific -# dependencies here. -target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app) -target_link_libraries(${BINARY_NAME} PRIVATE "dwmapi.lib") -target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}") - -# Run the Flutter tool portions of the build. This must not be removed. -add_dependencies(${BINARY_NAME} flutter_assemble) diff --git a/apps/apps/staff/windows/runner/Runner.rc b/apps/apps/staff/windows/runner/Runner.rc deleted file mode 100644 index 1338842e..00000000 --- a/apps/apps/staff/windows/runner/Runner.rc +++ /dev/null @@ -1,121 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#pragma code_page(65001) -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "winres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (United States) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""winres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_APP_ICON ICON "resources\\app_icon.ico" - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -#if defined(FLUTTER_VERSION_MAJOR) && defined(FLUTTER_VERSION_MINOR) && defined(FLUTTER_VERSION_PATCH) && defined(FLUTTER_VERSION_BUILD) -#define VERSION_AS_NUMBER FLUTTER_VERSION_MAJOR,FLUTTER_VERSION_MINOR,FLUTTER_VERSION_PATCH,FLUTTER_VERSION_BUILD -#else -#define VERSION_AS_NUMBER 1,0,0,0 -#endif - -#if defined(FLUTTER_VERSION) -#define VERSION_AS_STRING FLUTTER_VERSION -#else -#define VERSION_AS_STRING "1.0.0" -#endif - -VS_VERSION_INFO VERSIONINFO - FILEVERSION VERSION_AS_NUMBER - PRODUCTVERSION VERSION_AS_NUMBER - FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -#ifdef _DEBUG - FILEFLAGS VS_FF_DEBUG -#else - FILEFLAGS 0x0L -#endif - FILEOS VOS__WINDOWS32 - FILETYPE VFT_APP - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904e4" - BEGIN - VALUE "CompanyName", "com.example" "\0" - VALUE "FileDescription", "krow_staff" "\0" - VALUE "FileVersion", VERSION_AS_STRING "\0" - VALUE "InternalName", "krow_staff" "\0" - VALUE "LegalCopyright", "Copyright (C) 2026 com.example. All rights reserved." "\0" - VALUE "OriginalFilename", "krow_staff.exe" "\0" - VALUE "ProductName", "krow_staff" "\0" - VALUE "ProductVersion", VERSION_AS_STRING "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1252 - END -END - -#endif // English (United States) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED diff --git a/apps/apps/staff/windows/runner/flutter_window.cpp b/apps/apps/staff/windows/runner/flutter_window.cpp deleted file mode 100644 index 955ee303..00000000 --- a/apps/apps/staff/windows/runner/flutter_window.cpp +++ /dev/null @@ -1,71 +0,0 @@ -#include "flutter_window.h" - -#include - -#include "flutter/generated_plugin_registrant.h" - -FlutterWindow::FlutterWindow(const flutter::DartProject& project) - : project_(project) {} - -FlutterWindow::~FlutterWindow() {} - -bool FlutterWindow::OnCreate() { - if (!Win32Window::OnCreate()) { - return false; - } - - RECT frame = GetClientArea(); - - // The size here must match the window dimensions to avoid unnecessary surface - // creation / destruction in the startup path. - flutter_controller_ = std::make_unique( - frame.right - frame.left, frame.bottom - frame.top, project_); - // Ensure that basic setup of the controller was successful. - if (!flutter_controller_->engine() || !flutter_controller_->view()) { - return false; - } - RegisterPlugins(flutter_controller_->engine()); - SetChildContent(flutter_controller_->view()->GetNativeWindow()); - - flutter_controller_->engine()->SetNextFrameCallback([&]() { - this->Show(); - }); - - // Flutter can complete the first frame before the "show window" callback is - // registered. The following call ensures a frame is pending to ensure the - // window is shown. It is a no-op if the first frame hasn't completed yet. - flutter_controller_->ForceRedraw(); - - return true; -} - -void FlutterWindow::OnDestroy() { - if (flutter_controller_) { - flutter_controller_ = nullptr; - } - - Win32Window::OnDestroy(); -} - -LRESULT -FlutterWindow::MessageHandler(HWND hwnd, UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept { - // Give Flutter, including plugins, an opportunity to handle window messages. - if (flutter_controller_) { - std::optional result = - flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam, - lparam); - if (result) { - return *result; - } - } - - switch (message) { - case WM_FONTCHANGE: - flutter_controller_->engine()->ReloadSystemFonts(); - break; - } - - return Win32Window::MessageHandler(hwnd, message, wparam, lparam); -} diff --git a/apps/apps/staff/windows/runner/flutter_window.h b/apps/apps/staff/windows/runner/flutter_window.h deleted file mode 100644 index 6da0652f..00000000 --- a/apps/apps/staff/windows/runner/flutter_window.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef RUNNER_FLUTTER_WINDOW_H_ -#define RUNNER_FLUTTER_WINDOW_H_ - -#include -#include - -#include - -#include "win32_window.h" - -// A window that does nothing but host a Flutter view. -class FlutterWindow : public Win32Window { - public: - // Creates a new FlutterWindow hosting a Flutter view running |project|. - explicit FlutterWindow(const flutter::DartProject& project); - virtual ~FlutterWindow(); - - protected: - // Win32Window: - bool OnCreate() override; - void OnDestroy() override; - LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam, - LPARAM const lparam) noexcept override; - - private: - // The project to run. - flutter::DartProject project_; - - // The Flutter instance hosted by this window. - std::unique_ptr flutter_controller_; -}; - -#endif // RUNNER_FLUTTER_WINDOW_H_ diff --git a/apps/apps/staff/windows/runner/main.cpp b/apps/apps/staff/windows/runner/main.cpp deleted file mode 100644 index 330b294b..00000000 --- a/apps/apps/staff/windows/runner/main.cpp +++ /dev/null @@ -1,43 +0,0 @@ -#include -#include -#include - -#include "flutter_window.h" -#include "utils.h" - -int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, - _In_ wchar_t *command_line, _In_ int show_command) { - // Attach to console when present (e.g., 'flutter run') or create a - // new console when running with a debugger. - if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) { - CreateAndAttachConsole(); - } - - // Initialize COM, so that it is available for use in the library and/or - // plugins. - ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED); - - flutter::DartProject project(L"data"); - - std::vector command_line_arguments = - GetCommandLineArguments(); - - project.set_dart_entrypoint_arguments(std::move(command_line_arguments)); - - FlutterWindow window(project); - Win32Window::Point origin(10, 10); - Win32Window::Size size(1280, 720); - if (!window.Create(L"krow_staff", origin, size)) { - return EXIT_FAILURE; - } - window.SetQuitOnClose(true); - - ::MSG msg; - while (::GetMessage(&msg, nullptr, 0, 0)) { - ::TranslateMessage(&msg); - ::DispatchMessage(&msg); - } - - ::CoUninitialize(); - return EXIT_SUCCESS; -} diff --git a/apps/apps/staff/windows/runner/resource.h b/apps/apps/staff/windows/runner/resource.h deleted file mode 100644 index 66a65d1e..00000000 --- a/apps/apps/staff/windows/runner/resource.h +++ /dev/null @@ -1,16 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by Runner.rc -// -#define IDI_APP_ICON 101 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1001 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/apps/apps/staff/windows/runner/resources/app_icon.ico b/apps/apps/staff/windows/runner/resources/app_icon.ico deleted file mode 100644 index c04e20caf6370ebb9253ad831cc31de4a9c965f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 33772 zcmeHQc|26z|35SKE&G-*mXah&B~fFkXr)DEO&hIfqby^T&>|8^_Ub8Vp#`BLl3lbZ zvPO!8k!2X>cg~Elr=IVxo~J*a`+9wR=A83c-k-DFd(XM&UI1VKCqM@V;DDtJ09WB} zRaHKiW(GT00brH|0EeTeKVbpbGZg?nK6-j827q-+NFM34gXjqWxJ*a#{b_apGN<-L_m3#8Z26atkEn& ze87Bvv^6vVmM+p+cQ~{u%=NJF>#(d;8{7Q{^rWKWNtf14H}>#&y7$lqmY6xmZryI& z($uy?c5-+cPnt2%)R&(KIWEXww>Cnz{OUpT>W$CbO$h1= z#4BPMkFG1Y)x}Ui+WXr?Z!w!t_hjRq8qTaWpu}FH{MsHlU{>;08goVLm{V<&`itk~ zE_Ys=D(hjiy+5=?=$HGii=Y5)jMe9|wWoD_K07(}edAxh`~LBorOJ!Cf@f{_gNCC| z%{*04ViE!#>@hc1t5bb+NO>ncf@@Dv01K!NxH$3Eg1%)|wLyMDF8^d44lV!_Sr}iEWefOaL z8f?ud3Q%Sen39u|%00W<#!E=-RpGa+H8}{ulxVl4mwpjaU+%2pzmi{3HM)%8vb*~-M9rPUAfGCSos8GUXp02|o~0BTV2l#`>>aFV&_P$ejS;nGwSVP8 zMbOaG7<7eKD>c12VdGH;?2@q7535sa7MN*L@&!m?L`ASG%boY7(&L5imY#EQ$KrBB z4@_tfP5m50(T--qv1BJcD&aiH#b-QC>8#7Fx@3yXlonJI#aEIi=8&ChiVpc#N=5le zM*?rDIdcpawoc5kizv$GEjnveyrp3sY>+5_R5;>`>erS%JolimF=A^EIsAK zsPoVyyUHCgf0aYr&alx`<)eb6Be$m&`JYSuBu=p8j%QlNNp$-5C{b4#RubPb|CAIS zGE=9OFLP7?Hgc{?k45)84biT0k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M3~vMEACmcRYYRGtANq$F%zh&V zc)cEVeHz*Z1N)L7k-(k3np#{GcDh2Q@ya0YHl*n7fl*ZPAsbU-a94MYYtA#&!c`xGIaV;yzsmrjfieTEtqB_WgZp2*NplHx=$O{M~2#i_vJ{ps-NgK zQsxKK_CBM2PP_je+Xft`(vYfXXgIUr{=PA=7a8`2EHk)Ym2QKIforz# tySWtj{oF3N9@_;i*Fv5S)9x^z=nlWP>jpp-9)52ZmLVA=i*%6g{{fxOO~wEK diff --git a/apps/apps/staff/windows/runner/runner.exe.manifest b/apps/apps/staff/windows/runner/runner.exe.manifest deleted file mode 100644 index 153653e8..00000000 --- a/apps/apps/staff/windows/runner/runner.exe.manifest +++ /dev/null @@ -1,14 +0,0 @@ - - - - - PerMonitorV2 - - - - - - - - - diff --git a/apps/apps/staff/windows/runner/utils.cpp b/apps/apps/staff/windows/runner/utils.cpp deleted file mode 100644 index 3a0b4651..00000000 --- a/apps/apps/staff/windows/runner/utils.cpp +++ /dev/null @@ -1,65 +0,0 @@ -#include "utils.h" - -#include -#include -#include -#include - -#include - -void CreateAndAttachConsole() { - if (::AllocConsole()) { - FILE *unused; - if (freopen_s(&unused, "CONOUT$", "w", stdout)) { - _dup2(_fileno(stdout), 1); - } - if (freopen_s(&unused, "CONOUT$", "w", stderr)) { - _dup2(_fileno(stdout), 2); - } - std::ios::sync_with_stdio(); - FlutterDesktopResyncOutputStreams(); - } -} - -std::vector GetCommandLineArguments() { - // Convert the UTF-16 command line arguments to UTF-8 for the Engine to use. - int argc; - wchar_t** argv = ::CommandLineToArgvW(::GetCommandLineW(), &argc); - if (argv == nullptr) { - return std::vector(); - } - - std::vector command_line_arguments; - - // Skip the first argument as it's the binary name. - for (int i = 1; i < argc; i++) { - command_line_arguments.push_back(Utf8FromUtf16(argv[i])); - } - - ::LocalFree(argv); - - return command_line_arguments; -} - -std::string Utf8FromUtf16(const wchar_t* utf16_string) { - if (utf16_string == nullptr) { - return std::string(); - } - unsigned int target_length = ::WideCharToMultiByte( - CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, - -1, nullptr, 0, nullptr, nullptr) - -1; // remove the trailing null character - int input_length = (int)wcslen(utf16_string); - std::string utf8_string; - if (target_length == 0 || target_length > utf8_string.max_size()) { - return utf8_string; - } - utf8_string.resize(target_length); - int converted_length = ::WideCharToMultiByte( - CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, - input_length, utf8_string.data(), target_length, nullptr, nullptr); - if (converted_length == 0) { - return std::string(); - } - return utf8_string; -} diff --git a/apps/apps/staff/windows/runner/utils.h b/apps/apps/staff/windows/runner/utils.h deleted file mode 100644 index 3879d547..00000000 --- a/apps/apps/staff/windows/runner/utils.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef RUNNER_UTILS_H_ -#define RUNNER_UTILS_H_ - -#include -#include - -// Creates a console for the process, and redirects stdout and stderr to -// it for both the runner and the Flutter library. -void CreateAndAttachConsole(); - -// Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string -// encoded in UTF-8. Returns an empty std::string on failure. -std::string Utf8FromUtf16(const wchar_t* utf16_string); - -// Gets the command line arguments passed in as a std::vector, -// encoded in UTF-8. Returns an empty std::vector on failure. -std::vector GetCommandLineArguments(); - -#endif // RUNNER_UTILS_H_ diff --git a/apps/apps/staff/windows/runner/win32_window.cpp b/apps/apps/staff/windows/runner/win32_window.cpp deleted file mode 100644 index 60608d0f..00000000 --- a/apps/apps/staff/windows/runner/win32_window.cpp +++ /dev/null @@ -1,288 +0,0 @@ -#include "win32_window.h" - -#include -#include - -#include "resource.h" - -namespace { - -/// Window attribute that enables dark mode window decorations. -/// -/// Redefined in case the developer's machine has a Windows SDK older than -/// version 10.0.22000.0. -/// See: https://docs.microsoft.com/windows/win32/api/dwmapi/ne-dwmapi-dwmwindowattribute -#ifndef DWMWA_USE_IMMERSIVE_DARK_MODE -#define DWMWA_USE_IMMERSIVE_DARK_MODE 20 -#endif - -constexpr const wchar_t kWindowClassName[] = L"FLUTTER_RUNNER_WIN32_WINDOW"; - -/// Registry key for app theme preference. -/// -/// A value of 0 indicates apps should use dark mode. A non-zero or missing -/// value indicates apps should use light mode. -constexpr const wchar_t kGetPreferredBrightnessRegKey[] = - L"Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize"; -constexpr const wchar_t kGetPreferredBrightnessRegValue[] = L"AppsUseLightTheme"; - -// The number of Win32Window objects that currently exist. -static int g_active_window_count = 0; - -using EnableNonClientDpiScaling = BOOL __stdcall(HWND hwnd); - -// Scale helper to convert logical scaler values to physical using passed in -// scale factor -int Scale(int source, double scale_factor) { - return static_cast(source * scale_factor); -} - -// Dynamically loads the |EnableNonClientDpiScaling| from the User32 module. -// This API is only needed for PerMonitor V1 awareness mode. -void EnableFullDpiSupportIfAvailable(HWND hwnd) { - HMODULE user32_module = LoadLibraryA("User32.dll"); - if (!user32_module) { - return; - } - auto enable_non_client_dpi_scaling = - reinterpret_cast( - GetProcAddress(user32_module, "EnableNonClientDpiScaling")); - if (enable_non_client_dpi_scaling != nullptr) { - enable_non_client_dpi_scaling(hwnd); - } - FreeLibrary(user32_module); -} - -} // namespace - -// Manages the Win32Window's window class registration. -class WindowClassRegistrar { - public: - ~WindowClassRegistrar() = default; - - // Returns the singleton registrar instance. - static WindowClassRegistrar* GetInstance() { - if (!instance_) { - instance_ = new WindowClassRegistrar(); - } - return instance_; - } - - // Returns the name of the window class, registering the class if it hasn't - // previously been registered. - const wchar_t* GetWindowClass(); - - // Unregisters the window class. Should only be called if there are no - // instances of the window. - void UnregisterWindowClass(); - - private: - WindowClassRegistrar() = default; - - static WindowClassRegistrar* instance_; - - bool class_registered_ = false; -}; - -WindowClassRegistrar* WindowClassRegistrar::instance_ = nullptr; - -const wchar_t* WindowClassRegistrar::GetWindowClass() { - if (!class_registered_) { - WNDCLASS window_class{}; - window_class.hCursor = LoadCursor(nullptr, IDC_ARROW); - window_class.lpszClassName = kWindowClassName; - window_class.style = CS_HREDRAW | CS_VREDRAW; - window_class.cbClsExtra = 0; - window_class.cbWndExtra = 0; - window_class.hInstance = GetModuleHandle(nullptr); - window_class.hIcon = - LoadIcon(window_class.hInstance, MAKEINTRESOURCE(IDI_APP_ICON)); - window_class.hbrBackground = 0; - window_class.lpszMenuName = nullptr; - window_class.lpfnWndProc = Win32Window::WndProc; - RegisterClass(&window_class); - class_registered_ = true; - } - return kWindowClassName; -} - -void WindowClassRegistrar::UnregisterWindowClass() { - UnregisterClass(kWindowClassName, nullptr); - class_registered_ = false; -} - -Win32Window::Win32Window() { - ++g_active_window_count; -} - -Win32Window::~Win32Window() { - --g_active_window_count; - Destroy(); -} - -bool Win32Window::Create(const std::wstring& title, - const Point& origin, - const Size& size) { - Destroy(); - - const wchar_t* window_class = - WindowClassRegistrar::GetInstance()->GetWindowClass(); - - const POINT target_point = {static_cast(origin.x), - static_cast(origin.y)}; - HMONITOR monitor = MonitorFromPoint(target_point, MONITOR_DEFAULTTONEAREST); - UINT dpi = FlutterDesktopGetDpiForMonitor(monitor); - double scale_factor = dpi / 96.0; - - HWND window = CreateWindow( - window_class, title.c_str(), WS_OVERLAPPEDWINDOW, - Scale(origin.x, scale_factor), Scale(origin.y, scale_factor), - Scale(size.width, scale_factor), Scale(size.height, scale_factor), - nullptr, nullptr, GetModuleHandle(nullptr), this); - - if (!window) { - return false; - } - - UpdateTheme(window); - - return OnCreate(); -} - -bool Win32Window::Show() { - return ShowWindow(window_handle_, SW_SHOWNORMAL); -} - -// static -LRESULT CALLBACK Win32Window::WndProc(HWND const window, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept { - if (message == WM_NCCREATE) { - auto window_struct = reinterpret_cast(lparam); - SetWindowLongPtr(window, GWLP_USERDATA, - reinterpret_cast(window_struct->lpCreateParams)); - - auto that = static_cast(window_struct->lpCreateParams); - EnableFullDpiSupportIfAvailable(window); - that->window_handle_ = window; - } else if (Win32Window* that = GetThisFromHandle(window)) { - return that->MessageHandler(window, message, wparam, lparam); - } - - return DefWindowProc(window, message, wparam, lparam); -} - -LRESULT -Win32Window::MessageHandler(HWND hwnd, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept { - switch (message) { - case WM_DESTROY: - window_handle_ = nullptr; - Destroy(); - if (quit_on_close_) { - PostQuitMessage(0); - } - return 0; - - case WM_DPICHANGED: { - auto newRectSize = reinterpret_cast(lparam); - LONG newWidth = newRectSize->right - newRectSize->left; - LONG newHeight = newRectSize->bottom - newRectSize->top; - - SetWindowPos(hwnd, nullptr, newRectSize->left, newRectSize->top, newWidth, - newHeight, SWP_NOZORDER | SWP_NOACTIVATE); - - return 0; - } - case WM_SIZE: { - RECT rect = GetClientArea(); - if (child_content_ != nullptr) { - // Size and position the child window. - MoveWindow(child_content_, rect.left, rect.top, rect.right - rect.left, - rect.bottom - rect.top, TRUE); - } - return 0; - } - - case WM_ACTIVATE: - if (child_content_ != nullptr) { - SetFocus(child_content_); - } - return 0; - - case WM_DWMCOLORIZATIONCOLORCHANGED: - UpdateTheme(hwnd); - return 0; - } - - return DefWindowProc(window_handle_, message, wparam, lparam); -} - -void Win32Window::Destroy() { - OnDestroy(); - - if (window_handle_) { - DestroyWindow(window_handle_); - window_handle_ = nullptr; - } - if (g_active_window_count == 0) { - WindowClassRegistrar::GetInstance()->UnregisterWindowClass(); - } -} - -Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept { - return reinterpret_cast( - GetWindowLongPtr(window, GWLP_USERDATA)); -} - -void Win32Window::SetChildContent(HWND content) { - child_content_ = content; - SetParent(content, window_handle_); - RECT frame = GetClientArea(); - - MoveWindow(content, frame.left, frame.top, frame.right - frame.left, - frame.bottom - frame.top, true); - - SetFocus(child_content_); -} - -RECT Win32Window::GetClientArea() { - RECT frame; - GetClientRect(window_handle_, &frame); - return frame; -} - -HWND Win32Window::GetHandle() { - return window_handle_; -} - -void Win32Window::SetQuitOnClose(bool quit_on_close) { - quit_on_close_ = quit_on_close; -} - -bool Win32Window::OnCreate() { - // No-op; provided for subclasses. - return true; -} - -void Win32Window::OnDestroy() { - // No-op; provided for subclasses. -} - -void Win32Window::UpdateTheme(HWND const window) { - DWORD light_mode; - DWORD light_mode_size = sizeof(light_mode); - LSTATUS result = RegGetValue(HKEY_CURRENT_USER, kGetPreferredBrightnessRegKey, - kGetPreferredBrightnessRegValue, - RRF_RT_REG_DWORD, nullptr, &light_mode, - &light_mode_size); - - if (result == ERROR_SUCCESS) { - BOOL enable_dark_mode = light_mode == 0; - DwmSetWindowAttribute(window, DWMWA_USE_IMMERSIVE_DARK_MODE, - &enable_dark_mode, sizeof(enable_dark_mode)); - } -} diff --git a/apps/apps/staff/windows/runner/win32_window.h b/apps/apps/staff/windows/runner/win32_window.h deleted file mode 100644 index e901dde6..00000000 --- a/apps/apps/staff/windows/runner/win32_window.h +++ /dev/null @@ -1,102 +0,0 @@ -#ifndef RUNNER_WIN32_WINDOW_H_ -#define RUNNER_WIN32_WINDOW_H_ - -#include - -#include -#include -#include - -// A class abstraction for a high DPI-aware Win32 Window. Intended to be -// inherited from by classes that wish to specialize with custom -// rendering and input handling -class Win32Window { - public: - struct Point { - unsigned int x; - unsigned int y; - Point(unsigned int x, unsigned int y) : x(x), y(y) {} - }; - - struct Size { - unsigned int width; - unsigned int height; - Size(unsigned int width, unsigned int height) - : width(width), height(height) {} - }; - - Win32Window(); - virtual ~Win32Window(); - - // Creates a win32 window with |title| that is positioned and sized using - // |origin| and |size|. New windows are created on the default monitor. Window - // sizes are specified to the OS in physical pixels, hence to ensure a - // consistent size this function will scale the inputted width and height as - // as appropriate for the default monitor. The window is invisible until - // |Show| is called. Returns true if the window was created successfully. - bool Create(const std::wstring& title, const Point& origin, const Size& size); - - // Show the current window. Returns true if the window was successfully shown. - bool Show(); - - // Release OS resources associated with window. - void Destroy(); - - // Inserts |content| into the window tree. - void SetChildContent(HWND content); - - // Returns the backing Window handle to enable clients to set icon and other - // window properties. Returns nullptr if the window has been destroyed. - HWND GetHandle(); - - // If true, closing this window will quit the application. - void SetQuitOnClose(bool quit_on_close); - - // Return a RECT representing the bounds of the current client area. - RECT GetClientArea(); - - protected: - // Processes and route salient window messages for mouse handling, - // size change and DPI. Delegates handling of these to member overloads that - // inheriting classes can handle. - virtual LRESULT MessageHandler(HWND window, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept; - - // Called when CreateAndShow is called, allowing subclass window-related - // setup. Subclasses should return false if setup fails. - virtual bool OnCreate(); - - // Called when Destroy is called. - virtual void OnDestroy(); - - private: - friend class WindowClassRegistrar; - - // OS callback called by message pump. Handles the WM_NCCREATE message which - // is passed when the non-client area is being created and enables automatic - // non-client DPI scaling so that the non-client area automatically - // responds to changes in DPI. All other messages are handled by - // MessageHandler. - static LRESULT CALLBACK WndProc(HWND const window, - UINT const message, - WPARAM const wparam, - LPARAM const lparam) noexcept; - - // Retrieves a class instance pointer for |window| - static Win32Window* GetThisFromHandle(HWND const window) noexcept; - - // Update the window frame's theme to match the system theme. - static void UpdateTheme(HWND const window); - - bool quit_on_close_ = false; - - // window handle for top level window. - HWND window_handle_ = nullptr; - - // window handle for hosted content. - HWND child_content_ = nullptr; -}; - -#endif // RUNNER_WIN32_WINDOW_H_ diff --git a/apps/docs/01-architecture-principles.md b/apps/docs/01-architecture-principles.md deleted file mode 100644 index 2a38444a..00000000 --- a/apps/docs/01-architecture-principles.md +++ /dev/null @@ -1,134 +0,0 @@ -# KROW Architecture Principles - -This document is the **AUTHORITATIVE** source of truth for the KROW engineering architecture. -All agents and engineers must adhere strictly to these principles. Deviations are interpreted as errors. - -## 1. High-Level Architecture - -The KROW platform follows a strict **Clean Architecture** implementation within a **Melos Monorepo**. -Dependencies flow **inwards** towards the Domain. - -```mermaid -graph TD - subgraph "Apps (Entry Points)" - ClientApp[apps/client] - StaffApp[apps/staff] - end - - subgraph "Features (Presentation & Application)" - ClientFeature[packages/features/client/jobs] - StaffFeature[packages/features/staff/schedule] - SharedFeature[packages/features/shared/auth] - end - - subgraph "Interface Adapters" - DataConnect[packages/data_connect] - DesignSystem[packages/design_system] - end - - subgraph "Core Domain" - Domain[packages/domain] - Core[packages/core] - end - - %% Dependency Flow - ClientApp --> ClientFeature & SharedFeature - StaffApp --> StaffFeature & SharedFeature - ClientApp --> DataConnect - StaffApp --> DataConnect - - ClientFeature & StaffFeature & SharedFeature --> Domain - ClientFeature & StaffFeature & SharedFeature --> DesignSystem - ClientFeature & StaffFeature & SharedFeature --> Core - - DataConnect --> Domain - DataConnect --> Core - DesignSystem --> Core - Domain --> Core - - %% Strict Barriers - linkStyle default stroke-width:2px,fill:none,stroke:gray -``` - -## 2. Repository Structure & Package Roles - -### 2.1 Apps (`apps/`) -- **Role**: Application entry points and Dependency Injection (DI) roots. -- **Responsibilities**: - - Initialize Flutter Modular. - - Assemble features into a navigation tree. - - Inject concrete implementations (from `data_connect`) into Feature packages. - - Configure environment-specific settings. -- **RESTRICTION**: NO business logic. NO UI widgets (except `App` and `Main`). - -### 2.2 Features (`packages/features//`) -- **Role**: Vertical slices of user-facing functionality. -- **Internal Structure**: - - `domain/`: Feature-specific Use Cases and Repository Interfaces. - - `data/`: Repository Implementations. - - `presentation/`: - - Pages, BLoCs, Widgets. - - For performance make the pages as `StatelessWidget` and move the state management to the BLoC or `StatefulWidget` to an external separate widget file. -- **Responsibilities**: - - **Presentation**: UI Pages, Modular Routes. - - **State Management**: BLoCs / Cubits. - - **Application Logic**: Use Cases. -- **RESTRICTION**: Features MUST NOT import other features. Communication happens via shared domain events. - -### 2.3 Domain (`packages/domain`) -- **Role**: The stable heart of the system. Pure Dart. -- **Responsibilities**: - - **Entities**: Immutable data models (Data Classes). - - **Failures**: Domain-specific error types. -- **RESTRICTION**: NO Flutter dependencies. NO `json_annotation`. NO package dependencies (except `equatable`). - -### 2.4 Data Connect (`packages/data_connect`) -- **Role**: Interface Adapter for Backend Access (Datasource Layer). -- **Responsibilities**: - - Implement low-level Datasources or generated SDK wrappers. - - map Domain Entities to/from Firebase Data Connect generated code. - - Handle Firebase exceptions. - -### 2.5 Design System (`packages/design_system`) -- **Role**: Visual language and component library. -- **Responsibilities**: - - UI components if needed. But mostly try to modify the theme file (packages/design_system/lib/src/ui_theme.dart) so we can directly use the theme in the app, to use the default material widgets. - - If not possible, and if that specific widget is used in multiple features, then try to create a shared widget in the `packages/design_system/widgets`. - - Theme definitions (Colors, Typography). - - Assets (Icons, Images). - - More details on how to use this package is available in the `docs/03-design-system-usage.md`. -- **RESTRICTION**: - - CANNOT change colours or typography. - - Dumb widgets only. NO business logic. NO state management (Bloc). - - More details on how to use this package is available in the `docs/03-design-system-usage.md`. - -### 2.6 Core (`packages/core`) -- **Role**: Cross-cutting concerns. -- **Responsibilities**: - - Extension methods. - - Logger configuration. - - Base classes for Use Cases or Result types (functional error handling). - -## 3. Dependency Direction & Boundaries - -1. **Domain Independence**: `packages/domain` knows NOTHING about the outer world. It defines *what* needs to be done, not *how*. -2. **UI Agnosticism**: `packages/features` depends on `packages/design_system` for looks and `packages/domain` for logic. It does NOT know about Firebase. -3. **Data Isolation**: `packages/data_connect` depends on `packages/domain` to know what interfaces to implement. It does NOT know about the UI. - -## 4. Firebase Data Connect Strategy - -Since Firebase Data Connect code does not yet exist, we adhere to a **Strict Mocking Strategy**: - -1. **Interface First**: All data requirements are first defined as `abstract interface class IRepository` in `packages/domain`. -2. **Mock Implementation**: - - Inside `packages/data_connect`, create a `MockRepository` implementation. - - Use in-memory lists or hardcoded futures to simulate backend responses. - - **CRITICAL**: Do NOT put mocks in `test/` folders if they are needed to run the app in "dev" mode. Put them in `lib/src/mocks/`. -3. **Future Integration**: When Data Connect is ready, we will add `RealRepository` in `packages/data_connect`. -4. **Injection**: `apps/` will inject either `MockRepository` or `RealRepository` based on build flags or environment variables. - -## 5. Feature Isolation - -- **Zero Direct Imports**: `import 'package:feature_a/...'` is FORBIDDEN inside `package:feature_b`. -- **Navigation**: Use string-based routes or a shared route definition module in `core` (if absolutely necessary) to navigate between features. -- **Data Sharing**: Features do not share state directly. They share data via the underlying `Domain` repositories (e.g., both observe the same `User` stream from `AuthRepository`). diff --git a/apps/docs/02-agent-development-rules.md b/apps/docs/02-agent-development-rules.md deleted file mode 100644 index ab212e6f..00000000 --- a/apps/docs/02-agent-development-rules.md +++ /dev/null @@ -1,83 +0,0 @@ -# Agent Development Rules - -These rules are **NON-NEGOTIABLE**. They are designed to prevent architectural degradation by automated agents. - -## 1. File Creation & Structure - -1. **Feature-First Packaging**: - * **DO**: Create new features as independent packages in `packages/features/`. - * **DO NOT**: Add features to `packages/core` or existing apps directly. -2. **Path Conventions**: - * Entities: `packages/domain/lib/src/entities/.dart` - * Repositories (Interface): `packages//lib/src/domain/repositories/_repository_interface.dart` - * Repositories (Impl): `packages//lib/src/data/repositories_impl/_repository_impl.dart` - * Use Cases: `packages//lib/src/application/_usecase.dart` - * BLoCs: `packages//lib/src/presentation/blocs/_bloc.dart` - * Pages: `packages//lib/src/presentation/pages/_page.dart` -3. **Barrel Files**: - * **DO**: Use `export` in `lib/.dart` only for public APIs. - * **DO NOT**: Export internal implementation details (like mocks or helper widgets) in the main package file. - -## 2. Naming Conventions - -Follow Dart standards strictly. - -| Type | Convention | Example | -| :--- | :--- | :--- | -| **Files** | `snake_case` | `user_profile_page.dart` | -| **Classes** | `PascalCase` | `UserProfilePage` | -| **Variables** | `camelCase` | `userProfile` | -| **Interfaces** | terminate with `Interface` | `AuthRepositoryInterface` | -| **Implementations** | terminate with `Impl` | `FirebaseDataConnectAuthRepositoryImpl` | -| **Mocks** | terminate with `Mock` | `AuthRepositoryMock` | - -## 3. Logic Placement (Strict Boundaries) - -* **Business Rules**: MUST reside in **Use Cases** (Domain/Feature Application layer). - * *Forbidden*: Placing business rules in BLoCs or Widgets. -* **State Logic**: MUST reside in **BLoCs**. - * *Forbidden*: `setState` in Pages (except for purely ephemeral UI animations). -* **Data Transformation**: MUST reside in **Repositories** (Data Connect layer). - * *Forbidden*: Parsing JSON in the UI or Domain. -* **Navigation Logic**: MUST reside in **Modular Routes**. - * *Forbidden*: `Navigator.push` with hardcoded widgets. - -## 4. Data Connect Mocking Strategy - -Since the backend does not exist, you must mock strictly: - -1. **Define Interface**: Create `abstract interface class RepositoryInterface` in `packages//lib/src/domain/repositories/_repository_interface.dart`. -2. **Create Mock**: Create `class MockRepository implements IRepository` in `packages/data_connect/lib/src/mocks/`. -3. **Fake Data**: Return hardcoded `Future`s with realistic dummy entities. -4. **Injection**: Register the `MockRepository` in the `AppModule` (in `apps/client` or `apps/staff`) until the real implementation exists. - -**DO NOT** use `mockito` or `mocktail` for these *runtime* mocks. Use simple fake classes. - -## 5. Prototype Migration Rules - -You have access to `prototypes/` folders. When migrating code: - -1. **Extract Assets**: - * You MAY copy icons, images, and colors. But they should be tailored to the current design system. Do not change the colours and typgorahys in the design system. They are final. And you have to use these in the UI. - * When you matching colous and typography, from the POC match it with the design system and use the colors and typography from the design system. As mentioned in the `docs/03-design-system-usage.md`. -2. **Extract Layouts**: You MAY copy `build` methods for UI structure. -3. **REJECT Architecture**: You MUST **NOT** copy the `GetX`, `Provider`, or `MVC` patterns often found in prototypes. Refactor immediately to **Bloc + Clean Architecture with Flutter Modular and Melos**. - -## 6. Handling Ambiguity - -If a user request is vague: - -1. **STOP**: Do not guess domain fields or workflows. -2. **ANALYZE**: - - For architecture related questions, refer to `docs/01-architecture-principles.md` or existing code. - - For design system related questions, refer to `docs/03-design-system-usage.md` or existing code. -3. **DOCUMENT**: If you must make an assumption to proceed, add a comment `// ASSUMPTION: ` and mention it in your final summary. -4. **ASK**: Prefer asking the user for clarification on business rules (e.g., "Should a 'Job' have a 'status'?"). - -## 7. Dependencies - -* **DO NOT** add 3rd party packages without checking `packages/core` first. -* **DO NOT** add `firebase_auth` or `cloud_firestore` to any Feature package. They belong in `data_connect` only. - -## 8. Follow Clean Code Principles -* Add doc comments to all classes and methods you create. diff --git a/apps/docs/03-design-system-usage.md b/apps/docs/03-design-system-usage.md deleted file mode 100644 index 76c05ce5..00000000 --- a/apps/docs/03-design-system-usage.md +++ /dev/null @@ -1,131 +0,0 @@ -# 03 - Design System Usage Guide - -This document defines the mandatory standards for designing and implementing user interfaces across all applications and feature packages using the shared `packages/design_system`. - -## 1. Introduction & Purpose - -The Design System is the single source of truth for the visual identity of the project. Its purpose is to ensure UI consistency, reduce development velocity by providing reusable primitives, and eliminate "design drift" across multiple feature teams and applications. - -**All UI implementation MUST consume values ONLY from the `design_system` package.** - -## 2. Design System Ownership & Responsibility - -- **Centralized Authority**: The `packages/design_system` is the owner of all brand assets, colors, typography, and core components. -- **No Local Overrides**: Feature packages (e.g., `staff_authentication`) are consumers. They are prohibited from defining their own global styles or overriding theme values locally. -- **Extension Policy**: If a required style (color, font, or icon) is missing, the developer must first add it to the `design_system` package following existing patterns before using it in a feature. - -## 3. Package Structure Overview (`packages/design_system`) - -The package is organized to separate tokens from implementation: -- `lib/src/ui_colors.dart`: Color tokens and semantic mappings. -- `lib/src/ui_typography.dart`: Text styles and font configurations. -- `lib/src/ui_icons.dart`: Exported icon sets. -- `lib/src/ui_constants.dart`: Spacing, radius, and elevation tokens. -- `lib/src/ui_theme.dart`: Centralized `ThemeData` factory. -- `lib/src/widgets/`: Common "Smart Widgets" and reusable UI building blocks. - -## 4. Colors Usage Rules - -Feature packages **MUST NOT** define custom hex codes or `Color` constants. - -### Usage Protocol -- **Primary Method**:Use `UiColors` from the design system for specific brand accents. -- **Naming Matching**: If an exact color is missing, use the closest existing semantic color (e.g., use `UiColors.mutedForeground` instead of a hardcoded grey). - -```dart -// ❌ ANTI-PATTERN: Hardcoded color -Container(color: Color(0xFF1A2234)) - -// ✅ CORRECT: Design system token -Container(color: UiColors.background) -``` - -## 5. Typography Usage Rules - -Custom `TextStyle` definitions in feature packages are **STRICTLY PROHIBITED**. - -### Usage Protocol -- Use `UiTypography` from the design system for specific brand accents. - -```dart -// ❌ ANTI-PATTERN: Custom TextStyle -Text('Hello', style: TextStyle(fontSize: 24, fontWeight: FontWeight.bold)) - -// ✅ CORRECT: Design system typography -Text('Hello', style: UiTypography.display1m) -``` - -## 6. Icons Usage Rules - -Feature packages **MUST NOT** import icon libraries (like `lucide_icons`) directly unless specified. They should use the icons exposed via `UiIcons` or the approved central library. - -- **Standardization**: Ensure the same icon is used for the same action across all features (e.g., always use `UiIcons.back` for navigation). -- **Additions**: New icons must be added to the design system (only using the typedef _IconLib = LucideIcons and nothing else) first to ensure they follow the project's stroke weight and sizing standards. - -## 7. UI Constants & Layout Rules - -Hardcoded padding, margins, and radius values are **PROHIBITED**. - -- **Spacing**: Use `UiConstants.spacing` multiplied by tokens (e.g., `S`, `M`, `L`). -- **Border Radius**: Use `UiConstants.borderRadius`. -- **Elevation**: Use `UiConstants.elevation`. - -```dart -// ✅ CORRECT: Spacing and Radius constants -Padding( - padding: EdgeInsets.all(UiConstants.spacingL), - child: Container( - borderRadius: BorderRadius.circular(UiConstants.radiusM), - ), -) -``` - -## 8. Common Smart Widgets Guidelines - -The design system provides "Smart Widgets" – these are high-level UI components that encapsulate both styling and standard behavior. - -- **Standard Widgets**: Prefer standard Flutter Material widgets (e.g., `ElevatedButton`) but styled via the central theme. -- **Custom Components**: Use `design_system` widgets for non-standard elements or wisgets that has similar design across various features, if provided. -- **Composition**: Prefer composing standard widgets over creating deep inheritance hierarchies in features. - -## 9. Theme Configuration & Usage - -Applications (`apps/`) must initialize the theme once in the root `MaterialApp`. - -```dart -MaterialApp.router( - theme: StaffTheme.light, // Mandatory: Consumption of centralized theme - // ... -) -``` -**No application-level theme customization is allowed.** - -## 10. Feature Development Workflow (POC → Themed) - -To bridge the gap between rapid prototyping (POCs) and production-grade code, developers must follow this three-step workflow: - -1. **Step 1: Structural Implementation**: Implement the UI logic and layout **exactly matching the POC**. Hardcoded values from the POC are acceptable in this transient state to ensure visual parity. -2. **Step 2: Logic Refactor**: Immediately refactor the code to: - - Follow the `docs/01-architecture-principles.md` and `docs/02-agent-development-rules.md` to refactor the code. -3. **Step 3: Theme Refactor**: Immediately refactor the code to: - - Replace hex codes with `UiColors`. - - Replace manual `TextStyle` with `UiTypography`. - - Replace hardcoded padding/radius with `UiConstants`. - - Upgrade icons to design system versions. - -## 11. Anti-Patterns & Common Mistakes - -- **"Magic Numbers"**: Hardcoding `EdgeInsets.all(12.0)` instead of using design system constants. -- **Local Themes**: Using `Theme(data: ...)` to override colors for a specific section of a page. -- **Hex Hunting**: Copy-pasting hex codes from Figma or POCs into feature code. -- **Package Bypassing**: Importing `package:flutter/material.dart` and ignoring `package:design_system`. - -## 12. Enforcement & Review Checklist - -Before any UI code is merged, it must pass this checklist: -1. [ ] No hardcoded `Color(...)` or `0xFF...` in the feature package. -2. [ ] No custom `TextStyle(...)` definitions. -3. [ ] All spacing/padding/radius uses `UiConstants`. -4. [ ] All icons are consumed from the approved design system source. -5. [ ] The feature relies on the global `ThemeData` and does not provide local overrides. -6. [ ] The layout matches the POC visual intent and element placement(wireframing and logic) while using the design system primitives. diff --git a/apps/melos.yaml b/apps/melos.yaml deleted file mode 100644 index 79ea13b3..00000000 --- a/apps/melos.yaml +++ /dev/null @@ -1,22 +0,0 @@ -name: krow_workspace - -packages: - - apps/** - - packages/** - -command: - bootstrap: - usePubspecOverrides: true - -scripts: - gen:l10n: - exec: dart run slang - description: "Generate localization files using Slang across all packages." - packageFilters: - dependsOn: slang - - gen:build: - exec: dart run build_runner build --delete-conflicting-outputs - description: "Run build_runner build across all packages." - packageFilters: - dependsOn: build_runner diff --git a/apps/mobile-client/.keep b/apps/mobile-client/.keep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/apps/mobile-client/.keep @@ -0,0 +1 @@ + diff --git a/apps/mobile-staff/.keep b/apps/mobile-staff/.keep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/apps/mobile-staff/.keep @@ -0,0 +1 @@ + diff --git a/apps/packages/core/lib/core.dart b/apps/packages/core/lib/core.dart deleted file mode 100644 index f46af624..00000000 --- a/apps/packages/core/lib/core.dart +++ /dev/null @@ -1,4 +0,0 @@ -library core; - -export 'src/domain/arguments/usecase_argument.dart'; -export 'src/domain/usecases/usecase.dart'; diff --git a/apps/packages/core/lib/src/domain/arguments/usecase_argument.dart b/apps/packages/core/lib/src/domain/arguments/usecase_argument.dart deleted file mode 100644 index 4936596d..00000000 --- a/apps/packages/core/lib/src/domain/arguments/usecase_argument.dart +++ /dev/null @@ -1,12 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Abstract base class for all use case arguments. -/// -/// Use case arguments are data transfer objects (DTOs) used to pass data -/// into a use case. They must extend [Equatable] to ensure value equality. -abstract class UseCaseArgument extends Equatable { - const UseCaseArgument(); - - @override - List get props => []; -} diff --git a/apps/packages/core/lib/src/domain/usecases/usecase.dart b/apps/packages/core/lib/src/domain/usecases/usecase.dart deleted file mode 100644 index ddc33eba..00000000 --- a/apps/packages/core/lib/src/domain/usecases/usecase.dart +++ /dev/null @@ -1,25 +0,0 @@ -/// Abstract base class for all use cases in the application. -/// -/// Use cases encapsulate application-specific business rules and orchestrate -/// the flow of data to and from the entities. They are typically invoked -/// from the presentation layer (e.g., BLoCs, ViewModels) and interact with -/// repositories from the data layer. -/// -/// [Input] represents the type of data passed into the use case. -/// [Output] represents the type of data returned by the use case. -abstract class UseCase { - /// Executes the use case with the given [input]. - /// - /// This method should contain the core business logic of the use case. - Future call(Input input); -} - -/// Abstract base class for use cases that do not require any input. -/// -/// [Output] represents the type of data returned by the use case. -abstract class NoInputUseCase { - /// Executes the use case. - /// - /// This method should contain the core business logic of the use case. - Future call(); -} diff --git a/apps/packages/core/pubspec.yaml b/apps/packages/core/pubspec.yaml deleted file mode 100644 index 1b14ddda..00000000 --- a/apps/packages/core/pubspec.yaml +++ /dev/null @@ -1,13 +0,0 @@ -name: krow_core -description: Core utilities and shared logic. -version: 0.0.1 -publish_to: none -resolution: workspace - -environment: - sdk: '>=3.10.0 <4.0.0' - flutter: ">=3.0.0" - -dependencies: - flutter: - sdk: flutter diff --git a/apps/packages/core_localization/.gitignore b/apps/packages/core_localization/.gitignore deleted file mode 100644 index dd5eb989..00000000 --- a/apps/packages/core_localization/.gitignore +++ /dev/null @@ -1,31 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ -migrate_working_dir/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. -/pubspec.lock -**/doc/api/ -.dart_tool/ -.flutter-plugins-dependencies -/build/ -/coverage/ diff --git a/apps/packages/core_localization/.metadata b/apps/packages/core_localization/.metadata deleted file mode 100644 index 685c30f1..00000000 --- a/apps/packages/core_localization/.metadata +++ /dev/null @@ -1,10 +0,0 @@ -# This file tracks properties of this Flutter project. -# Used by Flutter tool to assess capabilities and perform upgrades etc. -# -# This file should be version controlled and should not be manually edited. - -version: - revision: "3b62efc2a3da49882f43c372e0bc53daef7295a6" - channel: "stable" - -project_type: package diff --git a/apps/packages/core_localization/analysis_options.yaml b/apps/packages/core_localization/analysis_options.yaml deleted file mode 100644 index a5744c1c..00000000 --- a/apps/packages/core_localization/analysis_options.yaml +++ /dev/null @@ -1,4 +0,0 @@ -include: package:flutter_lints/flutter.yaml - -# Additional information about this file can be found at -# https://dart.dev/guides/language/analysis-options diff --git a/apps/packages/core_localization/lib/core_localization.dart b/apps/packages/core_localization/lib/core_localization.dart deleted file mode 100644 index 8c8c71fc..00000000 --- a/apps/packages/core_localization/lib/core_localization.dart +++ /dev/null @@ -1,10 +0,0 @@ -export 'src/bloc/locale_bloc.dart'; -export 'src/bloc/locale_event.dart'; -export 'src/bloc/locale_state.dart'; -export 'src/l10n/strings.g.dart'; -export 'src/domain/repositories/locale_repository_interface.dart'; -export 'src/domain/usecases/get_locale_use_case.dart'; -export 'src/domain/usecases/set_locale_use_case.dart'; -export 'src/data/repositories_impl/locale_repository_impl.dart'; -export 'src/data/datasources/locale_local_data_source.dart'; -export 'src/localization_module.dart'; diff --git a/apps/packages/core_localization/lib/src/bloc/locale_bloc.dart b/apps/packages/core_localization/lib/src/bloc/locale_bloc.dart deleted file mode 100644 index 4d46b623..00000000 --- a/apps/packages/core_localization/lib/src/bloc/locale_bloc.dart +++ /dev/null @@ -1,56 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import '../domain/usecases/get_locale_use_case.dart'; -import '../domain/usecases/set_locale_use_case.dart'; -import '../l10n/strings.g.dart'; -import 'locale_event.dart'; -import 'locale_state.dart'; - -/// A [Bloc] that manages the application's locale state. -/// -/// It coordinates the flow between user language requests and persistent storage -/// using [SetLocaleUseCase] and [GetLocaleUseCase]. -class LocaleBloc extends Bloc { - final GetLocaleUseCase getLocaleUseCase; - final SetLocaleUseCase setLocaleUseCase; - - /// Creates a [LocaleBloc] with the required use cases. - LocaleBloc({required this.getLocaleUseCase, required this.setLocaleUseCase}) - : super(LocaleState.initial()) { - on(_onChangeLocale); - on(_onLoadLocale); - } - - /// Handles the [ChangeLocale] event by saving it via the use case and emitting new state. - Future _onChangeLocale( - ChangeLocale event, - Emitter emit, - ) async { - // 1. Update slang settings - LocaleSettings.setLocaleRaw(event.locale.languageCode); - - // 2. Persist using Use Case - await setLocaleUseCase(event.locale); - - // 3. Emit new state - emit( - LocaleState( - locale: event.locale, - supportedLocales: state.supportedLocales, - ), - ); - } - - /// Handles the [LoadLocale] event by retrieving it via the use case and updating settings. - Future _onLoadLocale( - LoadLocale event, - Emitter emit, - ) async { - final savedLocale = await getLocaleUseCase(); - final locale = const Locale('es'); - - LocaleSettings.setLocaleRaw(locale.languageCode); - - emit(LocaleState(locale: locale, supportedLocales: state.supportedLocales)); - } -} diff --git a/apps/packages/core_localization/lib/src/bloc/locale_event.dart b/apps/packages/core_localization/lib/src/bloc/locale_event.dart deleted file mode 100644 index 52a57fbc..00000000 --- a/apps/packages/core_localization/lib/src/bloc/locale_event.dart +++ /dev/null @@ -1,22 +0,0 @@ -import 'package:flutter/material.dart'; - -/// Base class for all locale-related events. -sealed class LocaleEvent { - /// Creates a [LocaleEvent]. - const LocaleEvent(); -} - -/// Event triggered when the user wants to change the application locale. -class ChangeLocale extends LocaleEvent { - /// The new locale to apply. - final Locale locale; - - /// Creates a [ChangeLocale] event. - const ChangeLocale(this.locale); -} - -/// Event triggered to load the saved locale from persistent storage. -class LoadLocale extends LocaleEvent { - /// Creates a [LoadLocale] event. - const LoadLocale(); -} diff --git a/apps/packages/core_localization/lib/src/bloc/locale_state.dart b/apps/packages/core_localization/lib/src/bloc/locale_state.dart deleted file mode 100644 index 33219cd1..00000000 --- a/apps/packages/core_localization/lib/src/bloc/locale_state.dart +++ /dev/null @@ -1,20 +0,0 @@ -import 'package:flutter/material.dart'; -import '../l10n/strings.g.dart'; - -/// Represents the current state of the application's localization. -class LocaleState { - /// The current active locale. - final Locale locale; - - /// The list of supported locales for the application. - final List supportedLocales; - - /// Creates a [LocaleState] with the specified [locale]. - const LocaleState({required this.locale, required this.supportedLocales}); - - /// The initial state of the application, defaulting to English. - factory LocaleState.initial() => LocaleState( - locale: const Locale('es'), - supportedLocales: AppLocaleUtils.supportedLocales, - ); -} diff --git a/apps/packages/core_localization/lib/src/data/datasources/locale_local_data_source.dart b/apps/packages/core_localization/lib/src/data/datasources/locale_local_data_source.dart deleted file mode 100644 index f036b915..00000000 --- a/apps/packages/core_localization/lib/src/data/datasources/locale_local_data_source.dart +++ /dev/null @@ -1,29 +0,0 @@ -import 'package:shared_preferences/shared_preferences.dart'; - -/// Interface for the local data source that manages locale persistence. -abstract interface class LocaleLocalDataSource { - /// Saves the language code to local storage. - Future saveLanguageCode(String languageCode); - - /// Retrieves the saved language code from local storage. - Future getLanguageCode(); -} - -/// Implementation of [LocaleLocalDataSource] using [SharedPreferencesAsync]. -class LocaleLocalDataSourceImpl implements LocaleLocalDataSource { - static const String _localeKey = 'app_locale'; - final SharedPreferencesAsync _sharedPreferences; - - /// Creates a [LocaleLocalDataSourceImpl] with the required [SharedPreferencesAsync] instance. - LocaleLocalDataSourceImpl(this._sharedPreferences); - - @override - Future saveLanguageCode(String languageCode) async { - await _sharedPreferences.setString(_localeKey, languageCode); - } - - @override - Future getLanguageCode() async { - return _sharedPreferences.getString(_localeKey); - } -} diff --git a/apps/packages/core_localization/lib/src/data/repositories_impl/locale_repository_impl.dart b/apps/packages/core_localization/lib/src/data/repositories_impl/locale_repository_impl.dart deleted file mode 100644 index b4927061..00000000 --- a/apps/packages/core_localization/lib/src/data/repositories_impl/locale_repository_impl.dart +++ /dev/null @@ -1,28 +0,0 @@ -import 'dart:ui'; -import '../../domain/repositories/locale_repository_interface.dart'; -import '../datasources/locale_local_data_source.dart'; - -/// Implementation of [LocaleRepositoryInterface] that coordinates with a local data source. -/// -/// This class handles the mapping between domain [Locale] objects and the raw -/// strings handled by the [LocaleLocalDataSource]. -class LocaleRepositoryImpl implements LocaleRepositoryInterface { - final LocaleLocalDataSource _localDataSource; - - /// Creates a [LocaleRepositoryImpl] with the provided [_localDataSource]. - LocaleRepositoryImpl(this._localDataSource); - - @override - Future saveLocale(Locale locale) { - return _localDataSource.saveLanguageCode(locale.languageCode); - } - - @override - Future getSavedLocale() async { - final languageCode = await _localDataSource.getLanguageCode(); - if (languageCode != null) { - return Locale(languageCode); - } - return null; - } -} diff --git a/apps/packages/core_localization/lib/src/domain/repositories/locale_repository_interface.dart b/apps/packages/core_localization/lib/src/domain/repositories/locale_repository_interface.dart deleted file mode 100644 index 604c2d41..00000000 --- a/apps/packages/core_localization/lib/src/domain/repositories/locale_repository_interface.dart +++ /dev/null @@ -1,17 +0,0 @@ -import 'dart:ui'; - -/// Interface for the locale repository. -/// -/// This defines the contracts for persisting and retrieving the application's locale. -/// Implementations of this interface should handle the details of the storage mechanism. -abstract interface class LocaleRepositoryInterface { - /// Saves the specified [locale] to persistent storage. - /// - /// Throws a [RepositoryException] if the operation fails. - Future saveLocale(Locale locale); - - /// Retrieves the saved [locale] from persistent storage. - /// - /// Returns `null` if no locale has been previously saved. - Future getSavedLocale(); -} diff --git a/apps/packages/core_localization/lib/src/domain/usecases/get_locale_use_case.dart b/apps/packages/core_localization/lib/src/domain/usecases/get_locale_use_case.dart deleted file mode 100644 index 8d29876e..00000000 --- a/apps/packages/core_localization/lib/src/domain/usecases/get_locale_use_case.dart +++ /dev/null @@ -1,19 +0,0 @@ -import 'dart:ui'; -import 'package:krow_core/core.dart'; -import '../repositories/locale_repository_interface.dart'; - -/// Use case to retrieve the persisted application locale. -/// -/// This class extends [NoInputUseCase] and interacts with [LocaleRepositoryInterface] -/// to fetch the saved locale. -class GetLocaleUseCase extends NoInputUseCase { - final LocaleRepositoryInterface _repository; - - /// Creates a [GetLocaleUseCase] with the required [LocaleRepositoryInterface]. - GetLocaleUseCase(this._repository); - - @override - Future call() { - return _repository.getSavedLocale(); - } -} diff --git a/apps/packages/core_localization/lib/src/domain/usecases/set_locale_use_case.dart b/apps/packages/core_localization/lib/src/domain/usecases/set_locale_use_case.dart deleted file mode 100644 index dcddd0c1..00000000 --- a/apps/packages/core_localization/lib/src/domain/usecases/set_locale_use_case.dart +++ /dev/null @@ -1,19 +0,0 @@ -import 'dart:ui'; -import 'package:krow_core/core.dart'; -import '../repositories/locale_repository_interface.dart'; - -/// Use case to save the application locale to persistent storage. -/// -/// This class extends [UseCase] and interacts with [LocaleRepositoryInterface] -/// to save a given locale. -class SetLocaleUseCase extends UseCase { - final LocaleRepositoryInterface _repository; - - /// Creates a [SetLocaleUseCase] with the required [LocaleRepositoryInterface]. - SetLocaleUseCase(this._repository); - - @override - Future call(Locale input) { - return _repository.saveLocale(input); - } -} diff --git a/apps/packages/core_localization/lib/src/l10n/en.i18n.json b/apps/packages/core_localization/lib/src/l10n/en.i18n.json deleted file mode 100644 index 63aa509e..00000000 --- a/apps/packages/core_localization/lib/src/l10n/en.i18n.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "common": { - "ok": "OK", - "cancel": "Cancel", - "save": "Save", - "delete": "Delete", - "continue_text": "Continue" - }, - "settings": { - "language": "Language", - "change_language": "Change Language" - }, - "staff_authentication": { - "get_started_page": { - "title_part1": "Work, Grow, ", - "title_part2": "Elevate", - "subtitle": "Build your career in hospitality with \nflexibility and freedom.", - "sign_up_button": "Sign Up", - "log_in_button": "Log In" - }, - "phone_verification_page": { - "validation_error": "Please enter a valid 10-digit phone number", - "send_code_button": "Send Code", - "enter_code_title": "Enter verification code", - "code_sent_message": "We sent a 6-digit code to ", - "code_sent_instruction": ". Enter it below to verify your account." - }, - "phone_input": { - "title": "Verify your phone number", - "subtitle": "We'll send you a verification code to get started.", - "label": "Phone Number", - "hint": "Enter your number" - }, - "otp_verification": { - "did_not_get_code": "Didn't get the code ?", - "resend_in": "Resend in $seconds s", - "resend_code": "Resend code" - }, - "profile_setup_page": { - "step_indicator": "Step $current of $total", - "error_occurred": "An error occurred", - "complete_setup_button": "Complete Setup", - "steps": { - "basic": "Basic Info", - "location": "Location", - "experience": "Experience" - }, - "basic_info": { - "title": "Let's get to know you", - "subtitle": "Tell us a bit about yourself", - "full_name_label": "Full Name *", - "full_name_hint": "John Smith", - "bio_label": "Short Bio", - "bio_hint": "Experienced hospitality professional..." - }, - "location": { - "title": "Where do you want to work?", - "subtitle": "Add your preferred work locations", - "add_location_label": "Add Location *", - "add_location_hint": "City or ZIP code", - "add_button": "Add", - "max_distance": "Max Distance: $distance miles", - "min_dist_label": "5 mi", - "max_dist_label": "50 mi" - }, - "experience": { - "title": "What are your skills?", - "subtitle": "Select all that apply", - "skills_label": "Skills *", - "industries_label": "Preferred Industries", - "skills": { - "food_service": "Food Service", - "bartending": "Bartending", - "warehouse": "Warehouse", - "retail": "Retail", - "events": "Events", - "customer_service": "Customer Service", - "cleaning": "Cleaning", - "security": "Security", - "driving": "Driving", - "cooking": "Cooking" - }, - "industries": { - "hospitality": "Hospitality", - "food_service": "Food Service", - "warehouse": "Warehouse", - "events": "Events", - "retail": "Retail", - "healthcare": "Healthcare" - } - } - }, - "common": { - "trouble_question": "Having trouble? ", - "contact_support": "Contact Support" - } - }, - "client_authentication": { - "get_started_page": { - "title": "Take Control of Your\nShifts and Events", - "subtitle": "Streamline your operations with powerful tools to manage schedules, track performance, and keep your team on the same page—all in one place", - "sign_in_button": "Sign In", - "create_account_button": "Create Account" - }, - "sign_in_page": { - "title": "Welcome Back", - "subtitle": "Sign in to manage your shifts and workers", - "email_label": "Email", - "email_hint": "Enter your email", - "password_label": "Password", - "password_hint": "Enter your password", - "forgot_password": "Forgot Password?", - "sign_in_button": "Sign In", - "or_divider": "or", - "social_apple": "Sign In with Apple", - "social_google": "Sign In with Google", - "no_account": "Don't have an account? ", - "sign_up_link": "Sign Up" - }, - "sign_up_page": { - "title": "Create Account", - "subtitle": "Get started with Krow for your business", - "company_label": "Company Name", - "company_hint": "Enter company name", - "email_label": "Email", - "email_hint": "Enter your email", - "password_label": "Password", - "password_hint": "Create a password", - "confirm_password_label": "Confirm Password", - "confirm_password_hint": "Confirm your password", - "create_account_button": "Create Account", - "or_divider": "or", - "social_apple": "Sign Up with Apple", - "social_google": "Sign Up with Google", - "has_account": "Already have an account? ", - "sign_in_link": "Sign In" - } - }, - "client_home": { - "dashboard": { - "welcome_back": "Welcome back", - "edit_mode_active": "Edit Mode Active", - "drag_instruction": "Drag to reorder, toggle visibility", - "reset": "Reset", - "metric_needed": "Needed", - "metric_filled": "Filled", - "metric_open": "Open", - "view_all": "View all", - "insight_lightbulb": "Save $amount/month", - "insight_tip": "Book 48hrs ahead for better rates" - }, - "widgets": { - "actions": "Quick Actions", - "reorder": "Reorder", - "coverage": "Today's Coverage", - "spending": "Spending Insights", - "live_activity": "Live Activity" - }, - "actions": { - "rapid": "RAPID", - "rapid_subtitle": "Urgent same-day", - "create_order": "Create Order", - "create_order_subtitle": "Schedule shifts" - }, - "reorder": { - "title": "REORDER", - "reorder_button": "Reorder", - "per_hr": "$amount/hr" - }, - "form": { - "edit_reorder": "Edit & Reorder", - "post_new": "Post a New Shift", - "review_subtitle": "Review and edit the details before posting", - "date_label": "Date *", - "date_hint": "mm/dd/yyyy", - "location_label": "Location *", - "location_hint": "Business address", - "positions_title": "Positions", - "add_position": "Add Position", - "role_label": "Role *", - "role_hint": "Select role", - "start_time": "Start Time *", - "end_time": "End Time *", - "workers_needed": "Workers Needed *", - "hourly_rate": "Hourly Rate (\\$) *", - "post_shift": "Post Shift" - } - } -} - diff --git a/apps/packages/core_localization/lib/src/l10n/es.i18n.json b/apps/packages/core_localization/lib/src/l10n/es.i18n.json deleted file mode 100644 index dd1dfb8b..00000000 --- a/apps/packages/core_localization/lib/src/l10n/es.i18n.json +++ /dev/null @@ -1,189 +0,0 @@ -{ - "common": { - "ok": "Aceptar", - "cancel": "Cancelar", - "save": "Guardar", - "delete": "Eliminar", - "continue_text": "Continuar" - }, - "settings": { - "language": "Idioma", - "change_language": "Cambiar Idioma" - }, - "staff_authentication": { - "get_started_page": { - "title_part1": "Trabaja, Crece, ", - "title_part2": "Elévate", - "subtitle": "Construye tu carrera en hostelería con \nflexibilidad y libertad.", - "sign_up_button": "Registrarse", - "log_in_button": "Iniciar sesión" - }, - "phone_verification_page": { - "validation_error": "Por favor, ingresa un número de teléfono válido de 10 dígitos", - "send_code_button": "Enviar código", - "enter_code_title": "Ingresa el código de verificación", - "code_sent_message": "Enviamos un código de 6 dígitos a ", - "code_sent_instruction": ". Ingrésalo a continuación para verificar tu cuenta." - }, - "phone_input": { - "title": "Verifica tu número de teléfono", - "subtitle": "Te enviaremos un código de verificación para comenzar.", - "label": "Número de teléfono", - "hint": "Ingresa tu número" - }, - "otp_verification": { - "did_not_get_code": "¿No recibiste el código?", - "resend_in": "Reenviar en $seconds s", - "resend_code": "Reenviar código" - }, - "profile_setup_page": { - "step_indicator": "Paso $current de $total", - "error_occurred": "Ocurrió un error", - "complete_setup_button": "Completar configuración", - "steps": { - "basic": "Información básica", - "location": "Ubicación", - "experience": "Experiencia" - }, - "basic_info": { - "title": "Conozcámonos", - "subtitle": "Cuéntanos un poco sobre ti", - "full_name_label": "Nombre completo *", - "full_name_hint": "Juan Pérez", - "bio_label": "Biografía corta", - "bio_hint": "Profesional experimentado en hostelería..." - }, - "location": { - "title": "¿Dónde quieres trabajar?", - "subtitle": "Agrega tus ubicaciones de trabajo preferidas", - "add_location_label": "Agregar ubicación *", - "add_location_hint": "Ciudad o código postal", - "add_button": "Agregar", - "max_distance": "Distancia máxima: $distance millas", - "min_dist_label": "5 mi", - "max_dist_label": "50 mi" - }, - "experience": { - "title": "¿Cuáles son tus habilidades?", - "subtitle": "Selecciona todas las que correspondan", - "skills_label": "Habilidades *", - "industries_label": "Industrias preferidas", - "skills": { - "food_service": "Servicio de comida", - "bartending": "Preparación de bebidas", - "warehouse": "Almacén", - "retail": "Venta minorista", - "events": "Eventos", - "customer_service": "Servicio al cliente", - "cleaning": "Limpieza", - "security": "Seguridad", - "driving": "Conducción", - "cooking": "Cocina" - }, - "industries": { - "hospitality": "Hostelería", - "food_service": "Servicio de comida", - "warehouse": "Almacén", - "events": "Eventos", - "retail": "Venta minorista", - "healthcare": "Atención médica" - } - } - }, - "common": { - "trouble_question": "¿Tienes problemas? ", - "contact_support": "Contactar a soporte" - } - }, - "client_authentication": { - "get_started_page": { - "title": "Toma el control de tus\nturnos y eventos", - "subtitle": "Optimiza tus operaciones con potentes herramientas para gestionar horarios, realizar un seguimiento del rendimiento y mantener a tu equipo en la misma página, todo en un solo lugar", - "sign_in_button": "Iniciar sesión", - "create_account_button": "Crear cuenta" - }, - "sign_in_page": { - "title": "Bienvenido de nuevo", - "subtitle": "Inicia sesión para gestionar tus turnos y trabajadores", - "email_label": "Correo electrónico", - "email_hint": "Ingresa tu correo electrónico", - "password_label": "Contraseña", - "password_hint": "Ingresa tu contraseña", - "forgot_password": "¿Olvidaste tu contraseña?", - "sign_in_button": "Iniciar sesión", - "or_divider": "o", - "social_apple": "Iniciar sesión con Apple", - "social_google": "Iniciar sesión con Google", - "no_account": "¿No tienes una cuenta? ", - "sign_up_link": "Regístrate" - }, - "sign_up_page": { - "title": "Crear cuenta", - "subtitle": "Comienza con Krow para tu negocio", - "company_label": "Nombre de la empresa", - "company_hint": "Ingresa el nombre de la empresa", - "email_label": "Correo electrónico", - "email_hint": "Ingresa tu correo electrónico", - "password_label": "Contraseña", - "password_hint": "Crea una contraseña", - "confirm_password_label": "Confirmar contraseña", - "confirm_password_hint": "Confirma tu contraseña", - "create_account_button": "Crear cuenta", - "or_divider": "o", - "social_apple": "Regístrate con Apple", - "social_google": "Regístrate con Google", - "has_account": "¿Ya tienes una cuenta? ", - "sign_in_link": "Iniciar sesión" - } - }, - "client_home": { - "dashboard": { - "welcome_back": "Bienvenido de nuevo", - "edit_mode_active": "Modo Edición Activo", - "drag_instruction": "Arrastra para reordenar, cambia la visibilidad", - "reset": "Restablecer", - "metric_needed": "Necesario", - "metric_filled": "Lleno", - "metric_open": "Abierto", - "view_all": "Ver todo", - "insight_lightbulb": "Ahorra $amount/mes", - "insight_tip": "Reserva con 48h de antelación para mejores tarifas" - }, - "widgets": { - "actions": "Acciones Rápidas", - "reorder": "Reordenar", - "coverage": "Cobertura de Hoy", - "spending": "Información de Gastos", - "live_activity": "Actividad en Vivo" - }, - "actions": { - "rapid": "RÁPIDO", - "rapid_subtitle": "Urgente mismo día", - "create_order": "Crear Orden", - "create_order_subtitle": "Programar turnos" - }, - "reorder": { - "title": "REORDENAR", - "reorder_button": "Reordenar", - "per_hr": "$amount/hr" - }, - "form": { - "edit_reorder": "Editar y Reordenar", - "post_new": "Publicar un Nuevo Turno", - "review_subtitle": "Revisa y edita los detalles antes de publicar", - "date_label": "Fecha *", - "date_hint": "mm/dd/aaaa", - "location_label": "Ubicación *", - "location_hint": "Dirección del negocio", - "positions_title": "Posiciones", - "add_position": "Añadir Posición", - "role_label": "Rol *", - "role_hint": "Seleccionar rol", - "start_time": "Hora de Inicio *", - "end_time": "Hora de Fin *", - "workers_needed": "Trabajadores Necesarios *", - "hourly_rate": "Tarifa por hora (\\$) *", - "post_shift": "Publicar Turno" - } - } -} diff --git a/apps/packages/core_localization/lib/src/l10n/strings.g.dart b/apps/packages/core_localization/lib/src/l10n/strings.g.dart deleted file mode 100644 index 1860222f..00000000 --- a/apps/packages/core_localization/lib/src/l10n/strings.g.dart +++ /dev/null @@ -1,183 +0,0 @@ -/// Generated file. Do not edit. -/// -/// Source: lib/src/l10n -/// To regenerate, run: `dart run slang` -/// -/// Locales: 2 -/// Strings: 276 (138 per locale) -/// -/// Built on 2026-01-21 at 18:21 UTC - -// coverage:ignore-file -// ignore_for_file: type=lint, unused_import -// dart format off - -import 'package:flutter/widgets.dart'; -import 'package:intl/intl.dart'; -import 'package:slang/generated.dart'; -import 'package:slang_flutter/slang_flutter.dart'; -export 'package:slang_flutter/slang_flutter.dart'; - -import 'strings_es.g.dart' deferred as l_es; -part 'strings_en.g.dart'; - -/// Supported locales. -/// -/// Usage: -/// - LocaleSettings.setLocale(AppLocale.en) // set locale -/// - Locale locale = AppLocale.en.flutterLocale // get flutter locale from enum -/// - if (LocaleSettings.currentLocale == AppLocale.en) // locale check -enum AppLocale with BaseAppLocale { - en(languageCode: 'en'), - es(languageCode: 'es'); - - const AppLocale({ - required this.languageCode, - this.scriptCode, // ignore: unused_element, unused_element_parameter - this.countryCode, // ignore: unused_element, unused_element_parameter - }); - - @override final String languageCode; - @override final String? scriptCode; - @override final String? countryCode; - - @override - Future build({ - Map? overrides, - PluralResolver? cardinalResolver, - PluralResolver? ordinalResolver, - }) async { - switch (this) { - case AppLocale.en: - return TranslationsEn( - overrides: overrides, - cardinalResolver: cardinalResolver, - ordinalResolver: ordinalResolver, - ); - case AppLocale.es: - await l_es.loadLibrary(); - return l_es.TranslationsEs( - overrides: overrides, - cardinalResolver: cardinalResolver, - ordinalResolver: ordinalResolver, - ); - } - } - - @override - Translations buildSync({ - Map? overrides, - PluralResolver? cardinalResolver, - PluralResolver? ordinalResolver, - }) { - switch (this) { - case AppLocale.en: - return TranslationsEn( - overrides: overrides, - cardinalResolver: cardinalResolver, - ordinalResolver: ordinalResolver, - ); - case AppLocale.es: - return l_es.TranslationsEs( - overrides: overrides, - cardinalResolver: cardinalResolver, - ordinalResolver: ordinalResolver, - ); - } - } - - /// Gets current instance managed by [LocaleSettings]. - Translations get translations => LocaleSettings.instance.getTranslations(this); -} - -/// Method A: Simple -/// -/// No rebuild after locale change. -/// Translation happens during initialization of the widget (call of t). -/// Configurable via 'translate_var'. -/// -/// Usage: -/// String a = t.someKey.anotherKey; -/// String b = t['someKey.anotherKey']; // Only for edge cases! -Translations get t => LocaleSettings.instance.currentTranslations; - -/// Method B: Advanced -/// -/// All widgets using this method will trigger a rebuild when locale changes. -/// Use this if you have e.g. a settings page where the user can select the locale during runtime. -/// -/// Step 1: -/// wrap your App with -/// TranslationProvider( -/// child: MyApp() -/// ); -/// -/// Step 2: -/// final t = Translations.of(context); // Get t variable. -/// String a = t.someKey.anotherKey; // Use t variable. -/// String b = t['someKey.anotherKey']; // Only for edge cases! -class TranslationProvider extends BaseTranslationProvider { - TranslationProvider({required super.child}) : super(settings: LocaleSettings.instance); - - static InheritedLocaleData of(BuildContext context) => InheritedLocaleData.of(context); -} - -/// Method B shorthand via [BuildContext] extension method. -/// Configurable via 'translate_var'. -/// -/// Usage (e.g. in a widget's build method): -/// context.t.someKey.anotherKey -extension BuildContextTranslationsExtension on BuildContext { - Translations get t => TranslationProvider.of(this).translations; -} - -/// Manages all translation instances and the current locale -class LocaleSettings extends BaseFlutterLocaleSettings { - LocaleSettings._() : super( - utils: AppLocaleUtils.instance, - lazy: true, - ); - - static final instance = LocaleSettings._(); - - // static aliases (checkout base methods for documentation) - static AppLocale get currentLocale => instance.currentLocale; - static Stream getLocaleStream() => instance.getLocaleStream(); - static Future setLocale(AppLocale locale, {bool? listenToDeviceLocale = false}) => instance.setLocale(locale, listenToDeviceLocale: listenToDeviceLocale); - static Future setLocaleRaw(String rawLocale, {bool? listenToDeviceLocale = false}) => instance.setLocaleRaw(rawLocale, listenToDeviceLocale: listenToDeviceLocale); - static Future useDeviceLocale() => instance.useDeviceLocale(); - static Future setPluralResolver({String? language, AppLocale? locale, PluralResolver? cardinalResolver, PluralResolver? ordinalResolver}) => instance.setPluralResolver( - language: language, - locale: locale, - cardinalResolver: cardinalResolver, - ordinalResolver: ordinalResolver, - ); - - // synchronous versions - static AppLocale setLocaleSync(AppLocale locale, {bool? listenToDeviceLocale = false}) => instance.setLocaleSync(locale, listenToDeviceLocale: listenToDeviceLocale); - static AppLocale setLocaleRawSync(String rawLocale, {bool? listenToDeviceLocale = false}) => instance.setLocaleRawSync(rawLocale, listenToDeviceLocale: listenToDeviceLocale); - static AppLocale useDeviceLocaleSync() => instance.useDeviceLocaleSync(); - static void setPluralResolverSync({String? language, AppLocale? locale, PluralResolver? cardinalResolver, PluralResolver? ordinalResolver}) => instance.setPluralResolverSync( - language: language, - locale: locale, - cardinalResolver: cardinalResolver, - ordinalResolver: ordinalResolver, - ); -} - -/// Provides utility functions without any side effects. -class AppLocaleUtils extends BaseAppLocaleUtils { - AppLocaleUtils._() : super( - baseLocale: AppLocale.en, - locales: AppLocale.values, - ); - - static final instance = AppLocaleUtils._(); - - // static aliases (checkout base methods for documentation) - static AppLocale parse(String rawLocale) => instance.parse(rawLocale); - static AppLocale parseLocaleParts({required String languageCode, String? scriptCode, String? countryCode}) => instance.parseLocaleParts(languageCode: languageCode, scriptCode: scriptCode, countryCode: countryCode); - static AppLocale findDeviceLocale() => instance.findDeviceLocale(); - static List get supportedLocales => instance.supportedLocales; - static List get supportedLocalesRaw => instance.supportedLocalesRaw; -} diff --git a/apps/packages/core_localization/lib/src/l10n/strings_en.g.dart b/apps/packages/core_localization/lib/src/l10n/strings_en.g.dart deleted file mode 100644 index 25bf923a..00000000 --- a/apps/packages/core_localization/lib/src/l10n/strings_en.g.dart +++ /dev/null @@ -1,861 +0,0 @@ -/// -/// Generated file. Do not edit. -/// -// coverage:ignore-file -// ignore_for_file: type=lint, unused_import -// dart format off - -part of 'strings.g.dart'; - -// Path: -typedef TranslationsEn = Translations; // ignore: unused_element -class Translations with BaseTranslations { - /// Returns the current translations of the given [context]. - /// - /// Usage: - /// final t = Translations.of(context); - static Translations of(BuildContext context) => InheritedLocaleData.of(context).translations; - - /// You can call this constructor and build your own translation instance of this locale. - /// Constructing via the enum [AppLocale.build] is preferred. - Translations({Map? overrides, PluralResolver? cardinalResolver, PluralResolver? ordinalResolver, TranslationMetadata? meta}) - : assert(overrides == null, 'Set "translation_overrides: true" in order to enable this feature.'), - $meta = meta ?? TranslationMetadata( - locale: AppLocale.en, - overrides: overrides ?? {}, - cardinalResolver: cardinalResolver, - ordinalResolver: ordinalResolver, - ) { - $meta.setFlatMapFunction(_flatMapFunction); - } - - /// Metadata for the translations of . - @override final TranslationMetadata $meta; - - /// Access flat map - dynamic operator[](String key) => $meta.getTranslation(key); - - late final Translations _root = this; // ignore: unused_field - - Translations $copyWith({TranslationMetadata? meta}) => Translations(meta: meta ?? this.$meta); - - // Translations - late final TranslationsCommonEn common = TranslationsCommonEn._(_root); - late final TranslationsSettingsEn settings = TranslationsSettingsEn._(_root); - late final TranslationsStaffAuthenticationEn staff_authentication = TranslationsStaffAuthenticationEn._(_root); - late final TranslationsClientAuthenticationEn client_authentication = TranslationsClientAuthenticationEn._(_root); - late final TranslationsClientHomeEn client_home = TranslationsClientHomeEn._(_root); -} - -// Path: common -class TranslationsCommonEn { - TranslationsCommonEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'OK' - String get ok => 'OK'; - - /// en: 'Cancel' - String get cancel => 'Cancel'; - - /// en: 'Save' - String get save => 'Save'; - - /// en: 'Delete' - String get delete => 'Delete'; - - /// en: 'Continue' - String get continue_text => 'Continue'; -} - -// Path: settings -class TranslationsSettingsEn { - TranslationsSettingsEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Language' - String get language => 'Language'; - - /// en: 'Change Language' - String get change_language => 'Change Language'; -} - -// Path: staff_authentication -class TranslationsStaffAuthenticationEn { - TranslationsStaffAuthenticationEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - late final TranslationsStaffAuthenticationGetStartedPageEn get_started_page = TranslationsStaffAuthenticationGetStartedPageEn._(_root); - late final TranslationsStaffAuthenticationPhoneVerificationPageEn phone_verification_page = TranslationsStaffAuthenticationPhoneVerificationPageEn._(_root); - late final TranslationsStaffAuthenticationPhoneInputEn phone_input = TranslationsStaffAuthenticationPhoneInputEn._(_root); - late final TranslationsStaffAuthenticationOtpVerificationEn otp_verification = TranslationsStaffAuthenticationOtpVerificationEn._(_root); - late final TranslationsStaffAuthenticationProfileSetupPageEn profile_setup_page = TranslationsStaffAuthenticationProfileSetupPageEn._(_root); - late final TranslationsStaffAuthenticationCommonEn common = TranslationsStaffAuthenticationCommonEn._(_root); -} - -// Path: client_authentication -class TranslationsClientAuthenticationEn { - TranslationsClientAuthenticationEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - late final TranslationsClientAuthenticationGetStartedPageEn get_started_page = TranslationsClientAuthenticationGetStartedPageEn._(_root); - late final TranslationsClientAuthenticationSignInPageEn sign_in_page = TranslationsClientAuthenticationSignInPageEn._(_root); - late final TranslationsClientAuthenticationSignUpPageEn sign_up_page = TranslationsClientAuthenticationSignUpPageEn._(_root); -} - -// Path: client_home -class TranslationsClientHomeEn { - TranslationsClientHomeEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Shift order submitted successfully' - String get shift_created_success => 'Shift order submitted successfully'; - - late final TranslationsClientHomeDashboardEn dashboard = TranslationsClientHomeDashboardEn._(_root); - late final TranslationsClientHomeWidgetsEn widgets = TranslationsClientHomeWidgetsEn._(_root); - late final TranslationsClientHomeActionsEn actions = TranslationsClientHomeActionsEn._(_root); - late final TranslationsClientHomeReorderEn reorder = TranslationsClientHomeReorderEn._(_root); - late final TranslationsClientHomeFormEn form = TranslationsClientHomeFormEn._(_root); -} - -// Path: staff_authentication.get_started_page -class TranslationsStaffAuthenticationGetStartedPageEn { - TranslationsStaffAuthenticationGetStartedPageEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Work, Grow, ' - String get title_part1 => 'Work, Grow, '; - - /// en: 'Elevate' - String get title_part2 => 'Elevate'; - - /// en: 'Build your career in hospitality with flexibility and freedom.' - String get subtitle => 'Build your career in hospitality with \nflexibility and freedom.'; - - /// en: 'Sign Up' - String get sign_up_button => 'Sign Up'; - - /// en: 'Log In' - String get log_in_button => 'Log In'; -} - -// Path: staff_authentication.phone_verification_page -class TranslationsStaffAuthenticationPhoneVerificationPageEn { - TranslationsStaffAuthenticationPhoneVerificationPageEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Please enter a valid 10-digit phone number' - String get validation_error => 'Please enter a valid 10-digit phone number'; - - /// en: 'Send Code' - String get send_code_button => 'Send Code'; - - /// en: 'Enter verification code' - String get enter_code_title => 'Enter verification code'; - - /// en: 'We sent a 6-digit code to ' - String get code_sent_message => 'We sent a 6-digit code to '; - - /// en: '. Enter it below to verify your account.' - String get code_sent_instruction => '. Enter it below to verify your account.'; -} - -// Path: staff_authentication.phone_input -class TranslationsStaffAuthenticationPhoneInputEn { - TranslationsStaffAuthenticationPhoneInputEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Verify your phone number' - String get title => 'Verify your phone number'; - - /// en: 'We'll send you a verification code to get started.' - String get subtitle => 'We\'ll send you a verification code to get started.'; - - /// en: 'Phone Number' - String get label => 'Phone Number'; - - /// en: 'Enter your number' - String get hint => 'Enter your number'; -} - -// Path: staff_authentication.otp_verification -class TranslationsStaffAuthenticationOtpVerificationEn { - TranslationsStaffAuthenticationOtpVerificationEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Didn't get the code ?' - String get did_not_get_code => 'Didn\'t get the code ?'; - - /// en: 'Resend in $seconds s' - String resend_in({required Object seconds}) => 'Resend in ${seconds} s'; - - /// en: 'Resend code' - String get resend_code => 'Resend code'; -} - -// Path: staff_authentication.profile_setup_page -class TranslationsStaffAuthenticationProfileSetupPageEn { - TranslationsStaffAuthenticationProfileSetupPageEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Step $current of $total' - String step_indicator({required Object current, required Object total}) => 'Step ${current} of ${total}'; - - /// en: 'An error occurred' - String get error_occurred => 'An error occurred'; - - /// en: 'Complete Setup' - String get complete_setup_button => 'Complete Setup'; - - late final TranslationsStaffAuthenticationProfileSetupPageStepsEn steps = TranslationsStaffAuthenticationProfileSetupPageStepsEn._(_root); - late final TranslationsStaffAuthenticationProfileSetupPageBasicInfoEn basic_info = TranslationsStaffAuthenticationProfileSetupPageBasicInfoEn._(_root); - late final TranslationsStaffAuthenticationProfileSetupPageLocationEn location = TranslationsStaffAuthenticationProfileSetupPageLocationEn._(_root); - late final TranslationsStaffAuthenticationProfileSetupPageExperienceEn experience = TranslationsStaffAuthenticationProfileSetupPageExperienceEn._(_root); -} - -// Path: staff_authentication.common -class TranslationsStaffAuthenticationCommonEn { - TranslationsStaffAuthenticationCommonEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Having trouble? ' - String get trouble_question => 'Having trouble? '; - - /// en: 'Contact Support' - String get contact_support => 'Contact Support'; -} - -// Path: client_authentication.get_started_page -class TranslationsClientAuthenticationGetStartedPageEn { - TranslationsClientAuthenticationGetStartedPageEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Take Control of Your Shifts and Events' - String get title => 'Take Control of Your\nShifts and Events'; - - /// en: 'Streamline your operations with powerful tools to manage schedules, track performance, and keep your team on the same page—all in one place' - String get subtitle => 'Streamline your operations with powerful tools to manage schedules, track performance, and keep your team on the same page—all in one place'; - - /// en: 'Sign In' - String get sign_in_button => 'Sign In'; - - /// en: 'Create Account' - String get create_account_button => 'Create Account'; -} - -// Path: client_authentication.sign_in_page -class TranslationsClientAuthenticationSignInPageEn { - TranslationsClientAuthenticationSignInPageEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Welcome Back' - String get title => 'Welcome Back'; - - /// en: 'Sign in to manage your shifts and workers' - String get subtitle => 'Sign in to manage your shifts and workers'; - - /// en: 'Email' - String get email_label => 'Email'; - - /// en: 'Enter your email' - String get email_hint => 'Enter your email'; - - /// en: 'Password' - String get password_label => 'Password'; - - /// en: 'Enter your password' - String get password_hint => 'Enter your password'; - - /// en: 'Forgot Password?' - String get forgot_password => 'Forgot Password?'; - - /// en: 'Sign In' - String get sign_in_button => 'Sign In'; - - /// en: 'or' - String get or_divider => 'or'; - - /// en: 'Sign In with Apple' - String get social_apple => 'Sign In with Apple'; - - /// en: 'Sign In with Google' - String get social_google => 'Sign In with Google'; - - /// en: 'Don't have an account? ' - String get no_account => 'Don\'t have an account? '; - - /// en: 'Sign Up' - String get sign_up_link => 'Sign Up'; -} - -// Path: client_authentication.sign_up_page -class TranslationsClientAuthenticationSignUpPageEn { - TranslationsClientAuthenticationSignUpPageEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Create Account' - String get title => 'Create Account'; - - /// en: 'Get started with Krow for your business' - String get subtitle => 'Get started with Krow for your business'; - - /// en: 'Company Name' - String get company_label => 'Company Name'; - - /// en: 'Enter company name' - String get company_hint => 'Enter company name'; - - /// en: 'Email' - String get email_label => 'Email'; - - /// en: 'Enter your email' - String get email_hint => 'Enter your email'; - - /// en: 'Password' - String get password_label => 'Password'; - - /// en: 'Create a password' - String get password_hint => 'Create a password'; - - /// en: 'Confirm Password' - String get confirm_password_label => 'Confirm Password'; - - /// en: 'Confirm your password' - String get confirm_password_hint => 'Confirm your password'; - - /// en: 'Create Account' - String get create_account_button => 'Create Account'; - - /// en: 'or' - String get or_divider => 'or'; - - /// en: 'Sign Up with Apple' - String get social_apple => 'Sign Up with Apple'; - - /// en: 'Sign Up with Google' - String get social_google => 'Sign Up with Google'; - - /// en: 'Already have an account? ' - String get has_account => 'Already have an account? '; - - /// en: 'Sign In' - String get sign_in_link => 'Sign In'; -} - -// Path: client_home.dashboard -class TranslationsClientHomeDashboardEn { - TranslationsClientHomeDashboardEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Welcome back' - String get welcome_back => 'Welcome back'; - - /// en: 'Edit Mode Active' - String get edit_mode_active => 'Edit Mode Active'; - - /// en: 'Drag to reorder, toggle visibility' - String get drag_instruction => 'Drag to reorder, toggle visibility'; - - /// en: 'Reset' - String get reset => 'Reset'; - - /// en: 'Needed' - String get metric_needed => 'Needed'; - - /// en: 'Filled' - String get metric_filled => 'Filled'; - - /// en: 'Open' - String get metric_open => 'Open'; - - /// en: 'View all' - String get view_all => 'View all'; - - /// en: 'Save $amount/month' - String insight_lightbulb({required Object amount}) => 'Save ${amount}/month'; - - /// en: 'Book 48hrs ahead for better rates' - String get insight_tip => 'Book 48hrs ahead for better rates'; -} - -// Path: client_home.widgets -class TranslationsClientHomeWidgetsEn { - TranslationsClientHomeWidgetsEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Quick Actions' - String get actions => 'Quick Actions'; - - /// en: 'Reorder' - String get reorder => 'Reorder'; - - /// en: 'Today's Coverage' - String get coverage => 'Today\'s Coverage'; - - /// en: 'Spending Insights' - String get spending => 'Spending Insights'; - - /// en: 'Live Activity' - String get live_activity => 'Live Activity'; -} - -// Path: client_home.actions -class TranslationsClientHomeActionsEn { - TranslationsClientHomeActionsEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'RAPID' - String get rapid => 'RAPID'; - - /// en: 'Urgent same-day' - String get rapid_subtitle => 'Urgent same-day'; - - /// en: 'Create Order' - String get create_order => 'Create Order'; - - /// en: 'Schedule shifts' - String get create_order_subtitle => 'Schedule shifts'; -} - -// Path: client_home.reorder -class TranslationsClientHomeReorderEn { - TranslationsClientHomeReorderEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'REORDER' - String get title => 'REORDER'; - - /// en: 'Reorder' - String get reorder_button => 'Reorder'; - - /// en: '$amount/hr' - String per_hr({required Object amount}) => '${amount}/hr'; -} - -// Path: client_home.form -class TranslationsClientHomeFormEn { - TranslationsClientHomeFormEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Edit & Reorder' - String get edit_reorder => 'Edit & Reorder'; - - /// en: 'Post a New Shift' - String get post_new => 'Post a New Shift'; - - /// en: 'Review and edit the details before posting' - String get review_subtitle => 'Review and edit the details before posting'; - - /// en: 'Date *' - String get date_label => 'Date *'; - - /// en: 'mm/dd/yyyy' - String get date_hint => 'mm/dd/yyyy'; - - /// en: 'Location *' - String get location_label => 'Location *'; - - /// en: 'Business address' - String get location_hint => 'Business address'; - - /// en: 'Positions' - String get positions_title => 'Positions'; - - /// en: 'Add Position' - String get add_position => 'Add Position'; - - /// en: 'Role *' - String get role_label => 'Role *'; - - /// en: 'Select role' - String get role_hint => 'Select role'; - - /// en: 'Start Time *' - String get start_time => 'Start Time *'; - - /// en: 'End Time *' - String get end_time => 'End Time *'; - - /// en: 'Workers Needed *' - String get workers_needed => 'Workers Needed *'; - - /// en: 'Hourly Rate (\$) *' - String get hourly_rate => 'Hourly Rate (\$) *'; - - /// en: 'Post Shift' - String get post_shift => 'Post Shift'; -} - -// Path: staff_authentication.profile_setup_page.steps -class TranslationsStaffAuthenticationProfileSetupPageStepsEn { - TranslationsStaffAuthenticationProfileSetupPageStepsEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Basic Info' - String get basic => 'Basic Info'; - - /// en: 'Location' - String get location => 'Location'; - - /// en: 'Experience' - String get experience => 'Experience'; -} - -// Path: staff_authentication.profile_setup_page.basic_info -class TranslationsStaffAuthenticationProfileSetupPageBasicInfoEn { - TranslationsStaffAuthenticationProfileSetupPageBasicInfoEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Let's get to know you' - String get title => 'Let\'s get to know you'; - - /// en: 'Tell us a bit about yourself' - String get subtitle => 'Tell us a bit about yourself'; - - /// en: 'Full Name *' - String get full_name_label => 'Full Name *'; - - /// en: 'John Smith' - String get full_name_hint => 'John Smith'; - - /// en: 'Short Bio' - String get bio_label => 'Short Bio'; - - /// en: 'Experienced hospitality professional...' - String get bio_hint => 'Experienced hospitality professional...'; -} - -// Path: staff_authentication.profile_setup_page.location -class TranslationsStaffAuthenticationProfileSetupPageLocationEn { - TranslationsStaffAuthenticationProfileSetupPageLocationEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Where do you want to work?' - String get title => 'Where do you want to work?'; - - /// en: 'Add your preferred work locations' - String get subtitle => 'Add your preferred work locations'; - - /// en: 'Add Location *' - String get add_location_label => 'Add Location *'; - - /// en: 'City or ZIP code' - String get add_location_hint => 'City or ZIP code'; - - /// en: 'Add' - String get add_button => 'Add'; - - /// en: 'Max Distance: $distance miles' - String max_distance({required Object distance}) => 'Max Distance: ${distance} miles'; - - /// en: '5 mi' - String get min_dist_label => '5 mi'; - - /// en: '50 mi' - String get max_dist_label => '50 mi'; -} - -// Path: staff_authentication.profile_setup_page.experience -class TranslationsStaffAuthenticationProfileSetupPageExperienceEn { - TranslationsStaffAuthenticationProfileSetupPageExperienceEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'What are your skills?' - String get title => 'What are your skills?'; - - /// en: 'Select all that apply' - String get subtitle => 'Select all that apply'; - - /// en: 'Skills *' - String get skills_label => 'Skills *'; - - /// en: 'Preferred Industries' - String get industries_label => 'Preferred Industries'; - - late final TranslationsStaffAuthenticationProfileSetupPageExperienceSkillsEn skills = TranslationsStaffAuthenticationProfileSetupPageExperienceSkillsEn._(_root); - late final TranslationsStaffAuthenticationProfileSetupPageExperienceIndustriesEn industries = TranslationsStaffAuthenticationProfileSetupPageExperienceIndustriesEn._(_root); -} - -// Path: staff_authentication.profile_setup_page.experience.skills -class TranslationsStaffAuthenticationProfileSetupPageExperienceSkillsEn { - TranslationsStaffAuthenticationProfileSetupPageExperienceSkillsEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Food Service' - String get food_service => 'Food Service'; - - /// en: 'Bartending' - String get bartending => 'Bartending'; - - /// en: 'Warehouse' - String get warehouse => 'Warehouse'; - - /// en: 'Retail' - String get retail => 'Retail'; - - /// en: 'Events' - String get events => 'Events'; - - /// en: 'Customer Service' - String get customer_service => 'Customer Service'; - - /// en: 'Cleaning' - String get cleaning => 'Cleaning'; - - /// en: 'Security' - String get security => 'Security'; - - /// en: 'Driving' - String get driving => 'Driving'; - - /// en: 'Cooking' - String get cooking => 'Cooking'; -} - -// Path: staff_authentication.profile_setup_page.experience.industries -class TranslationsStaffAuthenticationProfileSetupPageExperienceIndustriesEn { - TranslationsStaffAuthenticationProfileSetupPageExperienceIndustriesEn._(this._root); - - final Translations _root; // ignore: unused_field - - // Translations - - /// en: 'Hospitality' - String get hospitality => 'Hospitality'; - - /// en: 'Food Service' - String get food_service => 'Food Service'; - - /// en: 'Warehouse' - String get warehouse => 'Warehouse'; - - /// en: 'Events' - String get events => 'Events'; - - /// en: 'Retail' - String get retail => 'Retail'; - - /// en: 'Healthcare' - String get healthcare => 'Healthcare'; -} - -/// The flat map containing all translations for locale . -/// Only for edge cases! For simple maps, use the map function of this library. -/// -/// The Dart AOT compiler has issues with very large switch statements, -/// so the map is split into smaller functions (512 entries each). -extension on Translations { - dynamic _flatMapFunction(String path) { - return switch (path) { - 'common.ok' => 'OK', - 'common.cancel' => 'Cancel', - 'common.save' => 'Save', - 'common.delete' => 'Delete', - 'common.continue_text' => 'Continue', - 'settings.language' => 'Language', - 'settings.change_language' => 'Change Language', - 'staff_authentication.get_started_page.title_part1' => 'Work, Grow, ', - 'staff_authentication.get_started_page.title_part2' => 'Elevate', - 'staff_authentication.get_started_page.subtitle' => 'Build your career in hospitality with \nflexibility and freedom.', - 'staff_authentication.get_started_page.sign_up_button' => 'Sign Up', - 'staff_authentication.get_started_page.log_in_button' => 'Log In', - 'staff_authentication.phone_verification_page.validation_error' => 'Please enter a valid 10-digit phone number', - 'staff_authentication.phone_verification_page.send_code_button' => 'Send Code', - 'staff_authentication.phone_verification_page.enter_code_title' => 'Enter verification code', - 'staff_authentication.phone_verification_page.code_sent_message' => 'We sent a 6-digit code to ', - 'staff_authentication.phone_verification_page.code_sent_instruction' => '. Enter it below to verify your account.', - 'staff_authentication.phone_input.title' => 'Verify your phone number', - 'staff_authentication.phone_input.subtitle' => 'We\'ll send you a verification code to get started.', - 'staff_authentication.phone_input.label' => 'Phone Number', - 'staff_authentication.phone_input.hint' => 'Enter your number', - 'staff_authentication.otp_verification.did_not_get_code' => 'Didn\'t get the code ?', - 'staff_authentication.otp_verification.resend_in' => ({required Object seconds}) => 'Resend in ${seconds} s', - 'staff_authentication.otp_verification.resend_code' => 'Resend code', - 'staff_authentication.profile_setup_page.step_indicator' => ({required Object current, required Object total}) => 'Step ${current} of ${total}', - 'staff_authentication.profile_setup_page.error_occurred' => 'An error occurred', - 'staff_authentication.profile_setup_page.complete_setup_button' => 'Complete Setup', - 'staff_authentication.profile_setup_page.steps.basic' => 'Basic Info', - 'staff_authentication.profile_setup_page.steps.location' => 'Location', - 'staff_authentication.profile_setup_page.steps.experience' => 'Experience', - 'staff_authentication.profile_setup_page.basic_info.title' => 'Let\'s get to know you', - 'staff_authentication.profile_setup_page.basic_info.subtitle' => 'Tell us a bit about yourself', - 'staff_authentication.profile_setup_page.basic_info.full_name_label' => 'Full Name *', - 'staff_authentication.profile_setup_page.basic_info.full_name_hint' => 'John Smith', - 'staff_authentication.profile_setup_page.basic_info.bio_label' => 'Short Bio', - 'staff_authentication.profile_setup_page.basic_info.bio_hint' => 'Experienced hospitality professional...', - 'staff_authentication.profile_setup_page.location.title' => 'Where do you want to work?', - 'staff_authentication.profile_setup_page.location.subtitle' => 'Add your preferred work locations', - 'staff_authentication.profile_setup_page.location.add_location_label' => 'Add Location *', - 'staff_authentication.profile_setup_page.location.add_location_hint' => 'City or ZIP code', - 'staff_authentication.profile_setup_page.location.add_button' => 'Add', - 'staff_authentication.profile_setup_page.location.max_distance' => ({required Object distance}) => 'Max Distance: ${distance} miles', - 'staff_authentication.profile_setup_page.location.min_dist_label' => '5 mi', - 'staff_authentication.profile_setup_page.location.max_dist_label' => '50 mi', - 'staff_authentication.profile_setup_page.experience.title' => 'What are your skills?', - 'staff_authentication.profile_setup_page.experience.subtitle' => 'Select all that apply', - 'staff_authentication.profile_setup_page.experience.skills_label' => 'Skills *', - 'staff_authentication.profile_setup_page.experience.industries_label' => 'Preferred Industries', - 'staff_authentication.profile_setup_page.experience.skills.food_service' => 'Food Service', - 'staff_authentication.profile_setup_page.experience.skills.bartending' => 'Bartending', - 'staff_authentication.profile_setup_page.experience.skills.warehouse' => 'Warehouse', - 'staff_authentication.profile_setup_page.experience.skills.retail' => 'Retail', - 'staff_authentication.profile_setup_page.experience.skills.events' => 'Events', - 'staff_authentication.profile_setup_page.experience.skills.customer_service' => 'Customer Service', - 'staff_authentication.profile_setup_page.experience.skills.cleaning' => 'Cleaning', - 'staff_authentication.profile_setup_page.experience.skills.security' => 'Security', - 'staff_authentication.profile_setup_page.experience.skills.driving' => 'Driving', - 'staff_authentication.profile_setup_page.experience.skills.cooking' => 'Cooking', - 'staff_authentication.profile_setup_page.experience.industries.hospitality' => 'Hospitality', - 'staff_authentication.profile_setup_page.experience.industries.food_service' => 'Food Service', - 'staff_authentication.profile_setup_page.experience.industries.warehouse' => 'Warehouse', - 'staff_authentication.profile_setup_page.experience.industries.events' => 'Events', - 'staff_authentication.profile_setup_page.experience.industries.retail' => 'Retail', - 'staff_authentication.profile_setup_page.experience.industries.healthcare' => 'Healthcare', - 'staff_authentication.common.trouble_question' => 'Having trouble? ', - 'staff_authentication.common.contact_support' => 'Contact Support', - 'client_authentication.get_started_page.title' => 'Take Control of Your\nShifts and Events', - 'client_authentication.get_started_page.subtitle' => 'Streamline your operations with powerful tools to manage schedules, track performance, and keep your team on the same page—all in one place', - 'client_authentication.get_started_page.sign_in_button' => 'Sign In', - 'client_authentication.get_started_page.create_account_button' => 'Create Account', - 'client_authentication.sign_in_page.title' => 'Welcome Back', - 'client_authentication.sign_in_page.subtitle' => 'Sign in to manage your shifts and workers', - 'client_authentication.sign_in_page.email_label' => 'Email', - 'client_authentication.sign_in_page.email_hint' => 'Enter your email', - 'client_authentication.sign_in_page.password_label' => 'Password', - 'client_authentication.sign_in_page.password_hint' => 'Enter your password', - 'client_authentication.sign_in_page.forgot_password' => 'Forgot Password?', - 'client_authentication.sign_in_page.sign_in_button' => 'Sign In', - 'client_authentication.sign_in_page.or_divider' => 'or', - 'client_authentication.sign_in_page.social_apple' => 'Sign In with Apple', - 'client_authentication.sign_in_page.social_google' => 'Sign In with Google', - 'client_authentication.sign_in_page.no_account' => 'Don\'t have an account? ', - 'client_authentication.sign_in_page.sign_up_link' => 'Sign Up', - 'client_authentication.sign_up_page.title' => 'Create Account', - 'client_authentication.sign_up_page.subtitle' => 'Get started with Krow for your business', - 'client_authentication.sign_up_page.company_label' => 'Company Name', - 'client_authentication.sign_up_page.company_hint' => 'Enter company name', - 'client_authentication.sign_up_page.email_label' => 'Email', - 'client_authentication.sign_up_page.email_hint' => 'Enter your email', - 'client_authentication.sign_up_page.password_label' => 'Password', - 'client_authentication.sign_up_page.password_hint' => 'Create a password', - 'client_authentication.sign_up_page.confirm_password_label' => 'Confirm Password', - 'client_authentication.sign_up_page.confirm_password_hint' => 'Confirm your password', - 'client_authentication.sign_up_page.create_account_button' => 'Create Account', - 'client_authentication.sign_up_page.or_divider' => 'or', - 'client_authentication.sign_up_page.social_apple' => 'Sign Up with Apple', - 'client_authentication.sign_up_page.social_google' => 'Sign Up with Google', - 'client_authentication.sign_up_page.has_account' => 'Already have an account? ', - 'client_authentication.sign_up_page.sign_in_link' => 'Sign In', - 'client_home.shift_created_success' => 'Shift order submitted successfully', - 'client_home.dashboard.welcome_back' => 'Welcome back', - 'client_home.dashboard.edit_mode_active' => 'Edit Mode Active', - 'client_home.dashboard.drag_instruction' => 'Drag to reorder, toggle visibility', - 'client_home.dashboard.reset' => 'Reset', - 'client_home.dashboard.metric_needed' => 'Needed', - 'client_home.dashboard.metric_filled' => 'Filled', - 'client_home.dashboard.metric_open' => 'Open', - 'client_home.dashboard.view_all' => 'View all', - 'client_home.dashboard.insight_lightbulb' => ({required Object amount}) => 'Save ${amount}/month', - 'client_home.dashboard.insight_tip' => 'Book 48hrs ahead for better rates', - 'client_home.widgets.actions' => 'Quick Actions', - 'client_home.widgets.reorder' => 'Reorder', - 'client_home.widgets.coverage' => 'Today\'s Coverage', - 'client_home.widgets.spending' => 'Spending Insights', - 'client_home.widgets.live_activity' => 'Live Activity', - 'client_home.actions.rapid' => 'RAPID', - 'client_home.actions.rapid_subtitle' => 'Urgent same-day', - 'client_home.actions.create_order' => 'Create Order', - 'client_home.actions.create_order_subtitle' => 'Schedule shifts', - 'client_home.reorder.title' => 'REORDER', - 'client_home.reorder.reorder_button' => 'Reorder', - 'client_home.reorder.per_hr' => ({required Object amount}) => '${amount}/hr', - 'client_home.form.edit_reorder' => 'Edit & Reorder', - 'client_home.form.post_new' => 'Post a New Shift', - 'client_home.form.review_subtitle' => 'Review and edit the details before posting', - 'client_home.form.date_label' => 'Date *', - 'client_home.form.date_hint' => 'mm/dd/yyyy', - 'client_home.form.location_label' => 'Location *', - 'client_home.form.location_hint' => 'Business address', - 'client_home.form.positions_title' => 'Positions', - 'client_home.form.add_position' => 'Add Position', - 'client_home.form.role_label' => 'Role *', - 'client_home.form.role_hint' => 'Select role', - 'client_home.form.start_time' => 'Start Time *', - 'client_home.form.end_time' => 'End Time *', - 'client_home.form.workers_needed' => 'Workers Needed *', - 'client_home.form.hourly_rate' => 'Hourly Rate (\$) *', - 'client_home.form.post_shift' => 'Post Shift', - _ => null, - }; - } -} diff --git a/apps/packages/core_localization/lib/src/l10n/strings_es.g.dart b/apps/packages/core_localization/lib/src/l10n/strings_es.g.dart deleted file mode 100644 index 10fd7a44..00000000 --- a/apps/packages/core_localization/lib/src/l10n/strings_es.g.dart +++ /dev/null @@ -1,579 +0,0 @@ -/// -/// Generated file. Do not edit. -/// -// coverage:ignore-file -// ignore_for_file: type=lint, unused_import -// dart format off - -import 'package:flutter/widgets.dart'; -import 'package:intl/intl.dart'; -import 'package:slang/generated.dart'; -import 'strings.g.dart'; - -// Path: -class TranslationsEs with BaseTranslations implements Translations { - /// You can call this constructor and build your own translation instance of this locale. - /// Constructing via the enum [AppLocale.build] is preferred. - TranslationsEs({Map? overrides, PluralResolver? cardinalResolver, PluralResolver? ordinalResolver, TranslationMetadata? meta}) - : assert(overrides == null, 'Set "translation_overrides: true" in order to enable this feature.'), - $meta = meta ?? TranslationMetadata( - locale: AppLocale.es, - overrides: overrides ?? {}, - cardinalResolver: cardinalResolver, - ordinalResolver: ordinalResolver, - ) { - $meta.setFlatMapFunction(_flatMapFunction); - } - - /// Metadata for the translations of . - @override final TranslationMetadata $meta; - - /// Access flat map - @override dynamic operator[](String key) => $meta.getTranslation(key); - - late final TranslationsEs _root = this; // ignore: unused_field - - @override - TranslationsEs $copyWith({TranslationMetadata? meta}) => TranslationsEs(meta: meta ?? this.$meta); - - // Translations - @override late final _TranslationsCommonEs common = _TranslationsCommonEs._(_root); - @override late final _TranslationsSettingsEs settings = _TranslationsSettingsEs._(_root); - @override late final _TranslationsStaffAuthenticationEs staff_authentication = _TranslationsStaffAuthenticationEs._(_root); - @override late final _TranslationsClientAuthenticationEs client_authentication = _TranslationsClientAuthenticationEs._(_root); - @override late final _TranslationsClientHomeEs client_home = _TranslationsClientHomeEs._(_root); -} - -// Path: common -class _TranslationsCommonEs implements TranslationsCommonEn { - _TranslationsCommonEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get ok => 'Aceptar'; - @override String get cancel => 'Cancelar'; - @override String get save => 'Guardar'; - @override String get delete => 'Eliminar'; - @override String get continue_text => 'Continuar'; -} - -// Path: settings -class _TranslationsSettingsEs implements TranslationsSettingsEn { - _TranslationsSettingsEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get language => 'Idioma'; - @override String get change_language => 'Cambiar Idioma'; -} - -// Path: staff_authentication -class _TranslationsStaffAuthenticationEs implements TranslationsStaffAuthenticationEn { - _TranslationsStaffAuthenticationEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override late final _TranslationsStaffAuthenticationGetStartedPageEs get_started_page = _TranslationsStaffAuthenticationGetStartedPageEs._(_root); - @override late final _TranslationsStaffAuthenticationPhoneVerificationPageEs phone_verification_page = _TranslationsStaffAuthenticationPhoneVerificationPageEs._(_root); - @override late final _TranslationsStaffAuthenticationPhoneInputEs phone_input = _TranslationsStaffAuthenticationPhoneInputEs._(_root); - @override late final _TranslationsStaffAuthenticationOtpVerificationEs otp_verification = _TranslationsStaffAuthenticationOtpVerificationEs._(_root); - @override late final _TranslationsStaffAuthenticationProfileSetupPageEs profile_setup_page = _TranslationsStaffAuthenticationProfileSetupPageEs._(_root); - @override late final _TranslationsStaffAuthenticationCommonEs common = _TranslationsStaffAuthenticationCommonEs._(_root); -} - -// Path: client_authentication -class _TranslationsClientAuthenticationEs implements TranslationsClientAuthenticationEn { - _TranslationsClientAuthenticationEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override late final _TranslationsClientAuthenticationGetStartedPageEs get_started_page = _TranslationsClientAuthenticationGetStartedPageEs._(_root); - @override late final _TranslationsClientAuthenticationSignInPageEs sign_in_page = _TranslationsClientAuthenticationSignInPageEs._(_root); - @override late final _TranslationsClientAuthenticationSignUpPageEs sign_up_page = _TranslationsClientAuthenticationSignUpPageEs._(_root); -} - -// Path: client_home -class _TranslationsClientHomeEs implements TranslationsClientHomeEn { - _TranslationsClientHomeEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get shift_created_success => 'Orden de turno enviada con éxito'; - @override late final _TranslationsClientHomeDashboardEs dashboard = _TranslationsClientHomeDashboardEs._(_root); - @override late final _TranslationsClientHomeWidgetsEs widgets = _TranslationsClientHomeWidgetsEs._(_root); - @override late final _TranslationsClientHomeActionsEs actions = _TranslationsClientHomeActionsEs._(_root); - @override late final _TranslationsClientHomeReorderEs reorder = _TranslationsClientHomeReorderEs._(_root); - @override late final _TranslationsClientHomeFormEs form = _TranslationsClientHomeFormEs._(_root); -} - -// Path: staff_authentication.get_started_page -class _TranslationsStaffAuthenticationGetStartedPageEs implements TranslationsStaffAuthenticationGetStartedPageEn { - _TranslationsStaffAuthenticationGetStartedPageEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get title_part1 => 'Trabaja, Crece, '; - @override String get title_part2 => 'Elévate'; - @override String get subtitle => 'Construye tu carrera en hostelería con \nflexibilidad y libertad.'; - @override String get sign_up_button => 'Registrarse'; - @override String get log_in_button => 'Iniciar sesión'; -} - -// Path: staff_authentication.phone_verification_page -class _TranslationsStaffAuthenticationPhoneVerificationPageEs implements TranslationsStaffAuthenticationPhoneVerificationPageEn { - _TranslationsStaffAuthenticationPhoneVerificationPageEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get validation_error => 'Por favor, ingresa un número de teléfono válido de 10 dígitos'; - @override String get send_code_button => 'Enviar código'; - @override String get enter_code_title => 'Ingresa el código de verificación'; - @override String get code_sent_message => 'Enviamos un código de 6 dígitos a '; - @override String get code_sent_instruction => '. Ingrésalo a continuación para verificar tu cuenta.'; -} - -// Path: staff_authentication.phone_input -class _TranslationsStaffAuthenticationPhoneInputEs implements TranslationsStaffAuthenticationPhoneInputEn { - _TranslationsStaffAuthenticationPhoneInputEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get title => 'Verifica tu número de teléfono'; - @override String get subtitle => 'Te enviaremos un código de verificación para comenzar.'; - @override String get label => 'Número de teléfono'; - @override String get hint => 'Ingresa tu número'; -} - -// Path: staff_authentication.otp_verification -class _TranslationsStaffAuthenticationOtpVerificationEs implements TranslationsStaffAuthenticationOtpVerificationEn { - _TranslationsStaffAuthenticationOtpVerificationEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get did_not_get_code => '¿No recibiste el código?'; - @override String resend_in({required Object seconds}) => 'Reenviar en ${seconds} s'; - @override String get resend_code => 'Reenviar código'; -} - -// Path: staff_authentication.profile_setup_page -class _TranslationsStaffAuthenticationProfileSetupPageEs implements TranslationsStaffAuthenticationProfileSetupPageEn { - _TranslationsStaffAuthenticationProfileSetupPageEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String step_indicator({required Object current, required Object total}) => 'Paso ${current} de ${total}'; - @override String get error_occurred => 'Ocurrió un error'; - @override String get complete_setup_button => 'Completar configuración'; - @override late final _TranslationsStaffAuthenticationProfileSetupPageStepsEs steps = _TranslationsStaffAuthenticationProfileSetupPageStepsEs._(_root); - @override late final _TranslationsStaffAuthenticationProfileSetupPageBasicInfoEs basic_info = _TranslationsStaffAuthenticationProfileSetupPageBasicInfoEs._(_root); - @override late final _TranslationsStaffAuthenticationProfileSetupPageLocationEs location = _TranslationsStaffAuthenticationProfileSetupPageLocationEs._(_root); - @override late final _TranslationsStaffAuthenticationProfileSetupPageExperienceEs experience = _TranslationsStaffAuthenticationProfileSetupPageExperienceEs._(_root); -} - -// Path: staff_authentication.common -class _TranslationsStaffAuthenticationCommonEs implements TranslationsStaffAuthenticationCommonEn { - _TranslationsStaffAuthenticationCommonEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get trouble_question => '¿Tienes problemas? '; - @override String get contact_support => 'Contactar a soporte'; -} - -// Path: client_authentication.get_started_page -class _TranslationsClientAuthenticationGetStartedPageEs implements TranslationsClientAuthenticationGetStartedPageEn { - _TranslationsClientAuthenticationGetStartedPageEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get title => 'Toma el control de tus\nturnos y eventos'; - @override String get subtitle => 'Optimiza tus operaciones con potentes herramientas para gestionar horarios, realizar un seguimiento del rendimiento y mantener a tu equipo en la misma página, todo en un solo lugar'; - @override String get sign_in_button => 'Iniciar sesión'; - @override String get create_account_button => 'Crear cuenta'; -} - -// Path: client_authentication.sign_in_page -class _TranslationsClientAuthenticationSignInPageEs implements TranslationsClientAuthenticationSignInPageEn { - _TranslationsClientAuthenticationSignInPageEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get title => 'Bienvenido de nuevo'; - @override String get subtitle => 'Inicia sesión para gestionar tus turnos y trabajadores'; - @override String get email_label => 'Correo electrónico'; - @override String get email_hint => 'Ingresa tu correo electrónico'; - @override String get password_label => 'Contraseña'; - @override String get password_hint => 'Ingresa tu contraseña'; - @override String get forgot_password => '¿Olvidaste tu contraseña?'; - @override String get sign_in_button => 'Iniciar sesión'; - @override String get or_divider => 'o'; - @override String get social_apple => 'Iniciar sesión con Apple'; - @override String get social_google => 'Iniciar sesión con Google'; - @override String get no_account => '¿No tienes una cuenta? '; - @override String get sign_up_link => 'Regístrate'; -} - -// Path: client_authentication.sign_up_page -class _TranslationsClientAuthenticationSignUpPageEs implements TranslationsClientAuthenticationSignUpPageEn { - _TranslationsClientAuthenticationSignUpPageEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get title => 'Crear cuenta'; - @override String get subtitle => 'Comienza con Krow para tu negocio'; - @override String get company_label => 'Nombre de la empresa'; - @override String get company_hint => 'Ingresa el nombre de la empresa'; - @override String get email_label => 'Correo electrónico'; - @override String get email_hint => 'Ingresa tu correo electrónico'; - @override String get password_label => 'Contraseña'; - @override String get password_hint => 'Crea una contraseña'; - @override String get confirm_password_label => 'Confirmar contraseña'; - @override String get confirm_password_hint => 'Confirma tu contraseña'; - @override String get create_account_button => 'Crear cuenta'; - @override String get or_divider => 'o'; - @override String get social_apple => 'Regístrate con Apple'; - @override String get social_google => 'Regístrate con Google'; - @override String get has_account => '¿Ya tienes una cuenta? '; - @override String get sign_in_link => 'Iniciar sesión'; -} - -// Path: client_home.dashboard -class _TranslationsClientHomeDashboardEs implements TranslationsClientHomeDashboardEn { - _TranslationsClientHomeDashboardEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get welcome_back => 'Bienvenido de nuevo'; - @override String get edit_mode_active => 'Modo Edición Activo'; - @override String get drag_instruction => 'Arrastra para reordenar, cambia la visibilidad'; - @override String get reset => 'Restablecer'; - @override String get metric_needed => 'Necesario'; - @override String get metric_filled => 'Lleno'; - @override String get metric_open => 'Abierto'; - @override String get view_all => 'Ver todo'; - @override String insight_lightbulb({required Object amount}) => 'Ahorra ${amount}/mes'; - @override String get insight_tip => 'Reserva con 48h de antelación para mejores tarifas'; -} - -// Path: client_home.widgets -class _TranslationsClientHomeWidgetsEs implements TranslationsClientHomeWidgetsEn { - _TranslationsClientHomeWidgetsEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get actions => 'Acciones Rápidas'; - @override String get reorder => 'Reordenar'; - @override String get coverage => 'Cobertura de Hoy'; - @override String get spending => 'Información de Gastos'; - @override String get live_activity => 'Actividad en Vivo'; -} - -// Path: client_home.actions -class _TranslationsClientHomeActionsEs implements TranslationsClientHomeActionsEn { - _TranslationsClientHomeActionsEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get rapid => 'RÁPIDO'; - @override String get rapid_subtitle => 'Urgente mismo día'; - @override String get create_order => 'Crear Orden'; - @override String get create_order_subtitle => 'Programar turnos'; -} - -// Path: client_home.reorder -class _TranslationsClientHomeReorderEs implements TranslationsClientHomeReorderEn { - _TranslationsClientHomeReorderEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get title => 'REORDENAR'; - @override String get reorder_button => 'Reordenar'; - @override String per_hr({required Object amount}) => '${amount}/hr'; -} - -// Path: client_home.form -class _TranslationsClientHomeFormEs implements TranslationsClientHomeFormEn { - _TranslationsClientHomeFormEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get edit_reorder => 'Editar y Reordenar'; - @override String get post_new => 'Publicar un Nuevo Turno'; - @override String get review_subtitle => 'Revisa y edita los detalles antes de publicar'; - @override String get date_label => 'Fecha *'; - @override String get date_hint => 'mm/dd/aaaa'; - @override String get location_label => 'Ubicación *'; - @override String get location_hint => 'Dirección del negocio'; - @override String get positions_title => 'Posiciones'; - @override String get add_position => 'Añadir Posición'; - @override String get role_label => 'Rol *'; - @override String get role_hint => 'Seleccionar rol'; - @override String get start_time => 'Hora de Inicio *'; - @override String get end_time => 'Hora de Fin *'; - @override String get workers_needed => 'Trabajadores Necesarios *'; - @override String get hourly_rate => 'Tarifa por hora (\$) *'; - @override String get post_shift => 'Publicar Turno'; -} - -// Path: staff_authentication.profile_setup_page.steps -class _TranslationsStaffAuthenticationProfileSetupPageStepsEs implements TranslationsStaffAuthenticationProfileSetupPageStepsEn { - _TranslationsStaffAuthenticationProfileSetupPageStepsEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get basic => 'Información básica'; - @override String get location => 'Ubicación'; - @override String get experience => 'Experiencia'; -} - -// Path: staff_authentication.profile_setup_page.basic_info -class _TranslationsStaffAuthenticationProfileSetupPageBasicInfoEs implements TranslationsStaffAuthenticationProfileSetupPageBasicInfoEn { - _TranslationsStaffAuthenticationProfileSetupPageBasicInfoEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get title => 'Conozcámonos'; - @override String get subtitle => 'Cuéntanos un poco sobre ti'; - @override String get full_name_label => 'Nombre completo *'; - @override String get full_name_hint => 'Juan Pérez'; - @override String get bio_label => 'Biografía corta'; - @override String get bio_hint => 'Profesional experimentado en hostelería...'; -} - -// Path: staff_authentication.profile_setup_page.location -class _TranslationsStaffAuthenticationProfileSetupPageLocationEs implements TranslationsStaffAuthenticationProfileSetupPageLocationEn { - _TranslationsStaffAuthenticationProfileSetupPageLocationEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get title => '¿Dónde quieres trabajar?'; - @override String get subtitle => 'Agrega tus ubicaciones de trabajo preferidas'; - @override String get add_location_label => 'Agregar ubicación *'; - @override String get add_location_hint => 'Ciudad o código postal'; - @override String get add_button => 'Agregar'; - @override String max_distance({required Object distance}) => 'Distancia máxima: ${distance} millas'; - @override String get min_dist_label => '5 mi'; - @override String get max_dist_label => '50 mi'; -} - -// Path: staff_authentication.profile_setup_page.experience -class _TranslationsStaffAuthenticationProfileSetupPageExperienceEs implements TranslationsStaffAuthenticationProfileSetupPageExperienceEn { - _TranslationsStaffAuthenticationProfileSetupPageExperienceEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get title => '¿Cuáles son tus habilidades?'; - @override String get subtitle => 'Selecciona todas las que correspondan'; - @override String get skills_label => 'Habilidades *'; - @override String get industries_label => 'Industrias preferidas'; - @override late final _TranslationsStaffAuthenticationProfileSetupPageExperienceSkillsEs skills = _TranslationsStaffAuthenticationProfileSetupPageExperienceSkillsEs._(_root); - @override late final _TranslationsStaffAuthenticationProfileSetupPageExperienceIndustriesEs industries = _TranslationsStaffAuthenticationProfileSetupPageExperienceIndustriesEs._(_root); -} - -// Path: staff_authentication.profile_setup_page.experience.skills -class _TranslationsStaffAuthenticationProfileSetupPageExperienceSkillsEs implements TranslationsStaffAuthenticationProfileSetupPageExperienceSkillsEn { - _TranslationsStaffAuthenticationProfileSetupPageExperienceSkillsEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get food_service => 'Servicio de comida'; - @override String get bartending => 'Preparación de bebidas'; - @override String get warehouse => 'Almacén'; - @override String get retail => 'Venta minorista'; - @override String get events => 'Eventos'; - @override String get customer_service => 'Servicio al cliente'; - @override String get cleaning => 'Limpieza'; - @override String get security => 'Seguridad'; - @override String get driving => 'Conducción'; - @override String get cooking => 'Cocina'; -} - -// Path: staff_authentication.profile_setup_page.experience.industries -class _TranslationsStaffAuthenticationProfileSetupPageExperienceIndustriesEs implements TranslationsStaffAuthenticationProfileSetupPageExperienceIndustriesEn { - _TranslationsStaffAuthenticationProfileSetupPageExperienceIndustriesEs._(this._root); - - final TranslationsEs _root; // ignore: unused_field - - // Translations - @override String get hospitality => 'Hostelería'; - @override String get food_service => 'Servicio de comida'; - @override String get warehouse => 'Almacén'; - @override String get events => 'Eventos'; - @override String get retail => 'Venta minorista'; - @override String get healthcare => 'Atención médica'; -} - -/// The flat map containing all translations for locale . -/// Only for edge cases! For simple maps, use the map function of this library. -/// -/// The Dart AOT compiler has issues with very large switch statements, -/// so the map is split into smaller functions (512 entries each). -extension on TranslationsEs { - dynamic _flatMapFunction(String path) { - return switch (path) { - 'common.ok' => 'Aceptar', - 'common.cancel' => 'Cancelar', - 'common.save' => 'Guardar', - 'common.delete' => 'Eliminar', - 'common.continue_text' => 'Continuar', - 'settings.language' => 'Idioma', - 'settings.change_language' => 'Cambiar Idioma', - 'staff_authentication.get_started_page.title_part1' => 'Trabaja, Crece, ', - 'staff_authentication.get_started_page.title_part2' => 'Elévate', - 'staff_authentication.get_started_page.subtitle' => 'Construye tu carrera en hostelería con \nflexibilidad y libertad.', - 'staff_authentication.get_started_page.sign_up_button' => 'Registrarse', - 'staff_authentication.get_started_page.log_in_button' => 'Iniciar sesión', - 'staff_authentication.phone_verification_page.validation_error' => 'Por favor, ingresa un número de teléfono válido de 10 dígitos', - 'staff_authentication.phone_verification_page.send_code_button' => 'Enviar código', - 'staff_authentication.phone_verification_page.enter_code_title' => 'Ingresa el código de verificación', - 'staff_authentication.phone_verification_page.code_sent_message' => 'Enviamos un código de 6 dígitos a ', - 'staff_authentication.phone_verification_page.code_sent_instruction' => '. Ingrésalo a continuación para verificar tu cuenta.', - 'staff_authentication.phone_input.title' => 'Verifica tu número de teléfono', - 'staff_authentication.phone_input.subtitle' => 'Te enviaremos un código de verificación para comenzar.', - 'staff_authentication.phone_input.label' => 'Número de teléfono', - 'staff_authentication.phone_input.hint' => 'Ingresa tu número', - 'staff_authentication.otp_verification.did_not_get_code' => '¿No recibiste el código?', - 'staff_authentication.otp_verification.resend_in' => ({required Object seconds}) => 'Reenviar en ${seconds} s', - 'staff_authentication.otp_verification.resend_code' => 'Reenviar código', - 'staff_authentication.profile_setup_page.step_indicator' => ({required Object current, required Object total}) => 'Paso ${current} de ${total}', - 'staff_authentication.profile_setup_page.error_occurred' => 'Ocurrió un error', - 'staff_authentication.profile_setup_page.complete_setup_button' => 'Completar configuración', - 'staff_authentication.profile_setup_page.steps.basic' => 'Información básica', - 'staff_authentication.profile_setup_page.steps.location' => 'Ubicación', - 'staff_authentication.profile_setup_page.steps.experience' => 'Experiencia', - 'staff_authentication.profile_setup_page.basic_info.title' => 'Conozcámonos', - 'staff_authentication.profile_setup_page.basic_info.subtitle' => 'Cuéntanos un poco sobre ti', - 'staff_authentication.profile_setup_page.basic_info.full_name_label' => 'Nombre completo *', - 'staff_authentication.profile_setup_page.basic_info.full_name_hint' => 'Juan Pérez', - 'staff_authentication.profile_setup_page.basic_info.bio_label' => 'Biografía corta', - 'staff_authentication.profile_setup_page.basic_info.bio_hint' => 'Profesional experimentado en hostelería...', - 'staff_authentication.profile_setup_page.location.title' => '¿Dónde quieres trabajar?', - 'staff_authentication.profile_setup_page.location.subtitle' => 'Agrega tus ubicaciones de trabajo preferidas', - 'staff_authentication.profile_setup_page.location.add_location_label' => 'Agregar ubicación *', - 'staff_authentication.profile_setup_page.location.add_location_hint' => 'Ciudad o código postal', - 'staff_authentication.profile_setup_page.location.add_button' => 'Agregar', - 'staff_authentication.profile_setup_page.location.max_distance' => ({required Object distance}) => 'Distancia máxima: ${distance} millas', - 'staff_authentication.profile_setup_page.location.min_dist_label' => '5 mi', - 'staff_authentication.profile_setup_page.location.max_dist_label' => '50 mi', - 'staff_authentication.profile_setup_page.experience.title' => '¿Cuáles son tus habilidades?', - 'staff_authentication.profile_setup_page.experience.subtitle' => 'Selecciona todas las que correspondan', - 'staff_authentication.profile_setup_page.experience.skills_label' => 'Habilidades *', - 'staff_authentication.profile_setup_page.experience.industries_label' => 'Industrias preferidas', - 'staff_authentication.profile_setup_page.experience.skills.food_service' => 'Servicio de comida', - 'staff_authentication.profile_setup_page.experience.skills.bartending' => 'Preparación de bebidas', - 'staff_authentication.profile_setup_page.experience.skills.warehouse' => 'Almacén', - 'staff_authentication.profile_setup_page.experience.skills.retail' => 'Venta minorista', - 'staff_authentication.profile_setup_page.experience.skills.events' => 'Eventos', - 'staff_authentication.profile_setup_page.experience.skills.customer_service' => 'Servicio al cliente', - 'staff_authentication.profile_setup_page.experience.skills.cleaning' => 'Limpieza', - 'staff_authentication.profile_setup_page.experience.skills.security' => 'Seguridad', - 'staff_authentication.profile_setup_page.experience.skills.driving' => 'Conducción', - 'staff_authentication.profile_setup_page.experience.skills.cooking' => 'Cocina', - 'staff_authentication.profile_setup_page.experience.industries.hospitality' => 'Hostelería', - 'staff_authentication.profile_setup_page.experience.industries.food_service' => 'Servicio de comida', - 'staff_authentication.profile_setup_page.experience.industries.warehouse' => 'Almacén', - 'staff_authentication.profile_setup_page.experience.industries.events' => 'Eventos', - 'staff_authentication.profile_setup_page.experience.industries.retail' => 'Venta minorista', - 'staff_authentication.profile_setup_page.experience.industries.healthcare' => 'Atención médica', - 'staff_authentication.common.trouble_question' => '¿Tienes problemas? ', - 'staff_authentication.common.contact_support' => 'Contactar a soporte', - 'client_authentication.get_started_page.title' => 'Toma el control de tus\nturnos y eventos', - 'client_authentication.get_started_page.subtitle' => 'Optimiza tus operaciones con potentes herramientas para gestionar horarios, realizar un seguimiento del rendimiento y mantener a tu equipo en la misma página, todo en un solo lugar', - 'client_authentication.get_started_page.sign_in_button' => 'Iniciar sesión', - 'client_authentication.get_started_page.create_account_button' => 'Crear cuenta', - 'client_authentication.sign_in_page.title' => 'Bienvenido de nuevo', - 'client_authentication.sign_in_page.subtitle' => 'Inicia sesión para gestionar tus turnos y trabajadores', - 'client_authentication.sign_in_page.email_label' => 'Correo electrónico', - 'client_authentication.sign_in_page.email_hint' => 'Ingresa tu correo electrónico', - 'client_authentication.sign_in_page.password_label' => 'Contraseña', - 'client_authentication.sign_in_page.password_hint' => 'Ingresa tu contraseña', - 'client_authentication.sign_in_page.forgot_password' => '¿Olvidaste tu contraseña?', - 'client_authentication.sign_in_page.sign_in_button' => 'Iniciar sesión', - 'client_authentication.sign_in_page.or_divider' => 'o', - 'client_authentication.sign_in_page.social_apple' => 'Iniciar sesión con Apple', - 'client_authentication.sign_in_page.social_google' => 'Iniciar sesión con Google', - 'client_authentication.sign_in_page.no_account' => '¿No tienes una cuenta? ', - 'client_authentication.sign_in_page.sign_up_link' => 'Regístrate', - 'client_authentication.sign_up_page.title' => 'Crear cuenta', - 'client_authentication.sign_up_page.subtitle' => 'Comienza con Krow para tu negocio', - 'client_authentication.sign_up_page.company_label' => 'Nombre de la empresa', - 'client_authentication.sign_up_page.company_hint' => 'Ingresa el nombre de la empresa', - 'client_authentication.sign_up_page.email_label' => 'Correo electrónico', - 'client_authentication.sign_up_page.email_hint' => 'Ingresa tu correo electrónico', - 'client_authentication.sign_up_page.password_label' => 'Contraseña', - 'client_authentication.sign_up_page.password_hint' => 'Crea una contraseña', - 'client_authentication.sign_up_page.confirm_password_label' => 'Confirmar contraseña', - 'client_authentication.sign_up_page.confirm_password_hint' => 'Confirma tu contraseña', - 'client_authentication.sign_up_page.create_account_button' => 'Crear cuenta', - 'client_authentication.sign_up_page.or_divider' => 'o', - 'client_authentication.sign_up_page.social_apple' => 'Regístrate con Apple', - 'client_authentication.sign_up_page.social_google' => 'Regístrate con Google', - 'client_authentication.sign_up_page.has_account' => '¿Ya tienes una cuenta? ', - 'client_authentication.sign_up_page.sign_in_link' => 'Iniciar sesión', - 'client_home.shift_created_success' => 'Orden de turno enviada con éxito', - 'client_home.dashboard.welcome_back' => 'Bienvenido de nuevo', - 'client_home.dashboard.edit_mode_active' => 'Modo Edición Activo', - 'client_home.dashboard.drag_instruction' => 'Arrastra para reordenar, cambia la visibilidad', - 'client_home.dashboard.reset' => 'Restablecer', - 'client_home.dashboard.metric_needed' => 'Necesario', - 'client_home.dashboard.metric_filled' => 'Lleno', - 'client_home.dashboard.metric_open' => 'Abierto', - 'client_home.dashboard.view_all' => 'Ver todo', - 'client_home.dashboard.insight_lightbulb' => ({required Object amount}) => 'Ahorra ${amount}/mes', - 'client_home.dashboard.insight_tip' => 'Reserva con 48h de antelación para mejores tarifas', - 'client_home.widgets.actions' => 'Acciones Rápidas', - 'client_home.widgets.reorder' => 'Reordenar', - 'client_home.widgets.coverage' => 'Cobertura de Hoy', - 'client_home.widgets.spending' => 'Información de Gastos', - 'client_home.widgets.live_activity' => 'Actividad en Vivo', - 'client_home.actions.rapid' => 'RÁPIDO', - 'client_home.actions.rapid_subtitle' => 'Urgente mismo día', - 'client_home.actions.create_order' => 'Crear Orden', - 'client_home.actions.create_order_subtitle' => 'Programar turnos', - 'client_home.reorder.title' => 'REORDENAR', - 'client_home.reorder.reorder_button' => 'Reordenar', - 'client_home.reorder.per_hr' => ({required Object amount}) => '${amount}/hr', - 'client_home.form.edit_reorder' => 'Editar y Reordenar', - 'client_home.form.post_new' => 'Publicar un Nuevo Turno', - 'client_home.form.review_subtitle' => 'Revisa y edita los detalles antes de publicar', - 'client_home.form.date_label' => 'Fecha *', - 'client_home.form.date_hint' => 'mm/dd/aaaa', - 'client_home.form.location_label' => 'Ubicación *', - 'client_home.form.location_hint' => 'Dirección del negocio', - 'client_home.form.positions_title' => 'Posiciones', - 'client_home.form.add_position' => 'Añadir Posición', - 'client_home.form.role_label' => 'Rol *', - 'client_home.form.role_hint' => 'Seleccionar rol', - 'client_home.form.start_time' => 'Hora de Inicio *', - 'client_home.form.end_time' => 'Hora de Fin *', - 'client_home.form.workers_needed' => 'Trabajadores Necesarios *', - 'client_home.form.hourly_rate' => 'Tarifa por hora (\$) *', - 'client_home.form.post_shift' => 'Publicar Turno', - _ => null, - }; - } -} diff --git a/apps/packages/core_localization/lib/src/localization_module.dart b/apps/packages/core_localization/lib/src/localization_module.dart deleted file mode 100644 index bbc87c6d..00000000 --- a/apps/packages/core_localization/lib/src/localization_module.dart +++ /dev/null @@ -1,46 +0,0 @@ -import 'package:flutter_modular/flutter_modular.dart'; -import 'package:shared_preferences/shared_preferences.dart'; -import 'data/datasources/locale_local_data_source.dart'; -import 'data/repositories_impl/locale_repository_impl.dart'; -import 'domain/repositories/locale_repository_interface.dart'; -import 'domain/usecases/get_locale_use_case.dart'; -import 'domain/usecases/set_locale_use_case.dart'; -import 'bloc/locale_bloc.dart'; - -/// A [ModularModule] that manages localization dependencies. -/// -/// This module registers all necessary data sources, repositories, use cases, -/// and the BLoC required for application-wide localization management. -class LocalizationModule extends Module { - @override - void binds(Injector i) { - // External Dependencies - i.addInstance(SharedPreferencesAsync()); - - // Data Sources - i.addSingleton( - () => LocaleLocalDataSourceImpl(i.get()), - ); - - // Repositories - i.addSingleton( - () => LocaleRepositoryImpl(i.get()), - ); - - // Use Cases - i.addSingleton( - () => GetLocaleUseCase(i.get()), - ); - i.addSingleton( - () => SetLocaleUseCase(i.get()), - ); - - // BLoCs - i.addSingleton( - () => LocaleBloc( - getLocaleUseCase: i.get(), - setLocaleUseCase: i.get(), - ), - ); - } -} diff --git a/apps/packages/core_localization/pubspec.yaml b/apps/packages/core_localization/pubspec.yaml deleted file mode 100644 index 7b12cda7..00000000 --- a/apps/packages/core_localization/pubspec.yaml +++ /dev/null @@ -1,38 +0,0 @@ -name: core_localization -description: "Core localization package using Slang." -version: 0.0.1 -publish_to: none -resolution: workspace - -environment: - sdk: '>=3.10.0 <4.0.0' - flutter: ">=3.0.0" - -dependencies: - flutter: - sdk: flutter - krow_core: - path: ../core - flutter_bloc: ^8.1.0 - flutter_modular: ^6.3.2 - slang: ^4.12.0 - slang_flutter: ^4.12.0 - shared_preferences: ^2.5.0 - -dev_dependencies: - flutter_test: - sdk: flutter - flutter_lints: ^6.0.0 - build_runner: ^2.4.15 - slang_build_runner: ^4.12.0 - -flutter: - uses-material-design: true - -slang: - base_locale: en - fallback_strategy: base_locale - input_directory: lib/src/l10n - input_file_pattern: .i18n.json - output_directory: lib/src/l10n - output_file_name: strings.g.dart diff --git a/apps/packages/core_localization/test/localization_test.dart b/apps/packages/core_localization/test/localization_test.dart deleted file mode 100644 index 0d7a0e1e..00000000 --- a/apps/packages/core_localization/test/localization_test.dart +++ /dev/null @@ -1,12 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; - -import 'package:localization/localization.dart'; - -void main() { - test('adds one to input values', () { - final calculator = Calculator(); - expect(calculator.addOne(2), 3); - expect(calculator.addOne(-7), -6); - expect(calculator.addOne(0), 1); - }); -} diff --git a/apps/packages/data_connect/lib/krow_data_connect.dart b/apps/packages/data_connect/lib/krow_data_connect.dart deleted file mode 100644 index 783b61df..00000000 --- a/apps/packages/data_connect/lib/krow_data_connect.dart +++ /dev/null @@ -1,20 +0,0 @@ -/// The Data Connect layer. -/// -/// This package provides mock implementations of domain repository interfaces -/// for development and testing purposes. -/// -/// TODO: These mocks currently do not implement any specific interfaces. -/// They will implement interfaces defined in feature packages once those are created. - -// export 'src/mocks/auth_repository_mock.dart'; // Comentado, usaremos la implementación real -export 'src/mocks/staff_repository_mock.dart'; -export 'src/mocks/event_repository_mock.dart'; -export 'src/mocks/skill_repository_mock.dart'; -export 'src/mocks/financial_repository_mock.dart'; -export 'src/mocks/rating_repository_mock.dart'; -export 'src/mocks/support_repository_mock.dart'; -export 'src/mocks/home_repository_mock.dart'; -export 'src/data_connect_module.dart'; - -// Export the generated Data Connect SDK -export 'src/dataconnect_generated/generated.dart'; \ No newline at end of file diff --git a/apps/packages/data_connect/lib/src/data_connect_module.dart b/apps/packages/data_connect/lib/src/data_connect_module.dart deleted file mode 100644 index 5651978f..00000000 --- a/apps/packages/data_connect/lib/src/data_connect_module.dart +++ /dev/null @@ -1,13 +0,0 @@ -import 'package:flutter_modular/flutter_modular.dart'; -import 'mocks/auth_repository_mock.dart'; -import 'mocks/home_repository_mock.dart'; - -/// A module that provides Data Connect dependencies, including mocks. -class DataConnectModule extends Module { - @override - void exportedBinds(Injector i) { - // Make the AuthRepositoryMock available to any module that imports this one. - i.addLazySingleton(AuthRepositoryMock.new); - i.addLazySingleton(HomeRepositoryMock.new); - } -} diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/.guides/config.json b/apps/packages/data_connect/lib/src/dataconnect_generated/.guides/config.json deleted file mode 100644 index e37ed06f..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/.guides/config.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "description": "A set of guides for interacting with the generated firebase dataconnect sdk", - "mcpServers": { - "firebase": { - "command": "npx", - "args": ["-y", "firebase-tools@latest", "experimental:mcp"] - } - } -} diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/.guides/setup.md b/apps/packages/data_connect/lib/src/dataconnect_generated/.guides/setup.md deleted file mode 100644 index 4a3737fe..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/.guides/setup.md +++ /dev/null @@ -1,15 +0,0 @@ -# Setup - -This guide will walk you through setting up your environment to use the Firebase Data Connect SDK. Mostly using -documentation listed [here](https://firebase.google.com/docs/flutter/setup?platform=ios#install-cli-tools). - -1. Make sure you have the latest Firebase CLI tools installed. Follow the instructions [here](https://firebase.google.com/docs/cli#setup_update_cli) to install. -2. Log into your Firebase account: -```sh -firebase login -``` -3. Install the FlutterFire CLI by running the following command from any directory: -```sh -dart pub global activate flutterfire_cli -``` -4. Make sure the user has initialized Firebase already based on the instructions [here](https://firebase.google.com/docs/flutter/setup?platform=ios#initialize-firebase). diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/.guides/usage.md b/apps/packages/data_connect/lib/src/dataconnect_generated/.guides/usage.md deleted file mode 100644 index 0cc3f883..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/.guides/usage.md +++ /dev/null @@ -1,32 +0,0 @@ -# Basic Usage - -```dart -ExampleConnector.instance.createDocument(createDocumentVariables).execute(); -ExampleConnector.instance.updateDocument(updateDocumentVariables).execute(); -ExampleConnector.instance.deleteDocument(deleteDocumentVariables).execute(); -ExampleConnector.instance.createConversation(createConversationVariables).execute(); -ExampleConnector.instance.updateConversation(updateConversationVariables).execute(); -ExampleConnector.instance.updateConversationLastMessage(updateConversationLastMessageVariables).execute(); -ExampleConnector.instance.deleteConversation(deleteConversationVariables).execute(); -ExampleConnector.instance.listHubs().execute(); -ExampleConnector.instance.getHubById(getHubByIdVariables).execute(); -ExampleConnector.instance.getHubsByOwnerId(getHubsByOwnerIdVariables).execute(); - -``` - -## Optional Fields - -Some operations may have optional fields. In these cases, the Flutter SDK exposes a builder method, and will have to be set separately. - -Optional fields can be discovered based on classes that have `Optional` object types. - -This is an example of a mutation with an optional field: - -```dart -await ExampleConnector.instance.filterVendorBenefitPlans({ ... }) -.vendorId(...) -.execute(); -``` - -Note: the above example is a mutation, but the same logic applies to query operations as well. Additionally, `createMovie` is an example, and may not be available to the user. - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/README.md b/apps/packages/data_connect/lib/src/dataconnect_generated/README.md deleted file mode 100644 index e7cfd881..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/README.md +++ /dev/null @@ -1,23741 +0,0 @@ -# dataconnect_generated SDK - -## Installation -```sh -flutter pub get firebase_data_connect -flutterfire configure -``` -For more information, see [Flutter for Firebase installation documentation](https://firebase.google.com/docs/data-connect/flutter-sdk#use-core). - -## Data Connect instance -Each connector creates a static class, with an instance of the `DataConnect` class that can be used to connect to your Data Connect backend and call operations. - -### Connecting to the emulator - -```dart -String host = 'localhost'; // or your host name -int port = 9399; // or your port number -ExampleConnector.instance.dataConnect.useDataConnectEmulator(host, port); -``` - -You can also call queries and mutations by using the connector class. -## Queries - -### listHubs -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listHubs().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listHubs(); -listHubsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listHubs().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getHubById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getHubById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getHubById( - id: id, -); -getHubByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getHubById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getHubsByOwnerId -#### Required Arguments -```dart -String ownerId = ...; -ExampleConnector.instance.getHubsByOwnerId( - ownerId: ownerId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getHubsByOwnerId( - ownerId: ownerId, -); -getHubsByOwnerIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; - -final ref = ExampleConnector.instance.getHubsByOwnerId( - ownerId: ownerId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterHubs -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterHubs().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterHubs, we created `filterHubsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterHubsVariablesBuilder { - ... - - FilterHubsVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - FilterHubsVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - FilterHubsVariablesBuilder nfcTagId(String? t) { - _nfcTagId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterHubs() -.ownerId(ownerId) -.name(name) -.nfcTagId(nfcTagId) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterHubs(); -filterHubsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterHubs().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listCategories -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listCategories().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listCategories(); -listCategoriesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listCategories().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getCategoryById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getCategoryById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getCategoryById( - id: id, -); -getCategoryByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getCategoryById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterCategories -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterCategories().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterCategories, we created `filterCategoriesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterCategoriesVariablesBuilder { - ... - - FilterCategoriesVariablesBuilder categoryId(String? t) { - _categoryId.value = t; - return this; - } - FilterCategoriesVariablesBuilder label(String? t) { - _label.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterCategories() -.categoryId(categoryId) -.label(label) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterCategories(); -filterCategoriesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterCategories().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTeamHubs -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTeamHubs().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTeamHubs(); -listTeamHubsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTeamHubs().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamHubById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTeamHubById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamHubById( - id: id, -); -getTeamHubByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTeamHubById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamHubsByTeamId -#### Required Arguments -```dart -String teamId = ...; -ExampleConnector.instance.getTeamHubsByTeamId( - teamId: teamId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamHubsByTeamId( - teamId: teamId, -); -getTeamHubsByTeamIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamId = ...; - -final ref = ExampleConnector.instance.getTeamHubsByTeamId( - teamId: teamId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTeamHubsByOwnerId -#### Required Arguments -```dart -String ownerId = ...; -ExampleConnector.instance.listTeamHubsByOwnerId( - ownerId: ownerId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTeamHubsByOwnerId( - ownerId: ownerId, -); -listTeamHubsByOwnerIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; - -final ref = ExampleConnector.instance.listTeamHubsByOwnerId( - ownerId: ownerId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listActivityLogs -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listActivityLogs().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listActivityLogs, we created `listActivityLogsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListActivityLogsVariablesBuilder { - ... - - ListActivityLogsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListActivityLogsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listActivityLogs() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listActivityLogs(); -listActivityLogsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listActivityLogs().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getActivityLogById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getActivityLogById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getActivityLogById( - id: id, -); -getActivityLogByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getActivityLogById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listActivityLogsByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.listActivityLogsByUserId( - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listActivityLogsByUserId, we created `listActivityLogsByUserIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListActivityLogsByUserIdVariablesBuilder { - ... - ListActivityLogsByUserIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListActivityLogsByUserIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listActivityLogsByUserId( - userId: userId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listActivityLogsByUserId( - userId: userId, -); -listActivityLogsByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.listActivityLogsByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listUnreadActivityLogsByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.listUnreadActivityLogsByUserId( - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listUnreadActivityLogsByUserId, we created `listUnreadActivityLogsByUserIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListUnreadActivityLogsByUserIdVariablesBuilder { - ... - ListUnreadActivityLogsByUserIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListUnreadActivityLogsByUserIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listUnreadActivityLogsByUserId( - userId: userId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listUnreadActivityLogsByUserId( - userId: userId, -); -listUnreadActivityLogsByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.listUnreadActivityLogsByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterActivityLogs -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterActivityLogs().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterActivityLogs, we created `filterActivityLogsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterActivityLogsVariablesBuilder { - ... - - FilterActivityLogsVariablesBuilder userId(String? t) { - _userId.value = t; - return this; - } - FilterActivityLogsVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - FilterActivityLogsVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - FilterActivityLogsVariablesBuilder isRead(bool? t) { - _isRead.value = t; - return this; - } - FilterActivityLogsVariablesBuilder activityType(ActivityType? t) { - _activityType.value = t; - return this; - } - FilterActivityLogsVariablesBuilder iconType(ActivityIconType? t) { - _iconType.value = t; - return this; - } - FilterActivityLogsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterActivityLogsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterActivityLogs() -.userId(userId) -.dateFrom(dateFrom) -.dateTo(dateTo) -.isRead(isRead) -.activityType(activityType) -.iconType(iconType) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterActivityLogs(); -filterActivityLogsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterActivityLogs().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listLevels -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listLevels().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listLevels(); -listLevelsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listLevels().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getLevelById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getLevelById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getLevelById( - id: id, -); -getLevelByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getLevelById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterLevels -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterLevels().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterLevels, we created `filterLevelsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterLevelsVariablesBuilder { - ... - - FilterLevelsVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - FilterLevelsVariablesBuilder xpRequired(int? t) { - _xpRequired.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterLevels() -.name(name) -.xpRequired(xpRequired) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterLevels(); -filterLevelsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterLevels().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getShiftRoleById -#### Required Arguments -```dart -String shiftId = ...; -String roleId = ...; -ExampleConnector.instance.getShiftRoleById( - shiftId: shiftId, - roleId: roleId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getShiftRoleById( - shiftId: shiftId, - roleId: roleId, -); -getShiftRoleByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.getShiftRoleById( - shiftId: shiftId, - roleId: roleId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listShiftRolesByShiftId -#### Required Arguments -```dart -String shiftId = ...; -ExampleConnector.instance.listShiftRolesByShiftId( - shiftId: shiftId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listShiftRolesByShiftId, we created `listShiftRolesByShiftIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListShiftRolesByShiftIdVariablesBuilder { - ... - ListShiftRolesByShiftIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListShiftRolesByShiftIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listShiftRolesByShiftId( - shiftId: shiftId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listShiftRolesByShiftId( - shiftId: shiftId, -); -listShiftRolesByShiftIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; - -final ref = ExampleConnector.instance.listShiftRolesByShiftId( - shiftId: shiftId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listShiftRolesByRoleId -#### Required Arguments -```dart -String roleId = ...; -ExampleConnector.instance.listShiftRolesByRoleId( - roleId: roleId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listShiftRolesByRoleId, we created `listShiftRolesByRoleIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListShiftRolesByRoleIdVariablesBuilder { - ... - ListShiftRolesByRoleIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListShiftRolesByRoleIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listShiftRolesByRoleId( - roleId: roleId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listShiftRolesByRoleId( - roleId: roleId, -); -listShiftRolesByRoleIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String roleId = ...; - -final ref = ExampleConnector.instance.listShiftRolesByRoleId( - roleId: roleId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listShiftRolesByShiftIdAndTimeRange -#### Required Arguments -```dart -String shiftId = ...; -Timestamp start = ...; -Timestamp end = ...; -ExampleConnector.instance.listShiftRolesByShiftIdAndTimeRange( - shiftId: shiftId, - start: start, - end: end, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listShiftRolesByShiftIdAndTimeRange, we created `listShiftRolesByShiftIdAndTimeRangeBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListShiftRolesByShiftIdAndTimeRangeVariablesBuilder { - ... - ListShiftRolesByShiftIdAndTimeRangeVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListShiftRolesByShiftIdAndTimeRangeVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listShiftRolesByShiftIdAndTimeRange( - shiftId: shiftId, - start: start, - end: end, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listShiftRolesByShiftIdAndTimeRange( - shiftId: shiftId, - start: start, - end: end, -); -listShiftRolesByShiftIdAndTimeRangeData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; -Timestamp start = ...; -Timestamp end = ...; - -final ref = ExampleConnector.instance.listShiftRolesByShiftIdAndTimeRange( - shiftId: shiftId, - start: start, - end: end, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listShiftRolesByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listShiftRolesByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listShiftRolesByVendorId, we created `listShiftRolesByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListShiftRolesByVendorIdVariablesBuilder { - ... - ListShiftRolesByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListShiftRolesByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listShiftRolesByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listShiftRolesByVendorId( - vendorId: vendorId, -); -listShiftRolesByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listShiftRolesByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getVendorById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getVendorById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getVendorById( - id: id, -); -getVendorByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getVendorById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getVendorByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.getVendorByUserId( - userId: userId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getVendorByUserId( - userId: userId, -); -getVendorByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.getVendorByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listVendors -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listVendors().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listVendors(); -listVendorsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listVendors().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listShifts -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listShifts().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listShifts, we created `listShiftsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListShiftsVariablesBuilder { - ... - - ListShiftsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListShiftsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listShifts() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listShifts(); -listShiftsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listShifts().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getShiftById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getShiftById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getShiftById( - id: id, -); -getShiftByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getShiftById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterShifts -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterShifts().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterShifts, we created `filterShiftsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterShiftsVariablesBuilder { - ... - - FilterShiftsVariablesBuilder status(ShiftStatus? t) { - _status.value = t; - return this; - } - FilterShiftsVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - FilterShiftsVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - FilterShiftsVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - FilterShiftsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterShiftsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterShifts() -.status(status) -.orderId(orderId) -.dateFrom(dateFrom) -.dateTo(dateTo) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterShifts(); -filterShiftsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterShifts().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getShiftsByBusinessId -#### Required Arguments -```dart -String businessId = ...; -ExampleConnector.instance.getShiftsByBusinessId( - businessId: businessId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getShiftsByBusinessId, we created `getShiftsByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetShiftsByBusinessIdVariablesBuilder { - ... - GetShiftsByBusinessIdVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - GetShiftsByBusinessIdVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - GetShiftsByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetShiftsByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getShiftsByBusinessId( - businessId: businessId, -) -.dateFrom(dateFrom) -.dateTo(dateTo) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getShiftsByBusinessId( - businessId: businessId, -); -getShiftsByBusinessIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; - -final ref = ExampleConnector.instance.getShiftsByBusinessId( - businessId: businessId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getShiftsByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.getShiftsByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getShiftsByVendorId, we created `getShiftsByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetShiftsByVendorIdVariablesBuilder { - ... - GetShiftsByVendorIdVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - GetShiftsByVendorIdVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - GetShiftsByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetShiftsByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getShiftsByVendorId( - vendorId: vendorId, -) -.dateFrom(dateFrom) -.dateTo(dateTo) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getShiftsByVendorId( - vendorId: vendorId, -); -getShiftsByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.getShiftsByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listCourses -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listCourses().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listCourses(); -listCoursesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listCourses().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getCourseById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getCourseById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getCourseById( - id: id, -); -getCourseByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getCourseById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterCourses -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterCourses().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterCourses, we created `filterCoursesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterCoursesVariablesBuilder { - ... - - FilterCoursesVariablesBuilder categoryId(String? t) { - _categoryId.value = t; - return this; - } - FilterCoursesVariablesBuilder isCertification(bool? t) { - _isCertification.value = t; - return this; - } - FilterCoursesVariablesBuilder levelRequired(String? t) { - _levelRequired.value = t; - return this; - } - FilterCoursesVariablesBuilder completed(bool? t) { - _completed.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterCourses() -.categoryId(categoryId) -.isCertification(isCertification) -.levelRequired(levelRequired) -.completed(completed) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterCourses(); -filterCoursesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterCourses().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listDocuments -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listDocuments().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listDocuments(); -listDocumentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listDocuments().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getDocumentById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getDocumentById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getDocumentById( - id: id, -); -getDocumentByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getDocumentById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterDocuments -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterDocuments().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterDocuments, we created `filterDocumentsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterDocumentsVariablesBuilder { - ... - - FilterDocumentsVariablesBuilder documentType(DocumentType? t) { - _documentType.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterDocuments() -.documentType(documentType) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterDocuments(); -filterDocumentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterDocuments().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listConversations -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listConversations().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listConversations, we created `listConversationsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListConversationsVariablesBuilder { - ... - - ListConversationsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListConversationsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listConversations() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listConversations(); -listConversationsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listConversations().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getConversationById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getConversationById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getConversationById( - id: id, -); -getConversationByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getConversationById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listConversationsByType -#### Required Arguments -```dart -ConversationType conversationType = ...; -ExampleConnector.instance.listConversationsByType( - conversationType: conversationType, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listConversationsByType, we created `listConversationsByTypeBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListConversationsByTypeVariablesBuilder { - ... - ListConversationsByTypeVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListConversationsByTypeVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listConversationsByType( - conversationType: conversationType, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listConversationsByType( - conversationType: conversationType, -); -listConversationsByTypeData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -ConversationType conversationType = ...; - -final ref = ExampleConnector.instance.listConversationsByType( - conversationType: conversationType, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listConversationsByStatus -#### Required Arguments -```dart -ConversationStatus status = ...; -ExampleConnector.instance.listConversationsByStatus( - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listConversationsByStatus, we created `listConversationsByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListConversationsByStatusVariablesBuilder { - ... - ListConversationsByStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListConversationsByStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listConversationsByStatus( - status: status, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listConversationsByStatus( - status: status, -); -listConversationsByStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -ConversationStatus status = ...; - -final ref = ExampleConnector.instance.listConversationsByStatus( - status: status, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterConversations -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterConversations().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterConversations, we created `filterConversationsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterConversationsVariablesBuilder { - ... - - FilterConversationsVariablesBuilder status(ConversationStatus? t) { - _status.value = t; - return this; - } - FilterConversationsVariablesBuilder conversationType(ConversationType? t) { - _conversationType.value = t; - return this; - } - FilterConversationsVariablesBuilder isGroup(bool? t) { - _isGroup.value = t; - return this; - } - FilterConversationsVariablesBuilder lastMessageAfter(Timestamp? t) { - _lastMessageAfter.value = t; - return this; - } - FilterConversationsVariablesBuilder lastMessageBefore(Timestamp? t) { - _lastMessageBefore.value = t; - return this; - } - FilterConversationsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterConversationsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterConversations() -.status(status) -.conversationType(conversationType) -.isGroup(isGroup) -.lastMessageAfter(lastMessageAfter) -.lastMessageBefore(lastMessageBefore) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterConversations(); -filterConversationsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterConversations().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listAttireOptions -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listAttireOptions().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAttireOptions(); -listAttireOptionsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listAttireOptions().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getAttireOptionById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getAttireOptionById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getAttireOptionById( - id: id, -); -getAttireOptionByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getAttireOptionById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterAttireOptions -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterAttireOptions().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterAttireOptions, we created `filterAttireOptionsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterAttireOptionsVariablesBuilder { - ... - - FilterAttireOptionsVariablesBuilder itemId(String? t) { - _itemId.value = t; - return this; - } - FilterAttireOptionsVariablesBuilder isMandatory(bool? t) { - _isMandatory.value = t; - return this; - } - FilterAttireOptionsVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterAttireOptions() -.itemId(itemId) -.isMandatory(isMandatory) -.vendorId(vendorId) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterAttireOptions(); -filterAttireOptionsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterAttireOptions().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTaxForms -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTaxForms().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTaxForms(); -listTaxFormsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTaxForms().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTaxFormById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTaxFormById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTaxFormById( - id: id, -); -getTaxFormByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTaxFormById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTaxFormsBystaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.getTaxFormsBystaffId( - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTaxFormsBystaffId( - staffId: staffId, -); -getTaxFormsBystaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.getTaxFormsBystaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterTaxForms -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterTaxForms().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterTaxForms, we created `filterTaxFormsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterTaxFormsVariablesBuilder { - ... - - FilterTaxFormsVariablesBuilder formType(TaxFormType? t) { - _formType.value = t; - return this; - } - FilterTaxFormsVariablesBuilder status(TaxFormStatus? t) { - _status.value = t; - return this; - } - FilterTaxFormsVariablesBuilder staffId(String? t) { - _staffId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterTaxForms() -.formType(formType) -.status(status) -.staffId(staffId) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterTaxForms(); -filterTaxFormsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterTaxForms().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTeams -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTeams().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTeams(); -listTeamsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTeams().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTeamById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamById( - id: id, -); -getTeamByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTeamById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamsByOwnerId -#### Required Arguments -```dart -String ownerId = ...; -ExampleConnector.instance.getTeamsByOwnerId( - ownerId: ownerId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamsByOwnerId( - ownerId: ownerId, -); -getTeamsByOwnerIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; - -final ref = ExampleConnector.instance.getTeamsByOwnerId( - ownerId: ownerId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTeamHudDepartments -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTeamHudDepartments().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listTeamHudDepartments, we created `listTeamHudDepartmentsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListTeamHudDepartmentsVariablesBuilder { - ... - - ListTeamHudDepartmentsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListTeamHudDepartmentsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listTeamHudDepartments() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTeamHudDepartments(); -listTeamHudDepartmentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTeamHudDepartments().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamHudDepartmentById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTeamHudDepartmentById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamHudDepartmentById( - id: id, -); -getTeamHudDepartmentByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTeamHudDepartmentById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTeamHudDepartmentsByTeamHubId -#### Required Arguments -```dart -String teamHubId = ...; -ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( - teamHubId: teamHubId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listTeamHudDepartmentsByTeamHubId, we created `listTeamHudDepartmentsByTeamHubIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListTeamHudDepartmentsByTeamHubIdVariablesBuilder { - ... - ListTeamHudDepartmentsByTeamHubIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListTeamHudDepartmentsByTeamHubIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( - teamHubId: teamHubId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( - teamHubId: teamHubId, -); -listTeamHudDepartmentsByTeamHubIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamHubId = ...; - -final ref = ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( - teamHubId: teamHubId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listCustomRateCards -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listCustomRateCards().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listCustomRateCards(); -listCustomRateCardsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listCustomRateCards().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getCustomRateCardById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getCustomRateCardById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getCustomRateCardById( - id: id, -); -getCustomRateCardByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getCustomRateCardById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listMessages -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listMessages().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listMessages(); -listMessagesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listMessages().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getMessageById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getMessageById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getMessageById( - id: id, -); -getMessageByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getMessageById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getMessagesByConversationId -#### Required Arguments -```dart -String conversationId = ...; -ExampleConnector.instance.getMessagesByConversationId( - conversationId: conversationId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getMessagesByConversationId( - conversationId: conversationId, -); -getMessagesByConversationIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; - -final ref = ExampleConnector.instance.getMessagesByConversationId( - conversationId: conversationId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffDocumentByKey -#### Required Arguments -```dart -String staffId = ...; -String documentId = ...; -ExampleConnector.instance.getStaffDocumentByKey( - staffId: staffId, - documentId: documentId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffDocumentByKey( - staffId: staffId, - documentId: documentId, -); -getStaffDocumentByKeyData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String documentId = ...; - -final ref = ExampleConnector.instance.getStaffDocumentByKey( - staffId: staffId, - documentId: documentId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffDocumentsByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listStaffDocumentsByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffDocumentsByStaffId, we created `listStaffDocumentsByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffDocumentsByStaffIdVariablesBuilder { - ... - ListStaffDocumentsByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffDocumentsByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffDocumentsByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffDocumentsByStaffId( - staffId: staffId, -); -listStaffDocumentsByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listStaffDocumentsByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffDocumentsByDocumentType -#### Required Arguments -```dart -DocumentType documentType = ...; -ExampleConnector.instance.listStaffDocumentsByDocumentType( - documentType: documentType, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffDocumentsByDocumentType, we created `listStaffDocumentsByDocumentTypeBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffDocumentsByDocumentTypeVariablesBuilder { - ... - ListStaffDocumentsByDocumentTypeVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffDocumentsByDocumentTypeVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffDocumentsByDocumentType( - documentType: documentType, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffDocumentsByDocumentType( - documentType: documentType, -); -listStaffDocumentsByDocumentTypeData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -DocumentType documentType = ...; - -final ref = ExampleConnector.instance.listStaffDocumentsByDocumentType( - documentType: documentType, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffDocumentsByStatus -#### Required Arguments -```dart -DocumentStatus status = ...; -ExampleConnector.instance.listStaffDocumentsByStatus( - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffDocumentsByStatus, we created `listStaffDocumentsByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffDocumentsByStatusVariablesBuilder { - ... - ListStaffDocumentsByStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffDocumentsByStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffDocumentsByStatus( - status: status, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffDocumentsByStatus( - status: status, -); -listStaffDocumentsByStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -DocumentStatus status = ...; - -final ref = ExampleConnector.instance.listStaffDocumentsByStatus( - status: status, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getWorkforceById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getWorkforceById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getWorkforceById( - id: id, -); -getWorkforceByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getWorkforceById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getWorkforceByVendorAndStaff -#### Required Arguments -```dart -String vendorId = ...; -String staffId = ...; -ExampleConnector.instance.getWorkforceByVendorAndStaff( - vendorId: vendorId, - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getWorkforceByVendorAndStaff( - vendorId: vendorId, - staffId: staffId, -); -getWorkforceByVendorAndStaffData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -String staffId = ...; - -final ref = ExampleConnector.instance.getWorkforceByVendorAndStaff( - vendorId: vendorId, - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listWorkforceByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listWorkforceByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listWorkforceByVendorId, we created `listWorkforceByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListWorkforceByVendorIdVariablesBuilder { - ... - ListWorkforceByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListWorkforceByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listWorkforceByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listWorkforceByVendorId( - vendorId: vendorId, -); -listWorkforceByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listWorkforceByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listWorkforceByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listWorkforceByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listWorkforceByStaffId, we created `listWorkforceByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListWorkforceByStaffIdVariablesBuilder { - ... - ListWorkforceByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListWorkforceByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listWorkforceByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listWorkforceByStaffId( - staffId: staffId, -); -listWorkforceByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listWorkforceByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getWorkforceByVendorAndNumber -#### Required Arguments -```dart -String vendorId = ...; -String workforceNumber = ...; -ExampleConnector.instance.getWorkforceByVendorAndNumber( - vendorId: vendorId, - workforceNumber: workforceNumber, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getWorkforceByVendorAndNumber( - vendorId: vendorId, - workforceNumber: workforceNumber, -); -getWorkforceByVendorAndNumberData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -String workforceNumber = ...; - -final ref = ExampleConnector.instance.getWorkforceByVendorAndNumber( - vendorId: vendorId, - workforceNumber: workforceNumber, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listEmergencyContacts -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listEmergencyContacts().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listEmergencyContacts(); -listEmergencyContactsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listEmergencyContacts().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getEmergencyContactById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getEmergencyContactById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getEmergencyContactById( - id: id, -); -getEmergencyContactByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getEmergencyContactById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getEmergencyContactsByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.getEmergencyContactsByStaffId( - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getEmergencyContactsByStaffId( - staffId: staffId, -); -getEmergencyContactsByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.getEmergencyContactsByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listFaqDatas -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listFaqDatas().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listFaqDatas(); -listFaqDatasData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listFaqDatas().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getFaqDataById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getFaqDataById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getFaqDataById( - id: id, -); -getFaqDataByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getFaqDataById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterFaqDatas -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterFaqDatas().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterFaqDatas, we created `filterFaqDatasBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterFaqDatasVariablesBuilder { - ... - - FilterFaqDatasVariablesBuilder category(String? t) { - _category.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterFaqDatas() -.category(category) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterFaqDatas(); -filterFaqDatasData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterFaqDatas().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffAvailabilityStats -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listStaffAvailabilityStats().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffAvailabilityStats, we created `listStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffAvailabilityStatsVariablesBuilder { - ... - - ListStaffAvailabilityStatsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffAvailabilityStatsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffAvailabilityStats() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffAvailabilityStats(); -listStaffAvailabilityStatsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listStaffAvailabilityStats().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffAvailabilityStatsByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.getStaffAvailabilityStatsByStaffId( - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffAvailabilityStatsByStaffId( - staffId: staffId, -); -getStaffAvailabilityStatsByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.getStaffAvailabilityStatsByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterStaffAvailabilityStats -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterStaffAvailabilityStats().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterStaffAvailabilityStats, we created `filterStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterStaffAvailabilityStatsVariablesBuilder { - ... - - FilterStaffAvailabilityStatsVariablesBuilder needWorkIndexMin(int? t) { - _needWorkIndexMin.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder needWorkIndexMax(int? t) { - _needWorkIndexMax.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder utilizationMin(int? t) { - _utilizationMin.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder utilizationMax(int? t) { - _utilizationMax.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder acceptanceRateMin(int? t) { - _acceptanceRateMin.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder acceptanceRateMax(int? t) { - _acceptanceRateMax.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder lastShiftAfter(Timestamp? t) { - _lastShiftAfter.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder lastShiftBefore(Timestamp? t) { - _lastShiftBefore.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterStaffAvailabilityStats() -.needWorkIndexMin(needWorkIndexMin) -.needWorkIndexMax(needWorkIndexMax) -.utilizationMin(utilizationMin) -.utilizationMax(utilizationMax) -.acceptanceRateMin(acceptanceRateMin) -.acceptanceRateMax(acceptanceRateMax) -.lastShiftAfter(lastShiftAfter) -.lastShiftBefore(lastShiftBefore) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterStaffAvailabilityStats(); -filterStaffAvailabilityStatsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterStaffAvailabilityStats().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listBusinesses -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listBusinesses().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listBusinesses(); -listBusinessesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listBusinesses().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getBusinessesByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.getBusinessesByUserId( - userId: userId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getBusinessesByUserId( - userId: userId, -); -getBusinessesByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.getBusinessesByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getBusinessById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getBusinessById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getBusinessById( - id: id, -); -getBusinessByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getBusinessById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffCourseById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getStaffCourseById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffCourseById( - id: id, -); -getStaffCourseByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getStaffCourseById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffCoursesByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listStaffCoursesByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffCoursesByStaffId, we created `listStaffCoursesByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffCoursesByStaffIdVariablesBuilder { - ... - ListStaffCoursesByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffCoursesByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffCoursesByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffCoursesByStaffId( - staffId: staffId, -); -listStaffCoursesByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listStaffCoursesByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffCoursesByCourseId -#### Required Arguments -```dart -String courseId = ...; -ExampleConnector.instance.listStaffCoursesByCourseId( - courseId: courseId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffCoursesByCourseId, we created `listStaffCoursesByCourseIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffCoursesByCourseIdVariablesBuilder { - ... - ListStaffCoursesByCourseIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffCoursesByCourseIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffCoursesByCourseId( - courseId: courseId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffCoursesByCourseId( - courseId: courseId, -); -listStaffCoursesByCourseIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String courseId = ...; - -final ref = ExampleConnector.instance.listStaffCoursesByCourseId( - courseId: courseId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffCourseByStaffAndCourse -#### Required Arguments -```dart -String staffId = ...; -String courseId = ...; -ExampleConnector.instance.getStaffCourseByStaffAndCourse( - staffId: staffId, - courseId: courseId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffCourseByStaffAndCourse( - staffId: staffId, - courseId: courseId, -); -getStaffCourseByStaffAndCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String courseId = ...; - -final ref = ExampleConnector.instance.getStaffCourseByStaffAndCourse( - staffId: staffId, - courseId: courseId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTasks -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTasks().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTasks(); -listTasksData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTasks().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTaskById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTaskById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTaskById( - id: id, -); -getTaskByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTaskById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTasksByOwnerId -#### Required Arguments -```dart -String ownerId = ...; -ExampleConnector.instance.getTasksByOwnerId( - ownerId: ownerId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTasksByOwnerId( - ownerId: ownerId, -); -getTasksByOwnerIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; - -final ref = ExampleConnector.instance.getTasksByOwnerId( - ownerId: ownerId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterTasks -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterTasks().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterTasks, we created `filterTasksBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterTasksVariablesBuilder { - ... - - FilterTasksVariablesBuilder status(TaskStatus? t) { - _status.value = t; - return this; - } - FilterTasksVariablesBuilder priority(TaskPriority? t) { - _priority.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterTasks() -.status(status) -.priority(priority) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterTasks(); -filterTasksData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterTasks().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listAssignments -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listAssignments().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listAssignments, we created `listAssignmentsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListAssignmentsVariablesBuilder { - ... - - ListAssignmentsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListAssignmentsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listAssignments() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAssignments(); -listAssignmentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listAssignments().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getAssignmentById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getAssignmentById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getAssignmentById( - id: id, -); -getAssignmentByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getAssignmentById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listAssignmentsByWorkforceId -#### Required Arguments -```dart -String workforceId = ...; -ExampleConnector.instance.listAssignmentsByWorkforceId( - workforceId: workforceId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listAssignmentsByWorkforceId, we created `listAssignmentsByWorkforceIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListAssignmentsByWorkforceIdVariablesBuilder { - ... - ListAssignmentsByWorkforceIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListAssignmentsByWorkforceIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listAssignmentsByWorkforceId( - workforceId: workforceId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAssignmentsByWorkforceId( - workforceId: workforceId, -); -listAssignmentsByWorkforceIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String workforceId = ...; - -final ref = ExampleConnector.instance.listAssignmentsByWorkforceId( - workforceId: workforceId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listAssignmentsByWorkforceIds -#### Required Arguments -```dart -String workforceIds = ...; -ExampleConnector.instance.listAssignmentsByWorkforceIds( - workforceIds: workforceIds, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listAssignmentsByWorkforceIds, we created `listAssignmentsByWorkforceIdsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListAssignmentsByWorkforceIdsVariablesBuilder { - ... - ListAssignmentsByWorkforceIdsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListAssignmentsByWorkforceIdsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listAssignmentsByWorkforceIds( - workforceIds: workforceIds, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAssignmentsByWorkforceIds( - workforceIds: workforceIds, -); -listAssignmentsByWorkforceIdsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String workforceIds = ...; - -final ref = ExampleConnector.instance.listAssignmentsByWorkforceIds( - workforceIds: workforceIds, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listAssignmentsByShiftRole -#### Required Arguments -```dart -String shiftId = ...; -String roleId = ...; -ExampleConnector.instance.listAssignmentsByShiftRole( - shiftId: shiftId, - roleId: roleId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listAssignmentsByShiftRole, we created `listAssignmentsByShiftRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListAssignmentsByShiftRoleVariablesBuilder { - ... - ListAssignmentsByShiftRoleVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListAssignmentsByShiftRoleVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listAssignmentsByShiftRole( - shiftId: shiftId, - roleId: roleId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAssignmentsByShiftRole( - shiftId: shiftId, - roleId: roleId, -); -listAssignmentsByShiftRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.listAssignmentsByShiftRole( - shiftId: shiftId, - roleId: roleId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterAssignments -#### Required Arguments -```dart -String shiftIds = ...; -String roleIds = ...; -ExampleConnector.instance.filterAssignments( - shiftIds: shiftIds, - roleIds: roleIds, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterAssignments, we created `filterAssignmentsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterAssignmentsVariablesBuilder { - ... - FilterAssignmentsVariablesBuilder status(AssignmentStatus? t) { - _status.value = t; - return this; - } - FilterAssignmentsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterAssignmentsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterAssignments( - shiftIds: shiftIds, - roleIds: roleIds, -) -.status(status) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterAssignments( - shiftIds: shiftIds, - roleIds: roleIds, -); -filterAssignmentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftIds = ...; -String roleIds = ...; - -final ref = ExampleConnector.instance.filterAssignments( - shiftIds: shiftIds, - roleIds: roleIds, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoices -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listInvoices().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoices, we created `listInvoicesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoicesVariablesBuilder { - ... - - ListInvoicesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoicesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoices() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoices(); -listInvoicesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listInvoices().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getInvoiceById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getInvoiceById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getInvoiceById( - id: id, -); -getInvoiceByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getInvoiceById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoicesByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listInvoicesByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoicesByVendorId, we created `listInvoicesByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoicesByVendorIdVariablesBuilder { - ... - ListInvoicesByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoicesByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoicesByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoicesByVendorId( - vendorId: vendorId, -); -listInvoicesByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listInvoicesByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoicesByBusinessId -#### Required Arguments -```dart -String businessId = ...; -ExampleConnector.instance.listInvoicesByBusinessId( - businessId: businessId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoicesByBusinessId, we created `listInvoicesByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoicesByBusinessIdVariablesBuilder { - ... - ListInvoicesByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoicesByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoicesByBusinessId( - businessId: businessId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoicesByBusinessId( - businessId: businessId, -); -listInvoicesByBusinessIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; - -final ref = ExampleConnector.instance.listInvoicesByBusinessId( - businessId: businessId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoicesByOrderId -#### Required Arguments -```dart -String orderId = ...; -ExampleConnector.instance.listInvoicesByOrderId( - orderId: orderId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoicesByOrderId, we created `listInvoicesByOrderIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoicesByOrderIdVariablesBuilder { - ... - ListInvoicesByOrderIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoicesByOrderIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoicesByOrderId( - orderId: orderId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoicesByOrderId( - orderId: orderId, -); -listInvoicesByOrderIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String orderId = ...; - -final ref = ExampleConnector.instance.listInvoicesByOrderId( - orderId: orderId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoicesByStatus -#### Required Arguments -```dart -InvoiceStatus status = ...; -ExampleConnector.instance.listInvoicesByStatus( - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoicesByStatus, we created `listInvoicesByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoicesByStatusVariablesBuilder { - ... - ListInvoicesByStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoicesByStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoicesByStatus( - status: status, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoicesByStatus( - status: status, -); -listInvoicesByStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -InvoiceStatus status = ...; - -final ref = ExampleConnector.instance.listInvoicesByStatus( - status: status, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterInvoices -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterInvoices().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterInvoices, we created `filterInvoicesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterInvoicesVariablesBuilder { - ... - - FilterInvoicesVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - FilterInvoicesVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - FilterInvoicesVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - FilterInvoicesVariablesBuilder status(InvoiceStatus? t) { - _status.value = t; - return this; - } - FilterInvoicesVariablesBuilder issueDateFrom(Timestamp? t) { - _issueDateFrom.value = t; - return this; - } - FilterInvoicesVariablesBuilder issueDateTo(Timestamp? t) { - _issueDateTo.value = t; - return this; - } - FilterInvoicesVariablesBuilder dueDateFrom(Timestamp? t) { - _dueDateFrom.value = t; - return this; - } - FilterInvoicesVariablesBuilder dueDateTo(Timestamp? t) { - _dueDateTo.value = t; - return this; - } - FilterInvoicesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterInvoicesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterInvoices() -.vendorId(vendorId) -.businessId(businessId) -.orderId(orderId) -.status(status) -.issueDateFrom(issueDateFrom) -.issueDateTo(issueDateTo) -.dueDateFrom(dueDateFrom) -.dueDateTo(dueDateTo) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterInvoices(); -filterInvoicesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterInvoices().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listOverdueInvoices -#### Required Arguments -```dart -Timestamp now = ...; -ExampleConnector.instance.listOverdueInvoices( - now: now, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listOverdueInvoices, we created `listOverdueInvoicesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListOverdueInvoicesVariablesBuilder { - ... - ListOverdueInvoicesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListOverdueInvoicesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listOverdueInvoices( - now: now, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listOverdueInvoices( - now: now, -); -listOverdueInvoicesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -Timestamp now = ...; - -final ref = ExampleConnector.instance.listOverdueInvoices( - now: now, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTaskComments -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTaskComments().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTaskComments(); -listTaskCommentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTaskComments().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTaskCommentById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTaskCommentById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTaskCommentById( - id: id, -); -getTaskCommentByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTaskCommentById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTaskCommentsByTaskId -#### Required Arguments -```dart -String taskId = ...; -ExampleConnector.instance.getTaskCommentsByTaskId( - taskId: taskId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTaskCommentsByTaskId( - taskId: taskId, -); -getTaskCommentsByTaskIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String taskId = ...; - -final ref = ExampleConnector.instance.getTaskCommentsByTaskId( - taskId: taskId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listVendorRates -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listVendorRates().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listVendorRates(); -listVendorRatesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listVendorRates().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getVendorRateById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getVendorRateById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getVendorRateById( - id: id, -); -getVendorRateByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getVendorRateById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listApplications -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listApplications().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listApplications(); -listApplicationsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listApplications().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getApplicationById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getApplicationById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getApplicationById( - id: id, -); -getApplicationByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getApplicationById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getApplicationsByShiftId -#### Required Arguments -```dart -String shiftId = ...; -ExampleConnector.instance.getApplicationsByShiftId( - shiftId: shiftId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getApplicationsByShiftId( - shiftId: shiftId, -); -getApplicationsByShiftIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; - -final ref = ExampleConnector.instance.getApplicationsByShiftId( - shiftId: shiftId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getApplicationsByShiftIdAndStatus -#### Required Arguments -```dart -String shiftId = ...; -ApplicationStatus status = ...; -ExampleConnector.instance.getApplicationsByShiftIdAndStatus( - shiftId: shiftId, - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getApplicationsByShiftIdAndStatus, we created `getApplicationsByShiftIdAndStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetApplicationsByShiftIdAndStatusVariablesBuilder { - ... - GetApplicationsByShiftIdAndStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetApplicationsByShiftIdAndStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getApplicationsByShiftIdAndStatus( - shiftId: shiftId, - status: status, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getApplicationsByShiftIdAndStatus( - shiftId: shiftId, - status: status, -); -getApplicationsByShiftIdAndStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; -ApplicationStatus status = ...; - -final ref = ExampleConnector.instance.getApplicationsByShiftIdAndStatus( - shiftId: shiftId, - status: status, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getApplicationsByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.getApplicationsByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getApplicationsByStaffId, we created `getApplicationsByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetApplicationsByStaffIdVariablesBuilder { - ... - GetApplicationsByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetApplicationsByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getApplicationsByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getApplicationsByStaffId( - staffId: staffId, -); -getApplicationsByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.getApplicationsByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoiceTemplates -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listInvoiceTemplates().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoiceTemplates, we created `listInvoiceTemplatesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoiceTemplatesVariablesBuilder { - ... - - ListInvoiceTemplatesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoiceTemplates() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoiceTemplates(); -listInvoiceTemplatesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listInvoiceTemplates().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getInvoiceTemplateById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getInvoiceTemplateById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getInvoiceTemplateById( - id: id, -); -getInvoiceTemplateByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getInvoiceTemplateById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoiceTemplatesByOwnerId -#### Required Arguments -```dart -String ownerId = ...; -ExampleConnector.instance.listInvoiceTemplatesByOwnerId( - ownerId: ownerId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoiceTemplatesByOwnerId, we created `listInvoiceTemplatesByOwnerIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoiceTemplatesByOwnerIdVariablesBuilder { - ... - ListInvoiceTemplatesByOwnerIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesByOwnerIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoiceTemplatesByOwnerId( - ownerId: ownerId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoiceTemplatesByOwnerId( - ownerId: ownerId, -); -listInvoiceTemplatesByOwnerIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; - -final ref = ExampleConnector.instance.listInvoiceTemplatesByOwnerId( - ownerId: ownerId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoiceTemplatesByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listInvoiceTemplatesByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoiceTemplatesByVendorId, we created `listInvoiceTemplatesByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoiceTemplatesByVendorIdVariablesBuilder { - ... - ListInvoiceTemplatesByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoiceTemplatesByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoiceTemplatesByVendorId( - vendorId: vendorId, -); -listInvoiceTemplatesByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listInvoiceTemplatesByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoiceTemplatesByBusinessId -#### Required Arguments -```dart -String businessId = ...; -ExampleConnector.instance.listInvoiceTemplatesByBusinessId( - businessId: businessId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoiceTemplatesByBusinessId, we created `listInvoiceTemplatesByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoiceTemplatesByBusinessIdVariablesBuilder { - ... - ListInvoiceTemplatesByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoiceTemplatesByBusinessId( - businessId: businessId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoiceTemplatesByBusinessId( - businessId: businessId, -); -listInvoiceTemplatesByBusinessIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; - -final ref = ExampleConnector.instance.listInvoiceTemplatesByBusinessId( - businessId: businessId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoiceTemplatesByOrderId -#### Required Arguments -```dart -String orderId = ...; -ExampleConnector.instance.listInvoiceTemplatesByOrderId( - orderId: orderId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoiceTemplatesByOrderId, we created `listInvoiceTemplatesByOrderIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoiceTemplatesByOrderIdVariablesBuilder { - ... - ListInvoiceTemplatesByOrderIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesByOrderIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoiceTemplatesByOrderId( - orderId: orderId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoiceTemplatesByOrderId( - orderId: orderId, -); -listInvoiceTemplatesByOrderIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String orderId = ...; - -final ref = ExampleConnector.instance.listInvoiceTemplatesByOrderId( - orderId: orderId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### searchInvoiceTemplatesByOwnerAndName -#### Required Arguments -```dart -String ownerId = ...; -String name = ...; -ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( - ownerId: ownerId, - name: name, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For searchInvoiceTemplatesByOwnerAndName, we created `searchInvoiceTemplatesByOwnerAndNameBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder { - ... - SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( - ownerId: ownerId, - name: name, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( - ownerId: ownerId, - name: name, -); -searchInvoiceTemplatesByOwnerAndNameData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; -String name = ...; - -final ref = ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( - ownerId: ownerId, - name: name, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRoles -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listRoles().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRoles(); -listRolesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listRoles().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getRoleById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getRoleById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getRoleById( - id: id, -); -getRoleByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getRoleById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRolesByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listRolesByVendorId( - vendorId: vendorId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRolesByVendorId( - vendorId: vendorId, -); -listRolesByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listRolesByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRolesByroleCategoryId -#### Required Arguments -```dart -String roleCategoryId = ...; -ExampleConnector.instance.listRolesByroleCategoryId( - roleCategoryId: roleCategoryId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRolesByroleCategoryId( - roleCategoryId: roleCategoryId, -); -listRolesByroleCategoryIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String roleCategoryId = ...; - -final ref = ExampleConnector.instance.listRolesByroleCategoryId( - roleCategoryId: roleCategoryId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaff -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listStaff().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaff(); -listStaffData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listStaff().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getStaffById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffById( - id: id, -); -getStaffByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getStaffById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.getStaffByUserId( - userId: userId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffByUserId( - userId: userId, -); -getStaffByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.getStaffByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterStaff -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterStaff().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterStaff, we created `filterStaffBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterStaffVariablesBuilder { - ... - - FilterStaffVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - FilterStaffVariablesBuilder fullName(String? t) { - _fullName.value = t; - return this; - } - FilterStaffVariablesBuilder level(String? t) { - _level.value = t; - return this; - } - FilterStaffVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterStaff() -.ownerId(ownerId) -.fullName(fullName) -.level(level) -.email(email) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterStaff(); -filterStaffData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterStaff().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listUserConversations -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listUserConversations().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listUserConversations, we created `listUserConversationsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListUserConversationsVariablesBuilder { - ... - - ListUserConversationsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListUserConversationsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listUserConversations() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listUserConversations(); -listUserConversationsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listUserConversations().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getUserConversationByKey -#### Required Arguments -```dart -String conversationId = ...; -String userId = ...; -ExampleConnector.instance.getUserConversationByKey( - conversationId: conversationId, - userId: userId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getUserConversationByKey( - conversationId: conversationId, - userId: userId, -); -getUserConversationByKeyData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; -String userId = ...; - -final ref = ExampleConnector.instance.getUserConversationByKey( - conversationId: conversationId, - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listUserConversationsByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.listUserConversationsByUserId( - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listUserConversationsByUserId, we created `listUserConversationsByUserIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListUserConversationsByUserIdVariablesBuilder { - ... - ListUserConversationsByUserIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListUserConversationsByUserIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listUserConversationsByUserId( - userId: userId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listUserConversationsByUserId( - userId: userId, -); -listUserConversationsByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.listUserConversationsByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listUnreadUserConversationsByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.listUnreadUserConversationsByUserId( - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listUnreadUserConversationsByUserId, we created `listUnreadUserConversationsByUserIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListUnreadUserConversationsByUserIdVariablesBuilder { - ... - ListUnreadUserConversationsByUserIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListUnreadUserConversationsByUserIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listUnreadUserConversationsByUserId( - userId: userId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listUnreadUserConversationsByUserId( - userId: userId, -); -listUnreadUserConversationsByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.listUnreadUserConversationsByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listUserConversationsByConversationId -#### Required Arguments -```dart -String conversationId = ...; -ExampleConnector.instance.listUserConversationsByConversationId( - conversationId: conversationId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listUserConversationsByConversationId, we created `listUserConversationsByConversationIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListUserConversationsByConversationIdVariablesBuilder { - ... - ListUserConversationsByConversationIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListUserConversationsByConversationIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listUserConversationsByConversationId( - conversationId: conversationId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listUserConversationsByConversationId( - conversationId: conversationId, -); -listUserConversationsByConversationIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; - -final ref = ExampleConnector.instance.listUserConversationsByConversationId( - conversationId: conversationId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterUserConversations -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterUserConversations().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterUserConversations, we created `filterUserConversationsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterUserConversationsVariablesBuilder { - ... - - FilterUserConversationsVariablesBuilder userId(String? t) { - _userId.value = t; - return this; - } - FilterUserConversationsVariablesBuilder conversationId(String? t) { - _conversationId.value = t; - return this; - } - FilterUserConversationsVariablesBuilder unreadMin(int? t) { - _unreadMin.value = t; - return this; - } - FilterUserConversationsVariablesBuilder unreadMax(int? t) { - _unreadMax.value = t; - return this; - } - FilterUserConversationsVariablesBuilder lastReadAfter(Timestamp? t) { - _lastReadAfter.value = t; - return this; - } - FilterUserConversationsVariablesBuilder lastReadBefore(Timestamp? t) { - _lastReadBefore.value = t; - return this; - } - FilterUserConversationsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterUserConversationsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterUserConversations() -.userId(userId) -.conversationId(conversationId) -.unreadMin(unreadMin) -.unreadMax(unreadMax) -.lastReadAfter(lastReadAfter) -.lastReadBefore(lastReadBefore) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterUserConversations(); -filterUserConversationsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterUserConversations().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listCertificates -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listCertificates().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listCertificates(); -listCertificatesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listCertificates().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getCertificateById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getCertificateById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getCertificateById( - id: id, -); -getCertificateByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getCertificateById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listCertificatesByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listCertificatesByStaffId( - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listCertificatesByStaffId( - staffId: staffId, -); -listCertificatesByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listCertificatesByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getMyTasks -#### Required Arguments -```dart -String teamMemberId = ...; -ExampleConnector.instance.getMyTasks( - teamMemberId: teamMemberId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getMyTasks( - teamMemberId: teamMemberId, -); -getMyTasksData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamMemberId = ...; - -final ref = ExampleConnector.instance.getMyTasks( - teamMemberId: teamMemberId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getMemberTaskByIdKey -#### Required Arguments -```dart -String teamMemberId = ...; -String taskId = ...; -ExampleConnector.instance.getMemberTaskByIdKey( - teamMemberId: teamMemberId, - taskId: taskId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getMemberTaskByIdKey( - teamMemberId: teamMemberId, - taskId: taskId, -); -getMemberTaskByIdKeyData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamMemberId = ...; -String taskId = ...; - -final ref = ExampleConnector.instance.getMemberTaskByIdKey( - teamMemberId: teamMemberId, - taskId: taskId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getMemberTasksByTaskId -#### Required Arguments -```dart -String taskId = ...; -ExampleConnector.instance.getMemberTasksByTaskId( - taskId: taskId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getMemberTasksByTaskId( - taskId: taskId, -); -getMemberTasksByTaskIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String taskId = ...; - -final ref = ExampleConnector.instance.getMemberTasksByTaskId( - taskId: taskId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPayments -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listRecentPayments().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPayments, we created `listRecentPaymentsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsVariablesBuilder { - ... - - ListRecentPaymentsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPayments() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPayments(); -listRecentPaymentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listRecentPayments().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getRecentPaymentById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getRecentPaymentById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getRecentPaymentById( - id: id, -); -getRecentPaymentByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getRecentPaymentById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listRecentPaymentsByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByStaffId, we created `listRecentPaymentsByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByStaffIdVariablesBuilder { - ... - ListRecentPaymentsByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByStaffId( - staffId: staffId, -); -listRecentPaymentsByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByApplicationId -#### Required Arguments -```dart -String applicationId = ...; -ExampleConnector.instance.listRecentPaymentsByApplicationId( - applicationId: applicationId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByApplicationId, we created `listRecentPaymentsByApplicationIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByApplicationIdVariablesBuilder { - ... - ListRecentPaymentsByApplicationIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByApplicationIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByApplicationId( - applicationId: applicationId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByApplicationId( - applicationId: applicationId, -); -listRecentPaymentsByApplicationIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String applicationId = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByApplicationId( - applicationId: applicationId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByInvoiceId -#### Required Arguments -```dart -String invoiceId = ...; -ExampleConnector.instance.listRecentPaymentsByInvoiceId( - invoiceId: invoiceId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByInvoiceId, we created `listRecentPaymentsByInvoiceIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByInvoiceIdVariablesBuilder { - ... - ListRecentPaymentsByInvoiceIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByInvoiceIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByInvoiceId( - invoiceId: invoiceId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByInvoiceId( - invoiceId: invoiceId, -); -listRecentPaymentsByInvoiceIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String invoiceId = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByInvoiceId( - invoiceId: invoiceId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByStatus -#### Required Arguments -```dart -RecentPaymentStatus status = ...; -ExampleConnector.instance.listRecentPaymentsByStatus( - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByStatus, we created `listRecentPaymentsByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByStatusVariablesBuilder { - ... - ListRecentPaymentsByStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByStatus( - status: status, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByStatus( - status: status, -); -listRecentPaymentsByStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -RecentPaymentStatus status = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByStatus( - status: status, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByInvoiceIds -#### Required Arguments -```dart -String invoiceIds = ...; -ExampleConnector.instance.listRecentPaymentsByInvoiceIds( - invoiceIds: invoiceIds, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByInvoiceIds, we created `listRecentPaymentsByInvoiceIdsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByInvoiceIdsVariablesBuilder { - ... - ListRecentPaymentsByInvoiceIdsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByInvoiceIdsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByInvoiceIds( - invoiceIds: invoiceIds, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByInvoiceIds( - invoiceIds: invoiceIds, -); -listRecentPaymentsByInvoiceIdsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String invoiceIds = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByInvoiceIds( - invoiceIds: invoiceIds, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByBusinessId -#### Required Arguments -```dart -String businessId = ...; -ExampleConnector.instance.listRecentPaymentsByBusinessId( - businessId: businessId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByBusinessId, we created `listRecentPaymentsByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByBusinessIdVariablesBuilder { - ... - ListRecentPaymentsByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByBusinessId( - businessId: businessId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByBusinessId( - businessId: businessId, -); -listRecentPaymentsByBusinessIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByBusinessId( - businessId: businessId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRoleCategories -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listRoleCategories().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRoleCategories(); -listRoleCategoriesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listRoleCategories().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getRoleCategoryById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getRoleCategoryById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getRoleCategoryById( - id: id, -); -getRoleCategoryByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getRoleCategoryById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getRoleCategoriesByCategory -#### Required Arguments -```dart -RoleCategoryType category = ...; -ExampleConnector.instance.getRoleCategoriesByCategory( - category: category, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getRoleCategoriesByCategory( - category: category, -); -getRoleCategoriesByCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -RoleCategoryType category = ...; - -final ref = ExampleConnector.instance.getRoleCategoriesByCategory( - category: category, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listUsers -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listUsers().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listUsers(); -listUsersData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listUsers().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getUserById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getUserById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getUserById( - id: id, -); -getUserByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getUserById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterUsers -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterUsers().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterUsers, we created `filterUsersBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterUsersVariablesBuilder { - ... - - FilterUsersVariablesBuilder id(String? t) { - _id.value = t; - return this; - } - FilterUsersVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - FilterUsersVariablesBuilder role(UserBaseRole? t) { - _role.value = t; - return this; - } - FilterUsersVariablesBuilder userRole(String? t) { - _userRole.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterUsers() -.id(id) -.email(email) -.role(role) -.userRole(userRole) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterUsers(); -filterUsersData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterUsers().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listClientFeedbacks -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listClientFeedbacks().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listClientFeedbacks, we created `listClientFeedbacksBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListClientFeedbacksVariablesBuilder { - ... - - ListClientFeedbacksVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListClientFeedbacksVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listClientFeedbacks() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listClientFeedbacks(); -listClientFeedbacksData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listClientFeedbacks().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getClientFeedbackById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getClientFeedbackById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getClientFeedbackById( - id: id, -); -getClientFeedbackByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getClientFeedbackById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listClientFeedbacksByBusinessId -#### Required Arguments -```dart -String businessId = ...; -ExampleConnector.instance.listClientFeedbacksByBusinessId( - businessId: businessId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listClientFeedbacksByBusinessId, we created `listClientFeedbacksByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListClientFeedbacksByBusinessIdVariablesBuilder { - ... - ListClientFeedbacksByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListClientFeedbacksByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listClientFeedbacksByBusinessId( - businessId: businessId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listClientFeedbacksByBusinessId( - businessId: businessId, -); -listClientFeedbacksByBusinessIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; - -final ref = ExampleConnector.instance.listClientFeedbacksByBusinessId( - businessId: businessId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listClientFeedbacksByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listClientFeedbacksByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listClientFeedbacksByVendorId, we created `listClientFeedbacksByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListClientFeedbacksByVendorIdVariablesBuilder { - ... - ListClientFeedbacksByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListClientFeedbacksByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listClientFeedbacksByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listClientFeedbacksByVendorId( - vendorId: vendorId, -); -listClientFeedbacksByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listClientFeedbacksByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listClientFeedbacksByBusinessAndVendor -#### Required Arguments -```dart -String businessId = ...; -String vendorId = ...; -ExampleConnector.instance.listClientFeedbacksByBusinessAndVendor( - businessId: businessId, - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listClientFeedbacksByBusinessAndVendor, we created `listClientFeedbacksByBusinessAndVendorBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListClientFeedbacksByBusinessAndVendorVariablesBuilder { - ... - ListClientFeedbacksByBusinessAndVendorVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListClientFeedbacksByBusinessAndVendorVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listClientFeedbacksByBusinessAndVendor( - businessId: businessId, - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listClientFeedbacksByBusinessAndVendor( - businessId: businessId, - vendorId: vendorId, -); -listClientFeedbacksByBusinessAndVendorData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; -String vendorId = ...; - -final ref = ExampleConnector.instance.listClientFeedbacksByBusinessAndVendor( - businessId: businessId, - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterClientFeedbacks -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterClientFeedbacks().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterClientFeedbacks, we created `filterClientFeedbacksBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterClientFeedbacksVariablesBuilder { - ... - - FilterClientFeedbacksVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder ratingMin(int? t) { - _ratingMin.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder ratingMax(int? t) { - _ratingMax.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterClientFeedbacks() -.businessId(businessId) -.vendorId(vendorId) -.ratingMin(ratingMin) -.ratingMax(ratingMax) -.dateFrom(dateFrom) -.dateTo(dateTo) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterClientFeedbacks(); -filterClientFeedbacksData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterClientFeedbacks().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listClientFeedbackRatingsByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listClientFeedbackRatingsByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listClientFeedbackRatingsByVendorId, we created `listClientFeedbackRatingsByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListClientFeedbackRatingsByVendorIdVariablesBuilder { - ... - ListClientFeedbackRatingsByVendorIdVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - ListClientFeedbackRatingsByVendorIdVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listClientFeedbackRatingsByVendorId( - vendorId: vendorId, -) -.dateFrom(dateFrom) -.dateTo(dateTo) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listClientFeedbackRatingsByVendorId( - vendorId: vendorId, -); -listClientFeedbackRatingsByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listClientFeedbackRatingsByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffRoles -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listStaffRoles().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffRoles, we created `listStaffRolesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffRolesVariablesBuilder { - ... - - ListStaffRolesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffRolesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffRoles() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffRoles(); -listStaffRolesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listStaffRoles().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffRoleByKey -#### Required Arguments -```dart -String staffId = ...; -String roleId = ...; -ExampleConnector.instance.getStaffRoleByKey( - staffId: staffId, - roleId: roleId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffRoleByKey( - staffId: staffId, - roleId: roleId, -); -getStaffRoleByKeyData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.getStaffRoleByKey( - staffId: staffId, - roleId: roleId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffRolesByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listStaffRolesByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffRolesByStaffId, we created `listStaffRolesByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffRolesByStaffIdVariablesBuilder { - ... - ListStaffRolesByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffRolesByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffRolesByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffRolesByStaffId( - staffId: staffId, -); -listStaffRolesByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listStaffRolesByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffRolesByRoleId -#### Required Arguments -```dart -String roleId = ...; -ExampleConnector.instance.listStaffRolesByRoleId( - roleId: roleId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffRolesByRoleId, we created `listStaffRolesByRoleIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffRolesByRoleIdVariablesBuilder { - ... - ListStaffRolesByRoleIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffRolesByRoleIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffRolesByRoleId( - roleId: roleId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffRolesByRoleId( - roleId: roleId, -); -listStaffRolesByRoleIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String roleId = ...; - -final ref = ExampleConnector.instance.listStaffRolesByRoleId( - roleId: roleId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterStaffRoles -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterStaffRoles().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterStaffRoles, we created `filterStaffRolesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterStaffRolesVariablesBuilder { - ... - - FilterStaffRolesVariablesBuilder staffId(String? t) { - _staffId.value = t; - return this; - } - FilterStaffRolesVariablesBuilder roleId(String? t) { - _roleId.value = t; - return this; - } - FilterStaffRolesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterStaffRolesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterStaffRoles() -.staffId(staffId) -.roleId(roleId) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterStaffRoles(); -filterStaffRolesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterStaffRoles().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listAccounts -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listAccounts().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAccounts(); -listAccountsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listAccounts().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getAccountById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getAccountById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getAccountById( - id: id, -); -getAccountByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getAccountById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getAccountsByOwnerId -#### Required Arguments -```dart -String ownerId = ...; -ExampleConnector.instance.getAccountsByOwnerId( - ownerId: ownerId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getAccountsByOwnerId( - ownerId: ownerId, -); -getAccountsByOwnerIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; - -final ref = ExampleConnector.instance.getAccountsByOwnerId( - ownerId: ownerId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterAccounts -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterAccounts().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterAccounts, we created `filterAccountsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterAccountsVariablesBuilder { - ... - - FilterAccountsVariablesBuilder bank(String? t) { - _bank.value = t; - return this; - } - FilterAccountsVariablesBuilder type(AccountType? t) { - _type.value = t; - return this; - } - FilterAccountsVariablesBuilder isPrimary(bool? t) { - _isPrimary.value = t; - return this; - } - FilterAccountsVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterAccounts() -.bank(bank) -.type(type) -.isPrimary(isPrimary) -.ownerId(ownerId) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterAccounts(); -filterAccountsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterAccounts().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listOrders -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listOrders().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listOrders, we created `listOrdersBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListOrdersVariablesBuilder { - ... - - ListOrdersVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListOrdersVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listOrders() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listOrders(); -listOrdersData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listOrders().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getOrderById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getOrderById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getOrderById( - id: id, -); -getOrderByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getOrderById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getOrdersByBusinessId -#### Required Arguments -```dart -String businessId = ...; -ExampleConnector.instance.getOrdersByBusinessId( - businessId: businessId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getOrdersByBusinessId, we created `getOrdersByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetOrdersByBusinessIdVariablesBuilder { - ... - GetOrdersByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetOrdersByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getOrdersByBusinessId( - businessId: businessId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getOrdersByBusinessId( - businessId: businessId, -); -getOrdersByBusinessIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; - -final ref = ExampleConnector.instance.getOrdersByBusinessId( - businessId: businessId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getOrdersByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.getOrdersByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getOrdersByVendorId, we created `getOrdersByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetOrdersByVendorIdVariablesBuilder { - ... - GetOrdersByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetOrdersByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getOrdersByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getOrdersByVendorId( - vendorId: vendorId, -); -getOrdersByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.getOrdersByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getOrdersByStatus -#### Required Arguments -```dart -OrderStatus status = ...; -ExampleConnector.instance.getOrdersByStatus( - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getOrdersByStatus, we created `getOrdersByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetOrdersByStatusVariablesBuilder { - ... - GetOrdersByStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetOrdersByStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getOrdersByStatus( - status: status, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getOrdersByStatus( - status: status, -); -getOrdersByStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -OrderStatus status = ...; - -final ref = ExampleConnector.instance.getOrdersByStatus( - status: status, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getOrdersByDateRange -#### Required Arguments -```dart -Timestamp start = ...; -Timestamp end = ...; -ExampleConnector.instance.getOrdersByDateRange( - start: start, - end: end, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getOrdersByDateRange, we created `getOrdersByDateRangeBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetOrdersByDateRangeVariablesBuilder { - ... - GetOrdersByDateRangeVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetOrdersByDateRangeVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getOrdersByDateRange( - start: start, - end: end, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getOrdersByDateRange( - start: start, - end: end, -); -getOrdersByDateRangeData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -Timestamp start = ...; -Timestamp end = ...; - -final ref = ExampleConnector.instance.getOrdersByDateRange( - start: start, - end: end, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getRapidOrders -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.getRapidOrders().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getRapidOrders, we created `getRapidOrdersBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetRapidOrdersVariablesBuilder { - ... - - GetRapidOrdersVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetRapidOrdersVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getRapidOrders() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getRapidOrders(); -getRapidOrdersData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.getRapidOrders().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listShiftsForCoverage -#### Required Arguments -```dart -String businessId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; -ExampleConnector.instance.listShiftsForCoverage( - businessId: businessId, - startDate: startDate, - endDate: endDate, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listShiftsForCoverage( - businessId: businessId, - startDate: startDate, - endDate: endDate, -); -listShiftsForCoverageData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; - -final ref = ExampleConnector.instance.listShiftsForCoverage( - businessId: businessId, - startDate: startDate, - endDate: endDate, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listApplicationsForCoverage -#### Required Arguments -```dart -String shiftIds = ...; -ExampleConnector.instance.listApplicationsForCoverage( - shiftIds: shiftIds, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listApplicationsForCoverage( - shiftIds: shiftIds, -); -listApplicationsForCoverageData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftIds = ...; - -final ref = ExampleConnector.instance.listApplicationsForCoverage( - shiftIds: shiftIds, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listShiftsForDailyOpsByBusiness -#### Required Arguments -```dart -String businessId = ...; -Timestamp date = ...; -ExampleConnector.instance.listShiftsForDailyOpsByBusiness( - businessId: businessId, - date: date, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listShiftsForDailyOpsByBusiness( - businessId: businessId, - date: date, -); -listShiftsForDailyOpsByBusinessData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; -Timestamp date = ...; - -final ref = ExampleConnector.instance.listShiftsForDailyOpsByBusiness( - businessId: businessId, - date: date, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listShiftsForDailyOpsByVendor -#### Required Arguments -```dart -String vendorId = ...; -Timestamp date = ...; -ExampleConnector.instance.listShiftsForDailyOpsByVendor( - vendorId: vendorId, - date: date, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listShiftsForDailyOpsByVendor( - vendorId: vendorId, - date: date, -); -listShiftsForDailyOpsByVendorData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -Timestamp date = ...; - -final ref = ExampleConnector.instance.listShiftsForDailyOpsByVendor( - vendorId: vendorId, - date: date, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listApplicationsForDailyOps -#### Required Arguments -```dart -String shiftIds = ...; -ExampleConnector.instance.listApplicationsForDailyOps( - shiftIds: shiftIds, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listApplicationsForDailyOps( - shiftIds: shiftIds, -); -listApplicationsForDailyOpsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftIds = ...; - -final ref = ExampleConnector.instance.listApplicationsForDailyOps( - shiftIds: shiftIds, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listShiftsForForecastByBusiness -#### Required Arguments -```dart -String businessId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; -ExampleConnector.instance.listShiftsForForecastByBusiness( - businessId: businessId, - startDate: startDate, - endDate: endDate, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listShiftsForForecastByBusiness( - businessId: businessId, - startDate: startDate, - endDate: endDate, -); -listShiftsForForecastByBusinessData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; - -final ref = ExampleConnector.instance.listShiftsForForecastByBusiness( - businessId: businessId, - startDate: startDate, - endDate: endDate, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listShiftsForForecastByVendor -#### Required Arguments -```dart -String vendorId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; -ExampleConnector.instance.listShiftsForForecastByVendor( - vendorId: vendorId, - startDate: startDate, - endDate: endDate, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listShiftsForForecastByVendor( - vendorId: vendorId, - startDate: startDate, - endDate: endDate, -); -listShiftsForForecastByVendorData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; - -final ref = ExampleConnector.instance.listShiftsForForecastByVendor( - vendorId: vendorId, - startDate: startDate, - endDate: endDate, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listShiftsForNoShowRangeByBusiness -#### Required Arguments -```dart -String businessId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; -ExampleConnector.instance.listShiftsForNoShowRangeByBusiness( - businessId: businessId, - startDate: startDate, - endDate: endDate, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listShiftsForNoShowRangeByBusiness( - businessId: businessId, - startDate: startDate, - endDate: endDate, -); -listShiftsForNoShowRangeByBusinessData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; - -final ref = ExampleConnector.instance.listShiftsForNoShowRangeByBusiness( - businessId: businessId, - startDate: startDate, - endDate: endDate, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listShiftsForNoShowRangeByVendor -#### Required Arguments -```dart -String vendorId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; -ExampleConnector.instance.listShiftsForNoShowRangeByVendor( - vendorId: vendorId, - startDate: startDate, - endDate: endDate, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listShiftsForNoShowRangeByVendor( - vendorId: vendorId, - startDate: startDate, - endDate: endDate, -); -listShiftsForNoShowRangeByVendorData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; - -final ref = ExampleConnector.instance.listShiftsForNoShowRangeByVendor( - vendorId: vendorId, - startDate: startDate, - endDate: endDate, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listApplicationsForNoShowRange -#### Required Arguments -```dart -String shiftIds = ...; -ExampleConnector.instance.listApplicationsForNoShowRange( - shiftIds: shiftIds, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listApplicationsForNoShowRange( - shiftIds: shiftIds, -); -listApplicationsForNoShowRangeData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftIds = ...; - -final ref = ExampleConnector.instance.listApplicationsForNoShowRange( - shiftIds: shiftIds, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffForNoShowReport -#### Required Arguments -```dart -String staffIds = ...; -ExampleConnector.instance.listStaffForNoShowReport( - staffIds: staffIds, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffForNoShowReport( - staffIds: staffIds, -); -listStaffForNoShowReportData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffIds = ...; - -final ref = ExampleConnector.instance.listStaffForNoShowReport( - staffIds: staffIds, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoicesForSpendByBusiness -#### Required Arguments -```dart -String businessId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; -ExampleConnector.instance.listInvoicesForSpendByBusiness( - businessId: businessId, - startDate: startDate, - endDate: endDate, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoicesForSpendByBusiness( - businessId: businessId, - startDate: startDate, - endDate: endDate, -); -listInvoicesForSpendByBusinessData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; - -final ref = ExampleConnector.instance.listInvoicesForSpendByBusiness( - businessId: businessId, - startDate: startDate, - endDate: endDate, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoicesForSpendByVendor -#### Required Arguments -```dart -String vendorId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; -ExampleConnector.instance.listInvoicesForSpendByVendor( - vendorId: vendorId, - startDate: startDate, - endDate: endDate, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoicesForSpendByVendor( - vendorId: vendorId, - startDate: startDate, - endDate: endDate, -); -listInvoicesForSpendByVendorData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; - -final ref = ExampleConnector.instance.listInvoicesForSpendByVendor( - vendorId: vendorId, - startDate: startDate, - endDate: endDate, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoicesForSpendByOrder -#### Required Arguments -```dart -String orderId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; -ExampleConnector.instance.listInvoicesForSpendByOrder( - orderId: orderId, - startDate: startDate, - endDate: endDate, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoicesForSpendByOrder( - orderId: orderId, - startDate: startDate, - endDate: endDate, -); -listInvoicesForSpendByOrderData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String orderId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; - -final ref = ExampleConnector.instance.listInvoicesForSpendByOrder( - orderId: orderId, - startDate: startDate, - endDate: endDate, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTimesheetsForSpend -#### Required Arguments -```dart -Timestamp startTime = ...; -Timestamp endTime = ...; -ExampleConnector.instance.listTimesheetsForSpend( - startTime: startTime, - endTime: endTime, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTimesheetsForSpend( - startTime: startTime, - endTime: endTime, -); -listTimesheetsForSpendData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -Timestamp startTime = ...; -Timestamp endTime = ...; - -final ref = ExampleConnector.instance.listTimesheetsForSpend( - startTime: startTime, - endTime: endTime, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listShiftsForPerformanceByBusiness -#### Required Arguments -```dart -String businessId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; -ExampleConnector.instance.listShiftsForPerformanceByBusiness( - businessId: businessId, - startDate: startDate, - endDate: endDate, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listShiftsForPerformanceByBusiness( - businessId: businessId, - startDate: startDate, - endDate: endDate, -); -listShiftsForPerformanceByBusinessData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; - -final ref = ExampleConnector.instance.listShiftsForPerformanceByBusiness( - businessId: businessId, - startDate: startDate, - endDate: endDate, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listShiftsForPerformanceByVendor -#### Required Arguments -```dart -String vendorId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; -ExampleConnector.instance.listShiftsForPerformanceByVendor( - vendorId: vendorId, - startDate: startDate, - endDate: endDate, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listShiftsForPerformanceByVendor( - vendorId: vendorId, - startDate: startDate, - endDate: endDate, -); -listShiftsForPerformanceByVendorData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -Timestamp startDate = ...; -Timestamp endDate = ...; - -final ref = ExampleConnector.instance.listShiftsForPerformanceByVendor( - vendorId: vendorId, - startDate: startDate, - endDate: endDate, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listApplicationsForPerformance -#### Required Arguments -```dart -String shiftIds = ...; -ExampleConnector.instance.listApplicationsForPerformance( - shiftIds: shiftIds, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listApplicationsForPerformance( - shiftIds: shiftIds, -); -listApplicationsForPerformanceData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftIds = ...; - -final ref = ExampleConnector.instance.listApplicationsForPerformance( - shiftIds: shiftIds, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffForPerformance -#### Required Arguments -```dart -String staffIds = ...; -ExampleConnector.instance.listStaffForPerformance( - staffIds: staffIds, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffForPerformance( - staffIds: staffIds, -); -listStaffForPerformanceData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffIds = ...; - -final ref = ExampleConnector.instance.listStaffForPerformance( - staffIds: staffIds, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listBenefitsData -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listBenefitsData().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listBenefitsData, we created `listBenefitsDataBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListBenefitsDataVariablesBuilder { - ... - - ListBenefitsDataVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListBenefitsDataVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listBenefitsData() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listBenefitsData(); -listBenefitsDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listBenefitsData().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getBenefitsDataByKey -#### Required Arguments -```dart -String staffId = ...; -String vendorBenefitPlanId = ...; -ExampleConnector.instance.getBenefitsDataByKey( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getBenefitsDataByKey( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -); -getBenefitsDataByKeyData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String vendorBenefitPlanId = ...; - -final ref = ExampleConnector.instance.getBenefitsDataByKey( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listBenefitsDataByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listBenefitsDataByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listBenefitsDataByStaffId, we created `listBenefitsDataByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListBenefitsDataByStaffIdVariablesBuilder { - ... - ListBenefitsDataByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListBenefitsDataByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listBenefitsDataByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listBenefitsDataByStaffId( - staffId: staffId, -); -listBenefitsDataByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listBenefitsDataByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listBenefitsDataByVendorBenefitPlanId -#### Required Arguments -```dart -String vendorBenefitPlanId = ...; -ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanId( - vendorBenefitPlanId: vendorBenefitPlanId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listBenefitsDataByVendorBenefitPlanId, we created `listBenefitsDataByVendorBenefitPlanIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder { - ... - ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanId( - vendorBenefitPlanId: vendorBenefitPlanId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanId( - vendorBenefitPlanId: vendorBenefitPlanId, -); -listBenefitsDataByVendorBenefitPlanIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorBenefitPlanId = ...; - -final ref = ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanId( - vendorBenefitPlanId: vendorBenefitPlanId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listBenefitsDataByVendorBenefitPlanIds -#### Required Arguments -```dart -String vendorBenefitPlanIds = ...; -ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanIds( - vendorBenefitPlanIds: vendorBenefitPlanIds, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listBenefitsDataByVendorBenefitPlanIds, we created `listBenefitsDataByVendorBenefitPlanIdsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder { - ... - ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanIds( - vendorBenefitPlanIds: vendorBenefitPlanIds, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanIds( - vendorBenefitPlanIds: vendorBenefitPlanIds, -); -listBenefitsDataByVendorBenefitPlanIdsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorBenefitPlanIds = ...; - -final ref = ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanIds( - vendorBenefitPlanIds: vendorBenefitPlanIds, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffAvailabilities -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listStaffAvailabilities().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffAvailabilities, we created `listStaffAvailabilitiesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffAvailabilitiesVariablesBuilder { - ... - - ListStaffAvailabilitiesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffAvailabilitiesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffAvailabilities() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffAvailabilities(); -listStaffAvailabilitiesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listStaffAvailabilities().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffAvailabilitiesByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listStaffAvailabilitiesByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffAvailabilitiesByStaffId, we created `listStaffAvailabilitiesByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffAvailabilitiesByStaffIdVariablesBuilder { - ... - ListStaffAvailabilitiesByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffAvailabilitiesByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffAvailabilitiesByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffAvailabilitiesByStaffId( - staffId: staffId, -); -listStaffAvailabilitiesByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listStaffAvailabilitiesByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffAvailabilityByKey -#### Required Arguments -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; -ExampleConnector.instance.getStaffAvailabilityByKey( - staffId: staffId, - day: day, - slot: slot, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffAvailabilityByKey( - staffId: staffId, - day: day, - slot: slot, -); -getStaffAvailabilityByKeyData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; - -final ref = ExampleConnector.instance.getStaffAvailabilityByKey( - staffId: staffId, - day: day, - slot: slot, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffAvailabilitiesByDay -#### Required Arguments -```dart -DayOfWeek day = ...; -ExampleConnector.instance.listStaffAvailabilitiesByDay( - day: day, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffAvailabilitiesByDay, we created `listStaffAvailabilitiesByDayBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffAvailabilitiesByDayVariablesBuilder { - ... - ListStaffAvailabilitiesByDayVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffAvailabilitiesByDayVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffAvailabilitiesByDay( - day: day, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffAvailabilitiesByDay( - day: day, -); -listStaffAvailabilitiesByDayData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -DayOfWeek day = ...; - -final ref = ExampleConnector.instance.listStaffAvailabilitiesByDay( - day: day, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTeamMembers -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTeamMembers().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTeamMembers(); -listTeamMembersData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTeamMembers().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamMemberById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTeamMemberById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamMemberById( - id: id, -); -getTeamMemberByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTeamMemberById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamMembersByTeamId -#### Required Arguments -```dart -String teamId = ...; -ExampleConnector.instance.getTeamMembersByTeamId( - teamId: teamId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamMembersByTeamId( - teamId: teamId, -); -getTeamMembersByTeamIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamId = ...; - -final ref = ExampleConnector.instance.getTeamMembersByTeamId( - teamId: teamId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listVendorBenefitPlans -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listVendorBenefitPlans().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listVendorBenefitPlans, we created `listVendorBenefitPlansBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListVendorBenefitPlansVariablesBuilder { - ... - - ListVendorBenefitPlansVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListVendorBenefitPlansVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listVendorBenefitPlans() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listVendorBenefitPlans(); -listVendorBenefitPlansData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listVendorBenefitPlans().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getVendorBenefitPlanById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getVendorBenefitPlanById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getVendorBenefitPlanById( - id: id, -); -getVendorBenefitPlanByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getVendorBenefitPlanById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listVendorBenefitPlansByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listVendorBenefitPlansByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listVendorBenefitPlansByVendorId, we created `listVendorBenefitPlansByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListVendorBenefitPlansByVendorIdVariablesBuilder { - ... - ListVendorBenefitPlansByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListVendorBenefitPlansByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listVendorBenefitPlansByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listVendorBenefitPlansByVendorId( - vendorId: vendorId, -); -listVendorBenefitPlansByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listVendorBenefitPlansByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listActiveVendorBenefitPlansByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listActiveVendorBenefitPlansByVendorId, we created `listActiveVendorBenefitPlansByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListActiveVendorBenefitPlansByVendorIdVariablesBuilder { - ... - ListActiveVendorBenefitPlansByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListActiveVendorBenefitPlansByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( - vendorId: vendorId, -); -listActiveVendorBenefitPlansByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterVendorBenefitPlans -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterVendorBenefitPlans().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterVendorBenefitPlans, we created `filterVendorBenefitPlansBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterVendorBenefitPlansVariablesBuilder { - ... - - FilterVendorBenefitPlansVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - FilterVendorBenefitPlansVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - FilterVendorBenefitPlansVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - FilterVendorBenefitPlansVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterVendorBenefitPlansVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterVendorBenefitPlans() -.vendorId(vendorId) -.title(title) -.isActive(isActive) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterVendorBenefitPlans(); -filterVendorBenefitPlansData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterVendorBenefitPlans().ref(); -ref.execute(); - -ref.subscribe(...); -``` - -## Mutations - -### createDocument -#### Required Arguments -```dart -DocumentType documentType = ...; -String name = ...; -ExampleConnector.instance.createDocument( - documentType: documentType, - name: name, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createDocument, we created `createDocumentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateDocumentVariablesBuilder { - ... - CreateDocumentVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createDocument( - documentType: documentType, - name: name, -) -.description(description) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createDocument( - documentType: documentType, - name: name, -); -createDocumentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -DocumentType documentType = ...; -String name = ...; - -final ref = ExampleConnector.instance.createDocument( - documentType: documentType, - name: name, -).ref(); -ref.execute(); -``` - - -### updateDocument -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateDocument( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateDocument, we created `updateDocumentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateDocumentVariablesBuilder { - ... - UpdateDocumentVariablesBuilder documentType(DocumentType? t) { - _documentType.value = t; - return this; - } - UpdateDocumentVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateDocumentVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateDocument( - id: id, -) -.documentType(documentType) -.name(name) -.description(description) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateDocument( - id: id, -); -updateDocumentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateDocument( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteDocument -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteDocument( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteDocument( - id: id, -); -deleteDocumentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteDocument( - id: id, -).ref(); -ref.execute(); -``` - - -### createConversation -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.createConversation().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createConversation, we created `createConversationBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateConversationVariablesBuilder { - ... - - CreateConversationVariablesBuilder subject(String? t) { - _subject.value = t; - return this; - } - CreateConversationVariablesBuilder status(ConversationStatus? t) { - _status.value = t; - return this; - } - CreateConversationVariablesBuilder conversationType(ConversationType? t) { - _conversationType.value = t; - return this; - } - CreateConversationVariablesBuilder isGroup(bool? t) { - _isGroup.value = t; - return this; - } - CreateConversationVariablesBuilder groupName(String? t) { - _groupName.value = t; - return this; - } - CreateConversationVariablesBuilder lastMessage(String? t) { - _lastMessage.value = t; - return this; - } - CreateConversationVariablesBuilder lastMessageAt(Timestamp? t) { - _lastMessageAt.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createConversation() -.subject(subject) -.status(status) -.conversationType(conversationType) -.isGroup(isGroup) -.groupName(groupName) -.lastMessage(lastMessage) -.lastMessageAt(lastMessageAt) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createConversation(); -createConversationData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.createConversation().ref(); -ref.execute(); -``` - - -### updateConversation -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateConversation( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateConversation, we created `updateConversationBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateConversationVariablesBuilder { - ... - UpdateConversationVariablesBuilder subject(String? t) { - _subject.value = t; - return this; - } - UpdateConversationVariablesBuilder status(ConversationStatus? t) { - _status.value = t; - return this; - } - UpdateConversationVariablesBuilder conversationType(ConversationType? t) { - _conversationType.value = t; - return this; - } - UpdateConversationVariablesBuilder isGroup(bool? t) { - _isGroup.value = t; - return this; - } - UpdateConversationVariablesBuilder groupName(String? t) { - _groupName.value = t; - return this; - } - UpdateConversationVariablesBuilder lastMessage(String? t) { - _lastMessage.value = t; - return this; - } - UpdateConversationVariablesBuilder lastMessageAt(Timestamp? t) { - _lastMessageAt.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateConversation( - id: id, -) -.subject(subject) -.status(status) -.conversationType(conversationType) -.isGroup(isGroup) -.groupName(groupName) -.lastMessage(lastMessage) -.lastMessageAt(lastMessageAt) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateConversation( - id: id, -); -updateConversationData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateConversation( - id: id, -).ref(); -ref.execute(); -``` - - -### updateConversationLastMessage -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateConversationLastMessage( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateConversationLastMessage, we created `updateConversationLastMessageBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateConversationLastMessageVariablesBuilder { - ... - UpdateConversationLastMessageVariablesBuilder lastMessage(String? t) { - _lastMessage.value = t; - return this; - } - UpdateConversationLastMessageVariablesBuilder lastMessageAt(Timestamp? t) { - _lastMessageAt.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateConversationLastMessage( - id: id, -) -.lastMessage(lastMessage) -.lastMessageAt(lastMessageAt) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateConversationLastMessage( - id: id, -); -updateConversationLastMessageData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateConversationLastMessage( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteConversation -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteConversation( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteConversation( - id: id, -); -deleteConversationData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteConversation( - id: id, -).ref(); -ref.execute(); -``` - - -### createInvoice -#### Required Arguments -```dart -InvoiceStatus status = ...; -String vendorId = ...; -String businessId = ...; -String orderId = ...; -String invoiceNumber = ...; -Timestamp issueDate = ...; -Timestamp dueDate = ...; -double amount = ...; -ExampleConnector.instance.createInvoice( - status: status, - vendorId: vendorId, - businessId: businessId, - orderId: orderId, - invoiceNumber: invoiceNumber, - issueDate: issueDate, - dueDate: dueDate, - amount: amount, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createInvoice, we created `createInvoiceBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateInvoiceVariablesBuilder { - ... - CreateInvoiceVariablesBuilder paymentTerms(InovicePaymentTerms? t) { - _paymentTerms.value = t; - return this; - } - CreateInvoiceVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - CreateInvoiceVariablesBuilder managerName(String? t) { - _managerName.value = t; - return this; - } - CreateInvoiceVariablesBuilder vendorNumber(String? t) { - _vendorNumber.value = t; - return this; - } - CreateInvoiceVariablesBuilder roles(AnyValue? t) { - _roles.value = t; - return this; - } - CreateInvoiceVariablesBuilder charges(AnyValue? t) { - _charges.value = t; - return this; - } - CreateInvoiceVariablesBuilder otherCharges(double? t) { - _otherCharges.value = t; - return this; - } - CreateInvoiceVariablesBuilder subtotal(double? t) { - _subtotal.value = t; - return this; - } - CreateInvoiceVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - CreateInvoiceVariablesBuilder staffCount(int? t) { - _staffCount.value = t; - return this; - } - CreateInvoiceVariablesBuilder chargesCount(int? t) { - _chargesCount.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createInvoice( - status: status, - vendorId: vendorId, - businessId: businessId, - orderId: orderId, - invoiceNumber: invoiceNumber, - issueDate: issueDate, - dueDate: dueDate, - amount: amount, -) -.paymentTerms(paymentTerms) -.hub(hub) -.managerName(managerName) -.vendorNumber(vendorNumber) -.roles(roles) -.charges(charges) -.otherCharges(otherCharges) -.subtotal(subtotal) -.notes(notes) -.staffCount(staffCount) -.chargesCount(chargesCount) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createInvoice( - status: status, - vendorId: vendorId, - businessId: businessId, - orderId: orderId, - invoiceNumber: invoiceNumber, - issueDate: issueDate, - dueDate: dueDate, - amount: amount, -); -createInvoiceData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -InvoiceStatus status = ...; -String vendorId = ...; -String businessId = ...; -String orderId = ...; -String invoiceNumber = ...; -Timestamp issueDate = ...; -Timestamp dueDate = ...; -double amount = ...; - -final ref = ExampleConnector.instance.createInvoice( - status: status, - vendorId: vendorId, - businessId: businessId, - orderId: orderId, - invoiceNumber: invoiceNumber, - issueDate: issueDate, - dueDate: dueDate, - amount: amount, -).ref(); -ref.execute(); -``` - - -### updateInvoice -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateInvoice( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateInvoice, we created `updateInvoiceBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateInvoiceVariablesBuilder { - ... - UpdateInvoiceVariablesBuilder status(InvoiceStatus? t) { - _status.value = t; - return this; - } - UpdateInvoiceVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateInvoiceVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - UpdateInvoiceVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - UpdateInvoiceVariablesBuilder paymentTerms(InovicePaymentTerms? t) { - _paymentTerms.value = t; - return this; - } - UpdateInvoiceVariablesBuilder invoiceNumber(String? t) { - _invoiceNumber.value = t; - return this; - } - UpdateInvoiceVariablesBuilder issueDate(Timestamp? t) { - _issueDate.value = t; - return this; - } - UpdateInvoiceVariablesBuilder dueDate(Timestamp? t) { - _dueDate.value = t; - return this; - } - UpdateInvoiceVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - UpdateInvoiceVariablesBuilder managerName(String? t) { - _managerName.value = t; - return this; - } - UpdateInvoiceVariablesBuilder vendorNumber(String? t) { - _vendorNumber.value = t; - return this; - } - UpdateInvoiceVariablesBuilder roles(AnyValue? t) { - _roles.value = t; - return this; - } - UpdateInvoiceVariablesBuilder charges(AnyValue? t) { - _charges.value = t; - return this; - } - UpdateInvoiceVariablesBuilder otherCharges(double? t) { - _otherCharges.value = t; - return this; - } - UpdateInvoiceVariablesBuilder subtotal(double? t) { - _subtotal.value = t; - return this; - } - UpdateInvoiceVariablesBuilder amount(double? t) { - _amount.value = t; - return this; - } - UpdateInvoiceVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - UpdateInvoiceVariablesBuilder staffCount(int? t) { - _staffCount.value = t; - return this; - } - UpdateInvoiceVariablesBuilder chargesCount(int? t) { - _chargesCount.value = t; - return this; - } - UpdateInvoiceVariablesBuilder disputedItems(AnyValue? t) { - _disputedItems.value = t; - return this; - } - UpdateInvoiceVariablesBuilder disputeReason(String? t) { - _disputeReason.value = t; - return this; - } - UpdateInvoiceVariablesBuilder disputeDetails(String? t) { - _disputeDetails.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateInvoice( - id: id, -) -.status(status) -.vendorId(vendorId) -.businessId(businessId) -.orderId(orderId) -.paymentTerms(paymentTerms) -.invoiceNumber(invoiceNumber) -.issueDate(issueDate) -.dueDate(dueDate) -.hub(hub) -.managerName(managerName) -.vendorNumber(vendorNumber) -.roles(roles) -.charges(charges) -.otherCharges(otherCharges) -.subtotal(subtotal) -.amount(amount) -.notes(notes) -.staffCount(staffCount) -.chargesCount(chargesCount) -.disputedItems(disputedItems) -.disputeReason(disputeReason) -.disputeDetails(disputeDetails) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateInvoice( - id: id, -); -updateInvoiceData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateInvoice( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteInvoice -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteInvoice( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteInvoice( - id: id, -); -deleteInvoiceData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteInvoice( - id: id, -).ref(); -ref.execute(); -``` - - -### createVendorRate -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.createVendorRate( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createVendorRate, we created `createVendorRateBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateVendorRateVariablesBuilder { - ... - CreateVendorRateVariablesBuilder roleName(String? t) { - _roleName.value = t; - return this; - } - CreateVendorRateVariablesBuilder category(CategoryType? t) { - _category.value = t; - return this; - } - CreateVendorRateVariablesBuilder clientRate(double? t) { - _clientRate.value = t; - return this; - } - CreateVendorRateVariablesBuilder employeeWage(double? t) { - _employeeWage.value = t; - return this; - } - CreateVendorRateVariablesBuilder markupPercentage(double? t) { - _markupPercentage.value = t; - return this; - } - CreateVendorRateVariablesBuilder vendorFeePercentage(double? t) { - _vendorFeePercentage.value = t; - return this; - } - CreateVendorRateVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateVendorRateVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createVendorRate( - vendorId: vendorId, -) -.roleName(roleName) -.category(category) -.clientRate(clientRate) -.employeeWage(employeeWage) -.markupPercentage(markupPercentage) -.vendorFeePercentage(vendorFeePercentage) -.isActive(isActive) -.notes(notes) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createVendorRate( - vendorId: vendorId, -); -createVendorRateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.createVendorRate( - vendorId: vendorId, -).ref(); -ref.execute(); -``` - - -### updateVendorRate -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateVendorRate( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateVendorRate, we created `updateVendorRateBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateVendorRateVariablesBuilder { - ... - UpdateVendorRateVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateVendorRateVariablesBuilder roleName(String? t) { - _roleName.value = t; - return this; - } - UpdateVendorRateVariablesBuilder category(CategoryType? t) { - _category.value = t; - return this; - } - UpdateVendorRateVariablesBuilder clientRate(double? t) { - _clientRate.value = t; - return this; - } - UpdateVendorRateVariablesBuilder employeeWage(double? t) { - _employeeWage.value = t; - return this; - } - UpdateVendorRateVariablesBuilder markupPercentage(double? t) { - _markupPercentage.value = t; - return this; - } - UpdateVendorRateVariablesBuilder vendorFeePercentage(double? t) { - _vendorFeePercentage.value = t; - return this; - } - UpdateVendorRateVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateVendorRateVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateVendorRate( - id: id, -) -.vendorId(vendorId) -.roleName(roleName) -.category(category) -.clientRate(clientRate) -.employeeWage(employeeWage) -.markupPercentage(markupPercentage) -.vendorFeePercentage(vendorFeePercentage) -.isActive(isActive) -.notes(notes) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateVendorRate( - id: id, -); -updateVendorRateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateVendorRate( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteVendorRate -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteVendorRate( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteVendorRate( - id: id, -); -deleteVendorRateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteVendorRate( - id: id, -).ref(); -ref.execute(); -``` - - -### createClientFeedback -#### Required Arguments -```dart -String businessId = ...; -String vendorId = ...; -ExampleConnector.instance.createClientFeedback( - businessId: businessId, - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createClientFeedback, we created `createClientFeedbackBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateClientFeedbackVariablesBuilder { - ... - CreateClientFeedbackVariablesBuilder rating(int? t) { - _rating.value = t; - return this; - } - CreateClientFeedbackVariablesBuilder comment(String? t) { - _comment.value = t; - return this; - } - CreateClientFeedbackVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - CreateClientFeedbackVariablesBuilder createdBy(String? t) { - _createdBy.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createClientFeedback( - businessId: businessId, - vendorId: vendorId, -) -.rating(rating) -.comment(comment) -.date(date) -.createdBy(createdBy) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createClientFeedback( - businessId: businessId, - vendorId: vendorId, -); -createClientFeedbackData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; -String vendorId = ...; - -final ref = ExampleConnector.instance.createClientFeedback( - businessId: businessId, - vendorId: vendorId, -).ref(); -ref.execute(); -``` - - -### updateClientFeedback -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateClientFeedback( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateClientFeedback, we created `updateClientFeedbackBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateClientFeedbackVariablesBuilder { - ... - UpdateClientFeedbackVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - UpdateClientFeedbackVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateClientFeedbackVariablesBuilder rating(int? t) { - _rating.value = t; - return this; - } - UpdateClientFeedbackVariablesBuilder comment(String? t) { - _comment.value = t; - return this; - } - UpdateClientFeedbackVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - UpdateClientFeedbackVariablesBuilder createdBy(String? t) { - _createdBy.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateClientFeedback( - id: id, -) -.businessId(businessId) -.vendorId(vendorId) -.rating(rating) -.comment(comment) -.date(date) -.createdBy(createdBy) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateClientFeedback( - id: id, -); -updateClientFeedbackData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateClientFeedback( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteClientFeedback -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteClientFeedback( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteClientFeedback( - id: id, -); -deleteClientFeedbackData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteClientFeedback( - id: id, -).ref(); -ref.execute(); -``` - - -### createTeam -#### Required Arguments -```dart -String teamName = ...; -String ownerId = ...; -String ownerName = ...; -String ownerRole = ...; -ExampleConnector.instance.createTeam( - teamName: teamName, - ownerId: ownerId, - ownerName: ownerName, - ownerRole: ownerRole, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTeam, we created `createTeamBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTeamVariablesBuilder { - ... - CreateTeamVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateTeamVariablesBuilder companyLogo(String? t) { - _companyLogo.value = t; - return this; - } - CreateTeamVariablesBuilder totalMembers(int? t) { - _totalMembers.value = t; - return this; - } - CreateTeamVariablesBuilder activeMembers(int? t) { - _activeMembers.value = t; - return this; - } - CreateTeamVariablesBuilder totalHubs(int? t) { - _totalHubs.value = t; - return this; - } - CreateTeamVariablesBuilder departments(AnyValue? t) { - _departments.value = t; - return this; - } - CreateTeamVariablesBuilder favoriteStaffCount(int? t) { - _favoriteStaffCount.value = t; - return this; - } - CreateTeamVariablesBuilder blockedStaffCount(int? t) { - _blockedStaffCount.value = t; - return this; - } - CreateTeamVariablesBuilder favoriteStaff(AnyValue? t) { - _favoriteStaff.value = t; - return this; - } - CreateTeamVariablesBuilder blockedStaff(AnyValue? t) { - _blockedStaff.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTeam( - teamName: teamName, - ownerId: ownerId, - ownerName: ownerName, - ownerRole: ownerRole, -) -.email(email) -.companyLogo(companyLogo) -.totalMembers(totalMembers) -.activeMembers(activeMembers) -.totalHubs(totalHubs) -.departments(departments) -.favoriteStaffCount(favoriteStaffCount) -.blockedStaffCount(blockedStaffCount) -.favoriteStaff(favoriteStaff) -.blockedStaff(blockedStaff) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTeam( - teamName: teamName, - ownerId: ownerId, - ownerName: ownerName, - ownerRole: ownerRole, -); -createTeamData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamName = ...; -String ownerId = ...; -String ownerName = ...; -String ownerRole = ...; - -final ref = ExampleConnector.instance.createTeam( - teamName: teamName, - ownerId: ownerId, - ownerName: ownerName, - ownerRole: ownerRole, -).ref(); -ref.execute(); -``` - - -### updateTeam -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTeam( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTeam, we created `updateTeamBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTeamVariablesBuilder { - ... - UpdateTeamVariablesBuilder teamName(String? t) { - _teamName.value = t; - return this; - } - UpdateTeamVariablesBuilder ownerName(String? t) { - _ownerName.value = t; - return this; - } - UpdateTeamVariablesBuilder ownerRole(String? t) { - _ownerRole.value = t; - return this; - } - UpdateTeamVariablesBuilder companyLogo(String? t) { - _companyLogo.value = t; - return this; - } - UpdateTeamVariablesBuilder totalMembers(int? t) { - _totalMembers.value = t; - return this; - } - UpdateTeamVariablesBuilder activeMembers(int? t) { - _activeMembers.value = t; - return this; - } - UpdateTeamVariablesBuilder totalHubs(int? t) { - _totalHubs.value = t; - return this; - } - UpdateTeamVariablesBuilder departments(AnyValue? t) { - _departments.value = t; - return this; - } - UpdateTeamVariablesBuilder favoriteStaffCount(int? t) { - _favoriteStaffCount.value = t; - return this; - } - UpdateTeamVariablesBuilder blockedStaffCount(int? t) { - _blockedStaffCount.value = t; - return this; - } - UpdateTeamVariablesBuilder favoriteStaff(AnyValue? t) { - _favoriteStaff.value = t; - return this; - } - UpdateTeamVariablesBuilder blockedStaff(AnyValue? t) { - _blockedStaff.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTeam( - id: id, -) -.teamName(teamName) -.ownerName(ownerName) -.ownerRole(ownerRole) -.companyLogo(companyLogo) -.totalMembers(totalMembers) -.activeMembers(activeMembers) -.totalHubs(totalHubs) -.departments(departments) -.favoriteStaffCount(favoriteStaffCount) -.blockedStaffCount(blockedStaffCount) -.favoriteStaff(favoriteStaff) -.blockedStaff(blockedStaff) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTeam( - id: id, -); -updateTeamData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTeam( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteTeam -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTeam( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTeam( - id: id, -); -deleteTeamData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTeam( - id: id, -).ref(); -ref.execute(); -``` - - -### createVendor -#### Required Arguments -```dart -String userId = ...; -String companyName = ...; -ExampleConnector.instance.createVendor( - userId: userId, - companyName: companyName, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createVendor, we created `createVendorBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateVendorVariablesBuilder { - ... - CreateVendorVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateVendorVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - CreateVendorVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - CreateVendorVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - CreateVendorVariablesBuilder billingAddress(String? t) { - _billingAddress.value = t; - return this; - } - CreateVendorVariablesBuilder timezone(String? t) { - _timezone.value = t; - return this; - } - CreateVendorVariablesBuilder legalName(String? t) { - _legalName.value = t; - return this; - } - CreateVendorVariablesBuilder doingBusinessAs(String? t) { - _doingBusinessAs.value = t; - return this; - } - CreateVendorVariablesBuilder region(String? t) { - _region.value = t; - return this; - } - CreateVendorVariablesBuilder state(String? t) { - _state.value = t; - return this; - } - CreateVendorVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - CreateVendorVariablesBuilder serviceSpecialty(String? t) { - _serviceSpecialty.value = t; - return this; - } - CreateVendorVariablesBuilder approvalStatus(ApprovalStatus? t) { - _approvalStatus.value = t; - return this; - } - CreateVendorVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateVendorVariablesBuilder markup(double? t) { - _markup.value = t; - return this; - } - CreateVendorVariablesBuilder fee(double? t) { - _fee.value = t; - return this; - } - CreateVendorVariablesBuilder csat(double? t) { - _csat.value = t; - return this; - } - CreateVendorVariablesBuilder tier(VendorTier? t) { - _tier.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createVendor( - userId: userId, - companyName: companyName, -) -.email(email) -.phone(phone) -.photoUrl(photoUrl) -.address(address) -.billingAddress(billingAddress) -.timezone(timezone) -.legalName(legalName) -.doingBusinessAs(doingBusinessAs) -.region(region) -.state(state) -.city(city) -.serviceSpecialty(serviceSpecialty) -.approvalStatus(approvalStatus) -.isActive(isActive) -.markup(markup) -.fee(fee) -.csat(csat) -.tier(tier) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createVendor( - userId: userId, - companyName: companyName, -); -createVendorData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; -String companyName = ...; - -final ref = ExampleConnector.instance.createVendor( - userId: userId, - companyName: companyName, -).ref(); -ref.execute(); -``` - - -### updateVendor -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateVendor( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateVendor, we created `updateVendorBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateVendorVariablesBuilder { - ... - UpdateVendorVariablesBuilder companyName(String? t) { - _companyName.value = t; - return this; - } - UpdateVendorVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - UpdateVendorVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - UpdateVendorVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - UpdateVendorVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - UpdateVendorVariablesBuilder billingAddress(String? t) { - _billingAddress.value = t; - return this; - } - UpdateVendorVariablesBuilder timezone(String? t) { - _timezone.value = t; - return this; - } - UpdateVendorVariablesBuilder legalName(String? t) { - _legalName.value = t; - return this; - } - UpdateVendorVariablesBuilder doingBusinessAs(String? t) { - _doingBusinessAs.value = t; - return this; - } - UpdateVendorVariablesBuilder region(String? t) { - _region.value = t; - return this; - } - UpdateVendorVariablesBuilder state(String? t) { - _state.value = t; - return this; - } - UpdateVendorVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - UpdateVendorVariablesBuilder serviceSpecialty(String? t) { - _serviceSpecialty.value = t; - return this; - } - UpdateVendorVariablesBuilder approvalStatus(ApprovalStatus? t) { - _approvalStatus.value = t; - return this; - } - UpdateVendorVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateVendorVariablesBuilder markup(double? t) { - _markup.value = t; - return this; - } - UpdateVendorVariablesBuilder fee(double? t) { - _fee.value = t; - return this; - } - UpdateVendorVariablesBuilder csat(double? t) { - _csat.value = t; - return this; - } - UpdateVendorVariablesBuilder tier(VendorTier? t) { - _tier.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateVendor( - id: id, -) -.companyName(companyName) -.email(email) -.phone(phone) -.photoUrl(photoUrl) -.address(address) -.billingAddress(billingAddress) -.timezone(timezone) -.legalName(legalName) -.doingBusinessAs(doingBusinessAs) -.region(region) -.state(state) -.city(city) -.serviceSpecialty(serviceSpecialty) -.approvalStatus(approvalStatus) -.isActive(isActive) -.markup(markup) -.fee(fee) -.csat(csat) -.tier(tier) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateVendor( - id: id, -); -updateVendorData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateVendor( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteVendor -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteVendor( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteVendor( - id: id, -); -deleteVendorData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteVendor( - id: id, -).ref(); -ref.execute(); -``` - - -### createWorkforce -#### Required Arguments -```dart -String vendorId = ...; -String staffId = ...; -String workforceNumber = ...; -ExampleConnector.instance.createWorkforce( - vendorId: vendorId, - staffId: staffId, - workforceNumber: workforceNumber, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createWorkforce, we created `createWorkforceBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateWorkforceVariablesBuilder { - ... - CreateWorkforceVariablesBuilder employmentType(WorkforceEmploymentType? t) { - _employmentType.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createWorkforce( - vendorId: vendorId, - staffId: staffId, - workforceNumber: workforceNumber, -) -.employmentType(employmentType) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createWorkforce( - vendorId: vendorId, - staffId: staffId, - workforceNumber: workforceNumber, -); -createWorkforceData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -String staffId = ...; -String workforceNumber = ...; - -final ref = ExampleConnector.instance.createWorkforce( - vendorId: vendorId, - staffId: staffId, - workforceNumber: workforceNumber, -).ref(); -ref.execute(); -``` - - -### updateWorkforce -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateWorkforce( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateWorkforce, we created `updateWorkforceBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateWorkforceVariablesBuilder { - ... - UpdateWorkforceVariablesBuilder workforceNumber(String? t) { - _workforceNumber.value = t; - return this; - } - UpdateWorkforceVariablesBuilder employmentType(WorkforceEmploymentType? t) { - _employmentType.value = t; - return this; - } - UpdateWorkforceVariablesBuilder status(WorkforceStatus? t) { - _status.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateWorkforce( - id: id, -) -.workforceNumber(workforceNumber) -.employmentType(employmentType) -.status(status) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateWorkforce( - id: id, -); -updateWorkforceData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateWorkforce( - id: id, -).ref(); -ref.execute(); -``` - - -### deactivateWorkforce -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deactivateWorkforce( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deactivateWorkforce( - id: id, -); -deactivateWorkforceData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deactivateWorkforce( - id: id, -).ref(); -ref.execute(); -``` - - -### createBusiness -#### Required Arguments -```dart -String businessName = ...; -String userId = ...; -BusinessRateGroup rateGroup = ...; -BusinessStatus status = ...; -ExampleConnector.instance.createBusiness( - businessName: businessName, - userId: userId, - rateGroup: rateGroup, - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createBusiness, we created `createBusinessBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateBusinessVariablesBuilder { - ... - CreateBusinessVariablesBuilder contactName(String? t) { - _contactName.value = t; - return this; - } - CreateBusinessVariablesBuilder companyLogoUrl(String? t) { - _companyLogoUrl.value = t; - return this; - } - CreateBusinessVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - CreateBusinessVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateBusinessVariablesBuilder hubBuilding(String? t) { - _hubBuilding.value = t; - return this; - } - CreateBusinessVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - CreateBusinessVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - CreateBusinessVariablesBuilder area(BusinessArea? t) { - _area.value = t; - return this; - } - CreateBusinessVariablesBuilder sector(BusinessSector? t) { - _sector.value = t; - return this; - } - CreateBusinessVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createBusiness( - businessName: businessName, - userId: userId, - rateGroup: rateGroup, - status: status, -) -.contactName(contactName) -.companyLogoUrl(companyLogoUrl) -.phone(phone) -.email(email) -.hubBuilding(hubBuilding) -.address(address) -.city(city) -.area(area) -.sector(sector) -.notes(notes) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createBusiness( - businessName: businessName, - userId: userId, - rateGroup: rateGroup, - status: status, -); -createBusinessData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessName = ...; -String userId = ...; -BusinessRateGroup rateGroup = ...; -BusinessStatus status = ...; - -final ref = ExampleConnector.instance.createBusiness( - businessName: businessName, - userId: userId, - rateGroup: rateGroup, - status: status, -).ref(); -ref.execute(); -``` - - -### updateBusiness -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateBusiness( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateBusiness, we created `updateBusinessBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateBusinessVariablesBuilder { - ... - UpdateBusinessVariablesBuilder businessName(String? t) { - _businessName.value = t; - return this; - } - UpdateBusinessVariablesBuilder contactName(String? t) { - _contactName.value = t; - return this; - } - UpdateBusinessVariablesBuilder companyLogoUrl(String? t) { - _companyLogoUrl.value = t; - return this; - } - UpdateBusinessVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - UpdateBusinessVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - UpdateBusinessVariablesBuilder hubBuilding(String? t) { - _hubBuilding.value = t; - return this; - } - UpdateBusinessVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - UpdateBusinessVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - UpdateBusinessVariablesBuilder area(BusinessArea? t) { - _area.value = t; - return this; - } - UpdateBusinessVariablesBuilder sector(BusinessSector? t) { - _sector.value = t; - return this; - } - UpdateBusinessVariablesBuilder rateGroup(BusinessRateGroup? t) { - _rateGroup.value = t; - return this; - } - UpdateBusinessVariablesBuilder status(BusinessStatus? t) { - _status.value = t; - return this; - } - UpdateBusinessVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateBusiness( - id: id, -) -.businessName(businessName) -.contactName(contactName) -.companyLogoUrl(companyLogoUrl) -.phone(phone) -.email(email) -.hubBuilding(hubBuilding) -.address(address) -.city(city) -.area(area) -.sector(sector) -.rateGroup(rateGroup) -.status(status) -.notes(notes) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateBusiness( - id: id, -); -updateBusinessData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateBusiness( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteBusiness -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteBusiness( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteBusiness( - id: id, -); -deleteBusinessData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteBusiness( - id: id, -).ref(); -ref.execute(); -``` - - -### createHub -#### Required Arguments -```dart -String name = ...; -String ownerId = ...; -ExampleConnector.instance.createHub( - name: name, - ownerId: ownerId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createHub, we created `createHubBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateHubVariablesBuilder { - ... - CreateHubVariablesBuilder locationName(String? t) { - _locationName.value = t; - return this; - } - CreateHubVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - CreateHubVariablesBuilder nfcTagId(String? t) { - _nfcTagId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createHub( - name: name, - ownerId: ownerId, -) -.locationName(locationName) -.address(address) -.nfcTagId(nfcTagId) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createHub( - name: name, - ownerId: ownerId, -); -createHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; -String ownerId = ...; - -final ref = ExampleConnector.instance.createHub( - name: name, - ownerId: ownerId, -).ref(); -ref.execute(); -``` - - -### updateHub -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateHub( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateHub, we created `updateHubBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateHubVariablesBuilder { - ... - UpdateHubVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateHubVariablesBuilder locationName(String? t) { - _locationName.value = t; - return this; - } - UpdateHubVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - UpdateHubVariablesBuilder nfcTagId(String? t) { - _nfcTagId.value = t; - return this; - } - UpdateHubVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateHub( - id: id, -) -.name(name) -.locationName(locationName) -.address(address) -.nfcTagId(nfcTagId) -.ownerId(ownerId) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateHub( - id: id, -); -updateHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateHub( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteHub -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteHub( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteHub( - id: id, -); -deleteHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteHub( - id: id, -).ref(); -ref.execute(); -``` - - -### createLevel -#### Required Arguments -```dart -String name = ...; -int xpRequired = ...; -ExampleConnector.instance.createLevel( - name: name, - xpRequired: xpRequired, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createLevel, we created `createLevelBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateLevelVariablesBuilder { - ... - CreateLevelVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - CreateLevelVariablesBuilder colors(AnyValue? t) { - _colors.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createLevel( - name: name, - xpRequired: xpRequired, -) -.icon(icon) -.colors(colors) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createLevel( - name: name, - xpRequired: xpRequired, -); -createLevelData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; -int xpRequired = ...; - -final ref = ExampleConnector.instance.createLevel( - name: name, - xpRequired: xpRequired, -).ref(); -ref.execute(); -``` - - -### updateLevel -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateLevel( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateLevel, we created `updateLevelBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateLevelVariablesBuilder { - ... - UpdateLevelVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateLevelVariablesBuilder xpRequired(int? t) { - _xpRequired.value = t; - return this; - } - UpdateLevelVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - UpdateLevelVariablesBuilder colors(AnyValue? t) { - _colors.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateLevel( - id: id, -) -.name(name) -.xpRequired(xpRequired) -.icon(icon) -.colors(colors) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateLevel( - id: id, -); -updateLevelData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateLevel( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteLevel -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteLevel( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteLevel( - id: id, -); -deleteLevelData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteLevel( - id: id, -).ref(); -ref.execute(); -``` - - -### createRecentPayment -#### Required Arguments -```dart -String staffId = ...; -String applicationId = ...; -String invoiceId = ...; -ExampleConnector.instance.createRecentPayment( - staffId: staffId, - applicationId: applicationId, - invoiceId: invoiceId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createRecentPayment, we created `createRecentPaymentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateRecentPaymentVariablesBuilder { - ... - - CreateRecentPaymentVariablesBuilder workedTime(String? t) { - _workedTime.value = t; - return this; - } - CreateRecentPaymentVariablesBuilder status(RecentPaymentStatus? t) { - _status.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createRecentPayment( - staffId: staffId, - applicationId: applicationId, - invoiceId: invoiceId, -) -.workedTime(workedTime) -.status(status) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createRecentPayment( - staffId: staffId, - applicationId: applicationId, - invoiceId: invoiceId, -); -createRecentPaymentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String applicationId = ...; -String invoiceId = ...; - -final ref = ExampleConnector.instance.createRecentPayment( - staffId: staffId, - applicationId: applicationId, - invoiceId: invoiceId, -).ref(); -ref.execute(); -``` - - -### updateRecentPayment -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateRecentPayment( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateRecentPayment, we created `updateRecentPaymentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateRecentPaymentVariablesBuilder { - ... - UpdateRecentPaymentVariablesBuilder workedTime(String? t) { - _workedTime.value = t; - return this; - } - UpdateRecentPaymentVariablesBuilder status(RecentPaymentStatus? t) { - _status.value = t; - return this; - } - UpdateRecentPaymentVariablesBuilder staffId(String? t) { - _staffId.value = t; - return this; - } - UpdateRecentPaymentVariablesBuilder applicationId(String? t) { - _applicationId.value = t; - return this; - } - UpdateRecentPaymentVariablesBuilder invoiceId(String? t) { - _invoiceId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateRecentPayment( - id: id, -) -.workedTime(workedTime) -.status(status) -.staffId(staffId) -.applicationId(applicationId) -.invoiceId(invoiceId) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateRecentPayment( - id: id, -); -updateRecentPaymentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateRecentPayment( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteRecentPayment -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteRecentPayment( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteRecentPayment( - id: id, -); -deleteRecentPaymentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteRecentPayment( - id: id, -).ref(); -ref.execute(); -``` - - -### createTeamHudDepartment -#### Required Arguments -```dart -String name = ...; -String teamHubId = ...; -ExampleConnector.instance.createTeamHudDepartment( - name: name, - teamHubId: teamHubId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTeamHudDepartment, we created `createTeamHudDepartmentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTeamHudDepartmentVariablesBuilder { - ... - CreateTeamHudDepartmentVariablesBuilder costCenter(String? t) { - _costCenter.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTeamHudDepartment( - name: name, - teamHubId: teamHubId, -) -.costCenter(costCenter) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTeamHudDepartment( - name: name, - teamHubId: teamHubId, -); -createTeamHudDepartmentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; -String teamHubId = ...; - -final ref = ExampleConnector.instance.createTeamHudDepartment( - name: name, - teamHubId: teamHubId, -).ref(); -ref.execute(); -``` - - -### updateTeamHudDepartment -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTeamHudDepartment( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTeamHudDepartment, we created `updateTeamHudDepartmentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTeamHudDepartmentVariablesBuilder { - ... - UpdateTeamHudDepartmentVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateTeamHudDepartmentVariablesBuilder costCenter(String? t) { - _costCenter.value = t; - return this; - } - UpdateTeamHudDepartmentVariablesBuilder teamHubId(String? t) { - _teamHubId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTeamHudDepartment( - id: id, -) -.name(name) -.costCenter(costCenter) -.teamHubId(teamHubId) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTeamHudDepartment( - id: id, -); -updateTeamHudDepartmentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTeamHudDepartment( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteTeamHudDepartment -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTeamHudDepartment( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTeamHudDepartment( - id: id, -); -deleteTeamHudDepartmentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTeamHudDepartment( - id: id, -).ref(); -ref.execute(); -``` - - -### createTeamMember -#### Required Arguments -```dart -String teamId = ...; -TeamMemberRole role = ...; -String userId = ...; -ExampleConnector.instance.createTeamMember( - teamId: teamId, - role: role, - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTeamMember, we created `createTeamMemberBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTeamMemberVariablesBuilder { - ... - CreateTeamMemberVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - CreateTeamMemberVariablesBuilder department(String? t) { - _department.value = t; - return this; - } - CreateTeamMemberVariablesBuilder teamHubId(String? t) { - _teamHubId.value = t; - return this; - } - CreateTeamMemberVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateTeamMemberVariablesBuilder inviteStatus(TeamMemberInviteStatus? t) { - _inviteStatus.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTeamMember( - teamId: teamId, - role: role, - userId: userId, -) -.title(title) -.department(department) -.teamHubId(teamHubId) -.isActive(isActive) -.inviteStatus(inviteStatus) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTeamMember( - teamId: teamId, - role: role, - userId: userId, -); -createTeamMemberData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamId = ...; -TeamMemberRole role = ...; -String userId = ...; - -final ref = ExampleConnector.instance.createTeamMember( - teamId: teamId, - role: role, - userId: userId, -).ref(); -ref.execute(); -``` - - -### updateTeamMember -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTeamMember( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTeamMember, we created `updateTeamMemberBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTeamMemberVariablesBuilder { - ... - UpdateTeamMemberVariablesBuilder role(TeamMemberRole? t) { - _role.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder department(String? t) { - _department.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder teamHubId(String? t) { - _teamHubId.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder inviteStatus(TeamMemberInviteStatus? t) { - _inviteStatus.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTeamMember( - id: id, -) -.role(role) -.title(title) -.department(department) -.teamHubId(teamHubId) -.isActive(isActive) -.inviteStatus(inviteStatus) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTeamMember( - id: id, -); -updateTeamMemberData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTeamMember( - id: id, -).ref(); -ref.execute(); -``` - - -### updateTeamMemberInviteStatus -#### Required Arguments -```dart -String id = ...; -TeamMemberInviteStatus inviteStatus = ...; -ExampleConnector.instance.updateTeamMemberInviteStatus( - id: id, - inviteStatus: inviteStatus, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTeamMemberInviteStatus( - id: id, - inviteStatus: inviteStatus, -); -updateTeamMemberInviteStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; -TeamMemberInviteStatus inviteStatus = ...; - -final ref = ExampleConnector.instance.updateTeamMemberInviteStatus( - id: id, - inviteStatus: inviteStatus, -).ref(); -ref.execute(); -``` - - -### acceptInviteByCode -#### Required Arguments -```dart -String inviteCode = ...; -ExampleConnector.instance.acceptInviteByCode( - inviteCode: inviteCode, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.acceptInviteByCode( - inviteCode: inviteCode, -); -acceptInviteByCodeData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String inviteCode = ...; - -final ref = ExampleConnector.instance.acceptInviteByCode( - inviteCode: inviteCode, -).ref(); -ref.execute(); -``` - - -### cancelInviteByCode -#### Required Arguments -```dart -String inviteCode = ...; -ExampleConnector.instance.cancelInviteByCode( - inviteCode: inviteCode, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.cancelInviteByCode( - inviteCode: inviteCode, -); -cancelInviteByCodeData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String inviteCode = ...; - -final ref = ExampleConnector.instance.cancelInviteByCode( - inviteCode: inviteCode, -).ref(); -ref.execute(); -``` - - -### deleteTeamMember -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTeamMember( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTeamMember( - id: id, -); -deleteTeamMemberData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTeamMember( - id: id, -).ref(); -ref.execute(); -``` - - -### CreateUser -#### Required Arguments -```dart -String id = ...; -UserBaseRole role = ...; -ExampleConnector.instance.createUser( - id: id, - role: role, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For CreateUser, we created `CreateUserBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateUserVariablesBuilder { - ... - CreateUserVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateUserVariablesBuilder fullName(String? t) { - _fullName.value = t; - return this; - } - CreateUserVariablesBuilder userRole(String? t) { - _userRole.value = t; - return this; - } - CreateUserVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createUser( - id: id, - role: role, -) -.email(email) -.fullName(fullName) -.userRole(userRole) -.photoUrl(photoUrl) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createUser( - id: id, - role: role, -); -CreateUserData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; -UserBaseRole role = ...; - -final ref = ExampleConnector.instance.createUser( - id: id, - role: role, -).ref(); -ref.execute(); -``` - - -### UpdateUser -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateUser( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For UpdateUser, we created `UpdateUserBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateUserVariablesBuilder { - ... - UpdateUserVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - UpdateUserVariablesBuilder fullName(String? t) { - _fullName.value = t; - return this; - } - UpdateUserVariablesBuilder role(UserBaseRole? t) { - _role.value = t; - return this; - } - UpdateUserVariablesBuilder userRole(String? t) { - _userRole.value = t; - return this; - } - UpdateUserVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateUser( - id: id, -) -.email(email) -.fullName(fullName) -.role(role) -.userRole(userRole) -.photoUrl(photoUrl) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateUser( - id: id, -); -UpdateUserData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateUser( - id: id, -).ref(); -ref.execute(); -``` - - -### DeleteUser -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteUser( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteUser( - id: id, -); -DeleteUserData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteUser( - id: id, -).ref(); -ref.execute(); -``` - - -### createShift -#### Required Arguments -```dart -String title = ...; -String orderId = ...; -ExampleConnector.instance.createShift( - title: title, - orderId: orderId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createShift, we created `createShiftBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateShiftVariablesBuilder { - ... - CreateShiftVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - CreateShiftVariablesBuilder startTime(Timestamp? t) { - _startTime.value = t; - return this; - } - CreateShiftVariablesBuilder endTime(Timestamp? t) { - _endTime.value = t; - return this; - } - CreateShiftVariablesBuilder hours(double? t) { - _hours.value = t; - return this; - } - CreateShiftVariablesBuilder cost(double? t) { - _cost.value = t; - return this; - } - CreateShiftVariablesBuilder location(String? t) { - _location.value = t; - return this; - } - CreateShiftVariablesBuilder locationAddress(String? t) { - _locationAddress.value = t; - return this; - } - CreateShiftVariablesBuilder latitude(double? t) { - _latitude.value = t; - return this; - } - CreateShiftVariablesBuilder longitude(double? t) { - _longitude.value = t; - return this; - } - CreateShiftVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateShiftVariablesBuilder status(ShiftStatus? t) { - _status.value = t; - return this; - } - CreateShiftVariablesBuilder workersNeeded(int? t) { - _workersNeeded.value = t; - return this; - } - CreateShiftVariablesBuilder filled(int? t) { - _filled.value = t; - return this; - } - CreateShiftVariablesBuilder filledAt(Timestamp? t) { - _filledAt.value = t; - return this; - } - CreateShiftVariablesBuilder managers(List? t) { - _managers.value = t; - return this; - } - CreateShiftVariablesBuilder durationDays(int? t) { - _durationDays.value = t; - return this; - } - CreateShiftVariablesBuilder createdBy(String? t) { - _createdBy.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createShift( - title: title, - orderId: orderId, -) -.date(date) -.startTime(startTime) -.endTime(endTime) -.hours(hours) -.cost(cost) -.location(location) -.locationAddress(locationAddress) -.latitude(latitude) -.longitude(longitude) -.description(description) -.status(status) -.workersNeeded(workersNeeded) -.filled(filled) -.filledAt(filledAt) -.managers(managers) -.durationDays(durationDays) -.createdBy(createdBy) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createShift( - title: title, - orderId: orderId, -); -createShiftData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String title = ...; -String orderId = ...; - -final ref = ExampleConnector.instance.createShift( - title: title, - orderId: orderId, -).ref(); -ref.execute(); -``` - - -### updateShift -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateShift( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateShift, we created `updateShiftBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateShiftVariablesBuilder { - ... - UpdateShiftVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateShiftVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - UpdateShiftVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - UpdateShiftVariablesBuilder startTime(Timestamp? t) { - _startTime.value = t; - return this; - } - UpdateShiftVariablesBuilder endTime(Timestamp? t) { - _endTime.value = t; - return this; - } - UpdateShiftVariablesBuilder hours(double? t) { - _hours.value = t; - return this; - } - UpdateShiftVariablesBuilder cost(double? t) { - _cost.value = t; - return this; - } - UpdateShiftVariablesBuilder location(String? t) { - _location.value = t; - return this; - } - UpdateShiftVariablesBuilder locationAddress(String? t) { - _locationAddress.value = t; - return this; - } - UpdateShiftVariablesBuilder latitude(double? t) { - _latitude.value = t; - return this; - } - UpdateShiftVariablesBuilder longitude(double? t) { - _longitude.value = t; - return this; - } - UpdateShiftVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateShiftVariablesBuilder status(ShiftStatus? t) { - _status.value = t; - return this; - } - UpdateShiftVariablesBuilder workersNeeded(int? t) { - _workersNeeded.value = t; - return this; - } - UpdateShiftVariablesBuilder filled(int? t) { - _filled.value = t; - return this; - } - UpdateShiftVariablesBuilder filledAt(Timestamp? t) { - _filledAt.value = t; - return this; - } - UpdateShiftVariablesBuilder managers(List? t) { - _managers.value = t; - return this; - } - UpdateShiftVariablesBuilder durationDays(int? t) { - _durationDays.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateShift( - id: id, -) -.title(title) -.orderId(orderId) -.date(date) -.startTime(startTime) -.endTime(endTime) -.hours(hours) -.cost(cost) -.location(location) -.locationAddress(locationAddress) -.latitude(latitude) -.longitude(longitude) -.description(description) -.status(status) -.workersNeeded(workersNeeded) -.filled(filled) -.filledAt(filledAt) -.managers(managers) -.durationDays(durationDays) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateShift( - id: id, -); -updateShiftData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateShift( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteShift -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteShift( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteShift( - id: id, -); -deleteShiftData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteShift( - id: id, -).ref(); -ref.execute(); -``` - - -### createShiftRole -#### Required Arguments -```dart -String shiftId = ...; -String roleId = ...; -int count = ...; -ExampleConnector.instance.createShiftRole( - shiftId: shiftId, - roleId: roleId, - count: count, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createShiftRole, we created `createShiftRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateShiftRoleVariablesBuilder { - ... - CreateShiftRoleVariablesBuilder assigned(int? t) { - _assigned.value = t; - return this; - } - CreateShiftRoleVariablesBuilder startTime(Timestamp? t) { - _startTime.value = t; - return this; - } - CreateShiftRoleVariablesBuilder endTime(Timestamp? t) { - _endTime.value = t; - return this; - } - CreateShiftRoleVariablesBuilder hours(double? t) { - _hours.value = t; - return this; - } - CreateShiftRoleVariablesBuilder department(String? t) { - _department.value = t; - return this; - } - CreateShiftRoleVariablesBuilder uniform(String? t) { - _uniform.value = t; - return this; - } - CreateShiftRoleVariablesBuilder breakType(BreakDuration? t) { - _breakType.value = t; - return this; - } - CreateShiftRoleVariablesBuilder totalValue(double? t) { - _totalValue.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createShiftRole( - shiftId: shiftId, - roleId: roleId, - count: count, -) -.assigned(assigned) -.startTime(startTime) -.endTime(endTime) -.hours(hours) -.department(department) -.uniform(uniform) -.breakType(breakType) -.totalValue(totalValue) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createShiftRole( - shiftId: shiftId, - roleId: roleId, - count: count, -); -createShiftRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; -String roleId = ...; -int count = ...; - -final ref = ExampleConnector.instance.createShiftRole( - shiftId: shiftId, - roleId: roleId, - count: count, -).ref(); -ref.execute(); -``` - - -### updateShiftRole -#### Required Arguments -```dart -String shiftId = ...; -String roleId = ...; -ExampleConnector.instance.updateShiftRole( - shiftId: shiftId, - roleId: roleId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateShiftRole, we created `updateShiftRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateShiftRoleVariablesBuilder { - ... - UpdateShiftRoleVariablesBuilder count(int? t) { - _count.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder assigned(int? t) { - _assigned.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder startTime(Timestamp? t) { - _startTime.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder endTime(Timestamp? t) { - _endTime.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder hours(double? t) { - _hours.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder department(String? t) { - _department.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder uniform(String? t) { - _uniform.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder breakType(BreakDuration? t) { - _breakType.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder totalValue(double? t) { - _totalValue.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateShiftRole( - shiftId: shiftId, - roleId: roleId, -) -.count(count) -.assigned(assigned) -.startTime(startTime) -.endTime(endTime) -.hours(hours) -.department(department) -.uniform(uniform) -.breakType(breakType) -.totalValue(totalValue) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateShiftRole( - shiftId: shiftId, - roleId: roleId, -); -updateShiftRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.updateShiftRole( - shiftId: shiftId, - roleId: roleId, -).ref(); -ref.execute(); -``` - - -### deleteShiftRole -#### Required Arguments -```dart -String shiftId = ...; -String roleId = ...; -ExampleConnector.instance.deleteShiftRole( - shiftId: shiftId, - roleId: roleId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteShiftRole( - shiftId: shiftId, - roleId: roleId, -); -deleteShiftRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.deleteShiftRole( - shiftId: shiftId, - roleId: roleId, -).ref(); -ref.execute(); -``` - - -### createAttireOption -#### Required Arguments -```dart -String itemId = ...; -String label = ...; -ExampleConnector.instance.createAttireOption( - itemId: itemId, - label: label, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createAttireOption, we created `createAttireOptionBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateAttireOptionVariablesBuilder { - ... - CreateAttireOptionVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - CreateAttireOptionVariablesBuilder imageUrl(String? t) { - _imageUrl.value = t; - return this; - } - CreateAttireOptionVariablesBuilder isMandatory(bool? t) { - _isMandatory.value = t; - return this; - } - CreateAttireOptionVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createAttireOption( - itemId: itemId, - label: label, -) -.icon(icon) -.imageUrl(imageUrl) -.isMandatory(isMandatory) -.vendorId(vendorId) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createAttireOption( - itemId: itemId, - label: label, -); -createAttireOptionData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String itemId = ...; -String label = ...; - -final ref = ExampleConnector.instance.createAttireOption( - itemId: itemId, - label: label, -).ref(); -ref.execute(); -``` - - -### updateAttireOption -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateAttireOption( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateAttireOption, we created `updateAttireOptionBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateAttireOptionVariablesBuilder { - ... - UpdateAttireOptionVariablesBuilder itemId(String? t) { - _itemId.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder label(String? t) { - _label.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder imageUrl(String? t) { - _imageUrl.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder isMandatory(bool? t) { - _isMandatory.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateAttireOption( - id: id, -) -.itemId(itemId) -.label(label) -.icon(icon) -.imageUrl(imageUrl) -.isMandatory(isMandatory) -.vendorId(vendorId) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateAttireOption( - id: id, -); -updateAttireOptionData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateAttireOption( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteAttireOption -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteAttireOption( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteAttireOption( - id: id, -); -deleteAttireOptionData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteAttireOption( - id: id, -).ref(); -ref.execute(); -``` - - -### createCategory -#### Required Arguments -```dart -String categoryId = ...; -String label = ...; -ExampleConnector.instance.createCategory( - categoryId: categoryId, - label: label, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createCategory, we created `createCategoryBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateCategoryVariablesBuilder { - ... - CreateCategoryVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createCategory( - categoryId: categoryId, - label: label, -) -.icon(icon) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createCategory( - categoryId: categoryId, - label: label, -); -createCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String categoryId = ...; -String label = ...; - -final ref = ExampleConnector.instance.createCategory( - categoryId: categoryId, - label: label, -).ref(); -ref.execute(); -``` - - -### updateCategory -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateCategory( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateCategory, we created `updateCategoryBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateCategoryVariablesBuilder { - ... - UpdateCategoryVariablesBuilder categoryId(String? t) { - _categoryId.value = t; - return this; - } - UpdateCategoryVariablesBuilder label(String? t) { - _label.value = t; - return this; - } - UpdateCategoryVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateCategory( - id: id, -) -.categoryId(categoryId) -.label(label) -.icon(icon) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateCategory( - id: id, -); -updateCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateCategory( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteCategory -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteCategory( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteCategory( - id: id, -); -deleteCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteCategory( - id: id, -).ref(); -ref.execute(); -``` - - -### CreateStaff -#### Required Arguments -```dart -String userId = ...; -String fullName = ...; -ExampleConnector.instance.createStaff( - userId: userId, - fullName: fullName, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For CreateStaff, we created `CreateStaffBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateStaffVariablesBuilder { - ... - CreateStaffVariablesBuilder level(String? t) { - _level.value = t; - return this; - } - CreateStaffVariablesBuilder role(String? t) { - _role.value = t; - return this; - } - CreateStaffVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - CreateStaffVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateStaffVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - CreateStaffVariablesBuilder totalShifts(int? t) { - _totalShifts.value = t; - return this; - } - CreateStaffVariablesBuilder averageRating(double? t) { - _averageRating.value = t; - return this; - } - CreateStaffVariablesBuilder onTimeRate(int? t) { - _onTimeRate.value = t; - return this; - } - CreateStaffVariablesBuilder noShowCount(int? t) { - _noShowCount.value = t; - return this; - } - CreateStaffVariablesBuilder cancellationCount(int? t) { - _cancellationCount.value = t; - return this; - } - CreateStaffVariablesBuilder reliabilityScore(int? t) { - _reliabilityScore.value = t; - return this; - } - CreateStaffVariablesBuilder bio(String? t) { - _bio.value = t; - return this; - } - CreateStaffVariablesBuilder industries(AnyValue? t) { - _industries.value = t; - return this; - } - CreateStaffVariablesBuilder preferredLocations(AnyValue? t) { - _preferredLocations.value = t; - return this; - } - CreateStaffVariablesBuilder maxDistanceMiles(int? t) { - _maxDistanceMiles.value = t; - return this; - } - CreateStaffVariablesBuilder languages(AnyValue? t) { - _languages.value = t; - return this; - } - CreateStaffVariablesBuilder itemsAttire(AnyValue? t) { - _itemsAttire.value = t; - return this; - } - CreateStaffVariablesBuilder xp(int? t) { - _xp.value = t; - return this; - } - CreateStaffVariablesBuilder badges(AnyValue? t) { - _badges.value = t; - return this; - } - CreateStaffVariablesBuilder isRecommended(bool? t) { - _isRecommended.value = t; - return this; - } - CreateStaffVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - CreateStaffVariablesBuilder department(DepartmentType? t) { - _department.value = t; - return this; - } - CreateStaffVariablesBuilder hubId(String? t) { - _hubId.value = t; - return this; - } - CreateStaffVariablesBuilder manager(String? t) { - _manager.value = t; - return this; - } - CreateStaffVariablesBuilder english(EnglishProficiency? t) { - _english.value = t; - return this; - } - CreateStaffVariablesBuilder backgroundCheckStatus(BackgroundCheckStatus? t) { - _backgroundCheckStatus.value = t; - return this; - } - CreateStaffVariablesBuilder employmentType(EmploymentType? t) { - _employmentType.value = t; - return this; - } - CreateStaffVariablesBuilder initial(String? t) { - _initial.value = t; - return this; - } - CreateStaffVariablesBuilder englishRequired(bool? t) { - _englishRequired.value = t; - return this; - } - CreateStaffVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - CreateStaffVariablesBuilder addres(String? t) { - _addres.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createStaff( - userId: userId, - fullName: fullName, -) -.level(level) -.role(role) -.phone(phone) -.email(email) -.photoUrl(photoUrl) -.totalShifts(totalShifts) -.averageRating(averageRating) -.onTimeRate(onTimeRate) -.noShowCount(noShowCount) -.cancellationCount(cancellationCount) -.reliabilityScore(reliabilityScore) -.bio(bio) -.industries(industries) -.preferredLocations(preferredLocations) -.maxDistanceMiles(maxDistanceMiles) -.languages(languages) -.itemsAttire(itemsAttire) -.xp(xp) -.badges(badges) -.isRecommended(isRecommended) -.ownerId(ownerId) -.department(department) -.hubId(hubId) -.manager(manager) -.english(english) -.backgroundCheckStatus(backgroundCheckStatus) -.employmentType(employmentType) -.initial(initial) -.englishRequired(englishRequired) -.city(city) -.addres(addres) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createStaff( - userId: userId, - fullName: fullName, -); -CreateStaffData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; -String fullName = ...; - -final ref = ExampleConnector.instance.createStaff( - userId: userId, - fullName: fullName, -).ref(); -ref.execute(); -``` - - -### UpdateStaff -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateStaff( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For UpdateStaff, we created `UpdateStaffBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateStaffVariablesBuilder { - ... - UpdateStaffVariablesBuilder userId(String? t) { - _userId.value = t; - return this; - } - UpdateStaffVariablesBuilder fullName(String? t) { - _fullName.value = t; - return this; - } - UpdateStaffVariablesBuilder level(String? t) { - _level.value = t; - return this; - } - UpdateStaffVariablesBuilder role(String? t) { - _role.value = t; - return this; - } - UpdateStaffVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - UpdateStaffVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - UpdateStaffVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - UpdateStaffVariablesBuilder totalShifts(int? t) { - _totalShifts.value = t; - return this; - } - UpdateStaffVariablesBuilder averageRating(double? t) { - _averageRating.value = t; - return this; - } - UpdateStaffVariablesBuilder onTimeRate(int? t) { - _onTimeRate.value = t; - return this; - } - UpdateStaffVariablesBuilder noShowCount(int? t) { - _noShowCount.value = t; - return this; - } - UpdateStaffVariablesBuilder cancellationCount(int? t) { - _cancellationCount.value = t; - return this; - } - UpdateStaffVariablesBuilder reliabilityScore(int? t) { - _reliabilityScore.value = t; - return this; - } - UpdateStaffVariablesBuilder bio(String? t) { - _bio.value = t; - return this; - } - UpdateStaffVariablesBuilder industries(AnyValue? t) { - _industries.value = t; - return this; - } - UpdateStaffVariablesBuilder preferredLocations(AnyValue? t) { - _preferredLocations.value = t; - return this; - } - UpdateStaffVariablesBuilder maxDistanceMiles(int? t) { - _maxDistanceMiles.value = t; - return this; - } - UpdateStaffVariablesBuilder languages(AnyValue? t) { - _languages.value = t; - return this; - } - UpdateStaffVariablesBuilder itemsAttire(AnyValue? t) { - _itemsAttire.value = t; - return this; - } - UpdateStaffVariablesBuilder xp(int? t) { - _xp.value = t; - return this; - } - UpdateStaffVariablesBuilder badges(AnyValue? t) { - _badges.value = t; - return this; - } - UpdateStaffVariablesBuilder isRecommended(bool? t) { - _isRecommended.value = t; - return this; - } - UpdateStaffVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - UpdateStaffVariablesBuilder department(DepartmentType? t) { - _department.value = t; - return this; - } - UpdateStaffVariablesBuilder hubId(String? t) { - _hubId.value = t; - return this; - } - UpdateStaffVariablesBuilder manager(String? t) { - _manager.value = t; - return this; - } - UpdateStaffVariablesBuilder english(EnglishProficiency? t) { - _english.value = t; - return this; - } - UpdateStaffVariablesBuilder backgroundCheckStatus(BackgroundCheckStatus? t) { - _backgroundCheckStatus.value = t; - return this; - } - UpdateStaffVariablesBuilder employmentType(EmploymentType? t) { - _employmentType.value = t; - return this; - } - UpdateStaffVariablesBuilder initial(String? t) { - _initial.value = t; - return this; - } - UpdateStaffVariablesBuilder englishRequired(bool? t) { - _englishRequired.value = t; - return this; - } - UpdateStaffVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - UpdateStaffVariablesBuilder addres(String? t) { - _addres.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateStaff( - id: id, -) -.userId(userId) -.fullName(fullName) -.level(level) -.role(role) -.phone(phone) -.email(email) -.photoUrl(photoUrl) -.totalShifts(totalShifts) -.averageRating(averageRating) -.onTimeRate(onTimeRate) -.noShowCount(noShowCount) -.cancellationCount(cancellationCount) -.reliabilityScore(reliabilityScore) -.bio(bio) -.industries(industries) -.preferredLocations(preferredLocations) -.maxDistanceMiles(maxDistanceMiles) -.languages(languages) -.itemsAttire(itemsAttire) -.xp(xp) -.badges(badges) -.isRecommended(isRecommended) -.ownerId(ownerId) -.department(department) -.hubId(hubId) -.manager(manager) -.english(english) -.backgroundCheckStatus(backgroundCheckStatus) -.employmentType(employmentType) -.initial(initial) -.englishRequired(englishRequired) -.city(city) -.addres(addres) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateStaff( - id: id, -); -UpdateStaffData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateStaff( - id: id, -).ref(); -ref.execute(); -``` - - -### DeleteStaff -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteStaff( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteStaff( - id: id, -); -DeleteStaffData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteStaff( - id: id, -).ref(); -ref.execute(); -``` - - -### createStaffDocument -#### Required Arguments -```dart -String staffId = ...; -String staffName = ...; -String documentId = ...; -DocumentStatus status = ...; -ExampleConnector.instance.createStaffDocument( - staffId: staffId, - staffName: staffName, - documentId: documentId, - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createStaffDocument, we created `createStaffDocumentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateStaffDocumentVariablesBuilder { - ... - CreateStaffDocumentVariablesBuilder documentUrl(String? t) { - _documentUrl.value = t; - return this; - } - CreateStaffDocumentVariablesBuilder expiryDate(Timestamp? t) { - _expiryDate.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createStaffDocument( - staffId: staffId, - staffName: staffName, - documentId: documentId, - status: status, -) -.documentUrl(documentUrl) -.expiryDate(expiryDate) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createStaffDocument( - staffId: staffId, - staffName: staffName, - documentId: documentId, - status: status, -); -createStaffDocumentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String staffName = ...; -String documentId = ...; -DocumentStatus status = ...; - -final ref = ExampleConnector.instance.createStaffDocument( - staffId: staffId, - staffName: staffName, - documentId: documentId, - status: status, -).ref(); -ref.execute(); -``` - - -### updateStaffDocument -#### Required Arguments -```dart -String staffId = ...; -String documentId = ...; -ExampleConnector.instance.updateStaffDocument( - staffId: staffId, - documentId: documentId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateStaffDocument, we created `updateStaffDocumentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateStaffDocumentVariablesBuilder { - ... - UpdateStaffDocumentVariablesBuilder status(DocumentStatus? t) { - _status.value = t; - return this; - } - UpdateStaffDocumentVariablesBuilder documentUrl(String? t) { - _documentUrl.value = t; - return this; - } - UpdateStaffDocumentVariablesBuilder expiryDate(Timestamp? t) { - _expiryDate.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateStaffDocument( - staffId: staffId, - documentId: documentId, -) -.status(status) -.documentUrl(documentUrl) -.expiryDate(expiryDate) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateStaffDocument( - staffId: staffId, - documentId: documentId, -); -updateStaffDocumentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String documentId = ...; - -final ref = ExampleConnector.instance.updateStaffDocument( - staffId: staffId, - documentId: documentId, -).ref(); -ref.execute(); -``` - - -### deleteStaffDocument -#### Required Arguments -```dart -String staffId = ...; -String documentId = ...; -ExampleConnector.instance.deleteStaffDocument( - staffId: staffId, - documentId: documentId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteStaffDocument( - staffId: staffId, - documentId: documentId, -); -deleteStaffDocumentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String documentId = ...; - -final ref = ExampleConnector.instance.deleteStaffDocument( - staffId: staffId, - documentId: documentId, -).ref(); -ref.execute(); -``` - - -### createStaffRole -#### Required Arguments -```dart -String staffId = ...; -String roleId = ...; -ExampleConnector.instance.createStaffRole( - staffId: staffId, - roleId: roleId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createStaffRole, we created `createStaffRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateStaffRoleVariablesBuilder { - ... - CreateStaffRoleVariablesBuilder roleType(RoleType? t) { - _roleType.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createStaffRole( - staffId: staffId, - roleId: roleId, -) -.roleType(roleType) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createStaffRole( - staffId: staffId, - roleId: roleId, -); -createStaffRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.createStaffRole( - staffId: staffId, - roleId: roleId, -).ref(); -ref.execute(); -``` - - -### deleteStaffRole -#### Required Arguments -```dart -String staffId = ...; -String roleId = ...; -ExampleConnector.instance.deleteStaffRole( - staffId: staffId, - roleId: roleId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteStaffRole( - staffId: staffId, - roleId: roleId, -); -deleteStaffRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.deleteStaffRole( - staffId: staffId, - roleId: roleId, -).ref(); -ref.execute(); -``` - - -### CreateCertificate -#### Required Arguments -```dart -String name = ...; -CertificateStatus status = ...; -String staffId = ...; -ExampleConnector.instance.createCertificate( - name: name, - status: status, - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For CreateCertificate, we created `CreateCertificateBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateCertificateVariablesBuilder { - ... - CreateCertificateVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateCertificateVariablesBuilder expiry(Timestamp? t) { - _expiry.value = t; - return this; - } - CreateCertificateVariablesBuilder fileUrl(String? t) { - _fileUrl.value = t; - return this; - } - CreateCertificateVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - CreateCertificateVariablesBuilder certificationType(ComplianceType? t) { - _certificationType.value = t; - return this; - } - CreateCertificateVariablesBuilder issuer(String? t) { - _issuer.value = t; - return this; - } - CreateCertificateVariablesBuilder validationStatus(ValidationStatus? t) { - _validationStatus.value = t; - return this; - } - CreateCertificateVariablesBuilder certificateNumber(String? t) { - _certificateNumber.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createCertificate( - name: name, - status: status, - staffId: staffId, -) -.description(description) -.expiry(expiry) -.fileUrl(fileUrl) -.icon(icon) -.certificationType(certificationType) -.issuer(issuer) -.validationStatus(validationStatus) -.certificateNumber(certificateNumber) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createCertificate( - name: name, - status: status, - staffId: staffId, -); -CreateCertificateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; -CertificateStatus status = ...; -String staffId = ...; - -final ref = ExampleConnector.instance.createCertificate( - name: name, - status: status, - staffId: staffId, -).ref(); -ref.execute(); -``` - - -### UpdateCertificate -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateCertificate( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For UpdateCertificate, we created `UpdateCertificateBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateCertificateVariablesBuilder { - ... - UpdateCertificateVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateCertificateVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateCertificateVariablesBuilder expiry(Timestamp? t) { - _expiry.value = t; - return this; - } - UpdateCertificateVariablesBuilder status(CertificateStatus? t) { - _status.value = t; - return this; - } - UpdateCertificateVariablesBuilder fileUrl(String? t) { - _fileUrl.value = t; - return this; - } - UpdateCertificateVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - UpdateCertificateVariablesBuilder staffId(String? t) { - _staffId.value = t; - return this; - } - UpdateCertificateVariablesBuilder certificationType(ComplianceType? t) { - _certificationType.value = t; - return this; - } - UpdateCertificateVariablesBuilder issuer(String? t) { - _issuer.value = t; - return this; - } - UpdateCertificateVariablesBuilder validationStatus(ValidationStatus? t) { - _validationStatus.value = t; - return this; - } - UpdateCertificateVariablesBuilder certificateNumber(String? t) { - _certificateNumber.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateCertificate( - id: id, -) -.name(name) -.description(description) -.expiry(expiry) -.status(status) -.fileUrl(fileUrl) -.icon(icon) -.staffId(staffId) -.certificationType(certificationType) -.issuer(issuer) -.validationStatus(validationStatus) -.certificateNumber(certificateNumber) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateCertificate( - id: id, -); -UpdateCertificateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateCertificate( - id: id, -).ref(); -ref.execute(); -``` - - -### DeleteCertificate -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteCertificate( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteCertificate( - id: id, -); -DeleteCertificateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteCertificate( - id: id, -).ref(); -ref.execute(); -``` - - -### createFaqData -#### Required Arguments -```dart -String category = ...; -ExampleConnector.instance.createFaqData( - category: category, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createFaqData, we created `createFaqDataBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateFaqDataVariablesBuilder { - ... - CreateFaqDataVariablesBuilder questions(List? t) { - _questions.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createFaqData( - category: category, -) -.questions(questions) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createFaqData( - category: category, -); -createFaqDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String category = ...; - -final ref = ExampleConnector.instance.createFaqData( - category: category, -).ref(); -ref.execute(); -``` - - -### updateFaqData -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateFaqData( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateFaqData, we created `updateFaqDataBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateFaqDataVariablesBuilder { - ... - UpdateFaqDataVariablesBuilder category(String? t) { - _category.value = t; - return this; - } - UpdateFaqDataVariablesBuilder questions(List? t) { - _questions.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateFaqData( - id: id, -) -.category(category) -.questions(questions) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateFaqData( - id: id, -); -updateFaqDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateFaqData( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteFaqData -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteFaqData( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteFaqData( - id: id, -); -deleteFaqDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteFaqData( - id: id, -).ref(); -ref.execute(); -``` - - -### createStaffAvailabilityStats -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.createStaffAvailabilityStats( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createStaffAvailabilityStats, we created `createStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateStaffAvailabilityStatsVariablesBuilder { - ... - CreateStaffAvailabilityStatsVariablesBuilder needWorkIndex(int? t) { - _needWorkIndex.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder utilizationPercentage(int? t) { - _utilizationPercentage.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder predictedAvailabilityScore(int? t) { - _predictedAvailabilityScore.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder scheduledHoursThisPeriod(int? t) { - _scheduledHoursThisPeriod.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder desiredHoursThisPeriod(int? t) { - _desiredHoursThisPeriod.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder lastShiftDate(Timestamp? t) { - _lastShiftDate.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder acceptanceRate(int? t) { - _acceptanceRate.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createStaffAvailabilityStats( - staffId: staffId, -) -.needWorkIndex(needWorkIndex) -.utilizationPercentage(utilizationPercentage) -.predictedAvailabilityScore(predictedAvailabilityScore) -.scheduledHoursThisPeriod(scheduledHoursThisPeriod) -.desiredHoursThisPeriod(desiredHoursThisPeriod) -.lastShiftDate(lastShiftDate) -.acceptanceRate(acceptanceRate) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createStaffAvailabilityStats( - staffId: staffId, -); -createStaffAvailabilityStatsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.createStaffAvailabilityStats( - staffId: staffId, -).ref(); -ref.execute(); -``` - - -### updateStaffAvailabilityStats -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.updateStaffAvailabilityStats( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateStaffAvailabilityStats, we created `updateStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateStaffAvailabilityStatsVariablesBuilder { - ... - UpdateStaffAvailabilityStatsVariablesBuilder needWorkIndex(int? t) { - _needWorkIndex.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder utilizationPercentage(int? t) { - _utilizationPercentage.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder predictedAvailabilityScore(int? t) { - _predictedAvailabilityScore.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder scheduledHoursThisPeriod(int? t) { - _scheduledHoursThisPeriod.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder desiredHoursThisPeriod(int? t) { - _desiredHoursThisPeriod.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder lastShiftDate(Timestamp? t) { - _lastShiftDate.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder acceptanceRate(int? t) { - _acceptanceRate.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateStaffAvailabilityStats( - staffId: staffId, -) -.needWorkIndex(needWorkIndex) -.utilizationPercentage(utilizationPercentage) -.predictedAvailabilityScore(predictedAvailabilityScore) -.scheduledHoursThisPeriod(scheduledHoursThisPeriod) -.desiredHoursThisPeriod(desiredHoursThisPeriod) -.lastShiftDate(lastShiftDate) -.acceptanceRate(acceptanceRate) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateStaffAvailabilityStats( - staffId: staffId, -); -updateStaffAvailabilityStatsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.updateStaffAvailabilityStats( - staffId: staffId, -).ref(); -ref.execute(); -``` - - -### deleteStaffAvailabilityStats -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.deleteStaffAvailabilityStats( - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteStaffAvailabilityStats( - staffId: staffId, -); -deleteStaffAvailabilityStatsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.deleteStaffAvailabilityStats( - staffId: staffId, -).ref(); -ref.execute(); -``` - - -### createActivityLog -#### Required Arguments -```dart -String userId = ...; -Timestamp date = ...; -String title = ...; -String description = ...; -ActivityType activityType = ...; -ExampleConnector.instance.createActivityLog( - userId: userId, - date: date, - title: title, - description: description, - activityType: activityType, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createActivityLog, we created `createActivityLogBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateActivityLogVariablesBuilder { - ... - CreateActivityLogVariablesBuilder hourStart(String? t) { - _hourStart.value = t; - return this; - } - CreateActivityLogVariablesBuilder hourEnd(String? t) { - _hourEnd.value = t; - return this; - } - CreateActivityLogVariablesBuilder totalhours(String? t) { - _totalhours.value = t; - return this; - } - CreateActivityLogVariablesBuilder iconType(ActivityIconType? t) { - _iconType.value = t; - return this; - } - CreateActivityLogVariablesBuilder iconColor(String? t) { - _iconColor.value = t; - return this; - } - CreateActivityLogVariablesBuilder isRead(bool? t) { - _isRead.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createActivityLog( - userId: userId, - date: date, - title: title, - description: description, - activityType: activityType, -) -.hourStart(hourStart) -.hourEnd(hourEnd) -.totalhours(totalhours) -.iconType(iconType) -.iconColor(iconColor) -.isRead(isRead) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createActivityLog( - userId: userId, - date: date, - title: title, - description: description, - activityType: activityType, -); -createActivityLogData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; -Timestamp date = ...; -String title = ...; -String description = ...; -ActivityType activityType = ...; - -final ref = ExampleConnector.instance.createActivityLog( - userId: userId, - date: date, - title: title, - description: description, - activityType: activityType, -).ref(); -ref.execute(); -``` - - -### updateActivityLog -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateActivityLog( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateActivityLog, we created `updateActivityLogBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateActivityLogVariablesBuilder { - ... - UpdateActivityLogVariablesBuilder userId(String? t) { - _userId.value = t; - return this; - } - UpdateActivityLogVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - UpdateActivityLogVariablesBuilder hourStart(String? t) { - _hourStart.value = t; - return this; - } - UpdateActivityLogVariablesBuilder hourEnd(String? t) { - _hourEnd.value = t; - return this; - } - UpdateActivityLogVariablesBuilder totalhours(String? t) { - _totalhours.value = t; - return this; - } - UpdateActivityLogVariablesBuilder iconType(ActivityIconType? t) { - _iconType.value = t; - return this; - } - UpdateActivityLogVariablesBuilder iconColor(String? t) { - _iconColor.value = t; - return this; - } - UpdateActivityLogVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateActivityLogVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateActivityLogVariablesBuilder isRead(bool? t) { - _isRead.value = t; - return this; - } - UpdateActivityLogVariablesBuilder activityType(ActivityType? t) { - _activityType.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateActivityLog( - id: id, -) -.userId(userId) -.date(date) -.hourStart(hourStart) -.hourEnd(hourEnd) -.totalhours(totalhours) -.iconType(iconType) -.iconColor(iconColor) -.title(title) -.description(description) -.isRead(isRead) -.activityType(activityType) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateActivityLog( - id: id, -); -updateActivityLogData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateActivityLog( - id: id, -).ref(); -ref.execute(); -``` - - -### markActivityLogAsRead -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.markActivityLogAsRead( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.markActivityLogAsRead( - id: id, -); -markActivityLogAsReadData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.markActivityLogAsRead( - id: id, -).ref(); -ref.execute(); -``` - - -### markActivityLogsAsRead -#### Required Arguments -```dart -String ids = ...; -ExampleConnector.instance.markActivityLogsAsRead( - ids: ids, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.markActivityLogsAsRead( - ids: ids, -); -markActivityLogsAsReadData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ids = ...; - -final ref = ExampleConnector.instance.markActivityLogsAsRead( - ids: ids, -).ref(); -ref.execute(); -``` - - -### deleteActivityLog -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteActivityLog( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteActivityLog( - id: id, -); -deleteActivityLogData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteActivityLog( - id: id, -).ref(); -ref.execute(); -``` - - -### createStaffAvailability -#### Required Arguments -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; -ExampleConnector.instance.createStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createStaffAvailability, we created `createStaffAvailabilityBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateStaffAvailabilityVariablesBuilder { - ... - CreateStaffAvailabilityVariablesBuilder status(AvailabilityStatus? t) { - _status.value = t; - return this; - } - CreateStaffAvailabilityVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -) -.status(status) -.notes(notes) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -); -createStaffAvailabilityData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; - -final ref = ExampleConnector.instance.createStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).ref(); -ref.execute(); -``` - - -### updateStaffAvailability -#### Required Arguments -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; -ExampleConnector.instance.updateStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateStaffAvailability, we created `updateStaffAvailabilityBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateStaffAvailabilityVariablesBuilder { - ... - UpdateStaffAvailabilityVariablesBuilder status(AvailabilityStatus? t) { - _status.value = t; - return this; - } - UpdateStaffAvailabilityVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -) -.status(status) -.notes(notes) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -); -updateStaffAvailabilityData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; - -final ref = ExampleConnector.instance.updateStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).ref(); -ref.execute(); -``` - - -### deleteStaffAvailability -#### Required Arguments -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; -ExampleConnector.instance.deleteStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -); -deleteStaffAvailabilityData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; - -final ref = ExampleConnector.instance.deleteStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).ref(); -ref.execute(); -``` - - -### createTeamHub -#### Required Arguments -```dart -String teamId = ...; -String hubName = ...; -String address = ...; -String city = ...; -String state = ...; -String zipCode = ...; -String managerName = ...; -ExampleConnector.instance.createTeamHub( - teamId: teamId, - hubName: hubName, - address: address, - city: city, - state: state, - zipCode: zipCode, - managerName: managerName, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTeamHub, we created `createTeamHubBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTeamHubVariablesBuilder { - ... - CreateTeamHubVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateTeamHubVariablesBuilder departments(AnyValue? t) { - _departments.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTeamHub( - teamId: teamId, - hubName: hubName, - address: address, - city: city, - state: state, - zipCode: zipCode, - managerName: managerName, -) -.isActive(isActive) -.departments(departments) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTeamHub( - teamId: teamId, - hubName: hubName, - address: address, - city: city, - state: state, - zipCode: zipCode, - managerName: managerName, -); -createTeamHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamId = ...; -String hubName = ...; -String address = ...; -String city = ...; -String state = ...; -String zipCode = ...; -String managerName = ...; - -final ref = ExampleConnector.instance.createTeamHub( - teamId: teamId, - hubName: hubName, - address: address, - city: city, - state: state, - zipCode: zipCode, - managerName: managerName, -).ref(); -ref.execute(); -``` - - -### updateTeamHub -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTeamHub( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTeamHub, we created `updateTeamHubBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTeamHubVariablesBuilder { - ... - UpdateTeamHubVariablesBuilder hubName(String? t) { - _hubName.value = t; - return this; - } - UpdateTeamHubVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - UpdateTeamHubVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - UpdateTeamHubVariablesBuilder state(String? t) { - _state.value = t; - return this; - } - UpdateTeamHubVariablesBuilder zipCode(String? t) { - _zipCode.value = t; - return this; - } - UpdateTeamHubVariablesBuilder managerName(String? t) { - _managerName.value = t; - return this; - } - UpdateTeamHubVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateTeamHubVariablesBuilder departments(AnyValue? t) { - _departments.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTeamHub( - id: id, -) -.hubName(hubName) -.address(address) -.city(city) -.state(state) -.zipCode(zipCode) -.managerName(managerName) -.isActive(isActive) -.departments(departments) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTeamHub( - id: id, -); -updateTeamHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTeamHub( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteTeamHub -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTeamHub( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTeamHub( - id: id, -); -deleteTeamHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTeamHub( - id: id, -).ref(); -ref.execute(); -``` - - -### createUserConversation -#### Required Arguments -```dart -String conversationId = ...; -String userId = ...; -ExampleConnector.instance.createUserConversation( - conversationId: conversationId, - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createUserConversation, we created `createUserConversationBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateUserConversationVariablesBuilder { - ... - CreateUserConversationVariablesBuilder unreadCount(int? t) { - _unreadCount.value = t; - return this; - } - CreateUserConversationVariablesBuilder lastReadAt(Timestamp? t) { - _lastReadAt.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createUserConversation( - conversationId: conversationId, - userId: userId, -) -.unreadCount(unreadCount) -.lastReadAt(lastReadAt) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createUserConversation( - conversationId: conversationId, - userId: userId, -); -createUserConversationData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; -String userId = ...; - -final ref = ExampleConnector.instance.createUserConversation( - conversationId: conversationId, - userId: userId, -).ref(); -ref.execute(); -``` - - -### updateUserConversation -#### Required Arguments -```dart -String conversationId = ...; -String userId = ...; -ExampleConnector.instance.updateUserConversation( - conversationId: conversationId, - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateUserConversation, we created `updateUserConversationBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateUserConversationVariablesBuilder { - ... - UpdateUserConversationVariablesBuilder unreadCount(int? t) { - _unreadCount.value = t; - return this; - } - UpdateUserConversationVariablesBuilder lastReadAt(Timestamp? t) { - _lastReadAt.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateUserConversation( - conversationId: conversationId, - userId: userId, -) -.unreadCount(unreadCount) -.lastReadAt(lastReadAt) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateUserConversation( - conversationId: conversationId, - userId: userId, -); -updateUserConversationData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; -String userId = ...; - -final ref = ExampleConnector.instance.updateUserConversation( - conversationId: conversationId, - userId: userId, -).ref(); -ref.execute(); -``` - - -### markConversationAsRead -#### Required Arguments -```dart -String conversationId = ...; -String userId = ...; -ExampleConnector.instance.markConversationAsRead( - conversationId: conversationId, - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For markConversationAsRead, we created `markConversationAsReadBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class MarkConversationAsReadVariablesBuilder { - ... - MarkConversationAsReadVariablesBuilder lastReadAt(Timestamp? t) { - _lastReadAt.value = t; - return this; - } - - ... -} -ExampleConnector.instance.markConversationAsRead( - conversationId: conversationId, - userId: userId, -) -.lastReadAt(lastReadAt) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.markConversationAsRead( - conversationId: conversationId, - userId: userId, -); -markConversationAsReadData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; -String userId = ...; - -final ref = ExampleConnector.instance.markConversationAsRead( - conversationId: conversationId, - userId: userId, -).ref(); -ref.execute(); -``` - - -### incrementUnreadForUser -#### Required Arguments -```dart -String conversationId = ...; -String userId = ...; -int unreadCount = ...; -ExampleConnector.instance.incrementUnreadForUser( - conversationId: conversationId, - userId: userId, - unreadCount: unreadCount, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.incrementUnreadForUser( - conversationId: conversationId, - userId: userId, - unreadCount: unreadCount, -); -incrementUnreadForUserData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; -String userId = ...; -int unreadCount = ...; - -final ref = ExampleConnector.instance.incrementUnreadForUser( - conversationId: conversationId, - userId: userId, - unreadCount: unreadCount, -).ref(); -ref.execute(); -``` - - -### deleteUserConversation -#### Required Arguments -```dart -String conversationId = ...; -String userId = ...; -ExampleConnector.instance.deleteUserConversation( - conversationId: conversationId, - userId: userId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteUserConversation( - conversationId: conversationId, - userId: userId, -); -deleteUserConversationData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; -String userId = ...; - -final ref = ExampleConnector.instance.deleteUserConversation( - conversationId: conversationId, - userId: userId, -).ref(); -ref.execute(); -``` - - -### createMemberTask -#### Required Arguments -```dart -String teamMemberId = ...; -String taskId = ...; -ExampleConnector.instance.createMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -); -createMemberTaskData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamMemberId = ...; -String taskId = ...; - -final ref = ExampleConnector.instance.createMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -).ref(); -ref.execute(); -``` - - -### deleteMemberTask -#### Required Arguments -```dart -String teamMemberId = ...; -String taskId = ...; -ExampleConnector.instance.deleteMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -); -deleteMemberTaskData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamMemberId = ...; -String taskId = ...; - -final ref = ExampleConnector.instance.deleteMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -).ref(); -ref.execute(); -``` - - -### createTask -#### Required Arguments -```dart -String taskName = ...; -TaskPriority priority = ...; -TaskStatus status = ...; -String ownerId = ...; -ExampleConnector.instance.createTask( - taskName: taskName, - priority: priority, - status: status, - ownerId: ownerId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTask, we created `createTaskBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTaskVariablesBuilder { - ... - CreateTaskVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateTaskVariablesBuilder dueDate(Timestamp? t) { - _dueDate.value = t; - return this; - } - CreateTaskVariablesBuilder progress(int? t) { - _progress.value = t; - return this; - } - CreateTaskVariablesBuilder orderIndex(int? t) { - _orderIndex.value = t; - return this; - } - CreateTaskVariablesBuilder commentCount(int? t) { - _commentCount.value = t; - return this; - } - CreateTaskVariablesBuilder attachmentCount(int? t) { - _attachmentCount.value = t; - return this; - } - CreateTaskVariablesBuilder files(AnyValue? t) { - _files.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTask( - taskName: taskName, - priority: priority, - status: status, - ownerId: ownerId, -) -.description(description) -.dueDate(dueDate) -.progress(progress) -.orderIndex(orderIndex) -.commentCount(commentCount) -.attachmentCount(attachmentCount) -.files(files) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTask( - taskName: taskName, - priority: priority, - status: status, - ownerId: ownerId, -); -createTaskData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String taskName = ...; -TaskPriority priority = ...; -TaskStatus status = ...; -String ownerId = ...; - -final ref = ExampleConnector.instance.createTask( - taskName: taskName, - priority: priority, - status: status, - ownerId: ownerId, -).ref(); -ref.execute(); -``` - - -### updateTask -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTask( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTask, we created `updateTaskBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTaskVariablesBuilder { - ... - UpdateTaskVariablesBuilder taskName(String? t) { - _taskName.value = t; - return this; - } - UpdateTaskVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateTaskVariablesBuilder priority(TaskPriority? t) { - _priority.value = t; - return this; - } - UpdateTaskVariablesBuilder status(TaskStatus? t) { - _status.value = t; - return this; - } - UpdateTaskVariablesBuilder dueDate(Timestamp? t) { - _dueDate.value = t; - return this; - } - UpdateTaskVariablesBuilder progress(int? t) { - _progress.value = t; - return this; - } - UpdateTaskVariablesBuilder assignedMembers(AnyValue? t) { - _assignedMembers.value = t; - return this; - } - UpdateTaskVariablesBuilder orderIndex(int? t) { - _orderIndex.value = t; - return this; - } - UpdateTaskVariablesBuilder commentCount(int? t) { - _commentCount.value = t; - return this; - } - UpdateTaskVariablesBuilder attachmentCount(int? t) { - _attachmentCount.value = t; - return this; - } - UpdateTaskVariablesBuilder files(AnyValue? t) { - _files.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTask( - id: id, -) -.taskName(taskName) -.description(description) -.priority(priority) -.status(status) -.dueDate(dueDate) -.progress(progress) -.assignedMembers(assignedMembers) -.orderIndex(orderIndex) -.commentCount(commentCount) -.attachmentCount(attachmentCount) -.files(files) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTask( - id: id, -); -updateTaskData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTask( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteTask -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTask( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTask( - id: id, -); -deleteTaskData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTask( - id: id, -).ref(); -ref.execute(); -``` - - -### createVendorBenefitPlan -#### Required Arguments -```dart -String vendorId = ...; -String title = ...; -ExampleConnector.instance.createVendorBenefitPlan( - vendorId: vendorId, - title: title, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createVendorBenefitPlan, we created `createVendorBenefitPlanBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateVendorBenefitPlanVariablesBuilder { - ... - CreateVendorBenefitPlanVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateVendorBenefitPlanVariablesBuilder requestLabel(String? t) { - _requestLabel.value = t; - return this; - } - CreateVendorBenefitPlanVariablesBuilder total(int? t) { - _total.value = t; - return this; - } - CreateVendorBenefitPlanVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateVendorBenefitPlanVariablesBuilder createdBy(String? t) { - _createdBy.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createVendorBenefitPlan( - vendorId: vendorId, - title: title, -) -.description(description) -.requestLabel(requestLabel) -.total(total) -.isActive(isActive) -.createdBy(createdBy) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createVendorBenefitPlan( - vendorId: vendorId, - title: title, -); -createVendorBenefitPlanData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -String title = ...; - -final ref = ExampleConnector.instance.createVendorBenefitPlan( - vendorId: vendorId, - title: title, -).ref(); -ref.execute(); -``` - - -### updateVendorBenefitPlan -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateVendorBenefitPlan( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateVendorBenefitPlan, we created `updateVendorBenefitPlanBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateVendorBenefitPlanVariablesBuilder { - ... - UpdateVendorBenefitPlanVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder requestLabel(String? t) { - _requestLabel.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder total(int? t) { - _total.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder createdBy(String? t) { - _createdBy.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateVendorBenefitPlan( - id: id, -) -.vendorId(vendorId) -.title(title) -.description(description) -.requestLabel(requestLabel) -.total(total) -.isActive(isActive) -.createdBy(createdBy) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateVendorBenefitPlan( - id: id, -); -updateVendorBenefitPlanData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateVendorBenefitPlan( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteVendorBenefitPlan -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteVendorBenefitPlan( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteVendorBenefitPlan( - id: id, -); -deleteVendorBenefitPlanData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteVendorBenefitPlan( - id: id, -).ref(); -ref.execute(); -``` - - -### createTaskComment -#### Required Arguments -```dart -String taskId = ...; -String teamMemberId = ...; -String comment = ...; -ExampleConnector.instance.createTaskComment( - taskId: taskId, - teamMemberId: teamMemberId, - comment: comment, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTaskComment, we created `createTaskCommentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTaskCommentVariablesBuilder { - ... - CreateTaskCommentVariablesBuilder isSystem(bool? t) { - _isSystem.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTaskComment( - taskId: taskId, - teamMemberId: teamMemberId, - comment: comment, -) -.isSystem(isSystem) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTaskComment( - taskId: taskId, - teamMemberId: teamMemberId, - comment: comment, -); -createTaskCommentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String taskId = ...; -String teamMemberId = ...; -String comment = ...; - -final ref = ExampleConnector.instance.createTaskComment( - taskId: taskId, - teamMemberId: teamMemberId, - comment: comment, -).ref(); -ref.execute(); -``` - - -### updateTaskComment -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTaskComment( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTaskComment, we created `updateTaskCommentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTaskCommentVariablesBuilder { - ... - UpdateTaskCommentVariablesBuilder comment(String? t) { - _comment.value = t; - return this; - } - UpdateTaskCommentVariablesBuilder isSystem(bool? t) { - _isSystem.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTaskComment( - id: id, -) -.comment(comment) -.isSystem(isSystem) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTaskComment( - id: id, -); -updateTaskCommentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTaskComment( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteTaskComment -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTaskComment( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTaskComment( - id: id, -); -deleteTaskCommentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTaskComment( - id: id, -).ref(); -ref.execute(); -``` - - -### createTaxForm -#### Required Arguments -```dart -TaxFormType formType = ...; -String title = ...; -String staffId = ...; -ExampleConnector.instance.createTaxForm( - formType: formType, - title: title, - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTaxForm, we created `createTaxFormBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTaxFormVariablesBuilder { - ... - CreateTaxFormVariablesBuilder subtitle(String? t) { - _subtitle.value = t; - return this; - } - CreateTaxFormVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateTaxFormVariablesBuilder status(TaxFormStatus? t) { - _status.value = t; - return this; - } - CreateTaxFormVariablesBuilder formData(AnyValue? t) { - _formData.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTaxForm( - formType: formType, - title: title, - staffId: staffId, -) -.subtitle(subtitle) -.description(description) -.status(status) -.formData(formData) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTaxForm( - formType: formType, - title: title, - staffId: staffId, -); -createTaxFormData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -TaxFormType formType = ...; -String title = ...; -String staffId = ...; - -final ref = ExampleConnector.instance.createTaxForm( - formType: formType, - title: title, - staffId: staffId, -).ref(); -ref.execute(); -``` - - -### updateTaxForm -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTaxForm( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTaxForm, we created `updateTaxFormBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTaxFormVariablesBuilder { - ... - UpdateTaxFormVariablesBuilder status(TaxFormStatus? t) { - _status.value = t; - return this; - } - UpdateTaxFormVariablesBuilder formData(AnyValue? t) { - _formData.value = t; - return this; - } - UpdateTaxFormVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateTaxFormVariablesBuilder subtitle(String? t) { - _subtitle.value = t; - return this; - } - UpdateTaxFormVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTaxForm( - id: id, -) -.status(status) -.formData(formData) -.title(title) -.subtitle(subtitle) -.description(description) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTaxForm( - id: id, -); -updateTaxFormData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTaxForm( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteTaxForm -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTaxForm( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTaxForm( - id: id, -); -deleteTaxFormData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTaxForm( - id: id, -).ref(); -ref.execute(); -``` - - -### createMessage -#### Required Arguments -```dart -String conversationId = ...; -String senderId = ...; -String content = ...; -ExampleConnector.instance.createMessage( - conversationId: conversationId, - senderId: senderId, - content: content, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createMessage, we created `createMessageBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateMessageVariablesBuilder { - ... - CreateMessageVariablesBuilder isSystem(bool? t) { - _isSystem.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createMessage( - conversationId: conversationId, - senderId: senderId, - content: content, -) -.isSystem(isSystem) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createMessage( - conversationId: conversationId, - senderId: senderId, - content: content, -); -createMessageData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; -String senderId = ...; -String content = ...; - -final ref = ExampleConnector.instance.createMessage( - conversationId: conversationId, - senderId: senderId, - content: content, -).ref(); -ref.execute(); -``` - - -### updateMessage -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateMessage( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateMessage, we created `updateMessageBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateMessageVariablesBuilder { - ... - UpdateMessageVariablesBuilder conversationId(String? t) { - _conversationId.value = t; - return this; - } - UpdateMessageVariablesBuilder senderId(String? t) { - _senderId.value = t; - return this; - } - UpdateMessageVariablesBuilder content(String? t) { - _content.value = t; - return this; - } - UpdateMessageVariablesBuilder isSystem(bool? t) { - _isSystem.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateMessage( - id: id, -) -.conversationId(conversationId) -.senderId(senderId) -.content(content) -.isSystem(isSystem) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateMessage( - id: id, -); -updateMessageData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateMessage( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteMessage -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteMessage( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteMessage( - id: id, -); -deleteMessageData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteMessage( - id: id, -).ref(); -ref.execute(); -``` - - -### createApplication -#### Required Arguments -```dart -String shiftId = ...; -String staffId = ...; -ApplicationStatus status = ...; -ApplicationOrigin origin = ...; -String roleId = ...; -ExampleConnector.instance.createApplication( - shiftId: shiftId, - staffId: staffId, - status: status, - origin: origin, - roleId: roleId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createApplication, we created `createApplicationBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateApplicationVariablesBuilder { - ... - CreateApplicationVariablesBuilder checkInTime(Timestamp? t) { - _checkInTime.value = t; - return this; - } - CreateApplicationVariablesBuilder checkOutTime(Timestamp? t) { - _checkOutTime.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createApplication( - shiftId: shiftId, - staffId: staffId, - status: status, - origin: origin, - roleId: roleId, -) -.checkInTime(checkInTime) -.checkOutTime(checkOutTime) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createApplication( - shiftId: shiftId, - staffId: staffId, - status: status, - origin: origin, - roleId: roleId, -); -createApplicationData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; -String staffId = ...; -ApplicationStatus status = ...; -ApplicationOrigin origin = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.createApplication( - shiftId: shiftId, - staffId: staffId, - status: status, - origin: origin, - roleId: roleId, -).ref(); -ref.execute(); -``` - - -### updateApplicationStatus -#### Required Arguments -```dart -String id = ...; -String roleId = ...; -ExampleConnector.instance.updateApplicationStatus( - id: id, - roleId: roleId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateApplicationStatus, we created `updateApplicationStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateApplicationStatusVariablesBuilder { - ... - UpdateApplicationStatusVariablesBuilder shiftId(String? t) { - _shiftId.value = t; - return this; - } - UpdateApplicationStatusVariablesBuilder staffId(String? t) { - _staffId.value = t; - return this; - } - UpdateApplicationStatusVariablesBuilder status(ApplicationStatus? t) { - _status.value = t; - return this; - } - UpdateApplicationStatusVariablesBuilder checkInTime(Timestamp? t) { - _checkInTime.value = t; - return this; - } - UpdateApplicationStatusVariablesBuilder checkOutTime(Timestamp? t) { - _checkOutTime.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateApplicationStatus( - id: id, - roleId: roleId, -) -.shiftId(shiftId) -.staffId(staffId) -.status(status) -.checkInTime(checkInTime) -.checkOutTime(checkOutTime) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateApplicationStatus( - id: id, - roleId: roleId, -); -updateApplicationStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.updateApplicationStatus( - id: id, - roleId: roleId, -).ref(); -ref.execute(); -``` - - -### deleteApplication -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteApplication( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteApplication( - id: id, -); -deleteApplicationData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteApplication( - id: id, -).ref(); -ref.execute(); -``` - - -### CreateAssignment -#### Required Arguments -```dart -String workforceId = ...; -String roleId = ...; -String shiftId = ...; -ExampleConnector.instance.createAssignment( - workforceId: workforceId, - roleId: roleId, - shiftId: shiftId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For CreateAssignment, we created `CreateAssignmentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateAssignmentVariablesBuilder { - ... - CreateAssignmentVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - CreateAssignmentVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateAssignmentVariablesBuilder instructions(String? t) { - _instructions.value = t; - return this; - } - CreateAssignmentVariablesBuilder status(AssignmentStatus? t) { - _status.value = t; - return this; - } - CreateAssignmentVariablesBuilder tipsAvailable(bool? t) { - _tipsAvailable.value = t; - return this; - } - CreateAssignmentVariablesBuilder travelTime(bool? t) { - _travelTime.value = t; - return this; - } - CreateAssignmentVariablesBuilder mealProvided(bool? t) { - _mealProvided.value = t; - return this; - } - CreateAssignmentVariablesBuilder parkingAvailable(bool? t) { - _parkingAvailable.value = t; - return this; - } - CreateAssignmentVariablesBuilder gasCompensation(bool? t) { - _gasCompensation.value = t; - return this; - } - CreateAssignmentVariablesBuilder managers(List? t) { - _managers.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createAssignment( - workforceId: workforceId, - roleId: roleId, - shiftId: shiftId, -) -.title(title) -.description(description) -.instructions(instructions) -.status(status) -.tipsAvailable(tipsAvailable) -.travelTime(travelTime) -.mealProvided(mealProvided) -.parkingAvailable(parkingAvailable) -.gasCompensation(gasCompensation) -.managers(managers) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createAssignment( - workforceId: workforceId, - roleId: roleId, - shiftId: shiftId, -); -CreateAssignmentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String workforceId = ...; -String roleId = ...; -String shiftId = ...; - -final ref = ExampleConnector.instance.createAssignment( - workforceId: workforceId, - roleId: roleId, - shiftId: shiftId, -).ref(); -ref.execute(); -``` - - -### UpdateAssignment -#### Required Arguments -```dart -String id = ...; -String roleId = ...; -String shiftId = ...; -ExampleConnector.instance.updateAssignment( - id: id, - roleId: roleId, - shiftId: shiftId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For UpdateAssignment, we created `UpdateAssignmentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateAssignmentVariablesBuilder { - ... - UpdateAssignmentVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateAssignmentVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateAssignmentVariablesBuilder instructions(String? t) { - _instructions.value = t; - return this; - } - UpdateAssignmentVariablesBuilder status(AssignmentStatus? t) { - _status.value = t; - return this; - } - UpdateAssignmentVariablesBuilder tipsAvailable(bool? t) { - _tipsAvailable.value = t; - return this; - } - UpdateAssignmentVariablesBuilder travelTime(bool? t) { - _travelTime.value = t; - return this; - } - UpdateAssignmentVariablesBuilder mealProvided(bool? t) { - _mealProvided.value = t; - return this; - } - UpdateAssignmentVariablesBuilder parkingAvailable(bool? t) { - _parkingAvailable.value = t; - return this; - } - UpdateAssignmentVariablesBuilder gasCompensation(bool? t) { - _gasCompensation.value = t; - return this; - } - UpdateAssignmentVariablesBuilder managers(List? t) { - _managers.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateAssignment( - id: id, - roleId: roleId, - shiftId: shiftId, -) -.title(title) -.description(description) -.instructions(instructions) -.status(status) -.tipsAvailable(tipsAvailable) -.travelTime(travelTime) -.mealProvided(mealProvided) -.parkingAvailable(parkingAvailable) -.gasCompensation(gasCompensation) -.managers(managers) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateAssignment( - id: id, - roleId: roleId, - shiftId: shiftId, -); -UpdateAssignmentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; -String roleId = ...; -String shiftId = ...; - -final ref = ExampleConnector.instance.updateAssignment( - id: id, - roleId: roleId, - shiftId: shiftId, -).ref(); -ref.execute(); -``` - - -### DeleteAssignment -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteAssignment( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteAssignment( - id: id, -); -DeleteAssignmentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteAssignment( - id: id, -).ref(); -ref.execute(); -``` - - -### createBenefitsData -#### Required Arguments -```dart -String vendorBenefitPlanId = ...; -String staffId = ...; -int current = ...; -ExampleConnector.instance.createBenefitsData( - vendorBenefitPlanId: vendorBenefitPlanId, - staffId: staffId, - current: current, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createBenefitsData( - vendorBenefitPlanId: vendorBenefitPlanId, - staffId: staffId, - current: current, -); -createBenefitsDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorBenefitPlanId = ...; -String staffId = ...; -int current = ...; - -final ref = ExampleConnector.instance.createBenefitsData( - vendorBenefitPlanId: vendorBenefitPlanId, - staffId: staffId, - current: current, -).ref(); -ref.execute(); -``` - - -### updateBenefitsData -#### Required Arguments -```dart -String staffId = ...; -String vendorBenefitPlanId = ...; -ExampleConnector.instance.updateBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateBenefitsData, we created `updateBenefitsDataBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateBenefitsDataVariablesBuilder { - ... - UpdateBenefitsDataVariablesBuilder current(int? t) { - _current.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -) -.current(current) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -); -updateBenefitsDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String vendorBenefitPlanId = ...; - -final ref = ExampleConnector.instance.updateBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -).ref(); -ref.execute(); -``` - - -### deleteBenefitsData -#### Required Arguments -```dart -String staffId = ...; -String vendorBenefitPlanId = ...; -ExampleConnector.instance.deleteBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -); -deleteBenefitsDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String vendorBenefitPlanId = ...; - -final ref = ExampleConnector.instance.deleteBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -).ref(); -ref.execute(); -``` - - -### createCustomRateCard -#### Required Arguments -```dart -String name = ...; -ExampleConnector.instance.createCustomRateCard( - name: name, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createCustomRateCard, we created `createCustomRateCardBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateCustomRateCardVariablesBuilder { - ... - CreateCustomRateCardVariablesBuilder baseBook(String? t) { - _baseBook.value = t; - return this; - } - CreateCustomRateCardVariablesBuilder discount(double? t) { - _discount.value = t; - return this; - } - CreateCustomRateCardVariablesBuilder isDefault(bool? t) { - _isDefault.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createCustomRateCard( - name: name, -) -.baseBook(baseBook) -.discount(discount) -.isDefault(isDefault) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createCustomRateCard( - name: name, -); -createCustomRateCardData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; - -final ref = ExampleConnector.instance.createCustomRateCard( - name: name, -).ref(); -ref.execute(); -``` - - -### updateCustomRateCard -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateCustomRateCard( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateCustomRateCard, we created `updateCustomRateCardBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateCustomRateCardVariablesBuilder { - ... - UpdateCustomRateCardVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateCustomRateCardVariablesBuilder baseBook(String? t) { - _baseBook.value = t; - return this; - } - UpdateCustomRateCardVariablesBuilder discount(double? t) { - _discount.value = t; - return this; - } - UpdateCustomRateCardVariablesBuilder isDefault(bool? t) { - _isDefault.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateCustomRateCard( - id: id, -) -.name(name) -.baseBook(baseBook) -.discount(discount) -.isDefault(isDefault) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateCustomRateCard( - id: id, -); -updateCustomRateCardData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateCustomRateCard( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteCustomRateCard -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteCustomRateCard( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteCustomRateCard( - id: id, -); -deleteCustomRateCardData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteCustomRateCard( - id: id, -).ref(); -ref.execute(); -``` - - -### createRoleCategory -#### Required Arguments -```dart -String roleName = ...; -RoleCategoryType category = ...; -ExampleConnector.instance.createRoleCategory( - roleName: roleName, - category: category, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createRoleCategory( - roleName: roleName, - category: category, -); -createRoleCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String roleName = ...; -RoleCategoryType category = ...; - -final ref = ExampleConnector.instance.createRoleCategory( - roleName: roleName, - category: category, -).ref(); -ref.execute(); -``` - - -### updateRoleCategory -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateRoleCategory( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateRoleCategory, we created `updateRoleCategoryBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateRoleCategoryVariablesBuilder { - ... - UpdateRoleCategoryVariablesBuilder roleName(String? t) { - _roleName.value = t; - return this; - } - UpdateRoleCategoryVariablesBuilder category(RoleCategoryType? t) { - _category.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateRoleCategory( - id: id, -) -.roleName(roleName) -.category(category) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateRoleCategory( - id: id, -); -updateRoleCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateRoleCategory( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteRoleCategory -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteRoleCategory( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteRoleCategory( - id: id, -); -deleteRoleCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteRoleCategory( - id: id, -).ref(); -ref.execute(); -``` - - -### createStaffCourse -#### Required Arguments -```dart -String staffId = ...; -String courseId = ...; -ExampleConnector.instance.createStaffCourse( - staffId: staffId, - courseId: courseId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createStaffCourse, we created `createStaffCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateStaffCourseVariablesBuilder { - ... - CreateStaffCourseVariablesBuilder progressPercent(int? t) { - _progressPercent.value = t; - return this; - } - CreateStaffCourseVariablesBuilder completed(bool? t) { - _completed.value = t; - return this; - } - CreateStaffCourseVariablesBuilder completedAt(Timestamp? t) { - _completedAt.value = t; - return this; - } - CreateStaffCourseVariablesBuilder startedAt(Timestamp? t) { - _startedAt.value = t; - return this; - } - CreateStaffCourseVariablesBuilder lastAccessedAt(Timestamp? t) { - _lastAccessedAt.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createStaffCourse( - staffId: staffId, - courseId: courseId, -) -.progressPercent(progressPercent) -.completed(completed) -.completedAt(completedAt) -.startedAt(startedAt) -.lastAccessedAt(lastAccessedAt) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createStaffCourse( - staffId: staffId, - courseId: courseId, -); -createStaffCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String courseId = ...; - -final ref = ExampleConnector.instance.createStaffCourse( - staffId: staffId, - courseId: courseId, -).ref(); -ref.execute(); -``` - - -### updateStaffCourse -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateStaffCourse( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateStaffCourse, we created `updateStaffCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateStaffCourseVariablesBuilder { - ... - UpdateStaffCourseVariablesBuilder progressPercent(int? t) { - _progressPercent.value = t; - return this; - } - UpdateStaffCourseVariablesBuilder completed(bool? t) { - _completed.value = t; - return this; - } - UpdateStaffCourseVariablesBuilder completedAt(Timestamp? t) { - _completedAt.value = t; - return this; - } - UpdateStaffCourseVariablesBuilder startedAt(Timestamp? t) { - _startedAt.value = t; - return this; - } - UpdateStaffCourseVariablesBuilder lastAccessedAt(Timestamp? t) { - _lastAccessedAt.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateStaffCourse( - id: id, -) -.progressPercent(progressPercent) -.completed(completed) -.completedAt(completedAt) -.startedAt(startedAt) -.lastAccessedAt(lastAccessedAt) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateStaffCourse( - id: id, -); -updateStaffCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateStaffCourse( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteStaffCourse -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteStaffCourse( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteStaffCourse( - id: id, -); -deleteStaffCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteStaffCourse( - id: id, -).ref(); -ref.execute(); -``` - - -### createAccount -#### Required Arguments -```dart -String bank = ...; -AccountType type = ...; -String last4 = ...; -String ownerId = ...; -ExampleConnector.instance.createAccount( - bank: bank, - type: type, - last4: last4, - ownerId: ownerId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createAccount, we created `createAccountBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateAccountVariablesBuilder { - ... - CreateAccountVariablesBuilder isPrimary(bool? t) { - _isPrimary.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createAccount( - bank: bank, - type: type, - last4: last4, - ownerId: ownerId, -) -.isPrimary(isPrimary) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createAccount( - bank: bank, - type: type, - last4: last4, - ownerId: ownerId, -); -createAccountData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String bank = ...; -AccountType type = ...; -String last4 = ...; -String ownerId = ...; - -final ref = ExampleConnector.instance.createAccount( - bank: bank, - type: type, - last4: last4, - ownerId: ownerId, -).ref(); -ref.execute(); -``` - - -### updateAccount -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateAccount( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateAccount, we created `updateAccountBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateAccountVariablesBuilder { - ... - UpdateAccountVariablesBuilder bank(String? t) { - _bank.value = t; - return this; - } - UpdateAccountVariablesBuilder type(AccountType? t) { - _type.value = t; - return this; - } - UpdateAccountVariablesBuilder last4(String? t) { - _last4.value = t; - return this; - } - UpdateAccountVariablesBuilder isPrimary(bool? t) { - _isPrimary.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateAccount( - id: id, -) -.bank(bank) -.type(type) -.last4(last4) -.isPrimary(isPrimary) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateAccount( - id: id, -); -updateAccountData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateAccount( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteAccount -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteAccount( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteAccount( - id: id, -); -deleteAccountData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteAccount( - id: id, -).ref(); -ref.execute(); -``` - - -### createCourse -#### Required Arguments -```dart -String categoryId = ...; -ExampleConnector.instance.createCourse( - categoryId: categoryId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createCourse, we created `createCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateCourseVariablesBuilder { - ... - - CreateCourseVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - CreateCourseVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateCourseVariablesBuilder thumbnailUrl(String? t) { - _thumbnailUrl.value = t; - return this; - } - CreateCourseVariablesBuilder durationMinutes(int? t) { - _durationMinutes.value = t; - return this; - } - CreateCourseVariablesBuilder xpReward(int? t) { - _xpReward.value = t; - return this; - } - CreateCourseVariablesBuilder levelRequired(String? t) { - _levelRequired.value = t; - return this; - } - CreateCourseVariablesBuilder isCertification(bool? t) { - _isCertification.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createCourse( - categoryId: categoryId, -) -.title(title) -.description(description) -.thumbnailUrl(thumbnailUrl) -.durationMinutes(durationMinutes) -.xpReward(xpReward) -.levelRequired(levelRequired) -.isCertification(isCertification) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createCourse( - categoryId: categoryId, -); -createCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String categoryId = ...; - -final ref = ExampleConnector.instance.createCourse( - categoryId: categoryId, -).ref(); -ref.execute(); -``` - - -### updateCourse -#### Required Arguments -```dart -String id = ...; -String categoryId = ...; -ExampleConnector.instance.updateCourse( - id: id, - categoryId: categoryId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateCourse, we created `updateCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateCourseVariablesBuilder { - ... - UpdateCourseVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateCourseVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateCourseVariablesBuilder thumbnailUrl(String? t) { - _thumbnailUrl.value = t; - return this; - } - UpdateCourseVariablesBuilder durationMinutes(int? t) { - _durationMinutes.value = t; - return this; - } - UpdateCourseVariablesBuilder xpReward(int? t) { - _xpReward.value = t; - return this; - } - UpdateCourseVariablesBuilder levelRequired(String? t) { - _levelRequired.value = t; - return this; - } - UpdateCourseVariablesBuilder isCertification(bool? t) { - _isCertification.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateCourse( - id: id, - categoryId: categoryId, -) -.title(title) -.description(description) -.thumbnailUrl(thumbnailUrl) -.durationMinutes(durationMinutes) -.xpReward(xpReward) -.levelRequired(levelRequired) -.isCertification(isCertification) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateCourse( - id: id, - categoryId: categoryId, -); -updateCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; -String categoryId = ...; - -final ref = ExampleConnector.instance.updateCourse( - id: id, - categoryId: categoryId, -).ref(); -ref.execute(); -``` - - -### deleteCourse -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteCourse( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteCourse( - id: id, -); -deleteCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteCourse( - id: id, -).ref(); -ref.execute(); -``` - - -### createEmergencyContact -#### Required Arguments -```dart -String name = ...; -String phone = ...; -RelationshipType relationship = ...; -String staffId = ...; -ExampleConnector.instance.createEmergencyContact( - name: name, - phone: phone, - relationship: relationship, - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createEmergencyContact( - name: name, - phone: phone, - relationship: relationship, - staffId: staffId, -); -createEmergencyContactData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; -String phone = ...; -RelationshipType relationship = ...; -String staffId = ...; - -final ref = ExampleConnector.instance.createEmergencyContact( - name: name, - phone: phone, - relationship: relationship, - staffId: staffId, -).ref(); -ref.execute(); -``` - - -### updateEmergencyContact -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateEmergencyContact( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateEmergencyContact, we created `updateEmergencyContactBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateEmergencyContactVariablesBuilder { - ... - UpdateEmergencyContactVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateEmergencyContactVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - UpdateEmergencyContactVariablesBuilder relationship(RelationshipType? t) { - _relationship.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateEmergencyContact( - id: id, -) -.name(name) -.phone(phone) -.relationship(relationship) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateEmergencyContact( - id: id, -); -updateEmergencyContactData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateEmergencyContact( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteEmergencyContact -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteEmergencyContact( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteEmergencyContact( - id: id, -); -deleteEmergencyContactData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteEmergencyContact( - id: id, -).ref(); -ref.execute(); -``` - - -### createInvoiceTemplate -#### Required Arguments -```dart -String name = ...; -String ownerId = ...; -ExampleConnector.instance.createInvoiceTemplate( - name: name, - ownerId: ownerId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createInvoiceTemplate, we created `createInvoiceTemplateBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateInvoiceTemplateVariablesBuilder { - ... - CreateInvoiceTemplateVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder paymentTerms(InovicePaymentTermsTemp? t) { - _paymentTerms.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder invoiceNumber(String? t) { - _invoiceNumber.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder issueDate(Timestamp? t) { - _issueDate.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder dueDate(Timestamp? t) { - _dueDate.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder managerName(String? t) { - _managerName.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder vendorNumber(String? t) { - _vendorNumber.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder roles(AnyValue? t) { - _roles.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder charges(AnyValue? t) { - _charges.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder otherCharges(double? t) { - _otherCharges.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder subtotal(double? t) { - _subtotal.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder amount(double? t) { - _amount.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder staffCount(int? t) { - _staffCount.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder chargesCount(int? t) { - _chargesCount.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createInvoiceTemplate( - name: name, - ownerId: ownerId, -) -.vendorId(vendorId) -.businessId(businessId) -.orderId(orderId) -.paymentTerms(paymentTerms) -.invoiceNumber(invoiceNumber) -.issueDate(issueDate) -.dueDate(dueDate) -.hub(hub) -.managerName(managerName) -.vendorNumber(vendorNumber) -.roles(roles) -.charges(charges) -.otherCharges(otherCharges) -.subtotal(subtotal) -.amount(amount) -.notes(notes) -.staffCount(staffCount) -.chargesCount(chargesCount) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createInvoiceTemplate( - name: name, - ownerId: ownerId, -); -createInvoiceTemplateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; -String ownerId = ...; - -final ref = ExampleConnector.instance.createInvoiceTemplate( - name: name, - ownerId: ownerId, -).ref(); -ref.execute(); -``` - - -### updateInvoiceTemplate -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateInvoiceTemplate( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateInvoiceTemplate, we created `updateInvoiceTemplateBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateInvoiceTemplateVariablesBuilder { - ... - UpdateInvoiceTemplateVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder paymentTerms(InovicePaymentTermsTemp? t) { - _paymentTerms.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder invoiceNumber(String? t) { - _invoiceNumber.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder issueDate(Timestamp? t) { - _issueDate.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder dueDate(Timestamp? t) { - _dueDate.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder managerName(String? t) { - _managerName.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder vendorNumber(String? t) { - _vendorNumber.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder roles(AnyValue? t) { - _roles.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder charges(AnyValue? t) { - _charges.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder otherCharges(double? t) { - _otherCharges.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder subtotal(double? t) { - _subtotal.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder amount(double? t) { - _amount.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder staffCount(int? t) { - _staffCount.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder chargesCount(int? t) { - _chargesCount.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateInvoiceTemplate( - id: id, -) -.name(name) -.ownerId(ownerId) -.vendorId(vendorId) -.businessId(businessId) -.orderId(orderId) -.paymentTerms(paymentTerms) -.invoiceNumber(invoiceNumber) -.issueDate(issueDate) -.dueDate(dueDate) -.hub(hub) -.managerName(managerName) -.vendorNumber(vendorNumber) -.roles(roles) -.charges(charges) -.otherCharges(otherCharges) -.subtotal(subtotal) -.amount(amount) -.notes(notes) -.staffCount(staffCount) -.chargesCount(chargesCount) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateInvoiceTemplate( - id: id, -); -updateInvoiceTemplateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateInvoiceTemplate( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteInvoiceTemplate -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteInvoiceTemplate( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteInvoiceTemplate( - id: id, -); -deleteInvoiceTemplateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteInvoiceTemplate( - id: id, -).ref(); -ref.execute(); -``` - - -### createRole -#### Required Arguments -```dart -String name = ...; -double costPerHour = ...; -String vendorId = ...; -String roleCategoryId = ...; -ExampleConnector.instance.createRole( - name: name, - costPerHour: costPerHour, - vendorId: vendorId, - roleCategoryId: roleCategoryId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createRole( - name: name, - costPerHour: costPerHour, - vendorId: vendorId, - roleCategoryId: roleCategoryId, -); -createRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; -double costPerHour = ...; -String vendorId = ...; -String roleCategoryId = ...; - -final ref = ExampleConnector.instance.createRole( - name: name, - costPerHour: costPerHour, - vendorId: vendorId, - roleCategoryId: roleCategoryId, -).ref(); -ref.execute(); -``` - - -### updateRole -#### Required Arguments -```dart -String id = ...; -String roleCategoryId = ...; -ExampleConnector.instance.updateRole( - id: id, - roleCategoryId: roleCategoryId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateRole, we created `updateRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateRoleVariablesBuilder { - ... - UpdateRoleVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateRoleVariablesBuilder costPerHour(double? t) { - _costPerHour.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateRole( - id: id, - roleCategoryId: roleCategoryId, -) -.name(name) -.costPerHour(costPerHour) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateRole( - id: id, - roleCategoryId: roleCategoryId, -); -updateRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; -String roleCategoryId = ...; - -final ref = ExampleConnector.instance.updateRole( - id: id, - roleCategoryId: roleCategoryId, -).ref(); -ref.execute(); -``` - - -### deleteRole -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteRole( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteRole( - id: id, -); -deleteRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteRole( - id: id, -).ref(); -ref.execute(); -``` - - -### createOrder -#### Required Arguments -```dart -String vendorId = ...; -String businessId = ...; -OrderType orderType = ...; -ExampleConnector.instance.createOrder( - vendorId: vendorId, - businessId: businessId, - orderType: orderType, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createOrder, we created `createOrderBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateOrderVariablesBuilder { - ... - CreateOrderVariablesBuilder location(String? t) { - _location.value = t; - return this; - } - CreateOrderVariablesBuilder status(OrderStatus? t) { - _status.value = t; - return this; - } - CreateOrderVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - CreateOrderVariablesBuilder startDate(Timestamp? t) { - _startDate.value = t; - return this; - } - CreateOrderVariablesBuilder endDate(Timestamp? t) { - _endDate.value = t; - return this; - } - CreateOrderVariablesBuilder duration(OrderDuration? t) { - _duration.value = t; - return this; - } - CreateOrderVariablesBuilder lunchBreak(int? t) { - _lunchBreak.value = t; - return this; - } - CreateOrderVariablesBuilder total(double? t) { - _total.value = t; - return this; - } - CreateOrderVariablesBuilder eventName(String? t) { - _eventName.value = t; - return this; - } - CreateOrderVariablesBuilder assignedStaff(AnyValue? t) { - _assignedStaff.value = t; - return this; - } - CreateOrderVariablesBuilder shifts(AnyValue? t) { - _shifts.value = t; - return this; - } - CreateOrderVariablesBuilder requested(int? t) { - _requested.value = t; - return this; - } - CreateOrderVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - CreateOrderVariablesBuilder recurringDays(AnyValue? t) { - _recurringDays.value = t; - return this; - } - CreateOrderVariablesBuilder permanentStartDate(Timestamp? t) { - _permanentStartDate.value = t; - return this; - } - CreateOrderVariablesBuilder permanentDays(AnyValue? t) { - _permanentDays.value = t; - return this; - } - CreateOrderVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - CreateOrderVariablesBuilder detectedConflicts(AnyValue? t) { - _detectedConflicts.value = t; - return this; - } - CreateOrderVariablesBuilder poReference(String? t) { - _poReference.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createOrder( - vendorId: vendorId, - businessId: businessId, - orderType: orderType, -) -.location(location) -.status(status) -.date(date) -.startDate(startDate) -.endDate(endDate) -.duration(duration) -.lunchBreak(lunchBreak) -.total(total) -.eventName(eventName) -.assignedStaff(assignedStaff) -.shifts(shifts) -.requested(requested) -.hub(hub) -.recurringDays(recurringDays) -.permanentStartDate(permanentStartDate) -.permanentDays(permanentDays) -.notes(notes) -.detectedConflicts(detectedConflicts) -.poReference(poReference) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createOrder( - vendorId: vendorId, - businessId: businessId, - orderType: orderType, -); -createOrderData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -String businessId = ...; -OrderType orderType = ...; - -final ref = ExampleConnector.instance.createOrder( - vendorId: vendorId, - businessId: businessId, - orderType: orderType, -).ref(); -ref.execute(); -``` - - -### updateOrder -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateOrder( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateOrder, we created `updateOrderBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateOrderVariablesBuilder { - ... - UpdateOrderVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateOrderVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - UpdateOrderVariablesBuilder location(String? t) { - _location.value = t; - return this; - } - UpdateOrderVariablesBuilder status(OrderStatus? t) { - _status.value = t; - return this; - } - UpdateOrderVariablesBuilder startDate(Timestamp? t) { - _startDate.value = t; - return this; - } - UpdateOrderVariablesBuilder endDate(Timestamp? t) { - _endDate.value = t; - return this; - } - UpdateOrderVariablesBuilder total(double? t) { - _total.value = t; - return this; - } - UpdateOrderVariablesBuilder eventName(String? t) { - _eventName.value = t; - return this; - } - UpdateOrderVariablesBuilder assignedStaff(AnyValue? t) { - _assignedStaff.value = t; - return this; - } - UpdateOrderVariablesBuilder shifts(AnyValue? t) { - _shifts.value = t; - return this; - } - UpdateOrderVariablesBuilder requested(int? t) { - _requested.value = t; - return this; - } - UpdateOrderVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - UpdateOrderVariablesBuilder recurringDays(AnyValue? t) { - _recurringDays.value = t; - return this; - } - UpdateOrderVariablesBuilder permanentDays(AnyValue? t) { - _permanentDays.value = t; - return this; - } - UpdateOrderVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - UpdateOrderVariablesBuilder detectedConflicts(AnyValue? t) { - _detectedConflicts.value = t; - return this; - } - UpdateOrderVariablesBuilder poReference(String? t) { - _poReference.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateOrder( - id: id, -) -.vendorId(vendorId) -.businessId(businessId) -.location(location) -.status(status) -.startDate(startDate) -.endDate(endDate) -.total(total) -.eventName(eventName) -.assignedStaff(assignedStaff) -.shifts(shifts) -.requested(requested) -.hub(hub) -.recurringDays(recurringDays) -.permanentDays(permanentDays) -.notes(notes) -.detectedConflicts(detectedConflicts) -.poReference(poReference) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateOrder( - id: id, -); -updateOrderData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateOrder( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteOrder -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteOrder( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteOrder( - id: id, -); -deleteOrderData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteOrder( - id: id, -).ref(); -ref.execute(); -``` - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/accept_invite_by_code.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/accept_invite_by_code.dart deleted file mode 100644 index 62eedb2c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/accept_invite_by_code.dart +++ /dev/null @@ -1,88 +0,0 @@ -part of 'generated.dart'; - -class AcceptInviteByCodeVariablesBuilder { - String inviteCode; - - final FirebaseDataConnect _dataConnect; - AcceptInviteByCodeVariablesBuilder(this._dataConnect, {required this.inviteCode,}); - Deserializer dataDeserializer = (dynamic json) => AcceptInviteByCodeData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (AcceptInviteByCodeVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - AcceptInviteByCodeVariables vars= AcceptInviteByCodeVariables(inviteCode: inviteCode,); - return _dataConnect.mutation("acceptInviteByCode", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class AcceptInviteByCodeData { - final int teamMember_updateMany; - AcceptInviteByCodeData.fromJson(dynamic json): - - teamMember_updateMany = nativeFromJson(json['teamMember_updateMany']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final AcceptInviteByCodeData otherTyped = other as AcceptInviteByCodeData; - return teamMember_updateMany == otherTyped.teamMember_updateMany; - - } - @override - int get hashCode => teamMember_updateMany.hashCode; - - - Map toJson() { - Map json = {}; - json['teamMember_updateMany'] = nativeToJson(teamMember_updateMany); - return json; - } - - AcceptInviteByCodeData({ - required this.teamMember_updateMany, - }); -} - -@immutable -class AcceptInviteByCodeVariables { - final String inviteCode; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - AcceptInviteByCodeVariables.fromJson(Map json): - - inviteCode = nativeFromJson(json['inviteCode']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final AcceptInviteByCodeVariables otherTyped = other as AcceptInviteByCodeVariables; - return inviteCode == otherTyped.inviteCode; - - } - @override - int get hashCode => inviteCode.hashCode; - - - Map toJson() { - Map json = {}; - json['inviteCode'] = nativeToJson(inviteCode); - return json; - } - - AcceptInviteByCodeVariables({ - required this.inviteCode, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/cancel_invite_by_code.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/cancel_invite_by_code.dart deleted file mode 100644 index 5ca855a8..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/cancel_invite_by_code.dart +++ /dev/null @@ -1,88 +0,0 @@ -part of 'generated.dart'; - -class CancelInviteByCodeVariablesBuilder { - String inviteCode; - - final FirebaseDataConnect _dataConnect; - CancelInviteByCodeVariablesBuilder(this._dataConnect, {required this.inviteCode,}); - Deserializer dataDeserializer = (dynamic json) => CancelInviteByCodeData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CancelInviteByCodeVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CancelInviteByCodeVariables vars= CancelInviteByCodeVariables(inviteCode: inviteCode,); - return _dataConnect.mutation("cancelInviteByCode", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CancelInviteByCodeData { - final int teamMember_updateMany; - CancelInviteByCodeData.fromJson(dynamic json): - - teamMember_updateMany = nativeFromJson(json['teamMember_updateMany']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CancelInviteByCodeData otherTyped = other as CancelInviteByCodeData; - return teamMember_updateMany == otherTyped.teamMember_updateMany; - - } - @override - int get hashCode => teamMember_updateMany.hashCode; - - - Map toJson() { - Map json = {}; - json['teamMember_updateMany'] = nativeToJson(teamMember_updateMany); - return json; - } - - CancelInviteByCodeData({ - required this.teamMember_updateMany, - }); -} - -@immutable -class CancelInviteByCodeVariables { - final String inviteCode; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CancelInviteByCodeVariables.fromJson(Map json): - - inviteCode = nativeFromJson(json['inviteCode']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CancelInviteByCodeVariables otherTyped = other as CancelInviteByCodeVariables; - return inviteCode == otherTyped.inviteCode; - - } - @override - int get hashCode => inviteCode.hashCode; - - - Map toJson() { - Map json = {}; - json['inviteCode'] = nativeToJson(inviteCode); - return json; - } - - CancelInviteByCodeVariables({ - required this.inviteCode, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_account.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_account.dart deleted file mode 100644 index c1bc9a4d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_account.dart +++ /dev/null @@ -1,163 +0,0 @@ -part of 'generated.dart'; - -class CreateAccountVariablesBuilder { - String bank; - AccountType type; - String last4; - Optional _isPrimary = Optional.optional(nativeFromJson, nativeToJson); - String ownerId; - - final FirebaseDataConnect _dataConnect; CreateAccountVariablesBuilder isPrimary(bool? t) { - _isPrimary.value = t; - return this; - } - - CreateAccountVariablesBuilder(this._dataConnect, {required this.bank,required this.type,required this.last4,required this.ownerId,}); - Deserializer dataDeserializer = (dynamic json) => CreateAccountData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateAccountVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateAccountVariables vars= CreateAccountVariables(bank: bank,type: type,last4: last4,isPrimary: _isPrimary,ownerId: ownerId,); - return _dataConnect.mutation("createAccount", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateAccountAccountInsert { - final String id; - CreateAccountAccountInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateAccountAccountInsert otherTyped = other as CreateAccountAccountInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateAccountAccountInsert({ - required this.id, - }); -} - -@immutable -class CreateAccountData { - final CreateAccountAccountInsert account_insert; - CreateAccountData.fromJson(dynamic json): - - account_insert = CreateAccountAccountInsert.fromJson(json['account_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateAccountData otherTyped = other as CreateAccountData; - return account_insert == otherTyped.account_insert; - - } - @override - int get hashCode => account_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['account_insert'] = account_insert.toJson(); - return json; - } - - CreateAccountData({ - required this.account_insert, - }); -} - -@immutable -class CreateAccountVariables { - final String bank; - final AccountType type; - final String last4; - late final OptionalisPrimary; - final String ownerId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateAccountVariables.fromJson(Map json): - - bank = nativeFromJson(json['bank']), - type = AccountType.values.byName(json['type']), - last4 = nativeFromJson(json['last4']), - ownerId = nativeFromJson(json['ownerId']) { - - - - - - isPrimary = Optional.optional(nativeFromJson, nativeToJson); - isPrimary.value = json['isPrimary'] == null ? null : nativeFromJson(json['isPrimary']); - - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateAccountVariables otherTyped = other as CreateAccountVariables; - return bank == otherTyped.bank && - type == otherTyped.type && - last4 == otherTyped.last4 && - isPrimary == otherTyped.isPrimary && - ownerId == otherTyped.ownerId; - - } - @override - int get hashCode => Object.hashAll([bank.hashCode, type.hashCode, last4.hashCode, isPrimary.hashCode, ownerId.hashCode]); - - - Map toJson() { - Map json = {}; - json['bank'] = nativeToJson(bank); - json['type'] = - type.name - ; - json['last4'] = nativeToJson(last4); - if(isPrimary.state == OptionalState.set) { - json['isPrimary'] = isPrimary.toJson(); - } - json['ownerId'] = nativeToJson(ownerId); - return json; - } - - CreateAccountVariables({ - required this.bank, - required this.type, - required this.last4, - required this.isPrimary, - required this.ownerId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_activity_log.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_activity_log.dart deleted file mode 100644 index 223fce9b..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_activity_log.dart +++ /dev/null @@ -1,245 +0,0 @@ -part of 'generated.dart'; - -class CreateActivityLogVariablesBuilder { - String userId; - Timestamp date; - Optional _hourStart = Optional.optional(nativeFromJson, nativeToJson); - Optional _hourEnd = Optional.optional(nativeFromJson, nativeToJson); - Optional _totalhours = Optional.optional(nativeFromJson, nativeToJson); - Optional _iconType = Optional.optional((data) => ActivityIconType.values.byName(data), enumSerializer); - Optional _iconColor = Optional.optional(nativeFromJson, nativeToJson); - String title; - String description; - Optional _isRead = Optional.optional(nativeFromJson, nativeToJson); - ActivityType activityType; - - final FirebaseDataConnect _dataConnect; CreateActivityLogVariablesBuilder hourStart(String? t) { - _hourStart.value = t; - return this; - } - CreateActivityLogVariablesBuilder hourEnd(String? t) { - _hourEnd.value = t; - return this; - } - CreateActivityLogVariablesBuilder totalhours(String? t) { - _totalhours.value = t; - return this; - } - CreateActivityLogVariablesBuilder iconType(ActivityIconType? t) { - _iconType.value = t; - return this; - } - CreateActivityLogVariablesBuilder iconColor(String? t) { - _iconColor.value = t; - return this; - } - CreateActivityLogVariablesBuilder isRead(bool? t) { - _isRead.value = t; - return this; - } - - CreateActivityLogVariablesBuilder(this._dataConnect, {required this.userId,required this.date,required this.title,required this.description,required this.activityType,}); - Deserializer dataDeserializer = (dynamic json) => CreateActivityLogData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateActivityLogVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateActivityLogVariables vars= CreateActivityLogVariables(userId: userId,date: date,hourStart: _hourStart,hourEnd: _hourEnd,totalhours: _totalhours,iconType: _iconType,iconColor: _iconColor,title: title,description: description,isRead: _isRead,activityType: activityType,); - return _dataConnect.mutation("createActivityLog", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateActivityLogActivityLogInsert { - final String id; - CreateActivityLogActivityLogInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateActivityLogActivityLogInsert otherTyped = other as CreateActivityLogActivityLogInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateActivityLogActivityLogInsert({ - required this.id, - }); -} - -@immutable -class CreateActivityLogData { - final CreateActivityLogActivityLogInsert activityLog_insert; - CreateActivityLogData.fromJson(dynamic json): - - activityLog_insert = CreateActivityLogActivityLogInsert.fromJson(json['activityLog_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateActivityLogData otherTyped = other as CreateActivityLogData; - return activityLog_insert == otherTyped.activityLog_insert; - - } - @override - int get hashCode => activityLog_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['activityLog_insert'] = activityLog_insert.toJson(); - return json; - } - - CreateActivityLogData({ - required this.activityLog_insert, - }); -} - -@immutable -class CreateActivityLogVariables { - final String userId; - final Timestamp date; - late final OptionalhourStart; - late final OptionalhourEnd; - late final Optionaltotalhours; - late final OptionaliconType; - late final OptionaliconColor; - final String title; - final String description; - late final OptionalisRead; - final ActivityType activityType; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateActivityLogVariables.fromJson(Map json): - - userId = nativeFromJson(json['userId']), - date = Timestamp.fromJson(json['date']), - title = nativeFromJson(json['title']), - description = nativeFromJson(json['description']), - activityType = ActivityType.values.byName(json['activityType']) { - - - - - hourStart = Optional.optional(nativeFromJson, nativeToJson); - hourStart.value = json['hourStart'] == null ? null : nativeFromJson(json['hourStart']); - - - hourEnd = Optional.optional(nativeFromJson, nativeToJson); - hourEnd.value = json['hourEnd'] == null ? null : nativeFromJson(json['hourEnd']); - - - totalhours = Optional.optional(nativeFromJson, nativeToJson); - totalhours.value = json['totalhours'] == null ? null : nativeFromJson(json['totalhours']); - - - iconType = Optional.optional((data) => ActivityIconType.values.byName(data), enumSerializer); - iconType.value = json['iconType'] == null ? null : ActivityIconType.values.byName(json['iconType']); - - - iconColor = Optional.optional(nativeFromJson, nativeToJson); - iconColor.value = json['iconColor'] == null ? null : nativeFromJson(json['iconColor']); - - - - - isRead = Optional.optional(nativeFromJson, nativeToJson); - isRead.value = json['isRead'] == null ? null : nativeFromJson(json['isRead']); - - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateActivityLogVariables otherTyped = other as CreateActivityLogVariables; - return userId == otherTyped.userId && - date == otherTyped.date && - hourStart == otherTyped.hourStart && - hourEnd == otherTyped.hourEnd && - totalhours == otherTyped.totalhours && - iconType == otherTyped.iconType && - iconColor == otherTyped.iconColor && - title == otherTyped.title && - description == otherTyped.description && - isRead == otherTyped.isRead && - activityType == otherTyped.activityType; - - } - @override - int get hashCode => Object.hashAll([userId.hashCode, date.hashCode, hourStart.hashCode, hourEnd.hashCode, totalhours.hashCode, iconType.hashCode, iconColor.hashCode, title.hashCode, description.hashCode, isRead.hashCode, activityType.hashCode]); - - - Map toJson() { - Map json = {}; - json['userId'] = nativeToJson(userId); - json['date'] = date.toJson(); - if(hourStart.state == OptionalState.set) { - json['hourStart'] = hourStart.toJson(); - } - if(hourEnd.state == OptionalState.set) { - json['hourEnd'] = hourEnd.toJson(); - } - if(totalhours.state == OptionalState.set) { - json['totalhours'] = totalhours.toJson(); - } - if(iconType.state == OptionalState.set) { - json['iconType'] = iconType.toJson(); - } - if(iconColor.state == OptionalState.set) { - json['iconColor'] = iconColor.toJson(); - } - json['title'] = nativeToJson(title); - json['description'] = nativeToJson(description); - if(isRead.state == OptionalState.set) { - json['isRead'] = isRead.toJson(); - } - json['activityType'] = - activityType.name - ; - return json; - } - - CreateActivityLogVariables({ - required this.userId, - required this.date, - required this.hourStart, - required this.hourEnd, - required this.totalhours, - required this.iconType, - required this.iconColor, - required this.title, - required this.description, - required this.isRead, - required this.activityType, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_application.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_application.dart deleted file mode 100644 index 8b4fd8f1..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_application.dart +++ /dev/null @@ -1,187 +0,0 @@ -part of 'generated.dart'; - -class CreateApplicationVariablesBuilder { - String shiftId; - String staffId; - ApplicationStatus status; - Optional _checkInTime = Optional.optional((json) => json['checkInTime'] = Timestamp.fromJson(json['checkInTime']), defaultSerializer); - Optional _checkOutTime = Optional.optional((json) => json['checkOutTime'] = Timestamp.fromJson(json['checkOutTime']), defaultSerializer); - ApplicationOrigin origin; - String roleId; - - final FirebaseDataConnect _dataConnect; CreateApplicationVariablesBuilder checkInTime(Timestamp? t) { - _checkInTime.value = t; - return this; - } - CreateApplicationVariablesBuilder checkOutTime(Timestamp? t) { - _checkOutTime.value = t; - return this; - } - - CreateApplicationVariablesBuilder(this._dataConnect, {required this.shiftId,required this.staffId,required this.status,required this.origin,required this.roleId,}); - Deserializer dataDeserializer = (dynamic json) => CreateApplicationData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateApplicationVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateApplicationVariables vars= CreateApplicationVariables(shiftId: shiftId,staffId: staffId,status: status,checkInTime: _checkInTime,checkOutTime: _checkOutTime,origin: origin,roleId: roleId,); - return _dataConnect.mutation("createApplication", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateApplicationApplicationInsert { - final String id; - CreateApplicationApplicationInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateApplicationApplicationInsert otherTyped = other as CreateApplicationApplicationInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateApplicationApplicationInsert({ - required this.id, - }); -} - -@immutable -class CreateApplicationData { - final CreateApplicationApplicationInsert application_insert; - CreateApplicationData.fromJson(dynamic json): - - application_insert = CreateApplicationApplicationInsert.fromJson(json['application_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateApplicationData otherTyped = other as CreateApplicationData; - return application_insert == otherTyped.application_insert; - - } - @override - int get hashCode => application_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['application_insert'] = application_insert.toJson(); - return json; - } - - CreateApplicationData({ - required this.application_insert, - }); -} - -@immutable -class CreateApplicationVariables { - final String shiftId; - final String staffId; - final ApplicationStatus status; - late final OptionalcheckInTime; - late final OptionalcheckOutTime; - final ApplicationOrigin origin; - final String roleId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateApplicationVariables.fromJson(Map json): - - shiftId = nativeFromJson(json['shiftId']), - staffId = nativeFromJson(json['staffId']), - status = ApplicationStatus.values.byName(json['status']), - origin = ApplicationOrigin.values.byName(json['origin']), - roleId = nativeFromJson(json['roleId']) { - - - - - - checkInTime = Optional.optional((json) => json['checkInTime'] = Timestamp.fromJson(json['checkInTime']), defaultSerializer); - checkInTime.value = json['checkInTime'] == null ? null : Timestamp.fromJson(json['checkInTime']); - - - checkOutTime = Optional.optional((json) => json['checkOutTime'] = Timestamp.fromJson(json['checkOutTime']), defaultSerializer); - checkOutTime.value = json['checkOutTime'] == null ? null : Timestamp.fromJson(json['checkOutTime']); - - - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateApplicationVariables otherTyped = other as CreateApplicationVariables; - return shiftId == otherTyped.shiftId && - staffId == otherTyped.staffId && - status == otherTyped.status && - checkInTime == otherTyped.checkInTime && - checkOutTime == otherTyped.checkOutTime && - origin == otherTyped.origin && - roleId == otherTyped.roleId; - - } - @override - int get hashCode => Object.hashAll([shiftId.hashCode, staffId.hashCode, status.hashCode, checkInTime.hashCode, checkOutTime.hashCode, origin.hashCode, roleId.hashCode]); - - - Map toJson() { - Map json = {}; - json['shiftId'] = nativeToJson(shiftId); - json['staffId'] = nativeToJson(staffId); - json['status'] = - status.name - ; - if(checkInTime.state == OptionalState.set) { - json['checkInTime'] = checkInTime.toJson(); - } - if(checkOutTime.state == OptionalState.set) { - json['checkOutTime'] = checkOutTime.toJson(); - } - json['origin'] = - origin.name - ; - json['roleId'] = nativeToJson(roleId); - return json; - } - - CreateApplicationVariables({ - required this.shiftId, - required this.staffId, - required this.status, - required this.checkInTime, - required this.checkOutTime, - required this.origin, - required this.roleId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_assignment.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_assignment.dart deleted file mode 100644 index b0417afb..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_assignment.dart +++ /dev/null @@ -1,291 +0,0 @@ -part of 'generated.dart'; - -class CreateAssignmentVariablesBuilder { - String workforceId; - Optional _title = Optional.optional(nativeFromJson, nativeToJson); - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - Optional _instructions = Optional.optional(nativeFromJson, nativeToJson); - Optional _status = Optional.optional((data) => AssignmentStatus.values.byName(data), enumSerializer); - Optional _tipsAvailable = Optional.optional(nativeFromJson, nativeToJson); - Optional _travelTime = Optional.optional(nativeFromJson, nativeToJson); - Optional _mealProvided = Optional.optional(nativeFromJson, nativeToJson); - Optional _parkingAvailable = Optional.optional(nativeFromJson, nativeToJson); - Optional _gasCompensation = Optional.optional(nativeFromJson, nativeToJson); - Optional> _managers = Optional.optional(listDeserializer(AnyValue.fromJson), listSerializer(defaultSerializer)); - String roleId; - String shiftId; - - final FirebaseDataConnect _dataConnect; CreateAssignmentVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - CreateAssignmentVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateAssignmentVariablesBuilder instructions(String? t) { - _instructions.value = t; - return this; - } - CreateAssignmentVariablesBuilder status(AssignmentStatus? t) { - _status.value = t; - return this; - } - CreateAssignmentVariablesBuilder tipsAvailable(bool? t) { - _tipsAvailable.value = t; - return this; - } - CreateAssignmentVariablesBuilder travelTime(bool? t) { - _travelTime.value = t; - return this; - } - CreateAssignmentVariablesBuilder mealProvided(bool? t) { - _mealProvided.value = t; - return this; - } - CreateAssignmentVariablesBuilder parkingAvailable(bool? t) { - _parkingAvailable.value = t; - return this; - } - CreateAssignmentVariablesBuilder gasCompensation(bool? t) { - _gasCompensation.value = t; - return this; - } - CreateAssignmentVariablesBuilder managers(List? t) { - _managers.value = t; - return this; - } - - CreateAssignmentVariablesBuilder(this._dataConnect, {required this.workforceId,required this.roleId,required this.shiftId,}); - Deserializer dataDeserializer = (dynamic json) => CreateAssignmentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateAssignmentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateAssignmentVariables vars= CreateAssignmentVariables(workforceId: workforceId,title: _title,description: _description,instructions: _instructions,status: _status,tipsAvailable: _tipsAvailable,travelTime: _travelTime,mealProvided: _mealProvided,parkingAvailable: _parkingAvailable,gasCompensation: _gasCompensation,managers: _managers,roleId: roleId,shiftId: shiftId,); - return _dataConnect.mutation("CreateAssignment", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateAssignmentAssignmentInsert { - final String id; - CreateAssignmentAssignmentInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateAssignmentAssignmentInsert otherTyped = other as CreateAssignmentAssignmentInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateAssignmentAssignmentInsert({ - required this.id, - }); -} - -@immutable -class CreateAssignmentData { - final CreateAssignmentAssignmentInsert assignment_insert; - CreateAssignmentData.fromJson(dynamic json): - - assignment_insert = CreateAssignmentAssignmentInsert.fromJson(json['assignment_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateAssignmentData otherTyped = other as CreateAssignmentData; - return assignment_insert == otherTyped.assignment_insert; - - } - @override - int get hashCode => assignment_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['assignment_insert'] = assignment_insert.toJson(); - return json; - } - - CreateAssignmentData({ - required this.assignment_insert, - }); -} - -@immutable -class CreateAssignmentVariables { - final String workforceId; - late final Optionaltitle; - late final Optionaldescription; - late final Optionalinstructions; - late final Optionalstatus; - late final OptionaltipsAvailable; - late final OptionaltravelTime; - late final OptionalmealProvided; - late final OptionalparkingAvailable; - late final OptionalgasCompensation; - late final Optional>managers; - final String roleId; - final String shiftId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateAssignmentVariables.fromJson(Map json): - - workforceId = nativeFromJson(json['workforceId']), - roleId = nativeFromJson(json['roleId']), - shiftId = nativeFromJson(json['shiftId']) { - - - - title = Optional.optional(nativeFromJson, nativeToJson); - title.value = json['title'] == null ? null : nativeFromJson(json['title']); - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - - instructions = Optional.optional(nativeFromJson, nativeToJson); - instructions.value = json['instructions'] == null ? null : nativeFromJson(json['instructions']); - - - status = Optional.optional((data) => AssignmentStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : AssignmentStatus.values.byName(json['status']); - - - tipsAvailable = Optional.optional(nativeFromJson, nativeToJson); - tipsAvailable.value = json['tipsAvailable'] == null ? null : nativeFromJson(json['tipsAvailable']); - - - travelTime = Optional.optional(nativeFromJson, nativeToJson); - travelTime.value = json['travelTime'] == null ? null : nativeFromJson(json['travelTime']); - - - mealProvided = Optional.optional(nativeFromJson, nativeToJson); - mealProvided.value = json['mealProvided'] == null ? null : nativeFromJson(json['mealProvided']); - - - parkingAvailable = Optional.optional(nativeFromJson, nativeToJson); - parkingAvailable.value = json['parkingAvailable'] == null ? null : nativeFromJson(json['parkingAvailable']); - - - gasCompensation = Optional.optional(nativeFromJson, nativeToJson); - gasCompensation.value = json['gasCompensation'] == null ? null : nativeFromJson(json['gasCompensation']); - - - managers = Optional.optional(listDeserializer(AnyValue.fromJson), listSerializer(defaultSerializer)); - managers.value = json['managers'] == null ? null : (json['managers'] as List) - .map((e) => AnyValue.fromJson(e)) - .toList(); - - - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateAssignmentVariables otherTyped = other as CreateAssignmentVariables; - return workforceId == otherTyped.workforceId && - title == otherTyped.title && - description == otherTyped.description && - instructions == otherTyped.instructions && - status == otherTyped.status && - tipsAvailable == otherTyped.tipsAvailable && - travelTime == otherTyped.travelTime && - mealProvided == otherTyped.mealProvided && - parkingAvailable == otherTyped.parkingAvailable && - gasCompensation == otherTyped.gasCompensation && - managers == otherTyped.managers && - roleId == otherTyped.roleId && - shiftId == otherTyped.shiftId; - - } - @override - int get hashCode => Object.hashAll([workforceId.hashCode, title.hashCode, description.hashCode, instructions.hashCode, status.hashCode, tipsAvailable.hashCode, travelTime.hashCode, mealProvided.hashCode, parkingAvailable.hashCode, gasCompensation.hashCode, managers.hashCode, roleId.hashCode, shiftId.hashCode]); - - - Map toJson() { - Map json = {}; - json['workforceId'] = nativeToJson(workforceId); - if(title.state == OptionalState.set) { - json['title'] = title.toJson(); - } - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - if(instructions.state == OptionalState.set) { - json['instructions'] = instructions.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(tipsAvailable.state == OptionalState.set) { - json['tipsAvailable'] = tipsAvailable.toJson(); - } - if(travelTime.state == OptionalState.set) { - json['travelTime'] = travelTime.toJson(); - } - if(mealProvided.state == OptionalState.set) { - json['mealProvided'] = mealProvided.toJson(); - } - if(parkingAvailable.state == OptionalState.set) { - json['parkingAvailable'] = parkingAvailable.toJson(); - } - if(gasCompensation.state == OptionalState.set) { - json['gasCompensation'] = gasCompensation.toJson(); - } - if(managers.state == OptionalState.set) { - json['managers'] = managers.toJson(); - } - json['roleId'] = nativeToJson(roleId); - json['shiftId'] = nativeToJson(shiftId); - return json; - } - - CreateAssignmentVariables({ - required this.workforceId, - required this.title, - required this.description, - required this.instructions, - required this.status, - required this.tipsAvailable, - required this.travelTime, - required this.mealProvided, - required this.parkingAvailable, - required this.gasCompensation, - required this.managers, - required this.roleId, - required this.shiftId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_attire_option.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_attire_option.dart deleted file mode 100644 index aaaa0b05..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_attire_option.dart +++ /dev/null @@ -1,192 +0,0 @@ -part of 'generated.dart'; - -class CreateAttireOptionVariablesBuilder { - String itemId; - String label; - Optional _icon = Optional.optional(nativeFromJson, nativeToJson); - Optional _imageUrl = Optional.optional(nativeFromJson, nativeToJson); - Optional _isMandatory = Optional.optional(nativeFromJson, nativeToJson); - Optional _vendorId = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateAttireOptionVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - CreateAttireOptionVariablesBuilder imageUrl(String? t) { - _imageUrl.value = t; - return this; - } - CreateAttireOptionVariablesBuilder isMandatory(bool? t) { - _isMandatory.value = t; - return this; - } - CreateAttireOptionVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - - CreateAttireOptionVariablesBuilder(this._dataConnect, {required this.itemId,required this.label,}); - Deserializer dataDeserializer = (dynamic json) => CreateAttireOptionData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateAttireOptionVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateAttireOptionVariables vars= CreateAttireOptionVariables(itemId: itemId,label: label,icon: _icon,imageUrl: _imageUrl,isMandatory: _isMandatory,vendorId: _vendorId,); - return _dataConnect.mutation("createAttireOption", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateAttireOptionAttireOptionInsert { - final String id; - CreateAttireOptionAttireOptionInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateAttireOptionAttireOptionInsert otherTyped = other as CreateAttireOptionAttireOptionInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateAttireOptionAttireOptionInsert({ - required this.id, - }); -} - -@immutable -class CreateAttireOptionData { - final CreateAttireOptionAttireOptionInsert attireOption_insert; - CreateAttireOptionData.fromJson(dynamic json): - - attireOption_insert = CreateAttireOptionAttireOptionInsert.fromJson(json['attireOption_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateAttireOptionData otherTyped = other as CreateAttireOptionData; - return attireOption_insert == otherTyped.attireOption_insert; - - } - @override - int get hashCode => attireOption_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['attireOption_insert'] = attireOption_insert.toJson(); - return json; - } - - CreateAttireOptionData({ - required this.attireOption_insert, - }); -} - -@immutable -class CreateAttireOptionVariables { - final String itemId; - final String label; - late final Optionalicon; - late final OptionalimageUrl; - late final OptionalisMandatory; - late final OptionalvendorId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateAttireOptionVariables.fromJson(Map json): - - itemId = nativeFromJson(json['itemId']), - label = nativeFromJson(json['label']) { - - - - - icon = Optional.optional(nativeFromJson, nativeToJson); - icon.value = json['icon'] == null ? null : nativeFromJson(json['icon']); - - - imageUrl = Optional.optional(nativeFromJson, nativeToJson); - imageUrl.value = json['imageUrl'] == null ? null : nativeFromJson(json['imageUrl']); - - - isMandatory = Optional.optional(nativeFromJson, nativeToJson); - isMandatory.value = json['isMandatory'] == null ? null : nativeFromJson(json['isMandatory']); - - - vendorId = Optional.optional(nativeFromJson, nativeToJson); - vendorId.value = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateAttireOptionVariables otherTyped = other as CreateAttireOptionVariables; - return itemId == otherTyped.itemId && - label == otherTyped.label && - icon == otherTyped.icon && - imageUrl == otherTyped.imageUrl && - isMandatory == otherTyped.isMandatory && - vendorId == otherTyped.vendorId; - - } - @override - int get hashCode => Object.hashAll([itemId.hashCode, label.hashCode, icon.hashCode, imageUrl.hashCode, isMandatory.hashCode, vendorId.hashCode]); - - - Map toJson() { - Map json = {}; - json['itemId'] = nativeToJson(itemId); - json['label'] = nativeToJson(label); - if(icon.state == OptionalState.set) { - json['icon'] = icon.toJson(); - } - if(imageUrl.state == OptionalState.set) { - json['imageUrl'] = imageUrl.toJson(); - } - if(isMandatory.state == OptionalState.set) { - json['isMandatory'] = isMandatory.toJson(); - } - if(vendorId.state == OptionalState.set) { - json['vendorId'] = vendorId.toJson(); - } - return json; - } - - CreateAttireOptionVariables({ - required this.itemId, - required this.label, - required this.icon, - required this.imageUrl, - required this.isMandatory, - required this.vendorId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_benefits_data.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_benefits_data.dart deleted file mode 100644 index 08e59038..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_benefits_data.dart +++ /dev/null @@ -1,139 +0,0 @@ -part of 'generated.dart'; - -class CreateBenefitsDataVariablesBuilder { - String vendorBenefitPlanId; - String staffId; - int current; - - final FirebaseDataConnect _dataConnect; - CreateBenefitsDataVariablesBuilder(this._dataConnect, {required this.vendorBenefitPlanId,required this.staffId,required this.current,}); - Deserializer dataDeserializer = (dynamic json) => CreateBenefitsDataData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateBenefitsDataVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateBenefitsDataVariables vars= CreateBenefitsDataVariables(vendorBenefitPlanId: vendorBenefitPlanId,staffId: staffId,current: current,); - return _dataConnect.mutation("createBenefitsData", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateBenefitsDataBenefitsDataInsert { - final String vendorBenefitPlanId; - final String staffId; - CreateBenefitsDataBenefitsDataInsert.fromJson(dynamic json): - - vendorBenefitPlanId = nativeFromJson(json['vendorBenefitPlanId']), - staffId = nativeFromJson(json['staffId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateBenefitsDataBenefitsDataInsert otherTyped = other as CreateBenefitsDataBenefitsDataInsert; - return vendorBenefitPlanId == otherTyped.vendorBenefitPlanId && - staffId == otherTyped.staffId; - - } - @override - int get hashCode => Object.hashAll([vendorBenefitPlanId.hashCode, staffId.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorBenefitPlanId'] = nativeToJson(vendorBenefitPlanId); - json['staffId'] = nativeToJson(staffId); - return json; - } - - CreateBenefitsDataBenefitsDataInsert({ - required this.vendorBenefitPlanId, - required this.staffId, - }); -} - -@immutable -class CreateBenefitsDataData { - final CreateBenefitsDataBenefitsDataInsert benefitsData_insert; - CreateBenefitsDataData.fromJson(dynamic json): - - benefitsData_insert = CreateBenefitsDataBenefitsDataInsert.fromJson(json['benefitsData_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateBenefitsDataData otherTyped = other as CreateBenefitsDataData; - return benefitsData_insert == otherTyped.benefitsData_insert; - - } - @override - int get hashCode => benefitsData_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['benefitsData_insert'] = benefitsData_insert.toJson(); - return json; - } - - CreateBenefitsDataData({ - required this.benefitsData_insert, - }); -} - -@immutable -class CreateBenefitsDataVariables { - final String vendorBenefitPlanId; - final String staffId; - final int current; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateBenefitsDataVariables.fromJson(Map json): - - vendorBenefitPlanId = nativeFromJson(json['vendorBenefitPlanId']), - staffId = nativeFromJson(json['staffId']), - current = nativeFromJson(json['current']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateBenefitsDataVariables otherTyped = other as CreateBenefitsDataVariables; - return vendorBenefitPlanId == otherTyped.vendorBenefitPlanId && - staffId == otherTyped.staffId && - current == otherTyped.current; - - } - @override - int get hashCode => Object.hashAll([vendorBenefitPlanId.hashCode, staffId.hashCode, current.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorBenefitPlanId'] = nativeToJson(vendorBenefitPlanId); - json['staffId'] = nativeToJson(staffId); - json['current'] = nativeToJson(current); - return json; - } - - CreateBenefitsDataVariables({ - required this.vendorBenefitPlanId, - required this.staffId, - required this.current, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_business.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_business.dart deleted file mode 100644 index 1deab447..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_business.dart +++ /dev/null @@ -1,300 +0,0 @@ -part of 'generated.dart'; - -class CreateBusinessVariablesBuilder { - String businessName; - Optional _contactName = Optional.optional(nativeFromJson, nativeToJson); - String userId; - Optional _companyLogoUrl = Optional.optional(nativeFromJson, nativeToJson); - Optional _phone = Optional.optional(nativeFromJson, nativeToJson); - Optional _email = Optional.optional(nativeFromJson, nativeToJson); - Optional _hubBuilding = Optional.optional(nativeFromJson, nativeToJson); - Optional _address = Optional.optional(nativeFromJson, nativeToJson); - Optional _city = Optional.optional(nativeFromJson, nativeToJson); - Optional _area = Optional.optional((data) => BusinessArea.values.byName(data), enumSerializer); - Optional _sector = Optional.optional((data) => BusinessSector.values.byName(data), enumSerializer); - BusinessRateGroup rateGroup; - BusinessStatus status; - Optional _notes = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateBusinessVariablesBuilder contactName(String? t) { - _contactName.value = t; - return this; - } - CreateBusinessVariablesBuilder companyLogoUrl(String? t) { - _companyLogoUrl.value = t; - return this; - } - CreateBusinessVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - CreateBusinessVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateBusinessVariablesBuilder hubBuilding(String? t) { - _hubBuilding.value = t; - return this; - } - CreateBusinessVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - CreateBusinessVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - CreateBusinessVariablesBuilder area(BusinessArea? t) { - _area.value = t; - return this; - } - CreateBusinessVariablesBuilder sector(BusinessSector? t) { - _sector.value = t; - return this; - } - CreateBusinessVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - CreateBusinessVariablesBuilder(this._dataConnect, {required this.businessName,required this.userId,required this.rateGroup,required this.status,}); - Deserializer dataDeserializer = (dynamic json) => CreateBusinessData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateBusinessVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateBusinessVariables vars= CreateBusinessVariables(businessName: businessName,contactName: _contactName,userId: userId,companyLogoUrl: _companyLogoUrl,phone: _phone,email: _email,hubBuilding: _hubBuilding,address: _address,city: _city,area: _area,sector: _sector,rateGroup: rateGroup,status: status,notes: _notes,); - return _dataConnect.mutation("createBusiness", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateBusinessBusinessInsert { - final String id; - CreateBusinessBusinessInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateBusinessBusinessInsert otherTyped = other as CreateBusinessBusinessInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateBusinessBusinessInsert({ - required this.id, - }); -} - -@immutable -class CreateBusinessData { - final CreateBusinessBusinessInsert business_insert; - CreateBusinessData.fromJson(dynamic json): - - business_insert = CreateBusinessBusinessInsert.fromJson(json['business_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateBusinessData otherTyped = other as CreateBusinessData; - return business_insert == otherTyped.business_insert; - - } - @override - int get hashCode => business_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['business_insert'] = business_insert.toJson(); - return json; - } - - CreateBusinessData({ - required this.business_insert, - }); -} - -@immutable -class CreateBusinessVariables { - final String businessName; - late final OptionalcontactName; - final String userId; - late final OptionalcompanyLogoUrl; - late final Optionalphone; - late final Optionalemail; - late final OptionalhubBuilding; - late final Optionaladdress; - late final Optionalcity; - late final Optionalarea; - late final Optionalsector; - final BusinessRateGroup rateGroup; - final BusinessStatus status; - late final Optionalnotes; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateBusinessVariables.fromJson(Map json): - - businessName = nativeFromJson(json['businessName']), - userId = nativeFromJson(json['userId']), - rateGroup = BusinessRateGroup.values.byName(json['rateGroup']), - status = BusinessStatus.values.byName(json['status']) { - - - - contactName = Optional.optional(nativeFromJson, nativeToJson); - contactName.value = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - - - - companyLogoUrl = Optional.optional(nativeFromJson, nativeToJson); - companyLogoUrl.value = json['companyLogoUrl'] == null ? null : nativeFromJson(json['companyLogoUrl']); - - - phone = Optional.optional(nativeFromJson, nativeToJson); - phone.value = json['phone'] == null ? null : nativeFromJson(json['phone']); - - - email = Optional.optional(nativeFromJson, nativeToJson); - email.value = json['email'] == null ? null : nativeFromJson(json['email']); - - - hubBuilding = Optional.optional(nativeFromJson, nativeToJson); - hubBuilding.value = json['hubBuilding'] == null ? null : nativeFromJson(json['hubBuilding']); - - - address = Optional.optional(nativeFromJson, nativeToJson); - address.value = json['address'] == null ? null : nativeFromJson(json['address']); - - - city = Optional.optional(nativeFromJson, nativeToJson); - city.value = json['city'] == null ? null : nativeFromJson(json['city']); - - - area = Optional.optional((data) => BusinessArea.values.byName(data), enumSerializer); - area.value = json['area'] == null ? null : BusinessArea.values.byName(json['area']); - - - sector = Optional.optional((data) => BusinessSector.values.byName(data), enumSerializer); - sector.value = json['sector'] == null ? null : BusinessSector.values.byName(json['sector']); - - - - - notes = Optional.optional(nativeFromJson, nativeToJson); - notes.value = json['notes'] == null ? null : nativeFromJson(json['notes']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateBusinessVariables otherTyped = other as CreateBusinessVariables; - return businessName == otherTyped.businessName && - contactName == otherTyped.contactName && - userId == otherTyped.userId && - companyLogoUrl == otherTyped.companyLogoUrl && - phone == otherTyped.phone && - email == otherTyped.email && - hubBuilding == otherTyped.hubBuilding && - address == otherTyped.address && - city == otherTyped.city && - area == otherTyped.area && - sector == otherTyped.sector && - rateGroup == otherTyped.rateGroup && - status == otherTyped.status && - notes == otherTyped.notes; - - } - @override - int get hashCode => Object.hashAll([businessName.hashCode, contactName.hashCode, userId.hashCode, companyLogoUrl.hashCode, phone.hashCode, email.hashCode, hubBuilding.hashCode, address.hashCode, city.hashCode, area.hashCode, sector.hashCode, rateGroup.hashCode, status.hashCode, notes.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessName'] = nativeToJson(businessName); - if(contactName.state == OptionalState.set) { - json['contactName'] = contactName.toJson(); - } - json['userId'] = nativeToJson(userId); - if(companyLogoUrl.state == OptionalState.set) { - json['companyLogoUrl'] = companyLogoUrl.toJson(); - } - if(phone.state == OptionalState.set) { - json['phone'] = phone.toJson(); - } - if(email.state == OptionalState.set) { - json['email'] = email.toJson(); - } - if(hubBuilding.state == OptionalState.set) { - json['hubBuilding'] = hubBuilding.toJson(); - } - if(address.state == OptionalState.set) { - json['address'] = address.toJson(); - } - if(city.state == OptionalState.set) { - json['city'] = city.toJson(); - } - if(area.state == OptionalState.set) { - json['area'] = area.toJson(); - } - if(sector.state == OptionalState.set) { - json['sector'] = sector.toJson(); - } - json['rateGroup'] = - rateGroup.name - ; - json['status'] = - status.name - ; - if(notes.state == OptionalState.set) { - json['notes'] = notes.toJson(); - } - return json; - } - - CreateBusinessVariables({ - required this.businessName, - required this.contactName, - required this.userId, - required this.companyLogoUrl, - required this.phone, - required this.email, - required this.hubBuilding, - required this.address, - required this.city, - required this.area, - required this.sector, - required this.rateGroup, - required this.status, - required this.notes, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_category.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_category.dart deleted file mode 100644 index 407400a5..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_category.dart +++ /dev/null @@ -1,147 +0,0 @@ -part of 'generated.dart'; - -class CreateCategoryVariablesBuilder { - String categoryId; - String label; - Optional _icon = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateCategoryVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - - CreateCategoryVariablesBuilder(this._dataConnect, {required this.categoryId,required this.label,}); - Deserializer dataDeserializer = (dynamic json) => CreateCategoryData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateCategoryVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateCategoryVariables vars= CreateCategoryVariables(categoryId: categoryId,label: label,icon: _icon,); - return _dataConnect.mutation("createCategory", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateCategoryCategoryInsert { - final String id; - CreateCategoryCategoryInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateCategoryCategoryInsert otherTyped = other as CreateCategoryCategoryInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateCategoryCategoryInsert({ - required this.id, - }); -} - -@immutable -class CreateCategoryData { - final CreateCategoryCategoryInsert category_insert; - CreateCategoryData.fromJson(dynamic json): - - category_insert = CreateCategoryCategoryInsert.fromJson(json['category_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateCategoryData otherTyped = other as CreateCategoryData; - return category_insert == otherTyped.category_insert; - - } - @override - int get hashCode => category_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['category_insert'] = category_insert.toJson(); - return json; - } - - CreateCategoryData({ - required this.category_insert, - }); -} - -@immutable -class CreateCategoryVariables { - final String categoryId; - final String label; - late final Optionalicon; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateCategoryVariables.fromJson(Map json): - - categoryId = nativeFromJson(json['categoryId']), - label = nativeFromJson(json['label']) { - - - - - icon = Optional.optional(nativeFromJson, nativeToJson); - icon.value = json['icon'] == null ? null : nativeFromJson(json['icon']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateCategoryVariables otherTyped = other as CreateCategoryVariables; - return categoryId == otherTyped.categoryId && - label == otherTyped.label && - icon == otherTyped.icon; - - } - @override - int get hashCode => Object.hashAll([categoryId.hashCode, label.hashCode, icon.hashCode]); - - - Map toJson() { - Map json = {}; - json['categoryId'] = nativeToJson(categoryId); - json['label'] = nativeToJson(label); - if(icon.state == OptionalState.set) { - json['icon'] = icon.toJson(); - } - return json; - } - - CreateCategoryVariables({ - required this.categoryId, - required this.label, - required this.icon, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_certificate.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_certificate.dart deleted file mode 100644 index 0d6b45e2..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_certificate.dart +++ /dev/null @@ -1,261 +0,0 @@ -part of 'generated.dart'; - -class CreateCertificateVariablesBuilder { - String name; - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - Optional _expiry = Optional.optional((json) => json['expiry'] = Timestamp.fromJson(json['expiry']), defaultSerializer); - CertificateStatus status; - Optional _fileUrl = Optional.optional(nativeFromJson, nativeToJson); - Optional _icon = Optional.optional(nativeFromJson, nativeToJson); - Optional _certificationType = Optional.optional((data) => ComplianceType.values.byName(data), enumSerializer); - Optional _issuer = Optional.optional(nativeFromJson, nativeToJson); - String staffId; - Optional _validationStatus = Optional.optional((data) => ValidationStatus.values.byName(data), enumSerializer); - Optional _certificateNumber = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateCertificateVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateCertificateVariablesBuilder expiry(Timestamp? t) { - _expiry.value = t; - return this; - } - CreateCertificateVariablesBuilder fileUrl(String? t) { - _fileUrl.value = t; - return this; - } - CreateCertificateVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - CreateCertificateVariablesBuilder certificationType(ComplianceType? t) { - _certificationType.value = t; - return this; - } - CreateCertificateVariablesBuilder issuer(String? t) { - _issuer.value = t; - return this; - } - CreateCertificateVariablesBuilder validationStatus(ValidationStatus? t) { - _validationStatus.value = t; - return this; - } - CreateCertificateVariablesBuilder certificateNumber(String? t) { - _certificateNumber.value = t; - return this; - } - - CreateCertificateVariablesBuilder(this._dataConnect, {required this.name,required this.status,required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => CreateCertificateData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateCertificateVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateCertificateVariables vars= CreateCertificateVariables(name: name,description: _description,expiry: _expiry,status: status,fileUrl: _fileUrl,icon: _icon,certificationType: _certificationType,issuer: _issuer,staffId: staffId,validationStatus: _validationStatus,certificateNumber: _certificateNumber,); - return _dataConnect.mutation("CreateCertificate", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateCertificateCertificateInsert { - final String id; - CreateCertificateCertificateInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateCertificateCertificateInsert otherTyped = other as CreateCertificateCertificateInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateCertificateCertificateInsert({ - required this.id, - }); -} - -@immutable -class CreateCertificateData { - final CreateCertificateCertificateInsert certificate_insert; - CreateCertificateData.fromJson(dynamic json): - - certificate_insert = CreateCertificateCertificateInsert.fromJson(json['certificate_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateCertificateData otherTyped = other as CreateCertificateData; - return certificate_insert == otherTyped.certificate_insert; - - } - @override - int get hashCode => certificate_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['certificate_insert'] = certificate_insert.toJson(); - return json; - } - - CreateCertificateData({ - required this.certificate_insert, - }); -} - -@immutable -class CreateCertificateVariables { - final String name; - late final Optionaldescription; - late final Optionalexpiry; - final CertificateStatus status; - late final OptionalfileUrl; - late final Optionalicon; - late final OptionalcertificationType; - late final Optionalissuer; - final String staffId; - late final OptionalvalidationStatus; - late final OptionalcertificateNumber; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateCertificateVariables.fromJson(Map json): - - name = nativeFromJson(json['name']), - status = CertificateStatus.values.byName(json['status']), - staffId = nativeFromJson(json['staffId']) { - - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - - expiry = Optional.optional((json) => json['expiry'] = Timestamp.fromJson(json['expiry']), defaultSerializer); - expiry.value = json['expiry'] == null ? null : Timestamp.fromJson(json['expiry']); - - - - fileUrl = Optional.optional(nativeFromJson, nativeToJson); - fileUrl.value = json['fileUrl'] == null ? null : nativeFromJson(json['fileUrl']); - - - icon = Optional.optional(nativeFromJson, nativeToJson); - icon.value = json['icon'] == null ? null : nativeFromJson(json['icon']); - - - certificationType = Optional.optional((data) => ComplianceType.values.byName(data), enumSerializer); - certificationType.value = json['certificationType'] == null ? null : ComplianceType.values.byName(json['certificationType']); - - - issuer = Optional.optional(nativeFromJson, nativeToJson); - issuer.value = json['issuer'] == null ? null : nativeFromJson(json['issuer']); - - - - validationStatus = Optional.optional((data) => ValidationStatus.values.byName(data), enumSerializer); - validationStatus.value = json['validationStatus'] == null ? null : ValidationStatus.values.byName(json['validationStatus']); - - - certificateNumber = Optional.optional(nativeFromJson, nativeToJson); - certificateNumber.value = json['certificateNumber'] == null ? null : nativeFromJson(json['certificateNumber']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateCertificateVariables otherTyped = other as CreateCertificateVariables; - return name == otherTyped.name && - description == otherTyped.description && - expiry == otherTyped.expiry && - status == otherTyped.status && - fileUrl == otherTyped.fileUrl && - icon == otherTyped.icon && - certificationType == otherTyped.certificationType && - issuer == otherTyped.issuer && - staffId == otherTyped.staffId && - validationStatus == otherTyped.validationStatus && - certificateNumber == otherTyped.certificateNumber; - - } - @override - int get hashCode => Object.hashAll([name.hashCode, description.hashCode, expiry.hashCode, status.hashCode, fileUrl.hashCode, icon.hashCode, certificationType.hashCode, issuer.hashCode, staffId.hashCode, validationStatus.hashCode, certificateNumber.hashCode]); - - - Map toJson() { - Map json = {}; - json['name'] = nativeToJson(name); - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - if(expiry.state == OptionalState.set) { - json['expiry'] = expiry.toJson(); - } - json['status'] = - status.name - ; - if(fileUrl.state == OptionalState.set) { - json['fileUrl'] = fileUrl.toJson(); - } - if(icon.state == OptionalState.set) { - json['icon'] = icon.toJson(); - } - if(certificationType.state == OptionalState.set) { - json['certificationType'] = certificationType.toJson(); - } - if(issuer.state == OptionalState.set) { - json['issuer'] = issuer.toJson(); - } - json['staffId'] = nativeToJson(staffId); - if(validationStatus.state == OptionalState.set) { - json['validationStatus'] = validationStatus.toJson(); - } - if(certificateNumber.state == OptionalState.set) { - json['certificateNumber'] = certificateNumber.toJson(); - } - return json; - } - - CreateCertificateVariables({ - required this.name, - required this.description, - required this.expiry, - required this.status, - required this.fileUrl, - required this.icon, - required this.certificationType, - required this.issuer, - required this.staffId, - required this.validationStatus, - required this.certificateNumber, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_client_feedback.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_client_feedback.dart deleted file mode 100644 index 407a98ae..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_client_feedback.dart +++ /dev/null @@ -1,192 +0,0 @@ -part of 'generated.dart'; - -class CreateClientFeedbackVariablesBuilder { - String businessId; - String vendorId; - Optional _rating = Optional.optional(nativeFromJson, nativeToJson); - Optional _comment = Optional.optional(nativeFromJson, nativeToJson); - Optional _date = Optional.optional((json) => json['date'] = Timestamp.fromJson(json['date']), defaultSerializer); - Optional _createdBy = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateClientFeedbackVariablesBuilder rating(int? t) { - _rating.value = t; - return this; - } - CreateClientFeedbackVariablesBuilder comment(String? t) { - _comment.value = t; - return this; - } - CreateClientFeedbackVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - CreateClientFeedbackVariablesBuilder createdBy(String? t) { - _createdBy.value = t; - return this; - } - - CreateClientFeedbackVariablesBuilder(this._dataConnect, {required this.businessId,required this.vendorId,}); - Deserializer dataDeserializer = (dynamic json) => CreateClientFeedbackData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateClientFeedbackVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateClientFeedbackVariables vars= CreateClientFeedbackVariables(businessId: businessId,vendorId: vendorId,rating: _rating,comment: _comment,date: _date,createdBy: _createdBy,); - return _dataConnect.mutation("createClientFeedback", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateClientFeedbackClientFeedbackInsert { - final String id; - CreateClientFeedbackClientFeedbackInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateClientFeedbackClientFeedbackInsert otherTyped = other as CreateClientFeedbackClientFeedbackInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateClientFeedbackClientFeedbackInsert({ - required this.id, - }); -} - -@immutable -class CreateClientFeedbackData { - final CreateClientFeedbackClientFeedbackInsert clientFeedback_insert; - CreateClientFeedbackData.fromJson(dynamic json): - - clientFeedback_insert = CreateClientFeedbackClientFeedbackInsert.fromJson(json['clientFeedback_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateClientFeedbackData otherTyped = other as CreateClientFeedbackData; - return clientFeedback_insert == otherTyped.clientFeedback_insert; - - } - @override - int get hashCode => clientFeedback_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['clientFeedback_insert'] = clientFeedback_insert.toJson(); - return json; - } - - CreateClientFeedbackData({ - required this.clientFeedback_insert, - }); -} - -@immutable -class CreateClientFeedbackVariables { - final String businessId; - final String vendorId; - late final Optionalrating; - late final Optionalcomment; - late final Optionaldate; - late final OptionalcreatedBy; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateClientFeedbackVariables.fromJson(Map json): - - businessId = nativeFromJson(json['businessId']), - vendorId = nativeFromJson(json['vendorId']) { - - - - - rating = Optional.optional(nativeFromJson, nativeToJson); - rating.value = json['rating'] == null ? null : nativeFromJson(json['rating']); - - - comment = Optional.optional(nativeFromJson, nativeToJson); - comment.value = json['comment'] == null ? null : nativeFromJson(json['comment']); - - - date = Optional.optional((json) => json['date'] = Timestamp.fromJson(json['date']), defaultSerializer); - date.value = json['date'] == null ? null : Timestamp.fromJson(json['date']); - - - createdBy = Optional.optional(nativeFromJson, nativeToJson); - createdBy.value = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateClientFeedbackVariables otherTyped = other as CreateClientFeedbackVariables; - return businessId == otherTyped.businessId && - vendorId == otherTyped.vendorId && - rating == otherTyped.rating && - comment == otherTyped.comment && - date == otherTyped.date && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([businessId.hashCode, vendorId.hashCode, rating.hashCode, comment.hashCode, date.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessId'] = nativeToJson(businessId); - json['vendorId'] = nativeToJson(vendorId); - if(rating.state == OptionalState.set) { - json['rating'] = rating.toJson(); - } - if(comment.state == OptionalState.set) { - json['comment'] = comment.toJson(); - } - if(date.state == OptionalState.set) { - json['date'] = date.toJson(); - } - if(createdBy.state == OptionalState.set) { - json['createdBy'] = createdBy.toJson(); - } - return json; - } - - CreateClientFeedbackVariables({ - required this.businessId, - required this.vendorId, - required this.rating, - required this.comment, - required this.date, - required this.createdBy, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_conversation.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_conversation.dart deleted file mode 100644 index edbdbfbd..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_conversation.dart +++ /dev/null @@ -1,223 +0,0 @@ -part of 'generated.dart'; - -class CreateConversationVariablesBuilder { - Optional _subject = Optional.optional(nativeFromJson, nativeToJson); - Optional _status = Optional.optional((data) => ConversationStatus.values.byName(data), enumSerializer); - Optional _conversationType = Optional.optional((data) => ConversationType.values.byName(data), enumSerializer); - Optional _isGroup = Optional.optional(nativeFromJson, nativeToJson); - Optional _groupName = Optional.optional(nativeFromJson, nativeToJson); - Optional _lastMessage = Optional.optional(nativeFromJson, nativeToJson); - Optional _lastMessageAt = Optional.optional((json) => json['lastMessageAt'] = Timestamp.fromJson(json['lastMessageAt']), defaultSerializer); - - final FirebaseDataConnect _dataConnect; - CreateConversationVariablesBuilder subject(String? t) { - _subject.value = t; - return this; - } - CreateConversationVariablesBuilder status(ConversationStatus? t) { - _status.value = t; - return this; - } - CreateConversationVariablesBuilder conversationType(ConversationType? t) { - _conversationType.value = t; - return this; - } - CreateConversationVariablesBuilder isGroup(bool? t) { - _isGroup.value = t; - return this; - } - CreateConversationVariablesBuilder groupName(String? t) { - _groupName.value = t; - return this; - } - CreateConversationVariablesBuilder lastMessage(String? t) { - _lastMessage.value = t; - return this; - } - CreateConversationVariablesBuilder lastMessageAt(Timestamp? t) { - _lastMessageAt.value = t; - return this; - } - - CreateConversationVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => CreateConversationData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateConversationVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateConversationVariables vars= CreateConversationVariables(subject: _subject,status: _status,conversationType: _conversationType,isGroup: _isGroup,groupName: _groupName,lastMessage: _lastMessage,lastMessageAt: _lastMessageAt,); - return _dataConnect.mutation("createConversation", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateConversationConversationInsert { - final String id; - CreateConversationConversationInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateConversationConversationInsert otherTyped = other as CreateConversationConversationInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateConversationConversationInsert({ - required this.id, - }); -} - -@immutable -class CreateConversationData { - final CreateConversationConversationInsert conversation_insert; - CreateConversationData.fromJson(dynamic json): - - conversation_insert = CreateConversationConversationInsert.fromJson(json['conversation_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateConversationData otherTyped = other as CreateConversationData; - return conversation_insert == otherTyped.conversation_insert; - - } - @override - int get hashCode => conversation_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['conversation_insert'] = conversation_insert.toJson(); - return json; - } - - CreateConversationData({ - required this.conversation_insert, - }); -} - -@immutable -class CreateConversationVariables { - late final Optionalsubject; - late final Optionalstatus; - late final OptionalconversationType; - late final OptionalisGroup; - late final OptionalgroupName; - late final OptionallastMessage; - late final OptionallastMessageAt; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateConversationVariables.fromJson(Map json) { - - - subject = Optional.optional(nativeFromJson, nativeToJson); - subject.value = json['subject'] == null ? null : nativeFromJson(json['subject']); - - - status = Optional.optional((data) => ConversationStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : ConversationStatus.values.byName(json['status']); - - - conversationType = Optional.optional((data) => ConversationType.values.byName(data), enumSerializer); - conversationType.value = json['conversationType'] == null ? null : ConversationType.values.byName(json['conversationType']); - - - isGroup = Optional.optional(nativeFromJson, nativeToJson); - isGroup.value = json['isGroup'] == null ? null : nativeFromJson(json['isGroup']); - - - groupName = Optional.optional(nativeFromJson, nativeToJson); - groupName.value = json['groupName'] == null ? null : nativeFromJson(json['groupName']); - - - lastMessage = Optional.optional(nativeFromJson, nativeToJson); - lastMessage.value = json['lastMessage'] == null ? null : nativeFromJson(json['lastMessage']); - - - lastMessageAt = Optional.optional((json) => json['lastMessageAt'] = Timestamp.fromJson(json['lastMessageAt']), defaultSerializer); - lastMessageAt.value = json['lastMessageAt'] == null ? null : Timestamp.fromJson(json['lastMessageAt']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateConversationVariables otherTyped = other as CreateConversationVariables; - return subject == otherTyped.subject && - status == otherTyped.status && - conversationType == otherTyped.conversationType && - isGroup == otherTyped.isGroup && - groupName == otherTyped.groupName && - lastMessage == otherTyped.lastMessage && - lastMessageAt == otherTyped.lastMessageAt; - - } - @override - int get hashCode => Object.hashAll([subject.hashCode, status.hashCode, conversationType.hashCode, isGroup.hashCode, groupName.hashCode, lastMessage.hashCode, lastMessageAt.hashCode]); - - - Map toJson() { - Map json = {}; - if(subject.state == OptionalState.set) { - json['subject'] = subject.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(conversationType.state == OptionalState.set) { - json['conversationType'] = conversationType.toJson(); - } - if(isGroup.state == OptionalState.set) { - json['isGroup'] = isGroup.toJson(); - } - if(groupName.state == OptionalState.set) { - json['groupName'] = groupName.toJson(); - } - if(lastMessage.state == OptionalState.set) { - json['lastMessage'] = lastMessage.toJson(); - } - if(lastMessageAt.state == OptionalState.set) { - json['lastMessageAt'] = lastMessageAt.toJson(); - } - return json; - } - - CreateConversationVariables({ - required this.subject, - required this.status, - required this.conversationType, - required this.isGroup, - required this.groupName, - required this.lastMessage, - required this.lastMessageAt, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_course.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_course.dart deleted file mode 100644 index 40892dad..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_course.dart +++ /dev/null @@ -1,231 +0,0 @@ -part of 'generated.dart'; - -class CreateCourseVariablesBuilder { - Optional _title = Optional.optional(nativeFromJson, nativeToJson); - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - Optional _thumbnailUrl = Optional.optional(nativeFromJson, nativeToJson); - Optional _durationMinutes = Optional.optional(nativeFromJson, nativeToJson); - Optional _xpReward = Optional.optional(nativeFromJson, nativeToJson); - String categoryId; - Optional _levelRequired = Optional.optional(nativeFromJson, nativeToJson); - Optional _isCertification = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - CreateCourseVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - CreateCourseVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateCourseVariablesBuilder thumbnailUrl(String? t) { - _thumbnailUrl.value = t; - return this; - } - CreateCourseVariablesBuilder durationMinutes(int? t) { - _durationMinutes.value = t; - return this; - } - CreateCourseVariablesBuilder xpReward(int? t) { - _xpReward.value = t; - return this; - } - CreateCourseVariablesBuilder levelRequired(String? t) { - _levelRequired.value = t; - return this; - } - CreateCourseVariablesBuilder isCertification(bool? t) { - _isCertification.value = t; - return this; - } - - CreateCourseVariablesBuilder(this._dataConnect, {required this.categoryId,}); - Deserializer dataDeserializer = (dynamic json) => CreateCourseData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateCourseVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateCourseVariables vars= CreateCourseVariables(title: _title,description: _description,thumbnailUrl: _thumbnailUrl,durationMinutes: _durationMinutes,xpReward: _xpReward,categoryId: categoryId,levelRequired: _levelRequired,isCertification: _isCertification,); - return _dataConnect.mutation("createCourse", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateCourseCourseInsert { - final String id; - CreateCourseCourseInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateCourseCourseInsert otherTyped = other as CreateCourseCourseInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateCourseCourseInsert({ - required this.id, - }); -} - -@immutable -class CreateCourseData { - final CreateCourseCourseInsert course_insert; - CreateCourseData.fromJson(dynamic json): - - course_insert = CreateCourseCourseInsert.fromJson(json['course_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateCourseData otherTyped = other as CreateCourseData; - return course_insert == otherTyped.course_insert; - - } - @override - int get hashCode => course_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['course_insert'] = course_insert.toJson(); - return json; - } - - CreateCourseData({ - required this.course_insert, - }); -} - -@immutable -class CreateCourseVariables { - late final Optionaltitle; - late final Optionaldescription; - late final OptionalthumbnailUrl; - late final OptionaldurationMinutes; - late final OptionalxpReward; - final String categoryId; - late final OptionallevelRequired; - late final OptionalisCertification; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateCourseVariables.fromJson(Map json): - - categoryId = nativeFromJson(json['categoryId']) { - - - title = Optional.optional(nativeFromJson, nativeToJson); - title.value = json['title'] == null ? null : nativeFromJson(json['title']); - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - - thumbnailUrl = Optional.optional(nativeFromJson, nativeToJson); - thumbnailUrl.value = json['thumbnailUrl'] == null ? null : nativeFromJson(json['thumbnailUrl']); - - - durationMinutes = Optional.optional(nativeFromJson, nativeToJson); - durationMinutes.value = json['durationMinutes'] == null ? null : nativeFromJson(json['durationMinutes']); - - - xpReward = Optional.optional(nativeFromJson, nativeToJson); - xpReward.value = json['xpReward'] == null ? null : nativeFromJson(json['xpReward']); - - - - levelRequired = Optional.optional(nativeFromJson, nativeToJson); - levelRequired.value = json['levelRequired'] == null ? null : nativeFromJson(json['levelRequired']); - - - isCertification = Optional.optional(nativeFromJson, nativeToJson); - isCertification.value = json['isCertification'] == null ? null : nativeFromJson(json['isCertification']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateCourseVariables otherTyped = other as CreateCourseVariables; - return title == otherTyped.title && - description == otherTyped.description && - thumbnailUrl == otherTyped.thumbnailUrl && - durationMinutes == otherTyped.durationMinutes && - xpReward == otherTyped.xpReward && - categoryId == otherTyped.categoryId && - levelRequired == otherTyped.levelRequired && - isCertification == otherTyped.isCertification; - - } - @override - int get hashCode => Object.hashAll([title.hashCode, description.hashCode, thumbnailUrl.hashCode, durationMinutes.hashCode, xpReward.hashCode, categoryId.hashCode, levelRequired.hashCode, isCertification.hashCode]); - - - Map toJson() { - Map json = {}; - if(title.state == OptionalState.set) { - json['title'] = title.toJson(); - } - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - if(thumbnailUrl.state == OptionalState.set) { - json['thumbnailUrl'] = thumbnailUrl.toJson(); - } - if(durationMinutes.state == OptionalState.set) { - json['durationMinutes'] = durationMinutes.toJson(); - } - if(xpReward.state == OptionalState.set) { - json['xpReward'] = xpReward.toJson(); - } - json['categoryId'] = nativeToJson(categoryId); - if(levelRequired.state == OptionalState.set) { - json['levelRequired'] = levelRequired.toJson(); - } - if(isCertification.state == OptionalState.set) { - json['isCertification'] = isCertification.toJson(); - } - return json; - } - - CreateCourseVariables({ - required this.title, - required this.description, - required this.thumbnailUrl, - required this.durationMinutes, - required this.xpReward, - required this.categoryId, - required this.levelRequired, - required this.isCertification, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_custom_rate_card.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_custom_rate_card.dart deleted file mode 100644 index 28ac8eb7..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_custom_rate_card.dart +++ /dev/null @@ -1,170 +0,0 @@ -part of 'generated.dart'; - -class CreateCustomRateCardVariablesBuilder { - String name; - Optional _baseBook = Optional.optional(nativeFromJson, nativeToJson); - Optional _discount = Optional.optional(nativeFromJson, nativeToJson); - Optional _isDefault = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateCustomRateCardVariablesBuilder baseBook(String? t) { - _baseBook.value = t; - return this; - } - CreateCustomRateCardVariablesBuilder discount(double? t) { - _discount.value = t; - return this; - } - CreateCustomRateCardVariablesBuilder isDefault(bool? t) { - _isDefault.value = t; - return this; - } - - CreateCustomRateCardVariablesBuilder(this._dataConnect, {required this.name,}); - Deserializer dataDeserializer = (dynamic json) => CreateCustomRateCardData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateCustomRateCardVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateCustomRateCardVariables vars= CreateCustomRateCardVariables(name: name,baseBook: _baseBook,discount: _discount,isDefault: _isDefault,); - return _dataConnect.mutation("createCustomRateCard", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateCustomRateCardCustomRateCardInsert { - final String id; - CreateCustomRateCardCustomRateCardInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateCustomRateCardCustomRateCardInsert otherTyped = other as CreateCustomRateCardCustomRateCardInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateCustomRateCardCustomRateCardInsert({ - required this.id, - }); -} - -@immutable -class CreateCustomRateCardData { - final CreateCustomRateCardCustomRateCardInsert customRateCard_insert; - CreateCustomRateCardData.fromJson(dynamic json): - - customRateCard_insert = CreateCustomRateCardCustomRateCardInsert.fromJson(json['customRateCard_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateCustomRateCardData otherTyped = other as CreateCustomRateCardData; - return customRateCard_insert == otherTyped.customRateCard_insert; - - } - @override - int get hashCode => customRateCard_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['customRateCard_insert'] = customRateCard_insert.toJson(); - return json; - } - - CreateCustomRateCardData({ - required this.customRateCard_insert, - }); -} - -@immutable -class CreateCustomRateCardVariables { - final String name; - late final OptionalbaseBook; - late final Optionaldiscount; - late final OptionalisDefault; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateCustomRateCardVariables.fromJson(Map json): - - name = nativeFromJson(json['name']) { - - - - baseBook = Optional.optional(nativeFromJson, nativeToJson); - baseBook.value = json['baseBook'] == null ? null : nativeFromJson(json['baseBook']); - - - discount = Optional.optional(nativeFromJson, nativeToJson); - discount.value = json['discount'] == null ? null : nativeFromJson(json['discount']); - - - isDefault = Optional.optional(nativeFromJson, nativeToJson); - isDefault.value = json['isDefault'] == null ? null : nativeFromJson(json['isDefault']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateCustomRateCardVariables otherTyped = other as CreateCustomRateCardVariables; - return name == otherTyped.name && - baseBook == otherTyped.baseBook && - discount == otherTyped.discount && - isDefault == otherTyped.isDefault; - - } - @override - int get hashCode => Object.hashAll([name.hashCode, baseBook.hashCode, discount.hashCode, isDefault.hashCode]); - - - Map toJson() { - Map json = {}; - json['name'] = nativeToJson(name); - if(baseBook.state == OptionalState.set) { - json['baseBook'] = baseBook.toJson(); - } - if(discount.state == OptionalState.set) { - json['discount'] = discount.toJson(); - } - if(isDefault.state == OptionalState.set) { - json['isDefault'] = isDefault.toJson(); - } - return json; - } - - CreateCustomRateCardVariables({ - required this.name, - required this.baseBook, - required this.discount, - required this.isDefault, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_document.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_document.dart deleted file mode 100644 index 1e8735c0..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_document.dart +++ /dev/null @@ -1,149 +0,0 @@ -part of 'generated.dart'; - -class CreateDocumentVariablesBuilder { - DocumentType documentType; - String name; - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateDocumentVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - - CreateDocumentVariablesBuilder(this._dataConnect, {required this.documentType,required this.name,}); - Deserializer dataDeserializer = (dynamic json) => CreateDocumentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateDocumentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateDocumentVariables vars= CreateDocumentVariables(documentType: documentType,name: name,description: _description,); - return _dataConnect.mutation("createDocument", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateDocumentDocumentInsert { - final String id; - CreateDocumentDocumentInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateDocumentDocumentInsert otherTyped = other as CreateDocumentDocumentInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateDocumentDocumentInsert({ - required this.id, - }); -} - -@immutable -class CreateDocumentData { - final CreateDocumentDocumentInsert document_insert; - CreateDocumentData.fromJson(dynamic json): - - document_insert = CreateDocumentDocumentInsert.fromJson(json['document_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateDocumentData otherTyped = other as CreateDocumentData; - return document_insert == otherTyped.document_insert; - - } - @override - int get hashCode => document_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['document_insert'] = document_insert.toJson(); - return json; - } - - CreateDocumentData({ - required this.document_insert, - }); -} - -@immutable -class CreateDocumentVariables { - final DocumentType documentType; - final String name; - late final Optionaldescription; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateDocumentVariables.fromJson(Map json): - - documentType = DocumentType.values.byName(json['documentType']), - name = nativeFromJson(json['name']) { - - - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateDocumentVariables otherTyped = other as CreateDocumentVariables; - return documentType == otherTyped.documentType && - name == otherTyped.name && - description == otherTyped.description; - - } - @override - int get hashCode => Object.hashAll([documentType.hashCode, name.hashCode, description.hashCode]); - - - Map toJson() { - Map json = {}; - json['documentType'] = - documentType.name - ; - json['name'] = nativeToJson(name); - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - return json; - } - - CreateDocumentVariables({ - required this.documentType, - required this.name, - required this.description, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_emergency_contact.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_emergency_contact.dart deleted file mode 100644 index f843e41f..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_emergency_contact.dart +++ /dev/null @@ -1,142 +0,0 @@ -part of 'generated.dart'; - -class CreateEmergencyContactVariablesBuilder { - String name; - String phone; - RelationshipType relationship; - String staffId; - - final FirebaseDataConnect _dataConnect; - CreateEmergencyContactVariablesBuilder(this._dataConnect, {required this.name,required this.phone,required this.relationship,required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => CreateEmergencyContactData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateEmergencyContactVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateEmergencyContactVariables vars= CreateEmergencyContactVariables(name: name,phone: phone,relationship: relationship,staffId: staffId,); - return _dataConnect.mutation("createEmergencyContact", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateEmergencyContactEmergencyContactInsert { - final String id; - CreateEmergencyContactEmergencyContactInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateEmergencyContactEmergencyContactInsert otherTyped = other as CreateEmergencyContactEmergencyContactInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateEmergencyContactEmergencyContactInsert({ - required this.id, - }); -} - -@immutable -class CreateEmergencyContactData { - final CreateEmergencyContactEmergencyContactInsert emergencyContact_insert; - CreateEmergencyContactData.fromJson(dynamic json): - - emergencyContact_insert = CreateEmergencyContactEmergencyContactInsert.fromJson(json['emergencyContact_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateEmergencyContactData otherTyped = other as CreateEmergencyContactData; - return emergencyContact_insert == otherTyped.emergencyContact_insert; - - } - @override - int get hashCode => emergencyContact_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['emergencyContact_insert'] = emergencyContact_insert.toJson(); - return json; - } - - CreateEmergencyContactData({ - required this.emergencyContact_insert, - }); -} - -@immutable -class CreateEmergencyContactVariables { - final String name; - final String phone; - final RelationshipType relationship; - final String staffId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateEmergencyContactVariables.fromJson(Map json): - - name = nativeFromJson(json['name']), - phone = nativeFromJson(json['phone']), - relationship = RelationshipType.values.byName(json['relationship']), - staffId = nativeFromJson(json['staffId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateEmergencyContactVariables otherTyped = other as CreateEmergencyContactVariables; - return name == otherTyped.name && - phone == otherTyped.phone && - relationship == otherTyped.relationship && - staffId == otherTyped.staffId; - - } - @override - int get hashCode => Object.hashAll([name.hashCode, phone.hashCode, relationship.hashCode, staffId.hashCode]); - - - Map toJson() { - Map json = {}; - json['name'] = nativeToJson(name); - json['phone'] = nativeToJson(phone); - json['relationship'] = - relationship.name - ; - json['staffId'] = nativeToJson(staffId); - return json; - } - - CreateEmergencyContactVariables({ - required this.name, - required this.phone, - required this.relationship, - required this.staffId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_faq_data.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_faq_data.dart deleted file mode 100644 index 7f57359f..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_faq_data.dart +++ /dev/null @@ -1,142 +0,0 @@ -part of 'generated.dart'; - -class CreateFaqDataVariablesBuilder { - String category; - Optional> _questions = Optional.optional(listDeserializer(AnyValue.fromJson), listSerializer(defaultSerializer)); - - final FirebaseDataConnect _dataConnect; CreateFaqDataVariablesBuilder questions(List? t) { - _questions.value = t; - return this; - } - - CreateFaqDataVariablesBuilder(this._dataConnect, {required this.category,}); - Deserializer dataDeserializer = (dynamic json) => CreateFaqDataData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateFaqDataVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateFaqDataVariables vars= CreateFaqDataVariables(category: category,questions: _questions,); - return _dataConnect.mutation("createFaqData", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateFaqDataFaqDataInsert { - final String id; - CreateFaqDataFaqDataInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateFaqDataFaqDataInsert otherTyped = other as CreateFaqDataFaqDataInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateFaqDataFaqDataInsert({ - required this.id, - }); -} - -@immutable -class CreateFaqDataData { - final CreateFaqDataFaqDataInsert faqData_insert; - CreateFaqDataData.fromJson(dynamic json): - - faqData_insert = CreateFaqDataFaqDataInsert.fromJson(json['faqData_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateFaqDataData otherTyped = other as CreateFaqDataData; - return faqData_insert == otherTyped.faqData_insert; - - } - @override - int get hashCode => faqData_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['faqData_insert'] = faqData_insert.toJson(); - return json; - } - - CreateFaqDataData({ - required this.faqData_insert, - }); -} - -@immutable -class CreateFaqDataVariables { - final String category; - late final Optional>questions; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateFaqDataVariables.fromJson(Map json): - - category = nativeFromJson(json['category']) { - - - - questions = Optional.optional(listDeserializer(AnyValue.fromJson), listSerializer(defaultSerializer)); - questions.value = json['questions'] == null ? null : (json['questions'] as List) - .map((e) => AnyValue.fromJson(e)) - .toList(); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateFaqDataVariables otherTyped = other as CreateFaqDataVariables; - return category == otherTyped.category && - questions == otherTyped.questions; - - } - @override - int get hashCode => Object.hashAll([category.hashCode, questions.hashCode]); - - - Map toJson() { - Map json = {}; - json['category'] = nativeToJson(category); - if(questions.state == OptionalState.set) { - json['questions'] = questions.toJson(); - } - return json; - } - - CreateFaqDataVariables({ - required this.category, - required this.questions, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_hub.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_hub.dart deleted file mode 100644 index b418f9bc..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_hub.dart +++ /dev/null @@ -1,177 +0,0 @@ -part of 'generated.dart'; - -class CreateHubVariablesBuilder { - String name; - Optional _locationName = Optional.optional(nativeFromJson, nativeToJson); - Optional _address = Optional.optional(nativeFromJson, nativeToJson); - Optional _nfcTagId = Optional.optional(nativeFromJson, nativeToJson); - String ownerId; - - final FirebaseDataConnect _dataConnect; CreateHubVariablesBuilder locationName(String? t) { - _locationName.value = t; - return this; - } - CreateHubVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - CreateHubVariablesBuilder nfcTagId(String? t) { - _nfcTagId.value = t; - return this; - } - - CreateHubVariablesBuilder(this._dataConnect, {required this.name,required this.ownerId,}); - Deserializer dataDeserializer = (dynamic json) => CreateHubData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateHubVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateHubVariables vars= CreateHubVariables(name: name,locationName: _locationName,address: _address,nfcTagId: _nfcTagId,ownerId: ownerId,); - return _dataConnect.mutation("createHub", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateHubHubInsert { - final String id; - CreateHubHubInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateHubHubInsert otherTyped = other as CreateHubHubInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateHubHubInsert({ - required this.id, - }); -} - -@immutable -class CreateHubData { - final CreateHubHubInsert hub_insert; - CreateHubData.fromJson(dynamic json): - - hub_insert = CreateHubHubInsert.fromJson(json['hub_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateHubData otherTyped = other as CreateHubData; - return hub_insert == otherTyped.hub_insert; - - } - @override - int get hashCode => hub_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['hub_insert'] = hub_insert.toJson(); - return json; - } - - CreateHubData({ - required this.hub_insert, - }); -} - -@immutable -class CreateHubVariables { - final String name; - late final OptionallocationName; - late final Optionaladdress; - late final OptionalnfcTagId; - final String ownerId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateHubVariables.fromJson(Map json): - - name = nativeFromJson(json['name']), - ownerId = nativeFromJson(json['ownerId']) { - - - - locationName = Optional.optional(nativeFromJson, nativeToJson); - locationName.value = json['locationName'] == null ? null : nativeFromJson(json['locationName']); - - - address = Optional.optional(nativeFromJson, nativeToJson); - address.value = json['address'] == null ? null : nativeFromJson(json['address']); - - - nfcTagId = Optional.optional(nativeFromJson, nativeToJson); - nfcTagId.value = json['nfcTagId'] == null ? null : nativeFromJson(json['nfcTagId']); - - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateHubVariables otherTyped = other as CreateHubVariables; - return name == otherTyped.name && - locationName == otherTyped.locationName && - address == otherTyped.address && - nfcTagId == otherTyped.nfcTagId && - ownerId == otherTyped.ownerId; - - } - @override - int get hashCode => Object.hashAll([name.hashCode, locationName.hashCode, address.hashCode, nfcTagId.hashCode, ownerId.hashCode]); - - - Map toJson() { - Map json = {}; - json['name'] = nativeToJson(name); - if(locationName.state == OptionalState.set) { - json['locationName'] = locationName.toJson(); - } - if(address.state == OptionalState.set) { - json['address'] = address.toJson(); - } - if(nfcTagId.state == OptionalState.set) { - json['nfcTagId'] = nfcTagId.toJson(); - } - json['ownerId'] = nativeToJson(ownerId); - return json; - } - - CreateHubVariables({ - required this.name, - required this.locationName, - required this.address, - required this.nfcTagId, - required this.ownerId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_invoice.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_invoice.dart deleted file mode 100644 index 02946656..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_invoice.dart +++ /dev/null @@ -1,341 +0,0 @@ -part of 'generated.dart'; - -class CreateInvoiceVariablesBuilder { - InvoiceStatus status; - String vendorId; - String businessId; - String orderId; - Optional _paymentTerms = Optional.optional((data) => InovicePaymentTerms.values.byName(data), enumSerializer); - String invoiceNumber; - Timestamp issueDate; - Timestamp dueDate; - Optional _hub = Optional.optional(nativeFromJson, nativeToJson); - Optional _managerName = Optional.optional(nativeFromJson, nativeToJson); - Optional _vendorNumber = Optional.optional(nativeFromJson, nativeToJson); - Optional _roles = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _charges = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _otherCharges = Optional.optional(nativeFromJson, nativeToJson); - Optional _subtotal = Optional.optional(nativeFromJson, nativeToJson); - double amount; - Optional _notes = Optional.optional(nativeFromJson, nativeToJson); - Optional _staffCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _chargesCount = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateInvoiceVariablesBuilder paymentTerms(InovicePaymentTerms? t) { - _paymentTerms.value = t; - return this; - } - CreateInvoiceVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - CreateInvoiceVariablesBuilder managerName(String? t) { - _managerName.value = t; - return this; - } - CreateInvoiceVariablesBuilder vendorNumber(String? t) { - _vendorNumber.value = t; - return this; - } - CreateInvoiceVariablesBuilder roles(AnyValue? t) { - _roles.value = t; - return this; - } - CreateInvoiceVariablesBuilder charges(AnyValue? t) { - _charges.value = t; - return this; - } - CreateInvoiceVariablesBuilder otherCharges(double? t) { - _otherCharges.value = t; - return this; - } - CreateInvoiceVariablesBuilder subtotal(double? t) { - _subtotal.value = t; - return this; - } - CreateInvoiceVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - CreateInvoiceVariablesBuilder staffCount(int? t) { - _staffCount.value = t; - return this; - } - CreateInvoiceVariablesBuilder chargesCount(int? t) { - _chargesCount.value = t; - return this; - } - - CreateInvoiceVariablesBuilder(this._dataConnect, {required this.status,required this.vendorId,required this.businessId,required this.orderId,required this.invoiceNumber,required this.issueDate,required this.dueDate,required this.amount,}); - Deserializer dataDeserializer = (dynamic json) => CreateInvoiceData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateInvoiceVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateInvoiceVariables vars= CreateInvoiceVariables(status: status,vendorId: vendorId,businessId: businessId,orderId: orderId,paymentTerms: _paymentTerms,invoiceNumber: invoiceNumber,issueDate: issueDate,dueDate: dueDate,hub: _hub,managerName: _managerName,vendorNumber: _vendorNumber,roles: _roles,charges: _charges,otherCharges: _otherCharges,subtotal: _subtotal,amount: amount,notes: _notes,staffCount: _staffCount,chargesCount: _chargesCount,); - return _dataConnect.mutation("createInvoice", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateInvoiceInvoiceInsert { - final String id; - CreateInvoiceInvoiceInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateInvoiceInvoiceInsert otherTyped = other as CreateInvoiceInvoiceInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateInvoiceInvoiceInsert({ - required this.id, - }); -} - -@immutable -class CreateInvoiceData { - final CreateInvoiceInvoiceInsert invoice_insert; - CreateInvoiceData.fromJson(dynamic json): - - invoice_insert = CreateInvoiceInvoiceInsert.fromJson(json['invoice_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateInvoiceData otherTyped = other as CreateInvoiceData; - return invoice_insert == otherTyped.invoice_insert; - - } - @override - int get hashCode => invoice_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['invoice_insert'] = invoice_insert.toJson(); - return json; - } - - CreateInvoiceData({ - required this.invoice_insert, - }); -} - -@immutable -class CreateInvoiceVariables { - final InvoiceStatus status; - final String vendorId; - final String businessId; - final String orderId; - late final OptionalpaymentTerms; - final String invoiceNumber; - final Timestamp issueDate; - final Timestamp dueDate; - late final Optionalhub; - late final OptionalmanagerName; - late final OptionalvendorNumber; - late final Optionalroles; - late final Optionalcharges; - late final OptionalotherCharges; - late final Optionalsubtotal; - final double amount; - late final Optionalnotes; - late final OptionalstaffCount; - late final OptionalchargesCount; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateInvoiceVariables.fromJson(Map json): - - status = InvoiceStatus.values.byName(json['status']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderId = nativeFromJson(json['orderId']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - issueDate = Timestamp.fromJson(json['issueDate']), - dueDate = Timestamp.fromJson(json['dueDate']), - amount = nativeFromJson(json['amount']) { - - - - - - - paymentTerms = Optional.optional((data) => InovicePaymentTerms.values.byName(data), enumSerializer); - paymentTerms.value = json['paymentTerms'] == null ? null : InovicePaymentTerms.values.byName(json['paymentTerms']); - - - - - - hub = Optional.optional(nativeFromJson, nativeToJson); - hub.value = json['hub'] == null ? null : nativeFromJson(json['hub']); - - - managerName = Optional.optional(nativeFromJson, nativeToJson); - managerName.value = json['managerName'] == null ? null : nativeFromJson(json['managerName']); - - - vendorNumber = Optional.optional(nativeFromJson, nativeToJson); - vendorNumber.value = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']); - - - roles = Optional.optional(AnyValue.fromJson, defaultSerializer); - roles.value = json['roles'] == null ? null : AnyValue.fromJson(json['roles']); - - - charges = Optional.optional(AnyValue.fromJson, defaultSerializer); - charges.value = json['charges'] == null ? null : AnyValue.fromJson(json['charges']); - - - otherCharges = Optional.optional(nativeFromJson, nativeToJson); - otherCharges.value = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']); - - - subtotal = Optional.optional(nativeFromJson, nativeToJson); - subtotal.value = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']); - - - - notes = Optional.optional(nativeFromJson, nativeToJson); - notes.value = json['notes'] == null ? null : nativeFromJson(json['notes']); - - - staffCount = Optional.optional(nativeFromJson, nativeToJson); - staffCount.value = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']); - - - chargesCount = Optional.optional(nativeFromJson, nativeToJson); - chargesCount.value = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateInvoiceVariables otherTyped = other as CreateInvoiceVariables; - return status == otherTyped.status && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount; - - } - @override - int get hashCode => Object.hashAll([status.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode]); - - - Map toJson() { - Map json = {}; - json['status'] = - status.name - ; - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderId'] = nativeToJson(orderId); - if(paymentTerms.state == OptionalState.set) { - json['paymentTerms'] = paymentTerms.toJson(); - } - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['issueDate'] = issueDate.toJson(); - json['dueDate'] = dueDate.toJson(); - if(hub.state == OptionalState.set) { - json['hub'] = hub.toJson(); - } - if(managerName.state == OptionalState.set) { - json['managerName'] = managerName.toJson(); - } - if(vendorNumber.state == OptionalState.set) { - json['vendorNumber'] = vendorNumber.toJson(); - } - if(roles.state == OptionalState.set) { - json['roles'] = roles.toJson(); - } - if(charges.state == OptionalState.set) { - json['charges'] = charges.toJson(); - } - if(otherCharges.state == OptionalState.set) { - json['otherCharges'] = otherCharges.toJson(); - } - if(subtotal.state == OptionalState.set) { - json['subtotal'] = subtotal.toJson(); - } - json['amount'] = nativeToJson(amount); - if(notes.state == OptionalState.set) { - json['notes'] = notes.toJson(); - } - if(staffCount.state == OptionalState.set) { - json['staffCount'] = staffCount.toJson(); - } - if(chargesCount.state == OptionalState.set) { - json['chargesCount'] = chargesCount.toJson(); - } - return json; - } - - CreateInvoiceVariables({ - required this.status, - required this.vendorId, - required this.businessId, - required this.orderId, - required this.paymentTerms, - required this.invoiceNumber, - required this.issueDate, - required this.dueDate, - required this.hub, - required this.managerName, - required this.vendorNumber, - required this.roles, - required this.charges, - required this.otherCharges, - required this.subtotal, - required this.amount, - required this.notes, - required this.staffCount, - required this.chargesCount, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_invoice_template.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_invoice_template.dart deleted file mode 100644 index 317d2fd7..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_invoice_template.dart +++ /dev/null @@ -1,402 +0,0 @@ -part of 'generated.dart'; - -class CreateInvoiceTemplateVariablesBuilder { - String name; - String ownerId; - Optional _vendorId = Optional.optional(nativeFromJson, nativeToJson); - Optional _businessId = Optional.optional(nativeFromJson, nativeToJson); - Optional _orderId = Optional.optional(nativeFromJson, nativeToJson); - Optional _paymentTerms = Optional.optional((data) => InovicePaymentTermsTemp.values.byName(data), enumSerializer); - Optional _invoiceNumber = Optional.optional(nativeFromJson, nativeToJson); - Optional _issueDate = Optional.optional((json) => json['issueDate'] = Timestamp.fromJson(json['issueDate']), defaultSerializer); - Optional _dueDate = Optional.optional((json) => json['dueDate'] = Timestamp.fromJson(json['dueDate']), defaultSerializer); - Optional _hub = Optional.optional(nativeFromJson, nativeToJson); - Optional _managerName = Optional.optional(nativeFromJson, nativeToJson); - Optional _vendorNumber = Optional.optional(nativeFromJson, nativeToJson); - Optional _roles = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _charges = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _otherCharges = Optional.optional(nativeFromJson, nativeToJson); - Optional _subtotal = Optional.optional(nativeFromJson, nativeToJson); - Optional _amount = Optional.optional(nativeFromJson, nativeToJson); - Optional _notes = Optional.optional(nativeFromJson, nativeToJson); - Optional _staffCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _chargesCount = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateInvoiceTemplateVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder paymentTerms(InovicePaymentTermsTemp? t) { - _paymentTerms.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder invoiceNumber(String? t) { - _invoiceNumber.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder issueDate(Timestamp? t) { - _issueDate.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder dueDate(Timestamp? t) { - _dueDate.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder managerName(String? t) { - _managerName.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder vendorNumber(String? t) { - _vendorNumber.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder roles(AnyValue? t) { - _roles.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder charges(AnyValue? t) { - _charges.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder otherCharges(double? t) { - _otherCharges.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder subtotal(double? t) { - _subtotal.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder amount(double? t) { - _amount.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder staffCount(int? t) { - _staffCount.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder chargesCount(int? t) { - _chargesCount.value = t; - return this; - } - - CreateInvoiceTemplateVariablesBuilder(this._dataConnect, {required this.name,required this.ownerId,}); - Deserializer dataDeserializer = (dynamic json) => CreateInvoiceTemplateData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateInvoiceTemplateVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateInvoiceTemplateVariables vars= CreateInvoiceTemplateVariables(name: name,ownerId: ownerId,vendorId: _vendorId,businessId: _businessId,orderId: _orderId,paymentTerms: _paymentTerms,invoiceNumber: _invoiceNumber,issueDate: _issueDate,dueDate: _dueDate,hub: _hub,managerName: _managerName,vendorNumber: _vendorNumber,roles: _roles,charges: _charges,otherCharges: _otherCharges,subtotal: _subtotal,amount: _amount,notes: _notes,staffCount: _staffCount,chargesCount: _chargesCount,); - return _dataConnect.mutation("createInvoiceTemplate", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateInvoiceTemplateInvoiceTemplateInsert { - final String id; - CreateInvoiceTemplateInvoiceTemplateInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateInvoiceTemplateInvoiceTemplateInsert otherTyped = other as CreateInvoiceTemplateInvoiceTemplateInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateInvoiceTemplateInvoiceTemplateInsert({ - required this.id, - }); -} - -@immutable -class CreateInvoiceTemplateData { - final CreateInvoiceTemplateInvoiceTemplateInsert invoiceTemplate_insert; - CreateInvoiceTemplateData.fromJson(dynamic json): - - invoiceTemplate_insert = CreateInvoiceTemplateInvoiceTemplateInsert.fromJson(json['invoiceTemplate_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateInvoiceTemplateData otherTyped = other as CreateInvoiceTemplateData; - return invoiceTemplate_insert == otherTyped.invoiceTemplate_insert; - - } - @override - int get hashCode => invoiceTemplate_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['invoiceTemplate_insert'] = invoiceTemplate_insert.toJson(); - return json; - } - - CreateInvoiceTemplateData({ - required this.invoiceTemplate_insert, - }); -} - -@immutable -class CreateInvoiceTemplateVariables { - final String name; - final String ownerId; - late final OptionalvendorId; - late final OptionalbusinessId; - late final OptionalorderId; - late final OptionalpaymentTerms; - late final OptionalinvoiceNumber; - late final OptionalissueDate; - late final OptionaldueDate; - late final Optionalhub; - late final OptionalmanagerName; - late final OptionalvendorNumber; - late final Optionalroles; - late final Optionalcharges; - late final OptionalotherCharges; - late final Optionalsubtotal; - late final Optionalamount; - late final Optionalnotes; - late final OptionalstaffCount; - late final OptionalchargesCount; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateInvoiceTemplateVariables.fromJson(Map json): - - name = nativeFromJson(json['name']), - ownerId = nativeFromJson(json['ownerId']) { - - - - - vendorId = Optional.optional(nativeFromJson, nativeToJson); - vendorId.value = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']); - - - businessId = Optional.optional(nativeFromJson, nativeToJson); - businessId.value = json['businessId'] == null ? null : nativeFromJson(json['businessId']); - - - orderId = Optional.optional(nativeFromJson, nativeToJson); - orderId.value = json['orderId'] == null ? null : nativeFromJson(json['orderId']); - - - paymentTerms = Optional.optional((data) => InovicePaymentTermsTemp.values.byName(data), enumSerializer); - paymentTerms.value = json['paymentTerms'] == null ? null : InovicePaymentTermsTemp.values.byName(json['paymentTerms']); - - - invoiceNumber = Optional.optional(nativeFromJson, nativeToJson); - invoiceNumber.value = json['invoiceNumber'] == null ? null : nativeFromJson(json['invoiceNumber']); - - - issueDate = Optional.optional((json) => json['issueDate'] = Timestamp.fromJson(json['issueDate']), defaultSerializer); - issueDate.value = json['issueDate'] == null ? null : Timestamp.fromJson(json['issueDate']); - - - dueDate = Optional.optional((json) => json['dueDate'] = Timestamp.fromJson(json['dueDate']), defaultSerializer); - dueDate.value = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']); - - - hub = Optional.optional(nativeFromJson, nativeToJson); - hub.value = json['hub'] == null ? null : nativeFromJson(json['hub']); - - - managerName = Optional.optional(nativeFromJson, nativeToJson); - managerName.value = json['managerName'] == null ? null : nativeFromJson(json['managerName']); - - - vendorNumber = Optional.optional(nativeFromJson, nativeToJson); - vendorNumber.value = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']); - - - roles = Optional.optional(AnyValue.fromJson, defaultSerializer); - roles.value = json['roles'] == null ? null : AnyValue.fromJson(json['roles']); - - - charges = Optional.optional(AnyValue.fromJson, defaultSerializer); - charges.value = json['charges'] == null ? null : AnyValue.fromJson(json['charges']); - - - otherCharges = Optional.optional(nativeFromJson, nativeToJson); - otherCharges.value = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']); - - - subtotal = Optional.optional(nativeFromJson, nativeToJson); - subtotal.value = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']); - - - amount = Optional.optional(nativeFromJson, nativeToJson); - amount.value = json['amount'] == null ? null : nativeFromJson(json['amount']); - - - notes = Optional.optional(nativeFromJson, nativeToJson); - notes.value = json['notes'] == null ? null : nativeFromJson(json['notes']); - - - staffCount = Optional.optional(nativeFromJson, nativeToJson); - staffCount.value = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']); - - - chargesCount = Optional.optional(nativeFromJson, nativeToJson); - chargesCount.value = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateInvoiceTemplateVariables otherTyped = other as CreateInvoiceTemplateVariables; - return name == otherTyped.name && - ownerId == otherTyped.ownerId && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount; - - } - @override - int get hashCode => Object.hashAll([name.hashCode, ownerId.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode]); - - - Map toJson() { - Map json = {}; - json['name'] = nativeToJson(name); - json['ownerId'] = nativeToJson(ownerId); - if(vendorId.state == OptionalState.set) { - json['vendorId'] = vendorId.toJson(); - } - if(businessId.state == OptionalState.set) { - json['businessId'] = businessId.toJson(); - } - if(orderId.state == OptionalState.set) { - json['orderId'] = orderId.toJson(); - } - if(paymentTerms.state == OptionalState.set) { - json['paymentTerms'] = paymentTerms.toJson(); - } - if(invoiceNumber.state == OptionalState.set) { - json['invoiceNumber'] = invoiceNumber.toJson(); - } - if(issueDate.state == OptionalState.set) { - json['issueDate'] = issueDate.toJson(); - } - if(dueDate.state == OptionalState.set) { - json['dueDate'] = dueDate.toJson(); - } - if(hub.state == OptionalState.set) { - json['hub'] = hub.toJson(); - } - if(managerName.state == OptionalState.set) { - json['managerName'] = managerName.toJson(); - } - if(vendorNumber.state == OptionalState.set) { - json['vendorNumber'] = vendorNumber.toJson(); - } - if(roles.state == OptionalState.set) { - json['roles'] = roles.toJson(); - } - if(charges.state == OptionalState.set) { - json['charges'] = charges.toJson(); - } - if(otherCharges.state == OptionalState.set) { - json['otherCharges'] = otherCharges.toJson(); - } - if(subtotal.state == OptionalState.set) { - json['subtotal'] = subtotal.toJson(); - } - if(amount.state == OptionalState.set) { - json['amount'] = amount.toJson(); - } - if(notes.state == OptionalState.set) { - json['notes'] = notes.toJson(); - } - if(staffCount.state == OptionalState.set) { - json['staffCount'] = staffCount.toJson(); - } - if(chargesCount.state == OptionalState.set) { - json['chargesCount'] = chargesCount.toJson(); - } - return json; - } - - CreateInvoiceTemplateVariables({ - required this.name, - required this.ownerId, - required this.vendorId, - required this.businessId, - required this.orderId, - required this.paymentTerms, - required this.invoiceNumber, - required this.issueDate, - required this.dueDate, - required this.hub, - required this.managerName, - required this.vendorNumber, - required this.roles, - required this.charges, - required this.otherCharges, - required this.subtotal, - required this.amount, - required this.notes, - required this.staffCount, - required this.chargesCount, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_level.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_level.dart deleted file mode 100644 index 6813ff81..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_level.dart +++ /dev/null @@ -1,162 +0,0 @@ -part of 'generated.dart'; - -class CreateLevelVariablesBuilder { - String name; - int xpRequired; - Optional _icon = Optional.optional(nativeFromJson, nativeToJson); - Optional _colors = Optional.optional(AnyValue.fromJson, defaultSerializer); - - final FirebaseDataConnect _dataConnect; CreateLevelVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - CreateLevelVariablesBuilder colors(AnyValue? t) { - _colors.value = t; - return this; - } - - CreateLevelVariablesBuilder(this._dataConnect, {required this.name,required this.xpRequired,}); - Deserializer dataDeserializer = (dynamic json) => CreateLevelData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateLevelVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateLevelVariables vars= CreateLevelVariables(name: name,xpRequired: xpRequired,icon: _icon,colors: _colors,); - return _dataConnect.mutation("createLevel", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateLevelLevelInsert { - final String id; - CreateLevelLevelInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateLevelLevelInsert otherTyped = other as CreateLevelLevelInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateLevelLevelInsert({ - required this.id, - }); -} - -@immutable -class CreateLevelData { - final CreateLevelLevelInsert level_insert; - CreateLevelData.fromJson(dynamic json): - - level_insert = CreateLevelLevelInsert.fromJson(json['level_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateLevelData otherTyped = other as CreateLevelData; - return level_insert == otherTyped.level_insert; - - } - @override - int get hashCode => level_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['level_insert'] = level_insert.toJson(); - return json; - } - - CreateLevelData({ - required this.level_insert, - }); -} - -@immutable -class CreateLevelVariables { - final String name; - final int xpRequired; - late final Optionalicon; - late final Optionalcolors; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateLevelVariables.fromJson(Map json): - - name = nativeFromJson(json['name']), - xpRequired = nativeFromJson(json['xpRequired']) { - - - - - icon = Optional.optional(nativeFromJson, nativeToJson); - icon.value = json['icon'] == null ? null : nativeFromJson(json['icon']); - - - colors = Optional.optional(AnyValue.fromJson, defaultSerializer); - colors.value = json['colors'] == null ? null : AnyValue.fromJson(json['colors']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateLevelVariables otherTyped = other as CreateLevelVariables; - return name == otherTyped.name && - xpRequired == otherTyped.xpRequired && - icon == otherTyped.icon && - colors == otherTyped.colors; - - } - @override - int get hashCode => Object.hashAll([name.hashCode, xpRequired.hashCode, icon.hashCode, colors.hashCode]); - - - Map toJson() { - Map json = {}; - json['name'] = nativeToJson(name); - json['xpRequired'] = nativeToJson(xpRequired); - if(icon.state == OptionalState.set) { - json['icon'] = icon.toJson(); - } - if(colors.state == OptionalState.set) { - json['colors'] = colors.toJson(); - } - return json; - } - - CreateLevelVariables({ - required this.name, - required this.xpRequired, - required this.icon, - required this.colors, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_member_task.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_member_task.dart deleted file mode 100644 index 526c491e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_member_task.dart +++ /dev/null @@ -1,133 +0,0 @@ -part of 'generated.dart'; - -class CreateMemberTaskVariablesBuilder { - String teamMemberId; - String taskId; - - final FirebaseDataConnect _dataConnect; - CreateMemberTaskVariablesBuilder(this._dataConnect, {required this.teamMemberId,required this.taskId,}); - Deserializer dataDeserializer = (dynamic json) => CreateMemberTaskData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateMemberTaskVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateMemberTaskVariables vars= CreateMemberTaskVariables(teamMemberId: teamMemberId,taskId: taskId,); - return _dataConnect.mutation("createMemberTask", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateMemberTaskMemberTaskInsert { - final String teamMemberId; - final String taskId; - CreateMemberTaskMemberTaskInsert.fromJson(dynamic json): - - teamMemberId = nativeFromJson(json['teamMemberId']), - taskId = nativeFromJson(json['taskId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateMemberTaskMemberTaskInsert otherTyped = other as CreateMemberTaskMemberTaskInsert; - return teamMemberId == otherTyped.teamMemberId && - taskId == otherTyped.taskId; - - } - @override - int get hashCode => Object.hashAll([teamMemberId.hashCode, taskId.hashCode]); - - - Map toJson() { - Map json = {}; - json['teamMemberId'] = nativeToJson(teamMemberId); - json['taskId'] = nativeToJson(taskId); - return json; - } - - CreateMemberTaskMemberTaskInsert({ - required this.teamMemberId, - required this.taskId, - }); -} - -@immutable -class CreateMemberTaskData { - final CreateMemberTaskMemberTaskInsert memberTask_insert; - CreateMemberTaskData.fromJson(dynamic json): - - memberTask_insert = CreateMemberTaskMemberTaskInsert.fromJson(json['memberTask_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateMemberTaskData otherTyped = other as CreateMemberTaskData; - return memberTask_insert == otherTyped.memberTask_insert; - - } - @override - int get hashCode => memberTask_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['memberTask_insert'] = memberTask_insert.toJson(); - return json; - } - - CreateMemberTaskData({ - required this.memberTask_insert, - }); -} - -@immutable -class CreateMemberTaskVariables { - final String teamMemberId; - final String taskId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateMemberTaskVariables.fromJson(Map json): - - teamMemberId = nativeFromJson(json['teamMemberId']), - taskId = nativeFromJson(json['taskId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateMemberTaskVariables otherTyped = other as CreateMemberTaskVariables; - return teamMemberId == otherTyped.teamMemberId && - taskId == otherTyped.taskId; - - } - @override - int get hashCode => Object.hashAll([teamMemberId.hashCode, taskId.hashCode]); - - - Map toJson() { - Map json = {}; - json['teamMemberId'] = nativeToJson(teamMemberId); - json['taskId'] = nativeToJson(taskId); - return json; - } - - CreateMemberTaskVariables({ - required this.teamMemberId, - required this.taskId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_message.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_message.dart deleted file mode 100644 index 00c46728..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_message.dart +++ /dev/null @@ -1,154 +0,0 @@ -part of 'generated.dart'; - -class CreateMessageVariablesBuilder { - String conversationId; - String senderId; - String content; - Optional _isSystem = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateMessageVariablesBuilder isSystem(bool? t) { - _isSystem.value = t; - return this; - } - - CreateMessageVariablesBuilder(this._dataConnect, {required this.conversationId,required this.senderId,required this.content,}); - Deserializer dataDeserializer = (dynamic json) => CreateMessageData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateMessageVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateMessageVariables vars= CreateMessageVariables(conversationId: conversationId,senderId: senderId,content: content,isSystem: _isSystem,); - return _dataConnect.mutation("createMessage", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateMessageMessageInsert { - final String id; - CreateMessageMessageInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateMessageMessageInsert otherTyped = other as CreateMessageMessageInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateMessageMessageInsert({ - required this.id, - }); -} - -@immutable -class CreateMessageData { - final CreateMessageMessageInsert message_insert; - CreateMessageData.fromJson(dynamic json): - - message_insert = CreateMessageMessageInsert.fromJson(json['message_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateMessageData otherTyped = other as CreateMessageData; - return message_insert == otherTyped.message_insert; - - } - @override - int get hashCode => message_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['message_insert'] = message_insert.toJson(); - return json; - } - - CreateMessageData({ - required this.message_insert, - }); -} - -@immutable -class CreateMessageVariables { - final String conversationId; - final String senderId; - final String content; - late final OptionalisSystem; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateMessageVariables.fromJson(Map json): - - conversationId = nativeFromJson(json['conversationId']), - senderId = nativeFromJson(json['senderId']), - content = nativeFromJson(json['content']) { - - - - - - isSystem = Optional.optional(nativeFromJson, nativeToJson); - isSystem.value = json['isSystem'] == null ? null : nativeFromJson(json['isSystem']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateMessageVariables otherTyped = other as CreateMessageVariables; - return conversationId == otherTyped.conversationId && - senderId == otherTyped.senderId && - content == otherTyped.content && - isSystem == otherTyped.isSystem; - - } - @override - int get hashCode => Object.hashAll([conversationId.hashCode, senderId.hashCode, content.hashCode, isSystem.hashCode]); - - - Map toJson() { - Map json = {}; - json['conversationId'] = nativeToJson(conversationId); - json['senderId'] = nativeToJson(senderId); - json['content'] = nativeToJson(content); - if(isSystem.state == OptionalState.set) { - json['isSystem'] = isSystem.toJson(); - } - return json; - } - - CreateMessageVariables({ - required this.conversationId, - required this.senderId, - required this.content, - required this.isSystem, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_order.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_order.dart deleted file mode 100644 index 786e6534..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_order.dart +++ /dev/null @@ -1,426 +0,0 @@ -part of 'generated.dart'; - -class CreateOrderVariablesBuilder { - String vendorId; - String businessId; - OrderType orderType; - Optional _location = Optional.optional(nativeFromJson, nativeToJson); - Optional _status = Optional.optional((data) => OrderStatus.values.byName(data), enumSerializer); - Optional _date = Optional.optional((json) => json['date'] = Timestamp.fromJson(json['date']), defaultSerializer); - Optional _startDate = Optional.optional((json) => json['startDate'] = Timestamp.fromJson(json['startDate']), defaultSerializer); - Optional _endDate = Optional.optional((json) => json['endDate'] = Timestamp.fromJson(json['endDate']), defaultSerializer); - Optional _duration = Optional.optional((data) => OrderDuration.values.byName(data), enumSerializer); - Optional _lunchBreak = Optional.optional(nativeFromJson, nativeToJson); - Optional _total = Optional.optional(nativeFromJson, nativeToJson); - Optional _eventName = Optional.optional(nativeFromJson, nativeToJson); - Optional _assignedStaff = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _shifts = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _requested = Optional.optional(nativeFromJson, nativeToJson); - Optional _hub = Optional.optional(nativeFromJson, nativeToJson); - Optional _recurringDays = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _permanentStartDate = Optional.optional((json) => json['permanentStartDate'] = Timestamp.fromJson(json['permanentStartDate']), defaultSerializer); - Optional _permanentDays = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _notes = Optional.optional(nativeFromJson, nativeToJson); - Optional _detectedConflicts = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _poReference = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateOrderVariablesBuilder location(String? t) { - _location.value = t; - return this; - } - CreateOrderVariablesBuilder status(OrderStatus? t) { - _status.value = t; - return this; - } - CreateOrderVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - CreateOrderVariablesBuilder startDate(Timestamp? t) { - _startDate.value = t; - return this; - } - CreateOrderVariablesBuilder endDate(Timestamp? t) { - _endDate.value = t; - return this; - } - CreateOrderVariablesBuilder duration(OrderDuration? t) { - _duration.value = t; - return this; - } - CreateOrderVariablesBuilder lunchBreak(int? t) { - _lunchBreak.value = t; - return this; - } - CreateOrderVariablesBuilder total(double? t) { - _total.value = t; - return this; - } - CreateOrderVariablesBuilder eventName(String? t) { - _eventName.value = t; - return this; - } - CreateOrderVariablesBuilder assignedStaff(AnyValue? t) { - _assignedStaff.value = t; - return this; - } - CreateOrderVariablesBuilder shifts(AnyValue? t) { - _shifts.value = t; - return this; - } - CreateOrderVariablesBuilder requested(int? t) { - _requested.value = t; - return this; - } - CreateOrderVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - CreateOrderVariablesBuilder recurringDays(AnyValue? t) { - _recurringDays.value = t; - return this; - } - CreateOrderVariablesBuilder permanentStartDate(Timestamp? t) { - _permanentStartDate.value = t; - return this; - } - CreateOrderVariablesBuilder permanentDays(AnyValue? t) { - _permanentDays.value = t; - return this; - } - CreateOrderVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - CreateOrderVariablesBuilder detectedConflicts(AnyValue? t) { - _detectedConflicts.value = t; - return this; - } - CreateOrderVariablesBuilder poReference(String? t) { - _poReference.value = t; - return this; - } - - CreateOrderVariablesBuilder(this._dataConnect, {required this.vendorId,required this.businessId,required this.orderType,}); - Deserializer dataDeserializer = (dynamic json) => CreateOrderData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateOrderVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateOrderVariables vars= CreateOrderVariables(vendorId: vendorId,businessId: businessId,orderType: orderType,location: _location,status: _status,date: _date,startDate: _startDate,endDate: _endDate,duration: _duration,lunchBreak: _lunchBreak,total: _total,eventName: _eventName,assignedStaff: _assignedStaff,shifts: _shifts,requested: _requested,hub: _hub,recurringDays: _recurringDays,permanentStartDate: _permanentStartDate,permanentDays: _permanentDays,notes: _notes,detectedConflicts: _detectedConflicts,poReference: _poReference,); - return _dataConnect.mutation("createOrder", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateOrderOrderInsert { - final String id; - CreateOrderOrderInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateOrderOrderInsert otherTyped = other as CreateOrderOrderInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateOrderOrderInsert({ - required this.id, - }); -} - -@immutable -class CreateOrderData { - final CreateOrderOrderInsert order_insert; - CreateOrderData.fromJson(dynamic json): - - order_insert = CreateOrderOrderInsert.fromJson(json['order_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateOrderData otherTyped = other as CreateOrderData; - return order_insert == otherTyped.order_insert; - - } - @override - int get hashCode => order_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['order_insert'] = order_insert.toJson(); - return json; - } - - CreateOrderData({ - required this.order_insert, - }); -} - -@immutable -class CreateOrderVariables { - final String vendorId; - final String businessId; - final OrderType orderType; - late final Optionallocation; - late final Optionalstatus; - late final Optionaldate; - late final OptionalstartDate; - late final OptionalendDate; - late final Optionalduration; - late final OptionallunchBreak; - late final Optionaltotal; - late final OptionaleventName; - late final OptionalassignedStaff; - late final Optionalshifts; - late final Optionalrequested; - late final Optionalhub; - late final OptionalrecurringDays; - late final OptionalpermanentStartDate; - late final OptionalpermanentDays; - late final Optionalnotes; - late final OptionaldetectedConflicts; - late final OptionalpoReference; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateOrderVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderType = OrderType.values.byName(json['orderType']) { - - - - - - location = Optional.optional(nativeFromJson, nativeToJson); - location.value = json['location'] == null ? null : nativeFromJson(json['location']); - - - status = Optional.optional((data) => OrderStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : OrderStatus.values.byName(json['status']); - - - date = Optional.optional((json) => json['date'] = Timestamp.fromJson(json['date']), defaultSerializer); - date.value = json['date'] == null ? null : Timestamp.fromJson(json['date']); - - - startDate = Optional.optional((json) => json['startDate'] = Timestamp.fromJson(json['startDate']), defaultSerializer); - startDate.value = json['startDate'] == null ? null : Timestamp.fromJson(json['startDate']); - - - endDate = Optional.optional((json) => json['endDate'] = Timestamp.fromJson(json['endDate']), defaultSerializer); - endDate.value = json['endDate'] == null ? null : Timestamp.fromJson(json['endDate']); - - - duration = Optional.optional((data) => OrderDuration.values.byName(data), enumSerializer); - duration.value = json['duration'] == null ? null : OrderDuration.values.byName(json['duration']); - - - lunchBreak = Optional.optional(nativeFromJson, nativeToJson); - lunchBreak.value = json['lunchBreak'] == null ? null : nativeFromJson(json['lunchBreak']); - - - total = Optional.optional(nativeFromJson, nativeToJson); - total.value = json['total'] == null ? null : nativeFromJson(json['total']); - - - eventName = Optional.optional(nativeFromJson, nativeToJson); - eventName.value = json['eventName'] == null ? null : nativeFromJson(json['eventName']); - - - assignedStaff = Optional.optional(AnyValue.fromJson, defaultSerializer); - assignedStaff.value = json['assignedStaff'] == null ? null : AnyValue.fromJson(json['assignedStaff']); - - - shifts = Optional.optional(AnyValue.fromJson, defaultSerializer); - shifts.value = json['shifts'] == null ? null : AnyValue.fromJson(json['shifts']); - - - requested = Optional.optional(nativeFromJson, nativeToJson); - requested.value = json['requested'] == null ? null : nativeFromJson(json['requested']); - - - hub = Optional.optional(nativeFromJson, nativeToJson); - hub.value = json['hub'] == null ? null : nativeFromJson(json['hub']); - - - recurringDays = Optional.optional(AnyValue.fromJson, defaultSerializer); - recurringDays.value = json['recurringDays'] == null ? null : AnyValue.fromJson(json['recurringDays']); - - - permanentStartDate = Optional.optional((json) => json['permanentStartDate'] = Timestamp.fromJson(json['permanentStartDate']), defaultSerializer); - permanentStartDate.value = json['permanentStartDate'] == null ? null : Timestamp.fromJson(json['permanentStartDate']); - - - permanentDays = Optional.optional(AnyValue.fromJson, defaultSerializer); - permanentDays.value = json['permanentDays'] == null ? null : AnyValue.fromJson(json['permanentDays']); - - - notes = Optional.optional(nativeFromJson, nativeToJson); - notes.value = json['notes'] == null ? null : nativeFromJson(json['notes']); - - - detectedConflicts = Optional.optional(AnyValue.fromJson, defaultSerializer); - detectedConflicts.value = json['detectedConflicts'] == null ? null : AnyValue.fromJson(json['detectedConflicts']); - - - poReference = Optional.optional(nativeFromJson, nativeToJson); - poReference.value = json['poReference'] == null ? null : nativeFromJson(json['poReference']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateOrderVariables otherTyped = other as CreateOrderVariables; - return vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderType == otherTyped.orderType && - location == otherTyped.location && - status == otherTyped.status && - date == otherTyped.date && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate && - duration == otherTyped.duration && - lunchBreak == otherTyped.lunchBreak && - total == otherTyped.total && - eventName == otherTyped.eventName && - assignedStaff == otherTyped.assignedStaff && - shifts == otherTyped.shifts && - requested == otherTyped.requested && - hub == otherTyped.hub && - recurringDays == otherTyped.recurringDays && - permanentStartDate == otherTyped.permanentStartDate && - permanentDays == otherTyped.permanentDays && - notes == otherTyped.notes && - detectedConflicts == otherTyped.detectedConflicts && - poReference == otherTyped.poReference; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, businessId.hashCode, orderType.hashCode, location.hashCode, status.hashCode, date.hashCode, startDate.hashCode, endDate.hashCode, duration.hashCode, lunchBreak.hashCode, total.hashCode, eventName.hashCode, assignedStaff.hashCode, shifts.hashCode, requested.hashCode, hub.hashCode, recurringDays.hashCode, permanentStartDate.hashCode, permanentDays.hashCode, notes.hashCode, detectedConflicts.hashCode, poReference.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderType'] = - orderType.name - ; - if(location.state == OptionalState.set) { - json['location'] = location.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(date.state == OptionalState.set) { - json['date'] = date.toJson(); - } - if(startDate.state == OptionalState.set) { - json['startDate'] = startDate.toJson(); - } - if(endDate.state == OptionalState.set) { - json['endDate'] = endDate.toJson(); - } - if(duration.state == OptionalState.set) { - json['duration'] = duration.toJson(); - } - if(lunchBreak.state == OptionalState.set) { - json['lunchBreak'] = lunchBreak.toJson(); - } - if(total.state == OptionalState.set) { - json['total'] = total.toJson(); - } - if(eventName.state == OptionalState.set) { - json['eventName'] = eventName.toJson(); - } - if(assignedStaff.state == OptionalState.set) { - json['assignedStaff'] = assignedStaff.toJson(); - } - if(shifts.state == OptionalState.set) { - json['shifts'] = shifts.toJson(); - } - if(requested.state == OptionalState.set) { - json['requested'] = requested.toJson(); - } - if(hub.state == OptionalState.set) { - json['hub'] = hub.toJson(); - } - if(recurringDays.state == OptionalState.set) { - json['recurringDays'] = recurringDays.toJson(); - } - if(permanentStartDate.state == OptionalState.set) { - json['permanentStartDate'] = permanentStartDate.toJson(); - } - if(permanentDays.state == OptionalState.set) { - json['permanentDays'] = permanentDays.toJson(); - } - if(notes.state == OptionalState.set) { - json['notes'] = notes.toJson(); - } - if(detectedConflicts.state == OptionalState.set) { - json['detectedConflicts'] = detectedConflicts.toJson(); - } - if(poReference.state == OptionalState.set) { - json['poReference'] = poReference.toJson(); - } - return json; - } - - CreateOrderVariables({ - required this.vendorId, - required this.businessId, - required this.orderType, - required this.location, - required this.status, - required this.date, - required this.startDate, - required this.endDate, - required this.duration, - required this.lunchBreak, - required this.total, - required this.eventName, - required this.assignedStaff, - required this.shifts, - required this.requested, - required this.hub, - required this.recurringDays, - required this.permanentStartDate, - required this.permanentDays, - required this.notes, - required this.detectedConflicts, - required this.poReference, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_recent_payment.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_recent_payment.dart deleted file mode 100644 index 8ea91831..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_recent_payment.dart +++ /dev/null @@ -1,170 +0,0 @@ -part of 'generated.dart'; - -class CreateRecentPaymentVariablesBuilder { - Optional _workedTime = Optional.optional(nativeFromJson, nativeToJson); - Optional _status = Optional.optional((data) => RecentPaymentStatus.values.byName(data), enumSerializer); - String staffId; - String applicationId; - String invoiceId; - - final FirebaseDataConnect _dataConnect; - CreateRecentPaymentVariablesBuilder workedTime(String? t) { - _workedTime.value = t; - return this; - } - CreateRecentPaymentVariablesBuilder status(RecentPaymentStatus? t) { - _status.value = t; - return this; - } - - CreateRecentPaymentVariablesBuilder(this._dataConnect, {required this.staffId,required this.applicationId,required this.invoiceId,}); - Deserializer dataDeserializer = (dynamic json) => CreateRecentPaymentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateRecentPaymentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateRecentPaymentVariables vars= CreateRecentPaymentVariables(workedTime: _workedTime,status: _status,staffId: staffId,applicationId: applicationId,invoiceId: invoiceId,); - return _dataConnect.mutation("createRecentPayment", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateRecentPaymentRecentPaymentInsert { - final String id; - CreateRecentPaymentRecentPaymentInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateRecentPaymentRecentPaymentInsert otherTyped = other as CreateRecentPaymentRecentPaymentInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateRecentPaymentRecentPaymentInsert({ - required this.id, - }); -} - -@immutable -class CreateRecentPaymentData { - final CreateRecentPaymentRecentPaymentInsert recentPayment_insert; - CreateRecentPaymentData.fromJson(dynamic json): - - recentPayment_insert = CreateRecentPaymentRecentPaymentInsert.fromJson(json['recentPayment_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateRecentPaymentData otherTyped = other as CreateRecentPaymentData; - return recentPayment_insert == otherTyped.recentPayment_insert; - - } - @override - int get hashCode => recentPayment_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['recentPayment_insert'] = recentPayment_insert.toJson(); - return json; - } - - CreateRecentPaymentData({ - required this.recentPayment_insert, - }); -} - -@immutable -class CreateRecentPaymentVariables { - late final OptionalworkedTime; - late final Optionalstatus; - final String staffId; - final String applicationId; - final String invoiceId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateRecentPaymentVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - applicationId = nativeFromJson(json['applicationId']), - invoiceId = nativeFromJson(json['invoiceId']) { - - - workedTime = Optional.optional(nativeFromJson, nativeToJson); - workedTime.value = json['workedTime'] == null ? null : nativeFromJson(json['workedTime']); - - - status = Optional.optional((data) => RecentPaymentStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : RecentPaymentStatus.values.byName(json['status']); - - - - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateRecentPaymentVariables otherTyped = other as CreateRecentPaymentVariables; - return workedTime == otherTyped.workedTime && - status == otherTyped.status && - staffId == otherTyped.staffId && - applicationId == otherTyped.applicationId && - invoiceId == otherTyped.invoiceId; - - } - @override - int get hashCode => Object.hashAll([workedTime.hashCode, status.hashCode, staffId.hashCode, applicationId.hashCode, invoiceId.hashCode]); - - - Map toJson() { - Map json = {}; - if(workedTime.state == OptionalState.set) { - json['workedTime'] = workedTime.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - json['staffId'] = nativeToJson(staffId); - json['applicationId'] = nativeToJson(applicationId); - json['invoiceId'] = nativeToJson(invoiceId); - return json; - } - - CreateRecentPaymentVariables({ - required this.workedTime, - required this.status, - required this.staffId, - required this.applicationId, - required this.invoiceId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_role.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_role.dart deleted file mode 100644 index 23bedc4e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_role.dart +++ /dev/null @@ -1,140 +0,0 @@ -part of 'generated.dart'; - -class CreateRoleVariablesBuilder { - String name; - double costPerHour; - String vendorId; - String roleCategoryId; - - final FirebaseDataConnect _dataConnect; - CreateRoleVariablesBuilder(this._dataConnect, {required this.name,required this.costPerHour,required this.vendorId,required this.roleCategoryId,}); - Deserializer dataDeserializer = (dynamic json) => CreateRoleData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateRoleVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateRoleVariables vars= CreateRoleVariables(name: name,costPerHour: costPerHour,vendorId: vendorId,roleCategoryId: roleCategoryId,); - return _dataConnect.mutation("createRole", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateRoleRoleInsert { - final String id; - CreateRoleRoleInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateRoleRoleInsert otherTyped = other as CreateRoleRoleInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateRoleRoleInsert({ - required this.id, - }); -} - -@immutable -class CreateRoleData { - final CreateRoleRoleInsert role_insert; - CreateRoleData.fromJson(dynamic json): - - role_insert = CreateRoleRoleInsert.fromJson(json['role_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateRoleData otherTyped = other as CreateRoleData; - return role_insert == otherTyped.role_insert; - - } - @override - int get hashCode => role_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['role_insert'] = role_insert.toJson(); - return json; - } - - CreateRoleData({ - required this.role_insert, - }); -} - -@immutable -class CreateRoleVariables { - final String name; - final double costPerHour; - final String vendorId; - final String roleCategoryId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateRoleVariables.fromJson(Map json): - - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']), - vendorId = nativeFromJson(json['vendorId']), - roleCategoryId = nativeFromJson(json['roleCategoryId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateRoleVariables otherTyped = other as CreateRoleVariables; - return name == otherTyped.name && - costPerHour == otherTyped.costPerHour && - vendorId == otherTyped.vendorId && - roleCategoryId == otherTyped.roleCategoryId; - - } - @override - int get hashCode => Object.hashAll([name.hashCode, costPerHour.hashCode, vendorId.hashCode, roleCategoryId.hashCode]); - - - Map toJson() { - Map json = {}; - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - json['vendorId'] = nativeToJson(vendorId); - json['roleCategoryId'] = nativeToJson(roleCategoryId); - return json; - } - - CreateRoleVariables({ - required this.name, - required this.costPerHour, - required this.vendorId, - required this.roleCategoryId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_role_category.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_role_category.dart deleted file mode 100644 index 2be167ee..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_role_category.dart +++ /dev/null @@ -1,130 +0,0 @@ -part of 'generated.dart'; - -class CreateRoleCategoryVariablesBuilder { - String roleName; - RoleCategoryType category; - - final FirebaseDataConnect _dataConnect; - CreateRoleCategoryVariablesBuilder(this._dataConnect, {required this.roleName,required this.category,}); - Deserializer dataDeserializer = (dynamic json) => CreateRoleCategoryData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateRoleCategoryVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateRoleCategoryVariables vars= CreateRoleCategoryVariables(roleName: roleName,category: category,); - return _dataConnect.mutation("createRoleCategory", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateRoleCategoryRoleCategoryInsert { - final String id; - CreateRoleCategoryRoleCategoryInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateRoleCategoryRoleCategoryInsert otherTyped = other as CreateRoleCategoryRoleCategoryInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateRoleCategoryRoleCategoryInsert({ - required this.id, - }); -} - -@immutable -class CreateRoleCategoryData { - final CreateRoleCategoryRoleCategoryInsert roleCategory_insert; - CreateRoleCategoryData.fromJson(dynamic json): - - roleCategory_insert = CreateRoleCategoryRoleCategoryInsert.fromJson(json['roleCategory_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateRoleCategoryData otherTyped = other as CreateRoleCategoryData; - return roleCategory_insert == otherTyped.roleCategory_insert; - - } - @override - int get hashCode => roleCategory_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['roleCategory_insert'] = roleCategory_insert.toJson(); - return json; - } - - CreateRoleCategoryData({ - required this.roleCategory_insert, - }); -} - -@immutable -class CreateRoleCategoryVariables { - final String roleName; - final RoleCategoryType category; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateRoleCategoryVariables.fromJson(Map json): - - roleName = nativeFromJson(json['roleName']), - category = RoleCategoryType.values.byName(json['category']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateRoleCategoryVariables otherTyped = other as CreateRoleCategoryVariables; - return roleName == otherTyped.roleName && - category == otherTyped.category; - - } - @override - int get hashCode => Object.hashAll([roleName.hashCode, category.hashCode]); - - - Map toJson() { - Map json = {}; - json['roleName'] = nativeToJson(roleName); - json['category'] = - category.name - ; - return json; - } - - CreateRoleCategoryVariables({ - required this.roleName, - required this.category, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_shift.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_shift.dart deleted file mode 100644 index 2f81c6de..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_shift.dart +++ /dev/null @@ -1,389 +0,0 @@ -part of 'generated.dart'; - -class CreateShiftVariablesBuilder { - String title; - String orderId; - Optional _date = Optional.optional((json) => json['date'] = Timestamp.fromJson(json['date']), defaultSerializer); - Optional _startTime = Optional.optional((json) => json['startTime'] = Timestamp.fromJson(json['startTime']), defaultSerializer); - Optional _endTime = Optional.optional((json) => json['endTime'] = Timestamp.fromJson(json['endTime']), defaultSerializer); - Optional _hours = Optional.optional(nativeFromJson, nativeToJson); - Optional _cost = Optional.optional(nativeFromJson, nativeToJson); - Optional _location = Optional.optional(nativeFromJson, nativeToJson); - Optional _locationAddress = Optional.optional(nativeFromJson, nativeToJson); - Optional _latitude = Optional.optional(nativeFromJson, nativeToJson); - Optional _longitude = Optional.optional(nativeFromJson, nativeToJson); - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - Optional _status = Optional.optional((data) => ShiftStatus.values.byName(data), enumSerializer); - Optional _workersNeeded = Optional.optional(nativeFromJson, nativeToJson); - Optional _filled = Optional.optional(nativeFromJson, nativeToJson); - Optional _filledAt = Optional.optional((json) => json['filledAt'] = Timestamp.fromJson(json['filledAt']), defaultSerializer); - Optional> _managers = Optional.optional(listDeserializer(AnyValue.fromJson), listSerializer(defaultSerializer)); - Optional _durationDays = Optional.optional(nativeFromJson, nativeToJson); - Optional _createdBy = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateShiftVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - CreateShiftVariablesBuilder startTime(Timestamp? t) { - _startTime.value = t; - return this; - } - CreateShiftVariablesBuilder endTime(Timestamp? t) { - _endTime.value = t; - return this; - } - CreateShiftVariablesBuilder hours(double? t) { - _hours.value = t; - return this; - } - CreateShiftVariablesBuilder cost(double? t) { - _cost.value = t; - return this; - } - CreateShiftVariablesBuilder location(String? t) { - _location.value = t; - return this; - } - CreateShiftVariablesBuilder locationAddress(String? t) { - _locationAddress.value = t; - return this; - } - CreateShiftVariablesBuilder latitude(double? t) { - _latitude.value = t; - return this; - } - CreateShiftVariablesBuilder longitude(double? t) { - _longitude.value = t; - return this; - } - CreateShiftVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateShiftVariablesBuilder status(ShiftStatus? t) { - _status.value = t; - return this; - } - CreateShiftVariablesBuilder workersNeeded(int? t) { - _workersNeeded.value = t; - return this; - } - CreateShiftVariablesBuilder filled(int? t) { - _filled.value = t; - return this; - } - CreateShiftVariablesBuilder filledAt(Timestamp? t) { - _filledAt.value = t; - return this; - } - CreateShiftVariablesBuilder managers(List? t) { - _managers.value = t; - return this; - } - CreateShiftVariablesBuilder durationDays(int? t) { - _durationDays.value = t; - return this; - } - CreateShiftVariablesBuilder createdBy(String? t) { - _createdBy.value = t; - return this; - } - - CreateShiftVariablesBuilder(this._dataConnect, {required this.title,required this.orderId,}); - Deserializer dataDeserializer = (dynamic json) => CreateShiftData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateShiftVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateShiftVariables vars= CreateShiftVariables(title: title,orderId: orderId,date: _date,startTime: _startTime,endTime: _endTime,hours: _hours,cost: _cost,location: _location,locationAddress: _locationAddress,latitude: _latitude,longitude: _longitude,description: _description,status: _status,workersNeeded: _workersNeeded,filled: _filled,filledAt: _filledAt,managers: _managers,durationDays: _durationDays,createdBy: _createdBy,); - return _dataConnect.mutation("createShift", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateShiftShiftInsert { - final String id; - CreateShiftShiftInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateShiftShiftInsert otherTyped = other as CreateShiftShiftInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateShiftShiftInsert({ - required this.id, - }); -} - -@immutable -class CreateShiftData { - final CreateShiftShiftInsert shift_insert; - CreateShiftData.fromJson(dynamic json): - - shift_insert = CreateShiftShiftInsert.fromJson(json['shift_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateShiftData otherTyped = other as CreateShiftData; - return shift_insert == otherTyped.shift_insert; - - } - @override - int get hashCode => shift_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['shift_insert'] = shift_insert.toJson(); - return json; - } - - CreateShiftData({ - required this.shift_insert, - }); -} - -@immutable -class CreateShiftVariables { - final String title; - final String orderId; - late final Optionaldate; - late final OptionalstartTime; - late final OptionalendTime; - late final Optionalhours; - late final Optionalcost; - late final Optionallocation; - late final OptionallocationAddress; - late final Optionallatitude; - late final Optionallongitude; - late final Optionaldescription; - late final Optionalstatus; - late final OptionalworkersNeeded; - late final Optionalfilled; - late final OptionalfilledAt; - late final Optional>managers; - late final OptionaldurationDays; - late final OptionalcreatedBy; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateShiftVariables.fromJson(Map json): - - title = nativeFromJson(json['title']), - orderId = nativeFromJson(json['orderId']) { - - - - - date = Optional.optional((json) => json['date'] = Timestamp.fromJson(json['date']), defaultSerializer); - date.value = json['date'] == null ? null : Timestamp.fromJson(json['date']); - - - startTime = Optional.optional((json) => json['startTime'] = Timestamp.fromJson(json['startTime']), defaultSerializer); - startTime.value = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']); - - - endTime = Optional.optional((json) => json['endTime'] = Timestamp.fromJson(json['endTime']), defaultSerializer); - endTime.value = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']); - - - hours = Optional.optional(nativeFromJson, nativeToJson); - hours.value = json['hours'] == null ? null : nativeFromJson(json['hours']); - - - cost = Optional.optional(nativeFromJson, nativeToJson); - cost.value = json['cost'] == null ? null : nativeFromJson(json['cost']); - - - location = Optional.optional(nativeFromJson, nativeToJson); - location.value = json['location'] == null ? null : nativeFromJson(json['location']); - - - locationAddress = Optional.optional(nativeFromJson, nativeToJson); - locationAddress.value = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']); - - - latitude = Optional.optional(nativeFromJson, nativeToJson); - latitude.value = json['latitude'] == null ? null : nativeFromJson(json['latitude']); - - - longitude = Optional.optional(nativeFromJson, nativeToJson); - longitude.value = json['longitude'] == null ? null : nativeFromJson(json['longitude']); - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - - status = Optional.optional((data) => ShiftStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : ShiftStatus.values.byName(json['status']); - - - workersNeeded = Optional.optional(nativeFromJson, nativeToJson); - workersNeeded.value = json['workersNeeded'] == null ? null : nativeFromJson(json['workersNeeded']); - - - filled = Optional.optional(nativeFromJson, nativeToJson); - filled.value = json['filled'] == null ? null : nativeFromJson(json['filled']); - - - filledAt = Optional.optional((json) => json['filledAt'] = Timestamp.fromJson(json['filledAt']), defaultSerializer); - filledAt.value = json['filledAt'] == null ? null : Timestamp.fromJson(json['filledAt']); - - - managers = Optional.optional(listDeserializer(AnyValue.fromJson), listSerializer(defaultSerializer)); - managers.value = json['managers'] == null ? null : (json['managers'] as List) - .map((e) => AnyValue.fromJson(e)) - .toList(); - - - durationDays = Optional.optional(nativeFromJson, nativeToJson); - durationDays.value = json['durationDays'] == null ? null : nativeFromJson(json['durationDays']); - - - createdBy = Optional.optional(nativeFromJson, nativeToJson); - createdBy.value = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateShiftVariables otherTyped = other as CreateShiftVariables; - return title == otherTyped.title && - orderId == otherTyped.orderId && - date == otherTyped.date && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - cost == otherTyped.cost && - location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - latitude == otherTyped.latitude && - longitude == otherTyped.longitude && - description == otherTyped.description && - status == otherTyped.status && - workersNeeded == otherTyped.workersNeeded && - filled == otherTyped.filled && - filledAt == otherTyped.filledAt && - managers == otherTyped.managers && - durationDays == otherTyped.durationDays && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([title.hashCode, orderId.hashCode, date.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, cost.hashCode, location.hashCode, locationAddress.hashCode, latitude.hashCode, longitude.hashCode, description.hashCode, status.hashCode, workersNeeded.hashCode, filled.hashCode, filledAt.hashCode, managers.hashCode, durationDays.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['title'] = nativeToJson(title); - json['orderId'] = nativeToJson(orderId); - if(date.state == OptionalState.set) { - json['date'] = date.toJson(); - } - if(startTime.state == OptionalState.set) { - json['startTime'] = startTime.toJson(); - } - if(endTime.state == OptionalState.set) { - json['endTime'] = endTime.toJson(); - } - if(hours.state == OptionalState.set) { - json['hours'] = hours.toJson(); - } - if(cost.state == OptionalState.set) { - json['cost'] = cost.toJson(); - } - if(location.state == OptionalState.set) { - json['location'] = location.toJson(); - } - if(locationAddress.state == OptionalState.set) { - json['locationAddress'] = locationAddress.toJson(); - } - if(latitude.state == OptionalState.set) { - json['latitude'] = latitude.toJson(); - } - if(longitude.state == OptionalState.set) { - json['longitude'] = longitude.toJson(); - } - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(workersNeeded.state == OptionalState.set) { - json['workersNeeded'] = workersNeeded.toJson(); - } - if(filled.state == OptionalState.set) { - json['filled'] = filled.toJson(); - } - if(filledAt.state == OptionalState.set) { - json['filledAt'] = filledAt.toJson(); - } - if(managers.state == OptionalState.set) { - json['managers'] = managers.toJson(); - } - if(durationDays.state == OptionalState.set) { - json['durationDays'] = durationDays.toJson(); - } - if(createdBy.state == OptionalState.set) { - json['createdBy'] = createdBy.toJson(); - } - return json; - } - - CreateShiftVariables({ - required this.title, - required this.orderId, - required this.date, - required this.startTime, - required this.endTime, - required this.hours, - required this.cost, - required this.location, - required this.locationAddress, - required this.latitude, - required this.longitude, - required this.description, - required this.status, - required this.workersNeeded, - required this.filled, - required this.filledAt, - required this.managers, - required this.durationDays, - required this.createdBy, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_shift_role.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_shift_role.dart deleted file mode 100644 index 8ecf9b74..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_shift_role.dart +++ /dev/null @@ -1,264 +0,0 @@ -part of 'generated.dart'; - -class CreateShiftRoleVariablesBuilder { - String shiftId; - String roleId; - int count; - Optional _assigned = Optional.optional(nativeFromJson, nativeToJson); - Optional _startTime = Optional.optional((json) => json['startTime'] = Timestamp.fromJson(json['startTime']), defaultSerializer); - Optional _endTime = Optional.optional((json) => json['endTime'] = Timestamp.fromJson(json['endTime']), defaultSerializer); - Optional _hours = Optional.optional(nativeFromJson, nativeToJson); - Optional _department = Optional.optional(nativeFromJson, nativeToJson); - Optional _uniform = Optional.optional(nativeFromJson, nativeToJson); - Optional _breakType = Optional.optional((data) => BreakDuration.values.byName(data), enumSerializer); - Optional _totalValue = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateShiftRoleVariablesBuilder assigned(int? t) { - _assigned.value = t; - return this; - } - CreateShiftRoleVariablesBuilder startTime(Timestamp? t) { - _startTime.value = t; - return this; - } - CreateShiftRoleVariablesBuilder endTime(Timestamp? t) { - _endTime.value = t; - return this; - } - CreateShiftRoleVariablesBuilder hours(double? t) { - _hours.value = t; - return this; - } - CreateShiftRoleVariablesBuilder department(String? t) { - _department.value = t; - return this; - } - CreateShiftRoleVariablesBuilder uniform(String? t) { - _uniform.value = t; - return this; - } - CreateShiftRoleVariablesBuilder breakType(BreakDuration? t) { - _breakType.value = t; - return this; - } - CreateShiftRoleVariablesBuilder totalValue(double? t) { - _totalValue.value = t; - return this; - } - - CreateShiftRoleVariablesBuilder(this._dataConnect, {required this.shiftId,required this.roleId,required this.count,}); - Deserializer dataDeserializer = (dynamic json) => CreateShiftRoleData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateShiftRoleVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateShiftRoleVariables vars= CreateShiftRoleVariables(shiftId: shiftId,roleId: roleId,count: count,assigned: _assigned,startTime: _startTime,endTime: _endTime,hours: _hours,department: _department,uniform: _uniform,breakType: _breakType,totalValue: _totalValue,); - return _dataConnect.mutation("createShiftRole", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateShiftRoleShiftRoleInsert { - final String shiftId; - final String roleId; - CreateShiftRoleShiftRoleInsert.fromJson(dynamic json): - - shiftId = nativeFromJson(json['shiftId']), - roleId = nativeFromJson(json['roleId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateShiftRoleShiftRoleInsert otherTyped = other as CreateShiftRoleShiftRoleInsert; - return shiftId == otherTyped.shiftId && - roleId == otherTyped.roleId; - - } - @override - int get hashCode => Object.hashAll([shiftId.hashCode, roleId.hashCode]); - - - Map toJson() { - Map json = {}; - json['shiftId'] = nativeToJson(shiftId); - json['roleId'] = nativeToJson(roleId); - return json; - } - - CreateShiftRoleShiftRoleInsert({ - required this.shiftId, - required this.roleId, - }); -} - -@immutable -class CreateShiftRoleData { - final CreateShiftRoleShiftRoleInsert shiftRole_insert; - CreateShiftRoleData.fromJson(dynamic json): - - shiftRole_insert = CreateShiftRoleShiftRoleInsert.fromJson(json['shiftRole_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateShiftRoleData otherTyped = other as CreateShiftRoleData; - return shiftRole_insert == otherTyped.shiftRole_insert; - - } - @override - int get hashCode => shiftRole_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['shiftRole_insert'] = shiftRole_insert.toJson(); - return json; - } - - CreateShiftRoleData({ - required this.shiftRole_insert, - }); -} - -@immutable -class CreateShiftRoleVariables { - final String shiftId; - final String roleId; - final int count; - late final Optionalassigned; - late final OptionalstartTime; - late final OptionalendTime; - late final Optionalhours; - late final Optionaldepartment; - late final Optionaluniform; - late final OptionalbreakType; - late final OptionaltotalValue; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateShiftRoleVariables.fromJson(Map json): - - shiftId = nativeFromJson(json['shiftId']), - roleId = nativeFromJson(json['roleId']), - count = nativeFromJson(json['count']) { - - - - - - assigned = Optional.optional(nativeFromJson, nativeToJson); - assigned.value = json['assigned'] == null ? null : nativeFromJson(json['assigned']); - - - startTime = Optional.optional((json) => json['startTime'] = Timestamp.fromJson(json['startTime']), defaultSerializer); - startTime.value = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']); - - - endTime = Optional.optional((json) => json['endTime'] = Timestamp.fromJson(json['endTime']), defaultSerializer); - endTime.value = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']); - - - hours = Optional.optional(nativeFromJson, nativeToJson); - hours.value = json['hours'] == null ? null : nativeFromJson(json['hours']); - - - department = Optional.optional(nativeFromJson, nativeToJson); - department.value = json['department'] == null ? null : nativeFromJson(json['department']); - - - uniform = Optional.optional(nativeFromJson, nativeToJson); - uniform.value = json['uniform'] == null ? null : nativeFromJson(json['uniform']); - - - breakType = Optional.optional((data) => BreakDuration.values.byName(data), enumSerializer); - breakType.value = json['breakType'] == null ? null : BreakDuration.values.byName(json['breakType']); - - - totalValue = Optional.optional(nativeFromJson, nativeToJson); - totalValue.value = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateShiftRoleVariables otherTyped = other as CreateShiftRoleVariables; - return shiftId == otherTyped.shiftId && - roleId == otherTyped.roleId && - count == otherTyped.count && - assigned == otherTyped.assigned && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - department == otherTyped.department && - uniform == otherTyped.uniform && - breakType == otherTyped.breakType && - totalValue == otherTyped.totalValue; - - } - @override - int get hashCode => Object.hashAll([shiftId.hashCode, roleId.hashCode, count.hashCode, assigned.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, department.hashCode, uniform.hashCode, breakType.hashCode, totalValue.hashCode]); - - - Map toJson() { - Map json = {}; - json['shiftId'] = nativeToJson(shiftId); - json['roleId'] = nativeToJson(roleId); - json['count'] = nativeToJson(count); - if(assigned.state == OptionalState.set) { - json['assigned'] = assigned.toJson(); - } - if(startTime.state == OptionalState.set) { - json['startTime'] = startTime.toJson(); - } - if(endTime.state == OptionalState.set) { - json['endTime'] = endTime.toJson(); - } - if(hours.state == OptionalState.set) { - json['hours'] = hours.toJson(); - } - if(department.state == OptionalState.set) { - json['department'] = department.toJson(); - } - if(uniform.state == OptionalState.set) { - json['uniform'] = uniform.toJson(); - } - if(breakType.state == OptionalState.set) { - json['breakType'] = breakType.toJson(); - } - if(totalValue.state == OptionalState.set) { - json['totalValue'] = totalValue.toJson(); - } - return json; - } - - CreateShiftRoleVariables({ - required this.shiftId, - required this.roleId, - required this.count, - required this.assigned, - required this.startTime, - required this.endTime, - required this.hours, - required this.department, - required this.uniform, - required this.breakType, - required this.totalValue, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff.dart deleted file mode 100644 index 67fa5264..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff.dart +++ /dev/null @@ -1,597 +0,0 @@ -part of 'generated.dart'; - -class CreateStaffVariablesBuilder { - String userId; - String fullName; - Optional _level = Optional.optional(nativeFromJson, nativeToJson); - Optional _role = Optional.optional(nativeFromJson, nativeToJson); - Optional _phone = Optional.optional(nativeFromJson, nativeToJson); - Optional _email = Optional.optional(nativeFromJson, nativeToJson); - Optional _photoUrl = Optional.optional(nativeFromJson, nativeToJson); - Optional _totalShifts = Optional.optional(nativeFromJson, nativeToJson); - Optional _averageRating = Optional.optional(nativeFromJson, nativeToJson); - Optional _onTimeRate = Optional.optional(nativeFromJson, nativeToJson); - Optional _noShowCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _cancellationCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _reliabilityScore = Optional.optional(nativeFromJson, nativeToJson); - Optional _bio = Optional.optional(nativeFromJson, nativeToJson); - Optional _industries = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _preferredLocations = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _maxDistanceMiles = Optional.optional(nativeFromJson, nativeToJson); - Optional _languages = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _itemsAttire = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _xp = Optional.optional(nativeFromJson, nativeToJson); - Optional _badges = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _isRecommended = Optional.optional(nativeFromJson, nativeToJson); - Optional _ownerId = Optional.optional(nativeFromJson, nativeToJson); - Optional _department = Optional.optional((data) => DepartmentType.values.byName(data), enumSerializer); - Optional _hubId = Optional.optional(nativeFromJson, nativeToJson); - Optional _manager = Optional.optional(nativeFromJson, nativeToJson); - Optional _english = Optional.optional((data) => EnglishProficiency.values.byName(data), enumSerializer); - Optional _backgroundCheckStatus = Optional.optional((data) => BackgroundCheckStatus.values.byName(data), enumSerializer); - Optional _employmentType = Optional.optional((data) => EmploymentType.values.byName(data), enumSerializer); - Optional _initial = Optional.optional(nativeFromJson, nativeToJson); - Optional _englishRequired = Optional.optional(nativeFromJson, nativeToJson); - Optional _city = Optional.optional(nativeFromJson, nativeToJson); - Optional _addres = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateStaffVariablesBuilder level(String? t) { - _level.value = t; - return this; - } - CreateStaffVariablesBuilder role(String? t) { - _role.value = t; - return this; - } - CreateStaffVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - CreateStaffVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateStaffVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - CreateStaffVariablesBuilder totalShifts(int? t) { - _totalShifts.value = t; - return this; - } - CreateStaffVariablesBuilder averageRating(double? t) { - _averageRating.value = t; - return this; - } - CreateStaffVariablesBuilder onTimeRate(int? t) { - _onTimeRate.value = t; - return this; - } - CreateStaffVariablesBuilder noShowCount(int? t) { - _noShowCount.value = t; - return this; - } - CreateStaffVariablesBuilder cancellationCount(int? t) { - _cancellationCount.value = t; - return this; - } - CreateStaffVariablesBuilder reliabilityScore(int? t) { - _reliabilityScore.value = t; - return this; - } - CreateStaffVariablesBuilder bio(String? t) { - _bio.value = t; - return this; - } - CreateStaffVariablesBuilder industries(AnyValue? t) { - _industries.value = t; - return this; - } - CreateStaffVariablesBuilder preferredLocations(AnyValue? t) { - _preferredLocations.value = t; - return this; - } - CreateStaffVariablesBuilder maxDistanceMiles(int? t) { - _maxDistanceMiles.value = t; - return this; - } - CreateStaffVariablesBuilder languages(AnyValue? t) { - _languages.value = t; - return this; - } - CreateStaffVariablesBuilder itemsAttire(AnyValue? t) { - _itemsAttire.value = t; - return this; - } - CreateStaffVariablesBuilder xp(int? t) { - _xp.value = t; - return this; - } - CreateStaffVariablesBuilder badges(AnyValue? t) { - _badges.value = t; - return this; - } - CreateStaffVariablesBuilder isRecommended(bool? t) { - _isRecommended.value = t; - return this; - } - CreateStaffVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - CreateStaffVariablesBuilder department(DepartmentType? t) { - _department.value = t; - return this; - } - CreateStaffVariablesBuilder hubId(String? t) { - _hubId.value = t; - return this; - } - CreateStaffVariablesBuilder manager(String? t) { - _manager.value = t; - return this; - } - CreateStaffVariablesBuilder english(EnglishProficiency? t) { - _english.value = t; - return this; - } - CreateStaffVariablesBuilder backgroundCheckStatus(BackgroundCheckStatus? t) { - _backgroundCheckStatus.value = t; - return this; - } - CreateStaffVariablesBuilder employmentType(EmploymentType? t) { - _employmentType.value = t; - return this; - } - CreateStaffVariablesBuilder initial(String? t) { - _initial.value = t; - return this; - } - CreateStaffVariablesBuilder englishRequired(bool? t) { - _englishRequired.value = t; - return this; - } - CreateStaffVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - CreateStaffVariablesBuilder addres(String? t) { - _addres.value = t; - return this; - } - - CreateStaffVariablesBuilder(this._dataConnect, {required this.userId,required this.fullName,}); - Deserializer dataDeserializer = (dynamic json) => CreateStaffData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateStaffVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateStaffVariables vars= CreateStaffVariables(userId: userId,fullName: fullName,level: _level,role: _role,phone: _phone,email: _email,photoUrl: _photoUrl,totalShifts: _totalShifts,averageRating: _averageRating,onTimeRate: _onTimeRate,noShowCount: _noShowCount,cancellationCount: _cancellationCount,reliabilityScore: _reliabilityScore,bio: _bio,industries: _industries,preferredLocations: _preferredLocations,maxDistanceMiles: _maxDistanceMiles,languages: _languages,itemsAttire: _itemsAttire,xp: _xp,badges: _badges,isRecommended: _isRecommended,ownerId: _ownerId,department: _department,hubId: _hubId,manager: _manager,english: _english,backgroundCheckStatus: _backgroundCheckStatus,employmentType: _employmentType,initial: _initial,englishRequired: _englishRequired,city: _city,addres: _addres,); - return _dataConnect.mutation("CreateStaff", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateStaffStaffInsert { - final String id; - CreateStaffStaffInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffStaffInsert otherTyped = other as CreateStaffStaffInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateStaffStaffInsert({ - required this.id, - }); -} - -@immutable -class CreateStaffData { - final CreateStaffStaffInsert staff_insert; - CreateStaffData.fromJson(dynamic json): - - staff_insert = CreateStaffStaffInsert.fromJson(json['staff_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffData otherTyped = other as CreateStaffData; - return staff_insert == otherTyped.staff_insert; - - } - @override - int get hashCode => staff_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['staff_insert'] = staff_insert.toJson(); - return json; - } - - CreateStaffData({ - required this.staff_insert, - }); -} - -@immutable -class CreateStaffVariables { - final String userId; - final String fullName; - late final Optionallevel; - late final Optionalrole; - late final Optionalphone; - late final Optionalemail; - late final OptionalphotoUrl; - late final OptionaltotalShifts; - late final OptionalaverageRating; - late final OptionalonTimeRate; - late final OptionalnoShowCount; - late final OptionalcancellationCount; - late final OptionalreliabilityScore; - late final Optionalbio; - late final Optionalindustries; - late final OptionalpreferredLocations; - late final OptionalmaxDistanceMiles; - late final Optionallanguages; - late final OptionalitemsAttire; - late final Optionalxp; - late final Optionalbadges; - late final OptionalisRecommended; - late final OptionalownerId; - late final Optionaldepartment; - late final OptionalhubId; - late final Optionalmanager; - late final Optionalenglish; - late final OptionalbackgroundCheckStatus; - late final OptionalemploymentType; - late final Optionalinitial; - late final OptionalenglishRequired; - late final Optionalcity; - late final Optionaladdres; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateStaffVariables.fromJson(Map json): - - userId = nativeFromJson(json['userId']), - fullName = nativeFromJson(json['fullName']) { - - - - - level = Optional.optional(nativeFromJson, nativeToJson); - level.value = json['level'] == null ? null : nativeFromJson(json['level']); - - - role = Optional.optional(nativeFromJson, nativeToJson); - role.value = json['role'] == null ? null : nativeFromJson(json['role']); - - - phone = Optional.optional(nativeFromJson, nativeToJson); - phone.value = json['phone'] == null ? null : nativeFromJson(json['phone']); - - - email = Optional.optional(nativeFromJson, nativeToJson); - email.value = json['email'] == null ? null : nativeFromJson(json['email']); - - - photoUrl = Optional.optional(nativeFromJson, nativeToJson); - photoUrl.value = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']); - - - totalShifts = Optional.optional(nativeFromJson, nativeToJson); - totalShifts.value = json['totalShifts'] == null ? null : nativeFromJson(json['totalShifts']); - - - averageRating = Optional.optional(nativeFromJson, nativeToJson); - averageRating.value = json['averageRating'] == null ? null : nativeFromJson(json['averageRating']); - - - onTimeRate = Optional.optional(nativeFromJson, nativeToJson); - onTimeRate.value = json['onTimeRate'] == null ? null : nativeFromJson(json['onTimeRate']); - - - noShowCount = Optional.optional(nativeFromJson, nativeToJson); - noShowCount.value = json['noShowCount'] == null ? null : nativeFromJson(json['noShowCount']); - - - cancellationCount = Optional.optional(nativeFromJson, nativeToJson); - cancellationCount.value = json['cancellationCount'] == null ? null : nativeFromJson(json['cancellationCount']); - - - reliabilityScore = Optional.optional(nativeFromJson, nativeToJson); - reliabilityScore.value = json['reliabilityScore'] == null ? null : nativeFromJson(json['reliabilityScore']); - - - bio = Optional.optional(nativeFromJson, nativeToJson); - bio.value = json['bio'] == null ? null : nativeFromJson(json['bio']); - - - industries = Optional.optional(AnyValue.fromJson, defaultSerializer); - industries.value = json['industries'] == null ? null : AnyValue.fromJson(json['industries']); - - - preferredLocations = Optional.optional(AnyValue.fromJson, defaultSerializer); - preferredLocations.value = json['preferredLocations'] == null ? null : AnyValue.fromJson(json['preferredLocations']); - - - maxDistanceMiles = Optional.optional(nativeFromJson, nativeToJson); - maxDistanceMiles.value = json['maxDistanceMiles'] == null ? null : nativeFromJson(json['maxDistanceMiles']); - - - languages = Optional.optional(AnyValue.fromJson, defaultSerializer); - languages.value = json['languages'] == null ? null : AnyValue.fromJson(json['languages']); - - - itemsAttire = Optional.optional(AnyValue.fromJson, defaultSerializer); - itemsAttire.value = json['itemsAttire'] == null ? null : AnyValue.fromJson(json['itemsAttire']); - - - xp = Optional.optional(nativeFromJson, nativeToJson); - xp.value = json['xp'] == null ? null : nativeFromJson(json['xp']); - - - badges = Optional.optional(AnyValue.fromJson, defaultSerializer); - badges.value = json['badges'] == null ? null : AnyValue.fromJson(json['badges']); - - - isRecommended = Optional.optional(nativeFromJson, nativeToJson); - isRecommended.value = json['isRecommended'] == null ? null : nativeFromJson(json['isRecommended']); - - - ownerId = Optional.optional(nativeFromJson, nativeToJson); - ownerId.value = json['ownerId'] == null ? null : nativeFromJson(json['ownerId']); - - - department = Optional.optional((data) => DepartmentType.values.byName(data), enumSerializer); - department.value = json['department'] == null ? null : DepartmentType.values.byName(json['department']); - - - hubId = Optional.optional(nativeFromJson, nativeToJson); - hubId.value = json['hubId'] == null ? null : nativeFromJson(json['hubId']); - - - manager = Optional.optional(nativeFromJson, nativeToJson); - manager.value = json['manager'] == null ? null : nativeFromJson(json['manager']); - - - english = Optional.optional((data) => EnglishProficiency.values.byName(data), enumSerializer); - english.value = json['english'] == null ? null : EnglishProficiency.values.byName(json['english']); - - - backgroundCheckStatus = Optional.optional((data) => BackgroundCheckStatus.values.byName(data), enumSerializer); - backgroundCheckStatus.value = json['backgroundCheckStatus'] == null ? null : BackgroundCheckStatus.values.byName(json['backgroundCheckStatus']); - - - employmentType = Optional.optional((data) => EmploymentType.values.byName(data), enumSerializer); - employmentType.value = json['employmentType'] == null ? null : EmploymentType.values.byName(json['employmentType']); - - - initial = Optional.optional(nativeFromJson, nativeToJson); - initial.value = json['initial'] == null ? null : nativeFromJson(json['initial']); - - - englishRequired = Optional.optional(nativeFromJson, nativeToJson); - englishRequired.value = json['englishRequired'] == null ? null : nativeFromJson(json['englishRequired']); - - - city = Optional.optional(nativeFromJson, nativeToJson); - city.value = json['city'] == null ? null : nativeFromJson(json['city']); - - - addres = Optional.optional(nativeFromJson, nativeToJson); - addres.value = json['addres'] == null ? null : nativeFromJson(json['addres']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffVariables otherTyped = other as CreateStaffVariables; - return userId == otherTyped.userId && - fullName == otherTyped.fullName && - level == otherTyped.level && - role == otherTyped.role && - phone == otherTyped.phone && - email == otherTyped.email && - photoUrl == otherTyped.photoUrl && - totalShifts == otherTyped.totalShifts && - averageRating == otherTyped.averageRating && - onTimeRate == otherTyped.onTimeRate && - noShowCount == otherTyped.noShowCount && - cancellationCount == otherTyped.cancellationCount && - reliabilityScore == otherTyped.reliabilityScore && - bio == otherTyped.bio && - industries == otherTyped.industries && - preferredLocations == otherTyped.preferredLocations && - maxDistanceMiles == otherTyped.maxDistanceMiles && - languages == otherTyped.languages && - itemsAttire == otherTyped.itemsAttire && - xp == otherTyped.xp && - badges == otherTyped.badges && - isRecommended == otherTyped.isRecommended && - ownerId == otherTyped.ownerId && - department == otherTyped.department && - hubId == otherTyped.hubId && - manager == otherTyped.manager && - english == otherTyped.english && - backgroundCheckStatus == otherTyped.backgroundCheckStatus && - employmentType == otherTyped.employmentType && - initial == otherTyped.initial && - englishRequired == otherTyped.englishRequired && - city == otherTyped.city && - addres == otherTyped.addres; - - } - @override - int get hashCode => Object.hashAll([userId.hashCode, fullName.hashCode, level.hashCode, role.hashCode, phone.hashCode, email.hashCode, photoUrl.hashCode, totalShifts.hashCode, averageRating.hashCode, onTimeRate.hashCode, noShowCount.hashCode, cancellationCount.hashCode, reliabilityScore.hashCode, bio.hashCode, industries.hashCode, preferredLocations.hashCode, maxDistanceMiles.hashCode, languages.hashCode, itemsAttire.hashCode, xp.hashCode, badges.hashCode, isRecommended.hashCode, ownerId.hashCode, department.hashCode, hubId.hashCode, manager.hashCode, english.hashCode, backgroundCheckStatus.hashCode, employmentType.hashCode, initial.hashCode, englishRequired.hashCode, city.hashCode, addres.hashCode]); - - - Map toJson() { - Map json = {}; - json['userId'] = nativeToJson(userId); - json['fullName'] = nativeToJson(fullName); - if(level.state == OptionalState.set) { - json['level'] = level.toJson(); - } - if(role.state == OptionalState.set) { - json['role'] = role.toJson(); - } - if(phone.state == OptionalState.set) { - json['phone'] = phone.toJson(); - } - if(email.state == OptionalState.set) { - json['email'] = email.toJson(); - } - if(photoUrl.state == OptionalState.set) { - json['photoUrl'] = photoUrl.toJson(); - } - if(totalShifts.state == OptionalState.set) { - json['totalShifts'] = totalShifts.toJson(); - } - if(averageRating.state == OptionalState.set) { - json['averageRating'] = averageRating.toJson(); - } - if(onTimeRate.state == OptionalState.set) { - json['onTimeRate'] = onTimeRate.toJson(); - } - if(noShowCount.state == OptionalState.set) { - json['noShowCount'] = noShowCount.toJson(); - } - if(cancellationCount.state == OptionalState.set) { - json['cancellationCount'] = cancellationCount.toJson(); - } - if(reliabilityScore.state == OptionalState.set) { - json['reliabilityScore'] = reliabilityScore.toJson(); - } - if(bio.state == OptionalState.set) { - json['bio'] = bio.toJson(); - } - if(industries.state == OptionalState.set) { - json['industries'] = industries.toJson(); - } - if(preferredLocations.state == OptionalState.set) { - json['preferredLocations'] = preferredLocations.toJson(); - } - if(maxDistanceMiles.state == OptionalState.set) { - json['maxDistanceMiles'] = maxDistanceMiles.toJson(); - } - if(languages.state == OptionalState.set) { - json['languages'] = languages.toJson(); - } - if(itemsAttire.state == OptionalState.set) { - json['itemsAttire'] = itemsAttire.toJson(); - } - if(xp.state == OptionalState.set) { - json['xp'] = xp.toJson(); - } - if(badges.state == OptionalState.set) { - json['badges'] = badges.toJson(); - } - if(isRecommended.state == OptionalState.set) { - json['isRecommended'] = isRecommended.toJson(); - } - if(ownerId.state == OptionalState.set) { - json['ownerId'] = ownerId.toJson(); - } - if(department.state == OptionalState.set) { - json['department'] = department.toJson(); - } - if(hubId.state == OptionalState.set) { - json['hubId'] = hubId.toJson(); - } - if(manager.state == OptionalState.set) { - json['manager'] = manager.toJson(); - } - if(english.state == OptionalState.set) { - json['english'] = english.toJson(); - } - if(backgroundCheckStatus.state == OptionalState.set) { - json['backgroundCheckStatus'] = backgroundCheckStatus.toJson(); - } - if(employmentType.state == OptionalState.set) { - json['employmentType'] = employmentType.toJson(); - } - if(initial.state == OptionalState.set) { - json['initial'] = initial.toJson(); - } - if(englishRequired.state == OptionalState.set) { - json['englishRequired'] = englishRequired.toJson(); - } - if(city.state == OptionalState.set) { - json['city'] = city.toJson(); - } - if(addres.state == OptionalState.set) { - json['addres'] = addres.toJson(); - } - return json; - } - - CreateStaffVariables({ - required this.userId, - required this.fullName, - required this.level, - required this.role, - required this.phone, - required this.email, - required this.photoUrl, - required this.totalShifts, - required this.averageRating, - required this.onTimeRate, - required this.noShowCount, - required this.cancellationCount, - required this.reliabilityScore, - required this.bio, - required this.industries, - required this.preferredLocations, - required this.maxDistanceMiles, - required this.languages, - required this.itemsAttire, - required this.xp, - required this.badges, - required this.isRecommended, - required this.ownerId, - required this.department, - required this.hubId, - required this.manager, - required this.english, - required this.backgroundCheckStatus, - required this.employmentType, - required this.initial, - required this.englishRequired, - required this.city, - required this.addres, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_availability.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_availability.dart deleted file mode 100644 index 54d2268e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_availability.dart +++ /dev/null @@ -1,187 +0,0 @@ -part of 'generated.dart'; - -class CreateStaffAvailabilityVariablesBuilder { - String staffId; - DayOfWeek day; - AvailabilitySlot slot; - Optional _status = Optional.optional((data) => AvailabilityStatus.values.byName(data), enumSerializer); - Optional _notes = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateStaffAvailabilityVariablesBuilder status(AvailabilityStatus? t) { - _status.value = t; - return this; - } - CreateStaffAvailabilityVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - CreateStaffAvailabilityVariablesBuilder(this._dataConnect, {required this.staffId,required this.day,required this.slot,}); - Deserializer dataDeserializer = (dynamic json) => CreateStaffAvailabilityData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateStaffAvailabilityVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateStaffAvailabilityVariables vars= CreateStaffAvailabilityVariables(staffId: staffId,day: day,slot: slot,status: _status,notes: _notes,); - return _dataConnect.mutation("createStaffAvailability", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateStaffAvailabilityStaffAvailabilityInsert { - final String staffId; - final EnumValue day; - final EnumValue slot; - CreateStaffAvailabilityStaffAvailabilityInsert.fromJson(dynamic json): - - staffId = nativeFromJson(json['staffId']), - day = dayOfWeekDeserializer(json['day']), - slot = availabilitySlotDeserializer(json['slot']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffAvailabilityStaffAvailabilityInsert otherTyped = other as CreateStaffAvailabilityStaffAvailabilityInsert; - return staffId == otherTyped.staffId && - day == otherTyped.day && - slot == otherTyped.slot; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, day.hashCode, slot.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['day'] = - dayOfWeekSerializer(day) - ; - json['slot'] = - availabilitySlotSerializer(slot) - ; - return json; - } - - CreateStaffAvailabilityStaffAvailabilityInsert({ - required this.staffId, - required this.day, - required this.slot, - }); -} - -@immutable -class CreateStaffAvailabilityData { - final CreateStaffAvailabilityStaffAvailabilityInsert staffAvailability_insert; - CreateStaffAvailabilityData.fromJson(dynamic json): - - staffAvailability_insert = CreateStaffAvailabilityStaffAvailabilityInsert.fromJson(json['staffAvailability_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffAvailabilityData otherTyped = other as CreateStaffAvailabilityData; - return staffAvailability_insert == otherTyped.staffAvailability_insert; - - } - @override - int get hashCode => staffAvailability_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['staffAvailability_insert'] = staffAvailability_insert.toJson(); - return json; - } - - CreateStaffAvailabilityData({ - required this.staffAvailability_insert, - }); -} - -@immutable -class CreateStaffAvailabilityVariables { - final String staffId; - final DayOfWeek day; - final AvailabilitySlot slot; - late final Optionalstatus; - late final Optionalnotes; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateStaffAvailabilityVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - day = DayOfWeek.values.byName(json['day']), - slot = AvailabilitySlot.values.byName(json['slot']) { - - - - - - status = Optional.optional((data) => AvailabilityStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : AvailabilityStatus.values.byName(json['status']); - - - notes = Optional.optional(nativeFromJson, nativeToJson); - notes.value = json['notes'] == null ? null : nativeFromJson(json['notes']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffAvailabilityVariables otherTyped = other as CreateStaffAvailabilityVariables; - return staffId == otherTyped.staffId && - day == otherTyped.day && - slot == otherTyped.slot && - status == otherTyped.status && - notes == otherTyped.notes; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, day.hashCode, slot.hashCode, status.hashCode, notes.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['day'] = - day.name - ; - json['slot'] = - slot.name - ; - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(notes.state == OptionalState.set) { - json['notes'] = notes.toJson(); - } - return json; - } - - CreateStaffAvailabilityVariables({ - required this.staffId, - required this.day, - required this.slot, - required this.status, - required this.notes, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_availability_stats.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_availability_stats.dart deleted file mode 100644 index 2b267e0f..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_availability_stats.dart +++ /dev/null @@ -1,230 +0,0 @@ -part of 'generated.dart'; - -class CreateStaffAvailabilityStatsVariablesBuilder { - String staffId; - Optional _needWorkIndex = Optional.optional(nativeFromJson, nativeToJson); - Optional _utilizationPercentage = Optional.optional(nativeFromJson, nativeToJson); - Optional _predictedAvailabilityScore = Optional.optional(nativeFromJson, nativeToJson); - Optional _scheduledHoursThisPeriod = Optional.optional(nativeFromJson, nativeToJson); - Optional _desiredHoursThisPeriod = Optional.optional(nativeFromJson, nativeToJson); - Optional _lastShiftDate = Optional.optional((json) => json['lastShiftDate'] = Timestamp.fromJson(json['lastShiftDate']), defaultSerializer); - Optional _acceptanceRate = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateStaffAvailabilityStatsVariablesBuilder needWorkIndex(int? t) { - _needWorkIndex.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder utilizationPercentage(int? t) { - _utilizationPercentage.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder predictedAvailabilityScore(int? t) { - _predictedAvailabilityScore.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder scheduledHoursThisPeriod(int? t) { - _scheduledHoursThisPeriod.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder desiredHoursThisPeriod(int? t) { - _desiredHoursThisPeriod.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder lastShiftDate(Timestamp? t) { - _lastShiftDate.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder acceptanceRate(int? t) { - _acceptanceRate.value = t; - return this; - } - - CreateStaffAvailabilityStatsVariablesBuilder(this._dataConnect, {required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => CreateStaffAvailabilityStatsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateStaffAvailabilityStatsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateStaffAvailabilityStatsVariables vars= CreateStaffAvailabilityStatsVariables(staffId: staffId,needWorkIndex: _needWorkIndex,utilizationPercentage: _utilizationPercentage,predictedAvailabilityScore: _predictedAvailabilityScore,scheduledHoursThisPeriod: _scheduledHoursThisPeriod,desiredHoursThisPeriod: _desiredHoursThisPeriod,lastShiftDate: _lastShiftDate,acceptanceRate: _acceptanceRate,); - return _dataConnect.mutation("createStaffAvailabilityStats", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateStaffAvailabilityStatsStaffAvailabilityStatsInsert { - final String staffId; - CreateStaffAvailabilityStatsStaffAvailabilityStatsInsert.fromJson(dynamic json): - - staffId = nativeFromJson(json['staffId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffAvailabilityStatsStaffAvailabilityStatsInsert otherTyped = other as CreateStaffAvailabilityStatsStaffAvailabilityStatsInsert; - return staffId == otherTyped.staffId; - - } - @override - int get hashCode => staffId.hashCode; - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - return json; - } - - CreateStaffAvailabilityStatsStaffAvailabilityStatsInsert({ - required this.staffId, - }); -} - -@immutable -class CreateStaffAvailabilityStatsData { - final CreateStaffAvailabilityStatsStaffAvailabilityStatsInsert staffAvailabilityStats_insert; - CreateStaffAvailabilityStatsData.fromJson(dynamic json): - - staffAvailabilityStats_insert = CreateStaffAvailabilityStatsStaffAvailabilityStatsInsert.fromJson(json['staffAvailabilityStats_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffAvailabilityStatsData otherTyped = other as CreateStaffAvailabilityStatsData; - return staffAvailabilityStats_insert == otherTyped.staffAvailabilityStats_insert; - - } - @override - int get hashCode => staffAvailabilityStats_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['staffAvailabilityStats_insert'] = staffAvailabilityStats_insert.toJson(); - return json; - } - - CreateStaffAvailabilityStatsData({ - required this.staffAvailabilityStats_insert, - }); -} - -@immutable -class CreateStaffAvailabilityStatsVariables { - final String staffId; - late final OptionalneedWorkIndex; - late final OptionalutilizationPercentage; - late final OptionalpredictedAvailabilityScore; - late final OptionalscheduledHoursThisPeriod; - late final OptionaldesiredHoursThisPeriod; - late final OptionallastShiftDate; - late final OptionalacceptanceRate; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateStaffAvailabilityStatsVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']) { - - - - needWorkIndex = Optional.optional(nativeFromJson, nativeToJson); - needWorkIndex.value = json['needWorkIndex'] == null ? null : nativeFromJson(json['needWorkIndex']); - - - utilizationPercentage = Optional.optional(nativeFromJson, nativeToJson); - utilizationPercentage.value = json['utilizationPercentage'] == null ? null : nativeFromJson(json['utilizationPercentage']); - - - predictedAvailabilityScore = Optional.optional(nativeFromJson, nativeToJson); - predictedAvailabilityScore.value = json['predictedAvailabilityScore'] == null ? null : nativeFromJson(json['predictedAvailabilityScore']); - - - scheduledHoursThisPeriod = Optional.optional(nativeFromJson, nativeToJson); - scheduledHoursThisPeriod.value = json['scheduledHoursThisPeriod'] == null ? null : nativeFromJson(json['scheduledHoursThisPeriod']); - - - desiredHoursThisPeriod = Optional.optional(nativeFromJson, nativeToJson); - desiredHoursThisPeriod.value = json['desiredHoursThisPeriod'] == null ? null : nativeFromJson(json['desiredHoursThisPeriod']); - - - lastShiftDate = Optional.optional((json) => json['lastShiftDate'] = Timestamp.fromJson(json['lastShiftDate']), defaultSerializer); - lastShiftDate.value = json['lastShiftDate'] == null ? null : Timestamp.fromJson(json['lastShiftDate']); - - - acceptanceRate = Optional.optional(nativeFromJson, nativeToJson); - acceptanceRate.value = json['acceptanceRate'] == null ? null : nativeFromJson(json['acceptanceRate']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffAvailabilityStatsVariables otherTyped = other as CreateStaffAvailabilityStatsVariables; - return staffId == otherTyped.staffId && - needWorkIndex == otherTyped.needWorkIndex && - utilizationPercentage == otherTyped.utilizationPercentage && - predictedAvailabilityScore == otherTyped.predictedAvailabilityScore && - scheduledHoursThisPeriod == otherTyped.scheduledHoursThisPeriod && - desiredHoursThisPeriod == otherTyped.desiredHoursThisPeriod && - lastShiftDate == otherTyped.lastShiftDate && - acceptanceRate == otherTyped.acceptanceRate; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, needWorkIndex.hashCode, utilizationPercentage.hashCode, predictedAvailabilityScore.hashCode, scheduledHoursThisPeriod.hashCode, desiredHoursThisPeriod.hashCode, lastShiftDate.hashCode, acceptanceRate.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - if(needWorkIndex.state == OptionalState.set) { - json['needWorkIndex'] = needWorkIndex.toJson(); - } - if(utilizationPercentage.state == OptionalState.set) { - json['utilizationPercentage'] = utilizationPercentage.toJson(); - } - if(predictedAvailabilityScore.state == OptionalState.set) { - json['predictedAvailabilityScore'] = predictedAvailabilityScore.toJson(); - } - if(scheduledHoursThisPeriod.state == OptionalState.set) { - json['scheduledHoursThisPeriod'] = scheduledHoursThisPeriod.toJson(); - } - if(desiredHoursThisPeriod.state == OptionalState.set) { - json['desiredHoursThisPeriod'] = desiredHoursThisPeriod.toJson(); - } - if(lastShiftDate.state == OptionalState.set) { - json['lastShiftDate'] = lastShiftDate.toJson(); - } - if(acceptanceRate.state == OptionalState.set) { - json['acceptanceRate'] = acceptanceRate.toJson(); - } - return json; - } - - CreateStaffAvailabilityStatsVariables({ - required this.staffId, - required this.needWorkIndex, - required this.utilizationPercentage, - required this.predictedAvailabilityScore, - required this.scheduledHoursThisPeriod, - required this.desiredHoursThisPeriod, - required this.lastShiftDate, - required this.acceptanceRate, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_course.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_course.dart deleted file mode 100644 index 5228f652..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_course.dart +++ /dev/null @@ -1,207 +0,0 @@ -part of 'generated.dart'; - -class CreateStaffCourseVariablesBuilder { - String staffId; - String courseId; - Optional _progressPercent = Optional.optional(nativeFromJson, nativeToJson); - Optional _completed = Optional.optional(nativeFromJson, nativeToJson); - Optional _completedAt = Optional.optional((json) => json['completedAt'] = Timestamp.fromJson(json['completedAt']), defaultSerializer); - Optional _startedAt = Optional.optional((json) => json['startedAt'] = Timestamp.fromJson(json['startedAt']), defaultSerializer); - Optional _lastAccessedAt = Optional.optional((json) => json['lastAccessedAt'] = Timestamp.fromJson(json['lastAccessedAt']), defaultSerializer); - - final FirebaseDataConnect _dataConnect; CreateStaffCourseVariablesBuilder progressPercent(int? t) { - _progressPercent.value = t; - return this; - } - CreateStaffCourseVariablesBuilder completed(bool? t) { - _completed.value = t; - return this; - } - CreateStaffCourseVariablesBuilder completedAt(Timestamp? t) { - _completedAt.value = t; - return this; - } - CreateStaffCourseVariablesBuilder startedAt(Timestamp? t) { - _startedAt.value = t; - return this; - } - CreateStaffCourseVariablesBuilder lastAccessedAt(Timestamp? t) { - _lastAccessedAt.value = t; - return this; - } - - CreateStaffCourseVariablesBuilder(this._dataConnect, {required this.staffId,required this.courseId,}); - Deserializer dataDeserializer = (dynamic json) => CreateStaffCourseData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateStaffCourseVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateStaffCourseVariables vars= CreateStaffCourseVariables(staffId: staffId,courseId: courseId,progressPercent: _progressPercent,completed: _completed,completedAt: _completedAt,startedAt: _startedAt,lastAccessedAt: _lastAccessedAt,); - return _dataConnect.mutation("createStaffCourse", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateStaffCourseStaffCourseInsert { - final String id; - CreateStaffCourseStaffCourseInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffCourseStaffCourseInsert otherTyped = other as CreateStaffCourseStaffCourseInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateStaffCourseStaffCourseInsert({ - required this.id, - }); -} - -@immutable -class CreateStaffCourseData { - final CreateStaffCourseStaffCourseInsert staffCourse_insert; - CreateStaffCourseData.fromJson(dynamic json): - - staffCourse_insert = CreateStaffCourseStaffCourseInsert.fromJson(json['staffCourse_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffCourseData otherTyped = other as CreateStaffCourseData; - return staffCourse_insert == otherTyped.staffCourse_insert; - - } - @override - int get hashCode => staffCourse_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['staffCourse_insert'] = staffCourse_insert.toJson(); - return json; - } - - CreateStaffCourseData({ - required this.staffCourse_insert, - }); -} - -@immutable -class CreateStaffCourseVariables { - final String staffId; - final String courseId; - late final OptionalprogressPercent; - late final Optionalcompleted; - late final OptionalcompletedAt; - late final OptionalstartedAt; - late final OptionallastAccessedAt; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateStaffCourseVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - courseId = nativeFromJson(json['courseId']) { - - - - - progressPercent = Optional.optional(nativeFromJson, nativeToJson); - progressPercent.value = json['progressPercent'] == null ? null : nativeFromJson(json['progressPercent']); - - - completed = Optional.optional(nativeFromJson, nativeToJson); - completed.value = json['completed'] == null ? null : nativeFromJson(json['completed']); - - - completedAt = Optional.optional((json) => json['completedAt'] = Timestamp.fromJson(json['completedAt']), defaultSerializer); - completedAt.value = json['completedAt'] == null ? null : Timestamp.fromJson(json['completedAt']); - - - startedAt = Optional.optional((json) => json['startedAt'] = Timestamp.fromJson(json['startedAt']), defaultSerializer); - startedAt.value = json['startedAt'] == null ? null : Timestamp.fromJson(json['startedAt']); - - - lastAccessedAt = Optional.optional((json) => json['lastAccessedAt'] = Timestamp.fromJson(json['lastAccessedAt']), defaultSerializer); - lastAccessedAt.value = json['lastAccessedAt'] == null ? null : Timestamp.fromJson(json['lastAccessedAt']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffCourseVariables otherTyped = other as CreateStaffCourseVariables; - return staffId == otherTyped.staffId && - courseId == otherTyped.courseId && - progressPercent == otherTyped.progressPercent && - completed == otherTyped.completed && - completedAt == otherTyped.completedAt && - startedAt == otherTyped.startedAt && - lastAccessedAt == otherTyped.lastAccessedAt; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, courseId.hashCode, progressPercent.hashCode, completed.hashCode, completedAt.hashCode, startedAt.hashCode, lastAccessedAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['courseId'] = nativeToJson(courseId); - if(progressPercent.state == OptionalState.set) { - json['progressPercent'] = progressPercent.toJson(); - } - if(completed.state == OptionalState.set) { - json['completed'] = completed.toJson(); - } - if(completedAt.state == OptionalState.set) { - json['completedAt'] = completedAt.toJson(); - } - if(startedAt.state == OptionalState.set) { - json['startedAt'] = startedAt.toJson(); - } - if(lastAccessedAt.state == OptionalState.set) { - json['lastAccessedAt'] = lastAccessedAt.toJson(); - } - return json; - } - - CreateStaffCourseVariables({ - required this.staffId, - required this.courseId, - required this.progressPercent, - required this.completed, - required this.completedAt, - required this.startedAt, - required this.lastAccessedAt, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_document.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_document.dart deleted file mode 100644 index 58af2e49..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_document.dart +++ /dev/null @@ -1,183 +0,0 @@ -part of 'generated.dart'; - -class CreateStaffDocumentVariablesBuilder { - String staffId; - String staffName; - String documentId; - DocumentStatus status; - Optional _documentUrl = Optional.optional(nativeFromJson, nativeToJson); - Optional _expiryDate = Optional.optional((json) => json['expiryDate'] = Timestamp.fromJson(json['expiryDate']), defaultSerializer); - - final FirebaseDataConnect _dataConnect; CreateStaffDocumentVariablesBuilder documentUrl(String? t) { - _documentUrl.value = t; - return this; - } - CreateStaffDocumentVariablesBuilder expiryDate(Timestamp? t) { - _expiryDate.value = t; - return this; - } - - CreateStaffDocumentVariablesBuilder(this._dataConnect, {required this.staffId,required this.staffName,required this.documentId,required this.status,}); - Deserializer dataDeserializer = (dynamic json) => CreateStaffDocumentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateStaffDocumentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateStaffDocumentVariables vars= CreateStaffDocumentVariables(staffId: staffId,staffName: staffName,documentId: documentId,status: status,documentUrl: _documentUrl,expiryDate: _expiryDate,); - return _dataConnect.mutation("createStaffDocument", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateStaffDocumentStaffDocumentInsert { - final String staffId; - final String documentId; - CreateStaffDocumentStaffDocumentInsert.fromJson(dynamic json): - - staffId = nativeFromJson(json['staffId']), - documentId = nativeFromJson(json['documentId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffDocumentStaffDocumentInsert otherTyped = other as CreateStaffDocumentStaffDocumentInsert; - return staffId == otherTyped.staffId && - documentId == otherTyped.documentId; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, documentId.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['documentId'] = nativeToJson(documentId); - return json; - } - - CreateStaffDocumentStaffDocumentInsert({ - required this.staffId, - required this.documentId, - }); -} - -@immutable -class CreateStaffDocumentData { - final CreateStaffDocumentStaffDocumentInsert staffDocument_insert; - CreateStaffDocumentData.fromJson(dynamic json): - - staffDocument_insert = CreateStaffDocumentStaffDocumentInsert.fromJson(json['staffDocument_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffDocumentData otherTyped = other as CreateStaffDocumentData; - return staffDocument_insert == otherTyped.staffDocument_insert; - - } - @override - int get hashCode => staffDocument_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['staffDocument_insert'] = staffDocument_insert.toJson(); - return json; - } - - CreateStaffDocumentData({ - required this.staffDocument_insert, - }); -} - -@immutable -class CreateStaffDocumentVariables { - final String staffId; - final String staffName; - final String documentId; - final DocumentStatus status; - late final OptionaldocumentUrl; - late final OptionalexpiryDate; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateStaffDocumentVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - staffName = nativeFromJson(json['staffName']), - documentId = nativeFromJson(json['documentId']), - status = DocumentStatus.values.byName(json['status']) { - - - - - - - documentUrl = Optional.optional(nativeFromJson, nativeToJson); - documentUrl.value = json['documentUrl'] == null ? null : nativeFromJson(json['documentUrl']); - - - expiryDate = Optional.optional((json) => json['expiryDate'] = Timestamp.fromJson(json['expiryDate']), defaultSerializer); - expiryDate.value = json['expiryDate'] == null ? null : Timestamp.fromJson(json['expiryDate']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffDocumentVariables otherTyped = other as CreateStaffDocumentVariables; - return staffId == otherTyped.staffId && - staffName == otherTyped.staffName && - documentId == otherTyped.documentId && - status == otherTyped.status && - documentUrl == otherTyped.documentUrl && - expiryDate == otherTyped.expiryDate; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, staffName.hashCode, documentId.hashCode, status.hashCode, documentUrl.hashCode, expiryDate.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['staffName'] = nativeToJson(staffName); - json['documentId'] = nativeToJson(documentId); - json['status'] = - status.name - ; - if(documentUrl.state == OptionalState.set) { - json['documentUrl'] = documentUrl.toJson(); - } - if(expiryDate.state == OptionalState.set) { - json['expiryDate'] = expiryDate.toJson(); - } - return json; - } - - CreateStaffDocumentVariables({ - required this.staffId, - required this.staffName, - required this.documentId, - required this.status, - required this.documentUrl, - required this.expiryDate, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_role.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_role.dart deleted file mode 100644 index 321b96e0..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_staff_role.dart +++ /dev/null @@ -1,152 +0,0 @@ -part of 'generated.dart'; - -class CreateStaffRoleVariablesBuilder { - String staffId; - String roleId; - Optional _roleType = Optional.optional((data) => RoleType.values.byName(data), enumSerializer); - - final FirebaseDataConnect _dataConnect; CreateStaffRoleVariablesBuilder roleType(RoleType? t) { - _roleType.value = t; - return this; - } - - CreateStaffRoleVariablesBuilder(this._dataConnect, {required this.staffId,required this.roleId,}); - Deserializer dataDeserializer = (dynamic json) => CreateStaffRoleData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateStaffRoleVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateStaffRoleVariables vars= CreateStaffRoleVariables(staffId: staffId,roleId: roleId,roleType: _roleType,); - return _dataConnect.mutation("createStaffRole", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateStaffRoleStaffRoleInsert { - final String staffId; - final String roleId; - CreateStaffRoleStaffRoleInsert.fromJson(dynamic json): - - staffId = nativeFromJson(json['staffId']), - roleId = nativeFromJson(json['roleId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffRoleStaffRoleInsert otherTyped = other as CreateStaffRoleStaffRoleInsert; - return staffId == otherTyped.staffId && - roleId == otherTyped.roleId; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, roleId.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['roleId'] = nativeToJson(roleId); - return json; - } - - CreateStaffRoleStaffRoleInsert({ - required this.staffId, - required this.roleId, - }); -} - -@immutable -class CreateStaffRoleData { - final CreateStaffRoleStaffRoleInsert staffRole_insert; - CreateStaffRoleData.fromJson(dynamic json): - - staffRole_insert = CreateStaffRoleStaffRoleInsert.fromJson(json['staffRole_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffRoleData otherTyped = other as CreateStaffRoleData; - return staffRole_insert == otherTyped.staffRole_insert; - - } - @override - int get hashCode => staffRole_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['staffRole_insert'] = staffRole_insert.toJson(); - return json; - } - - CreateStaffRoleData({ - required this.staffRole_insert, - }); -} - -@immutable -class CreateStaffRoleVariables { - final String staffId; - final String roleId; - late final OptionalroleType; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateStaffRoleVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - roleId = nativeFromJson(json['roleId']) { - - - - - roleType = Optional.optional((data) => RoleType.values.byName(data), enumSerializer); - roleType.value = json['roleType'] == null ? null : RoleType.values.byName(json['roleType']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateStaffRoleVariables otherTyped = other as CreateStaffRoleVariables; - return staffId == otherTyped.staffId && - roleId == otherTyped.roleId && - roleType == otherTyped.roleType; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, roleId.hashCode, roleType.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['roleId'] = nativeToJson(roleId); - if(roleType.state == OptionalState.set) { - json['roleType'] = roleType.toJson(); - } - return json; - } - - CreateStaffRoleVariables({ - required this.staffId, - required this.roleId, - required this.roleType, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_task.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_task.dart deleted file mode 100644 index 74d80bc4..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_task.dart +++ /dev/null @@ -1,255 +0,0 @@ -part of 'generated.dart'; - -class CreateTaskVariablesBuilder { - String taskName; - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - TaskPriority priority; - TaskStatus status; - Optional _dueDate = Optional.optional((json) => json['dueDate'] = Timestamp.fromJson(json['dueDate']), defaultSerializer); - Optional _progress = Optional.optional(nativeFromJson, nativeToJson); - Optional _orderIndex = Optional.optional(nativeFromJson, nativeToJson); - Optional _commentCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _attachmentCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _files = Optional.optional(AnyValue.fromJson, defaultSerializer); - String ownerId; - - final FirebaseDataConnect _dataConnect; CreateTaskVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateTaskVariablesBuilder dueDate(Timestamp? t) { - _dueDate.value = t; - return this; - } - CreateTaskVariablesBuilder progress(int? t) { - _progress.value = t; - return this; - } - CreateTaskVariablesBuilder orderIndex(int? t) { - _orderIndex.value = t; - return this; - } - CreateTaskVariablesBuilder commentCount(int? t) { - _commentCount.value = t; - return this; - } - CreateTaskVariablesBuilder attachmentCount(int? t) { - _attachmentCount.value = t; - return this; - } - CreateTaskVariablesBuilder files(AnyValue? t) { - _files.value = t; - return this; - } - - CreateTaskVariablesBuilder(this._dataConnect, {required this.taskName,required this.priority,required this.status,required this.ownerId,}); - Deserializer dataDeserializer = (dynamic json) => CreateTaskData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateTaskVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateTaskVariables vars= CreateTaskVariables(taskName: taskName,description: _description,priority: priority,status: status,dueDate: _dueDate,progress: _progress,orderIndex: _orderIndex,commentCount: _commentCount,attachmentCount: _attachmentCount,files: _files,ownerId: ownerId,); - return _dataConnect.mutation("createTask", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateTaskTaskInsert { - final String id; - CreateTaskTaskInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTaskTaskInsert otherTyped = other as CreateTaskTaskInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateTaskTaskInsert({ - required this.id, - }); -} - -@immutable -class CreateTaskData { - final CreateTaskTaskInsert task_insert; - CreateTaskData.fromJson(dynamic json): - - task_insert = CreateTaskTaskInsert.fromJson(json['task_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTaskData otherTyped = other as CreateTaskData; - return task_insert == otherTyped.task_insert; - - } - @override - int get hashCode => task_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['task_insert'] = task_insert.toJson(); - return json; - } - - CreateTaskData({ - required this.task_insert, - }); -} - -@immutable -class CreateTaskVariables { - final String taskName; - late final Optionaldescription; - final TaskPriority priority; - final TaskStatus status; - late final OptionaldueDate; - late final Optionalprogress; - late final OptionalorderIndex; - late final OptionalcommentCount; - late final OptionalattachmentCount; - late final Optionalfiles; - final String ownerId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateTaskVariables.fromJson(Map json): - - taskName = nativeFromJson(json['taskName']), - priority = TaskPriority.values.byName(json['priority']), - status = TaskStatus.values.byName(json['status']), - ownerId = nativeFromJson(json['ownerId']) { - - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - - - - dueDate = Optional.optional((json) => json['dueDate'] = Timestamp.fromJson(json['dueDate']), defaultSerializer); - dueDate.value = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']); - - - progress = Optional.optional(nativeFromJson, nativeToJson); - progress.value = json['progress'] == null ? null : nativeFromJson(json['progress']); - - - orderIndex = Optional.optional(nativeFromJson, nativeToJson); - orderIndex.value = json['orderIndex'] == null ? null : nativeFromJson(json['orderIndex']); - - - commentCount = Optional.optional(nativeFromJson, nativeToJson); - commentCount.value = json['commentCount'] == null ? null : nativeFromJson(json['commentCount']); - - - attachmentCount = Optional.optional(nativeFromJson, nativeToJson); - attachmentCount.value = json['attachmentCount'] == null ? null : nativeFromJson(json['attachmentCount']); - - - files = Optional.optional(AnyValue.fromJson, defaultSerializer); - files.value = json['files'] == null ? null : AnyValue.fromJson(json['files']); - - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTaskVariables otherTyped = other as CreateTaskVariables; - return taskName == otherTyped.taskName && - description == otherTyped.description && - priority == otherTyped.priority && - status == otherTyped.status && - dueDate == otherTyped.dueDate && - progress == otherTyped.progress && - orderIndex == otherTyped.orderIndex && - commentCount == otherTyped.commentCount && - attachmentCount == otherTyped.attachmentCount && - files == otherTyped.files && - ownerId == otherTyped.ownerId; - - } - @override - int get hashCode => Object.hashAll([taskName.hashCode, description.hashCode, priority.hashCode, status.hashCode, dueDate.hashCode, progress.hashCode, orderIndex.hashCode, commentCount.hashCode, attachmentCount.hashCode, files.hashCode, ownerId.hashCode]); - - - Map toJson() { - Map json = {}; - json['taskName'] = nativeToJson(taskName); - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - json['priority'] = - priority.name - ; - json['status'] = - status.name - ; - if(dueDate.state == OptionalState.set) { - json['dueDate'] = dueDate.toJson(); - } - if(progress.state == OptionalState.set) { - json['progress'] = progress.toJson(); - } - if(orderIndex.state == OptionalState.set) { - json['orderIndex'] = orderIndex.toJson(); - } - if(commentCount.state == OptionalState.set) { - json['commentCount'] = commentCount.toJson(); - } - if(attachmentCount.state == OptionalState.set) { - json['attachmentCount'] = attachmentCount.toJson(); - } - if(files.state == OptionalState.set) { - json['files'] = files.toJson(); - } - json['ownerId'] = nativeToJson(ownerId); - return json; - } - - CreateTaskVariables({ - required this.taskName, - required this.description, - required this.priority, - required this.status, - required this.dueDate, - required this.progress, - required this.orderIndex, - required this.commentCount, - required this.attachmentCount, - required this.files, - required this.ownerId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_task_comment.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_task_comment.dart deleted file mode 100644 index e17ba79f..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_task_comment.dart +++ /dev/null @@ -1,154 +0,0 @@ -part of 'generated.dart'; - -class CreateTaskCommentVariablesBuilder { - String taskId; - String teamMemberId; - String comment; - Optional _isSystem = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateTaskCommentVariablesBuilder isSystem(bool? t) { - _isSystem.value = t; - return this; - } - - CreateTaskCommentVariablesBuilder(this._dataConnect, {required this.taskId,required this.teamMemberId,required this.comment,}); - Deserializer dataDeserializer = (dynamic json) => CreateTaskCommentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateTaskCommentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateTaskCommentVariables vars= CreateTaskCommentVariables(taskId: taskId,teamMemberId: teamMemberId,comment: comment,isSystem: _isSystem,); - return _dataConnect.mutation("createTaskComment", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateTaskCommentTaskCommentInsert { - final String id; - CreateTaskCommentTaskCommentInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTaskCommentTaskCommentInsert otherTyped = other as CreateTaskCommentTaskCommentInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateTaskCommentTaskCommentInsert({ - required this.id, - }); -} - -@immutable -class CreateTaskCommentData { - final CreateTaskCommentTaskCommentInsert taskComment_insert; - CreateTaskCommentData.fromJson(dynamic json): - - taskComment_insert = CreateTaskCommentTaskCommentInsert.fromJson(json['taskComment_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTaskCommentData otherTyped = other as CreateTaskCommentData; - return taskComment_insert == otherTyped.taskComment_insert; - - } - @override - int get hashCode => taskComment_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['taskComment_insert'] = taskComment_insert.toJson(); - return json; - } - - CreateTaskCommentData({ - required this.taskComment_insert, - }); -} - -@immutable -class CreateTaskCommentVariables { - final String taskId; - final String teamMemberId; - final String comment; - late final OptionalisSystem; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateTaskCommentVariables.fromJson(Map json): - - taskId = nativeFromJson(json['taskId']), - teamMemberId = nativeFromJson(json['teamMemberId']), - comment = nativeFromJson(json['comment']) { - - - - - - isSystem = Optional.optional(nativeFromJson, nativeToJson); - isSystem.value = json['isSystem'] == null ? null : nativeFromJson(json['isSystem']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTaskCommentVariables otherTyped = other as CreateTaskCommentVariables; - return taskId == otherTyped.taskId && - teamMemberId == otherTyped.teamMemberId && - comment == otherTyped.comment && - isSystem == otherTyped.isSystem; - - } - @override - int get hashCode => Object.hashAll([taskId.hashCode, teamMemberId.hashCode, comment.hashCode, isSystem.hashCode]); - - - Map toJson() { - Map json = {}; - json['taskId'] = nativeToJson(taskId); - json['teamMemberId'] = nativeToJson(teamMemberId); - json['comment'] = nativeToJson(comment); - if(isSystem.state == OptionalState.set) { - json['isSystem'] = isSystem.toJson(); - } - return json; - } - - CreateTaskCommentVariables({ - required this.taskId, - required this.teamMemberId, - required this.comment, - required this.isSystem, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_tax_form.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_tax_form.dart deleted file mode 100644 index 62723cd5..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_tax_form.dart +++ /dev/null @@ -1,201 +0,0 @@ -part of 'generated.dart'; - -class CreateTaxFormVariablesBuilder { - TaxFormType formType; - String title; - Optional _subtitle = Optional.optional(nativeFromJson, nativeToJson); - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - Optional _status = Optional.optional((data) => TaxFormStatus.values.byName(data), enumSerializer); - String staffId; - Optional _formData = Optional.optional(AnyValue.fromJson, defaultSerializer); - - final FirebaseDataConnect _dataConnect; CreateTaxFormVariablesBuilder subtitle(String? t) { - _subtitle.value = t; - return this; - } - CreateTaxFormVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateTaxFormVariablesBuilder status(TaxFormStatus? t) { - _status.value = t; - return this; - } - CreateTaxFormVariablesBuilder formData(AnyValue? t) { - _formData.value = t; - return this; - } - - CreateTaxFormVariablesBuilder(this._dataConnect, {required this.formType,required this.title,required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => CreateTaxFormData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateTaxFormVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateTaxFormVariables vars= CreateTaxFormVariables(formType: formType,title: title,subtitle: _subtitle,description: _description,status: _status,staffId: staffId,formData: _formData,); - return _dataConnect.mutation("createTaxForm", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateTaxFormTaxFormInsert { - final String id; - CreateTaxFormTaxFormInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTaxFormTaxFormInsert otherTyped = other as CreateTaxFormTaxFormInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateTaxFormTaxFormInsert({ - required this.id, - }); -} - -@immutable -class CreateTaxFormData { - final CreateTaxFormTaxFormInsert taxForm_insert; - CreateTaxFormData.fromJson(dynamic json): - - taxForm_insert = CreateTaxFormTaxFormInsert.fromJson(json['taxForm_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTaxFormData otherTyped = other as CreateTaxFormData; - return taxForm_insert == otherTyped.taxForm_insert; - - } - @override - int get hashCode => taxForm_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['taxForm_insert'] = taxForm_insert.toJson(); - return json; - } - - CreateTaxFormData({ - required this.taxForm_insert, - }); -} - -@immutable -class CreateTaxFormVariables { - final TaxFormType formType; - final String title; - late final Optionalsubtitle; - late final Optionaldescription; - late final Optionalstatus; - final String staffId; - late final OptionalformData; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateTaxFormVariables.fromJson(Map json): - - formType = TaxFormType.values.byName(json['formType']), - title = nativeFromJson(json['title']), - staffId = nativeFromJson(json['staffId']) { - - - - - subtitle = Optional.optional(nativeFromJson, nativeToJson); - subtitle.value = json['subtitle'] == null ? null : nativeFromJson(json['subtitle']); - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - - status = Optional.optional((data) => TaxFormStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : TaxFormStatus.values.byName(json['status']); - - - - formData = Optional.optional(AnyValue.fromJson, defaultSerializer); - formData.value = json['formData'] == null ? null : AnyValue.fromJson(json['formData']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTaxFormVariables otherTyped = other as CreateTaxFormVariables; - return formType == otherTyped.formType && - title == otherTyped.title && - subtitle == otherTyped.subtitle && - description == otherTyped.description && - status == otherTyped.status && - staffId == otherTyped.staffId && - formData == otherTyped.formData; - - } - @override - int get hashCode => Object.hashAll([formType.hashCode, title.hashCode, subtitle.hashCode, description.hashCode, status.hashCode, staffId.hashCode, formData.hashCode]); - - - Map toJson() { - Map json = {}; - json['formType'] = - formType.name - ; - json['title'] = nativeToJson(title); - if(subtitle.state == OptionalState.set) { - json['subtitle'] = subtitle.toJson(); - } - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - json['staffId'] = nativeToJson(staffId); - if(formData.state == OptionalState.set) { - json['formData'] = formData.toJson(); - } - return json; - } - - CreateTaxFormVariables({ - required this.formType, - required this.title, - required this.subtitle, - required this.description, - required this.status, - required this.staffId, - required this.formData, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_team.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_team.dart deleted file mode 100644 index f179e58d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_team.dart +++ /dev/null @@ -1,296 +0,0 @@ -part of 'generated.dart'; - -class CreateTeamVariablesBuilder { - String teamName; - String ownerId; - String ownerName; - String ownerRole; - Optional _email = Optional.optional(nativeFromJson, nativeToJson); - Optional _companyLogo = Optional.optional(nativeFromJson, nativeToJson); - Optional _totalMembers = Optional.optional(nativeFromJson, nativeToJson); - Optional _activeMembers = Optional.optional(nativeFromJson, nativeToJson); - Optional _totalHubs = Optional.optional(nativeFromJson, nativeToJson); - Optional _departments = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _favoriteStaffCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _blockedStaffCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _favoriteStaff = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _blockedStaff = Optional.optional(AnyValue.fromJson, defaultSerializer); - - final FirebaseDataConnect _dataConnect; CreateTeamVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateTeamVariablesBuilder companyLogo(String? t) { - _companyLogo.value = t; - return this; - } - CreateTeamVariablesBuilder totalMembers(int? t) { - _totalMembers.value = t; - return this; - } - CreateTeamVariablesBuilder activeMembers(int? t) { - _activeMembers.value = t; - return this; - } - CreateTeamVariablesBuilder totalHubs(int? t) { - _totalHubs.value = t; - return this; - } - CreateTeamVariablesBuilder departments(AnyValue? t) { - _departments.value = t; - return this; - } - CreateTeamVariablesBuilder favoriteStaffCount(int? t) { - _favoriteStaffCount.value = t; - return this; - } - CreateTeamVariablesBuilder blockedStaffCount(int? t) { - _blockedStaffCount.value = t; - return this; - } - CreateTeamVariablesBuilder favoriteStaff(AnyValue? t) { - _favoriteStaff.value = t; - return this; - } - CreateTeamVariablesBuilder blockedStaff(AnyValue? t) { - _blockedStaff.value = t; - return this; - } - - CreateTeamVariablesBuilder(this._dataConnect, {required this.teamName,required this.ownerId,required this.ownerName,required this.ownerRole,}); - Deserializer dataDeserializer = (dynamic json) => CreateTeamData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateTeamVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateTeamVariables vars= CreateTeamVariables(teamName: teamName,ownerId: ownerId,ownerName: ownerName,ownerRole: ownerRole,email: _email,companyLogo: _companyLogo,totalMembers: _totalMembers,activeMembers: _activeMembers,totalHubs: _totalHubs,departments: _departments,favoriteStaffCount: _favoriteStaffCount,blockedStaffCount: _blockedStaffCount,favoriteStaff: _favoriteStaff,blockedStaff: _blockedStaff,); - return _dataConnect.mutation("createTeam", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateTeamTeamInsert { - final String id; - CreateTeamTeamInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTeamTeamInsert otherTyped = other as CreateTeamTeamInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateTeamTeamInsert({ - required this.id, - }); -} - -@immutable -class CreateTeamData { - final CreateTeamTeamInsert team_insert; - CreateTeamData.fromJson(dynamic json): - - team_insert = CreateTeamTeamInsert.fromJson(json['team_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTeamData otherTyped = other as CreateTeamData; - return team_insert == otherTyped.team_insert; - - } - @override - int get hashCode => team_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['team_insert'] = team_insert.toJson(); - return json; - } - - CreateTeamData({ - required this.team_insert, - }); -} - -@immutable -class CreateTeamVariables { - final String teamName; - final String ownerId; - final String ownerName; - final String ownerRole; - late final Optionalemail; - late final OptionalcompanyLogo; - late final OptionaltotalMembers; - late final OptionalactiveMembers; - late final OptionaltotalHubs; - late final Optionaldepartments; - late final OptionalfavoriteStaffCount; - late final OptionalblockedStaffCount; - late final OptionalfavoriteStaff; - late final OptionalblockedStaff; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateTeamVariables.fromJson(Map json): - - teamName = nativeFromJson(json['teamName']), - ownerId = nativeFromJson(json['ownerId']), - ownerName = nativeFromJson(json['ownerName']), - ownerRole = nativeFromJson(json['ownerRole']) { - - - - - - - email = Optional.optional(nativeFromJson, nativeToJson); - email.value = json['email'] == null ? null : nativeFromJson(json['email']); - - - companyLogo = Optional.optional(nativeFromJson, nativeToJson); - companyLogo.value = json['companyLogo'] == null ? null : nativeFromJson(json['companyLogo']); - - - totalMembers = Optional.optional(nativeFromJson, nativeToJson); - totalMembers.value = json['totalMembers'] == null ? null : nativeFromJson(json['totalMembers']); - - - activeMembers = Optional.optional(nativeFromJson, nativeToJson); - activeMembers.value = json['activeMembers'] == null ? null : nativeFromJson(json['activeMembers']); - - - totalHubs = Optional.optional(nativeFromJson, nativeToJson); - totalHubs.value = json['totalHubs'] == null ? null : nativeFromJson(json['totalHubs']); - - - departments = Optional.optional(AnyValue.fromJson, defaultSerializer); - departments.value = json['departments'] == null ? null : AnyValue.fromJson(json['departments']); - - - favoriteStaffCount = Optional.optional(nativeFromJson, nativeToJson); - favoriteStaffCount.value = json['favoriteStaffCount'] == null ? null : nativeFromJson(json['favoriteStaffCount']); - - - blockedStaffCount = Optional.optional(nativeFromJson, nativeToJson); - blockedStaffCount.value = json['blockedStaffCount'] == null ? null : nativeFromJson(json['blockedStaffCount']); - - - favoriteStaff = Optional.optional(AnyValue.fromJson, defaultSerializer); - favoriteStaff.value = json['favoriteStaff'] == null ? null : AnyValue.fromJson(json['favoriteStaff']); - - - blockedStaff = Optional.optional(AnyValue.fromJson, defaultSerializer); - blockedStaff.value = json['blockedStaff'] == null ? null : AnyValue.fromJson(json['blockedStaff']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTeamVariables otherTyped = other as CreateTeamVariables; - return teamName == otherTyped.teamName && - ownerId == otherTyped.ownerId && - ownerName == otherTyped.ownerName && - ownerRole == otherTyped.ownerRole && - email == otherTyped.email && - companyLogo == otherTyped.companyLogo && - totalMembers == otherTyped.totalMembers && - activeMembers == otherTyped.activeMembers && - totalHubs == otherTyped.totalHubs && - departments == otherTyped.departments && - favoriteStaffCount == otherTyped.favoriteStaffCount && - blockedStaffCount == otherTyped.blockedStaffCount && - favoriteStaff == otherTyped.favoriteStaff && - blockedStaff == otherTyped.blockedStaff; - - } - @override - int get hashCode => Object.hashAll([teamName.hashCode, ownerId.hashCode, ownerName.hashCode, ownerRole.hashCode, email.hashCode, companyLogo.hashCode, totalMembers.hashCode, activeMembers.hashCode, totalHubs.hashCode, departments.hashCode, favoriteStaffCount.hashCode, blockedStaffCount.hashCode, favoriteStaff.hashCode, blockedStaff.hashCode]); - - - Map toJson() { - Map json = {}; - json['teamName'] = nativeToJson(teamName); - json['ownerId'] = nativeToJson(ownerId); - json['ownerName'] = nativeToJson(ownerName); - json['ownerRole'] = nativeToJson(ownerRole); - if(email.state == OptionalState.set) { - json['email'] = email.toJson(); - } - if(companyLogo.state == OptionalState.set) { - json['companyLogo'] = companyLogo.toJson(); - } - if(totalMembers.state == OptionalState.set) { - json['totalMembers'] = totalMembers.toJson(); - } - if(activeMembers.state == OptionalState.set) { - json['activeMembers'] = activeMembers.toJson(); - } - if(totalHubs.state == OptionalState.set) { - json['totalHubs'] = totalHubs.toJson(); - } - if(departments.state == OptionalState.set) { - json['departments'] = departments.toJson(); - } - if(favoriteStaffCount.state == OptionalState.set) { - json['favoriteStaffCount'] = favoriteStaffCount.toJson(); - } - if(blockedStaffCount.state == OptionalState.set) { - json['blockedStaffCount'] = blockedStaffCount.toJson(); - } - if(favoriteStaff.state == OptionalState.set) { - json['favoriteStaff'] = favoriteStaff.toJson(); - } - if(blockedStaff.state == OptionalState.set) { - json['blockedStaff'] = blockedStaff.toJson(); - } - return json; - } - - CreateTeamVariables({ - required this.teamName, - required this.ownerId, - required this.ownerName, - required this.ownerRole, - required this.email, - required this.companyLogo, - required this.totalMembers, - required this.activeMembers, - required this.totalHubs, - required this.departments, - required this.favoriteStaffCount, - required this.blockedStaffCount, - required this.favoriteStaff, - required this.blockedStaff, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_team_hub.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_team_hub.dart deleted file mode 100644 index 05034b67..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_team_hub.dart +++ /dev/null @@ -1,197 +0,0 @@ -part of 'generated.dart'; - -class CreateTeamHubVariablesBuilder { - String teamId; - String hubName; - String address; - String city; - String state; - String zipCode; - String managerName; - Optional _isActive = Optional.optional(nativeFromJson, nativeToJson); - Optional _departments = Optional.optional(AnyValue.fromJson, defaultSerializer); - - final FirebaseDataConnect _dataConnect; CreateTeamHubVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateTeamHubVariablesBuilder departments(AnyValue? t) { - _departments.value = t; - return this; - } - - CreateTeamHubVariablesBuilder(this._dataConnect, {required this.teamId,required this.hubName,required this.address,required this.city,required this.state,required this.zipCode,required this.managerName,}); - Deserializer dataDeserializer = (dynamic json) => CreateTeamHubData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateTeamHubVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateTeamHubVariables vars= CreateTeamHubVariables(teamId: teamId,hubName: hubName,address: address,city: city,state: state,zipCode: zipCode,managerName: managerName,isActive: _isActive,departments: _departments,); - return _dataConnect.mutation("createTeamHub", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateTeamHubTeamHubInsert { - final String id; - CreateTeamHubTeamHubInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTeamHubTeamHubInsert otherTyped = other as CreateTeamHubTeamHubInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateTeamHubTeamHubInsert({ - required this.id, - }); -} - -@immutable -class CreateTeamHubData { - final CreateTeamHubTeamHubInsert teamHub_insert; - CreateTeamHubData.fromJson(dynamic json): - - teamHub_insert = CreateTeamHubTeamHubInsert.fromJson(json['teamHub_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTeamHubData otherTyped = other as CreateTeamHubData; - return teamHub_insert == otherTyped.teamHub_insert; - - } - @override - int get hashCode => teamHub_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['teamHub_insert'] = teamHub_insert.toJson(); - return json; - } - - CreateTeamHubData({ - required this.teamHub_insert, - }); -} - -@immutable -class CreateTeamHubVariables { - final String teamId; - final String hubName; - final String address; - final String city; - final String state; - final String zipCode; - final String managerName; - late final OptionalisActive; - late final Optionaldepartments; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateTeamHubVariables.fromJson(Map json): - - teamId = nativeFromJson(json['teamId']), - hubName = nativeFromJson(json['hubName']), - address = nativeFromJson(json['address']), - city = nativeFromJson(json['city']), - state = nativeFromJson(json['state']), - zipCode = nativeFromJson(json['zipCode']), - managerName = nativeFromJson(json['managerName']) { - - - - - - - - - - isActive = Optional.optional(nativeFromJson, nativeToJson); - isActive.value = json['isActive'] == null ? null : nativeFromJson(json['isActive']); - - - departments = Optional.optional(AnyValue.fromJson, defaultSerializer); - departments.value = json['departments'] == null ? null : AnyValue.fromJson(json['departments']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTeamHubVariables otherTyped = other as CreateTeamHubVariables; - return teamId == otherTyped.teamId && - hubName == otherTyped.hubName && - address == otherTyped.address && - city == otherTyped.city && - state == otherTyped.state && - zipCode == otherTyped.zipCode && - managerName == otherTyped.managerName && - isActive == otherTyped.isActive && - departments == otherTyped.departments; - - } - @override - int get hashCode => Object.hashAll([teamId.hashCode, hubName.hashCode, address.hashCode, city.hashCode, state.hashCode, zipCode.hashCode, managerName.hashCode, isActive.hashCode, departments.hashCode]); - - - Map toJson() { - Map json = {}; - json['teamId'] = nativeToJson(teamId); - json['hubName'] = nativeToJson(hubName); - json['address'] = nativeToJson(address); - json['city'] = nativeToJson(city); - json['state'] = nativeToJson(state); - json['zipCode'] = nativeToJson(zipCode); - json['managerName'] = nativeToJson(managerName); - if(isActive.state == OptionalState.set) { - json['isActive'] = isActive.toJson(); - } - if(departments.state == OptionalState.set) { - json['departments'] = departments.toJson(); - } - return json; - } - - CreateTeamHubVariables({ - required this.teamId, - required this.hubName, - required this.address, - required this.city, - required this.state, - required this.zipCode, - required this.managerName, - required this.isActive, - required this.departments, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_team_hud_department.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_team_hud_department.dart deleted file mode 100644 index b1cd4d32..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_team_hud_department.dart +++ /dev/null @@ -1,147 +0,0 @@ -part of 'generated.dart'; - -class CreateTeamHudDepartmentVariablesBuilder { - String name; - Optional _costCenter = Optional.optional(nativeFromJson, nativeToJson); - String teamHubId; - - final FirebaseDataConnect _dataConnect; CreateTeamHudDepartmentVariablesBuilder costCenter(String? t) { - _costCenter.value = t; - return this; - } - - CreateTeamHudDepartmentVariablesBuilder(this._dataConnect, {required this.name,required this.teamHubId,}); - Deserializer dataDeserializer = (dynamic json) => CreateTeamHudDepartmentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateTeamHudDepartmentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateTeamHudDepartmentVariables vars= CreateTeamHudDepartmentVariables(name: name,costCenter: _costCenter,teamHubId: teamHubId,); - return _dataConnect.mutation("createTeamHudDepartment", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateTeamHudDepartmentTeamHudDepartmentInsert { - final String id; - CreateTeamHudDepartmentTeamHudDepartmentInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTeamHudDepartmentTeamHudDepartmentInsert otherTyped = other as CreateTeamHudDepartmentTeamHudDepartmentInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateTeamHudDepartmentTeamHudDepartmentInsert({ - required this.id, - }); -} - -@immutable -class CreateTeamHudDepartmentData { - final CreateTeamHudDepartmentTeamHudDepartmentInsert teamHudDepartment_insert; - CreateTeamHudDepartmentData.fromJson(dynamic json): - - teamHudDepartment_insert = CreateTeamHudDepartmentTeamHudDepartmentInsert.fromJson(json['teamHudDepartment_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTeamHudDepartmentData otherTyped = other as CreateTeamHudDepartmentData; - return teamHudDepartment_insert == otherTyped.teamHudDepartment_insert; - - } - @override - int get hashCode => teamHudDepartment_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['teamHudDepartment_insert'] = teamHudDepartment_insert.toJson(); - return json; - } - - CreateTeamHudDepartmentData({ - required this.teamHudDepartment_insert, - }); -} - -@immutable -class CreateTeamHudDepartmentVariables { - final String name; - late final OptionalcostCenter; - final String teamHubId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateTeamHudDepartmentVariables.fromJson(Map json): - - name = nativeFromJson(json['name']), - teamHubId = nativeFromJson(json['teamHubId']) { - - - - costCenter = Optional.optional(nativeFromJson, nativeToJson); - costCenter.value = json['costCenter'] == null ? null : nativeFromJson(json['costCenter']); - - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTeamHudDepartmentVariables otherTyped = other as CreateTeamHudDepartmentVariables; - return name == otherTyped.name && - costCenter == otherTyped.costCenter && - teamHubId == otherTyped.teamHubId; - - } - @override - int get hashCode => Object.hashAll([name.hashCode, costCenter.hashCode, teamHubId.hashCode]); - - - Map toJson() { - Map json = {}; - json['name'] = nativeToJson(name); - if(costCenter.state == OptionalState.set) { - json['costCenter'] = costCenter.toJson(); - } - json['teamHubId'] = nativeToJson(teamHubId); - return json; - } - - CreateTeamHudDepartmentVariables({ - required this.name, - required this.costCenter, - required this.teamHubId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_team_member.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_team_member.dart deleted file mode 100644 index 273877e3..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_team_member.dart +++ /dev/null @@ -1,216 +0,0 @@ -part of 'generated.dart'; - -class CreateTeamMemberVariablesBuilder { - String teamId; - TeamMemberRole role; - Optional _title = Optional.optional(nativeFromJson, nativeToJson); - Optional _department = Optional.optional(nativeFromJson, nativeToJson); - Optional _teamHubId = Optional.optional(nativeFromJson, nativeToJson); - Optional _isActive = Optional.optional(nativeFromJson, nativeToJson); - String userId; - Optional _inviteStatus = Optional.optional((data) => TeamMemberInviteStatus.values.byName(data), enumSerializer); - - final FirebaseDataConnect _dataConnect; CreateTeamMemberVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - CreateTeamMemberVariablesBuilder department(String? t) { - _department.value = t; - return this; - } - CreateTeamMemberVariablesBuilder teamHubId(String? t) { - _teamHubId.value = t; - return this; - } - CreateTeamMemberVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateTeamMemberVariablesBuilder inviteStatus(TeamMemberInviteStatus? t) { - _inviteStatus.value = t; - return this; - } - - CreateTeamMemberVariablesBuilder(this._dataConnect, {required this.teamId,required this.role,required this.userId,}); - Deserializer dataDeserializer = (dynamic json) => CreateTeamMemberData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateTeamMemberVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateTeamMemberVariables vars= CreateTeamMemberVariables(teamId: teamId,role: role,title: _title,department: _department,teamHubId: _teamHubId,isActive: _isActive,userId: userId,inviteStatus: _inviteStatus,); - return _dataConnect.mutation("createTeamMember", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateTeamMemberTeamMemberInsert { - final String id; - CreateTeamMemberTeamMemberInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTeamMemberTeamMemberInsert otherTyped = other as CreateTeamMemberTeamMemberInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateTeamMemberTeamMemberInsert({ - required this.id, - }); -} - -@immutable -class CreateTeamMemberData { - final CreateTeamMemberTeamMemberInsert teamMember_insert; - CreateTeamMemberData.fromJson(dynamic json): - - teamMember_insert = CreateTeamMemberTeamMemberInsert.fromJson(json['teamMember_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTeamMemberData otherTyped = other as CreateTeamMemberData; - return teamMember_insert == otherTyped.teamMember_insert; - - } - @override - int get hashCode => teamMember_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['teamMember_insert'] = teamMember_insert.toJson(); - return json; - } - - CreateTeamMemberData({ - required this.teamMember_insert, - }); -} - -@immutable -class CreateTeamMemberVariables { - final String teamId; - final TeamMemberRole role; - late final Optionaltitle; - late final Optionaldepartment; - late final OptionalteamHubId; - late final OptionalisActive; - final String userId; - late final OptionalinviteStatus; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateTeamMemberVariables.fromJson(Map json): - - teamId = nativeFromJson(json['teamId']), - role = TeamMemberRole.values.byName(json['role']), - userId = nativeFromJson(json['userId']) { - - - - - title = Optional.optional(nativeFromJson, nativeToJson); - title.value = json['title'] == null ? null : nativeFromJson(json['title']); - - - department = Optional.optional(nativeFromJson, nativeToJson); - department.value = json['department'] == null ? null : nativeFromJson(json['department']); - - - teamHubId = Optional.optional(nativeFromJson, nativeToJson); - teamHubId.value = json['teamHubId'] == null ? null : nativeFromJson(json['teamHubId']); - - - isActive = Optional.optional(nativeFromJson, nativeToJson); - isActive.value = json['isActive'] == null ? null : nativeFromJson(json['isActive']); - - - - inviteStatus = Optional.optional((data) => TeamMemberInviteStatus.values.byName(data), enumSerializer); - inviteStatus.value = json['inviteStatus'] == null ? null : TeamMemberInviteStatus.values.byName(json['inviteStatus']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateTeamMemberVariables otherTyped = other as CreateTeamMemberVariables; - return teamId == otherTyped.teamId && - role == otherTyped.role && - title == otherTyped.title && - department == otherTyped.department && - teamHubId == otherTyped.teamHubId && - isActive == otherTyped.isActive && - userId == otherTyped.userId && - inviteStatus == otherTyped.inviteStatus; - - } - @override - int get hashCode => Object.hashAll([teamId.hashCode, role.hashCode, title.hashCode, department.hashCode, teamHubId.hashCode, isActive.hashCode, userId.hashCode, inviteStatus.hashCode]); - - - Map toJson() { - Map json = {}; - json['teamId'] = nativeToJson(teamId); - json['role'] = - role.name - ; - if(title.state == OptionalState.set) { - json['title'] = title.toJson(); - } - if(department.state == OptionalState.set) { - json['department'] = department.toJson(); - } - if(teamHubId.state == OptionalState.set) { - json['teamHubId'] = teamHubId.toJson(); - } - if(isActive.state == OptionalState.set) { - json['isActive'] = isActive.toJson(); - } - json['userId'] = nativeToJson(userId); - if(inviteStatus.state == OptionalState.set) { - json['inviteStatus'] = inviteStatus.toJson(); - } - return json; - } - - CreateTeamMemberVariables({ - required this.teamId, - required this.role, - required this.title, - required this.department, - required this.teamHubId, - required this.isActive, - required this.userId, - required this.inviteStatus, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_user.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_user.dart deleted file mode 100644 index 4bd0d2f5..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_user.dart +++ /dev/null @@ -1,194 +0,0 @@ -part of 'generated.dart'; - -class CreateUserVariablesBuilder { - String id; - Optional _email = Optional.optional(nativeFromJson, nativeToJson); - Optional _fullName = Optional.optional(nativeFromJson, nativeToJson); - UserBaseRole role; - Optional _userRole = Optional.optional(nativeFromJson, nativeToJson); - Optional _photoUrl = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateUserVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateUserVariablesBuilder fullName(String? t) { - _fullName.value = t; - return this; - } - CreateUserVariablesBuilder userRole(String? t) { - _userRole.value = t; - return this; - } - CreateUserVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - - CreateUserVariablesBuilder(this._dataConnect, {required this.id,required this.role,}); - Deserializer dataDeserializer = (dynamic json) => CreateUserData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateUserVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateUserVariables vars= CreateUserVariables(id: id,email: _email,fullName: _fullName,role: role,userRole: _userRole,photoUrl: _photoUrl,); - return _dataConnect.mutation("CreateUser", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateUserUserInsert { - final String id; - CreateUserUserInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateUserUserInsert otherTyped = other as CreateUserUserInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateUserUserInsert({ - required this.id, - }); -} - -@immutable -class CreateUserData { - final CreateUserUserInsert user_insert; - CreateUserData.fromJson(dynamic json): - - user_insert = CreateUserUserInsert.fromJson(json['user_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateUserData otherTyped = other as CreateUserData; - return user_insert == otherTyped.user_insert; - - } - @override - int get hashCode => user_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['user_insert'] = user_insert.toJson(); - return json; - } - - CreateUserData({ - required this.user_insert, - }); -} - -@immutable -class CreateUserVariables { - final String id; - late final Optionalemail; - late final OptionalfullName; - final UserBaseRole role; - late final OptionaluserRole; - late final OptionalphotoUrl; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateUserVariables.fromJson(Map json): - - id = nativeFromJson(json['id']), - role = UserBaseRole.values.byName(json['role']) { - - - - email = Optional.optional(nativeFromJson, nativeToJson); - email.value = json['email'] == null ? null : nativeFromJson(json['email']); - - - fullName = Optional.optional(nativeFromJson, nativeToJson); - fullName.value = json['fullName'] == null ? null : nativeFromJson(json['fullName']); - - - - userRole = Optional.optional(nativeFromJson, nativeToJson); - userRole.value = json['userRole'] == null ? null : nativeFromJson(json['userRole']); - - - photoUrl = Optional.optional(nativeFromJson, nativeToJson); - photoUrl.value = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateUserVariables otherTyped = other as CreateUserVariables; - return id == otherTyped.id && - email == otherTyped.email && - fullName == otherTyped.fullName && - role == otherTyped.role && - userRole == otherTyped.userRole && - photoUrl == otherTyped.photoUrl; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, email.hashCode, fullName.hashCode, role.hashCode, userRole.hashCode, photoUrl.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(email.state == OptionalState.set) { - json['email'] = email.toJson(); - } - if(fullName.state == OptionalState.set) { - json['fullName'] = fullName.toJson(); - } - json['role'] = - role.name - ; - if(userRole.state == OptionalState.set) { - json['userRole'] = userRole.toJson(); - } - if(photoUrl.state == OptionalState.set) { - json['photoUrl'] = photoUrl.toJson(); - } - return json; - } - - CreateUserVariables({ - required this.id, - required this.email, - required this.fullName, - required this.role, - required this.userRole, - required this.photoUrl, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_user_conversation.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_user_conversation.dart deleted file mode 100644 index 40cb1a70..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_user_conversation.dart +++ /dev/null @@ -1,167 +0,0 @@ -part of 'generated.dart'; - -class CreateUserConversationVariablesBuilder { - String conversationId; - String userId; - Optional _unreadCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _lastReadAt = Optional.optional((json) => json['lastReadAt'] = Timestamp.fromJson(json['lastReadAt']), defaultSerializer); - - final FirebaseDataConnect _dataConnect; CreateUserConversationVariablesBuilder unreadCount(int? t) { - _unreadCount.value = t; - return this; - } - CreateUserConversationVariablesBuilder lastReadAt(Timestamp? t) { - _lastReadAt.value = t; - return this; - } - - CreateUserConversationVariablesBuilder(this._dataConnect, {required this.conversationId,required this.userId,}); - Deserializer dataDeserializer = (dynamic json) => CreateUserConversationData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateUserConversationVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateUserConversationVariables vars= CreateUserConversationVariables(conversationId: conversationId,userId: userId,unreadCount: _unreadCount,lastReadAt: _lastReadAt,); - return _dataConnect.mutation("createUserConversation", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateUserConversationUserConversationInsert { - final String conversationId; - final String userId; - CreateUserConversationUserConversationInsert.fromJson(dynamic json): - - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateUserConversationUserConversationInsert otherTyped = other as CreateUserConversationUserConversationInsert; - return conversationId == otherTyped.conversationId && - userId == otherTyped.userId; - - } - @override - int get hashCode => Object.hashAll([conversationId.hashCode, userId.hashCode]); - - - Map toJson() { - Map json = {}; - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - return json; - } - - CreateUserConversationUserConversationInsert({ - required this.conversationId, - required this.userId, - }); -} - -@immutable -class CreateUserConversationData { - final CreateUserConversationUserConversationInsert userConversation_insert; - CreateUserConversationData.fromJson(dynamic json): - - userConversation_insert = CreateUserConversationUserConversationInsert.fromJson(json['userConversation_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateUserConversationData otherTyped = other as CreateUserConversationData; - return userConversation_insert == otherTyped.userConversation_insert; - - } - @override - int get hashCode => userConversation_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['userConversation_insert'] = userConversation_insert.toJson(); - return json; - } - - CreateUserConversationData({ - required this.userConversation_insert, - }); -} - -@immutable -class CreateUserConversationVariables { - final String conversationId; - final String userId; - late final OptionalunreadCount; - late final OptionallastReadAt; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateUserConversationVariables.fromJson(Map json): - - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']) { - - - - - unreadCount = Optional.optional(nativeFromJson, nativeToJson); - unreadCount.value = json['unreadCount'] == null ? null : nativeFromJson(json['unreadCount']); - - - lastReadAt = Optional.optional((json) => json['lastReadAt'] = Timestamp.fromJson(json['lastReadAt']), defaultSerializer); - lastReadAt.value = json['lastReadAt'] == null ? null : Timestamp.fromJson(json['lastReadAt']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateUserConversationVariables otherTyped = other as CreateUserConversationVariables; - return conversationId == otherTyped.conversationId && - userId == otherTyped.userId && - unreadCount == otherTyped.unreadCount && - lastReadAt == otherTyped.lastReadAt; - - } - @override - int get hashCode => Object.hashAll([conversationId.hashCode, userId.hashCode, unreadCount.hashCode, lastReadAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - if(unreadCount.state == OptionalState.set) { - json['unreadCount'] = unreadCount.toJson(); - } - if(lastReadAt.state == OptionalState.set) { - json['lastReadAt'] = lastReadAt.toJson(); - } - return json; - } - - CreateUserConversationVariables({ - required this.conversationId, - required this.userId, - required this.unreadCount, - required this.lastReadAt, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_vendor.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_vendor.dart deleted file mode 100644 index 28dcd037..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_vendor.dart +++ /dev/null @@ -1,402 +0,0 @@ -part of 'generated.dart'; - -class CreateVendorVariablesBuilder { - String userId; - String companyName; - Optional _email = Optional.optional(nativeFromJson, nativeToJson); - Optional _phone = Optional.optional(nativeFromJson, nativeToJson); - Optional _photoUrl = Optional.optional(nativeFromJson, nativeToJson); - Optional _address = Optional.optional(nativeFromJson, nativeToJson); - Optional _billingAddress = Optional.optional(nativeFromJson, nativeToJson); - Optional _timezone = Optional.optional(nativeFromJson, nativeToJson); - Optional _legalName = Optional.optional(nativeFromJson, nativeToJson); - Optional _doingBusinessAs = Optional.optional(nativeFromJson, nativeToJson); - Optional _region = Optional.optional(nativeFromJson, nativeToJson); - Optional _state = Optional.optional(nativeFromJson, nativeToJson); - Optional _city = Optional.optional(nativeFromJson, nativeToJson); - Optional _serviceSpecialty = Optional.optional(nativeFromJson, nativeToJson); - Optional _approvalStatus = Optional.optional((data) => ApprovalStatus.values.byName(data), enumSerializer); - Optional _isActive = Optional.optional(nativeFromJson, nativeToJson); - Optional _markup = Optional.optional(nativeFromJson, nativeToJson); - Optional _fee = Optional.optional(nativeFromJson, nativeToJson); - Optional _csat = Optional.optional(nativeFromJson, nativeToJson); - Optional _tier = Optional.optional((data) => VendorTier.values.byName(data), enumSerializer); - - final FirebaseDataConnect _dataConnect; CreateVendorVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateVendorVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - CreateVendorVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - CreateVendorVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - CreateVendorVariablesBuilder billingAddress(String? t) { - _billingAddress.value = t; - return this; - } - CreateVendorVariablesBuilder timezone(String? t) { - _timezone.value = t; - return this; - } - CreateVendorVariablesBuilder legalName(String? t) { - _legalName.value = t; - return this; - } - CreateVendorVariablesBuilder doingBusinessAs(String? t) { - _doingBusinessAs.value = t; - return this; - } - CreateVendorVariablesBuilder region(String? t) { - _region.value = t; - return this; - } - CreateVendorVariablesBuilder state(String? t) { - _state.value = t; - return this; - } - CreateVendorVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - CreateVendorVariablesBuilder serviceSpecialty(String? t) { - _serviceSpecialty.value = t; - return this; - } - CreateVendorVariablesBuilder approvalStatus(ApprovalStatus? t) { - _approvalStatus.value = t; - return this; - } - CreateVendorVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateVendorVariablesBuilder markup(double? t) { - _markup.value = t; - return this; - } - CreateVendorVariablesBuilder fee(double? t) { - _fee.value = t; - return this; - } - CreateVendorVariablesBuilder csat(double? t) { - _csat.value = t; - return this; - } - CreateVendorVariablesBuilder tier(VendorTier? t) { - _tier.value = t; - return this; - } - - CreateVendorVariablesBuilder(this._dataConnect, {required this.userId,required this.companyName,}); - Deserializer dataDeserializer = (dynamic json) => CreateVendorData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateVendorVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateVendorVariables vars= CreateVendorVariables(userId: userId,companyName: companyName,email: _email,phone: _phone,photoUrl: _photoUrl,address: _address,billingAddress: _billingAddress,timezone: _timezone,legalName: _legalName,doingBusinessAs: _doingBusinessAs,region: _region,state: _state,city: _city,serviceSpecialty: _serviceSpecialty,approvalStatus: _approvalStatus,isActive: _isActive,markup: _markup,fee: _fee,csat: _csat,tier: _tier,); - return _dataConnect.mutation("createVendor", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateVendorVendorInsert { - final String id; - CreateVendorVendorInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateVendorVendorInsert otherTyped = other as CreateVendorVendorInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateVendorVendorInsert({ - required this.id, - }); -} - -@immutable -class CreateVendorData { - final CreateVendorVendorInsert vendor_insert; - CreateVendorData.fromJson(dynamic json): - - vendor_insert = CreateVendorVendorInsert.fromJson(json['vendor_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateVendorData otherTyped = other as CreateVendorData; - return vendor_insert == otherTyped.vendor_insert; - - } - @override - int get hashCode => vendor_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['vendor_insert'] = vendor_insert.toJson(); - return json; - } - - CreateVendorData({ - required this.vendor_insert, - }); -} - -@immutable -class CreateVendorVariables { - final String userId; - final String companyName; - late final Optionalemail; - late final Optionalphone; - late final OptionalphotoUrl; - late final Optionaladdress; - late final OptionalbillingAddress; - late final Optionaltimezone; - late final OptionallegalName; - late final OptionaldoingBusinessAs; - late final Optionalregion; - late final Optionalstate; - late final Optionalcity; - late final OptionalserviceSpecialty; - late final OptionalapprovalStatus; - late final OptionalisActive; - late final Optionalmarkup; - late final Optionalfee; - late final Optionalcsat; - late final Optionaltier; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateVendorVariables.fromJson(Map json): - - userId = nativeFromJson(json['userId']), - companyName = nativeFromJson(json['companyName']) { - - - - - email = Optional.optional(nativeFromJson, nativeToJson); - email.value = json['email'] == null ? null : nativeFromJson(json['email']); - - - phone = Optional.optional(nativeFromJson, nativeToJson); - phone.value = json['phone'] == null ? null : nativeFromJson(json['phone']); - - - photoUrl = Optional.optional(nativeFromJson, nativeToJson); - photoUrl.value = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']); - - - address = Optional.optional(nativeFromJson, nativeToJson); - address.value = json['address'] == null ? null : nativeFromJson(json['address']); - - - billingAddress = Optional.optional(nativeFromJson, nativeToJson); - billingAddress.value = json['billingAddress'] == null ? null : nativeFromJson(json['billingAddress']); - - - timezone = Optional.optional(nativeFromJson, nativeToJson); - timezone.value = json['timezone'] == null ? null : nativeFromJson(json['timezone']); - - - legalName = Optional.optional(nativeFromJson, nativeToJson); - legalName.value = json['legalName'] == null ? null : nativeFromJson(json['legalName']); - - - doingBusinessAs = Optional.optional(nativeFromJson, nativeToJson); - doingBusinessAs.value = json['doingBusinessAs'] == null ? null : nativeFromJson(json['doingBusinessAs']); - - - region = Optional.optional(nativeFromJson, nativeToJson); - region.value = json['region'] == null ? null : nativeFromJson(json['region']); - - - state = Optional.optional(nativeFromJson, nativeToJson); - state.value = json['state'] == null ? null : nativeFromJson(json['state']); - - - city = Optional.optional(nativeFromJson, nativeToJson); - city.value = json['city'] == null ? null : nativeFromJson(json['city']); - - - serviceSpecialty = Optional.optional(nativeFromJson, nativeToJson); - serviceSpecialty.value = json['serviceSpecialty'] == null ? null : nativeFromJson(json['serviceSpecialty']); - - - approvalStatus = Optional.optional((data) => ApprovalStatus.values.byName(data), enumSerializer); - approvalStatus.value = json['approvalStatus'] == null ? null : ApprovalStatus.values.byName(json['approvalStatus']); - - - isActive = Optional.optional(nativeFromJson, nativeToJson); - isActive.value = json['isActive'] == null ? null : nativeFromJson(json['isActive']); - - - markup = Optional.optional(nativeFromJson, nativeToJson); - markup.value = json['markup'] == null ? null : nativeFromJson(json['markup']); - - - fee = Optional.optional(nativeFromJson, nativeToJson); - fee.value = json['fee'] == null ? null : nativeFromJson(json['fee']); - - - csat = Optional.optional(nativeFromJson, nativeToJson); - csat.value = json['csat'] == null ? null : nativeFromJson(json['csat']); - - - tier = Optional.optional((data) => VendorTier.values.byName(data), enumSerializer); - tier.value = json['tier'] == null ? null : VendorTier.values.byName(json['tier']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateVendorVariables otherTyped = other as CreateVendorVariables; - return userId == otherTyped.userId && - companyName == otherTyped.companyName && - email == otherTyped.email && - phone == otherTyped.phone && - photoUrl == otherTyped.photoUrl && - address == otherTyped.address && - billingAddress == otherTyped.billingAddress && - timezone == otherTyped.timezone && - legalName == otherTyped.legalName && - doingBusinessAs == otherTyped.doingBusinessAs && - region == otherTyped.region && - state == otherTyped.state && - city == otherTyped.city && - serviceSpecialty == otherTyped.serviceSpecialty && - approvalStatus == otherTyped.approvalStatus && - isActive == otherTyped.isActive && - markup == otherTyped.markup && - fee == otherTyped.fee && - csat == otherTyped.csat && - tier == otherTyped.tier; - - } - @override - int get hashCode => Object.hashAll([userId.hashCode, companyName.hashCode, email.hashCode, phone.hashCode, photoUrl.hashCode, address.hashCode, billingAddress.hashCode, timezone.hashCode, legalName.hashCode, doingBusinessAs.hashCode, region.hashCode, state.hashCode, city.hashCode, serviceSpecialty.hashCode, approvalStatus.hashCode, isActive.hashCode, markup.hashCode, fee.hashCode, csat.hashCode, tier.hashCode]); - - - Map toJson() { - Map json = {}; - json['userId'] = nativeToJson(userId); - json['companyName'] = nativeToJson(companyName); - if(email.state == OptionalState.set) { - json['email'] = email.toJson(); - } - if(phone.state == OptionalState.set) { - json['phone'] = phone.toJson(); - } - if(photoUrl.state == OptionalState.set) { - json['photoUrl'] = photoUrl.toJson(); - } - if(address.state == OptionalState.set) { - json['address'] = address.toJson(); - } - if(billingAddress.state == OptionalState.set) { - json['billingAddress'] = billingAddress.toJson(); - } - if(timezone.state == OptionalState.set) { - json['timezone'] = timezone.toJson(); - } - if(legalName.state == OptionalState.set) { - json['legalName'] = legalName.toJson(); - } - if(doingBusinessAs.state == OptionalState.set) { - json['doingBusinessAs'] = doingBusinessAs.toJson(); - } - if(region.state == OptionalState.set) { - json['region'] = region.toJson(); - } - if(state.state == OptionalState.set) { - json['state'] = state.toJson(); - } - if(city.state == OptionalState.set) { - json['city'] = city.toJson(); - } - if(serviceSpecialty.state == OptionalState.set) { - json['serviceSpecialty'] = serviceSpecialty.toJson(); - } - if(approvalStatus.state == OptionalState.set) { - json['approvalStatus'] = approvalStatus.toJson(); - } - if(isActive.state == OptionalState.set) { - json['isActive'] = isActive.toJson(); - } - if(markup.state == OptionalState.set) { - json['markup'] = markup.toJson(); - } - if(fee.state == OptionalState.set) { - json['fee'] = fee.toJson(); - } - if(csat.state == OptionalState.set) { - json['csat'] = csat.toJson(); - } - if(tier.state == OptionalState.set) { - json['tier'] = tier.toJson(); - } - return json; - } - - CreateVendorVariables({ - required this.userId, - required this.companyName, - required this.email, - required this.phone, - required this.photoUrl, - required this.address, - required this.billingAddress, - required this.timezone, - required this.legalName, - required this.doingBusinessAs, - required this.region, - required this.state, - required this.city, - required this.serviceSpecialty, - required this.approvalStatus, - required this.isActive, - required this.markup, - required this.fee, - required this.csat, - required this.tier, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_vendor_benefit_plan.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_vendor_benefit_plan.dart deleted file mode 100644 index 8b3bb46d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_vendor_benefit_plan.dart +++ /dev/null @@ -1,207 +0,0 @@ -part of 'generated.dart'; - -class CreateVendorBenefitPlanVariablesBuilder { - String vendorId; - String title; - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - Optional _requestLabel = Optional.optional(nativeFromJson, nativeToJson); - Optional _total = Optional.optional(nativeFromJson, nativeToJson); - Optional _isActive = Optional.optional(nativeFromJson, nativeToJson); - Optional _createdBy = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateVendorBenefitPlanVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateVendorBenefitPlanVariablesBuilder requestLabel(String? t) { - _requestLabel.value = t; - return this; - } - CreateVendorBenefitPlanVariablesBuilder total(int? t) { - _total.value = t; - return this; - } - CreateVendorBenefitPlanVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateVendorBenefitPlanVariablesBuilder createdBy(String? t) { - _createdBy.value = t; - return this; - } - - CreateVendorBenefitPlanVariablesBuilder(this._dataConnect, {required this.vendorId,required this.title,}); - Deserializer dataDeserializer = (dynamic json) => CreateVendorBenefitPlanData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateVendorBenefitPlanVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateVendorBenefitPlanVariables vars= CreateVendorBenefitPlanVariables(vendorId: vendorId,title: title,description: _description,requestLabel: _requestLabel,total: _total,isActive: _isActive,createdBy: _createdBy,); - return _dataConnect.mutation("createVendorBenefitPlan", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateVendorBenefitPlanVendorBenefitPlanInsert { - final String id; - CreateVendorBenefitPlanVendorBenefitPlanInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateVendorBenefitPlanVendorBenefitPlanInsert otherTyped = other as CreateVendorBenefitPlanVendorBenefitPlanInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateVendorBenefitPlanVendorBenefitPlanInsert({ - required this.id, - }); -} - -@immutable -class CreateVendorBenefitPlanData { - final CreateVendorBenefitPlanVendorBenefitPlanInsert vendorBenefitPlan_insert; - CreateVendorBenefitPlanData.fromJson(dynamic json): - - vendorBenefitPlan_insert = CreateVendorBenefitPlanVendorBenefitPlanInsert.fromJson(json['vendorBenefitPlan_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateVendorBenefitPlanData otherTyped = other as CreateVendorBenefitPlanData; - return vendorBenefitPlan_insert == otherTyped.vendorBenefitPlan_insert; - - } - @override - int get hashCode => vendorBenefitPlan_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['vendorBenefitPlan_insert'] = vendorBenefitPlan_insert.toJson(); - return json; - } - - CreateVendorBenefitPlanData({ - required this.vendorBenefitPlan_insert, - }); -} - -@immutable -class CreateVendorBenefitPlanVariables { - final String vendorId; - final String title; - late final Optionaldescription; - late final OptionalrequestLabel; - late final Optionaltotal; - late final OptionalisActive; - late final OptionalcreatedBy; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateVendorBenefitPlanVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']), - title = nativeFromJson(json['title']) { - - - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - - requestLabel = Optional.optional(nativeFromJson, nativeToJson); - requestLabel.value = json['requestLabel'] == null ? null : nativeFromJson(json['requestLabel']); - - - total = Optional.optional(nativeFromJson, nativeToJson); - total.value = json['total'] == null ? null : nativeFromJson(json['total']); - - - isActive = Optional.optional(nativeFromJson, nativeToJson); - isActive.value = json['isActive'] == null ? null : nativeFromJson(json['isActive']); - - - createdBy = Optional.optional(nativeFromJson, nativeToJson); - createdBy.value = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateVendorBenefitPlanVariables otherTyped = other as CreateVendorBenefitPlanVariables; - return vendorId == otherTyped.vendorId && - title == otherTyped.title && - description == otherTyped.description && - requestLabel == otherTyped.requestLabel && - total == otherTyped.total && - isActive == otherTyped.isActive && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, title.hashCode, description.hashCode, requestLabel.hashCode, total.hashCode, isActive.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - json['title'] = nativeToJson(title); - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - if(requestLabel.state == OptionalState.set) { - json['requestLabel'] = requestLabel.toJson(); - } - if(total.state == OptionalState.set) { - json['total'] = total.toJson(); - } - if(isActive.state == OptionalState.set) { - json['isActive'] = isActive.toJson(); - } - if(createdBy.state == OptionalState.set) { - json['createdBy'] = createdBy.toJson(); - } - return json; - } - - CreateVendorBenefitPlanVariables({ - required this.vendorId, - required this.title, - required this.description, - required this.requestLabel, - required this.total, - required this.isActive, - required this.createdBy, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_vendor_rate.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_vendor_rate.dart deleted file mode 100644 index 52085bbc..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_vendor_rate.dart +++ /dev/null @@ -1,245 +0,0 @@ -part of 'generated.dart'; - -class CreateVendorRateVariablesBuilder { - String vendorId; - Optional _roleName = Optional.optional(nativeFromJson, nativeToJson); - Optional _category = Optional.optional((data) => CategoryType.values.byName(data), enumSerializer); - Optional _clientRate = Optional.optional(nativeFromJson, nativeToJson); - Optional _employeeWage = Optional.optional(nativeFromJson, nativeToJson); - Optional _markupPercentage = Optional.optional(nativeFromJson, nativeToJson); - Optional _vendorFeePercentage = Optional.optional(nativeFromJson, nativeToJson); - Optional _isActive = Optional.optional(nativeFromJson, nativeToJson); - Optional _notes = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; CreateVendorRateVariablesBuilder roleName(String? t) { - _roleName.value = t; - return this; - } - CreateVendorRateVariablesBuilder category(CategoryType? t) { - _category.value = t; - return this; - } - CreateVendorRateVariablesBuilder clientRate(double? t) { - _clientRate.value = t; - return this; - } - CreateVendorRateVariablesBuilder employeeWage(double? t) { - _employeeWage.value = t; - return this; - } - CreateVendorRateVariablesBuilder markupPercentage(double? t) { - _markupPercentage.value = t; - return this; - } - CreateVendorRateVariablesBuilder vendorFeePercentage(double? t) { - _vendorFeePercentage.value = t; - return this; - } - CreateVendorRateVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateVendorRateVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - CreateVendorRateVariablesBuilder(this._dataConnect, {required this.vendorId,}); - Deserializer dataDeserializer = (dynamic json) => CreateVendorRateData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateVendorRateVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateVendorRateVariables vars= CreateVendorRateVariables(vendorId: vendorId,roleName: _roleName,category: _category,clientRate: _clientRate,employeeWage: _employeeWage,markupPercentage: _markupPercentage,vendorFeePercentage: _vendorFeePercentage,isActive: _isActive,notes: _notes,); - return _dataConnect.mutation("createVendorRate", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateVendorRateVendorRateInsert { - final String id; - CreateVendorRateVendorRateInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateVendorRateVendorRateInsert otherTyped = other as CreateVendorRateVendorRateInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateVendorRateVendorRateInsert({ - required this.id, - }); -} - -@immutable -class CreateVendorRateData { - final CreateVendorRateVendorRateInsert vendorRate_insert; - CreateVendorRateData.fromJson(dynamic json): - - vendorRate_insert = CreateVendorRateVendorRateInsert.fromJson(json['vendorRate_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateVendorRateData otherTyped = other as CreateVendorRateData; - return vendorRate_insert == otherTyped.vendorRate_insert; - - } - @override - int get hashCode => vendorRate_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['vendorRate_insert'] = vendorRate_insert.toJson(); - return json; - } - - CreateVendorRateData({ - required this.vendorRate_insert, - }); -} - -@immutable -class CreateVendorRateVariables { - final String vendorId; - late final OptionalroleName; - late final Optionalcategory; - late final OptionalclientRate; - late final OptionalemployeeWage; - late final OptionalmarkupPercentage; - late final OptionalvendorFeePercentage; - late final OptionalisActive; - late final Optionalnotes; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateVendorRateVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']) { - - - - roleName = Optional.optional(nativeFromJson, nativeToJson); - roleName.value = json['roleName'] == null ? null : nativeFromJson(json['roleName']); - - - category = Optional.optional((data) => CategoryType.values.byName(data), enumSerializer); - category.value = json['category'] == null ? null : CategoryType.values.byName(json['category']); - - - clientRate = Optional.optional(nativeFromJson, nativeToJson); - clientRate.value = json['clientRate'] == null ? null : nativeFromJson(json['clientRate']); - - - employeeWage = Optional.optional(nativeFromJson, nativeToJson); - employeeWage.value = json['employeeWage'] == null ? null : nativeFromJson(json['employeeWage']); - - - markupPercentage = Optional.optional(nativeFromJson, nativeToJson); - markupPercentage.value = json['markupPercentage'] == null ? null : nativeFromJson(json['markupPercentage']); - - - vendorFeePercentage = Optional.optional(nativeFromJson, nativeToJson); - vendorFeePercentage.value = json['vendorFeePercentage'] == null ? null : nativeFromJson(json['vendorFeePercentage']); - - - isActive = Optional.optional(nativeFromJson, nativeToJson); - isActive.value = json['isActive'] == null ? null : nativeFromJson(json['isActive']); - - - notes = Optional.optional(nativeFromJson, nativeToJson); - notes.value = json['notes'] == null ? null : nativeFromJson(json['notes']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateVendorRateVariables otherTyped = other as CreateVendorRateVariables; - return vendorId == otherTyped.vendorId && - roleName == otherTyped.roleName && - category == otherTyped.category && - clientRate == otherTyped.clientRate && - employeeWage == otherTyped.employeeWage && - markupPercentage == otherTyped.markupPercentage && - vendorFeePercentage == otherTyped.vendorFeePercentage && - isActive == otherTyped.isActive && - notes == otherTyped.notes; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, roleName.hashCode, category.hashCode, clientRate.hashCode, employeeWage.hashCode, markupPercentage.hashCode, vendorFeePercentage.hashCode, isActive.hashCode, notes.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - if(roleName.state == OptionalState.set) { - json['roleName'] = roleName.toJson(); - } - if(category.state == OptionalState.set) { - json['category'] = category.toJson(); - } - if(clientRate.state == OptionalState.set) { - json['clientRate'] = clientRate.toJson(); - } - if(employeeWage.state == OptionalState.set) { - json['employeeWage'] = employeeWage.toJson(); - } - if(markupPercentage.state == OptionalState.set) { - json['markupPercentage'] = markupPercentage.toJson(); - } - if(vendorFeePercentage.state == OptionalState.set) { - json['vendorFeePercentage'] = vendorFeePercentage.toJson(); - } - if(isActive.state == OptionalState.set) { - json['isActive'] = isActive.toJson(); - } - if(notes.state == OptionalState.set) { - json['notes'] = notes.toJson(); - } - return json; - } - - CreateVendorRateVariables({ - required this.vendorId, - required this.roleName, - required this.category, - required this.clientRate, - required this.employeeWage, - required this.markupPercentage, - required this.vendorFeePercentage, - required this.isActive, - required this.notes, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/create_workforce.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/create_workforce.dart deleted file mode 100644 index b2735b6c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/create_workforce.dart +++ /dev/null @@ -1,154 +0,0 @@ -part of 'generated.dart'; - -class CreateWorkforceVariablesBuilder { - String vendorId; - String staffId; - String workforceNumber; - Optional _employmentType = Optional.optional((data) => WorkforceEmploymentType.values.byName(data), enumSerializer); - - final FirebaseDataConnect _dataConnect; CreateWorkforceVariablesBuilder employmentType(WorkforceEmploymentType? t) { - _employmentType.value = t; - return this; - } - - CreateWorkforceVariablesBuilder(this._dataConnect, {required this.vendorId,required this.staffId,required this.workforceNumber,}); - Deserializer dataDeserializer = (dynamic json) => CreateWorkforceData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (CreateWorkforceVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - CreateWorkforceVariables vars= CreateWorkforceVariables(vendorId: vendorId,staffId: staffId,workforceNumber: workforceNumber,employmentType: _employmentType,); - return _dataConnect.mutation("createWorkforce", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class CreateWorkforceWorkforceInsert { - final String id; - CreateWorkforceWorkforceInsert.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateWorkforceWorkforceInsert otherTyped = other as CreateWorkforceWorkforceInsert; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - CreateWorkforceWorkforceInsert({ - required this.id, - }); -} - -@immutable -class CreateWorkforceData { - final CreateWorkforceWorkforceInsert workforce_insert; - CreateWorkforceData.fromJson(dynamic json): - - workforce_insert = CreateWorkforceWorkforceInsert.fromJson(json['workforce_insert']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateWorkforceData otherTyped = other as CreateWorkforceData; - return workforce_insert == otherTyped.workforce_insert; - - } - @override - int get hashCode => workforce_insert.hashCode; - - - Map toJson() { - Map json = {}; - json['workforce_insert'] = workforce_insert.toJson(); - return json; - } - - CreateWorkforceData({ - required this.workforce_insert, - }); -} - -@immutable -class CreateWorkforceVariables { - final String vendorId; - final String staffId; - final String workforceNumber; - late final OptionalemploymentType; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - CreateWorkforceVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']), - staffId = nativeFromJson(json['staffId']), - workforceNumber = nativeFromJson(json['workforceNumber']) { - - - - - - employmentType = Optional.optional((data) => WorkforceEmploymentType.values.byName(data), enumSerializer); - employmentType.value = json['employmentType'] == null ? null : WorkforceEmploymentType.values.byName(json['employmentType']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final CreateWorkforceVariables otherTyped = other as CreateWorkforceVariables; - return vendorId == otherTyped.vendorId && - staffId == otherTyped.staffId && - workforceNumber == otherTyped.workforceNumber && - employmentType == otherTyped.employmentType; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, staffId.hashCode, workforceNumber.hashCode, employmentType.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - json['staffId'] = nativeToJson(staffId); - json['workforceNumber'] = nativeToJson(workforceNumber); - if(employmentType.state == OptionalState.set) { - json['employmentType'] = employmentType.toJson(); - } - return json; - } - - CreateWorkforceVariables({ - required this.vendorId, - required this.staffId, - required this.workforceNumber, - required this.employmentType, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/deactivate_workforce.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/deactivate_workforce.dart deleted file mode 100644 index 14af2597..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/deactivate_workforce.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeactivateWorkforceVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeactivateWorkforceVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeactivateWorkforceData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeactivateWorkforceVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeactivateWorkforceVariables vars= DeactivateWorkforceVariables(id: id,); - return _dataConnect.mutation("deactivateWorkforce", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeactivateWorkforceWorkforceUpdate { - final String id; - DeactivateWorkforceWorkforceUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeactivateWorkforceWorkforceUpdate otherTyped = other as DeactivateWorkforceWorkforceUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeactivateWorkforceWorkforceUpdate({ - required this.id, - }); -} - -@immutable -class DeactivateWorkforceData { - final DeactivateWorkforceWorkforceUpdate? workforce_update; - DeactivateWorkforceData.fromJson(dynamic json): - - workforce_update = json['workforce_update'] == null ? null : DeactivateWorkforceWorkforceUpdate.fromJson(json['workforce_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeactivateWorkforceData otherTyped = other as DeactivateWorkforceData; - return workforce_update == otherTyped.workforce_update; - - } - @override - int get hashCode => workforce_update.hashCode; - - - Map toJson() { - Map json = {}; - if (workforce_update != null) { - json['workforce_update'] = workforce_update!.toJson(); - } - return json; - } - - DeactivateWorkforceData({ - this.workforce_update, - }); -} - -@immutable -class DeactivateWorkforceVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeactivateWorkforceVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeactivateWorkforceVariables otherTyped = other as DeactivateWorkforceVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeactivateWorkforceVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_account.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_account.dart deleted file mode 100644 index a152983c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_account.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteAccountVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteAccountVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteAccountData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteAccountVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteAccountVariables vars= DeleteAccountVariables(id: id,); - return _dataConnect.mutation("deleteAccount", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteAccountAccountDelete { - final String id; - DeleteAccountAccountDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteAccountAccountDelete otherTyped = other as DeleteAccountAccountDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteAccountAccountDelete({ - required this.id, - }); -} - -@immutable -class DeleteAccountData { - final DeleteAccountAccountDelete? account_delete; - DeleteAccountData.fromJson(dynamic json): - - account_delete = json['account_delete'] == null ? null : DeleteAccountAccountDelete.fromJson(json['account_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteAccountData otherTyped = other as DeleteAccountData; - return account_delete == otherTyped.account_delete; - - } - @override - int get hashCode => account_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (account_delete != null) { - json['account_delete'] = account_delete!.toJson(); - } - return json; - } - - DeleteAccountData({ - this.account_delete, - }); -} - -@immutable -class DeleteAccountVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteAccountVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteAccountVariables otherTyped = other as DeleteAccountVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteAccountVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_activity_log.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_activity_log.dart deleted file mode 100644 index b0a1c076..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_activity_log.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteActivityLogVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteActivityLogVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteActivityLogData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteActivityLogVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteActivityLogVariables vars= DeleteActivityLogVariables(id: id,); - return _dataConnect.mutation("deleteActivityLog", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteActivityLogActivityLogDelete { - final String id; - DeleteActivityLogActivityLogDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteActivityLogActivityLogDelete otherTyped = other as DeleteActivityLogActivityLogDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteActivityLogActivityLogDelete({ - required this.id, - }); -} - -@immutable -class DeleteActivityLogData { - final DeleteActivityLogActivityLogDelete? activityLog_delete; - DeleteActivityLogData.fromJson(dynamic json): - - activityLog_delete = json['activityLog_delete'] == null ? null : DeleteActivityLogActivityLogDelete.fromJson(json['activityLog_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteActivityLogData otherTyped = other as DeleteActivityLogData; - return activityLog_delete == otherTyped.activityLog_delete; - - } - @override - int get hashCode => activityLog_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (activityLog_delete != null) { - json['activityLog_delete'] = activityLog_delete!.toJson(); - } - return json; - } - - DeleteActivityLogData({ - this.activityLog_delete, - }); -} - -@immutable -class DeleteActivityLogVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteActivityLogVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteActivityLogVariables otherTyped = other as DeleteActivityLogVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteActivityLogVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_application.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_application.dart deleted file mode 100644 index 400f440e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_application.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteApplicationVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteApplicationVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteApplicationData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteApplicationVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteApplicationVariables vars= DeleteApplicationVariables(id: id,); - return _dataConnect.mutation("deleteApplication", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteApplicationApplicationDelete { - final String id; - DeleteApplicationApplicationDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteApplicationApplicationDelete otherTyped = other as DeleteApplicationApplicationDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteApplicationApplicationDelete({ - required this.id, - }); -} - -@immutable -class DeleteApplicationData { - final DeleteApplicationApplicationDelete? application_delete; - DeleteApplicationData.fromJson(dynamic json): - - application_delete = json['application_delete'] == null ? null : DeleteApplicationApplicationDelete.fromJson(json['application_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteApplicationData otherTyped = other as DeleteApplicationData; - return application_delete == otherTyped.application_delete; - - } - @override - int get hashCode => application_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (application_delete != null) { - json['application_delete'] = application_delete!.toJson(); - } - return json; - } - - DeleteApplicationData({ - this.application_delete, - }); -} - -@immutable -class DeleteApplicationVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteApplicationVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteApplicationVariables otherTyped = other as DeleteApplicationVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteApplicationVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_assignment.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_assignment.dart deleted file mode 100644 index a9b043d3..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_assignment.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteAssignmentVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteAssignmentVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteAssignmentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteAssignmentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteAssignmentVariables vars= DeleteAssignmentVariables(id: id,); - return _dataConnect.mutation("DeleteAssignment", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteAssignmentAssignmentDelete { - final String id; - DeleteAssignmentAssignmentDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteAssignmentAssignmentDelete otherTyped = other as DeleteAssignmentAssignmentDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteAssignmentAssignmentDelete({ - required this.id, - }); -} - -@immutable -class DeleteAssignmentData { - final DeleteAssignmentAssignmentDelete? assignment_delete; - DeleteAssignmentData.fromJson(dynamic json): - - assignment_delete = json['assignment_delete'] == null ? null : DeleteAssignmentAssignmentDelete.fromJson(json['assignment_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteAssignmentData otherTyped = other as DeleteAssignmentData; - return assignment_delete == otherTyped.assignment_delete; - - } - @override - int get hashCode => assignment_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (assignment_delete != null) { - json['assignment_delete'] = assignment_delete!.toJson(); - } - return json; - } - - DeleteAssignmentData({ - this.assignment_delete, - }); -} - -@immutable -class DeleteAssignmentVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteAssignmentVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteAssignmentVariables otherTyped = other as DeleteAssignmentVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteAssignmentVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_attire_option.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_attire_option.dart deleted file mode 100644 index 9dd40295..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_attire_option.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteAttireOptionVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteAttireOptionVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteAttireOptionData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteAttireOptionVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteAttireOptionVariables vars= DeleteAttireOptionVariables(id: id,); - return _dataConnect.mutation("deleteAttireOption", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteAttireOptionAttireOptionDelete { - final String id; - DeleteAttireOptionAttireOptionDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteAttireOptionAttireOptionDelete otherTyped = other as DeleteAttireOptionAttireOptionDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteAttireOptionAttireOptionDelete({ - required this.id, - }); -} - -@immutable -class DeleteAttireOptionData { - final DeleteAttireOptionAttireOptionDelete? attireOption_delete; - DeleteAttireOptionData.fromJson(dynamic json): - - attireOption_delete = json['attireOption_delete'] == null ? null : DeleteAttireOptionAttireOptionDelete.fromJson(json['attireOption_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteAttireOptionData otherTyped = other as DeleteAttireOptionData; - return attireOption_delete == otherTyped.attireOption_delete; - - } - @override - int get hashCode => attireOption_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (attireOption_delete != null) { - json['attireOption_delete'] = attireOption_delete!.toJson(); - } - return json; - } - - DeleteAttireOptionData({ - this.attireOption_delete, - }); -} - -@immutable -class DeleteAttireOptionVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteAttireOptionVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteAttireOptionVariables otherTyped = other as DeleteAttireOptionVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteAttireOptionVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_benefits_data.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_benefits_data.dart deleted file mode 100644 index 5c74917d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_benefits_data.dart +++ /dev/null @@ -1,135 +0,0 @@ -part of 'generated.dart'; - -class DeleteBenefitsDataVariablesBuilder { - String staffId; - String vendorBenefitPlanId; - - final FirebaseDataConnect _dataConnect; - DeleteBenefitsDataVariablesBuilder(this._dataConnect, {required this.staffId,required this.vendorBenefitPlanId,}); - Deserializer dataDeserializer = (dynamic json) => DeleteBenefitsDataData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteBenefitsDataVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteBenefitsDataVariables vars= DeleteBenefitsDataVariables(staffId: staffId,vendorBenefitPlanId: vendorBenefitPlanId,); - return _dataConnect.mutation("deleteBenefitsData", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteBenefitsDataBenefitsDataDelete { - final String vendorBenefitPlanId; - final String staffId; - DeleteBenefitsDataBenefitsDataDelete.fromJson(dynamic json): - - vendorBenefitPlanId = nativeFromJson(json['vendorBenefitPlanId']), - staffId = nativeFromJson(json['staffId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteBenefitsDataBenefitsDataDelete otherTyped = other as DeleteBenefitsDataBenefitsDataDelete; - return vendorBenefitPlanId == otherTyped.vendorBenefitPlanId && - staffId == otherTyped.staffId; - - } - @override - int get hashCode => Object.hashAll([vendorBenefitPlanId.hashCode, staffId.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorBenefitPlanId'] = nativeToJson(vendorBenefitPlanId); - json['staffId'] = nativeToJson(staffId); - return json; - } - - DeleteBenefitsDataBenefitsDataDelete({ - required this.vendorBenefitPlanId, - required this.staffId, - }); -} - -@immutable -class DeleteBenefitsDataData { - final DeleteBenefitsDataBenefitsDataDelete? benefitsData_delete; - DeleteBenefitsDataData.fromJson(dynamic json): - - benefitsData_delete = json['benefitsData_delete'] == null ? null : DeleteBenefitsDataBenefitsDataDelete.fromJson(json['benefitsData_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteBenefitsDataData otherTyped = other as DeleteBenefitsDataData; - return benefitsData_delete == otherTyped.benefitsData_delete; - - } - @override - int get hashCode => benefitsData_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (benefitsData_delete != null) { - json['benefitsData_delete'] = benefitsData_delete!.toJson(); - } - return json; - } - - DeleteBenefitsDataData({ - this.benefitsData_delete, - }); -} - -@immutable -class DeleteBenefitsDataVariables { - final String staffId; - final String vendorBenefitPlanId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteBenefitsDataVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - vendorBenefitPlanId = nativeFromJson(json['vendorBenefitPlanId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteBenefitsDataVariables otherTyped = other as DeleteBenefitsDataVariables; - return staffId == otherTyped.staffId && - vendorBenefitPlanId == otherTyped.vendorBenefitPlanId; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, vendorBenefitPlanId.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['vendorBenefitPlanId'] = nativeToJson(vendorBenefitPlanId); - return json; - } - - DeleteBenefitsDataVariables({ - required this.staffId, - required this.vendorBenefitPlanId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_business.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_business.dart deleted file mode 100644 index 855347c5..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_business.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteBusinessVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteBusinessVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteBusinessData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteBusinessVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteBusinessVariables vars= DeleteBusinessVariables(id: id,); - return _dataConnect.mutation("deleteBusiness", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteBusinessBusinessDelete { - final String id; - DeleteBusinessBusinessDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteBusinessBusinessDelete otherTyped = other as DeleteBusinessBusinessDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteBusinessBusinessDelete({ - required this.id, - }); -} - -@immutable -class DeleteBusinessData { - final DeleteBusinessBusinessDelete? business_delete; - DeleteBusinessData.fromJson(dynamic json): - - business_delete = json['business_delete'] == null ? null : DeleteBusinessBusinessDelete.fromJson(json['business_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteBusinessData otherTyped = other as DeleteBusinessData; - return business_delete == otherTyped.business_delete; - - } - @override - int get hashCode => business_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (business_delete != null) { - json['business_delete'] = business_delete!.toJson(); - } - return json; - } - - DeleteBusinessData({ - this.business_delete, - }); -} - -@immutable -class DeleteBusinessVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteBusinessVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteBusinessVariables otherTyped = other as DeleteBusinessVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteBusinessVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_category.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_category.dart deleted file mode 100644 index 76ebca82..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_category.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteCategoryVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteCategoryVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteCategoryData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteCategoryVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteCategoryVariables vars= DeleteCategoryVariables(id: id,); - return _dataConnect.mutation("deleteCategory", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteCategoryCategoryDelete { - final String id; - DeleteCategoryCategoryDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteCategoryCategoryDelete otherTyped = other as DeleteCategoryCategoryDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteCategoryCategoryDelete({ - required this.id, - }); -} - -@immutable -class DeleteCategoryData { - final DeleteCategoryCategoryDelete? category_delete; - DeleteCategoryData.fromJson(dynamic json): - - category_delete = json['category_delete'] == null ? null : DeleteCategoryCategoryDelete.fromJson(json['category_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteCategoryData otherTyped = other as DeleteCategoryData; - return category_delete == otherTyped.category_delete; - - } - @override - int get hashCode => category_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (category_delete != null) { - json['category_delete'] = category_delete!.toJson(); - } - return json; - } - - DeleteCategoryData({ - this.category_delete, - }); -} - -@immutable -class DeleteCategoryVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteCategoryVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteCategoryVariables otherTyped = other as DeleteCategoryVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteCategoryVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_certificate.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_certificate.dart deleted file mode 100644 index b86d4e41..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_certificate.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteCertificateVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteCertificateVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteCertificateData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteCertificateVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteCertificateVariables vars= DeleteCertificateVariables(id: id,); - return _dataConnect.mutation("DeleteCertificate", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteCertificateCertificateDelete { - final String id; - DeleteCertificateCertificateDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteCertificateCertificateDelete otherTyped = other as DeleteCertificateCertificateDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteCertificateCertificateDelete({ - required this.id, - }); -} - -@immutable -class DeleteCertificateData { - final DeleteCertificateCertificateDelete? certificate_delete; - DeleteCertificateData.fromJson(dynamic json): - - certificate_delete = json['certificate_delete'] == null ? null : DeleteCertificateCertificateDelete.fromJson(json['certificate_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteCertificateData otherTyped = other as DeleteCertificateData; - return certificate_delete == otherTyped.certificate_delete; - - } - @override - int get hashCode => certificate_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (certificate_delete != null) { - json['certificate_delete'] = certificate_delete!.toJson(); - } - return json; - } - - DeleteCertificateData({ - this.certificate_delete, - }); -} - -@immutable -class DeleteCertificateVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteCertificateVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteCertificateVariables otherTyped = other as DeleteCertificateVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteCertificateVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_client_feedback.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_client_feedback.dart deleted file mode 100644 index 63d7f3cd..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_client_feedback.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteClientFeedbackVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteClientFeedbackVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteClientFeedbackData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteClientFeedbackVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteClientFeedbackVariables vars= DeleteClientFeedbackVariables(id: id,); - return _dataConnect.mutation("deleteClientFeedback", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteClientFeedbackClientFeedbackDelete { - final String id; - DeleteClientFeedbackClientFeedbackDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteClientFeedbackClientFeedbackDelete otherTyped = other as DeleteClientFeedbackClientFeedbackDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteClientFeedbackClientFeedbackDelete({ - required this.id, - }); -} - -@immutable -class DeleteClientFeedbackData { - final DeleteClientFeedbackClientFeedbackDelete? clientFeedback_delete; - DeleteClientFeedbackData.fromJson(dynamic json): - - clientFeedback_delete = json['clientFeedback_delete'] == null ? null : DeleteClientFeedbackClientFeedbackDelete.fromJson(json['clientFeedback_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteClientFeedbackData otherTyped = other as DeleteClientFeedbackData; - return clientFeedback_delete == otherTyped.clientFeedback_delete; - - } - @override - int get hashCode => clientFeedback_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (clientFeedback_delete != null) { - json['clientFeedback_delete'] = clientFeedback_delete!.toJson(); - } - return json; - } - - DeleteClientFeedbackData({ - this.clientFeedback_delete, - }); -} - -@immutable -class DeleteClientFeedbackVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteClientFeedbackVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteClientFeedbackVariables otherTyped = other as DeleteClientFeedbackVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteClientFeedbackVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_conversation.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_conversation.dart deleted file mode 100644 index 12302153..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_conversation.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteConversationVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteConversationVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteConversationData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteConversationVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteConversationVariables vars= DeleteConversationVariables(id: id,); - return _dataConnect.mutation("deleteConversation", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteConversationConversationDelete { - final String id; - DeleteConversationConversationDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteConversationConversationDelete otherTyped = other as DeleteConversationConversationDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteConversationConversationDelete({ - required this.id, - }); -} - -@immutable -class DeleteConversationData { - final DeleteConversationConversationDelete? conversation_delete; - DeleteConversationData.fromJson(dynamic json): - - conversation_delete = json['conversation_delete'] == null ? null : DeleteConversationConversationDelete.fromJson(json['conversation_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteConversationData otherTyped = other as DeleteConversationData; - return conversation_delete == otherTyped.conversation_delete; - - } - @override - int get hashCode => conversation_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (conversation_delete != null) { - json['conversation_delete'] = conversation_delete!.toJson(); - } - return json; - } - - DeleteConversationData({ - this.conversation_delete, - }); -} - -@immutable -class DeleteConversationVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteConversationVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteConversationVariables otherTyped = other as DeleteConversationVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteConversationVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_course.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_course.dart deleted file mode 100644 index 0be7dd56..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_course.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteCourseVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteCourseVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteCourseData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteCourseVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteCourseVariables vars= DeleteCourseVariables(id: id,); - return _dataConnect.mutation("deleteCourse", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteCourseCourseDelete { - final String id; - DeleteCourseCourseDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteCourseCourseDelete otherTyped = other as DeleteCourseCourseDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteCourseCourseDelete({ - required this.id, - }); -} - -@immutable -class DeleteCourseData { - final DeleteCourseCourseDelete? course_delete; - DeleteCourseData.fromJson(dynamic json): - - course_delete = json['course_delete'] == null ? null : DeleteCourseCourseDelete.fromJson(json['course_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteCourseData otherTyped = other as DeleteCourseData; - return course_delete == otherTyped.course_delete; - - } - @override - int get hashCode => course_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (course_delete != null) { - json['course_delete'] = course_delete!.toJson(); - } - return json; - } - - DeleteCourseData({ - this.course_delete, - }); -} - -@immutable -class DeleteCourseVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteCourseVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteCourseVariables otherTyped = other as DeleteCourseVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteCourseVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_custom_rate_card.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_custom_rate_card.dart deleted file mode 100644 index 04be409f..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_custom_rate_card.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteCustomRateCardVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteCustomRateCardVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteCustomRateCardData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteCustomRateCardVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteCustomRateCardVariables vars= DeleteCustomRateCardVariables(id: id,); - return _dataConnect.mutation("deleteCustomRateCard", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteCustomRateCardCustomRateCardDelete { - final String id; - DeleteCustomRateCardCustomRateCardDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteCustomRateCardCustomRateCardDelete otherTyped = other as DeleteCustomRateCardCustomRateCardDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteCustomRateCardCustomRateCardDelete({ - required this.id, - }); -} - -@immutable -class DeleteCustomRateCardData { - final DeleteCustomRateCardCustomRateCardDelete? customRateCard_delete; - DeleteCustomRateCardData.fromJson(dynamic json): - - customRateCard_delete = json['customRateCard_delete'] == null ? null : DeleteCustomRateCardCustomRateCardDelete.fromJson(json['customRateCard_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteCustomRateCardData otherTyped = other as DeleteCustomRateCardData; - return customRateCard_delete == otherTyped.customRateCard_delete; - - } - @override - int get hashCode => customRateCard_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (customRateCard_delete != null) { - json['customRateCard_delete'] = customRateCard_delete!.toJson(); - } - return json; - } - - DeleteCustomRateCardData({ - this.customRateCard_delete, - }); -} - -@immutable -class DeleteCustomRateCardVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteCustomRateCardVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteCustomRateCardVariables otherTyped = other as DeleteCustomRateCardVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteCustomRateCardVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_document.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_document.dart deleted file mode 100644 index 087ef853..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_document.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteDocumentVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteDocumentVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteDocumentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteDocumentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteDocumentVariables vars= DeleteDocumentVariables(id: id,); - return _dataConnect.mutation("deleteDocument", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteDocumentDocumentDelete { - final String id; - DeleteDocumentDocumentDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteDocumentDocumentDelete otherTyped = other as DeleteDocumentDocumentDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteDocumentDocumentDelete({ - required this.id, - }); -} - -@immutable -class DeleteDocumentData { - final DeleteDocumentDocumentDelete? document_delete; - DeleteDocumentData.fromJson(dynamic json): - - document_delete = json['document_delete'] == null ? null : DeleteDocumentDocumentDelete.fromJson(json['document_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteDocumentData otherTyped = other as DeleteDocumentData; - return document_delete == otherTyped.document_delete; - - } - @override - int get hashCode => document_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (document_delete != null) { - json['document_delete'] = document_delete!.toJson(); - } - return json; - } - - DeleteDocumentData({ - this.document_delete, - }); -} - -@immutable -class DeleteDocumentVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteDocumentVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteDocumentVariables otherTyped = other as DeleteDocumentVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteDocumentVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_emergency_contact.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_emergency_contact.dart deleted file mode 100644 index c663f30d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_emergency_contact.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteEmergencyContactVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteEmergencyContactVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteEmergencyContactData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteEmergencyContactVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteEmergencyContactVariables vars= DeleteEmergencyContactVariables(id: id,); - return _dataConnect.mutation("deleteEmergencyContact", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteEmergencyContactEmergencyContactDelete { - final String id; - DeleteEmergencyContactEmergencyContactDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteEmergencyContactEmergencyContactDelete otherTyped = other as DeleteEmergencyContactEmergencyContactDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteEmergencyContactEmergencyContactDelete({ - required this.id, - }); -} - -@immutable -class DeleteEmergencyContactData { - final DeleteEmergencyContactEmergencyContactDelete? emergencyContact_delete; - DeleteEmergencyContactData.fromJson(dynamic json): - - emergencyContact_delete = json['emergencyContact_delete'] == null ? null : DeleteEmergencyContactEmergencyContactDelete.fromJson(json['emergencyContact_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteEmergencyContactData otherTyped = other as DeleteEmergencyContactData; - return emergencyContact_delete == otherTyped.emergencyContact_delete; - - } - @override - int get hashCode => emergencyContact_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (emergencyContact_delete != null) { - json['emergencyContact_delete'] = emergencyContact_delete!.toJson(); - } - return json; - } - - DeleteEmergencyContactData({ - this.emergencyContact_delete, - }); -} - -@immutable -class DeleteEmergencyContactVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteEmergencyContactVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteEmergencyContactVariables otherTyped = other as DeleteEmergencyContactVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteEmergencyContactVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_faq_data.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_faq_data.dart deleted file mode 100644 index d6889570..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_faq_data.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteFaqDataVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteFaqDataVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteFaqDataData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteFaqDataVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteFaqDataVariables vars= DeleteFaqDataVariables(id: id,); - return _dataConnect.mutation("deleteFaqData", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteFaqDataFaqDataDelete { - final String id; - DeleteFaqDataFaqDataDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteFaqDataFaqDataDelete otherTyped = other as DeleteFaqDataFaqDataDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteFaqDataFaqDataDelete({ - required this.id, - }); -} - -@immutable -class DeleteFaqDataData { - final DeleteFaqDataFaqDataDelete? faqData_delete; - DeleteFaqDataData.fromJson(dynamic json): - - faqData_delete = json['faqData_delete'] == null ? null : DeleteFaqDataFaqDataDelete.fromJson(json['faqData_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteFaqDataData otherTyped = other as DeleteFaqDataData; - return faqData_delete == otherTyped.faqData_delete; - - } - @override - int get hashCode => faqData_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (faqData_delete != null) { - json['faqData_delete'] = faqData_delete!.toJson(); - } - return json; - } - - DeleteFaqDataData({ - this.faqData_delete, - }); -} - -@immutable -class DeleteFaqDataVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteFaqDataVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteFaqDataVariables otherTyped = other as DeleteFaqDataVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteFaqDataVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_hub.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_hub.dart deleted file mode 100644 index fc85f8b8..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_hub.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteHubVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteHubVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteHubData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteHubVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteHubVariables vars= DeleteHubVariables(id: id,); - return _dataConnect.mutation("deleteHub", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteHubHubDelete { - final String id; - DeleteHubHubDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteHubHubDelete otherTyped = other as DeleteHubHubDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteHubHubDelete({ - required this.id, - }); -} - -@immutable -class DeleteHubData { - final DeleteHubHubDelete? hub_delete; - DeleteHubData.fromJson(dynamic json): - - hub_delete = json['hub_delete'] == null ? null : DeleteHubHubDelete.fromJson(json['hub_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteHubData otherTyped = other as DeleteHubData; - return hub_delete == otherTyped.hub_delete; - - } - @override - int get hashCode => hub_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (hub_delete != null) { - json['hub_delete'] = hub_delete!.toJson(); - } - return json; - } - - DeleteHubData({ - this.hub_delete, - }); -} - -@immutable -class DeleteHubVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteHubVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteHubVariables otherTyped = other as DeleteHubVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteHubVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_invoice.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_invoice.dart deleted file mode 100644 index 515f4bfb..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_invoice.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteInvoiceVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteInvoiceVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteInvoiceData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteInvoiceVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteInvoiceVariables vars= DeleteInvoiceVariables(id: id,); - return _dataConnect.mutation("deleteInvoice", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteInvoiceInvoiceDelete { - final String id; - DeleteInvoiceInvoiceDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteInvoiceInvoiceDelete otherTyped = other as DeleteInvoiceInvoiceDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteInvoiceInvoiceDelete({ - required this.id, - }); -} - -@immutable -class DeleteInvoiceData { - final DeleteInvoiceInvoiceDelete? invoice_delete; - DeleteInvoiceData.fromJson(dynamic json): - - invoice_delete = json['invoice_delete'] == null ? null : DeleteInvoiceInvoiceDelete.fromJson(json['invoice_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteInvoiceData otherTyped = other as DeleteInvoiceData; - return invoice_delete == otherTyped.invoice_delete; - - } - @override - int get hashCode => invoice_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (invoice_delete != null) { - json['invoice_delete'] = invoice_delete!.toJson(); - } - return json; - } - - DeleteInvoiceData({ - this.invoice_delete, - }); -} - -@immutable -class DeleteInvoiceVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteInvoiceVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteInvoiceVariables otherTyped = other as DeleteInvoiceVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteInvoiceVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_invoice_template.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_invoice_template.dart deleted file mode 100644 index 2239ee3a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_invoice_template.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteInvoiceTemplateVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteInvoiceTemplateVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteInvoiceTemplateData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteInvoiceTemplateVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteInvoiceTemplateVariables vars= DeleteInvoiceTemplateVariables(id: id,); - return _dataConnect.mutation("deleteInvoiceTemplate", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteInvoiceTemplateInvoiceTemplateDelete { - final String id; - DeleteInvoiceTemplateInvoiceTemplateDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteInvoiceTemplateInvoiceTemplateDelete otherTyped = other as DeleteInvoiceTemplateInvoiceTemplateDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteInvoiceTemplateInvoiceTemplateDelete({ - required this.id, - }); -} - -@immutable -class DeleteInvoiceTemplateData { - final DeleteInvoiceTemplateInvoiceTemplateDelete? invoiceTemplate_delete; - DeleteInvoiceTemplateData.fromJson(dynamic json): - - invoiceTemplate_delete = json['invoiceTemplate_delete'] == null ? null : DeleteInvoiceTemplateInvoiceTemplateDelete.fromJson(json['invoiceTemplate_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteInvoiceTemplateData otherTyped = other as DeleteInvoiceTemplateData; - return invoiceTemplate_delete == otherTyped.invoiceTemplate_delete; - - } - @override - int get hashCode => invoiceTemplate_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (invoiceTemplate_delete != null) { - json['invoiceTemplate_delete'] = invoiceTemplate_delete!.toJson(); - } - return json; - } - - DeleteInvoiceTemplateData({ - this.invoiceTemplate_delete, - }); -} - -@immutable -class DeleteInvoiceTemplateVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteInvoiceTemplateVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteInvoiceTemplateVariables otherTyped = other as DeleteInvoiceTemplateVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteInvoiceTemplateVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_level.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_level.dart deleted file mode 100644 index 9f06598c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_level.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteLevelVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteLevelVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteLevelData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteLevelVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteLevelVariables vars= DeleteLevelVariables(id: id,); - return _dataConnect.mutation("deleteLevel", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteLevelLevelDelete { - final String id; - DeleteLevelLevelDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteLevelLevelDelete otherTyped = other as DeleteLevelLevelDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteLevelLevelDelete({ - required this.id, - }); -} - -@immutable -class DeleteLevelData { - final DeleteLevelLevelDelete? level_delete; - DeleteLevelData.fromJson(dynamic json): - - level_delete = json['level_delete'] == null ? null : DeleteLevelLevelDelete.fromJson(json['level_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteLevelData otherTyped = other as DeleteLevelData; - return level_delete == otherTyped.level_delete; - - } - @override - int get hashCode => level_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (level_delete != null) { - json['level_delete'] = level_delete!.toJson(); - } - return json; - } - - DeleteLevelData({ - this.level_delete, - }); -} - -@immutable -class DeleteLevelVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteLevelVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteLevelVariables otherTyped = other as DeleteLevelVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteLevelVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_member_task.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_member_task.dart deleted file mode 100644 index addc7c94..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_member_task.dart +++ /dev/null @@ -1,135 +0,0 @@ -part of 'generated.dart'; - -class DeleteMemberTaskVariablesBuilder { - String teamMemberId; - String taskId; - - final FirebaseDataConnect _dataConnect; - DeleteMemberTaskVariablesBuilder(this._dataConnect, {required this.teamMemberId,required this.taskId,}); - Deserializer dataDeserializer = (dynamic json) => DeleteMemberTaskData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteMemberTaskVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteMemberTaskVariables vars= DeleteMemberTaskVariables(teamMemberId: teamMemberId,taskId: taskId,); - return _dataConnect.mutation("deleteMemberTask", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteMemberTaskMemberTaskDelete { - final String teamMemberId; - final String taskId; - DeleteMemberTaskMemberTaskDelete.fromJson(dynamic json): - - teamMemberId = nativeFromJson(json['teamMemberId']), - taskId = nativeFromJson(json['taskId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteMemberTaskMemberTaskDelete otherTyped = other as DeleteMemberTaskMemberTaskDelete; - return teamMemberId == otherTyped.teamMemberId && - taskId == otherTyped.taskId; - - } - @override - int get hashCode => Object.hashAll([teamMemberId.hashCode, taskId.hashCode]); - - - Map toJson() { - Map json = {}; - json['teamMemberId'] = nativeToJson(teamMemberId); - json['taskId'] = nativeToJson(taskId); - return json; - } - - DeleteMemberTaskMemberTaskDelete({ - required this.teamMemberId, - required this.taskId, - }); -} - -@immutable -class DeleteMemberTaskData { - final DeleteMemberTaskMemberTaskDelete? memberTask_delete; - DeleteMemberTaskData.fromJson(dynamic json): - - memberTask_delete = json['memberTask_delete'] == null ? null : DeleteMemberTaskMemberTaskDelete.fromJson(json['memberTask_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteMemberTaskData otherTyped = other as DeleteMemberTaskData; - return memberTask_delete == otherTyped.memberTask_delete; - - } - @override - int get hashCode => memberTask_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (memberTask_delete != null) { - json['memberTask_delete'] = memberTask_delete!.toJson(); - } - return json; - } - - DeleteMemberTaskData({ - this.memberTask_delete, - }); -} - -@immutable -class DeleteMemberTaskVariables { - final String teamMemberId; - final String taskId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteMemberTaskVariables.fromJson(Map json): - - teamMemberId = nativeFromJson(json['teamMemberId']), - taskId = nativeFromJson(json['taskId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteMemberTaskVariables otherTyped = other as DeleteMemberTaskVariables; - return teamMemberId == otherTyped.teamMemberId && - taskId == otherTyped.taskId; - - } - @override - int get hashCode => Object.hashAll([teamMemberId.hashCode, taskId.hashCode]); - - - Map toJson() { - Map json = {}; - json['teamMemberId'] = nativeToJson(teamMemberId); - json['taskId'] = nativeToJson(taskId); - return json; - } - - DeleteMemberTaskVariables({ - required this.teamMemberId, - required this.taskId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_message.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_message.dart deleted file mode 100644 index f1b1921a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_message.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteMessageVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteMessageVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteMessageData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteMessageVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteMessageVariables vars= DeleteMessageVariables(id: id,); - return _dataConnect.mutation("deleteMessage", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteMessageMessageDelete { - final String id; - DeleteMessageMessageDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteMessageMessageDelete otherTyped = other as DeleteMessageMessageDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteMessageMessageDelete({ - required this.id, - }); -} - -@immutable -class DeleteMessageData { - final DeleteMessageMessageDelete? message_delete; - DeleteMessageData.fromJson(dynamic json): - - message_delete = json['message_delete'] == null ? null : DeleteMessageMessageDelete.fromJson(json['message_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteMessageData otherTyped = other as DeleteMessageData; - return message_delete == otherTyped.message_delete; - - } - @override - int get hashCode => message_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (message_delete != null) { - json['message_delete'] = message_delete!.toJson(); - } - return json; - } - - DeleteMessageData({ - this.message_delete, - }); -} - -@immutable -class DeleteMessageVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteMessageVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteMessageVariables otherTyped = other as DeleteMessageVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteMessageVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_order.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_order.dart deleted file mode 100644 index f722da3d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_order.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteOrderVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteOrderVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteOrderData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteOrderVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteOrderVariables vars= DeleteOrderVariables(id: id,); - return _dataConnect.mutation("deleteOrder", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteOrderOrderDelete { - final String id; - DeleteOrderOrderDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteOrderOrderDelete otherTyped = other as DeleteOrderOrderDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteOrderOrderDelete({ - required this.id, - }); -} - -@immutable -class DeleteOrderData { - final DeleteOrderOrderDelete? order_delete; - DeleteOrderData.fromJson(dynamic json): - - order_delete = json['order_delete'] == null ? null : DeleteOrderOrderDelete.fromJson(json['order_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteOrderData otherTyped = other as DeleteOrderData; - return order_delete == otherTyped.order_delete; - - } - @override - int get hashCode => order_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (order_delete != null) { - json['order_delete'] = order_delete!.toJson(); - } - return json; - } - - DeleteOrderData({ - this.order_delete, - }); -} - -@immutable -class DeleteOrderVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteOrderVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteOrderVariables otherTyped = other as DeleteOrderVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteOrderVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_recent_payment.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_recent_payment.dart deleted file mode 100644 index a4ff5b61..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_recent_payment.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteRecentPaymentVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteRecentPaymentVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteRecentPaymentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteRecentPaymentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteRecentPaymentVariables vars= DeleteRecentPaymentVariables(id: id,); - return _dataConnect.mutation("deleteRecentPayment", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteRecentPaymentRecentPaymentDelete { - final String id; - DeleteRecentPaymentRecentPaymentDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteRecentPaymentRecentPaymentDelete otherTyped = other as DeleteRecentPaymentRecentPaymentDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteRecentPaymentRecentPaymentDelete({ - required this.id, - }); -} - -@immutable -class DeleteRecentPaymentData { - final DeleteRecentPaymentRecentPaymentDelete? recentPayment_delete; - DeleteRecentPaymentData.fromJson(dynamic json): - - recentPayment_delete = json['recentPayment_delete'] == null ? null : DeleteRecentPaymentRecentPaymentDelete.fromJson(json['recentPayment_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteRecentPaymentData otherTyped = other as DeleteRecentPaymentData; - return recentPayment_delete == otherTyped.recentPayment_delete; - - } - @override - int get hashCode => recentPayment_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (recentPayment_delete != null) { - json['recentPayment_delete'] = recentPayment_delete!.toJson(); - } - return json; - } - - DeleteRecentPaymentData({ - this.recentPayment_delete, - }); -} - -@immutable -class DeleteRecentPaymentVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteRecentPaymentVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteRecentPaymentVariables otherTyped = other as DeleteRecentPaymentVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteRecentPaymentVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_role.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_role.dart deleted file mode 100644 index 50fdecf0..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_role.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteRoleVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteRoleVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteRoleData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteRoleVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteRoleVariables vars= DeleteRoleVariables(id: id,); - return _dataConnect.mutation("deleteRole", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteRoleRoleDelete { - final String id; - DeleteRoleRoleDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteRoleRoleDelete otherTyped = other as DeleteRoleRoleDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteRoleRoleDelete({ - required this.id, - }); -} - -@immutable -class DeleteRoleData { - final DeleteRoleRoleDelete? role_delete; - DeleteRoleData.fromJson(dynamic json): - - role_delete = json['role_delete'] == null ? null : DeleteRoleRoleDelete.fromJson(json['role_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteRoleData otherTyped = other as DeleteRoleData; - return role_delete == otherTyped.role_delete; - - } - @override - int get hashCode => role_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (role_delete != null) { - json['role_delete'] = role_delete!.toJson(); - } - return json; - } - - DeleteRoleData({ - this.role_delete, - }); -} - -@immutable -class DeleteRoleVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteRoleVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteRoleVariables otherTyped = other as DeleteRoleVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteRoleVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_role_category.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_role_category.dart deleted file mode 100644 index 2e9e3a05..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_role_category.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteRoleCategoryVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteRoleCategoryVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteRoleCategoryData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteRoleCategoryVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteRoleCategoryVariables vars= DeleteRoleCategoryVariables(id: id,); - return _dataConnect.mutation("deleteRoleCategory", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteRoleCategoryRoleCategoryDelete { - final String id; - DeleteRoleCategoryRoleCategoryDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteRoleCategoryRoleCategoryDelete otherTyped = other as DeleteRoleCategoryRoleCategoryDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteRoleCategoryRoleCategoryDelete({ - required this.id, - }); -} - -@immutable -class DeleteRoleCategoryData { - final DeleteRoleCategoryRoleCategoryDelete? roleCategory_delete; - DeleteRoleCategoryData.fromJson(dynamic json): - - roleCategory_delete = json['roleCategory_delete'] == null ? null : DeleteRoleCategoryRoleCategoryDelete.fromJson(json['roleCategory_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteRoleCategoryData otherTyped = other as DeleteRoleCategoryData; - return roleCategory_delete == otherTyped.roleCategory_delete; - - } - @override - int get hashCode => roleCategory_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (roleCategory_delete != null) { - json['roleCategory_delete'] = roleCategory_delete!.toJson(); - } - return json; - } - - DeleteRoleCategoryData({ - this.roleCategory_delete, - }); -} - -@immutable -class DeleteRoleCategoryVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteRoleCategoryVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteRoleCategoryVariables otherTyped = other as DeleteRoleCategoryVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteRoleCategoryVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_shift.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_shift.dart deleted file mode 100644 index 1f224bd1..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_shift.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteShiftVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteShiftVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteShiftData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteShiftVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteShiftVariables vars= DeleteShiftVariables(id: id,); - return _dataConnect.mutation("deleteShift", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteShiftShiftDelete { - final String id; - DeleteShiftShiftDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteShiftShiftDelete otherTyped = other as DeleteShiftShiftDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteShiftShiftDelete({ - required this.id, - }); -} - -@immutable -class DeleteShiftData { - final DeleteShiftShiftDelete? shift_delete; - DeleteShiftData.fromJson(dynamic json): - - shift_delete = json['shift_delete'] == null ? null : DeleteShiftShiftDelete.fromJson(json['shift_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteShiftData otherTyped = other as DeleteShiftData; - return shift_delete == otherTyped.shift_delete; - - } - @override - int get hashCode => shift_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (shift_delete != null) { - json['shift_delete'] = shift_delete!.toJson(); - } - return json; - } - - DeleteShiftData({ - this.shift_delete, - }); -} - -@immutable -class DeleteShiftVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteShiftVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteShiftVariables otherTyped = other as DeleteShiftVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteShiftVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_shift_role.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_shift_role.dart deleted file mode 100644 index db0debf6..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_shift_role.dart +++ /dev/null @@ -1,135 +0,0 @@ -part of 'generated.dart'; - -class DeleteShiftRoleVariablesBuilder { - String shiftId; - String roleId; - - final FirebaseDataConnect _dataConnect; - DeleteShiftRoleVariablesBuilder(this._dataConnect, {required this.shiftId,required this.roleId,}); - Deserializer dataDeserializer = (dynamic json) => DeleteShiftRoleData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteShiftRoleVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteShiftRoleVariables vars= DeleteShiftRoleVariables(shiftId: shiftId,roleId: roleId,); - return _dataConnect.mutation("deleteShiftRole", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteShiftRoleShiftRoleDelete { - final String shiftId; - final String roleId; - DeleteShiftRoleShiftRoleDelete.fromJson(dynamic json): - - shiftId = nativeFromJson(json['shiftId']), - roleId = nativeFromJson(json['roleId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteShiftRoleShiftRoleDelete otherTyped = other as DeleteShiftRoleShiftRoleDelete; - return shiftId == otherTyped.shiftId && - roleId == otherTyped.roleId; - - } - @override - int get hashCode => Object.hashAll([shiftId.hashCode, roleId.hashCode]); - - - Map toJson() { - Map json = {}; - json['shiftId'] = nativeToJson(shiftId); - json['roleId'] = nativeToJson(roleId); - return json; - } - - DeleteShiftRoleShiftRoleDelete({ - required this.shiftId, - required this.roleId, - }); -} - -@immutable -class DeleteShiftRoleData { - final DeleteShiftRoleShiftRoleDelete? shiftRole_delete; - DeleteShiftRoleData.fromJson(dynamic json): - - shiftRole_delete = json['shiftRole_delete'] == null ? null : DeleteShiftRoleShiftRoleDelete.fromJson(json['shiftRole_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteShiftRoleData otherTyped = other as DeleteShiftRoleData; - return shiftRole_delete == otherTyped.shiftRole_delete; - - } - @override - int get hashCode => shiftRole_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (shiftRole_delete != null) { - json['shiftRole_delete'] = shiftRole_delete!.toJson(); - } - return json; - } - - DeleteShiftRoleData({ - this.shiftRole_delete, - }); -} - -@immutable -class DeleteShiftRoleVariables { - final String shiftId; - final String roleId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteShiftRoleVariables.fromJson(Map json): - - shiftId = nativeFromJson(json['shiftId']), - roleId = nativeFromJson(json['roleId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteShiftRoleVariables otherTyped = other as DeleteShiftRoleVariables; - return shiftId == otherTyped.shiftId && - roleId == otherTyped.roleId; - - } - @override - int get hashCode => Object.hashAll([shiftId.hashCode, roleId.hashCode]); - - - Map toJson() { - Map json = {}; - json['shiftId'] = nativeToJson(shiftId); - json['roleId'] = nativeToJson(roleId); - return json; - } - - DeleteShiftRoleVariables({ - required this.shiftId, - required this.roleId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff.dart deleted file mode 100644 index dd23b035..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteStaffVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteStaffVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteStaffData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteStaffVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteStaffVariables vars= DeleteStaffVariables(id: id,); - return _dataConnect.mutation("DeleteStaff", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteStaffStaffDelete { - final String id; - DeleteStaffStaffDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffStaffDelete otherTyped = other as DeleteStaffStaffDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteStaffStaffDelete({ - required this.id, - }); -} - -@immutable -class DeleteStaffData { - final DeleteStaffStaffDelete? staff_delete; - DeleteStaffData.fromJson(dynamic json): - - staff_delete = json['staff_delete'] == null ? null : DeleteStaffStaffDelete.fromJson(json['staff_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffData otherTyped = other as DeleteStaffData; - return staff_delete == otherTyped.staff_delete; - - } - @override - int get hashCode => staff_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (staff_delete != null) { - json['staff_delete'] = staff_delete!.toJson(); - } - return json; - } - - DeleteStaffData({ - this.staff_delete, - }); -} - -@immutable -class DeleteStaffVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteStaffVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffVariables otherTyped = other as DeleteStaffVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteStaffVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_availability.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_availability.dart deleted file mode 100644 index 1f6e4bd4..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_availability.dart +++ /dev/null @@ -1,154 +0,0 @@ -part of 'generated.dart'; - -class DeleteStaffAvailabilityVariablesBuilder { - String staffId; - DayOfWeek day; - AvailabilitySlot slot; - - final FirebaseDataConnect _dataConnect; - DeleteStaffAvailabilityVariablesBuilder(this._dataConnect, {required this.staffId,required this.day,required this.slot,}); - Deserializer dataDeserializer = (dynamic json) => DeleteStaffAvailabilityData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteStaffAvailabilityVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteStaffAvailabilityVariables vars= DeleteStaffAvailabilityVariables(staffId: staffId,day: day,slot: slot,); - return _dataConnect.mutation("deleteStaffAvailability", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteStaffAvailabilityStaffAvailabilityDelete { - final String staffId; - final EnumValue day; - final EnumValue slot; - DeleteStaffAvailabilityStaffAvailabilityDelete.fromJson(dynamic json): - - staffId = nativeFromJson(json['staffId']), - day = dayOfWeekDeserializer(json['day']), - slot = availabilitySlotDeserializer(json['slot']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffAvailabilityStaffAvailabilityDelete otherTyped = other as DeleteStaffAvailabilityStaffAvailabilityDelete; - return staffId == otherTyped.staffId && - day == otherTyped.day && - slot == otherTyped.slot; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, day.hashCode, slot.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['day'] = - dayOfWeekSerializer(day) - ; - json['slot'] = - availabilitySlotSerializer(slot) - ; - return json; - } - - DeleteStaffAvailabilityStaffAvailabilityDelete({ - required this.staffId, - required this.day, - required this.slot, - }); -} - -@immutable -class DeleteStaffAvailabilityData { - final DeleteStaffAvailabilityStaffAvailabilityDelete? staffAvailability_delete; - DeleteStaffAvailabilityData.fromJson(dynamic json): - - staffAvailability_delete = json['staffAvailability_delete'] == null ? null : DeleteStaffAvailabilityStaffAvailabilityDelete.fromJson(json['staffAvailability_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffAvailabilityData otherTyped = other as DeleteStaffAvailabilityData; - return staffAvailability_delete == otherTyped.staffAvailability_delete; - - } - @override - int get hashCode => staffAvailability_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (staffAvailability_delete != null) { - json['staffAvailability_delete'] = staffAvailability_delete!.toJson(); - } - return json; - } - - DeleteStaffAvailabilityData({ - this.staffAvailability_delete, - }); -} - -@immutable -class DeleteStaffAvailabilityVariables { - final String staffId; - final DayOfWeek day; - final AvailabilitySlot slot; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteStaffAvailabilityVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - day = DayOfWeek.values.byName(json['day']), - slot = AvailabilitySlot.values.byName(json['slot']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffAvailabilityVariables otherTyped = other as DeleteStaffAvailabilityVariables; - return staffId == otherTyped.staffId && - day == otherTyped.day && - slot == otherTyped.slot; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, day.hashCode, slot.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['day'] = - day.name - ; - json['slot'] = - slot.name - ; - return json; - } - - DeleteStaffAvailabilityVariables({ - required this.staffId, - required this.day, - required this.slot, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_availability_stats.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_availability_stats.dart deleted file mode 100644 index 07670c1b..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_availability_stats.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteStaffAvailabilityStatsVariablesBuilder { - String staffId; - - final FirebaseDataConnect _dataConnect; - DeleteStaffAvailabilityStatsVariablesBuilder(this._dataConnect, {required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => DeleteStaffAvailabilityStatsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteStaffAvailabilityStatsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteStaffAvailabilityStatsVariables vars= DeleteStaffAvailabilityStatsVariables(staffId: staffId,); - return _dataConnect.mutation("deleteStaffAvailabilityStats", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteStaffAvailabilityStatsStaffAvailabilityStatsDelete { - final String staffId; - DeleteStaffAvailabilityStatsStaffAvailabilityStatsDelete.fromJson(dynamic json): - - staffId = nativeFromJson(json['staffId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffAvailabilityStatsStaffAvailabilityStatsDelete otherTyped = other as DeleteStaffAvailabilityStatsStaffAvailabilityStatsDelete; - return staffId == otherTyped.staffId; - - } - @override - int get hashCode => staffId.hashCode; - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - return json; - } - - DeleteStaffAvailabilityStatsStaffAvailabilityStatsDelete({ - required this.staffId, - }); -} - -@immutable -class DeleteStaffAvailabilityStatsData { - final DeleteStaffAvailabilityStatsStaffAvailabilityStatsDelete? staffAvailabilityStats_delete; - DeleteStaffAvailabilityStatsData.fromJson(dynamic json): - - staffAvailabilityStats_delete = json['staffAvailabilityStats_delete'] == null ? null : DeleteStaffAvailabilityStatsStaffAvailabilityStatsDelete.fromJson(json['staffAvailabilityStats_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffAvailabilityStatsData otherTyped = other as DeleteStaffAvailabilityStatsData; - return staffAvailabilityStats_delete == otherTyped.staffAvailabilityStats_delete; - - } - @override - int get hashCode => staffAvailabilityStats_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (staffAvailabilityStats_delete != null) { - json['staffAvailabilityStats_delete'] = staffAvailabilityStats_delete!.toJson(); - } - return json; - } - - DeleteStaffAvailabilityStatsData({ - this.staffAvailabilityStats_delete, - }); -} - -@immutable -class DeleteStaffAvailabilityStatsVariables { - final String staffId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteStaffAvailabilityStatsVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffAvailabilityStatsVariables otherTyped = other as DeleteStaffAvailabilityStatsVariables; - return staffId == otherTyped.staffId; - - } - @override - int get hashCode => staffId.hashCode; - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - return json; - } - - DeleteStaffAvailabilityStatsVariables({ - required this.staffId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_course.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_course.dart deleted file mode 100644 index bfc5814c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_course.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteStaffCourseVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteStaffCourseVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteStaffCourseData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteStaffCourseVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteStaffCourseVariables vars= DeleteStaffCourseVariables(id: id,); - return _dataConnect.mutation("deleteStaffCourse", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteStaffCourseStaffCourseDelete { - final String id; - DeleteStaffCourseStaffCourseDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffCourseStaffCourseDelete otherTyped = other as DeleteStaffCourseStaffCourseDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteStaffCourseStaffCourseDelete({ - required this.id, - }); -} - -@immutable -class DeleteStaffCourseData { - final DeleteStaffCourseStaffCourseDelete? staffCourse_delete; - DeleteStaffCourseData.fromJson(dynamic json): - - staffCourse_delete = json['staffCourse_delete'] == null ? null : DeleteStaffCourseStaffCourseDelete.fromJson(json['staffCourse_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffCourseData otherTyped = other as DeleteStaffCourseData; - return staffCourse_delete == otherTyped.staffCourse_delete; - - } - @override - int get hashCode => staffCourse_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (staffCourse_delete != null) { - json['staffCourse_delete'] = staffCourse_delete!.toJson(); - } - return json; - } - - DeleteStaffCourseData({ - this.staffCourse_delete, - }); -} - -@immutable -class DeleteStaffCourseVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteStaffCourseVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffCourseVariables otherTyped = other as DeleteStaffCourseVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteStaffCourseVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_document.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_document.dart deleted file mode 100644 index aa0d603c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_document.dart +++ /dev/null @@ -1,135 +0,0 @@ -part of 'generated.dart'; - -class DeleteStaffDocumentVariablesBuilder { - String staffId; - String documentId; - - final FirebaseDataConnect _dataConnect; - DeleteStaffDocumentVariablesBuilder(this._dataConnect, {required this.staffId,required this.documentId,}); - Deserializer dataDeserializer = (dynamic json) => DeleteStaffDocumentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteStaffDocumentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteStaffDocumentVariables vars= DeleteStaffDocumentVariables(staffId: staffId,documentId: documentId,); - return _dataConnect.mutation("deleteStaffDocument", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteStaffDocumentStaffDocumentDelete { - final String staffId; - final String documentId; - DeleteStaffDocumentStaffDocumentDelete.fromJson(dynamic json): - - staffId = nativeFromJson(json['staffId']), - documentId = nativeFromJson(json['documentId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffDocumentStaffDocumentDelete otherTyped = other as DeleteStaffDocumentStaffDocumentDelete; - return staffId == otherTyped.staffId && - documentId == otherTyped.documentId; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, documentId.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['documentId'] = nativeToJson(documentId); - return json; - } - - DeleteStaffDocumentStaffDocumentDelete({ - required this.staffId, - required this.documentId, - }); -} - -@immutable -class DeleteStaffDocumentData { - final DeleteStaffDocumentStaffDocumentDelete? staffDocument_delete; - DeleteStaffDocumentData.fromJson(dynamic json): - - staffDocument_delete = json['staffDocument_delete'] == null ? null : DeleteStaffDocumentStaffDocumentDelete.fromJson(json['staffDocument_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffDocumentData otherTyped = other as DeleteStaffDocumentData; - return staffDocument_delete == otherTyped.staffDocument_delete; - - } - @override - int get hashCode => staffDocument_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (staffDocument_delete != null) { - json['staffDocument_delete'] = staffDocument_delete!.toJson(); - } - return json; - } - - DeleteStaffDocumentData({ - this.staffDocument_delete, - }); -} - -@immutable -class DeleteStaffDocumentVariables { - final String staffId; - final String documentId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteStaffDocumentVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - documentId = nativeFromJson(json['documentId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffDocumentVariables otherTyped = other as DeleteStaffDocumentVariables; - return staffId == otherTyped.staffId && - documentId == otherTyped.documentId; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, documentId.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['documentId'] = nativeToJson(documentId); - return json; - } - - DeleteStaffDocumentVariables({ - required this.staffId, - required this.documentId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_role.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_role.dart deleted file mode 100644 index 982ba03d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_staff_role.dart +++ /dev/null @@ -1,135 +0,0 @@ -part of 'generated.dart'; - -class DeleteStaffRoleVariablesBuilder { - String staffId; - String roleId; - - final FirebaseDataConnect _dataConnect; - DeleteStaffRoleVariablesBuilder(this._dataConnect, {required this.staffId,required this.roleId,}); - Deserializer dataDeserializer = (dynamic json) => DeleteStaffRoleData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteStaffRoleVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteStaffRoleVariables vars= DeleteStaffRoleVariables(staffId: staffId,roleId: roleId,); - return _dataConnect.mutation("deleteStaffRole", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteStaffRoleStaffRoleDelete { - final String staffId; - final String roleId; - DeleteStaffRoleStaffRoleDelete.fromJson(dynamic json): - - staffId = nativeFromJson(json['staffId']), - roleId = nativeFromJson(json['roleId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffRoleStaffRoleDelete otherTyped = other as DeleteStaffRoleStaffRoleDelete; - return staffId == otherTyped.staffId && - roleId == otherTyped.roleId; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, roleId.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['roleId'] = nativeToJson(roleId); - return json; - } - - DeleteStaffRoleStaffRoleDelete({ - required this.staffId, - required this.roleId, - }); -} - -@immutable -class DeleteStaffRoleData { - final DeleteStaffRoleStaffRoleDelete? staffRole_delete; - DeleteStaffRoleData.fromJson(dynamic json): - - staffRole_delete = json['staffRole_delete'] == null ? null : DeleteStaffRoleStaffRoleDelete.fromJson(json['staffRole_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffRoleData otherTyped = other as DeleteStaffRoleData; - return staffRole_delete == otherTyped.staffRole_delete; - - } - @override - int get hashCode => staffRole_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (staffRole_delete != null) { - json['staffRole_delete'] = staffRole_delete!.toJson(); - } - return json; - } - - DeleteStaffRoleData({ - this.staffRole_delete, - }); -} - -@immutable -class DeleteStaffRoleVariables { - final String staffId; - final String roleId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteStaffRoleVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - roleId = nativeFromJson(json['roleId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteStaffRoleVariables otherTyped = other as DeleteStaffRoleVariables; - return staffId == otherTyped.staffId && - roleId == otherTyped.roleId; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, roleId.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['roleId'] = nativeToJson(roleId); - return json; - } - - DeleteStaffRoleVariables({ - required this.staffId, - required this.roleId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_task.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_task.dart deleted file mode 100644 index db5384e2..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_task.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteTaskVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteTaskVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteTaskData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteTaskVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteTaskVariables vars= DeleteTaskVariables(id: id,); - return _dataConnect.mutation("deleteTask", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteTaskTaskDelete { - final String id; - DeleteTaskTaskDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTaskTaskDelete otherTyped = other as DeleteTaskTaskDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteTaskTaskDelete({ - required this.id, - }); -} - -@immutable -class DeleteTaskData { - final DeleteTaskTaskDelete? task_delete; - DeleteTaskData.fromJson(dynamic json): - - task_delete = json['task_delete'] == null ? null : DeleteTaskTaskDelete.fromJson(json['task_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTaskData otherTyped = other as DeleteTaskData; - return task_delete == otherTyped.task_delete; - - } - @override - int get hashCode => task_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (task_delete != null) { - json['task_delete'] = task_delete!.toJson(); - } - return json; - } - - DeleteTaskData({ - this.task_delete, - }); -} - -@immutable -class DeleteTaskVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteTaskVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTaskVariables otherTyped = other as DeleteTaskVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteTaskVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_task_comment.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_task_comment.dart deleted file mode 100644 index db31a5e8..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_task_comment.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteTaskCommentVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteTaskCommentVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteTaskCommentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteTaskCommentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteTaskCommentVariables vars= DeleteTaskCommentVariables(id: id,); - return _dataConnect.mutation("deleteTaskComment", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteTaskCommentTaskCommentDelete { - final String id; - DeleteTaskCommentTaskCommentDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTaskCommentTaskCommentDelete otherTyped = other as DeleteTaskCommentTaskCommentDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteTaskCommentTaskCommentDelete({ - required this.id, - }); -} - -@immutable -class DeleteTaskCommentData { - final DeleteTaskCommentTaskCommentDelete? taskComment_delete; - DeleteTaskCommentData.fromJson(dynamic json): - - taskComment_delete = json['taskComment_delete'] == null ? null : DeleteTaskCommentTaskCommentDelete.fromJson(json['taskComment_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTaskCommentData otherTyped = other as DeleteTaskCommentData; - return taskComment_delete == otherTyped.taskComment_delete; - - } - @override - int get hashCode => taskComment_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (taskComment_delete != null) { - json['taskComment_delete'] = taskComment_delete!.toJson(); - } - return json; - } - - DeleteTaskCommentData({ - this.taskComment_delete, - }); -} - -@immutable -class DeleteTaskCommentVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteTaskCommentVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTaskCommentVariables otherTyped = other as DeleteTaskCommentVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteTaskCommentVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_tax_form.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_tax_form.dart deleted file mode 100644 index 20511558..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_tax_form.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteTaxFormVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteTaxFormVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteTaxFormData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteTaxFormVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteTaxFormVariables vars= DeleteTaxFormVariables(id: id,); - return _dataConnect.mutation("deleteTaxForm", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteTaxFormTaxFormDelete { - final String id; - DeleteTaxFormTaxFormDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTaxFormTaxFormDelete otherTyped = other as DeleteTaxFormTaxFormDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteTaxFormTaxFormDelete({ - required this.id, - }); -} - -@immutable -class DeleteTaxFormData { - final DeleteTaxFormTaxFormDelete? taxForm_delete; - DeleteTaxFormData.fromJson(dynamic json): - - taxForm_delete = json['taxForm_delete'] == null ? null : DeleteTaxFormTaxFormDelete.fromJson(json['taxForm_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTaxFormData otherTyped = other as DeleteTaxFormData; - return taxForm_delete == otherTyped.taxForm_delete; - - } - @override - int get hashCode => taxForm_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (taxForm_delete != null) { - json['taxForm_delete'] = taxForm_delete!.toJson(); - } - return json; - } - - DeleteTaxFormData({ - this.taxForm_delete, - }); -} - -@immutable -class DeleteTaxFormVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteTaxFormVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTaxFormVariables otherTyped = other as DeleteTaxFormVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteTaxFormVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_team.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_team.dart deleted file mode 100644 index a1b09e5a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_team.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteTeamVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteTeamVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteTeamData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteTeamVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteTeamVariables vars= DeleteTeamVariables(id: id,); - return _dataConnect.mutation("deleteTeam", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteTeamTeamDelete { - final String id; - DeleteTeamTeamDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTeamTeamDelete otherTyped = other as DeleteTeamTeamDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteTeamTeamDelete({ - required this.id, - }); -} - -@immutable -class DeleteTeamData { - final DeleteTeamTeamDelete? team_delete; - DeleteTeamData.fromJson(dynamic json): - - team_delete = json['team_delete'] == null ? null : DeleteTeamTeamDelete.fromJson(json['team_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTeamData otherTyped = other as DeleteTeamData; - return team_delete == otherTyped.team_delete; - - } - @override - int get hashCode => team_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (team_delete != null) { - json['team_delete'] = team_delete!.toJson(); - } - return json; - } - - DeleteTeamData({ - this.team_delete, - }); -} - -@immutable -class DeleteTeamVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteTeamVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTeamVariables otherTyped = other as DeleteTeamVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteTeamVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_team_hub.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_team_hub.dart deleted file mode 100644 index bb91671a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_team_hub.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteTeamHubVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteTeamHubVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteTeamHubData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteTeamHubVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteTeamHubVariables vars= DeleteTeamHubVariables(id: id,); - return _dataConnect.mutation("deleteTeamHub", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteTeamHubTeamHubDelete { - final String id; - DeleteTeamHubTeamHubDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTeamHubTeamHubDelete otherTyped = other as DeleteTeamHubTeamHubDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteTeamHubTeamHubDelete({ - required this.id, - }); -} - -@immutable -class DeleteTeamHubData { - final DeleteTeamHubTeamHubDelete? teamHub_delete; - DeleteTeamHubData.fromJson(dynamic json): - - teamHub_delete = json['teamHub_delete'] == null ? null : DeleteTeamHubTeamHubDelete.fromJson(json['teamHub_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTeamHubData otherTyped = other as DeleteTeamHubData; - return teamHub_delete == otherTyped.teamHub_delete; - - } - @override - int get hashCode => teamHub_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (teamHub_delete != null) { - json['teamHub_delete'] = teamHub_delete!.toJson(); - } - return json; - } - - DeleteTeamHubData({ - this.teamHub_delete, - }); -} - -@immutable -class DeleteTeamHubVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteTeamHubVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTeamHubVariables otherTyped = other as DeleteTeamHubVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteTeamHubVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_team_hud_department.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_team_hud_department.dart deleted file mode 100644 index cbb5ecb4..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_team_hud_department.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteTeamHudDepartmentVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteTeamHudDepartmentVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteTeamHudDepartmentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteTeamHudDepartmentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteTeamHudDepartmentVariables vars= DeleteTeamHudDepartmentVariables(id: id,); - return _dataConnect.mutation("deleteTeamHudDepartment", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteTeamHudDepartmentTeamHudDepartmentDelete { - final String id; - DeleteTeamHudDepartmentTeamHudDepartmentDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTeamHudDepartmentTeamHudDepartmentDelete otherTyped = other as DeleteTeamHudDepartmentTeamHudDepartmentDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteTeamHudDepartmentTeamHudDepartmentDelete({ - required this.id, - }); -} - -@immutable -class DeleteTeamHudDepartmentData { - final DeleteTeamHudDepartmentTeamHudDepartmentDelete? teamHudDepartment_delete; - DeleteTeamHudDepartmentData.fromJson(dynamic json): - - teamHudDepartment_delete = json['teamHudDepartment_delete'] == null ? null : DeleteTeamHudDepartmentTeamHudDepartmentDelete.fromJson(json['teamHudDepartment_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTeamHudDepartmentData otherTyped = other as DeleteTeamHudDepartmentData; - return teamHudDepartment_delete == otherTyped.teamHudDepartment_delete; - - } - @override - int get hashCode => teamHudDepartment_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (teamHudDepartment_delete != null) { - json['teamHudDepartment_delete'] = teamHudDepartment_delete!.toJson(); - } - return json; - } - - DeleteTeamHudDepartmentData({ - this.teamHudDepartment_delete, - }); -} - -@immutable -class DeleteTeamHudDepartmentVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteTeamHudDepartmentVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTeamHudDepartmentVariables otherTyped = other as DeleteTeamHudDepartmentVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteTeamHudDepartmentVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_team_member.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_team_member.dart deleted file mode 100644 index b69de984..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_team_member.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteTeamMemberVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteTeamMemberVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteTeamMemberData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteTeamMemberVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteTeamMemberVariables vars= DeleteTeamMemberVariables(id: id,); - return _dataConnect.mutation("deleteTeamMember", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteTeamMemberTeamMemberDelete { - final String id; - DeleteTeamMemberTeamMemberDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTeamMemberTeamMemberDelete otherTyped = other as DeleteTeamMemberTeamMemberDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteTeamMemberTeamMemberDelete({ - required this.id, - }); -} - -@immutable -class DeleteTeamMemberData { - final DeleteTeamMemberTeamMemberDelete? teamMember_delete; - DeleteTeamMemberData.fromJson(dynamic json): - - teamMember_delete = json['teamMember_delete'] == null ? null : DeleteTeamMemberTeamMemberDelete.fromJson(json['teamMember_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTeamMemberData otherTyped = other as DeleteTeamMemberData; - return teamMember_delete == otherTyped.teamMember_delete; - - } - @override - int get hashCode => teamMember_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (teamMember_delete != null) { - json['teamMember_delete'] = teamMember_delete!.toJson(); - } - return json; - } - - DeleteTeamMemberData({ - this.teamMember_delete, - }); -} - -@immutable -class DeleteTeamMemberVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteTeamMemberVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteTeamMemberVariables otherTyped = other as DeleteTeamMemberVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteTeamMemberVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_user.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_user.dart deleted file mode 100644 index d3f9b06f..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_user.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteUserVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteUserVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteUserData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteUserVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteUserVariables vars= DeleteUserVariables(id: id,); - return _dataConnect.mutation("DeleteUser", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteUserUserDelete { - final String id; - DeleteUserUserDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteUserUserDelete otherTyped = other as DeleteUserUserDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteUserUserDelete({ - required this.id, - }); -} - -@immutable -class DeleteUserData { - final DeleteUserUserDelete? user_delete; - DeleteUserData.fromJson(dynamic json): - - user_delete = json['user_delete'] == null ? null : DeleteUserUserDelete.fromJson(json['user_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteUserData otherTyped = other as DeleteUserData; - return user_delete == otherTyped.user_delete; - - } - @override - int get hashCode => user_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (user_delete != null) { - json['user_delete'] = user_delete!.toJson(); - } - return json; - } - - DeleteUserData({ - this.user_delete, - }); -} - -@immutable -class DeleteUserVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteUserVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteUserVariables otherTyped = other as DeleteUserVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteUserVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_user_conversation.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_user_conversation.dart deleted file mode 100644 index 54606243..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_user_conversation.dart +++ /dev/null @@ -1,135 +0,0 @@ -part of 'generated.dart'; - -class DeleteUserConversationVariablesBuilder { - String conversationId; - String userId; - - final FirebaseDataConnect _dataConnect; - DeleteUserConversationVariablesBuilder(this._dataConnect, {required this.conversationId,required this.userId,}); - Deserializer dataDeserializer = (dynamic json) => DeleteUserConversationData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteUserConversationVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteUserConversationVariables vars= DeleteUserConversationVariables(conversationId: conversationId,userId: userId,); - return _dataConnect.mutation("deleteUserConversation", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteUserConversationUserConversationDelete { - final String conversationId; - final String userId; - DeleteUserConversationUserConversationDelete.fromJson(dynamic json): - - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteUserConversationUserConversationDelete otherTyped = other as DeleteUserConversationUserConversationDelete; - return conversationId == otherTyped.conversationId && - userId == otherTyped.userId; - - } - @override - int get hashCode => Object.hashAll([conversationId.hashCode, userId.hashCode]); - - - Map toJson() { - Map json = {}; - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - return json; - } - - DeleteUserConversationUserConversationDelete({ - required this.conversationId, - required this.userId, - }); -} - -@immutable -class DeleteUserConversationData { - final DeleteUserConversationUserConversationDelete? userConversation_delete; - DeleteUserConversationData.fromJson(dynamic json): - - userConversation_delete = json['userConversation_delete'] == null ? null : DeleteUserConversationUserConversationDelete.fromJson(json['userConversation_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteUserConversationData otherTyped = other as DeleteUserConversationData; - return userConversation_delete == otherTyped.userConversation_delete; - - } - @override - int get hashCode => userConversation_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (userConversation_delete != null) { - json['userConversation_delete'] = userConversation_delete!.toJson(); - } - return json; - } - - DeleteUserConversationData({ - this.userConversation_delete, - }); -} - -@immutable -class DeleteUserConversationVariables { - final String conversationId; - final String userId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteUserConversationVariables.fromJson(Map json): - - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteUserConversationVariables otherTyped = other as DeleteUserConversationVariables; - return conversationId == otherTyped.conversationId && - userId == otherTyped.userId; - - } - @override - int get hashCode => Object.hashAll([conversationId.hashCode, userId.hashCode]); - - - Map toJson() { - Map json = {}; - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - return json; - } - - DeleteUserConversationVariables({ - required this.conversationId, - required this.userId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_vendor.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_vendor.dart deleted file mode 100644 index 61a59821..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_vendor.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteVendorVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteVendorVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteVendorData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteVendorVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteVendorVariables vars= DeleteVendorVariables(id: id,); - return _dataConnect.mutation("deleteVendor", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteVendorVendorDelete { - final String id; - DeleteVendorVendorDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteVendorVendorDelete otherTyped = other as DeleteVendorVendorDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteVendorVendorDelete({ - required this.id, - }); -} - -@immutable -class DeleteVendorData { - final DeleteVendorVendorDelete? vendor_delete; - DeleteVendorData.fromJson(dynamic json): - - vendor_delete = json['vendor_delete'] == null ? null : DeleteVendorVendorDelete.fromJson(json['vendor_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteVendorData otherTyped = other as DeleteVendorData; - return vendor_delete == otherTyped.vendor_delete; - - } - @override - int get hashCode => vendor_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (vendor_delete != null) { - json['vendor_delete'] = vendor_delete!.toJson(); - } - return json; - } - - DeleteVendorData({ - this.vendor_delete, - }); -} - -@immutable -class DeleteVendorVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteVendorVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteVendorVariables otherTyped = other as DeleteVendorVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteVendorVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_vendor_benefit_plan.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_vendor_benefit_plan.dart deleted file mode 100644 index 76b99dcc..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_vendor_benefit_plan.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteVendorBenefitPlanVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteVendorBenefitPlanVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteVendorBenefitPlanData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteVendorBenefitPlanVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteVendorBenefitPlanVariables vars= DeleteVendorBenefitPlanVariables(id: id,); - return _dataConnect.mutation("deleteVendorBenefitPlan", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteVendorBenefitPlanVendorBenefitPlanDelete { - final String id; - DeleteVendorBenefitPlanVendorBenefitPlanDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteVendorBenefitPlanVendorBenefitPlanDelete otherTyped = other as DeleteVendorBenefitPlanVendorBenefitPlanDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteVendorBenefitPlanVendorBenefitPlanDelete({ - required this.id, - }); -} - -@immutable -class DeleteVendorBenefitPlanData { - final DeleteVendorBenefitPlanVendorBenefitPlanDelete? vendorBenefitPlan_delete; - DeleteVendorBenefitPlanData.fromJson(dynamic json): - - vendorBenefitPlan_delete = json['vendorBenefitPlan_delete'] == null ? null : DeleteVendorBenefitPlanVendorBenefitPlanDelete.fromJson(json['vendorBenefitPlan_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteVendorBenefitPlanData otherTyped = other as DeleteVendorBenefitPlanData; - return vendorBenefitPlan_delete == otherTyped.vendorBenefitPlan_delete; - - } - @override - int get hashCode => vendorBenefitPlan_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (vendorBenefitPlan_delete != null) { - json['vendorBenefitPlan_delete'] = vendorBenefitPlan_delete!.toJson(); - } - return json; - } - - DeleteVendorBenefitPlanData({ - this.vendorBenefitPlan_delete, - }); -} - -@immutable -class DeleteVendorBenefitPlanVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteVendorBenefitPlanVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteVendorBenefitPlanVariables otherTyped = other as DeleteVendorBenefitPlanVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteVendorBenefitPlanVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_vendor_rate.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/delete_vendor_rate.dart deleted file mode 100644 index 4894a79f..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/delete_vendor_rate.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class DeleteVendorRateVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - DeleteVendorRateVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => DeleteVendorRateData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (DeleteVendorRateVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - DeleteVendorRateVariables vars= DeleteVendorRateVariables(id: id,); - return _dataConnect.mutation("deleteVendorRate", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class DeleteVendorRateVendorRateDelete { - final String id; - DeleteVendorRateVendorRateDelete.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteVendorRateVendorRateDelete otherTyped = other as DeleteVendorRateVendorRateDelete; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteVendorRateVendorRateDelete({ - required this.id, - }); -} - -@immutable -class DeleteVendorRateData { - final DeleteVendorRateVendorRateDelete? vendorRate_delete; - DeleteVendorRateData.fromJson(dynamic json): - - vendorRate_delete = json['vendorRate_delete'] == null ? null : DeleteVendorRateVendorRateDelete.fromJson(json['vendorRate_delete']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteVendorRateData otherTyped = other as DeleteVendorRateData; - return vendorRate_delete == otherTyped.vendorRate_delete; - - } - @override - int get hashCode => vendorRate_delete.hashCode; - - - Map toJson() { - Map json = {}; - if (vendorRate_delete != null) { - json['vendorRate_delete'] = vendorRate_delete!.toJson(); - } - return json; - } - - DeleteVendorRateData({ - this.vendorRate_delete, - }); -} - -@immutable -class DeleteVendorRateVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - DeleteVendorRateVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final DeleteVendorRateVariables otherTyped = other as DeleteVendorRateVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - DeleteVendorRateVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_accounts.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_accounts.dart deleted file mode 100644 index 6c190c86..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_accounts.dart +++ /dev/null @@ -1,209 +0,0 @@ -part of 'generated.dart'; - -class FilterAccountsVariablesBuilder { - Optional _bank = Optional.optional(nativeFromJson, nativeToJson); - Optional _type = Optional.optional((data) => AccountType.values.byName(data), enumSerializer); - Optional _isPrimary = Optional.optional(nativeFromJson, nativeToJson); - Optional _ownerId = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterAccountsVariablesBuilder bank(String? t) { - _bank.value = t; - return this; - } - FilterAccountsVariablesBuilder type(AccountType? t) { - _type.value = t; - return this; - } - FilterAccountsVariablesBuilder isPrimary(bool? t) { - _isPrimary.value = t; - return this; - } - FilterAccountsVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - - FilterAccountsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterAccountsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterAccountsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterAccountsVariables vars= FilterAccountsVariables(bank: _bank,type: _type,isPrimary: _isPrimary,ownerId: _ownerId,); - return _dataConnect.query("filterAccounts", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterAccountsAccounts { - final String id; - final String bank; - final EnumValue type; - final String last4; - final bool? isPrimary; - final String ownerId; - FilterAccountsAccounts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - bank = nativeFromJson(json['bank']), - type = accountTypeDeserializer(json['type']), - last4 = nativeFromJson(json['last4']), - isPrimary = json['isPrimary'] == null ? null : nativeFromJson(json['isPrimary']), - ownerId = nativeFromJson(json['ownerId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterAccountsAccounts otherTyped = other as FilterAccountsAccounts; - return id == otherTyped.id && - bank == otherTyped.bank && - type == otherTyped.type && - last4 == otherTyped.last4 && - isPrimary == otherTyped.isPrimary && - ownerId == otherTyped.ownerId; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, bank.hashCode, type.hashCode, last4.hashCode, isPrimary.hashCode, ownerId.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['bank'] = nativeToJson(bank); - json['type'] = - accountTypeSerializer(type) - ; - json['last4'] = nativeToJson(last4); - if (isPrimary != null) { - json['isPrimary'] = nativeToJson(isPrimary); - } - json['ownerId'] = nativeToJson(ownerId); - return json; - } - - FilterAccountsAccounts({ - required this.id, - required this.bank, - required this.type, - required this.last4, - this.isPrimary, - required this.ownerId, - }); -} - -@immutable -class FilterAccountsData { - final List accounts; - FilterAccountsData.fromJson(dynamic json): - - accounts = (json['accounts'] as List) - .map((e) => FilterAccountsAccounts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterAccountsData otherTyped = other as FilterAccountsData; - return accounts == otherTyped.accounts; - - } - @override - int get hashCode => accounts.hashCode; - - - Map toJson() { - Map json = {}; - json['accounts'] = accounts.map((e) => e.toJson()).toList(); - return json; - } - - FilterAccountsData({ - required this.accounts, - }); -} - -@immutable -class FilterAccountsVariables { - late final Optionalbank; - late final Optionaltype; - late final OptionalisPrimary; - late final OptionalownerId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterAccountsVariables.fromJson(Map json) { - - - bank = Optional.optional(nativeFromJson, nativeToJson); - bank.value = json['bank'] == null ? null : nativeFromJson(json['bank']); - - - type = Optional.optional((data) => AccountType.values.byName(data), enumSerializer); - type.value = json['type'] == null ? null : AccountType.values.byName(json['type']); - - - isPrimary = Optional.optional(nativeFromJson, nativeToJson); - isPrimary.value = json['isPrimary'] == null ? null : nativeFromJson(json['isPrimary']); - - - ownerId = Optional.optional(nativeFromJson, nativeToJson); - ownerId.value = json['ownerId'] == null ? null : nativeFromJson(json['ownerId']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterAccountsVariables otherTyped = other as FilterAccountsVariables; - return bank == otherTyped.bank && - type == otherTyped.type && - isPrimary == otherTyped.isPrimary && - ownerId == otherTyped.ownerId; - - } - @override - int get hashCode => Object.hashAll([bank.hashCode, type.hashCode, isPrimary.hashCode, ownerId.hashCode]); - - - Map toJson() { - Map json = {}; - if(bank.state == OptionalState.set) { - json['bank'] = bank.toJson(); - } - if(type.state == OptionalState.set) { - json['type'] = type.toJson(); - } - if(isPrimary.state == OptionalState.set) { - json['isPrimary'] = isPrimary.toJson(); - } - if(ownerId.state == OptionalState.set) { - json['ownerId'] = ownerId.toJson(); - } - return json; - } - - FilterAccountsVariables({ - required this.bank, - required this.type, - required this.isPrimary, - required this.ownerId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_activity_logs.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_activity_logs.dart deleted file mode 100644 index 0298429e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_activity_logs.dart +++ /dev/null @@ -1,332 +0,0 @@ -part of 'generated.dart'; - -class FilterActivityLogsVariablesBuilder { - Optional _userId = Optional.optional(nativeFromJson, nativeToJson); - Optional _dateFrom = Optional.optional((json) => json['dateFrom'] = Timestamp.fromJson(json['dateFrom']), defaultSerializer); - Optional _dateTo = Optional.optional((json) => json['dateTo'] = Timestamp.fromJson(json['dateTo']), defaultSerializer); - Optional _isRead = Optional.optional(nativeFromJson, nativeToJson); - Optional _activityType = Optional.optional((data) => ActivityType.values.byName(data), enumSerializer); - Optional _iconType = Optional.optional((data) => ActivityIconType.values.byName(data), enumSerializer); - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterActivityLogsVariablesBuilder userId(String? t) { - _userId.value = t; - return this; - } - FilterActivityLogsVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - FilterActivityLogsVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - FilterActivityLogsVariablesBuilder isRead(bool? t) { - _isRead.value = t; - return this; - } - FilterActivityLogsVariablesBuilder activityType(ActivityType? t) { - _activityType.value = t; - return this; - } - FilterActivityLogsVariablesBuilder iconType(ActivityIconType? t) { - _iconType.value = t; - return this; - } - FilterActivityLogsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterActivityLogsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - FilterActivityLogsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterActivityLogsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterActivityLogsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterActivityLogsVariables vars= FilterActivityLogsVariables(userId: _userId,dateFrom: _dateFrom,dateTo: _dateTo,isRead: _isRead,activityType: _activityType,iconType: _iconType,offset: _offset,limit: _limit,); - return _dataConnect.query("filterActivityLogs", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterActivityLogsActivityLogs { - final String id; - final String userId; - final Timestamp date; - final String? hourStart; - final String? hourEnd; - final String? totalhours; - final EnumValue? iconType; - final String? iconColor; - final String title; - final String description; - final bool? isRead; - final EnumValue activityType; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - FilterActivityLogsActivityLogs.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - userId = nativeFromJson(json['userId']), - date = Timestamp.fromJson(json['date']), - hourStart = json['hourStart'] == null ? null : nativeFromJson(json['hourStart']), - hourEnd = json['hourEnd'] == null ? null : nativeFromJson(json['hourEnd']), - totalhours = json['totalhours'] == null ? null : nativeFromJson(json['totalhours']), - iconType = json['iconType'] == null ? null : activityIconTypeDeserializer(json['iconType']), - iconColor = json['iconColor'] == null ? null : nativeFromJson(json['iconColor']), - title = nativeFromJson(json['title']), - description = nativeFromJson(json['description']), - isRead = json['isRead'] == null ? null : nativeFromJson(json['isRead']), - activityType = activityTypeDeserializer(json['activityType']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterActivityLogsActivityLogs otherTyped = other as FilterActivityLogsActivityLogs; - return id == otherTyped.id && - userId == otherTyped.userId && - date == otherTyped.date && - hourStart == otherTyped.hourStart && - hourEnd == otherTyped.hourEnd && - totalhours == otherTyped.totalhours && - iconType == otherTyped.iconType && - iconColor == otherTyped.iconColor && - title == otherTyped.title && - description == otherTyped.description && - isRead == otherTyped.isRead && - activityType == otherTyped.activityType && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, userId.hashCode, date.hashCode, hourStart.hashCode, hourEnd.hashCode, totalhours.hashCode, iconType.hashCode, iconColor.hashCode, title.hashCode, description.hashCode, isRead.hashCode, activityType.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['userId'] = nativeToJson(userId); - json['date'] = date.toJson(); - if (hourStart != null) { - json['hourStart'] = nativeToJson(hourStart); - } - if (hourEnd != null) { - json['hourEnd'] = nativeToJson(hourEnd); - } - if (totalhours != null) { - json['totalhours'] = nativeToJson(totalhours); - } - if (iconType != null) { - json['iconType'] = - activityIconTypeSerializer(iconType!) - ; - } - if (iconColor != null) { - json['iconColor'] = nativeToJson(iconColor); - } - json['title'] = nativeToJson(title); - json['description'] = nativeToJson(description); - if (isRead != null) { - json['isRead'] = nativeToJson(isRead); - } - json['activityType'] = - activityTypeSerializer(activityType) - ; - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - FilterActivityLogsActivityLogs({ - required this.id, - required this.userId, - required this.date, - this.hourStart, - this.hourEnd, - this.totalhours, - this.iconType, - this.iconColor, - required this.title, - required this.description, - this.isRead, - required this.activityType, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class FilterActivityLogsData { - final List activityLogs; - FilterActivityLogsData.fromJson(dynamic json): - - activityLogs = (json['activityLogs'] as List) - .map((e) => FilterActivityLogsActivityLogs.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterActivityLogsData otherTyped = other as FilterActivityLogsData; - return activityLogs == otherTyped.activityLogs; - - } - @override - int get hashCode => activityLogs.hashCode; - - - Map toJson() { - Map json = {}; - json['activityLogs'] = activityLogs.map((e) => e.toJson()).toList(); - return json; - } - - FilterActivityLogsData({ - required this.activityLogs, - }); -} - -@immutable -class FilterActivityLogsVariables { - late final OptionaluserId; - late final OptionaldateFrom; - late final OptionaldateTo; - late final OptionalisRead; - late final OptionalactivityType; - late final OptionaliconType; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterActivityLogsVariables.fromJson(Map json) { - - - userId = Optional.optional(nativeFromJson, nativeToJson); - userId.value = json['userId'] == null ? null : nativeFromJson(json['userId']); - - - dateFrom = Optional.optional((json) => json['dateFrom'] = Timestamp.fromJson(json['dateFrom']), defaultSerializer); - dateFrom.value = json['dateFrom'] == null ? null : Timestamp.fromJson(json['dateFrom']); - - - dateTo = Optional.optional((json) => json['dateTo'] = Timestamp.fromJson(json['dateTo']), defaultSerializer); - dateTo.value = json['dateTo'] == null ? null : Timestamp.fromJson(json['dateTo']); - - - isRead = Optional.optional(nativeFromJson, nativeToJson); - isRead.value = json['isRead'] == null ? null : nativeFromJson(json['isRead']); - - - activityType = Optional.optional((data) => ActivityType.values.byName(data), enumSerializer); - activityType.value = json['activityType'] == null ? null : ActivityType.values.byName(json['activityType']); - - - iconType = Optional.optional((data) => ActivityIconType.values.byName(data), enumSerializer); - iconType.value = json['iconType'] == null ? null : ActivityIconType.values.byName(json['iconType']); - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterActivityLogsVariables otherTyped = other as FilterActivityLogsVariables; - return userId == otherTyped.userId && - dateFrom == otherTyped.dateFrom && - dateTo == otherTyped.dateTo && - isRead == otherTyped.isRead && - activityType == otherTyped.activityType && - iconType == otherTyped.iconType && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([userId.hashCode, dateFrom.hashCode, dateTo.hashCode, isRead.hashCode, activityType.hashCode, iconType.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(userId.state == OptionalState.set) { - json['userId'] = userId.toJson(); - } - if(dateFrom.state == OptionalState.set) { - json['dateFrom'] = dateFrom.toJson(); - } - if(dateTo.state == OptionalState.set) { - json['dateTo'] = dateTo.toJson(); - } - if(isRead.state == OptionalState.set) { - json['isRead'] = isRead.toJson(); - } - if(activityType.state == OptionalState.set) { - json['activityType'] = activityType.toJson(); - } - if(iconType.state == OptionalState.set) { - json['iconType'] = iconType.toJson(); - } - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - FilterActivityLogsVariables({ - required this.userId, - required this.dateFrom, - required this.dateTo, - required this.isRead, - required this.activityType, - required this.iconType, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_assignments.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_assignments.dart deleted file mode 100644 index 63e6ce4e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_assignments.dart +++ /dev/null @@ -1,444 +0,0 @@ -part of 'generated.dart'; - -class FilterAssignmentsVariablesBuilder { - List shiftIds; - List roleIds; - Optional _status = Optional.optional((data) => AssignmentStatus.values.byName(data), enumSerializer); - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; FilterAssignmentsVariablesBuilder status(AssignmentStatus? t) { - _status.value = t; - return this; - } - FilterAssignmentsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterAssignmentsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - FilterAssignmentsVariablesBuilder(this._dataConnect, {required this.shiftIds,required this.roleIds,}); - Deserializer dataDeserializer = (dynamic json) => FilterAssignmentsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterAssignmentsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterAssignmentsVariables vars= FilterAssignmentsVariables(shiftIds: shiftIds,roleIds: roleIds,status: _status,offset: _offset,limit: _limit,); - return _dataConnect.query("filterAssignments", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterAssignmentsAssignments { - final String id; - final String? title; - final EnumValue? status; - final Timestamp? createdAt; - final FilterAssignmentsAssignmentsWorkforce workforce; - final FilterAssignmentsAssignmentsShiftRole shiftRole; - FilterAssignmentsAssignments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = json['title'] == null ? null : nativeFromJson(json['title']), - status = json['status'] == null ? null : assignmentStatusDeserializer(json['status']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - workforce = FilterAssignmentsAssignmentsWorkforce.fromJson(json['workforce']), - shiftRole = FilterAssignmentsAssignmentsShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterAssignmentsAssignments otherTyped = other as FilterAssignmentsAssignments; - return id == otherTyped.id && - title == otherTyped.title && - status == otherTyped.status && - createdAt == otherTyped.createdAt && - workforce == otherTyped.workforce && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, status.hashCode, createdAt.hashCode, workforce.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (title != null) { - json['title'] = nativeToJson(title); - } - if (status != null) { - json['status'] = - assignmentStatusSerializer(status!) - ; - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['workforce'] = workforce.toJson(); - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - FilterAssignmentsAssignments({ - required this.id, - this.title, - this.status, - this.createdAt, - required this.workforce, - required this.shiftRole, - }); -} - -@immutable -class FilterAssignmentsAssignmentsWorkforce { - final String id; - final String workforceNumber; - final FilterAssignmentsAssignmentsWorkforceStaff staff; - FilterAssignmentsAssignmentsWorkforce.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - workforceNumber = nativeFromJson(json['workforceNumber']), - staff = FilterAssignmentsAssignmentsWorkforceStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterAssignmentsAssignmentsWorkforce otherTyped = other as FilterAssignmentsAssignmentsWorkforce; - return id == otherTyped.id && - workforceNumber == otherTyped.workforceNumber && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workforceNumber.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['workforceNumber'] = nativeToJson(workforceNumber); - json['staff'] = staff.toJson(); - return json; - } - - FilterAssignmentsAssignmentsWorkforce({ - required this.id, - required this.workforceNumber, - required this.staff, - }); -} - -@immutable -class FilterAssignmentsAssignmentsWorkforceStaff { - final String id; - final String fullName; - FilterAssignmentsAssignmentsWorkforceStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterAssignmentsAssignmentsWorkforceStaff otherTyped = other as FilterAssignmentsAssignmentsWorkforceStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - FilterAssignmentsAssignmentsWorkforceStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class FilterAssignmentsAssignmentsShiftRole { - final String id; - final FilterAssignmentsAssignmentsShiftRoleRole role; - final FilterAssignmentsAssignmentsShiftRoleShift shift; - FilterAssignmentsAssignmentsShiftRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - role = FilterAssignmentsAssignmentsShiftRoleRole.fromJson(json['role']), - shift = FilterAssignmentsAssignmentsShiftRoleShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterAssignmentsAssignmentsShiftRole otherTyped = other as FilterAssignmentsAssignmentsShiftRole; - return id == otherTyped.id && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - FilterAssignmentsAssignmentsShiftRole({ - required this.id, - required this.role, - required this.shift, - }); -} - -@immutable -class FilterAssignmentsAssignmentsShiftRoleRole { - final String id; - final String name; - FilterAssignmentsAssignmentsShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterAssignmentsAssignmentsShiftRoleRole otherTyped = other as FilterAssignmentsAssignmentsShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - return json; - } - - FilterAssignmentsAssignmentsShiftRoleRole({ - required this.id, - required this.name, - }); -} - -@immutable -class FilterAssignmentsAssignmentsShiftRoleShift { - final String id; - final String title; - final Timestamp? date; - final String? location; - final EnumValue? status; - FilterAssignmentsAssignmentsShiftRoleShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterAssignmentsAssignmentsShiftRoleShift otherTyped = other as FilterAssignmentsAssignmentsShiftRoleShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - location == otherTyped.location && - status == otherTyped.status; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, location.hashCode, status.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - return json; - } - - FilterAssignmentsAssignmentsShiftRoleShift({ - required this.id, - required this.title, - this.date, - this.location, - this.status, - }); -} - -@immutable -class FilterAssignmentsData { - final List assignments; - FilterAssignmentsData.fromJson(dynamic json): - - assignments = (json['assignments'] as List) - .map((e) => FilterAssignmentsAssignments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterAssignmentsData otherTyped = other as FilterAssignmentsData; - return assignments == otherTyped.assignments; - - } - @override - int get hashCode => assignments.hashCode; - - - Map toJson() { - Map json = {}; - json['assignments'] = assignments.map((e) => e.toJson()).toList(); - return json; - } - - FilterAssignmentsData({ - required this.assignments, - }); -} - -@immutable -class FilterAssignmentsVariables { - final List shiftIds; - final List roleIds; - late final Optionalstatus; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterAssignmentsVariables.fromJson(Map json): - - shiftIds = (json['shiftIds'] as List) - .map((e) => nativeFromJson(e)) - .toList(), - roleIds = (json['roleIds'] as List) - .map((e) => nativeFromJson(e)) - .toList() { - - - - - status = Optional.optional((data) => AssignmentStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : AssignmentStatus.values.byName(json['status']); - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterAssignmentsVariables otherTyped = other as FilterAssignmentsVariables; - return shiftIds == otherTyped.shiftIds && - roleIds == otherTyped.roleIds && - status == otherTyped.status && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([shiftIds.hashCode, roleIds.hashCode, status.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['shiftIds'] = shiftIds.map((e) => nativeToJson(e)).toList(); - json['roleIds'] = roleIds.map((e) => nativeToJson(e)).toList(); - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - FilterAssignmentsVariables({ - required this.shiftIds, - required this.roleIds, - required this.status, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_attire_options.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_attire_options.dart deleted file mode 100644 index 8df80758..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_attire_options.dart +++ /dev/null @@ -1,203 +0,0 @@ -part of 'generated.dart'; - -class FilterAttireOptionsVariablesBuilder { - Optional _itemId = Optional.optional(nativeFromJson, nativeToJson); - Optional _isMandatory = Optional.optional(nativeFromJson, nativeToJson); - Optional _vendorId = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterAttireOptionsVariablesBuilder itemId(String? t) { - _itemId.value = t; - return this; - } - FilterAttireOptionsVariablesBuilder isMandatory(bool? t) { - _isMandatory.value = t; - return this; - } - FilterAttireOptionsVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - - FilterAttireOptionsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterAttireOptionsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterAttireOptionsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterAttireOptionsVariables vars= FilterAttireOptionsVariables(itemId: _itemId,isMandatory: _isMandatory,vendorId: _vendorId,); - return _dataConnect.query("filterAttireOptions", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterAttireOptionsAttireOptions { - final String id; - final String itemId; - final String label; - final String? icon; - final String? imageUrl; - final bool? isMandatory; - final String? vendorId; - FilterAttireOptionsAttireOptions.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - itemId = nativeFromJson(json['itemId']), - label = nativeFromJson(json['label']), - icon = json['icon'] == null ? null : nativeFromJson(json['icon']), - imageUrl = json['imageUrl'] == null ? null : nativeFromJson(json['imageUrl']), - isMandatory = json['isMandatory'] == null ? null : nativeFromJson(json['isMandatory']), - vendorId = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterAttireOptionsAttireOptions otherTyped = other as FilterAttireOptionsAttireOptions; - return id == otherTyped.id && - itemId == otherTyped.itemId && - label == otherTyped.label && - icon == otherTyped.icon && - imageUrl == otherTyped.imageUrl && - isMandatory == otherTyped.isMandatory && - vendorId == otherTyped.vendorId; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, itemId.hashCode, label.hashCode, icon.hashCode, imageUrl.hashCode, isMandatory.hashCode, vendorId.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['itemId'] = nativeToJson(itemId); - json['label'] = nativeToJson(label); - if (icon != null) { - json['icon'] = nativeToJson(icon); - } - if (imageUrl != null) { - json['imageUrl'] = nativeToJson(imageUrl); - } - if (isMandatory != null) { - json['isMandatory'] = nativeToJson(isMandatory); - } - if (vendorId != null) { - json['vendorId'] = nativeToJson(vendorId); - } - return json; - } - - FilterAttireOptionsAttireOptions({ - required this.id, - required this.itemId, - required this.label, - this.icon, - this.imageUrl, - this.isMandatory, - this.vendorId, - }); -} - -@immutable -class FilterAttireOptionsData { - final List attireOptions; - FilterAttireOptionsData.fromJson(dynamic json): - - attireOptions = (json['attireOptions'] as List) - .map((e) => FilterAttireOptionsAttireOptions.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterAttireOptionsData otherTyped = other as FilterAttireOptionsData; - return attireOptions == otherTyped.attireOptions; - - } - @override - int get hashCode => attireOptions.hashCode; - - - Map toJson() { - Map json = {}; - json['attireOptions'] = attireOptions.map((e) => e.toJson()).toList(); - return json; - } - - FilterAttireOptionsData({ - required this.attireOptions, - }); -} - -@immutable -class FilterAttireOptionsVariables { - late final OptionalitemId; - late final OptionalisMandatory; - late final OptionalvendorId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterAttireOptionsVariables.fromJson(Map json) { - - - itemId = Optional.optional(nativeFromJson, nativeToJson); - itemId.value = json['itemId'] == null ? null : nativeFromJson(json['itemId']); - - - isMandatory = Optional.optional(nativeFromJson, nativeToJson); - isMandatory.value = json['isMandatory'] == null ? null : nativeFromJson(json['isMandatory']); - - - vendorId = Optional.optional(nativeFromJson, nativeToJson); - vendorId.value = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterAttireOptionsVariables otherTyped = other as FilterAttireOptionsVariables; - return itemId == otherTyped.itemId && - isMandatory == otherTyped.isMandatory && - vendorId == otherTyped.vendorId; - - } - @override - int get hashCode => Object.hashAll([itemId.hashCode, isMandatory.hashCode, vendorId.hashCode]); - - - Map toJson() { - Map json = {}; - if(itemId.state == OptionalState.set) { - json['itemId'] = itemId.toJson(); - } - if(isMandatory.state == OptionalState.set) { - json['isMandatory'] = isMandatory.toJson(); - } - if(vendorId.state == OptionalState.set) { - json['vendorId'] = vendorId.toJson(); - } - return json; - } - - FilterAttireOptionsVariables({ - required this.itemId, - required this.isMandatory, - required this.vendorId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_categories.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_categories.dart deleted file mode 100644 index 1b3d2ebc..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_categories.dart +++ /dev/null @@ -1,188 +0,0 @@ -part of 'generated.dart'; - -class FilterCategoriesVariablesBuilder { - Optional _categoryId = Optional.optional(nativeFromJson, nativeToJson); - Optional _label = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterCategoriesVariablesBuilder categoryId(String? t) { - _categoryId.value = t; - return this; - } - FilterCategoriesVariablesBuilder label(String? t) { - _label.value = t; - return this; - } - - FilterCategoriesVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterCategoriesData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterCategoriesVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterCategoriesVariables vars= FilterCategoriesVariables(categoryId: _categoryId,label: _label,); - return _dataConnect.query("filterCategories", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterCategoriesCategories { - final String id; - final String categoryId; - final String label; - final String? icon; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - FilterCategoriesCategories.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - categoryId = nativeFromJson(json['categoryId']), - label = nativeFromJson(json['label']), - icon = json['icon'] == null ? null : nativeFromJson(json['icon']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterCategoriesCategories otherTyped = other as FilterCategoriesCategories; - return id == otherTyped.id && - categoryId == otherTyped.categoryId && - label == otherTyped.label && - icon == otherTyped.icon && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, categoryId.hashCode, label.hashCode, icon.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['categoryId'] = nativeToJson(categoryId); - json['label'] = nativeToJson(label); - if (icon != null) { - json['icon'] = nativeToJson(icon); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - FilterCategoriesCategories({ - required this.id, - required this.categoryId, - required this.label, - this.icon, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class FilterCategoriesData { - final List categories; - FilterCategoriesData.fromJson(dynamic json): - - categories = (json['categories'] as List) - .map((e) => FilterCategoriesCategories.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterCategoriesData otherTyped = other as FilterCategoriesData; - return categories == otherTyped.categories; - - } - @override - int get hashCode => categories.hashCode; - - - Map toJson() { - Map json = {}; - json['categories'] = categories.map((e) => e.toJson()).toList(); - return json; - } - - FilterCategoriesData({ - required this.categories, - }); -} - -@immutable -class FilterCategoriesVariables { - late final OptionalcategoryId; - late final Optionallabel; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterCategoriesVariables.fromJson(Map json) { - - - categoryId = Optional.optional(nativeFromJson, nativeToJson); - categoryId.value = json['categoryId'] == null ? null : nativeFromJson(json['categoryId']); - - - label = Optional.optional(nativeFromJson, nativeToJson); - label.value = json['label'] == null ? null : nativeFromJson(json['label']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterCategoriesVariables otherTyped = other as FilterCategoriesVariables; - return categoryId == otherTyped.categoryId && - label == otherTyped.label; - - } - @override - int get hashCode => Object.hashAll([categoryId.hashCode, label.hashCode]); - - - Map toJson() { - Map json = {}; - if(categoryId.state == OptionalState.set) { - json['categoryId'] = categoryId.toJson(); - } - if(label.state == OptionalState.set) { - json['label'] = label.toJson(); - } - return json; - } - - FilterCategoriesVariables({ - required this.categoryId, - required this.label, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_client_feedbacks.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_client_feedbacks.dart deleted file mode 100644 index e7661cbe..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_client_feedbacks.dart +++ /dev/null @@ -1,359 +0,0 @@ -part of 'generated.dart'; - -class FilterClientFeedbacksVariablesBuilder { - Optional _businessId = Optional.optional(nativeFromJson, nativeToJson); - Optional _vendorId = Optional.optional(nativeFromJson, nativeToJson); - Optional _ratingMin = Optional.optional(nativeFromJson, nativeToJson); - Optional _ratingMax = Optional.optional(nativeFromJson, nativeToJson); - Optional _dateFrom = Optional.optional((json) => json['dateFrom'] = Timestamp.fromJson(json['dateFrom']), defaultSerializer); - Optional _dateTo = Optional.optional((json) => json['dateTo'] = Timestamp.fromJson(json['dateTo']), defaultSerializer); - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterClientFeedbacksVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder ratingMin(int? t) { - _ratingMin.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder ratingMax(int? t) { - _ratingMax.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - FilterClientFeedbacksVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterClientFeedbacksData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterClientFeedbacksVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterClientFeedbacksVariables vars= FilterClientFeedbacksVariables(businessId: _businessId,vendorId: _vendorId,ratingMin: _ratingMin,ratingMax: _ratingMax,dateFrom: _dateFrom,dateTo: _dateTo,offset: _offset,limit: _limit,); - return _dataConnect.query("filterClientFeedbacks", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterClientFeedbacksClientFeedbacks { - final String id; - final String businessId; - final String vendorId; - final int? rating; - final String? comment; - final Timestamp? date; - final FilterClientFeedbacksClientFeedbacksBusiness business; - final FilterClientFeedbacksClientFeedbacksVendor vendor; - FilterClientFeedbacksClientFeedbacks.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessId = nativeFromJson(json['businessId']), - vendorId = nativeFromJson(json['vendorId']), - rating = json['rating'] == null ? null : nativeFromJson(json['rating']), - comment = json['comment'] == null ? null : nativeFromJson(json['comment']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - business = FilterClientFeedbacksClientFeedbacksBusiness.fromJson(json['business']), - vendor = FilterClientFeedbacksClientFeedbacksVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterClientFeedbacksClientFeedbacks otherTyped = other as FilterClientFeedbacksClientFeedbacks; - return id == otherTyped.id && - businessId == otherTyped.businessId && - vendorId == otherTyped.vendorId && - rating == otherTyped.rating && - comment == otherTyped.comment && - date == otherTyped.date && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessId.hashCode, vendorId.hashCode, rating.hashCode, comment.hashCode, date.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessId'] = nativeToJson(businessId); - json['vendorId'] = nativeToJson(vendorId); - if (rating != null) { - json['rating'] = nativeToJson(rating); - } - if (comment != null) { - json['comment'] = nativeToJson(comment); - } - if (date != null) { - json['date'] = date!.toJson(); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - FilterClientFeedbacksClientFeedbacks({ - required this.id, - required this.businessId, - required this.vendorId, - this.rating, - this.comment, - this.date, - required this.business, - required this.vendor, - }); -} - -@immutable -class FilterClientFeedbacksClientFeedbacksBusiness { - final String id; - final String businessName; - FilterClientFeedbacksClientFeedbacksBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterClientFeedbacksClientFeedbacksBusiness otherTyped = other as FilterClientFeedbacksClientFeedbacksBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - FilterClientFeedbacksClientFeedbacksBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class FilterClientFeedbacksClientFeedbacksVendor { - final String id; - final String companyName; - FilterClientFeedbacksClientFeedbacksVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterClientFeedbacksClientFeedbacksVendor otherTyped = other as FilterClientFeedbacksClientFeedbacksVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - FilterClientFeedbacksClientFeedbacksVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class FilterClientFeedbacksData { - final List clientFeedbacks; - FilterClientFeedbacksData.fromJson(dynamic json): - - clientFeedbacks = (json['clientFeedbacks'] as List) - .map((e) => FilterClientFeedbacksClientFeedbacks.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterClientFeedbacksData otherTyped = other as FilterClientFeedbacksData; - return clientFeedbacks == otherTyped.clientFeedbacks; - - } - @override - int get hashCode => clientFeedbacks.hashCode; - - - Map toJson() { - Map json = {}; - json['clientFeedbacks'] = clientFeedbacks.map((e) => e.toJson()).toList(); - return json; - } - - FilterClientFeedbacksData({ - required this.clientFeedbacks, - }); -} - -@immutable -class FilterClientFeedbacksVariables { - late final OptionalbusinessId; - late final OptionalvendorId; - late final OptionalratingMin; - late final OptionalratingMax; - late final OptionaldateFrom; - late final OptionaldateTo; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterClientFeedbacksVariables.fromJson(Map json) { - - - businessId = Optional.optional(nativeFromJson, nativeToJson); - businessId.value = json['businessId'] == null ? null : nativeFromJson(json['businessId']); - - - vendorId = Optional.optional(nativeFromJson, nativeToJson); - vendorId.value = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']); - - - ratingMin = Optional.optional(nativeFromJson, nativeToJson); - ratingMin.value = json['ratingMin'] == null ? null : nativeFromJson(json['ratingMin']); - - - ratingMax = Optional.optional(nativeFromJson, nativeToJson); - ratingMax.value = json['ratingMax'] == null ? null : nativeFromJson(json['ratingMax']); - - - dateFrom = Optional.optional((json) => json['dateFrom'] = Timestamp.fromJson(json['dateFrom']), defaultSerializer); - dateFrom.value = json['dateFrom'] == null ? null : Timestamp.fromJson(json['dateFrom']); - - - dateTo = Optional.optional((json) => json['dateTo'] = Timestamp.fromJson(json['dateTo']), defaultSerializer); - dateTo.value = json['dateTo'] == null ? null : Timestamp.fromJson(json['dateTo']); - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterClientFeedbacksVariables otherTyped = other as FilterClientFeedbacksVariables; - return businessId == otherTyped.businessId && - vendorId == otherTyped.vendorId && - ratingMin == otherTyped.ratingMin && - ratingMax == otherTyped.ratingMax && - dateFrom == otherTyped.dateFrom && - dateTo == otherTyped.dateTo && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([businessId.hashCode, vendorId.hashCode, ratingMin.hashCode, ratingMax.hashCode, dateFrom.hashCode, dateTo.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(businessId.state == OptionalState.set) { - json['businessId'] = businessId.toJson(); - } - if(vendorId.state == OptionalState.set) { - json['vendorId'] = vendorId.toJson(); - } - if(ratingMin.state == OptionalState.set) { - json['ratingMin'] = ratingMin.toJson(); - } - if(ratingMax.state == OptionalState.set) { - json['ratingMax'] = ratingMax.toJson(); - } - if(dateFrom.state == OptionalState.set) { - json['dateFrom'] = dateFrom.toJson(); - } - if(dateTo.state == OptionalState.set) { - json['dateTo'] = dateTo.toJson(); - } - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - FilterClientFeedbacksVariables({ - required this.businessId, - required this.vendorId, - required this.ratingMin, - required this.ratingMax, - required this.dateFrom, - required this.dateTo, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_conversations.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_conversations.dart deleted file mode 100644 index 779cbb30..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_conversations.dart +++ /dev/null @@ -1,285 +0,0 @@ -part of 'generated.dart'; - -class FilterConversationsVariablesBuilder { - Optional _status = Optional.optional((data) => ConversationStatus.values.byName(data), enumSerializer); - Optional _conversationType = Optional.optional((data) => ConversationType.values.byName(data), enumSerializer); - Optional _isGroup = Optional.optional(nativeFromJson, nativeToJson); - Optional _lastMessageAfter = Optional.optional((json) => json['lastMessageAfter'] = Timestamp.fromJson(json['lastMessageAfter']), defaultSerializer); - Optional _lastMessageBefore = Optional.optional((json) => json['lastMessageBefore'] = Timestamp.fromJson(json['lastMessageBefore']), defaultSerializer); - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterConversationsVariablesBuilder status(ConversationStatus? t) { - _status.value = t; - return this; - } - FilterConversationsVariablesBuilder conversationType(ConversationType? t) { - _conversationType.value = t; - return this; - } - FilterConversationsVariablesBuilder isGroup(bool? t) { - _isGroup.value = t; - return this; - } - FilterConversationsVariablesBuilder lastMessageAfter(Timestamp? t) { - _lastMessageAfter.value = t; - return this; - } - FilterConversationsVariablesBuilder lastMessageBefore(Timestamp? t) { - _lastMessageBefore.value = t; - return this; - } - FilterConversationsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterConversationsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - FilterConversationsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterConversationsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterConversationsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterConversationsVariables vars= FilterConversationsVariables(status: _status,conversationType: _conversationType,isGroup: _isGroup,lastMessageAfter: _lastMessageAfter,lastMessageBefore: _lastMessageBefore,offset: _offset,limit: _limit,); - return _dataConnect.query("filterConversations", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterConversationsConversations { - final String id; - final String? subject; - final EnumValue? status; - final EnumValue? conversationType; - final bool? isGroup; - final String? groupName; - final String? lastMessage; - final Timestamp? lastMessageAt; - final Timestamp? createdAt; - FilterConversationsConversations.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - subject = json['subject'] == null ? null : nativeFromJson(json['subject']), - status = json['status'] == null ? null : conversationStatusDeserializer(json['status']), - conversationType = json['conversationType'] == null ? null : conversationTypeDeserializer(json['conversationType']), - isGroup = json['isGroup'] == null ? null : nativeFromJson(json['isGroup']), - groupName = json['groupName'] == null ? null : nativeFromJson(json['groupName']), - lastMessage = json['lastMessage'] == null ? null : nativeFromJson(json['lastMessage']), - lastMessageAt = json['lastMessageAt'] == null ? null : Timestamp.fromJson(json['lastMessageAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterConversationsConversations otherTyped = other as FilterConversationsConversations; - return id == otherTyped.id && - subject == otherTyped.subject && - status == otherTyped.status && - conversationType == otherTyped.conversationType && - isGroup == otherTyped.isGroup && - groupName == otherTyped.groupName && - lastMessage == otherTyped.lastMessage && - lastMessageAt == otherTyped.lastMessageAt && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, subject.hashCode, status.hashCode, conversationType.hashCode, isGroup.hashCode, groupName.hashCode, lastMessage.hashCode, lastMessageAt.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (subject != null) { - json['subject'] = nativeToJson(subject); - } - if (status != null) { - json['status'] = - conversationStatusSerializer(status!) - ; - } - if (conversationType != null) { - json['conversationType'] = - conversationTypeSerializer(conversationType!) - ; - } - if (isGroup != null) { - json['isGroup'] = nativeToJson(isGroup); - } - if (groupName != null) { - json['groupName'] = nativeToJson(groupName); - } - if (lastMessage != null) { - json['lastMessage'] = nativeToJson(lastMessage); - } - if (lastMessageAt != null) { - json['lastMessageAt'] = lastMessageAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - FilterConversationsConversations({ - required this.id, - this.subject, - this.status, - this.conversationType, - this.isGroup, - this.groupName, - this.lastMessage, - this.lastMessageAt, - this.createdAt, - }); -} - -@immutable -class FilterConversationsData { - final List conversations; - FilterConversationsData.fromJson(dynamic json): - - conversations = (json['conversations'] as List) - .map((e) => FilterConversationsConversations.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterConversationsData otherTyped = other as FilterConversationsData; - return conversations == otherTyped.conversations; - - } - @override - int get hashCode => conversations.hashCode; - - - Map toJson() { - Map json = {}; - json['conversations'] = conversations.map((e) => e.toJson()).toList(); - return json; - } - - FilterConversationsData({ - required this.conversations, - }); -} - -@immutable -class FilterConversationsVariables { - late final Optionalstatus; - late final OptionalconversationType; - late final OptionalisGroup; - late final OptionallastMessageAfter; - late final OptionallastMessageBefore; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterConversationsVariables.fromJson(Map json) { - - - status = Optional.optional((data) => ConversationStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : ConversationStatus.values.byName(json['status']); - - - conversationType = Optional.optional((data) => ConversationType.values.byName(data), enumSerializer); - conversationType.value = json['conversationType'] == null ? null : ConversationType.values.byName(json['conversationType']); - - - isGroup = Optional.optional(nativeFromJson, nativeToJson); - isGroup.value = json['isGroup'] == null ? null : nativeFromJson(json['isGroup']); - - - lastMessageAfter = Optional.optional((json) => json['lastMessageAfter'] = Timestamp.fromJson(json['lastMessageAfter']), defaultSerializer); - lastMessageAfter.value = json['lastMessageAfter'] == null ? null : Timestamp.fromJson(json['lastMessageAfter']); - - - lastMessageBefore = Optional.optional((json) => json['lastMessageBefore'] = Timestamp.fromJson(json['lastMessageBefore']), defaultSerializer); - lastMessageBefore.value = json['lastMessageBefore'] == null ? null : Timestamp.fromJson(json['lastMessageBefore']); - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterConversationsVariables otherTyped = other as FilterConversationsVariables; - return status == otherTyped.status && - conversationType == otherTyped.conversationType && - isGroup == otherTyped.isGroup && - lastMessageAfter == otherTyped.lastMessageAfter && - lastMessageBefore == otherTyped.lastMessageBefore && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([status.hashCode, conversationType.hashCode, isGroup.hashCode, lastMessageAfter.hashCode, lastMessageBefore.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(conversationType.state == OptionalState.set) { - json['conversationType'] = conversationType.toJson(); - } - if(isGroup.state == OptionalState.set) { - json['isGroup'] = isGroup.toJson(); - } - if(lastMessageAfter.state == OptionalState.set) { - json['lastMessageAfter'] = lastMessageAfter.toJson(); - } - if(lastMessageBefore.state == OptionalState.set) { - json['lastMessageBefore'] = lastMessageBefore.toJson(); - } - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - FilterConversationsVariables({ - required this.status, - required this.conversationType, - required this.isGroup, - required this.lastMessageAfter, - required this.lastMessageBefore, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_courses.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_courses.dart deleted file mode 100644 index 0e0b44a3..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_courses.dart +++ /dev/null @@ -1,250 +0,0 @@ -part of 'generated.dart'; - -class FilterCoursesVariablesBuilder { - Optional _categoryId = Optional.optional(nativeFromJson, nativeToJson); - Optional _isCertification = Optional.optional(nativeFromJson, nativeToJson); - Optional _levelRequired = Optional.optional(nativeFromJson, nativeToJson); - Optional _completed = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterCoursesVariablesBuilder categoryId(String? t) { - _categoryId.value = t; - return this; - } - FilterCoursesVariablesBuilder isCertification(bool? t) { - _isCertification.value = t; - return this; - } - FilterCoursesVariablesBuilder levelRequired(String? t) { - _levelRequired.value = t; - return this; - } - FilterCoursesVariablesBuilder completed(bool? t) { - _completed.value = t; - return this; - } - - FilterCoursesVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterCoursesData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterCoursesVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterCoursesVariables vars= FilterCoursesVariables(categoryId: _categoryId,isCertification: _isCertification,levelRequired: _levelRequired,completed: _completed,); - return _dataConnect.query("filterCourses", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterCoursesCourses { - final String id; - final String? title; - final String categoryId; - final String? levelRequired; - final bool? isCertification; - final FilterCoursesCoursesCategory category; - FilterCoursesCourses.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = json['title'] == null ? null : nativeFromJson(json['title']), - categoryId = nativeFromJson(json['categoryId']), - levelRequired = json['levelRequired'] == null ? null : nativeFromJson(json['levelRequired']), - isCertification = json['isCertification'] == null ? null : nativeFromJson(json['isCertification']), - category = FilterCoursesCoursesCategory.fromJson(json['category']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterCoursesCourses otherTyped = other as FilterCoursesCourses; - return id == otherTyped.id && - title == otherTyped.title && - categoryId == otherTyped.categoryId && - levelRequired == otherTyped.levelRequired && - isCertification == otherTyped.isCertification && - category == otherTyped.category; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, categoryId.hashCode, levelRequired.hashCode, isCertification.hashCode, category.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (title != null) { - json['title'] = nativeToJson(title); - } - json['categoryId'] = nativeToJson(categoryId); - if (levelRequired != null) { - json['levelRequired'] = nativeToJson(levelRequired); - } - if (isCertification != null) { - json['isCertification'] = nativeToJson(isCertification); - } - json['category'] = category.toJson(); - return json; - } - - FilterCoursesCourses({ - required this.id, - this.title, - required this.categoryId, - this.levelRequired, - this.isCertification, - required this.category, - }); -} - -@immutable -class FilterCoursesCoursesCategory { - final String id; - final String label; - FilterCoursesCoursesCategory.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - label = nativeFromJson(json['label']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterCoursesCoursesCategory otherTyped = other as FilterCoursesCoursesCategory; - return id == otherTyped.id && - label == otherTyped.label; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, label.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['label'] = nativeToJson(label); - return json; - } - - FilterCoursesCoursesCategory({ - required this.id, - required this.label, - }); -} - -@immutable -class FilterCoursesData { - final List courses; - FilterCoursesData.fromJson(dynamic json): - - courses = (json['courses'] as List) - .map((e) => FilterCoursesCourses.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterCoursesData otherTyped = other as FilterCoursesData; - return courses == otherTyped.courses; - - } - @override - int get hashCode => courses.hashCode; - - - Map toJson() { - Map json = {}; - json['courses'] = courses.map((e) => e.toJson()).toList(); - return json; - } - - FilterCoursesData({ - required this.courses, - }); -} - -@immutable -class FilterCoursesVariables { - late final OptionalcategoryId; - late final OptionalisCertification; - late final OptionallevelRequired; - late final Optionalcompleted; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterCoursesVariables.fromJson(Map json) { - - - categoryId = Optional.optional(nativeFromJson, nativeToJson); - categoryId.value = json['categoryId'] == null ? null : nativeFromJson(json['categoryId']); - - - isCertification = Optional.optional(nativeFromJson, nativeToJson); - isCertification.value = json['isCertification'] == null ? null : nativeFromJson(json['isCertification']); - - - levelRequired = Optional.optional(nativeFromJson, nativeToJson); - levelRequired.value = json['levelRequired'] == null ? null : nativeFromJson(json['levelRequired']); - - - completed = Optional.optional(nativeFromJson, nativeToJson); - completed.value = json['completed'] == null ? null : nativeFromJson(json['completed']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterCoursesVariables otherTyped = other as FilterCoursesVariables; - return categoryId == otherTyped.categoryId && - isCertification == otherTyped.isCertification && - levelRequired == otherTyped.levelRequired && - completed == otherTyped.completed; - - } - @override - int get hashCode => Object.hashAll([categoryId.hashCode, isCertification.hashCode, levelRequired.hashCode, completed.hashCode]); - - - Map toJson() { - Map json = {}; - if(categoryId.state == OptionalState.set) { - json['categoryId'] = categoryId.toJson(); - } - if(isCertification.state == OptionalState.set) { - json['isCertification'] = isCertification.toJson(); - } - if(levelRequired.state == OptionalState.set) { - json['levelRequired'] = levelRequired.toJson(); - } - if(completed.state == OptionalState.set) { - json['completed'] = completed.toJson(); - } - return json; - } - - FilterCoursesVariables({ - required this.categoryId, - required this.isCertification, - required this.levelRequired, - required this.completed, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_documents.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_documents.dart deleted file mode 100644 index 37bb2dec..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_documents.dart +++ /dev/null @@ -1,161 +0,0 @@ -part of 'generated.dart'; - -class FilterDocumentsVariablesBuilder { - Optional _documentType = Optional.optional((data) => DocumentType.values.byName(data), enumSerializer); - - final FirebaseDataConnect _dataConnect; - FilterDocumentsVariablesBuilder documentType(DocumentType? t) { - _documentType.value = t; - return this; - } - - FilterDocumentsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterDocumentsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterDocumentsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterDocumentsVariables vars= FilterDocumentsVariables(documentType: _documentType,); - return _dataConnect.query("filterDocuments", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterDocumentsDocuments { - final String id; - final EnumValue documentType; - final String name; - final String? description; - final Timestamp? createdAt; - FilterDocumentsDocuments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - documentType = documentTypeDeserializer(json['documentType']), - name = nativeFromJson(json['name']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterDocumentsDocuments otherTyped = other as FilterDocumentsDocuments; - return id == otherTyped.id && - documentType == otherTyped.documentType && - name == otherTyped.name && - description == otherTyped.description && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, documentType.hashCode, name.hashCode, description.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['documentType'] = - documentTypeSerializer(documentType) - ; - json['name'] = nativeToJson(name); - if (description != null) { - json['description'] = nativeToJson(description); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - FilterDocumentsDocuments({ - required this.id, - required this.documentType, - required this.name, - this.description, - this.createdAt, - }); -} - -@immutable -class FilterDocumentsData { - final List documents; - FilterDocumentsData.fromJson(dynamic json): - - documents = (json['documents'] as List) - .map((e) => FilterDocumentsDocuments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterDocumentsData otherTyped = other as FilterDocumentsData; - return documents == otherTyped.documents; - - } - @override - int get hashCode => documents.hashCode; - - - Map toJson() { - Map json = {}; - json['documents'] = documents.map((e) => e.toJson()).toList(); - return json; - } - - FilterDocumentsData({ - required this.documents, - }); -} - -@immutable -class FilterDocumentsVariables { - late final OptionaldocumentType; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterDocumentsVariables.fromJson(Map json) { - - - documentType = Optional.optional((data) => DocumentType.values.byName(data), enumSerializer); - documentType.value = json['documentType'] == null ? null : DocumentType.values.byName(json['documentType']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterDocumentsVariables otherTyped = other as FilterDocumentsVariables; - return documentType == otherTyped.documentType; - - } - @override - int get hashCode => documentType.hashCode; - - - Map toJson() { - Map json = {}; - if(documentType.state == OptionalState.set) { - json['documentType'] = documentType.toJson(); - } - return json; - } - - FilterDocumentsVariables({ - required this.documentType, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_faq_datas.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_faq_datas.dart deleted file mode 100644 index dc3778b1..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_faq_datas.dart +++ /dev/null @@ -1,149 +0,0 @@ -part of 'generated.dart'; - -class FilterFaqDatasVariablesBuilder { - Optional _category = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterFaqDatasVariablesBuilder category(String? t) { - _category.value = t; - return this; - } - - FilterFaqDatasVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterFaqDatasData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterFaqDatasVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterFaqDatasVariables vars= FilterFaqDatasVariables(category: _category,); - return _dataConnect.query("filterFaqDatas", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterFaqDatasFaqDatas { - final String id; - final String category; - final List? questions; - FilterFaqDatasFaqDatas.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - category = nativeFromJson(json['category']), - questions = json['questions'] == null ? null : (json['questions'] as List) - .map((e) => AnyValue.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterFaqDatasFaqDatas otherTyped = other as FilterFaqDatasFaqDatas; - return id == otherTyped.id && - category == otherTyped.category && - questions == otherTyped.questions; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, category.hashCode, questions.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['category'] = nativeToJson(category); - if (questions != null) { - json['questions'] = questions?.map((e) => e!.toJson()).toList(); - } - return json; - } - - FilterFaqDatasFaqDatas({ - required this.id, - required this.category, - this.questions, - }); -} - -@immutable -class FilterFaqDatasData { - final List faqDatas; - FilterFaqDatasData.fromJson(dynamic json): - - faqDatas = (json['faqDatas'] as List) - .map((e) => FilterFaqDatasFaqDatas.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterFaqDatasData otherTyped = other as FilterFaqDatasData; - return faqDatas == otherTyped.faqDatas; - - } - @override - int get hashCode => faqDatas.hashCode; - - - Map toJson() { - Map json = {}; - json['faqDatas'] = faqDatas.map((e) => e.toJson()).toList(); - return json; - } - - FilterFaqDatasData({ - required this.faqDatas, - }); -} - -@immutable -class FilterFaqDatasVariables { - late final Optionalcategory; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterFaqDatasVariables.fromJson(Map json) { - - - category = Optional.optional(nativeFromJson, nativeToJson); - category.value = json['category'] == null ? null : nativeFromJson(json['category']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterFaqDatasVariables otherTyped = other as FilterFaqDatasVariables; - return category == otherTyped.category; - - } - @override - int get hashCode => category.hashCode; - - - Map toJson() { - Map json = {}; - if(category.state == OptionalState.set) { - json['category'] = category.toJson(); - } - return json; - } - - FilterFaqDatasVariables({ - required this.category, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_hubs.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_hubs.dart deleted file mode 100644 index cc3484c8..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_hubs.dart +++ /dev/null @@ -1,196 +0,0 @@ -part of 'generated.dart'; - -class FilterHubsVariablesBuilder { - Optional _ownerId = Optional.optional(nativeFromJson, nativeToJson); - Optional _name = Optional.optional(nativeFromJson, nativeToJson); - Optional _nfcTagId = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterHubsVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - FilterHubsVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - FilterHubsVariablesBuilder nfcTagId(String? t) { - _nfcTagId.value = t; - return this; - } - - FilterHubsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterHubsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterHubsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterHubsVariables vars= FilterHubsVariables(ownerId: _ownerId,name: _name,nfcTagId: _nfcTagId,); - return _dataConnect.query("filterHubs", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterHubsHubs { - final String id; - final String name; - final String? locationName; - final String? address; - final String? nfcTagId; - final String ownerId; - FilterHubsHubs.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - locationName = json['locationName'] == null ? null : nativeFromJson(json['locationName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - nfcTagId = json['nfcTagId'] == null ? null : nativeFromJson(json['nfcTagId']), - ownerId = nativeFromJson(json['ownerId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterHubsHubs otherTyped = other as FilterHubsHubs; - return id == otherTyped.id && - name == otherTyped.name && - locationName == otherTyped.locationName && - address == otherTyped.address && - nfcTagId == otherTyped.nfcTagId && - ownerId == otherTyped.ownerId; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, locationName.hashCode, address.hashCode, nfcTagId.hashCode, ownerId.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - if (locationName != null) { - json['locationName'] = nativeToJson(locationName); - } - if (address != null) { - json['address'] = nativeToJson(address); - } - if (nfcTagId != null) { - json['nfcTagId'] = nativeToJson(nfcTagId); - } - json['ownerId'] = nativeToJson(ownerId); - return json; - } - - FilterHubsHubs({ - required this.id, - required this.name, - this.locationName, - this.address, - this.nfcTagId, - required this.ownerId, - }); -} - -@immutable -class FilterHubsData { - final List hubs; - FilterHubsData.fromJson(dynamic json): - - hubs = (json['hubs'] as List) - .map((e) => FilterHubsHubs.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterHubsData otherTyped = other as FilterHubsData; - return hubs == otherTyped.hubs; - - } - @override - int get hashCode => hubs.hashCode; - - - Map toJson() { - Map json = {}; - json['hubs'] = hubs.map((e) => e.toJson()).toList(); - return json; - } - - FilterHubsData({ - required this.hubs, - }); -} - -@immutable -class FilterHubsVariables { - late final OptionalownerId; - late final Optionalname; - late final OptionalnfcTagId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterHubsVariables.fromJson(Map json) { - - - ownerId = Optional.optional(nativeFromJson, nativeToJson); - ownerId.value = json['ownerId'] == null ? null : nativeFromJson(json['ownerId']); - - - name = Optional.optional(nativeFromJson, nativeToJson); - name.value = json['name'] == null ? null : nativeFromJson(json['name']); - - - nfcTagId = Optional.optional(nativeFromJson, nativeToJson); - nfcTagId.value = json['nfcTagId'] == null ? null : nativeFromJson(json['nfcTagId']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterHubsVariables otherTyped = other as FilterHubsVariables; - return ownerId == otherTyped.ownerId && - name == otherTyped.name && - nfcTagId == otherTyped.nfcTagId; - - } - @override - int get hashCode => Object.hashAll([ownerId.hashCode, name.hashCode, nfcTagId.hashCode]); - - - Map toJson() { - Map json = {}; - if(ownerId.state == OptionalState.set) { - json['ownerId'] = ownerId.toJson(); - } - if(name.state == OptionalState.set) { - json['name'] = name.toJson(); - } - if(nfcTagId.state == OptionalState.set) { - json['nfcTagId'] = nfcTagId.toJson(); - } - return json; - } - - FilterHubsVariables({ - required this.ownerId, - required this.name, - required this.nfcTagId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_invoices.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_invoices.dart deleted file mode 100644 index 6a4dd128..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_invoices.dart +++ /dev/null @@ -1,594 +0,0 @@ -part of 'generated.dart'; - -class FilterInvoicesVariablesBuilder { - Optional _vendorId = Optional.optional(nativeFromJson, nativeToJson); - Optional _businessId = Optional.optional(nativeFromJson, nativeToJson); - Optional _orderId = Optional.optional(nativeFromJson, nativeToJson); - Optional _status = Optional.optional((data) => InvoiceStatus.values.byName(data), enumSerializer); - Optional _issueDateFrom = Optional.optional((json) => json['issueDateFrom'] = Timestamp.fromJson(json['issueDateFrom']), defaultSerializer); - Optional _issueDateTo = Optional.optional((json) => json['issueDateTo'] = Timestamp.fromJson(json['issueDateTo']), defaultSerializer); - Optional _dueDateFrom = Optional.optional((json) => json['dueDateFrom'] = Timestamp.fromJson(json['dueDateFrom']), defaultSerializer); - Optional _dueDateTo = Optional.optional((json) => json['dueDateTo'] = Timestamp.fromJson(json['dueDateTo']), defaultSerializer); - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterInvoicesVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - FilterInvoicesVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - FilterInvoicesVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - FilterInvoicesVariablesBuilder status(InvoiceStatus? t) { - _status.value = t; - return this; - } - FilterInvoicesVariablesBuilder issueDateFrom(Timestamp? t) { - _issueDateFrom.value = t; - return this; - } - FilterInvoicesVariablesBuilder issueDateTo(Timestamp? t) { - _issueDateTo.value = t; - return this; - } - FilterInvoicesVariablesBuilder dueDateFrom(Timestamp? t) { - _dueDateFrom.value = t; - return this; - } - FilterInvoicesVariablesBuilder dueDateTo(Timestamp? t) { - _dueDateTo.value = t; - return this; - } - FilterInvoicesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterInvoicesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - FilterInvoicesVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterInvoicesData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterInvoicesVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterInvoicesVariables vars= FilterInvoicesVariables(vendorId: _vendorId,businessId: _businessId,orderId: _orderId,status: _status,issueDateFrom: _issueDateFrom,issueDateTo: _issueDateTo,dueDateFrom: _dueDateFrom,dueDateTo: _dueDateTo,offset: _offset,limit: _limit,); - return _dataConnect.query("filterInvoices", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterInvoicesInvoices { - final String id; - final EnumValue status; - final String vendorId; - final String businessId; - final String orderId; - final EnumValue? paymentTerms; - final String invoiceNumber; - final Timestamp issueDate; - final Timestamp dueDate; - final String? hub; - final String? managerName; - final String? vendorNumber; - final AnyValue? roles; - final AnyValue? charges; - final double? otherCharges; - final double? subtotal; - final double amount; - final String? notes; - final int? staffCount; - final int? chargesCount; - final AnyValue? disputedItems; - final String? disputeReason; - final String? disputeDetails; - final FilterInvoicesInvoicesVendor vendor; - final FilterInvoicesInvoicesBusiness business; - final FilterInvoicesInvoicesOrder order; - FilterInvoicesInvoices.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - status = invoiceStatusDeserializer(json['status']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderId = nativeFromJson(json['orderId']), - paymentTerms = json['paymentTerms'] == null ? null : inovicePaymentTermsDeserializer(json['paymentTerms']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - issueDate = Timestamp.fromJson(json['issueDate']), - dueDate = Timestamp.fromJson(json['dueDate']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), - vendorNumber = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']), - roles = json['roles'] == null ? null : AnyValue.fromJson(json['roles']), - charges = json['charges'] == null ? null : AnyValue.fromJson(json['charges']), - otherCharges = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']), - subtotal = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']), - amount = nativeFromJson(json['amount']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - staffCount = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']), - chargesCount = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']), - disputedItems = json['disputedItems'] == null ? null : AnyValue.fromJson(json['disputedItems']), - disputeReason = json['disputeReason'] == null ? null : nativeFromJson(json['disputeReason']), - disputeDetails = json['disputeDetails'] == null ? null : nativeFromJson(json['disputeDetails']), - vendor = FilterInvoicesInvoicesVendor.fromJson(json['vendor']), - business = FilterInvoicesInvoicesBusiness.fromJson(json['business']), - order = FilterInvoicesInvoicesOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterInvoicesInvoices otherTyped = other as FilterInvoicesInvoices; - return id == otherTyped.id && - status == otherTyped.status && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount && - disputedItems == otherTyped.disputedItems && - disputeReason == otherTyped.disputeReason && - disputeDetails == otherTyped.disputeDetails && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, status.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode, disputedItems.hashCode, disputeReason.hashCode, disputeDetails.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['status'] = - invoiceStatusSerializer(status) - ; - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderId'] = nativeToJson(orderId); - if (paymentTerms != null) { - json['paymentTerms'] = - inovicePaymentTermsSerializer(paymentTerms!) - ; - } - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['issueDate'] = issueDate.toJson(); - json['dueDate'] = dueDate.toJson(); - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (managerName != null) { - json['managerName'] = nativeToJson(managerName); - } - if (vendorNumber != null) { - json['vendorNumber'] = nativeToJson(vendorNumber); - } - if (roles != null) { - json['roles'] = roles!.toJson(); - } - if (charges != null) { - json['charges'] = charges!.toJson(); - } - if (otherCharges != null) { - json['otherCharges'] = nativeToJson(otherCharges); - } - if (subtotal != null) { - json['subtotal'] = nativeToJson(subtotal); - } - json['amount'] = nativeToJson(amount); - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (staffCount != null) { - json['staffCount'] = nativeToJson(staffCount); - } - if (chargesCount != null) { - json['chargesCount'] = nativeToJson(chargesCount); - } - if (disputedItems != null) { - json['disputedItems'] = disputedItems!.toJson(); - } - if (disputeReason != null) { - json['disputeReason'] = nativeToJson(disputeReason); - } - if (disputeDetails != null) { - json['disputeDetails'] = nativeToJson(disputeDetails); - } - json['vendor'] = vendor.toJson(); - json['business'] = business.toJson(); - json['order'] = order.toJson(); - return json; - } - - FilterInvoicesInvoices({ - required this.id, - required this.status, - required this.vendorId, - required this.businessId, - required this.orderId, - this.paymentTerms, - required this.invoiceNumber, - required this.issueDate, - required this.dueDate, - this.hub, - this.managerName, - this.vendorNumber, - this.roles, - this.charges, - this.otherCharges, - this.subtotal, - required this.amount, - this.notes, - this.staffCount, - this.chargesCount, - this.disputedItems, - this.disputeReason, - this.disputeDetails, - required this.vendor, - required this.business, - required this.order, - }); -} - -@immutable -class FilterInvoicesInvoicesVendor { - final String companyName; - final String? address; - final String? email; - final String? phone; - FilterInvoicesInvoicesVendor.fromJson(dynamic json): - - companyName = nativeFromJson(json['companyName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterInvoicesInvoicesVendor otherTyped = other as FilterInvoicesInvoicesVendor; - return companyName == otherTyped.companyName && - address == otherTyped.address && - email == otherTyped.email && - phone == otherTyped.phone; - - } - @override - int get hashCode => Object.hashAll([companyName.hashCode, address.hashCode, email.hashCode, phone.hashCode]); - - - Map toJson() { - Map json = {}; - json['companyName'] = nativeToJson(companyName); - if (address != null) { - json['address'] = nativeToJson(address); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - return json; - } - - FilterInvoicesInvoicesVendor({ - required this.companyName, - this.address, - this.email, - this.phone, - }); -} - -@immutable -class FilterInvoicesInvoicesBusiness { - final String businessName; - final String? address; - final String? phone; - final String? email; - FilterInvoicesInvoicesBusiness.fromJson(dynamic json): - - businessName = nativeFromJson(json['businessName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterInvoicesInvoicesBusiness otherTyped = other as FilterInvoicesInvoicesBusiness; - return businessName == otherTyped.businessName && - address == otherTyped.address && - phone == otherTyped.phone && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([businessName.hashCode, address.hashCode, phone.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessName'] = nativeToJson(businessName); - if (address != null) { - json['address'] = nativeToJson(address); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - FilterInvoicesInvoicesBusiness({ - required this.businessName, - this.address, - this.phone, - this.email, - }); -} - -@immutable -class FilterInvoicesInvoicesOrder { - final String? eventName; - final String? hub; - final String? deparment; - final String? poReference; - FilterInvoicesInvoicesOrder.fromJson(dynamic json): - - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - deparment = json['deparment'] == null ? null : nativeFromJson(json['deparment']), - poReference = json['poReference'] == null ? null : nativeFromJson(json['poReference']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterInvoicesInvoicesOrder otherTyped = other as FilterInvoicesInvoicesOrder; - return eventName == otherTyped.eventName && - hub == otherTyped.hub && - deparment == otherTyped.deparment && - poReference == otherTyped.poReference; - - } - @override - int get hashCode => Object.hashAll([eventName.hashCode, hub.hashCode, deparment.hashCode, poReference.hashCode]); - - - Map toJson() { - Map json = {}; - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (deparment != null) { - json['deparment'] = nativeToJson(deparment); - } - if (poReference != null) { - json['poReference'] = nativeToJson(poReference); - } - return json; - } - - FilterInvoicesInvoicesOrder({ - this.eventName, - this.hub, - this.deparment, - this.poReference, - }); -} - -@immutable -class FilterInvoicesData { - final List invoices; - FilterInvoicesData.fromJson(dynamic json): - - invoices = (json['invoices'] as List) - .map((e) => FilterInvoicesInvoices.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterInvoicesData otherTyped = other as FilterInvoicesData; - return invoices == otherTyped.invoices; - - } - @override - int get hashCode => invoices.hashCode; - - - Map toJson() { - Map json = {}; - json['invoices'] = invoices.map((e) => e.toJson()).toList(); - return json; - } - - FilterInvoicesData({ - required this.invoices, - }); -} - -@immutable -class FilterInvoicesVariables { - late final OptionalvendorId; - late final OptionalbusinessId; - late final OptionalorderId; - late final Optionalstatus; - late final OptionalissueDateFrom; - late final OptionalissueDateTo; - late final OptionaldueDateFrom; - late final OptionaldueDateTo; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterInvoicesVariables.fromJson(Map json) { - - - vendorId = Optional.optional(nativeFromJson, nativeToJson); - vendorId.value = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']); - - - businessId = Optional.optional(nativeFromJson, nativeToJson); - businessId.value = json['businessId'] == null ? null : nativeFromJson(json['businessId']); - - - orderId = Optional.optional(nativeFromJson, nativeToJson); - orderId.value = json['orderId'] == null ? null : nativeFromJson(json['orderId']); - - - status = Optional.optional((data) => InvoiceStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : InvoiceStatus.values.byName(json['status']); - - - issueDateFrom = Optional.optional((json) => json['issueDateFrom'] = Timestamp.fromJson(json['issueDateFrom']), defaultSerializer); - issueDateFrom.value = json['issueDateFrom'] == null ? null : Timestamp.fromJson(json['issueDateFrom']); - - - issueDateTo = Optional.optional((json) => json['issueDateTo'] = Timestamp.fromJson(json['issueDateTo']), defaultSerializer); - issueDateTo.value = json['issueDateTo'] == null ? null : Timestamp.fromJson(json['issueDateTo']); - - - dueDateFrom = Optional.optional((json) => json['dueDateFrom'] = Timestamp.fromJson(json['dueDateFrom']), defaultSerializer); - dueDateFrom.value = json['dueDateFrom'] == null ? null : Timestamp.fromJson(json['dueDateFrom']); - - - dueDateTo = Optional.optional((json) => json['dueDateTo'] = Timestamp.fromJson(json['dueDateTo']), defaultSerializer); - dueDateTo.value = json['dueDateTo'] == null ? null : Timestamp.fromJson(json['dueDateTo']); - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterInvoicesVariables otherTyped = other as FilterInvoicesVariables; - return vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - status == otherTyped.status && - issueDateFrom == otherTyped.issueDateFrom && - issueDateTo == otherTyped.issueDateTo && - dueDateFrom == otherTyped.dueDateFrom && - dueDateTo == otherTyped.dueDateTo && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, businessId.hashCode, orderId.hashCode, status.hashCode, issueDateFrom.hashCode, issueDateTo.hashCode, dueDateFrom.hashCode, dueDateTo.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(vendorId.state == OptionalState.set) { - json['vendorId'] = vendorId.toJson(); - } - if(businessId.state == OptionalState.set) { - json['businessId'] = businessId.toJson(); - } - if(orderId.state == OptionalState.set) { - json['orderId'] = orderId.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(issueDateFrom.state == OptionalState.set) { - json['issueDateFrom'] = issueDateFrom.toJson(); - } - if(issueDateTo.state == OptionalState.set) { - json['issueDateTo'] = issueDateTo.toJson(); - } - if(dueDateFrom.state == OptionalState.set) { - json['dueDateFrom'] = dueDateFrom.toJson(); - } - if(dueDateTo.state == OptionalState.set) { - json['dueDateTo'] = dueDateTo.toJson(); - } - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - FilterInvoicesVariables({ - required this.vendorId, - required this.businessId, - required this.orderId, - required this.status, - required this.issueDateFrom, - required this.issueDateTo, - required this.dueDateFrom, - required this.dueDateTo, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_levels.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_levels.dart deleted file mode 100644 index 230ed4e5..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_levels.dart +++ /dev/null @@ -1,174 +0,0 @@ -part of 'generated.dart'; - -class FilterLevelsVariablesBuilder { - Optional _name = Optional.optional(nativeFromJson, nativeToJson); - Optional _xpRequired = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterLevelsVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - FilterLevelsVariablesBuilder xpRequired(int? t) { - _xpRequired.value = t; - return this; - } - - FilterLevelsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterLevelsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterLevelsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterLevelsVariables vars= FilterLevelsVariables(name: _name,xpRequired: _xpRequired,); - return _dataConnect.query("filterLevels", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterLevelsLevels { - final String id; - final String name; - final int xpRequired; - final String? icon; - final AnyValue? colors; - FilterLevelsLevels.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - xpRequired = nativeFromJson(json['xpRequired']), - icon = json['icon'] == null ? null : nativeFromJson(json['icon']), - colors = json['colors'] == null ? null : AnyValue.fromJson(json['colors']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterLevelsLevels otherTyped = other as FilterLevelsLevels; - return id == otherTyped.id && - name == otherTyped.name && - xpRequired == otherTyped.xpRequired && - icon == otherTyped.icon && - colors == otherTyped.colors; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, xpRequired.hashCode, icon.hashCode, colors.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['xpRequired'] = nativeToJson(xpRequired); - if (icon != null) { - json['icon'] = nativeToJson(icon); - } - if (colors != null) { - json['colors'] = colors!.toJson(); - } - return json; - } - - FilterLevelsLevels({ - required this.id, - required this.name, - required this.xpRequired, - this.icon, - this.colors, - }); -} - -@immutable -class FilterLevelsData { - final List levels; - FilterLevelsData.fromJson(dynamic json): - - levels = (json['levels'] as List) - .map((e) => FilterLevelsLevels.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterLevelsData otherTyped = other as FilterLevelsData; - return levels == otherTyped.levels; - - } - @override - int get hashCode => levels.hashCode; - - - Map toJson() { - Map json = {}; - json['levels'] = levels.map((e) => e.toJson()).toList(); - return json; - } - - FilterLevelsData({ - required this.levels, - }); -} - -@immutable -class FilterLevelsVariables { - late final Optionalname; - late final OptionalxpRequired; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterLevelsVariables.fromJson(Map json) { - - - name = Optional.optional(nativeFromJson, nativeToJson); - name.value = json['name'] == null ? null : nativeFromJson(json['name']); - - - xpRequired = Optional.optional(nativeFromJson, nativeToJson); - xpRequired.value = json['xpRequired'] == null ? null : nativeFromJson(json['xpRequired']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterLevelsVariables otherTyped = other as FilterLevelsVariables; - return name == otherTyped.name && - xpRequired == otherTyped.xpRequired; - - } - @override - int get hashCode => Object.hashAll([name.hashCode, xpRequired.hashCode]); - - - Map toJson() { - Map json = {}; - if(name.state == OptionalState.set) { - json['name'] = name.toJson(); - } - if(xpRequired.state == OptionalState.set) { - json['xpRequired'] = xpRequired.toJson(); - } - return json; - } - - FilterLevelsVariables({ - required this.name, - required this.xpRequired, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_shifts.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_shifts.dart deleted file mode 100644 index b0c9a362..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_shifts.dart +++ /dev/null @@ -1,529 +0,0 @@ -part of 'generated.dart'; - -class FilterShiftsVariablesBuilder { - Optional _status = Optional.optional((data) => ShiftStatus.values.byName(data), enumSerializer); - Optional _orderId = Optional.optional(nativeFromJson, nativeToJson); - Optional _dateFrom = Optional.optional((json) => json['dateFrom'] = Timestamp.fromJson(json['dateFrom']), defaultSerializer); - Optional _dateTo = Optional.optional((json) => json['dateTo'] = Timestamp.fromJson(json['dateTo']), defaultSerializer); - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterShiftsVariablesBuilder status(ShiftStatus? t) { - _status.value = t; - return this; - } - FilterShiftsVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - FilterShiftsVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - FilterShiftsVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - FilterShiftsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterShiftsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - FilterShiftsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterShiftsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterShiftsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterShiftsVariables vars= FilterShiftsVariables(status: _status,orderId: _orderId,dateFrom: _dateFrom,dateTo: _dateTo,offset: _offset,limit: _limit,); - return _dataConnect.query("filterShifts", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterShiftsShifts { - final String id; - final String title; - final String orderId; - final Timestamp? date; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final double? cost; - final String? location; - final String? locationAddress; - final double? latitude; - final double? longitude; - final String? description; - final EnumValue? status; - final int? workersNeeded; - final int? filled; - final Timestamp? filledAt; - final List? managers; - final int? durationDays; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final FilterShiftsShiftsOrder order; - FilterShiftsShifts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - orderId = nativeFromJson(json['orderId']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - cost = json['cost'] == null ? null : nativeFromJson(json['cost']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']), - latitude = json['latitude'] == null ? null : nativeFromJson(json['latitude']), - longitude = json['longitude'] == null ? null : nativeFromJson(json['longitude']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']), - workersNeeded = json['workersNeeded'] == null ? null : nativeFromJson(json['workersNeeded']), - filled = json['filled'] == null ? null : nativeFromJson(json['filled']), - filledAt = json['filledAt'] == null ? null : Timestamp.fromJson(json['filledAt']), - managers = json['managers'] == null ? null : (json['managers'] as List) - .map((e) => AnyValue.fromJson(e)) - .toList(), - durationDays = json['durationDays'] == null ? null : nativeFromJson(json['durationDays']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - order = FilterShiftsShiftsOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterShiftsShifts otherTyped = other as FilterShiftsShifts; - return id == otherTyped.id && - title == otherTyped.title && - orderId == otherTyped.orderId && - date == otherTyped.date && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - cost == otherTyped.cost && - location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - latitude == otherTyped.latitude && - longitude == otherTyped.longitude && - description == otherTyped.description && - status == otherTyped.status && - workersNeeded == otherTyped.workersNeeded && - filled == otherTyped.filled && - filledAt == otherTyped.filledAt && - managers == otherTyped.managers && - durationDays == otherTyped.durationDays && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, orderId.hashCode, date.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, cost.hashCode, location.hashCode, locationAddress.hashCode, latitude.hashCode, longitude.hashCode, description.hashCode, status.hashCode, workersNeeded.hashCode, filled.hashCode, filledAt.hashCode, managers.hashCode, durationDays.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - json['orderId'] = nativeToJson(orderId); - if (date != null) { - json['date'] = date!.toJson(); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (cost != null) { - json['cost'] = nativeToJson(cost); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - if (latitude != null) { - json['latitude'] = nativeToJson(latitude); - } - if (longitude != null) { - json['longitude'] = nativeToJson(longitude); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - if (workersNeeded != null) { - json['workersNeeded'] = nativeToJson(workersNeeded); - } - if (filled != null) { - json['filled'] = nativeToJson(filled); - } - if (filledAt != null) { - json['filledAt'] = filledAt!.toJson(); - } - if (managers != null) { - json['managers'] = managers?.map((e) => e!.toJson()).toList(); - } - if (durationDays != null) { - json['durationDays'] = nativeToJson(durationDays); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['order'] = order.toJson(); - return json; - } - - FilterShiftsShifts({ - required this.id, - required this.title, - required this.orderId, - this.date, - this.startTime, - this.endTime, - this.hours, - this.cost, - this.location, - this.locationAddress, - this.latitude, - this.longitude, - this.description, - this.status, - this.workersNeeded, - this.filled, - this.filledAt, - this.managers, - this.durationDays, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.order, - }); -} - -@immutable -class FilterShiftsShiftsOrder { - final String id; - final String? eventName; - final EnumValue status; - final EnumValue orderType; - final String businessId; - final String vendorId; - final FilterShiftsShiftsOrderBusiness business; - final FilterShiftsShiftsOrderVendor vendor; - FilterShiftsShiftsOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - status = orderStatusDeserializer(json['status']), - orderType = orderTypeDeserializer(json['orderType']), - businessId = nativeFromJson(json['businessId']), - vendorId = nativeFromJson(json['vendorId']), - business = FilterShiftsShiftsOrderBusiness.fromJson(json['business']), - vendor = FilterShiftsShiftsOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterShiftsShiftsOrder otherTyped = other as FilterShiftsShiftsOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - status == otherTyped.status && - orderType == otherTyped.orderType && - businessId == otherTyped.businessId && - vendorId == otherTyped.vendorId && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, status.hashCode, orderType.hashCode, businessId.hashCode, vendorId.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['status'] = - orderStatusSerializer(status) - ; - json['orderType'] = - orderTypeSerializer(orderType) - ; - json['businessId'] = nativeToJson(businessId); - json['vendorId'] = nativeToJson(vendorId); - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - FilterShiftsShiftsOrder({ - required this.id, - this.eventName, - required this.status, - required this.orderType, - required this.businessId, - required this.vendorId, - required this.business, - required this.vendor, - }); -} - -@immutable -class FilterShiftsShiftsOrderBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - FilterShiftsShiftsOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterShiftsShiftsOrderBusiness otherTyped = other as FilterShiftsShiftsOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - FilterShiftsShiftsOrderBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class FilterShiftsShiftsOrderVendor { - final String id; - final String companyName; - FilterShiftsShiftsOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterShiftsShiftsOrderVendor otherTyped = other as FilterShiftsShiftsOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - FilterShiftsShiftsOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class FilterShiftsData { - final List shifts; - FilterShiftsData.fromJson(dynamic json): - - shifts = (json['shifts'] as List) - .map((e) => FilterShiftsShifts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterShiftsData otherTyped = other as FilterShiftsData; - return shifts == otherTyped.shifts; - - } - @override - int get hashCode => shifts.hashCode; - - - Map toJson() { - Map json = {}; - json['shifts'] = shifts.map((e) => e.toJson()).toList(); - return json; - } - - FilterShiftsData({ - required this.shifts, - }); -} - -@immutable -class FilterShiftsVariables { - late final Optionalstatus; - late final OptionalorderId; - late final OptionaldateFrom; - late final OptionaldateTo; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterShiftsVariables.fromJson(Map json) { - - - status = Optional.optional((data) => ShiftStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : ShiftStatus.values.byName(json['status']); - - - orderId = Optional.optional(nativeFromJson, nativeToJson); - orderId.value = json['orderId'] == null ? null : nativeFromJson(json['orderId']); - - - dateFrom = Optional.optional((json) => json['dateFrom'] = Timestamp.fromJson(json['dateFrom']), defaultSerializer); - dateFrom.value = json['dateFrom'] == null ? null : Timestamp.fromJson(json['dateFrom']); - - - dateTo = Optional.optional((json) => json['dateTo'] = Timestamp.fromJson(json['dateTo']), defaultSerializer); - dateTo.value = json['dateTo'] == null ? null : Timestamp.fromJson(json['dateTo']); - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterShiftsVariables otherTyped = other as FilterShiftsVariables; - return status == otherTyped.status && - orderId == otherTyped.orderId && - dateFrom == otherTyped.dateFrom && - dateTo == otherTyped.dateTo && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([status.hashCode, orderId.hashCode, dateFrom.hashCode, dateTo.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(orderId.state == OptionalState.set) { - json['orderId'] = orderId.toJson(); - } - if(dateFrom.state == OptionalState.set) { - json['dateFrom'] = dateFrom.toJson(); - } - if(dateTo.state == OptionalState.set) { - json['dateTo'] = dateTo.toJson(); - } - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - FilterShiftsVariables({ - required this.status, - required this.orderId, - required this.dateFrom, - required this.dateTo, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_staff.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_staff.dart deleted file mode 100644 index a3df674f..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_staff.dart +++ /dev/null @@ -1,299 +0,0 @@ -part of 'generated.dart'; - -class FilterStaffVariablesBuilder { - Optional _ownerId = Optional.optional(nativeFromJson, nativeToJson); - Optional _fullName = Optional.optional(nativeFromJson, nativeToJson); - Optional _level = Optional.optional(nativeFromJson, nativeToJson); - Optional _email = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterStaffVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - FilterStaffVariablesBuilder fullName(String? t) { - _fullName.value = t; - return this; - } - FilterStaffVariablesBuilder level(String? t) { - _level.value = t; - return this; - } - FilterStaffVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - - FilterStaffVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterStaffData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterStaffVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterStaffVariables vars= FilterStaffVariables(ownerId: _ownerId,fullName: _fullName,level: _level,email: _email,); - return _dataConnect.query("filterStaff", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterStaffStaffs { - final String id; - final String userId; - final String fullName; - final String? level; - final String? phone; - final String? email; - final String? photoUrl; - final double? averageRating; - final int? reliabilityScore; - final int? totalShifts; - final String? ownerId; - final bool? isRecommended; - final EnumValue? backgroundCheckStatus; - final EnumValue? employmentType; - final String? initial; - final bool? englishRequired; - final String? city; - final String? addres; - FilterStaffStaffs.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - userId = nativeFromJson(json['userId']), - fullName = nativeFromJson(json['fullName']), - level = json['level'] == null ? null : nativeFromJson(json['level']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - photoUrl = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']), - averageRating = json['averageRating'] == null ? null : nativeFromJson(json['averageRating']), - reliabilityScore = json['reliabilityScore'] == null ? null : nativeFromJson(json['reliabilityScore']), - totalShifts = json['totalShifts'] == null ? null : nativeFromJson(json['totalShifts']), - ownerId = json['ownerId'] == null ? null : nativeFromJson(json['ownerId']), - isRecommended = json['isRecommended'] == null ? null : nativeFromJson(json['isRecommended']), - backgroundCheckStatus = json['backgroundCheckStatus'] == null ? null : backgroundCheckStatusDeserializer(json['backgroundCheckStatus']), - employmentType = json['employmentType'] == null ? null : employmentTypeDeserializer(json['employmentType']), - initial = json['initial'] == null ? null : nativeFromJson(json['initial']), - englishRequired = json['englishRequired'] == null ? null : nativeFromJson(json['englishRequired']), - city = json['city'] == null ? null : nativeFromJson(json['city']), - addres = json['addres'] == null ? null : nativeFromJson(json['addres']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterStaffStaffs otherTyped = other as FilterStaffStaffs; - return id == otherTyped.id && - userId == otherTyped.userId && - fullName == otherTyped.fullName && - level == otherTyped.level && - phone == otherTyped.phone && - email == otherTyped.email && - photoUrl == otherTyped.photoUrl && - averageRating == otherTyped.averageRating && - reliabilityScore == otherTyped.reliabilityScore && - totalShifts == otherTyped.totalShifts && - ownerId == otherTyped.ownerId && - isRecommended == otherTyped.isRecommended && - backgroundCheckStatus == otherTyped.backgroundCheckStatus && - employmentType == otherTyped.employmentType && - initial == otherTyped.initial && - englishRequired == otherTyped.englishRequired && - city == otherTyped.city && - addres == otherTyped.addres; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, userId.hashCode, fullName.hashCode, level.hashCode, phone.hashCode, email.hashCode, photoUrl.hashCode, averageRating.hashCode, reliabilityScore.hashCode, totalShifts.hashCode, ownerId.hashCode, isRecommended.hashCode, backgroundCheckStatus.hashCode, employmentType.hashCode, initial.hashCode, englishRequired.hashCode, city.hashCode, addres.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['userId'] = nativeToJson(userId); - json['fullName'] = nativeToJson(fullName); - if (level != null) { - json['level'] = nativeToJson(level); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - if (photoUrl != null) { - json['photoUrl'] = nativeToJson(photoUrl); - } - if (averageRating != null) { - json['averageRating'] = nativeToJson(averageRating); - } - if (reliabilityScore != null) { - json['reliabilityScore'] = nativeToJson(reliabilityScore); - } - if (totalShifts != null) { - json['totalShifts'] = nativeToJson(totalShifts); - } - if (ownerId != null) { - json['ownerId'] = nativeToJson(ownerId); - } - if (isRecommended != null) { - json['isRecommended'] = nativeToJson(isRecommended); - } - if (backgroundCheckStatus != null) { - json['backgroundCheckStatus'] = - backgroundCheckStatusSerializer(backgroundCheckStatus!) - ; - } - if (employmentType != null) { - json['employmentType'] = - employmentTypeSerializer(employmentType!) - ; - } - if (initial != null) { - json['initial'] = nativeToJson(initial); - } - if (englishRequired != null) { - json['englishRequired'] = nativeToJson(englishRequired); - } - if (city != null) { - json['city'] = nativeToJson(city); - } - if (addres != null) { - json['addres'] = nativeToJson(addres); - } - return json; - } - - FilterStaffStaffs({ - required this.id, - required this.userId, - required this.fullName, - this.level, - this.phone, - this.email, - this.photoUrl, - this.averageRating, - this.reliabilityScore, - this.totalShifts, - this.ownerId, - this.isRecommended, - this.backgroundCheckStatus, - this.employmentType, - this.initial, - this.englishRequired, - this.city, - this.addres, - }); -} - -@immutable -class FilterStaffData { - final List staffs; - FilterStaffData.fromJson(dynamic json): - - staffs = (json['staffs'] as List) - .map((e) => FilterStaffStaffs.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterStaffData otherTyped = other as FilterStaffData; - return staffs == otherTyped.staffs; - - } - @override - int get hashCode => staffs.hashCode; - - - Map toJson() { - Map json = {}; - json['staffs'] = staffs.map((e) => e.toJson()).toList(); - return json; - } - - FilterStaffData({ - required this.staffs, - }); -} - -@immutable -class FilterStaffVariables { - late final OptionalownerId; - late final OptionalfullName; - late final Optionallevel; - late final Optionalemail; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterStaffVariables.fromJson(Map json) { - - - ownerId = Optional.optional(nativeFromJson, nativeToJson); - ownerId.value = json['ownerId'] == null ? null : nativeFromJson(json['ownerId']); - - - fullName = Optional.optional(nativeFromJson, nativeToJson); - fullName.value = json['fullName'] == null ? null : nativeFromJson(json['fullName']); - - - level = Optional.optional(nativeFromJson, nativeToJson); - level.value = json['level'] == null ? null : nativeFromJson(json['level']); - - - email = Optional.optional(nativeFromJson, nativeToJson); - email.value = json['email'] == null ? null : nativeFromJson(json['email']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterStaffVariables otherTyped = other as FilterStaffVariables; - return ownerId == otherTyped.ownerId && - fullName == otherTyped.fullName && - level == otherTyped.level && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([ownerId.hashCode, fullName.hashCode, level.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - if(ownerId.state == OptionalState.set) { - json['ownerId'] = ownerId.toJson(); - } - if(fullName.state == OptionalState.set) { - json['fullName'] = fullName.toJson(); - } - if(level.state == OptionalState.set) { - json['level'] = level.toJson(); - } - if(email.state == OptionalState.set) { - json['email'] = email.toJson(); - } - return json; - } - - FilterStaffVariables({ - required this.ownerId, - required this.fullName, - required this.level, - required this.email, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_staff_availability_stats.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_staff_availability_stats.dart deleted file mode 100644 index 56c8cd85..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_staff_availability_stats.dart +++ /dev/null @@ -1,389 +0,0 @@ -part of 'generated.dart'; - -class FilterStaffAvailabilityStatsVariablesBuilder { - Optional _needWorkIndexMin = Optional.optional(nativeFromJson, nativeToJson); - Optional _needWorkIndexMax = Optional.optional(nativeFromJson, nativeToJson); - Optional _utilizationMin = Optional.optional(nativeFromJson, nativeToJson); - Optional _utilizationMax = Optional.optional(nativeFromJson, nativeToJson); - Optional _acceptanceRateMin = Optional.optional(nativeFromJson, nativeToJson); - Optional _acceptanceRateMax = Optional.optional(nativeFromJson, nativeToJson); - Optional _lastShiftAfter = Optional.optional((json) => json['lastShiftAfter'] = Timestamp.fromJson(json['lastShiftAfter']), defaultSerializer); - Optional _lastShiftBefore = Optional.optional((json) => json['lastShiftBefore'] = Timestamp.fromJson(json['lastShiftBefore']), defaultSerializer); - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterStaffAvailabilityStatsVariablesBuilder needWorkIndexMin(int? t) { - _needWorkIndexMin.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder needWorkIndexMax(int? t) { - _needWorkIndexMax.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder utilizationMin(int? t) { - _utilizationMin.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder utilizationMax(int? t) { - _utilizationMax.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder acceptanceRateMin(int? t) { - _acceptanceRateMin.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder acceptanceRateMax(int? t) { - _acceptanceRateMax.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder lastShiftAfter(Timestamp? t) { - _lastShiftAfter.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder lastShiftBefore(Timestamp? t) { - _lastShiftBefore.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - FilterStaffAvailabilityStatsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterStaffAvailabilityStatsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterStaffAvailabilityStatsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterStaffAvailabilityStatsVariables vars= FilterStaffAvailabilityStatsVariables(needWorkIndexMin: _needWorkIndexMin,needWorkIndexMax: _needWorkIndexMax,utilizationMin: _utilizationMin,utilizationMax: _utilizationMax,acceptanceRateMin: _acceptanceRateMin,acceptanceRateMax: _acceptanceRateMax,lastShiftAfter: _lastShiftAfter,lastShiftBefore: _lastShiftBefore,offset: _offset,limit: _limit,); - return _dataConnect.query("filterStaffAvailabilityStats", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterStaffAvailabilityStatsStaffAvailabilityStatss { - final String id; - final String staffId; - final int? needWorkIndex; - final int? utilizationPercentage; - final int? predictedAvailabilityScore; - final int? scheduledHoursThisPeriod; - final int? desiredHoursThisPeriod; - final Timestamp? lastShiftDate; - final int? acceptanceRate; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final FilterStaffAvailabilityStatsStaffAvailabilityStatssStaff staff; - FilterStaffAvailabilityStatsStaffAvailabilityStatss.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - needWorkIndex = json['needWorkIndex'] == null ? null : nativeFromJson(json['needWorkIndex']), - utilizationPercentage = json['utilizationPercentage'] == null ? null : nativeFromJson(json['utilizationPercentage']), - predictedAvailabilityScore = json['predictedAvailabilityScore'] == null ? null : nativeFromJson(json['predictedAvailabilityScore']), - scheduledHoursThisPeriod = json['scheduledHoursThisPeriod'] == null ? null : nativeFromJson(json['scheduledHoursThisPeriod']), - desiredHoursThisPeriod = json['desiredHoursThisPeriod'] == null ? null : nativeFromJson(json['desiredHoursThisPeriod']), - lastShiftDate = json['lastShiftDate'] == null ? null : Timestamp.fromJson(json['lastShiftDate']), - acceptanceRate = json['acceptanceRate'] == null ? null : nativeFromJson(json['acceptanceRate']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - staff = FilterStaffAvailabilityStatsStaffAvailabilityStatssStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterStaffAvailabilityStatsStaffAvailabilityStatss otherTyped = other as FilterStaffAvailabilityStatsStaffAvailabilityStatss; - return id == otherTyped.id && - staffId == otherTyped.staffId && - needWorkIndex == otherTyped.needWorkIndex && - utilizationPercentage == otherTyped.utilizationPercentage && - predictedAvailabilityScore == otherTyped.predictedAvailabilityScore && - scheduledHoursThisPeriod == otherTyped.scheduledHoursThisPeriod && - desiredHoursThisPeriod == otherTyped.desiredHoursThisPeriod && - lastShiftDate == otherTyped.lastShiftDate && - acceptanceRate == otherTyped.acceptanceRate && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, needWorkIndex.hashCode, utilizationPercentage.hashCode, predictedAvailabilityScore.hashCode, scheduledHoursThisPeriod.hashCode, desiredHoursThisPeriod.hashCode, lastShiftDate.hashCode, acceptanceRate.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - if (needWorkIndex != null) { - json['needWorkIndex'] = nativeToJson(needWorkIndex); - } - if (utilizationPercentage != null) { - json['utilizationPercentage'] = nativeToJson(utilizationPercentage); - } - if (predictedAvailabilityScore != null) { - json['predictedAvailabilityScore'] = nativeToJson(predictedAvailabilityScore); - } - if (scheduledHoursThisPeriod != null) { - json['scheduledHoursThisPeriod'] = nativeToJson(scheduledHoursThisPeriod); - } - if (desiredHoursThisPeriod != null) { - json['desiredHoursThisPeriod'] = nativeToJson(desiredHoursThisPeriod); - } - if (lastShiftDate != null) { - json['lastShiftDate'] = lastShiftDate!.toJson(); - } - if (acceptanceRate != null) { - json['acceptanceRate'] = nativeToJson(acceptanceRate); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['staff'] = staff.toJson(); - return json; - } - - FilterStaffAvailabilityStatsStaffAvailabilityStatss({ - required this.id, - required this.staffId, - this.needWorkIndex, - this.utilizationPercentage, - this.predictedAvailabilityScore, - this.scheduledHoursThisPeriod, - this.desiredHoursThisPeriod, - this.lastShiftDate, - this.acceptanceRate, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.staff, - }); -} - -@immutable -class FilterStaffAvailabilityStatsStaffAvailabilityStatssStaff { - final String id; - final String fullName; - FilterStaffAvailabilityStatsStaffAvailabilityStatssStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterStaffAvailabilityStatsStaffAvailabilityStatssStaff otherTyped = other as FilterStaffAvailabilityStatsStaffAvailabilityStatssStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - FilterStaffAvailabilityStatsStaffAvailabilityStatssStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class FilterStaffAvailabilityStatsData { - final List staffAvailabilityStatss; - FilterStaffAvailabilityStatsData.fromJson(dynamic json): - - staffAvailabilityStatss = (json['staffAvailabilityStatss'] as List) - .map((e) => FilterStaffAvailabilityStatsStaffAvailabilityStatss.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterStaffAvailabilityStatsData otherTyped = other as FilterStaffAvailabilityStatsData; - return staffAvailabilityStatss == otherTyped.staffAvailabilityStatss; - - } - @override - int get hashCode => staffAvailabilityStatss.hashCode; - - - Map toJson() { - Map json = {}; - json['staffAvailabilityStatss'] = staffAvailabilityStatss.map((e) => e.toJson()).toList(); - return json; - } - - FilterStaffAvailabilityStatsData({ - required this.staffAvailabilityStatss, - }); -} - -@immutable -class FilterStaffAvailabilityStatsVariables { - late final OptionalneedWorkIndexMin; - late final OptionalneedWorkIndexMax; - late final OptionalutilizationMin; - late final OptionalutilizationMax; - late final OptionalacceptanceRateMin; - late final OptionalacceptanceRateMax; - late final OptionallastShiftAfter; - late final OptionallastShiftBefore; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterStaffAvailabilityStatsVariables.fromJson(Map json) { - - - needWorkIndexMin = Optional.optional(nativeFromJson, nativeToJson); - needWorkIndexMin.value = json['needWorkIndexMin'] == null ? null : nativeFromJson(json['needWorkIndexMin']); - - - needWorkIndexMax = Optional.optional(nativeFromJson, nativeToJson); - needWorkIndexMax.value = json['needWorkIndexMax'] == null ? null : nativeFromJson(json['needWorkIndexMax']); - - - utilizationMin = Optional.optional(nativeFromJson, nativeToJson); - utilizationMin.value = json['utilizationMin'] == null ? null : nativeFromJson(json['utilizationMin']); - - - utilizationMax = Optional.optional(nativeFromJson, nativeToJson); - utilizationMax.value = json['utilizationMax'] == null ? null : nativeFromJson(json['utilizationMax']); - - - acceptanceRateMin = Optional.optional(nativeFromJson, nativeToJson); - acceptanceRateMin.value = json['acceptanceRateMin'] == null ? null : nativeFromJson(json['acceptanceRateMin']); - - - acceptanceRateMax = Optional.optional(nativeFromJson, nativeToJson); - acceptanceRateMax.value = json['acceptanceRateMax'] == null ? null : nativeFromJson(json['acceptanceRateMax']); - - - lastShiftAfter = Optional.optional((json) => json['lastShiftAfter'] = Timestamp.fromJson(json['lastShiftAfter']), defaultSerializer); - lastShiftAfter.value = json['lastShiftAfter'] == null ? null : Timestamp.fromJson(json['lastShiftAfter']); - - - lastShiftBefore = Optional.optional((json) => json['lastShiftBefore'] = Timestamp.fromJson(json['lastShiftBefore']), defaultSerializer); - lastShiftBefore.value = json['lastShiftBefore'] == null ? null : Timestamp.fromJson(json['lastShiftBefore']); - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterStaffAvailabilityStatsVariables otherTyped = other as FilterStaffAvailabilityStatsVariables; - return needWorkIndexMin == otherTyped.needWorkIndexMin && - needWorkIndexMax == otherTyped.needWorkIndexMax && - utilizationMin == otherTyped.utilizationMin && - utilizationMax == otherTyped.utilizationMax && - acceptanceRateMin == otherTyped.acceptanceRateMin && - acceptanceRateMax == otherTyped.acceptanceRateMax && - lastShiftAfter == otherTyped.lastShiftAfter && - lastShiftBefore == otherTyped.lastShiftBefore && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([needWorkIndexMin.hashCode, needWorkIndexMax.hashCode, utilizationMin.hashCode, utilizationMax.hashCode, acceptanceRateMin.hashCode, acceptanceRateMax.hashCode, lastShiftAfter.hashCode, lastShiftBefore.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(needWorkIndexMin.state == OptionalState.set) { - json['needWorkIndexMin'] = needWorkIndexMin.toJson(); - } - if(needWorkIndexMax.state == OptionalState.set) { - json['needWorkIndexMax'] = needWorkIndexMax.toJson(); - } - if(utilizationMin.state == OptionalState.set) { - json['utilizationMin'] = utilizationMin.toJson(); - } - if(utilizationMax.state == OptionalState.set) { - json['utilizationMax'] = utilizationMax.toJson(); - } - if(acceptanceRateMin.state == OptionalState.set) { - json['acceptanceRateMin'] = acceptanceRateMin.toJson(); - } - if(acceptanceRateMax.state == OptionalState.set) { - json['acceptanceRateMax'] = acceptanceRateMax.toJson(); - } - if(lastShiftAfter.state == OptionalState.set) { - json['lastShiftAfter'] = lastShiftAfter.toJson(); - } - if(lastShiftBefore.state == OptionalState.set) { - json['lastShiftBefore'] = lastShiftBefore.toJson(); - } - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - FilterStaffAvailabilityStatsVariables({ - required this.needWorkIndexMin, - required this.needWorkIndexMax, - required this.utilizationMin, - required this.utilizationMax, - required this.acceptanceRateMin, - required this.acceptanceRateMax, - required this.lastShiftAfter, - required this.lastShiftBefore, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_staff_roles.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_staff_roles.dart deleted file mode 100644 index 7cfaf69c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_staff_roles.dart +++ /dev/null @@ -1,206 +0,0 @@ -part of 'generated.dart'; - -class FilterStaffRolesVariablesBuilder { - Optional _staffId = Optional.optional(nativeFromJson, nativeToJson); - Optional _roleId = Optional.optional(nativeFromJson, nativeToJson); - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterStaffRolesVariablesBuilder staffId(String? t) { - _staffId.value = t; - return this; - } - FilterStaffRolesVariablesBuilder roleId(String? t) { - _roleId.value = t; - return this; - } - FilterStaffRolesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterStaffRolesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - FilterStaffRolesVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterStaffRolesData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterStaffRolesVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterStaffRolesVariables vars= FilterStaffRolesVariables(staffId: _staffId,roleId: _roleId,offset: _offset,limit: _limit,); - return _dataConnect.query("filterStaffRoles", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterStaffRolesStaffRoles { - final String id; - final String staffId; - final String roleId; - final Timestamp? createdAt; - final EnumValue? roleType; - FilterStaffRolesStaffRoles.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - roleId = nativeFromJson(json['roleId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - roleType = json['roleType'] == null ? null : roleTypeDeserializer(json['roleType']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterStaffRolesStaffRoles otherTyped = other as FilterStaffRolesStaffRoles; - return id == otherTyped.id && - staffId == otherTyped.staffId && - roleId == otherTyped.roleId && - createdAt == otherTyped.createdAt && - roleType == otherTyped.roleType; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, roleId.hashCode, createdAt.hashCode, roleType.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['roleId'] = nativeToJson(roleId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (roleType != null) { - json['roleType'] = - roleTypeSerializer(roleType!) - ; - } - return json; - } - - FilterStaffRolesStaffRoles({ - required this.id, - required this.staffId, - required this.roleId, - this.createdAt, - this.roleType, - }); -} - -@immutable -class FilterStaffRolesData { - final List staffRoles; - FilterStaffRolesData.fromJson(dynamic json): - - staffRoles = (json['staffRoles'] as List) - .map((e) => FilterStaffRolesStaffRoles.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterStaffRolesData otherTyped = other as FilterStaffRolesData; - return staffRoles == otherTyped.staffRoles; - - } - @override - int get hashCode => staffRoles.hashCode; - - - Map toJson() { - Map json = {}; - json['staffRoles'] = staffRoles.map((e) => e.toJson()).toList(); - return json; - } - - FilterStaffRolesData({ - required this.staffRoles, - }); -} - -@immutable -class FilterStaffRolesVariables { - late final OptionalstaffId; - late final OptionalroleId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterStaffRolesVariables.fromJson(Map json) { - - - staffId = Optional.optional(nativeFromJson, nativeToJson); - staffId.value = json['staffId'] == null ? null : nativeFromJson(json['staffId']); - - - roleId = Optional.optional(nativeFromJson, nativeToJson); - roleId.value = json['roleId'] == null ? null : nativeFromJson(json['roleId']); - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterStaffRolesVariables otherTyped = other as FilterStaffRolesVariables; - return staffId == otherTyped.staffId && - roleId == otherTyped.roleId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, roleId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(staffId.state == OptionalState.set) { - json['staffId'] = staffId.toJson(); - } - if(roleId.state == OptionalState.set) { - json['roleId'] = roleId.toJson(); - } - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - FilterStaffRolesVariables({ - required this.staffId, - required this.roleId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_tasks.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_tasks.dart deleted file mode 100644 index be84063e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_tasks.dart +++ /dev/null @@ -1,239 +0,0 @@ -part of 'generated.dart'; - -class FilterTasksVariablesBuilder { - Optional _status = Optional.optional((data) => TaskStatus.values.byName(data), enumSerializer); - Optional _priority = Optional.optional((data) => TaskPriority.values.byName(data), enumSerializer); - - final FirebaseDataConnect _dataConnect; - FilterTasksVariablesBuilder status(TaskStatus? t) { - _status.value = t; - return this; - } - FilterTasksVariablesBuilder priority(TaskPriority? t) { - _priority.value = t; - return this; - } - - FilterTasksVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterTasksData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterTasksVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterTasksVariables vars= FilterTasksVariables(status: _status,priority: _priority,); - return _dataConnect.query("filterTasks", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterTasksTasks { - final String id; - final String taskName; - final String? description; - final EnumValue priority; - final EnumValue status; - final Timestamp? dueDate; - final int? progress; - final int? orderIndex; - final int? commentCount; - final int? attachmentCount; - final AnyValue? files; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - FilterTasksTasks.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - taskName = nativeFromJson(json['taskName']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - priority = taskPriorityDeserializer(json['priority']), - status = taskStatusDeserializer(json['status']), - dueDate = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']), - progress = json['progress'] == null ? null : nativeFromJson(json['progress']), - orderIndex = json['orderIndex'] == null ? null : nativeFromJson(json['orderIndex']), - commentCount = json['commentCount'] == null ? null : nativeFromJson(json['commentCount']), - attachmentCount = json['attachmentCount'] == null ? null : nativeFromJson(json['attachmentCount']), - files = json['files'] == null ? null : AnyValue.fromJson(json['files']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterTasksTasks otherTyped = other as FilterTasksTasks; - return id == otherTyped.id && - taskName == otherTyped.taskName && - description == otherTyped.description && - priority == otherTyped.priority && - status == otherTyped.status && - dueDate == otherTyped.dueDate && - progress == otherTyped.progress && - orderIndex == otherTyped.orderIndex && - commentCount == otherTyped.commentCount && - attachmentCount == otherTyped.attachmentCount && - files == otherTyped.files && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, taskName.hashCode, description.hashCode, priority.hashCode, status.hashCode, dueDate.hashCode, progress.hashCode, orderIndex.hashCode, commentCount.hashCode, attachmentCount.hashCode, files.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['taskName'] = nativeToJson(taskName); - if (description != null) { - json['description'] = nativeToJson(description); - } - json['priority'] = - taskPrioritySerializer(priority) - ; - json['status'] = - taskStatusSerializer(status) - ; - if (dueDate != null) { - json['dueDate'] = dueDate!.toJson(); - } - if (progress != null) { - json['progress'] = nativeToJson(progress); - } - if (orderIndex != null) { - json['orderIndex'] = nativeToJson(orderIndex); - } - if (commentCount != null) { - json['commentCount'] = nativeToJson(commentCount); - } - if (attachmentCount != null) { - json['attachmentCount'] = nativeToJson(attachmentCount); - } - if (files != null) { - json['files'] = files!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - FilterTasksTasks({ - required this.id, - required this.taskName, - this.description, - required this.priority, - required this.status, - this.dueDate, - this.progress, - this.orderIndex, - this.commentCount, - this.attachmentCount, - this.files, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class FilterTasksData { - final List tasks; - FilterTasksData.fromJson(dynamic json): - - tasks = (json['tasks'] as List) - .map((e) => FilterTasksTasks.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterTasksData otherTyped = other as FilterTasksData; - return tasks == otherTyped.tasks; - - } - @override - int get hashCode => tasks.hashCode; - - - Map toJson() { - Map json = {}; - json['tasks'] = tasks.map((e) => e.toJson()).toList(); - return json; - } - - FilterTasksData({ - required this.tasks, - }); -} - -@immutable -class FilterTasksVariables { - late final Optionalstatus; - late final Optionalpriority; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterTasksVariables.fromJson(Map json) { - - - status = Optional.optional((data) => TaskStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : TaskStatus.values.byName(json['status']); - - - priority = Optional.optional((data) => TaskPriority.values.byName(data), enumSerializer); - priority.value = json['priority'] == null ? null : TaskPriority.values.byName(json['priority']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterTasksVariables otherTyped = other as FilterTasksVariables; - return status == otherTyped.status && - priority == otherTyped.priority; - - } - @override - int get hashCode => Object.hashAll([status.hashCode, priority.hashCode]); - - - Map toJson() { - Map json = {}; - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(priority.state == OptionalState.set) { - json['priority'] = priority.toJson(); - } - return json; - } - - FilterTasksVariables({ - required this.status, - required this.priority, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_tax_forms.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_tax_forms.dart deleted file mode 100644 index bbfbe1cc..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_tax_forms.dart +++ /dev/null @@ -1,189 +0,0 @@ -part of 'generated.dart'; - -class FilterTaxFormsVariablesBuilder { - Optional _formType = Optional.optional((data) => TaxFormType.values.byName(data), enumSerializer); - Optional _status = Optional.optional((data) => TaxFormStatus.values.byName(data), enumSerializer); - Optional _staffId = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterTaxFormsVariablesBuilder formType(TaxFormType? t) { - _formType.value = t; - return this; - } - FilterTaxFormsVariablesBuilder status(TaxFormStatus? t) { - _status.value = t; - return this; - } - FilterTaxFormsVariablesBuilder staffId(String? t) { - _staffId.value = t; - return this; - } - - FilterTaxFormsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterTaxFormsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterTaxFormsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterTaxFormsVariables vars= FilterTaxFormsVariables(formType: _formType,status: _status,staffId: _staffId,); - return _dataConnect.query("filterTaxForms", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterTaxFormsTaxForms { - final String id; - final EnumValue formType; - final String title; - final EnumValue status; - final String staffId; - FilterTaxFormsTaxForms.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - formType = taxFormTypeDeserializer(json['formType']), - title = nativeFromJson(json['title']), - status = taxFormStatusDeserializer(json['status']), - staffId = nativeFromJson(json['staffId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterTaxFormsTaxForms otherTyped = other as FilterTaxFormsTaxForms; - return id == otherTyped.id && - formType == otherTyped.formType && - title == otherTyped.title && - status == otherTyped.status && - staffId == otherTyped.staffId; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, formType.hashCode, title.hashCode, status.hashCode, staffId.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['formType'] = - taxFormTypeSerializer(formType) - ; - json['title'] = nativeToJson(title); - json['status'] = - taxFormStatusSerializer(status) - ; - json['staffId'] = nativeToJson(staffId); - return json; - } - - FilterTaxFormsTaxForms({ - required this.id, - required this.formType, - required this.title, - required this.status, - required this.staffId, - }); -} - -@immutable -class FilterTaxFormsData { - final List taxForms; - FilterTaxFormsData.fromJson(dynamic json): - - taxForms = (json['taxForms'] as List) - .map((e) => FilterTaxFormsTaxForms.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterTaxFormsData otherTyped = other as FilterTaxFormsData; - return taxForms == otherTyped.taxForms; - - } - @override - int get hashCode => taxForms.hashCode; - - - Map toJson() { - Map json = {}; - json['taxForms'] = taxForms.map((e) => e.toJson()).toList(); - return json; - } - - FilterTaxFormsData({ - required this.taxForms, - }); -} - -@immutable -class FilterTaxFormsVariables { - late final OptionalformType; - late final Optionalstatus; - late final OptionalstaffId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterTaxFormsVariables.fromJson(Map json) { - - - formType = Optional.optional((data) => TaxFormType.values.byName(data), enumSerializer); - formType.value = json['formType'] == null ? null : TaxFormType.values.byName(json['formType']); - - - status = Optional.optional((data) => TaxFormStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : TaxFormStatus.values.byName(json['status']); - - - staffId = Optional.optional(nativeFromJson, nativeToJson); - staffId.value = json['staffId'] == null ? null : nativeFromJson(json['staffId']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterTaxFormsVariables otherTyped = other as FilterTaxFormsVariables; - return formType == otherTyped.formType && - status == otherTyped.status && - staffId == otherTyped.staffId; - - } - @override - int get hashCode => Object.hashAll([formType.hashCode, status.hashCode, staffId.hashCode]); - - - Map toJson() { - Map json = {}; - if(formType.state == OptionalState.set) { - json['formType'] = formType.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(staffId.state == OptionalState.set) { - json['staffId'] = staffId.toJson(); - } - return json; - } - - FilterTaxFormsVariables({ - required this.formType, - required this.status, - required this.staffId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_user_conversations.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_user_conversations.dart deleted file mode 100644 index c71b6d82..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_user_conversations.dart +++ /dev/null @@ -1,423 +0,0 @@ -part of 'generated.dart'; - -class FilterUserConversationsVariablesBuilder { - Optional _userId = Optional.optional(nativeFromJson, nativeToJson); - Optional _conversationId = Optional.optional(nativeFromJson, nativeToJson); - Optional _unreadMin = Optional.optional(nativeFromJson, nativeToJson); - Optional _unreadMax = Optional.optional(nativeFromJson, nativeToJson); - Optional _lastReadAfter = Optional.optional((json) => json['lastReadAfter'] = Timestamp.fromJson(json['lastReadAfter']), defaultSerializer); - Optional _lastReadBefore = Optional.optional((json) => json['lastReadBefore'] = Timestamp.fromJson(json['lastReadBefore']), defaultSerializer); - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterUserConversationsVariablesBuilder userId(String? t) { - _userId.value = t; - return this; - } - FilterUserConversationsVariablesBuilder conversationId(String? t) { - _conversationId.value = t; - return this; - } - FilterUserConversationsVariablesBuilder unreadMin(int? t) { - _unreadMin.value = t; - return this; - } - FilterUserConversationsVariablesBuilder unreadMax(int? t) { - _unreadMax.value = t; - return this; - } - FilterUserConversationsVariablesBuilder lastReadAfter(Timestamp? t) { - _lastReadAfter.value = t; - return this; - } - FilterUserConversationsVariablesBuilder lastReadBefore(Timestamp? t) { - _lastReadBefore.value = t; - return this; - } - FilterUserConversationsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterUserConversationsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - FilterUserConversationsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterUserConversationsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterUserConversationsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterUserConversationsVariables vars= FilterUserConversationsVariables(userId: _userId,conversationId: _conversationId,unreadMin: _unreadMin,unreadMax: _unreadMax,lastReadAfter: _lastReadAfter,lastReadBefore: _lastReadBefore,offset: _offset,limit: _limit,); - return _dataConnect.query("filterUserConversations", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterUserConversationsUserConversations { - final String id; - final String conversationId; - final String userId; - final int? unreadCount; - final Timestamp? lastReadAt; - final Timestamp? createdAt; - final FilterUserConversationsUserConversationsConversation conversation; - final FilterUserConversationsUserConversationsUser user; - FilterUserConversationsUserConversations.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']), - unreadCount = json['unreadCount'] == null ? null : nativeFromJson(json['unreadCount']), - lastReadAt = json['lastReadAt'] == null ? null : Timestamp.fromJson(json['lastReadAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - conversation = FilterUserConversationsUserConversationsConversation.fromJson(json['conversation']), - user = FilterUserConversationsUserConversationsUser.fromJson(json['user']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterUserConversationsUserConversations otherTyped = other as FilterUserConversationsUserConversations; - return id == otherTyped.id && - conversationId == otherTyped.conversationId && - userId == otherTyped.userId && - unreadCount == otherTyped.unreadCount && - lastReadAt == otherTyped.lastReadAt && - createdAt == otherTyped.createdAt && - conversation == otherTyped.conversation && - user == otherTyped.user; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, conversationId.hashCode, userId.hashCode, unreadCount.hashCode, lastReadAt.hashCode, createdAt.hashCode, conversation.hashCode, user.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - if (unreadCount != null) { - json['unreadCount'] = nativeToJson(unreadCount); - } - if (lastReadAt != null) { - json['lastReadAt'] = lastReadAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['conversation'] = conversation.toJson(); - json['user'] = user.toJson(); - return json; - } - - FilterUserConversationsUserConversations({ - required this.id, - required this.conversationId, - required this.userId, - this.unreadCount, - this.lastReadAt, - this.createdAt, - required this.conversation, - required this.user, - }); -} - -@immutable -class FilterUserConversationsUserConversationsConversation { - final String id; - final String? subject; - final EnumValue? status; - final EnumValue? conversationType; - final bool? isGroup; - final String? groupName; - final String? lastMessage; - final Timestamp? lastMessageAt; - final Timestamp? createdAt; - FilterUserConversationsUserConversationsConversation.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - subject = json['subject'] == null ? null : nativeFromJson(json['subject']), - status = json['status'] == null ? null : conversationStatusDeserializer(json['status']), - conversationType = json['conversationType'] == null ? null : conversationTypeDeserializer(json['conversationType']), - isGroup = json['isGroup'] == null ? null : nativeFromJson(json['isGroup']), - groupName = json['groupName'] == null ? null : nativeFromJson(json['groupName']), - lastMessage = json['lastMessage'] == null ? null : nativeFromJson(json['lastMessage']), - lastMessageAt = json['lastMessageAt'] == null ? null : Timestamp.fromJson(json['lastMessageAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterUserConversationsUserConversationsConversation otherTyped = other as FilterUserConversationsUserConversationsConversation; - return id == otherTyped.id && - subject == otherTyped.subject && - status == otherTyped.status && - conversationType == otherTyped.conversationType && - isGroup == otherTyped.isGroup && - groupName == otherTyped.groupName && - lastMessage == otherTyped.lastMessage && - lastMessageAt == otherTyped.lastMessageAt && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, subject.hashCode, status.hashCode, conversationType.hashCode, isGroup.hashCode, groupName.hashCode, lastMessage.hashCode, lastMessageAt.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (subject != null) { - json['subject'] = nativeToJson(subject); - } - if (status != null) { - json['status'] = - conversationStatusSerializer(status!) - ; - } - if (conversationType != null) { - json['conversationType'] = - conversationTypeSerializer(conversationType!) - ; - } - if (isGroup != null) { - json['isGroup'] = nativeToJson(isGroup); - } - if (groupName != null) { - json['groupName'] = nativeToJson(groupName); - } - if (lastMessage != null) { - json['lastMessage'] = nativeToJson(lastMessage); - } - if (lastMessageAt != null) { - json['lastMessageAt'] = lastMessageAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - FilterUserConversationsUserConversationsConversation({ - required this.id, - this.subject, - this.status, - this.conversationType, - this.isGroup, - this.groupName, - this.lastMessage, - this.lastMessageAt, - this.createdAt, - }); -} - -@immutable -class FilterUserConversationsUserConversationsUser { - final String id; - final String? fullName; - final String? photoUrl; - FilterUserConversationsUserConversationsUser.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - photoUrl = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterUserConversationsUserConversationsUser otherTyped = other as FilterUserConversationsUserConversationsUser; - return id == otherTyped.id && - fullName == otherTyped.fullName && - photoUrl == otherTyped.photoUrl; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode, photoUrl.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - if (photoUrl != null) { - json['photoUrl'] = nativeToJson(photoUrl); - } - return json; - } - - FilterUserConversationsUserConversationsUser({ - required this.id, - this.fullName, - this.photoUrl, - }); -} - -@immutable -class FilterUserConversationsData { - final List userConversations; - FilterUserConversationsData.fromJson(dynamic json): - - userConversations = (json['userConversations'] as List) - .map((e) => FilterUserConversationsUserConversations.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterUserConversationsData otherTyped = other as FilterUserConversationsData; - return userConversations == otherTyped.userConversations; - - } - @override - int get hashCode => userConversations.hashCode; - - - Map toJson() { - Map json = {}; - json['userConversations'] = userConversations.map((e) => e.toJson()).toList(); - return json; - } - - FilterUserConversationsData({ - required this.userConversations, - }); -} - -@immutable -class FilterUserConversationsVariables { - late final OptionaluserId; - late final OptionalconversationId; - late final OptionalunreadMin; - late final OptionalunreadMax; - late final OptionallastReadAfter; - late final OptionallastReadBefore; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterUserConversationsVariables.fromJson(Map json) { - - - userId = Optional.optional(nativeFromJson, nativeToJson); - userId.value = json['userId'] == null ? null : nativeFromJson(json['userId']); - - - conversationId = Optional.optional(nativeFromJson, nativeToJson); - conversationId.value = json['conversationId'] == null ? null : nativeFromJson(json['conversationId']); - - - unreadMin = Optional.optional(nativeFromJson, nativeToJson); - unreadMin.value = json['unreadMin'] == null ? null : nativeFromJson(json['unreadMin']); - - - unreadMax = Optional.optional(nativeFromJson, nativeToJson); - unreadMax.value = json['unreadMax'] == null ? null : nativeFromJson(json['unreadMax']); - - - lastReadAfter = Optional.optional((json) => json['lastReadAfter'] = Timestamp.fromJson(json['lastReadAfter']), defaultSerializer); - lastReadAfter.value = json['lastReadAfter'] == null ? null : Timestamp.fromJson(json['lastReadAfter']); - - - lastReadBefore = Optional.optional((json) => json['lastReadBefore'] = Timestamp.fromJson(json['lastReadBefore']), defaultSerializer); - lastReadBefore.value = json['lastReadBefore'] == null ? null : Timestamp.fromJson(json['lastReadBefore']); - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterUserConversationsVariables otherTyped = other as FilterUserConversationsVariables; - return userId == otherTyped.userId && - conversationId == otherTyped.conversationId && - unreadMin == otherTyped.unreadMin && - unreadMax == otherTyped.unreadMax && - lastReadAfter == otherTyped.lastReadAfter && - lastReadBefore == otherTyped.lastReadBefore && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([userId.hashCode, conversationId.hashCode, unreadMin.hashCode, unreadMax.hashCode, lastReadAfter.hashCode, lastReadBefore.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(userId.state == OptionalState.set) { - json['userId'] = userId.toJson(); - } - if(conversationId.state == OptionalState.set) { - json['conversationId'] = conversationId.toJson(); - } - if(unreadMin.state == OptionalState.set) { - json['unreadMin'] = unreadMin.toJson(); - } - if(unreadMax.state == OptionalState.set) { - json['unreadMax'] = unreadMax.toJson(); - } - if(lastReadAfter.state == OptionalState.set) { - json['lastReadAfter'] = lastReadAfter.toJson(); - } - if(lastReadBefore.state == OptionalState.set) { - json['lastReadBefore'] = lastReadBefore.toJson(); - } - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - FilterUserConversationsVariables({ - required this.userId, - required this.conversationId, - required this.unreadMin, - required this.unreadMax, - required this.lastReadAfter, - required this.lastReadBefore, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_users.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_users.dart deleted file mode 100644 index 0e386768..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_users.dart +++ /dev/null @@ -1,215 +0,0 @@ -part of 'generated.dart'; - -class FilterUsersVariablesBuilder { - Optional _id = Optional.optional(nativeFromJson, nativeToJson); - Optional _email = Optional.optional(nativeFromJson, nativeToJson); - Optional _role = Optional.optional((data) => UserBaseRole.values.byName(data), enumSerializer); - Optional _userRole = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterUsersVariablesBuilder id(String? t) { - _id.value = t; - return this; - } - FilterUsersVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - FilterUsersVariablesBuilder role(UserBaseRole? t) { - _role.value = t; - return this; - } - FilterUsersVariablesBuilder userRole(String? t) { - _userRole.value = t; - return this; - } - - FilterUsersVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterUsersData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterUsersVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterUsersVariables vars= FilterUsersVariables(id: _id,email: _email,role: _role,userRole: _userRole,); - return _dataConnect.query("filterUsers", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterUsersUsers { - final String id; - final String? email; - final String? fullName; - final EnumValue role; - final String? userRole; - final String? photoUrl; - FilterUsersUsers.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - role = userBaseRoleDeserializer(json['role']), - userRole = json['userRole'] == null ? null : nativeFromJson(json['userRole']), - photoUrl = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterUsersUsers otherTyped = other as FilterUsersUsers; - return id == otherTyped.id && - email == otherTyped.email && - fullName == otherTyped.fullName && - role == otherTyped.role && - userRole == otherTyped.userRole && - photoUrl == otherTyped.photoUrl; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, email.hashCode, fullName.hashCode, role.hashCode, userRole.hashCode, photoUrl.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - json['role'] = - userBaseRoleSerializer(role) - ; - if (userRole != null) { - json['userRole'] = nativeToJson(userRole); - } - if (photoUrl != null) { - json['photoUrl'] = nativeToJson(photoUrl); - } - return json; - } - - FilterUsersUsers({ - required this.id, - this.email, - this.fullName, - required this.role, - this.userRole, - this.photoUrl, - }); -} - -@immutable -class FilterUsersData { - final List users; - FilterUsersData.fromJson(dynamic json): - - users = (json['users'] as List) - .map((e) => FilterUsersUsers.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterUsersData otherTyped = other as FilterUsersData; - return users == otherTyped.users; - - } - @override - int get hashCode => users.hashCode; - - - Map toJson() { - Map json = {}; - json['users'] = users.map((e) => e.toJson()).toList(); - return json; - } - - FilterUsersData({ - required this.users, - }); -} - -@immutable -class FilterUsersVariables { - late final Optionalid; - late final Optionalemail; - late final Optionalrole; - late final OptionaluserRole; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterUsersVariables.fromJson(Map json) { - - - id = Optional.optional(nativeFromJson, nativeToJson); - id.value = json['id'] == null ? null : nativeFromJson(json['id']); - - - email = Optional.optional(nativeFromJson, nativeToJson); - email.value = json['email'] == null ? null : nativeFromJson(json['email']); - - - role = Optional.optional((data) => UserBaseRole.values.byName(data), enumSerializer); - role.value = json['role'] == null ? null : UserBaseRole.values.byName(json['role']); - - - userRole = Optional.optional(nativeFromJson, nativeToJson); - userRole.value = json['userRole'] == null ? null : nativeFromJson(json['userRole']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterUsersVariables otherTyped = other as FilterUsersVariables; - return id == otherTyped.id && - email == otherTyped.email && - role == otherTyped.role && - userRole == otherTyped.userRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, email.hashCode, role.hashCode, userRole.hashCode]); - - - Map toJson() { - Map json = {}; - if(id.state == OptionalState.set) { - json['id'] = id.toJson(); - } - if(email.state == OptionalState.set) { - json['email'] = email.toJson(); - } - if(role.state == OptionalState.set) { - json['role'] = role.toJson(); - } - if(userRole.state == OptionalState.set) { - json['userRole'] = userRole.toJson(); - } - return json; - } - - FilterUsersVariables({ - required this.id, - required this.email, - required this.role, - required this.userRole, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_vendor_benefit_plans.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/filter_vendor_benefit_plans.dart deleted file mode 100644 index 6ced6af8..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/filter_vendor_benefit_plans.dart +++ /dev/null @@ -1,293 +0,0 @@ -part of 'generated.dart'; - -class FilterVendorBenefitPlansVariablesBuilder { - Optional _vendorId = Optional.optional(nativeFromJson, nativeToJson); - Optional _title = Optional.optional(nativeFromJson, nativeToJson); - Optional _isActive = Optional.optional(nativeFromJson, nativeToJson); - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - FilterVendorBenefitPlansVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - FilterVendorBenefitPlansVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - FilterVendorBenefitPlansVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - FilterVendorBenefitPlansVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterVendorBenefitPlansVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - FilterVendorBenefitPlansVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => FilterVendorBenefitPlansData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (FilterVendorBenefitPlansVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - FilterVendorBenefitPlansVariables vars= FilterVendorBenefitPlansVariables(vendorId: _vendorId,title: _title,isActive: _isActive,offset: _offset,limit: _limit,); - return _dataConnect.query("filterVendorBenefitPlans", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class FilterVendorBenefitPlansVendorBenefitPlans { - final String id; - final String vendorId; - final String title; - final String? description; - final String? requestLabel; - final int? total; - final bool? isActive; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final FilterVendorBenefitPlansVendorBenefitPlansVendor vendor; - FilterVendorBenefitPlansVendorBenefitPlans.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorId = nativeFromJson(json['vendorId']), - title = nativeFromJson(json['title']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - requestLabel = json['requestLabel'] == null ? null : nativeFromJson(json['requestLabel']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - vendor = FilterVendorBenefitPlansVendorBenefitPlansVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterVendorBenefitPlansVendorBenefitPlans otherTyped = other as FilterVendorBenefitPlansVendorBenefitPlans; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - title == otherTyped.title && - description == otherTyped.description && - requestLabel == otherTyped.requestLabel && - total == otherTyped.total && - isActive == otherTyped.isActive && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, title.hashCode, description.hashCode, requestLabel.hashCode, total.hashCode, isActive.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorId'] = nativeToJson(vendorId); - json['title'] = nativeToJson(title); - if (description != null) { - json['description'] = nativeToJson(description); - } - if (requestLabel != null) { - json['requestLabel'] = nativeToJson(requestLabel); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['vendor'] = vendor.toJson(); - return json; - } - - FilterVendorBenefitPlansVendorBenefitPlans({ - required this.id, - required this.vendorId, - required this.title, - this.description, - this.requestLabel, - this.total, - this.isActive, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.vendor, - }); -} - -@immutable -class FilterVendorBenefitPlansVendorBenefitPlansVendor { - final String companyName; - FilterVendorBenefitPlansVendorBenefitPlansVendor.fromJson(dynamic json): - - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterVendorBenefitPlansVendorBenefitPlansVendor otherTyped = other as FilterVendorBenefitPlansVendorBenefitPlansVendor; - return companyName == otherTyped.companyName; - - } - @override - int get hashCode => companyName.hashCode; - - - Map toJson() { - Map json = {}; - json['companyName'] = nativeToJson(companyName); - return json; - } - - FilterVendorBenefitPlansVendorBenefitPlansVendor({ - required this.companyName, - }); -} - -@immutable -class FilterVendorBenefitPlansData { - final List vendorBenefitPlans; - FilterVendorBenefitPlansData.fromJson(dynamic json): - - vendorBenefitPlans = (json['vendorBenefitPlans'] as List) - .map((e) => FilterVendorBenefitPlansVendorBenefitPlans.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterVendorBenefitPlansData otherTyped = other as FilterVendorBenefitPlansData; - return vendorBenefitPlans == otherTyped.vendorBenefitPlans; - - } - @override - int get hashCode => vendorBenefitPlans.hashCode; - - - Map toJson() { - Map json = {}; - json['vendorBenefitPlans'] = vendorBenefitPlans.map((e) => e.toJson()).toList(); - return json; - } - - FilterVendorBenefitPlansData({ - required this.vendorBenefitPlans, - }); -} - -@immutable -class FilterVendorBenefitPlansVariables { - late final OptionalvendorId; - late final Optionaltitle; - late final OptionalisActive; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - FilterVendorBenefitPlansVariables.fromJson(Map json) { - - - vendorId = Optional.optional(nativeFromJson, nativeToJson); - vendorId.value = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']); - - - title = Optional.optional(nativeFromJson, nativeToJson); - title.value = json['title'] == null ? null : nativeFromJson(json['title']); - - - isActive = Optional.optional(nativeFromJson, nativeToJson); - isActive.value = json['isActive'] == null ? null : nativeFromJson(json['isActive']); - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final FilterVendorBenefitPlansVariables otherTyped = other as FilterVendorBenefitPlansVariables; - return vendorId == otherTyped.vendorId && - title == otherTyped.title && - isActive == otherTyped.isActive && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, title.hashCode, isActive.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(vendorId.state == OptionalState.set) { - json['vendorId'] = vendorId.toJson(); - } - if(title.state == OptionalState.set) { - json['title'] = title.toJson(); - } - if(isActive.state == OptionalState.set) { - json['isActive'] = isActive.toJson(); - } - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - FilterVendorBenefitPlansVariables({ - required this.vendorId, - required this.title, - required this.isActive, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/generated.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/generated.dart deleted file mode 100644 index 1a07ae01..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/generated.dart +++ /dev/null @@ -1,4498 +0,0 @@ -library dataconnect_generated; -import 'package:firebase_data_connect/firebase_data_connect.dart'; -import 'package:flutter/foundation.dart'; -import 'dart:convert'; -import 'package:flutter/foundation.dart'; - -part 'create_document.dart'; - -part 'update_document.dart'; - -part 'delete_document.dart'; - -part 'create_conversation.dart'; - -part 'update_conversation.dart'; - -part 'update_conversation_last_message.dart'; - -part 'delete_conversation.dart'; - -part 'list_hubs.dart'; - -part 'get_hub_by_id.dart'; - -part 'get_hubs_by_owner_id.dart'; - -part 'filter_hubs.dart'; - -part 'create_invoice.dart'; - -part 'update_invoice.dart'; - -part 'delete_invoice.dart'; - -part 'create_vendor_rate.dart'; - -part 'update_vendor_rate.dart'; - -part 'delete_vendor_rate.dart'; - -part 'list_categories.dart'; - -part 'get_category_by_id.dart'; - -part 'filter_categories.dart'; - -part 'create_client_feedback.dart'; - -part 'update_client_feedback.dart'; - -part 'delete_client_feedback.dart'; - -part 'create_team.dart'; - -part 'update_team.dart'; - -part 'delete_team.dart'; - -part 'list_team_hubs.dart'; - -part 'get_team_hub_by_id.dart'; - -part 'get_team_hubs_by_team_id.dart'; - -part 'list_team_hubs_by_owner_id.dart'; - -part 'create_vendor.dart'; - -part 'update_vendor.dart'; - -part 'delete_vendor.dart'; - -part 'create_workforce.dart'; - -part 'update_workforce.dart'; - -part 'deactivate_workforce.dart'; - -part 'create_business.dart'; - -part 'update_business.dart'; - -part 'delete_business.dart'; - -part 'list_activity_logs.dart'; - -part 'get_activity_log_by_id.dart'; - -part 'list_activity_logs_by_user_id.dart'; - -part 'list_unread_activity_logs_by_user_id.dart'; - -part 'filter_activity_logs.dart'; - -part 'create_hub.dart'; - -part 'update_hub.dart'; - -part 'delete_hub.dart'; - -part 'create_level.dart'; - -part 'update_level.dart'; - -part 'delete_level.dart'; - -part 'list_levels.dart'; - -part 'get_level_by_id.dart'; - -part 'filter_levels.dart'; - -part 'create_recent_payment.dart'; - -part 'update_recent_payment.dart'; - -part 'delete_recent_payment.dart'; - -part 'get_shift_role_by_id.dart'; - -part 'list_shift_roles_by_shift_id.dart'; - -part 'list_shift_roles_by_role_id.dart'; - -part 'list_shift_roles_by_shift_id_and_time_range.dart'; - -part 'list_shift_roles_by_vendor_id.dart'; - -part 'create_team_hud_department.dart'; - -part 'update_team_hud_department.dart'; - -part 'delete_team_hud_department.dart'; - -part 'create_team_member.dart'; - -part 'update_team_member.dart'; - -part 'update_team_member_invite_status.dart'; - -part 'accept_invite_by_code.dart'; - -part 'cancel_invite_by_code.dart'; - -part 'delete_team_member.dart'; - -part 'create_user.dart'; - -part 'update_user.dart'; - -part 'delete_user.dart'; - -part 'get_vendor_by_id.dart'; - -part 'get_vendor_by_user_id.dart'; - -part 'list_vendors.dart'; - -part 'create_shift.dart'; - -part 'update_shift.dart'; - -part 'delete_shift.dart'; - -part 'list_shifts.dart'; - -part 'get_shift_by_id.dart'; - -part 'filter_shifts.dart'; - -part 'get_shifts_by_business_id.dart'; - -part 'get_shifts_by_vendor_id.dart'; - -part 'create_shift_role.dart'; - -part 'update_shift_role.dart'; - -part 'delete_shift_role.dart'; - -part 'list_courses.dart'; - -part 'get_course_by_id.dart'; - -part 'filter_courses.dart'; - -part 'list_documents.dart'; - -part 'get_document_by_id.dart'; - -part 'filter_documents.dart'; - -part 'create_attire_option.dart'; - -part 'update_attire_option.dart'; - -part 'delete_attire_option.dart'; - -part 'create_category.dart'; - -part 'update_category.dart'; - -part 'delete_category.dart'; - -part 'list_conversations.dart'; - -part 'get_conversation_by_id.dart'; - -part 'list_conversations_by_type.dart'; - -part 'list_conversations_by_status.dart'; - -part 'filter_conversations.dart'; - -part 'list_attire_options.dart'; - -part 'get_attire_option_by_id.dart'; - -part 'filter_attire_options.dart'; - -part 'create_staff.dart'; - -part 'update_staff.dart'; - -part 'delete_staff.dart'; - -part 'create_staff_document.dart'; - -part 'update_staff_document.dart'; - -part 'delete_staff_document.dart'; - -part 'create_staff_role.dart'; - -part 'delete_staff_role.dart'; - -part 'list_tax_forms.dart'; - -part 'get_tax_form_by_id.dart'; - -part 'get_tax_forms_bystaff_id.dart'; - -part 'filter_tax_forms.dart'; - -part 'list_teams.dart'; - -part 'get_team_by_id.dart'; - -part 'get_teams_by_owner_id.dart'; - -part 'list_team_hud_departments.dart'; - -part 'get_team_hud_department_by_id.dart'; - -part 'list_team_hud_departments_by_team_hub_id.dart'; - -part 'create_certificate.dart'; - -part 'update_certificate.dart'; - -part 'delete_certificate.dart'; - -part 'list_custom_rate_cards.dart'; - -part 'get_custom_rate_card_by_id.dart'; - -part 'create_faq_data.dart'; - -part 'update_faq_data.dart'; - -part 'delete_faq_data.dart'; - -part 'list_messages.dart'; - -part 'get_message_by_id.dart'; - -part 'get_messages_by_conversation_id.dart'; - -part 'create_staff_availability_stats.dart'; - -part 'update_staff_availability_stats.dart'; - -part 'delete_staff_availability_stats.dart'; - -part 'get_staff_document_by_key.dart'; - -part 'list_staff_documents_by_staff_id.dart'; - -part 'list_staff_documents_by_document_type.dart'; - -part 'list_staff_documents_by_status.dart'; - -part 'get_workforce_by_id.dart'; - -part 'get_workforce_by_vendor_and_staff.dart'; - -part 'list_workforce_by_vendor_id.dart'; - -part 'list_workforce_by_staff_id.dart'; - -part 'get_workforce_by_vendor_and_number.dart'; - -part 'create_activity_log.dart'; - -part 'update_activity_log.dart'; - -part 'mark_activity_log_as_read.dart'; - -part 'mark_activity_logs_as_read.dart'; - -part 'delete_activity_log.dart'; - -part 'list_emergency_contacts.dart'; - -part 'get_emergency_contact_by_id.dart'; - -part 'get_emergency_contacts_by_staff_id.dart'; - -part 'list_faq_datas.dart'; - -part 'get_faq_data_by_id.dart'; - -part 'filter_faq_datas.dart'; - -part 'create_staff_availability.dart'; - -part 'update_staff_availability.dart'; - -part 'delete_staff_availability.dart'; - -part 'list_staff_availability_stats.dart'; - -part 'get_staff_availability_stats_by_staff_id.dart'; - -part 'filter_staff_availability_stats.dart'; - -part 'create_team_hub.dart'; - -part 'update_team_hub.dart'; - -part 'delete_team_hub.dart'; - -part 'create_user_conversation.dart'; - -part 'update_user_conversation.dart'; - -part 'mark_conversation_as_read.dart'; - -part 'increment_unread_for_user.dart'; - -part 'delete_user_conversation.dart'; - -part 'list_businesses.dart'; - -part 'get_businesses_by_user_id.dart'; - -part 'get_business_by_id.dart'; - -part 'create_member_task.dart'; - -part 'delete_member_task.dart'; - -part 'get_staff_course_by_id.dart'; - -part 'list_staff_courses_by_staff_id.dart'; - -part 'list_staff_courses_by_course_id.dart'; - -part 'get_staff_course_by_staff_and_course.dart'; - -part 'create_task.dart'; - -part 'update_task.dart'; - -part 'delete_task.dart'; - -part 'list_tasks.dart'; - -part 'get_task_by_id.dart'; - -part 'get_tasks_by_owner_id.dart'; - -part 'filter_tasks.dart'; - -part 'list_assignments.dart'; - -part 'get_assignment_by_id.dart'; - -part 'list_assignments_by_workforce_id.dart'; - -part 'list_assignments_by_workforce_ids.dart'; - -part 'list_assignments_by_shift_role.dart'; - -part 'filter_assignments.dart'; - -part 'list_invoices.dart'; - -part 'get_invoice_by_id.dart'; - -part 'list_invoices_by_vendor_id.dart'; - -part 'list_invoices_by_business_id.dart'; - -part 'list_invoices_by_order_id.dart'; - -part 'list_invoices_by_status.dart'; - -part 'filter_invoices.dart'; - -part 'list_overdue_invoices.dart'; - -part 'list_task_comments.dart'; - -part 'get_task_comment_by_id.dart'; - -part 'get_task_comments_by_task_id.dart'; - -part 'create_vendor_benefit_plan.dart'; - -part 'update_vendor_benefit_plan.dart'; - -part 'delete_vendor_benefit_plan.dart'; - -part 'list_vendor_rates.dart'; - -part 'get_vendor_rate_by_id.dart'; - -part 'list_applications.dart'; - -part 'get_application_by_id.dart'; - -part 'get_applications_by_shift_id.dart'; - -part 'get_applications_by_shift_id_and_status.dart'; - -part 'get_applications_by_staff_id.dart'; - -part 'list_invoice_templates.dart'; - -part 'get_invoice_template_by_id.dart'; - -part 'list_invoice_templates_by_owner_id.dart'; - -part 'list_invoice_templates_by_vendor_id.dart'; - -part 'list_invoice_templates_by_business_id.dart'; - -part 'list_invoice_templates_by_order_id.dart'; - -part 'search_invoice_templates_by_owner_and_name.dart'; - -part 'list_roles.dart'; - -part 'get_role_by_id.dart'; - -part 'list_roles_by_vendor_id.dart'; - -part 'list_roles_byrole_category_id.dart'; - -part 'list_staff.dart'; - -part 'get_staff_by_id.dart'; - -part 'get_staff_by_user_id.dart'; - -part 'filter_staff.dart'; - -part 'create_task_comment.dart'; - -part 'update_task_comment.dart'; - -part 'delete_task_comment.dart'; - -part 'list_user_conversations.dart'; - -part 'get_user_conversation_by_key.dart'; - -part 'list_user_conversations_by_user_id.dart'; - -part 'list_unread_user_conversations_by_user_id.dart'; - -part 'list_user_conversations_by_conversation_id.dart'; - -part 'filter_user_conversations.dart'; - -part 'list_certificates.dart'; - -part 'get_certificate_by_id.dart'; - -part 'list_certificates_by_staff_id.dart'; - -part 'get_my_tasks.dart'; - -part 'get_member_task_by_id_key.dart'; - -part 'get_member_tasks_by_task_id.dart'; - -part 'list_recent_payments.dart'; - -part 'get_recent_payment_by_id.dart'; - -part 'list_recent_payments_by_staff_id.dart'; - -part 'list_recent_payments_by_application_id.dart'; - -part 'list_recent_payments_by_invoice_id.dart'; - -part 'list_recent_payments_by_status.dart'; - -part 'list_recent_payments_by_invoice_ids.dart'; - -part 'list_recent_payments_by_business_id.dart'; - -part 'create_tax_form.dart'; - -part 'update_tax_form.dart'; - -part 'delete_tax_form.dart'; - -part 'create_message.dart'; - -part 'update_message.dart'; - -part 'delete_message.dart'; - -part 'list_role_categories.dart'; - -part 'get_role_category_by_id.dart'; - -part 'get_role_categories_by_category.dart'; - -part 'create_application.dart'; - -part 'update_application_status.dart'; - -part 'delete_application.dart'; - -part 'create_assignment.dart'; - -part 'update_assignment.dart'; - -part 'delete_assignment.dart'; - -part 'create_benefits_data.dart'; - -part 'update_benefits_data.dart'; - -part 'delete_benefits_data.dart'; - -part 'list_users.dart'; - -part 'get_user_by_id.dart'; - -part 'filter_users.dart'; - -part 'list_client_feedbacks.dart'; - -part 'get_client_feedback_by_id.dart'; - -part 'list_client_feedbacks_by_business_id.dart'; - -part 'list_client_feedbacks_by_vendor_id.dart'; - -part 'list_client_feedbacks_by_business_and_vendor.dart'; - -part 'filter_client_feedbacks.dart'; - -part 'list_client_feedback_ratings_by_vendor_id.dart'; - -part 'create_custom_rate_card.dart'; - -part 'update_custom_rate_card.dart'; - -part 'delete_custom_rate_card.dart'; - -part 'create_role_category.dart'; - -part 'update_role_category.dart'; - -part 'delete_role_category.dart'; - -part 'create_staff_course.dart'; - -part 'update_staff_course.dart'; - -part 'delete_staff_course.dart'; - -part 'list_staff_roles.dart'; - -part 'get_staff_role_by_key.dart'; - -part 'list_staff_roles_by_staff_id.dart'; - -part 'list_staff_roles_by_role_id.dart'; - -part 'filter_staff_roles.dart'; - -part 'create_account.dart'; - -part 'update_account.dart'; - -part 'delete_account.dart'; - -part 'list_accounts.dart'; - -part 'get_account_by_id.dart'; - -part 'get_accounts_by_owner_id.dart'; - -part 'filter_accounts.dart'; - -part 'create_course.dart'; - -part 'update_course.dart'; - -part 'delete_course.dart'; - -part 'create_emergency_contact.dart'; - -part 'update_emergency_contact.dart'; - -part 'delete_emergency_contact.dart'; - -part 'create_invoice_template.dart'; - -part 'update_invoice_template.dart'; - -part 'delete_invoice_template.dart'; - -part 'list_orders.dart'; - -part 'get_order_by_id.dart'; - -part 'get_orders_by_business_id.dart'; - -part 'get_orders_by_vendor_id.dart'; - -part 'get_orders_by_status.dart'; - -part 'get_orders_by_date_range.dart'; - -part 'get_rapid_orders.dart'; - -part 'list_shifts_for_coverage.dart'; - -part 'list_applications_for_coverage.dart'; - -part 'list_shifts_for_daily_ops_by_business.dart'; - -part 'list_shifts_for_daily_ops_by_vendor.dart'; - -part 'list_applications_for_daily_ops.dart'; - -part 'list_shifts_for_forecast_by_business.dart'; - -part 'list_shifts_for_forecast_by_vendor.dart'; - -part 'list_shifts_for_no_show_range_by_business.dart'; - -part 'list_shifts_for_no_show_range_by_vendor.dart'; - -part 'list_applications_for_no_show_range.dart'; - -part 'list_staff_for_no_show_report.dart'; - -part 'list_invoices_for_spend_by_business.dart'; - -part 'list_invoices_for_spend_by_vendor.dart'; - -part 'list_invoices_for_spend_by_order.dart'; - -part 'list_timesheets_for_spend.dart'; - -part 'list_shifts_for_performance_by_business.dart'; - -part 'list_shifts_for_performance_by_vendor.dart'; - -part 'list_applications_for_performance.dart'; - -part 'list_staff_for_performance.dart'; - -part 'create_role.dart'; - -part 'update_role.dart'; - -part 'delete_role.dart'; - -part 'list_benefits_data.dart'; - -part 'get_benefits_data_by_key.dart'; - -part 'list_benefits_data_by_staff_id.dart'; - -part 'list_benefits_data_by_vendor_benefit_plan_id.dart'; - -part 'list_benefits_data_by_vendor_benefit_plan_ids.dart'; - -part 'create_order.dart'; - -part 'update_order.dart'; - -part 'delete_order.dart'; - -part 'list_staff_availabilities.dart'; - -part 'list_staff_availabilities_by_staff_id.dart'; - -part 'get_staff_availability_by_key.dart'; - -part 'list_staff_availabilities_by_day.dart'; - -part 'list_team_members.dart'; - -part 'get_team_member_by_id.dart'; - -part 'get_team_members_by_team_id.dart'; - -part 'list_vendor_benefit_plans.dart'; - -part 'get_vendor_benefit_plan_by_id.dart'; - -part 'list_vendor_benefit_plans_by_vendor_id.dart'; - -part 'list_active_vendor_benefit_plans_by_vendor_id.dart'; - -part 'filter_vendor_benefit_plans.dart'; - - - - enum AccountType { - - CHECKING, - - SAVINGS, - - } - - String accountTypeSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue accountTypeDeserializer(dynamic data) { - switch (data) { - - case 'CHECKING': - return const Known(AccountType.CHECKING); - - case 'SAVINGS': - return const Known(AccountType.SAVINGS); - - default: - return Unknown(data); - } - } - - - enum ActivityIconType { - - INVOICE, - - CHECK, - - ALERT, - - MESSAGE, - - CALENDAR, - - } - - String activityIconTypeSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue activityIconTypeDeserializer(dynamic data) { - switch (data) { - - case 'INVOICE': - return const Known(ActivityIconType.INVOICE); - - case 'CHECK': - return const Known(ActivityIconType.CHECK); - - case 'ALERT': - return const Known(ActivityIconType.ALERT); - - case 'MESSAGE': - return const Known(ActivityIconType.MESSAGE); - - case 'CALENDAR': - return const Known(ActivityIconType.CALENDAR); - - default: - return Unknown(data); - } - } - - - enum ActivityType { - - ORDER_CREATED, - - SHIFT_UPDATE, - - COMPLIANCE_ALERT, - - MESSAGE_RECEIVED, - - SYSTEM_UPDATE, - - } - - String activityTypeSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue activityTypeDeserializer(dynamic data) { - switch (data) { - - case 'ORDER_CREATED': - return const Known(ActivityType.ORDER_CREATED); - - case 'SHIFT_UPDATE': - return const Known(ActivityType.SHIFT_UPDATE); - - case 'COMPLIANCE_ALERT': - return const Known(ActivityType.COMPLIANCE_ALERT); - - case 'MESSAGE_RECEIVED': - return const Known(ActivityType.MESSAGE_RECEIVED); - - case 'SYSTEM_UPDATE': - return const Known(ActivityType.SYSTEM_UPDATE); - - default: - return Unknown(data); - } - } - - - enum ApplicationOrigin { - - STAFF, - - EMPLOYER, - - } - - String applicationOriginSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue applicationOriginDeserializer(dynamic data) { - switch (data) { - - case 'STAFF': - return const Known(ApplicationOrigin.STAFF); - - case 'EMPLOYER': - return const Known(ApplicationOrigin.EMPLOYER); - - default: - return Unknown(data); - } - } - - - enum ApplicationStatus { - - PENDING, - - ACCEPTED, - - REJECTED, - - CONFIRMED, - - CHECKED_IN, - - CHECKED_OUT, - - LATE, - - NO_SHOW, - - } - - String applicationStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue applicationStatusDeserializer(dynamic data) { - switch (data) { - - case 'PENDING': - return const Known(ApplicationStatus.PENDING); - - case 'ACCEPTED': - return const Known(ApplicationStatus.ACCEPTED); - - case 'REJECTED': - return const Known(ApplicationStatus.REJECTED); - - case 'CONFIRMED': - return const Known(ApplicationStatus.CONFIRMED); - - case 'CHECKED_IN': - return const Known(ApplicationStatus.CHECKED_IN); - - case 'CHECKED_OUT': - return const Known(ApplicationStatus.CHECKED_OUT); - - case 'LATE': - return const Known(ApplicationStatus.LATE); - - case 'NO_SHOW': - return const Known(ApplicationStatus.NO_SHOW); - - default: - return Unknown(data); - } - } - - - enum ApprovalStatus { - - APPROVED, - - } - - String approvalStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue approvalStatusDeserializer(dynamic data) { - switch (data) { - - case 'APPROVED': - return const Known(ApprovalStatus.APPROVED); - - default: - return Unknown(data); - } - } - - - enum AssignmentStatus { - - PENDING, - - CONFIRMED, - - OPEN, - - COMPLETED, - - CANCELED, - - ACTIVE, - - } - - String assignmentStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue assignmentStatusDeserializer(dynamic data) { - switch (data) { - - case 'PENDING': - return const Known(AssignmentStatus.PENDING); - - case 'CONFIRMED': - return const Known(AssignmentStatus.CONFIRMED); - - case 'OPEN': - return const Known(AssignmentStatus.OPEN); - - case 'COMPLETED': - return const Known(AssignmentStatus.COMPLETED); - - case 'CANCELED': - return const Known(AssignmentStatus.CANCELED); - - case 'ACTIVE': - return const Known(AssignmentStatus.ACTIVE); - - default: - return Unknown(data); - } - } - - - enum AvailabilitySlot { - - MORNING, - - AFTERNOON, - - EVENING, - - } - - String availabilitySlotSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue availabilitySlotDeserializer(dynamic data) { - switch (data) { - - case 'MORNING': - return const Known(AvailabilitySlot.MORNING); - - case 'AFTERNOON': - return const Known(AvailabilitySlot.AFTERNOON); - - case 'EVENING': - return const Known(AvailabilitySlot.EVENING); - - default: - return Unknown(data); - } - } - - - enum AvailabilityStatus { - - CONFIRMED_AVAILABLE, - - UNKNOWN, - - BLOCKED, - - } - - String availabilityStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue availabilityStatusDeserializer(dynamic data) { - switch (data) { - - case 'CONFIRMED_AVAILABLE': - return const Known(AvailabilityStatus.CONFIRMED_AVAILABLE); - - case 'UNKNOWN': - return const Known(AvailabilityStatus.UNKNOWN); - - case 'BLOCKED': - return const Known(AvailabilityStatus.BLOCKED); - - default: - return Unknown(data); - } - } - - - enum BackgroundCheckStatus { - - PENDING, - - CLEARED, - - FAILED, - - EXPIRED, - - NOT_REQUIRED, - - } - - String backgroundCheckStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue backgroundCheckStatusDeserializer(dynamic data) { - switch (data) { - - case 'PENDING': - return const Known(BackgroundCheckStatus.PENDING); - - case 'CLEARED': - return const Known(BackgroundCheckStatus.CLEARED); - - case 'FAILED': - return const Known(BackgroundCheckStatus.FAILED); - - case 'EXPIRED': - return const Known(BackgroundCheckStatus.EXPIRED); - - case 'NOT_REQUIRED': - return const Known(BackgroundCheckStatus.NOT_REQUIRED); - - default: - return Unknown(data); - } - } - - - enum BreakDuration { - - MIN_15, - - MIN_30, - - NO_BREAK, - - } - - String breakDurationSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue breakDurationDeserializer(dynamic data) { - switch (data) { - - case 'MIN_15': - return const Known(BreakDuration.MIN_15); - - case 'MIN_30': - return const Known(BreakDuration.MIN_30); - - case 'NO_BREAK': - return const Known(BreakDuration.NO_BREAK); - - default: - return Unknown(data); - } - } - - - enum BusinessArea { - - BAY_AREA, - - SOUTHERN_CALIFORNIA, - - NORTHERN_CALIFORNIA, - - CENTRAL_VALLEY, - - OTHER, - - } - - String businessAreaSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue businessAreaDeserializer(dynamic data) { - switch (data) { - - case 'BAY_AREA': - return const Known(BusinessArea.BAY_AREA); - - case 'SOUTHERN_CALIFORNIA': - return const Known(BusinessArea.SOUTHERN_CALIFORNIA); - - case 'NORTHERN_CALIFORNIA': - return const Known(BusinessArea.NORTHERN_CALIFORNIA); - - case 'CENTRAL_VALLEY': - return const Known(BusinessArea.CENTRAL_VALLEY); - - case 'OTHER': - return const Known(BusinessArea.OTHER); - - default: - return Unknown(data); - } - } - - - enum BusinessRateGroup { - - STANDARD, - - PREMIUM, - - ENTERPRISE, - - CUSTOM, - - } - - String businessRateGroupSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue businessRateGroupDeserializer(dynamic data) { - switch (data) { - - case 'STANDARD': - return const Known(BusinessRateGroup.STANDARD); - - case 'PREMIUM': - return const Known(BusinessRateGroup.PREMIUM); - - case 'ENTERPRISE': - return const Known(BusinessRateGroup.ENTERPRISE); - - case 'CUSTOM': - return const Known(BusinessRateGroup.CUSTOM); - - default: - return Unknown(data); - } - } - - - enum BusinessSector { - - BON_APPETIT, - - EUREST, - - ARAMARK, - - EPICUREAN_GROUP, - - CHARTWELLS, - - OTHER, - - } - - String businessSectorSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue businessSectorDeserializer(dynamic data) { - switch (data) { - - case 'BON_APPETIT': - return const Known(BusinessSector.BON_APPETIT); - - case 'EUREST': - return const Known(BusinessSector.EUREST); - - case 'ARAMARK': - return const Known(BusinessSector.ARAMARK); - - case 'EPICUREAN_GROUP': - return const Known(BusinessSector.EPICUREAN_GROUP); - - case 'CHARTWELLS': - return const Known(BusinessSector.CHARTWELLS); - - case 'OTHER': - return const Known(BusinessSector.OTHER); - - default: - return Unknown(data); - } - } - - - enum BusinessStatus { - - ACTIVE, - - INACTIVE, - - PENDING, - - } - - String businessStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue businessStatusDeserializer(dynamic data) { - switch (data) { - - case 'ACTIVE': - return const Known(BusinessStatus.ACTIVE); - - case 'INACTIVE': - return const Known(BusinessStatus.INACTIVE); - - case 'PENDING': - return const Known(BusinessStatus.PENDING); - - default: - return Unknown(data); - } - } - - - enum CategoryType { - - KITCHEN_AND_CULINARY, - - CONCESSIONS, - - FACILITIES, - - BARTENDING, - - SECURITY, - - EVENT_STAFF, - - MANAGEMENT, - - TECHNICAL, - - OTHER, - - } - - String categoryTypeSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue categoryTypeDeserializer(dynamic data) { - switch (data) { - - case 'KITCHEN_AND_CULINARY': - return const Known(CategoryType.KITCHEN_AND_CULINARY); - - case 'CONCESSIONS': - return const Known(CategoryType.CONCESSIONS); - - case 'FACILITIES': - return const Known(CategoryType.FACILITIES); - - case 'BARTENDING': - return const Known(CategoryType.BARTENDING); - - case 'SECURITY': - return const Known(CategoryType.SECURITY); - - case 'EVENT_STAFF': - return const Known(CategoryType.EVENT_STAFF); - - case 'MANAGEMENT': - return const Known(CategoryType.MANAGEMENT); - - case 'TECHNICAL': - return const Known(CategoryType.TECHNICAL); - - case 'OTHER': - return const Known(CategoryType.OTHER); - - default: - return Unknown(data); - } - } - - - enum CertificateStatus { - - CURRENT, - - EXPIRING_SOON, - - COMPLETED, - - PENDING, - - EXPIRED, - - EXPIRING, - - NOT_STARTED, - - } - - String certificateStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue certificateStatusDeserializer(dynamic data) { - switch (data) { - - case 'CURRENT': - return const Known(CertificateStatus.CURRENT); - - case 'EXPIRING_SOON': - return const Known(CertificateStatus.EXPIRING_SOON); - - case 'COMPLETED': - return const Known(CertificateStatus.COMPLETED); - - case 'PENDING': - return const Known(CertificateStatus.PENDING); - - case 'EXPIRED': - return const Known(CertificateStatus.EXPIRED); - - case 'EXPIRING': - return const Known(CertificateStatus.EXPIRING); - - case 'NOT_STARTED': - return const Known(CertificateStatus.NOT_STARTED); - - default: - return Unknown(data); - } - } - - - enum ComplianceType { - - BACKGROUND_CHECK, - - FOOD_HANDLER, - - RBS, - - LEGAL, - - OPERATIONAL, - - SAFETY, - - TRAINING, - - LICENSE, - - OTHER, - - } - - String complianceTypeSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue complianceTypeDeserializer(dynamic data) { - switch (data) { - - case 'BACKGROUND_CHECK': - return const Known(ComplianceType.BACKGROUND_CHECK); - - case 'FOOD_HANDLER': - return const Known(ComplianceType.FOOD_HANDLER); - - case 'RBS': - return const Known(ComplianceType.RBS); - - case 'LEGAL': - return const Known(ComplianceType.LEGAL); - - case 'OPERATIONAL': - return const Known(ComplianceType.OPERATIONAL); - - case 'SAFETY': - return const Known(ComplianceType.SAFETY); - - case 'TRAINING': - return const Known(ComplianceType.TRAINING); - - case 'LICENSE': - return const Known(ComplianceType.LICENSE); - - case 'OTHER': - return const Known(ComplianceType.OTHER); - - default: - return Unknown(data); - } - } - - - enum ConversationStatus { - - ACTIVE, - - } - - String conversationStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue conversationStatusDeserializer(dynamic data) { - switch (data) { - - case 'ACTIVE': - return const Known(ConversationStatus.ACTIVE); - - default: - return Unknown(data); - } - } - - - enum ConversationType { - - CLIENT_VENDOR, - - GROUP_STAFF, - - STAFF_CLIENT, - - STAFF_ADMIN, - - VENDOR_ADMIN, - - CLIENT_ADMIN, - - GROUP_ORDER_STAFF, - - } - - String conversationTypeSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue conversationTypeDeserializer(dynamic data) { - switch (data) { - - case 'CLIENT_VENDOR': - return const Known(ConversationType.CLIENT_VENDOR); - - case 'GROUP_STAFF': - return const Known(ConversationType.GROUP_STAFF); - - case 'STAFF_CLIENT': - return const Known(ConversationType.STAFF_CLIENT); - - case 'STAFF_ADMIN': - return const Known(ConversationType.STAFF_ADMIN); - - case 'VENDOR_ADMIN': - return const Known(ConversationType.VENDOR_ADMIN); - - case 'CLIENT_ADMIN': - return const Known(ConversationType.CLIENT_ADMIN); - - case 'GROUP_ORDER_STAFF': - return const Known(ConversationType.GROUP_ORDER_STAFF); - - default: - return Unknown(data); - } - } - - - enum DayOfWeek { - - SUNDAY, - - MONDAY, - - TUESDAY, - - WEDNESDAY, - - THURSDAY, - - FRIDAY, - - SATURDAY, - - } - - String dayOfWeekSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue dayOfWeekDeserializer(dynamic data) { - switch (data) { - - case 'SUNDAY': - return const Known(DayOfWeek.SUNDAY); - - case 'MONDAY': - return const Known(DayOfWeek.MONDAY); - - case 'TUESDAY': - return const Known(DayOfWeek.TUESDAY); - - case 'WEDNESDAY': - return const Known(DayOfWeek.WEDNESDAY); - - case 'THURSDAY': - return const Known(DayOfWeek.THURSDAY); - - case 'FRIDAY': - return const Known(DayOfWeek.FRIDAY); - - case 'SATURDAY': - return const Known(DayOfWeek.SATURDAY); - - default: - return Unknown(data); - } - } - - - enum DepartmentType { - - OPERATIONS, - - SALES, - - HR, - - FINANCE, - - IT, - - MARKETING, - - CUSTOMER_SERVICE, - - LOGISTICS, - - } - - String departmentTypeSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue departmentTypeDeserializer(dynamic data) { - switch (data) { - - case 'OPERATIONS': - return const Known(DepartmentType.OPERATIONS); - - case 'SALES': - return const Known(DepartmentType.SALES); - - case 'HR': - return const Known(DepartmentType.HR); - - case 'FINANCE': - return const Known(DepartmentType.FINANCE); - - case 'IT': - return const Known(DepartmentType.IT); - - case 'MARKETING': - return const Known(DepartmentType.MARKETING); - - case 'CUSTOMER_SERVICE': - return const Known(DepartmentType.CUSTOMER_SERVICE); - - case 'LOGISTICS': - return const Known(DepartmentType.LOGISTICS); - - default: - return Unknown(data); - } - } - - - enum DocumentStatus { - - UPLOADED, - - PENDING, - - EXPIRING, - - MISSING, - - VERIFIED, - - } - - String documentStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue documentStatusDeserializer(dynamic data) { - switch (data) { - - case 'UPLOADED': - return const Known(DocumentStatus.UPLOADED); - - case 'PENDING': - return const Known(DocumentStatus.PENDING); - - case 'EXPIRING': - return const Known(DocumentStatus.EXPIRING); - - case 'MISSING': - return const Known(DocumentStatus.MISSING); - - case 'VERIFIED': - return const Known(DocumentStatus.VERIFIED); - - default: - return Unknown(data); - } - } - - - enum DocumentType { - - W4_FORM, - - I9_FORM, - - STATE_TAX_FORM, - - DIRECT_DEPOSIT, - - ID_COPY, - - SSN_CARD, - - WORK_PERMIT, - - } - - String documentTypeSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue documentTypeDeserializer(dynamic data) { - switch (data) { - - case 'W4_FORM': - return const Known(DocumentType.W4_FORM); - - case 'I9_FORM': - return const Known(DocumentType.I9_FORM); - - case 'STATE_TAX_FORM': - return const Known(DocumentType.STATE_TAX_FORM); - - case 'DIRECT_DEPOSIT': - return const Known(DocumentType.DIRECT_DEPOSIT); - - case 'ID_COPY': - return const Known(DocumentType.ID_COPY); - - case 'SSN_CARD': - return const Known(DocumentType.SSN_CARD); - - case 'WORK_PERMIT': - return const Known(DocumentType.WORK_PERMIT); - - default: - return Unknown(data); - } - } - - - enum EmploymentType { - - FULL_TIME, - - PART_TIME, - - ON_CALL, - - WEEKENDS, - - SPECIFIC_DAYS, - - SEASONAL, - - MEDICAL_LEAVE, - - } - - String employmentTypeSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue employmentTypeDeserializer(dynamic data) { - switch (data) { - - case 'FULL_TIME': - return const Known(EmploymentType.FULL_TIME); - - case 'PART_TIME': - return const Known(EmploymentType.PART_TIME); - - case 'ON_CALL': - return const Known(EmploymentType.ON_CALL); - - case 'WEEKENDS': - return const Known(EmploymentType.WEEKENDS); - - case 'SPECIFIC_DAYS': - return const Known(EmploymentType.SPECIFIC_DAYS); - - case 'SEASONAL': - return const Known(EmploymentType.SEASONAL); - - case 'MEDICAL_LEAVE': - return const Known(EmploymentType.MEDICAL_LEAVE); - - default: - return Unknown(data); - } - } - - - enum EnglishProficiency { - - FLUENT, - - INTERMEDIATE, - - BASIC, - - NONE, - - } - - String englishProficiencySerializer(EnumValue e) { - return e.stringValue; - } - EnumValue englishProficiencyDeserializer(dynamic data) { - switch (data) { - - case 'FLUENT': - return const Known(EnglishProficiency.FLUENT); - - case 'INTERMEDIATE': - return const Known(EnglishProficiency.INTERMEDIATE); - - case 'BASIC': - return const Known(EnglishProficiency.BASIC); - - case 'NONE': - return const Known(EnglishProficiency.NONE); - - default: - return Unknown(data); - } - } - - - enum InovicePaymentTerms { - - NET_30, - - NET_45, - - NET_60, - - } - - String inovicePaymentTermsSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue inovicePaymentTermsDeserializer(dynamic data) { - switch (data) { - - case 'NET_30': - return const Known(InovicePaymentTerms.NET_30); - - case 'NET_45': - return const Known(InovicePaymentTerms.NET_45); - - case 'NET_60': - return const Known(InovicePaymentTerms.NET_60); - - default: - return Unknown(data); - } - } - - - enum InovicePaymentTermsTemp { - - NET_30, - - NET_45, - - NET_60, - - } - - String inovicePaymentTermsTempSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue inovicePaymentTermsTempDeserializer(dynamic data) { - switch (data) { - - case 'NET_30': - return const Known(InovicePaymentTermsTemp.NET_30); - - case 'NET_45': - return const Known(InovicePaymentTermsTemp.NET_45); - - case 'NET_60': - return const Known(InovicePaymentTermsTemp.NET_60); - - default: - return Unknown(data); - } - } - - - enum InvoiceStatus { - - PAID, - - PENDING, - - OVERDUE, - - PENDING_REVIEW, - - APPROVED, - - DISPUTED, - - DRAFT, - - } - - String invoiceStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue invoiceStatusDeserializer(dynamic data) { - switch (data) { - - case 'PAID': - return const Known(InvoiceStatus.PAID); - - case 'PENDING': - return const Known(InvoiceStatus.PENDING); - - case 'OVERDUE': - return const Known(InvoiceStatus.OVERDUE); - - case 'PENDING_REVIEW': - return const Known(InvoiceStatus.PENDING_REVIEW); - - case 'APPROVED': - return const Known(InvoiceStatus.APPROVED); - - case 'DISPUTED': - return const Known(InvoiceStatus.DISPUTED); - - case 'DRAFT': - return const Known(InvoiceStatus.DRAFT); - - default: - return Unknown(data); - } - } - - - enum OrderDuration { - - WEEKLY, - - MONTHLY, - - } - - String orderDurationSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue orderDurationDeserializer(dynamic data) { - switch (data) { - - case 'WEEKLY': - return const Known(OrderDuration.WEEKLY); - - case 'MONTHLY': - return const Known(OrderDuration.MONTHLY); - - default: - return Unknown(data); - } - } - - - enum OrderStatus { - - DRAFT, - - POSTED, - - FILLED, - - COMPLETED, - - CANCELLED, - - PENDING, - - FULLY_STAFFED, - - PARTIAL_STAFFED, - - } - - String orderStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue orderStatusDeserializer(dynamic data) { - switch (data) { - - case 'DRAFT': - return const Known(OrderStatus.DRAFT); - - case 'POSTED': - return const Known(OrderStatus.POSTED); - - case 'FILLED': - return const Known(OrderStatus.FILLED); - - case 'COMPLETED': - return const Known(OrderStatus.COMPLETED); - - case 'CANCELLED': - return const Known(OrderStatus.CANCELLED); - - case 'PENDING': - return const Known(OrderStatus.PENDING); - - case 'FULLY_STAFFED': - return const Known(OrderStatus.FULLY_STAFFED); - - case 'PARTIAL_STAFFED': - return const Known(OrderStatus.PARTIAL_STAFFED); - - default: - return Unknown(data); - } - } - - - enum OrderType { - - ONE_TIME, - - PERMANENT, - - RECURRING, - - RAPID, - - } - - String orderTypeSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue orderTypeDeserializer(dynamic data) { - switch (data) { - - case 'ONE_TIME': - return const Known(OrderType.ONE_TIME); - - case 'PERMANENT': - return const Known(OrderType.PERMANENT); - - case 'RECURRING': - return const Known(OrderType.RECURRING); - - case 'RAPID': - return const Known(OrderType.RAPID); - - default: - return Unknown(data); - } - } - - - enum RecentPaymentStatus { - - PAID, - - PENDING, - - FAILED, - - } - - String recentPaymentStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue recentPaymentStatusDeserializer(dynamic data) { - switch (data) { - - case 'PAID': - return const Known(RecentPaymentStatus.PAID); - - case 'PENDING': - return const Known(RecentPaymentStatus.PENDING); - - case 'FAILED': - return const Known(RecentPaymentStatus.FAILED); - - default: - return Unknown(data); - } - } - - - enum RelationshipType { - - FAMILY, - - SPOUSE, - - FRIEND, - - OTHER, - - } - - String relationshipTypeSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue relationshipTypeDeserializer(dynamic data) { - switch (data) { - - case 'FAMILY': - return const Known(RelationshipType.FAMILY); - - case 'SPOUSE': - return const Known(RelationshipType.SPOUSE); - - case 'FRIEND': - return const Known(RelationshipType.FRIEND); - - case 'OTHER': - return const Known(RelationshipType.OTHER); - - default: - return Unknown(data); - } - } - - - enum RoleCategoryType { - - KITCHEN_AND_CULINARY, - - CONCESSIONS, - - FACILITIES, - - BARTENDING, - - SECURITY, - - EVENT_STAFF, - - MANAGEMENT, - - TECHNICAL, - - OTHER, - - } - - String roleCategoryTypeSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue roleCategoryTypeDeserializer(dynamic data) { - switch (data) { - - case 'KITCHEN_AND_CULINARY': - return const Known(RoleCategoryType.KITCHEN_AND_CULINARY); - - case 'CONCESSIONS': - return const Known(RoleCategoryType.CONCESSIONS); - - case 'FACILITIES': - return const Known(RoleCategoryType.FACILITIES); - - case 'BARTENDING': - return const Known(RoleCategoryType.BARTENDING); - - case 'SECURITY': - return const Known(RoleCategoryType.SECURITY); - - case 'EVENT_STAFF': - return const Known(RoleCategoryType.EVENT_STAFF); - - case 'MANAGEMENT': - return const Known(RoleCategoryType.MANAGEMENT); - - case 'TECHNICAL': - return const Known(RoleCategoryType.TECHNICAL); - - case 'OTHER': - return const Known(RoleCategoryType.OTHER); - - default: - return Unknown(data); - } - } - - - enum RoleType { - - SKILLED, - - BEGINNER, - - CROSS_TRAINED, - - } - - String roleTypeSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue roleTypeDeserializer(dynamic data) { - switch (data) { - - case 'SKILLED': - return const Known(RoleType.SKILLED); - - case 'BEGINNER': - return const Known(RoleType.BEGINNER); - - case 'CROSS_TRAINED': - return const Known(RoleType.CROSS_TRAINED); - - default: - return Unknown(data); - } - } - - - enum ShiftStatus { - - DRAFT, - - FILLED, - - PENDING, - - ASSIGNED, - - CONFIRMED, - - OPEN, - - IN_PROGRESS, - - COMPLETED, - - CANCELED, - - } - - String shiftStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue shiftStatusDeserializer(dynamic data) { - switch (data) { - - case 'DRAFT': - return const Known(ShiftStatus.DRAFT); - - case 'FILLED': - return const Known(ShiftStatus.FILLED); - - case 'PENDING': - return const Known(ShiftStatus.PENDING); - - case 'ASSIGNED': - return const Known(ShiftStatus.ASSIGNED); - - case 'CONFIRMED': - return const Known(ShiftStatus.CONFIRMED); - - case 'OPEN': - return const Known(ShiftStatus.OPEN); - - case 'IN_PROGRESS': - return const Known(ShiftStatus.IN_PROGRESS); - - case 'COMPLETED': - return const Known(ShiftStatus.COMPLETED); - - case 'CANCELED': - return const Known(ShiftStatus.CANCELED); - - default: - return Unknown(data); - } - } - - - enum TaskPriority { - - LOW, - - NORMAL, - - HIGH, - - } - - String taskPrioritySerializer(EnumValue e) { - return e.stringValue; - } - EnumValue taskPriorityDeserializer(dynamic data) { - switch (data) { - - case 'LOW': - return const Known(TaskPriority.LOW); - - case 'NORMAL': - return const Known(TaskPriority.NORMAL); - - case 'HIGH': - return const Known(TaskPriority.HIGH); - - default: - return Unknown(data); - } - } - - - enum TaskStatus { - - PENDING, - - IN_PROGRESS, - - COMPLETED, - - } - - String taskStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue taskStatusDeserializer(dynamic data) { - switch (data) { - - case 'PENDING': - return const Known(TaskStatus.PENDING); - - case 'IN_PROGRESS': - return const Known(TaskStatus.IN_PROGRESS); - - case 'COMPLETED': - return const Known(TaskStatus.COMPLETED); - - default: - return Unknown(data); - } - } - - - enum TaxFormStatus { - - NOT_STARTED, - - DRAFT, - - SUBMITTED, - - APPROVED, - - REJECTED, - - } - - String taxFormStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue taxFormStatusDeserializer(dynamic data) { - switch (data) { - - case 'NOT_STARTED': - return const Known(TaxFormStatus.NOT_STARTED); - - case 'DRAFT': - return const Known(TaxFormStatus.DRAFT); - - case 'SUBMITTED': - return const Known(TaxFormStatus.SUBMITTED); - - case 'APPROVED': - return const Known(TaxFormStatus.APPROVED); - - case 'REJECTED': - return const Known(TaxFormStatus.REJECTED); - - default: - return Unknown(data); - } - } - - - enum TaxFormType { - - I9, - - W4, - - } - - String taxFormTypeSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue taxFormTypeDeserializer(dynamic data) { - switch (data) { - - case 'I9': - return const Known(TaxFormType.I9); - - case 'W4': - return const Known(TaxFormType.W4); - - default: - return Unknown(data); - } - } - - - enum TeamMemberInviteStatus { - - PENDING, - - ACCEPTED, - - CANCELLED, - - } - - String teamMemberInviteStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue teamMemberInviteStatusDeserializer(dynamic data) { - switch (data) { - - case 'PENDING': - return const Known(TeamMemberInviteStatus.PENDING); - - case 'ACCEPTED': - return const Known(TeamMemberInviteStatus.ACCEPTED); - - case 'CANCELLED': - return const Known(TeamMemberInviteStatus.CANCELLED); - - default: - return Unknown(data); - } - } - - - enum TeamMemberRole { - - OWNER, - - ADMIN, - - MEMBER, - - MANAGER, - - VIEWER, - - } - - String teamMemberRoleSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue teamMemberRoleDeserializer(dynamic data) { - switch (data) { - - case 'OWNER': - return const Known(TeamMemberRole.OWNER); - - case 'ADMIN': - return const Known(TeamMemberRole.ADMIN); - - case 'MEMBER': - return const Known(TeamMemberRole.MEMBER); - - case 'MANAGER': - return const Known(TeamMemberRole.MANAGER); - - case 'VIEWER': - return const Known(TeamMemberRole.VIEWER); - - default: - return Unknown(data); - } - } - - - enum UserBaseRole { - - ADMIN, - - USER, - - } - - String userBaseRoleSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue userBaseRoleDeserializer(dynamic data) { - switch (data) { - - case 'ADMIN': - return const Known(UserBaseRole.ADMIN); - - case 'USER': - return const Known(UserBaseRole.USER); - - default: - return Unknown(data); - } - } - - - enum ValidationStatus { - - APPROVED, - - PENDING_EXPERT_REVIEW, - - REJECTED, - - AI_VERIFIED, - - AI_FLAGGED, - - MANUAL_REVIEW_NEEDED, - - } - - String validationStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue validationStatusDeserializer(dynamic data) { - switch (data) { - - case 'APPROVED': - return const Known(ValidationStatus.APPROVED); - - case 'PENDING_EXPERT_REVIEW': - return const Known(ValidationStatus.PENDING_EXPERT_REVIEW); - - case 'REJECTED': - return const Known(ValidationStatus.REJECTED); - - case 'AI_VERIFIED': - return const Known(ValidationStatus.AI_VERIFIED); - - case 'AI_FLAGGED': - return const Known(ValidationStatus.AI_FLAGGED); - - case 'MANUAL_REVIEW_NEEDED': - return const Known(ValidationStatus.MANUAL_REVIEW_NEEDED); - - default: - return Unknown(data); - } - } - - - enum VendorTier { - - PREFERRED, - - APPROVED, - - STANDARD, - - } - - String vendorTierSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue vendorTierDeserializer(dynamic data) { - switch (data) { - - case 'PREFERRED': - return const Known(VendorTier.PREFERRED); - - case 'APPROVED': - return const Known(VendorTier.APPROVED); - - case 'STANDARD': - return const Known(VendorTier.STANDARD); - - default: - return Unknown(data); - } - } - - - enum WorkforceEmploymentType { - - W2, - - W1099, - - TEMPORARY, - - CONTRACT, - - } - - String workforceEmploymentTypeSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue workforceEmploymentTypeDeserializer(dynamic data) { - switch (data) { - - case 'W2': - return const Known(WorkforceEmploymentType.W2); - - case 'W1099': - return const Known(WorkforceEmploymentType.W1099); - - case 'TEMPORARY': - return const Known(WorkforceEmploymentType.TEMPORARY); - - case 'CONTRACT': - return const Known(WorkforceEmploymentType.CONTRACT); - - default: - return Unknown(data); - } - } - - - enum WorkforceStatus { - - ACTIVE, - - INACTIVE, - - } - - String workforceStatusSerializer(EnumValue e) { - return e.stringValue; - } - EnumValue workforceStatusDeserializer(dynamic data) { - switch (data) { - - case 'ACTIVE': - return const Known(WorkforceStatus.ACTIVE); - - case 'INACTIVE': - return const Known(WorkforceStatus.INACTIVE); - - default: - return Unknown(data); - } - } - - - - -String enumSerializer(Enum e) { - return e.name; -} - - - -/// A sealed class representing either a known enum value or an unknown string value. -@immutable -sealed class EnumValue { - const EnumValue(); - - - - /// The string representation of the value. - String get stringValue; - @override - String toString() { - return "EnumValue($stringValue)"; - } -} - -/// Represents a known, valid enum value. -class Known extends EnumValue { - /// The actual enum value. - final T value; - - const Known(this.value); - - @override - String get stringValue => value.name; - - @override - String toString() { - return "Known($stringValue)"; - } -} -/// Represents an unknown or unrecognized enum value. -class Unknown extends EnumValue { - /// The raw string value that couldn't be mapped to a known enum. - @override - final String stringValue; - - const Unknown(this.stringValue); - @override - String toString() { - return "Unknown($stringValue)"; - } -} - -class ExampleConnector { - - - CreateDocumentVariablesBuilder createDocument ({required DocumentType documentType, required String name, }) { - return CreateDocumentVariablesBuilder(dataConnect, documentType: documentType,name: name,); - } - - - UpdateDocumentVariablesBuilder updateDocument ({required String id, }) { - return UpdateDocumentVariablesBuilder(dataConnect, id: id,); - } - - - DeleteDocumentVariablesBuilder deleteDocument ({required String id, }) { - return DeleteDocumentVariablesBuilder(dataConnect, id: id,); - } - - - CreateConversationVariablesBuilder createConversation () { - return CreateConversationVariablesBuilder(dataConnect, ); - } - - - UpdateConversationVariablesBuilder updateConversation ({required String id, }) { - return UpdateConversationVariablesBuilder(dataConnect, id: id,); - } - - - UpdateConversationLastMessageVariablesBuilder updateConversationLastMessage ({required String id, }) { - return UpdateConversationLastMessageVariablesBuilder(dataConnect, id: id,); - } - - - DeleteConversationVariablesBuilder deleteConversation ({required String id, }) { - return DeleteConversationVariablesBuilder(dataConnect, id: id,); - } - - - ListHubsVariablesBuilder listHubs () { - return ListHubsVariablesBuilder(dataConnect, ); - } - - - GetHubByIdVariablesBuilder getHubById ({required String id, }) { - return GetHubByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetHubsByOwnerIdVariablesBuilder getHubsByOwnerId ({required String ownerId, }) { - return GetHubsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); - } - - - FilterHubsVariablesBuilder filterHubs () { - return FilterHubsVariablesBuilder(dataConnect, ); - } - - - CreateInvoiceVariablesBuilder createInvoice ({required InvoiceStatus status, required String vendorId, required String businessId, required String orderId, required String invoiceNumber, required Timestamp issueDate, required Timestamp dueDate, required double amount, }) { - return CreateInvoiceVariablesBuilder(dataConnect, status: status,vendorId: vendorId,businessId: businessId,orderId: orderId,invoiceNumber: invoiceNumber,issueDate: issueDate,dueDate: dueDate,amount: amount,); - } - - - UpdateInvoiceVariablesBuilder updateInvoice ({required String id, }) { - return UpdateInvoiceVariablesBuilder(dataConnect, id: id,); - } - - - DeleteInvoiceVariablesBuilder deleteInvoice ({required String id, }) { - return DeleteInvoiceVariablesBuilder(dataConnect, id: id,); - } - - - CreateVendorRateVariablesBuilder createVendorRate ({required String vendorId, }) { - return CreateVendorRateVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - UpdateVendorRateVariablesBuilder updateVendorRate ({required String id, }) { - return UpdateVendorRateVariablesBuilder(dataConnect, id: id,); - } - - - DeleteVendorRateVariablesBuilder deleteVendorRate ({required String id, }) { - return DeleteVendorRateVariablesBuilder(dataConnect, id: id,); - } - - - ListCategoriesVariablesBuilder listCategories () { - return ListCategoriesVariablesBuilder(dataConnect, ); - } - - - GetCategoryByIdVariablesBuilder getCategoryById ({required String id, }) { - return GetCategoryByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterCategoriesVariablesBuilder filterCategories () { - return FilterCategoriesVariablesBuilder(dataConnect, ); - } - - - CreateClientFeedbackVariablesBuilder createClientFeedback ({required String businessId, required String vendorId, }) { - return CreateClientFeedbackVariablesBuilder(dataConnect, businessId: businessId,vendorId: vendorId,); - } - - - UpdateClientFeedbackVariablesBuilder updateClientFeedback ({required String id, }) { - return UpdateClientFeedbackVariablesBuilder(dataConnect, id: id,); - } - - - DeleteClientFeedbackVariablesBuilder deleteClientFeedback ({required String id, }) { - return DeleteClientFeedbackVariablesBuilder(dataConnect, id: id,); - } - - - CreateTeamVariablesBuilder createTeam ({required String teamName, required String ownerId, required String ownerName, required String ownerRole, }) { - return CreateTeamVariablesBuilder(dataConnect, teamName: teamName,ownerId: ownerId,ownerName: ownerName,ownerRole: ownerRole,); - } - - - UpdateTeamVariablesBuilder updateTeam ({required String id, }) { - return UpdateTeamVariablesBuilder(dataConnect, id: id,); - } - - - DeleteTeamVariablesBuilder deleteTeam ({required String id, }) { - return DeleteTeamVariablesBuilder(dataConnect, id: id,); - } - - - ListTeamHubsVariablesBuilder listTeamHubs () { - return ListTeamHubsVariablesBuilder(dataConnect, ); - } - - - GetTeamHubByIdVariablesBuilder getTeamHubById ({required String id, }) { - return GetTeamHubByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetTeamHubsByTeamIdVariablesBuilder getTeamHubsByTeamId ({required String teamId, }) { - return GetTeamHubsByTeamIdVariablesBuilder(dataConnect, teamId: teamId,); - } - - - ListTeamHubsByOwnerIdVariablesBuilder listTeamHubsByOwnerId ({required String ownerId, }) { - return ListTeamHubsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); - } - - - CreateVendorVariablesBuilder createVendor ({required String userId, required String companyName, }) { - return CreateVendorVariablesBuilder(dataConnect, userId: userId,companyName: companyName,); - } - - - UpdateVendorVariablesBuilder updateVendor ({required String id, }) { - return UpdateVendorVariablesBuilder(dataConnect, id: id,); - } - - - DeleteVendorVariablesBuilder deleteVendor ({required String id, }) { - return DeleteVendorVariablesBuilder(dataConnect, id: id,); - } - - - CreateWorkforceVariablesBuilder createWorkforce ({required String vendorId, required String staffId, required String workforceNumber, }) { - return CreateWorkforceVariablesBuilder(dataConnect, vendorId: vendorId,staffId: staffId,workforceNumber: workforceNumber,); - } - - - UpdateWorkforceVariablesBuilder updateWorkforce ({required String id, }) { - return UpdateWorkforceVariablesBuilder(dataConnect, id: id,); - } - - - DeactivateWorkforceVariablesBuilder deactivateWorkforce ({required String id, }) { - return DeactivateWorkforceVariablesBuilder(dataConnect, id: id,); - } - - - CreateBusinessVariablesBuilder createBusiness ({required String businessName, required String userId, required BusinessRateGroup rateGroup, required BusinessStatus status, }) { - return CreateBusinessVariablesBuilder(dataConnect, businessName: businessName,userId: userId,rateGroup: rateGroup,status: status,); - } - - - UpdateBusinessVariablesBuilder updateBusiness ({required String id, }) { - return UpdateBusinessVariablesBuilder(dataConnect, id: id,); - } - - - DeleteBusinessVariablesBuilder deleteBusiness ({required String id, }) { - return DeleteBusinessVariablesBuilder(dataConnect, id: id,); - } - - - ListActivityLogsVariablesBuilder listActivityLogs () { - return ListActivityLogsVariablesBuilder(dataConnect, ); - } - - - GetActivityLogByIdVariablesBuilder getActivityLogById ({required String id, }) { - return GetActivityLogByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListActivityLogsByUserIdVariablesBuilder listActivityLogsByUserId ({required String userId, }) { - return ListActivityLogsByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - ListUnreadActivityLogsByUserIdVariablesBuilder listUnreadActivityLogsByUserId ({required String userId, }) { - return ListUnreadActivityLogsByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - FilterActivityLogsVariablesBuilder filterActivityLogs () { - return FilterActivityLogsVariablesBuilder(dataConnect, ); - } - - - CreateHubVariablesBuilder createHub ({required String name, required String ownerId, }) { - return CreateHubVariablesBuilder(dataConnect, name: name,ownerId: ownerId,); - } - - - UpdateHubVariablesBuilder updateHub ({required String id, }) { - return UpdateHubVariablesBuilder(dataConnect, id: id,); - } - - - DeleteHubVariablesBuilder deleteHub ({required String id, }) { - return DeleteHubVariablesBuilder(dataConnect, id: id,); - } - - - CreateLevelVariablesBuilder createLevel ({required String name, required int xpRequired, }) { - return CreateLevelVariablesBuilder(dataConnect, name: name,xpRequired: xpRequired,); - } - - - UpdateLevelVariablesBuilder updateLevel ({required String id, }) { - return UpdateLevelVariablesBuilder(dataConnect, id: id,); - } - - - DeleteLevelVariablesBuilder deleteLevel ({required String id, }) { - return DeleteLevelVariablesBuilder(dataConnect, id: id,); - } - - - ListLevelsVariablesBuilder listLevels () { - return ListLevelsVariablesBuilder(dataConnect, ); - } - - - GetLevelByIdVariablesBuilder getLevelById ({required String id, }) { - return GetLevelByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterLevelsVariablesBuilder filterLevels () { - return FilterLevelsVariablesBuilder(dataConnect, ); - } - - - CreateRecentPaymentVariablesBuilder createRecentPayment ({required String staffId, required String applicationId, required String invoiceId, }) { - return CreateRecentPaymentVariablesBuilder(dataConnect, staffId: staffId,applicationId: applicationId,invoiceId: invoiceId,); - } - - - UpdateRecentPaymentVariablesBuilder updateRecentPayment ({required String id, }) { - return UpdateRecentPaymentVariablesBuilder(dataConnect, id: id,); - } - - - DeleteRecentPaymentVariablesBuilder deleteRecentPayment ({required String id, }) { - return DeleteRecentPaymentVariablesBuilder(dataConnect, id: id,); - } - - - GetShiftRoleByIdVariablesBuilder getShiftRoleById ({required String shiftId, required String roleId, }) { - return GetShiftRoleByIdVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,); - } - - - ListShiftRolesByShiftIdVariablesBuilder listShiftRolesByShiftId ({required String shiftId, }) { - return ListShiftRolesByShiftIdVariablesBuilder(dataConnect, shiftId: shiftId,); - } - - - ListShiftRolesByRoleIdVariablesBuilder listShiftRolesByRoleId ({required String roleId, }) { - return ListShiftRolesByRoleIdVariablesBuilder(dataConnect, roleId: roleId,); - } - - - ListShiftRolesByShiftIdAndTimeRangeVariablesBuilder listShiftRolesByShiftIdAndTimeRange ({required String shiftId, required Timestamp start, required Timestamp end, }) { - return ListShiftRolesByShiftIdAndTimeRangeVariablesBuilder(dataConnect, shiftId: shiftId,start: start,end: end,); - } - - - ListShiftRolesByVendorIdVariablesBuilder listShiftRolesByVendorId ({required String vendorId, }) { - return ListShiftRolesByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - CreateTeamHudDepartmentVariablesBuilder createTeamHudDepartment ({required String name, required String teamHubId, }) { - return CreateTeamHudDepartmentVariablesBuilder(dataConnect, name: name,teamHubId: teamHubId,); - } - - - UpdateTeamHudDepartmentVariablesBuilder updateTeamHudDepartment ({required String id, }) { - return UpdateTeamHudDepartmentVariablesBuilder(dataConnect, id: id,); - } - - - DeleteTeamHudDepartmentVariablesBuilder deleteTeamHudDepartment ({required String id, }) { - return DeleteTeamHudDepartmentVariablesBuilder(dataConnect, id: id,); - } - - - CreateTeamMemberVariablesBuilder createTeamMember ({required String teamId, required TeamMemberRole role, required String userId, }) { - return CreateTeamMemberVariablesBuilder(dataConnect, teamId: teamId,role: role,userId: userId,); - } - - - UpdateTeamMemberVariablesBuilder updateTeamMember ({required String id, }) { - return UpdateTeamMemberVariablesBuilder(dataConnect, id: id,); - } - - - UpdateTeamMemberInviteStatusVariablesBuilder updateTeamMemberInviteStatus ({required String id, required TeamMemberInviteStatus inviteStatus, }) { - return UpdateTeamMemberInviteStatusVariablesBuilder(dataConnect, id: id,inviteStatus: inviteStatus,); - } - - - AcceptInviteByCodeVariablesBuilder acceptInviteByCode ({required String inviteCode, }) { - return AcceptInviteByCodeVariablesBuilder(dataConnect, inviteCode: inviteCode,); - } - - - CancelInviteByCodeVariablesBuilder cancelInviteByCode ({required String inviteCode, }) { - return CancelInviteByCodeVariablesBuilder(dataConnect, inviteCode: inviteCode,); - } - - - DeleteTeamMemberVariablesBuilder deleteTeamMember ({required String id, }) { - return DeleteTeamMemberVariablesBuilder(dataConnect, id: id,); - } - - - CreateUserVariablesBuilder createUser ({required String id, required UserBaseRole role, }) { - return CreateUserVariablesBuilder(dataConnect, id: id,role: role,); - } - - - UpdateUserVariablesBuilder updateUser ({required String id, }) { - return UpdateUserVariablesBuilder(dataConnect, id: id,); - } - - - DeleteUserVariablesBuilder deleteUser ({required String id, }) { - return DeleteUserVariablesBuilder(dataConnect, id: id,); - } - - - GetVendorByIdVariablesBuilder getVendorById ({required String id, }) { - return GetVendorByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetVendorByUserIdVariablesBuilder getVendorByUserId ({required String userId, }) { - return GetVendorByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - ListVendorsVariablesBuilder listVendors () { - return ListVendorsVariablesBuilder(dataConnect, ); - } - - - CreateShiftVariablesBuilder createShift ({required String title, required String orderId, }) { - return CreateShiftVariablesBuilder(dataConnect, title: title,orderId: orderId,); - } - - - UpdateShiftVariablesBuilder updateShift ({required String id, }) { - return UpdateShiftVariablesBuilder(dataConnect, id: id,); - } - - - DeleteShiftVariablesBuilder deleteShift ({required String id, }) { - return DeleteShiftVariablesBuilder(dataConnect, id: id,); - } - - - ListShiftsVariablesBuilder listShifts () { - return ListShiftsVariablesBuilder(dataConnect, ); - } - - - GetShiftByIdVariablesBuilder getShiftById ({required String id, }) { - return GetShiftByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterShiftsVariablesBuilder filterShifts () { - return FilterShiftsVariablesBuilder(dataConnect, ); - } - - - GetShiftsByBusinessIdVariablesBuilder getShiftsByBusinessId ({required String businessId, }) { - return GetShiftsByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); - } - - - GetShiftsByVendorIdVariablesBuilder getShiftsByVendorId ({required String vendorId, }) { - return GetShiftsByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - CreateShiftRoleVariablesBuilder createShiftRole ({required String shiftId, required String roleId, required int count, }) { - return CreateShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,count: count,); - } - - - UpdateShiftRoleVariablesBuilder updateShiftRole ({required String shiftId, required String roleId, }) { - return UpdateShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,); - } - - - DeleteShiftRoleVariablesBuilder deleteShiftRole ({required String shiftId, required String roleId, }) { - return DeleteShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,); - } - - - ListCoursesVariablesBuilder listCourses () { - return ListCoursesVariablesBuilder(dataConnect, ); - } - - - GetCourseByIdVariablesBuilder getCourseById ({required String id, }) { - return GetCourseByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterCoursesVariablesBuilder filterCourses () { - return FilterCoursesVariablesBuilder(dataConnect, ); - } - - - ListDocumentsVariablesBuilder listDocuments () { - return ListDocumentsVariablesBuilder(dataConnect, ); - } - - - GetDocumentByIdVariablesBuilder getDocumentById ({required String id, }) { - return GetDocumentByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterDocumentsVariablesBuilder filterDocuments () { - return FilterDocumentsVariablesBuilder(dataConnect, ); - } - - - CreateAttireOptionVariablesBuilder createAttireOption ({required String itemId, required String label, }) { - return CreateAttireOptionVariablesBuilder(dataConnect, itemId: itemId,label: label,); - } - - - UpdateAttireOptionVariablesBuilder updateAttireOption ({required String id, }) { - return UpdateAttireOptionVariablesBuilder(dataConnect, id: id,); - } - - - DeleteAttireOptionVariablesBuilder deleteAttireOption ({required String id, }) { - return DeleteAttireOptionVariablesBuilder(dataConnect, id: id,); - } - - - CreateCategoryVariablesBuilder createCategory ({required String categoryId, required String label, }) { - return CreateCategoryVariablesBuilder(dataConnect, categoryId: categoryId,label: label,); - } - - - UpdateCategoryVariablesBuilder updateCategory ({required String id, }) { - return UpdateCategoryVariablesBuilder(dataConnect, id: id,); - } - - - DeleteCategoryVariablesBuilder deleteCategory ({required String id, }) { - return DeleteCategoryVariablesBuilder(dataConnect, id: id,); - } - - - ListConversationsVariablesBuilder listConversations () { - return ListConversationsVariablesBuilder(dataConnect, ); - } - - - GetConversationByIdVariablesBuilder getConversationById ({required String id, }) { - return GetConversationByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListConversationsByTypeVariablesBuilder listConversationsByType ({required ConversationType conversationType, }) { - return ListConversationsByTypeVariablesBuilder(dataConnect, conversationType: conversationType,); - } - - - ListConversationsByStatusVariablesBuilder listConversationsByStatus ({required ConversationStatus status, }) { - return ListConversationsByStatusVariablesBuilder(dataConnect, status: status,); - } - - - FilterConversationsVariablesBuilder filterConversations () { - return FilterConversationsVariablesBuilder(dataConnect, ); - } - - - ListAttireOptionsVariablesBuilder listAttireOptions () { - return ListAttireOptionsVariablesBuilder(dataConnect, ); - } - - - GetAttireOptionByIdVariablesBuilder getAttireOptionById ({required String id, }) { - return GetAttireOptionByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterAttireOptionsVariablesBuilder filterAttireOptions () { - return FilterAttireOptionsVariablesBuilder(dataConnect, ); - } - - - CreateStaffVariablesBuilder createStaff ({required String userId, required String fullName, }) { - return CreateStaffVariablesBuilder(dataConnect, userId: userId,fullName: fullName,); - } - - - UpdateStaffVariablesBuilder updateStaff ({required String id, }) { - return UpdateStaffVariablesBuilder(dataConnect, id: id,); - } - - - DeleteStaffVariablesBuilder deleteStaff ({required String id, }) { - return DeleteStaffVariablesBuilder(dataConnect, id: id,); - } - - - CreateStaffDocumentVariablesBuilder createStaffDocument ({required String staffId, required String staffName, required String documentId, required DocumentStatus status, }) { - return CreateStaffDocumentVariablesBuilder(dataConnect, staffId: staffId,staffName: staffName,documentId: documentId,status: status,); - } - - - UpdateStaffDocumentVariablesBuilder updateStaffDocument ({required String staffId, required String documentId, }) { - return UpdateStaffDocumentVariablesBuilder(dataConnect, staffId: staffId,documentId: documentId,); - } - - - DeleteStaffDocumentVariablesBuilder deleteStaffDocument ({required String staffId, required String documentId, }) { - return DeleteStaffDocumentVariablesBuilder(dataConnect, staffId: staffId,documentId: documentId,); - } - - - CreateStaffRoleVariablesBuilder createStaffRole ({required String staffId, required String roleId, }) { - return CreateStaffRoleVariablesBuilder(dataConnect, staffId: staffId,roleId: roleId,); - } - - - DeleteStaffRoleVariablesBuilder deleteStaffRole ({required String staffId, required String roleId, }) { - return DeleteStaffRoleVariablesBuilder(dataConnect, staffId: staffId,roleId: roleId,); - } - - - ListTaxFormsVariablesBuilder listTaxForms () { - return ListTaxFormsVariablesBuilder(dataConnect, ); - } - - - GetTaxFormByIdVariablesBuilder getTaxFormById ({required String id, }) { - return GetTaxFormByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetTaxFormsBystaffIdVariablesBuilder getTaxFormsBystaffId ({required String staffId, }) { - return GetTaxFormsBystaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - FilterTaxFormsVariablesBuilder filterTaxForms () { - return FilterTaxFormsVariablesBuilder(dataConnect, ); - } - - - ListTeamsVariablesBuilder listTeams () { - return ListTeamsVariablesBuilder(dataConnect, ); - } - - - GetTeamByIdVariablesBuilder getTeamById ({required String id, }) { - return GetTeamByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetTeamsByOwnerIdVariablesBuilder getTeamsByOwnerId ({required String ownerId, }) { - return GetTeamsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); - } - - - ListTeamHudDepartmentsVariablesBuilder listTeamHudDepartments () { - return ListTeamHudDepartmentsVariablesBuilder(dataConnect, ); - } - - - GetTeamHudDepartmentByIdVariablesBuilder getTeamHudDepartmentById ({required String id, }) { - return GetTeamHudDepartmentByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListTeamHudDepartmentsByTeamHubIdVariablesBuilder listTeamHudDepartmentsByTeamHubId ({required String teamHubId, }) { - return ListTeamHudDepartmentsByTeamHubIdVariablesBuilder(dataConnect, teamHubId: teamHubId,); - } - - - CreateCertificateVariablesBuilder createCertificate ({required String name, required CertificateStatus status, required String staffId, }) { - return CreateCertificateVariablesBuilder(dataConnect, name: name,status: status,staffId: staffId,); - } - - - UpdateCertificateVariablesBuilder updateCertificate ({required String id, }) { - return UpdateCertificateVariablesBuilder(dataConnect, id: id,); - } - - - DeleteCertificateVariablesBuilder deleteCertificate ({required String id, }) { - return DeleteCertificateVariablesBuilder(dataConnect, id: id,); - } - - - ListCustomRateCardsVariablesBuilder listCustomRateCards () { - return ListCustomRateCardsVariablesBuilder(dataConnect, ); - } - - - GetCustomRateCardByIdVariablesBuilder getCustomRateCardById ({required String id, }) { - return GetCustomRateCardByIdVariablesBuilder(dataConnect, id: id,); - } - - - CreateFaqDataVariablesBuilder createFaqData ({required String category, }) { - return CreateFaqDataVariablesBuilder(dataConnect, category: category,); - } - - - UpdateFaqDataVariablesBuilder updateFaqData ({required String id, }) { - return UpdateFaqDataVariablesBuilder(dataConnect, id: id,); - } - - - DeleteFaqDataVariablesBuilder deleteFaqData ({required String id, }) { - return DeleteFaqDataVariablesBuilder(dataConnect, id: id,); - } - - - ListMessagesVariablesBuilder listMessages () { - return ListMessagesVariablesBuilder(dataConnect, ); - } - - - GetMessageByIdVariablesBuilder getMessageById ({required String id, }) { - return GetMessageByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetMessagesByConversationIdVariablesBuilder getMessagesByConversationId ({required String conversationId, }) { - return GetMessagesByConversationIdVariablesBuilder(dataConnect, conversationId: conversationId,); - } - - - CreateStaffAvailabilityStatsVariablesBuilder createStaffAvailabilityStats ({required String staffId, }) { - return CreateStaffAvailabilityStatsVariablesBuilder(dataConnect, staffId: staffId,); - } - - - UpdateStaffAvailabilityStatsVariablesBuilder updateStaffAvailabilityStats ({required String staffId, }) { - return UpdateStaffAvailabilityStatsVariablesBuilder(dataConnect, staffId: staffId,); - } - - - DeleteStaffAvailabilityStatsVariablesBuilder deleteStaffAvailabilityStats ({required String staffId, }) { - return DeleteStaffAvailabilityStatsVariablesBuilder(dataConnect, staffId: staffId,); - } - - - GetStaffDocumentByKeyVariablesBuilder getStaffDocumentByKey ({required String staffId, required String documentId, }) { - return GetStaffDocumentByKeyVariablesBuilder(dataConnect, staffId: staffId,documentId: documentId,); - } - - - ListStaffDocumentsByStaffIdVariablesBuilder listStaffDocumentsByStaffId ({required String staffId, }) { - return ListStaffDocumentsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - ListStaffDocumentsByDocumentTypeVariablesBuilder listStaffDocumentsByDocumentType ({required DocumentType documentType, }) { - return ListStaffDocumentsByDocumentTypeVariablesBuilder(dataConnect, documentType: documentType,); - } - - - ListStaffDocumentsByStatusVariablesBuilder listStaffDocumentsByStatus ({required DocumentStatus status, }) { - return ListStaffDocumentsByStatusVariablesBuilder(dataConnect, status: status,); - } - - - GetWorkforceByIdVariablesBuilder getWorkforceById ({required String id, }) { - return GetWorkforceByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetWorkforceByVendorAndStaffVariablesBuilder getWorkforceByVendorAndStaff ({required String vendorId, required String staffId, }) { - return GetWorkforceByVendorAndStaffVariablesBuilder(dataConnect, vendorId: vendorId,staffId: staffId,); - } - - - ListWorkforceByVendorIdVariablesBuilder listWorkforceByVendorId ({required String vendorId, }) { - return ListWorkforceByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - ListWorkforceByStaffIdVariablesBuilder listWorkforceByStaffId ({required String staffId, }) { - return ListWorkforceByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - GetWorkforceByVendorAndNumberVariablesBuilder getWorkforceByVendorAndNumber ({required String vendorId, required String workforceNumber, }) { - return GetWorkforceByVendorAndNumberVariablesBuilder(dataConnect, vendorId: vendorId,workforceNumber: workforceNumber,); - } - - - CreateActivityLogVariablesBuilder createActivityLog ({required String userId, required Timestamp date, required String title, required String description, required ActivityType activityType, }) { - return CreateActivityLogVariablesBuilder(dataConnect, userId: userId,date: date,title: title,description: description,activityType: activityType,); - } - - - UpdateActivityLogVariablesBuilder updateActivityLog ({required String id, }) { - return UpdateActivityLogVariablesBuilder(dataConnect, id: id,); - } - - - MarkActivityLogAsReadVariablesBuilder markActivityLogAsRead ({required String id, }) { - return MarkActivityLogAsReadVariablesBuilder(dataConnect, id: id,); - } - - - MarkActivityLogsAsReadVariablesBuilder markActivityLogsAsRead ({required List ids, }) { - return MarkActivityLogsAsReadVariablesBuilder(dataConnect, ids: ids,); - } - - - DeleteActivityLogVariablesBuilder deleteActivityLog ({required String id, }) { - return DeleteActivityLogVariablesBuilder(dataConnect, id: id,); - } - - - ListEmergencyContactsVariablesBuilder listEmergencyContacts () { - return ListEmergencyContactsVariablesBuilder(dataConnect, ); - } - - - GetEmergencyContactByIdVariablesBuilder getEmergencyContactById ({required String id, }) { - return GetEmergencyContactByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetEmergencyContactsByStaffIdVariablesBuilder getEmergencyContactsByStaffId ({required String staffId, }) { - return GetEmergencyContactsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - ListFaqDatasVariablesBuilder listFaqDatas () { - return ListFaqDatasVariablesBuilder(dataConnect, ); - } - - - GetFaqDataByIdVariablesBuilder getFaqDataById ({required String id, }) { - return GetFaqDataByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterFaqDatasVariablesBuilder filterFaqDatas () { - return FilterFaqDatasVariablesBuilder(dataConnect, ); - } - - - CreateStaffAvailabilityVariablesBuilder createStaffAvailability ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { - return CreateStaffAvailabilityVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); - } - - - UpdateStaffAvailabilityVariablesBuilder updateStaffAvailability ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { - return UpdateStaffAvailabilityVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); - } - - - DeleteStaffAvailabilityVariablesBuilder deleteStaffAvailability ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { - return DeleteStaffAvailabilityVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); - } - - - ListStaffAvailabilityStatsVariablesBuilder listStaffAvailabilityStats () { - return ListStaffAvailabilityStatsVariablesBuilder(dataConnect, ); - } - - - GetStaffAvailabilityStatsByStaffIdVariablesBuilder getStaffAvailabilityStatsByStaffId ({required String staffId, }) { - return GetStaffAvailabilityStatsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - FilterStaffAvailabilityStatsVariablesBuilder filterStaffAvailabilityStats () { - return FilterStaffAvailabilityStatsVariablesBuilder(dataConnect, ); - } - - - CreateTeamHubVariablesBuilder createTeamHub ({required String teamId, required String hubName, required String address, required String city, required String state, required String zipCode, required String managerName, }) { - return CreateTeamHubVariablesBuilder(dataConnect, teamId: teamId,hubName: hubName,address: address,city: city,state: state,zipCode: zipCode,managerName: managerName,); - } - - - UpdateTeamHubVariablesBuilder updateTeamHub ({required String id, }) { - return UpdateTeamHubVariablesBuilder(dataConnect, id: id,); - } - - - DeleteTeamHubVariablesBuilder deleteTeamHub ({required String id, }) { - return DeleteTeamHubVariablesBuilder(dataConnect, id: id,); - } - - - CreateUserConversationVariablesBuilder createUserConversation ({required String conversationId, required String userId, }) { - return CreateUserConversationVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); - } - - - UpdateUserConversationVariablesBuilder updateUserConversation ({required String conversationId, required String userId, }) { - return UpdateUserConversationVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); - } - - - MarkConversationAsReadVariablesBuilder markConversationAsRead ({required String conversationId, required String userId, }) { - return MarkConversationAsReadVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); - } - - - IncrementUnreadForUserVariablesBuilder incrementUnreadForUser ({required String conversationId, required String userId, required int unreadCount, }) { - return IncrementUnreadForUserVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,unreadCount: unreadCount,); - } - - - DeleteUserConversationVariablesBuilder deleteUserConversation ({required String conversationId, required String userId, }) { - return DeleteUserConversationVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); - } - - - ListBusinessesVariablesBuilder listBusinesses () { - return ListBusinessesVariablesBuilder(dataConnect, ); - } - - - GetBusinessesByUserIdVariablesBuilder getBusinessesByUserId ({required String userId, }) { - return GetBusinessesByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - GetBusinessByIdVariablesBuilder getBusinessById ({required String id, }) { - return GetBusinessByIdVariablesBuilder(dataConnect, id: id,); - } - - - CreateMemberTaskVariablesBuilder createMemberTask ({required String teamMemberId, required String taskId, }) { - return CreateMemberTaskVariablesBuilder(dataConnect, teamMemberId: teamMemberId,taskId: taskId,); - } - - - DeleteMemberTaskVariablesBuilder deleteMemberTask ({required String teamMemberId, required String taskId, }) { - return DeleteMemberTaskVariablesBuilder(dataConnect, teamMemberId: teamMemberId,taskId: taskId,); - } - - - GetStaffCourseByIdVariablesBuilder getStaffCourseById ({required String id, }) { - return GetStaffCourseByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListStaffCoursesByStaffIdVariablesBuilder listStaffCoursesByStaffId ({required String staffId, }) { - return ListStaffCoursesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - ListStaffCoursesByCourseIdVariablesBuilder listStaffCoursesByCourseId ({required String courseId, }) { - return ListStaffCoursesByCourseIdVariablesBuilder(dataConnect, courseId: courseId,); - } - - - GetStaffCourseByStaffAndCourseVariablesBuilder getStaffCourseByStaffAndCourse ({required String staffId, required String courseId, }) { - return GetStaffCourseByStaffAndCourseVariablesBuilder(dataConnect, staffId: staffId,courseId: courseId,); - } - - - CreateTaskVariablesBuilder createTask ({required String taskName, required TaskPriority priority, required TaskStatus status, required String ownerId, }) { - return CreateTaskVariablesBuilder(dataConnect, taskName: taskName,priority: priority,status: status,ownerId: ownerId,); - } - - - UpdateTaskVariablesBuilder updateTask ({required String id, }) { - return UpdateTaskVariablesBuilder(dataConnect, id: id,); - } - - - DeleteTaskVariablesBuilder deleteTask ({required String id, }) { - return DeleteTaskVariablesBuilder(dataConnect, id: id,); - } - - - ListTasksVariablesBuilder listTasks () { - return ListTasksVariablesBuilder(dataConnect, ); - } - - - GetTaskByIdVariablesBuilder getTaskById ({required String id, }) { - return GetTaskByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetTasksByOwnerIdVariablesBuilder getTasksByOwnerId ({required String ownerId, }) { - return GetTasksByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); - } - - - FilterTasksVariablesBuilder filterTasks () { - return FilterTasksVariablesBuilder(dataConnect, ); - } - - - ListAssignmentsVariablesBuilder listAssignments () { - return ListAssignmentsVariablesBuilder(dataConnect, ); - } - - - GetAssignmentByIdVariablesBuilder getAssignmentById ({required String id, }) { - return GetAssignmentByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListAssignmentsByWorkforceIdVariablesBuilder listAssignmentsByWorkforceId ({required String workforceId, }) { - return ListAssignmentsByWorkforceIdVariablesBuilder(dataConnect, workforceId: workforceId,); - } - - - ListAssignmentsByWorkforceIdsVariablesBuilder listAssignmentsByWorkforceIds ({required List workforceIds, }) { - return ListAssignmentsByWorkforceIdsVariablesBuilder(dataConnect, workforceIds: workforceIds,); - } - - - ListAssignmentsByShiftRoleVariablesBuilder listAssignmentsByShiftRole ({required String shiftId, required String roleId, }) { - return ListAssignmentsByShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,); - } - - - FilterAssignmentsVariablesBuilder filterAssignments ({required List shiftIds, required List roleIds, }) { - return FilterAssignmentsVariablesBuilder(dataConnect, shiftIds: shiftIds,roleIds: roleIds,); - } - - - ListInvoicesVariablesBuilder listInvoices () { - return ListInvoicesVariablesBuilder(dataConnect, ); - } - - - GetInvoiceByIdVariablesBuilder getInvoiceById ({required String id, }) { - return GetInvoiceByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListInvoicesByVendorIdVariablesBuilder listInvoicesByVendorId ({required String vendorId, }) { - return ListInvoicesByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - ListInvoicesByBusinessIdVariablesBuilder listInvoicesByBusinessId ({required String businessId, }) { - return ListInvoicesByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); - } - - - ListInvoicesByOrderIdVariablesBuilder listInvoicesByOrderId ({required String orderId, }) { - return ListInvoicesByOrderIdVariablesBuilder(dataConnect, orderId: orderId,); - } - - - ListInvoicesByStatusVariablesBuilder listInvoicesByStatus ({required InvoiceStatus status, }) { - return ListInvoicesByStatusVariablesBuilder(dataConnect, status: status,); - } - - - FilterInvoicesVariablesBuilder filterInvoices () { - return FilterInvoicesVariablesBuilder(dataConnect, ); - } - - - ListOverdueInvoicesVariablesBuilder listOverdueInvoices ({required Timestamp now, }) { - return ListOverdueInvoicesVariablesBuilder(dataConnect, now: now,); - } - - - ListTaskCommentsVariablesBuilder listTaskComments () { - return ListTaskCommentsVariablesBuilder(dataConnect, ); - } - - - GetTaskCommentByIdVariablesBuilder getTaskCommentById ({required String id, }) { - return GetTaskCommentByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetTaskCommentsByTaskIdVariablesBuilder getTaskCommentsByTaskId ({required String taskId, }) { - return GetTaskCommentsByTaskIdVariablesBuilder(dataConnect, taskId: taskId,); - } - - - CreateVendorBenefitPlanVariablesBuilder createVendorBenefitPlan ({required String vendorId, required String title, }) { - return CreateVendorBenefitPlanVariablesBuilder(dataConnect, vendorId: vendorId,title: title,); - } - - - UpdateVendorBenefitPlanVariablesBuilder updateVendorBenefitPlan ({required String id, }) { - return UpdateVendorBenefitPlanVariablesBuilder(dataConnect, id: id,); - } - - - DeleteVendorBenefitPlanVariablesBuilder deleteVendorBenefitPlan ({required String id, }) { - return DeleteVendorBenefitPlanVariablesBuilder(dataConnect, id: id,); - } - - - ListVendorRatesVariablesBuilder listVendorRates () { - return ListVendorRatesVariablesBuilder(dataConnect, ); - } - - - GetVendorRateByIdVariablesBuilder getVendorRateById ({required String id, }) { - return GetVendorRateByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListApplicationsVariablesBuilder listApplications () { - return ListApplicationsVariablesBuilder(dataConnect, ); - } - - - GetApplicationByIdVariablesBuilder getApplicationById ({required String id, }) { - return GetApplicationByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetApplicationsByShiftIdVariablesBuilder getApplicationsByShiftId ({required String shiftId, }) { - return GetApplicationsByShiftIdVariablesBuilder(dataConnect, shiftId: shiftId,); - } - - - GetApplicationsByShiftIdAndStatusVariablesBuilder getApplicationsByShiftIdAndStatus ({required String shiftId, required ApplicationStatus status, }) { - return GetApplicationsByShiftIdAndStatusVariablesBuilder(dataConnect, shiftId: shiftId,status: status,); - } - - - GetApplicationsByStaffIdVariablesBuilder getApplicationsByStaffId ({required String staffId, }) { - return GetApplicationsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - ListInvoiceTemplatesVariablesBuilder listInvoiceTemplates () { - return ListInvoiceTemplatesVariablesBuilder(dataConnect, ); - } - - - GetInvoiceTemplateByIdVariablesBuilder getInvoiceTemplateById ({required String id, }) { - return GetInvoiceTemplateByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListInvoiceTemplatesByOwnerIdVariablesBuilder listInvoiceTemplatesByOwnerId ({required String ownerId, }) { - return ListInvoiceTemplatesByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); - } - - - ListInvoiceTemplatesByVendorIdVariablesBuilder listInvoiceTemplatesByVendorId ({required String vendorId, }) { - return ListInvoiceTemplatesByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - ListInvoiceTemplatesByBusinessIdVariablesBuilder listInvoiceTemplatesByBusinessId ({required String businessId, }) { - return ListInvoiceTemplatesByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); - } - - - ListInvoiceTemplatesByOrderIdVariablesBuilder listInvoiceTemplatesByOrderId ({required String orderId, }) { - return ListInvoiceTemplatesByOrderIdVariablesBuilder(dataConnect, orderId: orderId,); - } - - - SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder searchInvoiceTemplatesByOwnerAndName ({required String ownerId, required String name, }) { - return SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder(dataConnect, ownerId: ownerId,name: name,); - } - - - ListRolesVariablesBuilder listRoles () { - return ListRolesVariablesBuilder(dataConnect, ); - } - - - GetRoleByIdVariablesBuilder getRoleById ({required String id, }) { - return GetRoleByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListRolesByVendorIdVariablesBuilder listRolesByVendorId ({required String vendorId, }) { - return ListRolesByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - ListRolesByroleCategoryIdVariablesBuilder listRolesByroleCategoryId ({required String roleCategoryId, }) { - return ListRolesByroleCategoryIdVariablesBuilder(dataConnect, roleCategoryId: roleCategoryId,); - } - - - ListStaffVariablesBuilder listStaff () { - return ListStaffVariablesBuilder(dataConnect, ); - } - - - GetStaffByIdVariablesBuilder getStaffById ({required String id, }) { - return GetStaffByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetStaffByUserIdVariablesBuilder getStaffByUserId ({required String userId, }) { - return GetStaffByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - FilterStaffVariablesBuilder filterStaff () { - return FilterStaffVariablesBuilder(dataConnect, ); - } - - - CreateTaskCommentVariablesBuilder createTaskComment ({required String taskId, required String teamMemberId, required String comment, }) { - return CreateTaskCommentVariablesBuilder(dataConnect, taskId: taskId,teamMemberId: teamMemberId,comment: comment,); - } - - - UpdateTaskCommentVariablesBuilder updateTaskComment ({required String id, }) { - return UpdateTaskCommentVariablesBuilder(dataConnect, id: id,); - } - - - DeleteTaskCommentVariablesBuilder deleteTaskComment ({required String id, }) { - return DeleteTaskCommentVariablesBuilder(dataConnect, id: id,); - } - - - ListUserConversationsVariablesBuilder listUserConversations () { - return ListUserConversationsVariablesBuilder(dataConnect, ); - } - - - GetUserConversationByKeyVariablesBuilder getUserConversationByKey ({required String conversationId, required String userId, }) { - return GetUserConversationByKeyVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); - } - - - ListUserConversationsByUserIdVariablesBuilder listUserConversationsByUserId ({required String userId, }) { - return ListUserConversationsByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - ListUnreadUserConversationsByUserIdVariablesBuilder listUnreadUserConversationsByUserId ({required String userId, }) { - return ListUnreadUserConversationsByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - ListUserConversationsByConversationIdVariablesBuilder listUserConversationsByConversationId ({required String conversationId, }) { - return ListUserConversationsByConversationIdVariablesBuilder(dataConnect, conversationId: conversationId,); - } - - - FilterUserConversationsVariablesBuilder filterUserConversations () { - return FilterUserConversationsVariablesBuilder(dataConnect, ); - } - - - ListCertificatesVariablesBuilder listCertificates () { - return ListCertificatesVariablesBuilder(dataConnect, ); - } - - - GetCertificateByIdVariablesBuilder getCertificateById ({required String id, }) { - return GetCertificateByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListCertificatesByStaffIdVariablesBuilder listCertificatesByStaffId ({required String staffId, }) { - return ListCertificatesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - GetMyTasksVariablesBuilder getMyTasks ({required String teamMemberId, }) { - return GetMyTasksVariablesBuilder(dataConnect, teamMemberId: teamMemberId,); - } - - - GetMemberTaskByIdKeyVariablesBuilder getMemberTaskByIdKey ({required String teamMemberId, required String taskId, }) { - return GetMemberTaskByIdKeyVariablesBuilder(dataConnect, teamMemberId: teamMemberId,taskId: taskId,); - } - - - GetMemberTasksByTaskIdVariablesBuilder getMemberTasksByTaskId ({required String taskId, }) { - return GetMemberTasksByTaskIdVariablesBuilder(dataConnect, taskId: taskId,); - } - - - ListRecentPaymentsVariablesBuilder listRecentPayments () { - return ListRecentPaymentsVariablesBuilder(dataConnect, ); - } - - - GetRecentPaymentByIdVariablesBuilder getRecentPaymentById ({required String id, }) { - return GetRecentPaymentByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListRecentPaymentsByStaffIdVariablesBuilder listRecentPaymentsByStaffId ({required String staffId, }) { - return ListRecentPaymentsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - ListRecentPaymentsByApplicationIdVariablesBuilder listRecentPaymentsByApplicationId ({required String applicationId, }) { - return ListRecentPaymentsByApplicationIdVariablesBuilder(dataConnect, applicationId: applicationId,); - } - - - ListRecentPaymentsByInvoiceIdVariablesBuilder listRecentPaymentsByInvoiceId ({required String invoiceId, }) { - return ListRecentPaymentsByInvoiceIdVariablesBuilder(dataConnect, invoiceId: invoiceId,); - } - - - ListRecentPaymentsByStatusVariablesBuilder listRecentPaymentsByStatus ({required RecentPaymentStatus status, }) { - return ListRecentPaymentsByStatusVariablesBuilder(dataConnect, status: status,); - } - - - ListRecentPaymentsByInvoiceIdsVariablesBuilder listRecentPaymentsByInvoiceIds ({required List invoiceIds, }) { - return ListRecentPaymentsByInvoiceIdsVariablesBuilder(dataConnect, invoiceIds: invoiceIds,); - } - - - ListRecentPaymentsByBusinessIdVariablesBuilder listRecentPaymentsByBusinessId ({required String businessId, }) { - return ListRecentPaymentsByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); - } - - - CreateTaxFormVariablesBuilder createTaxForm ({required TaxFormType formType, required String title, required String staffId, }) { - return CreateTaxFormVariablesBuilder(dataConnect, formType: formType,title: title,staffId: staffId,); - } - - - UpdateTaxFormVariablesBuilder updateTaxForm ({required String id, }) { - return UpdateTaxFormVariablesBuilder(dataConnect, id: id,); - } - - - DeleteTaxFormVariablesBuilder deleteTaxForm ({required String id, }) { - return DeleteTaxFormVariablesBuilder(dataConnect, id: id,); - } - - - CreateMessageVariablesBuilder createMessage ({required String conversationId, required String senderId, required String content, }) { - return CreateMessageVariablesBuilder(dataConnect, conversationId: conversationId,senderId: senderId,content: content,); - } - - - UpdateMessageVariablesBuilder updateMessage ({required String id, }) { - return UpdateMessageVariablesBuilder(dataConnect, id: id,); - } - - - DeleteMessageVariablesBuilder deleteMessage ({required String id, }) { - return DeleteMessageVariablesBuilder(dataConnect, id: id,); - } - - - ListRoleCategoriesVariablesBuilder listRoleCategories () { - return ListRoleCategoriesVariablesBuilder(dataConnect, ); - } - - - GetRoleCategoryByIdVariablesBuilder getRoleCategoryById ({required String id, }) { - return GetRoleCategoryByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetRoleCategoriesByCategoryVariablesBuilder getRoleCategoriesByCategory ({required RoleCategoryType category, }) { - return GetRoleCategoriesByCategoryVariablesBuilder(dataConnect, category: category,); - } - - - CreateApplicationVariablesBuilder createApplication ({required String shiftId, required String staffId, required ApplicationStatus status, required ApplicationOrigin origin, required String roleId, }) { - return CreateApplicationVariablesBuilder(dataConnect, shiftId: shiftId,staffId: staffId,status: status,origin: origin,roleId: roleId,); - } - - - UpdateApplicationStatusVariablesBuilder updateApplicationStatus ({required String id, required String roleId, }) { - return UpdateApplicationStatusVariablesBuilder(dataConnect, id: id,roleId: roleId,); - } - - - DeleteApplicationVariablesBuilder deleteApplication ({required String id, }) { - return DeleteApplicationVariablesBuilder(dataConnect, id: id,); - } - - - CreateAssignmentVariablesBuilder createAssignment ({required String workforceId, required String roleId, required String shiftId, }) { - return CreateAssignmentVariablesBuilder(dataConnect, workforceId: workforceId,roleId: roleId,shiftId: shiftId,); - } - - - UpdateAssignmentVariablesBuilder updateAssignment ({required String id, required String roleId, required String shiftId, }) { - return UpdateAssignmentVariablesBuilder(dataConnect, id: id,roleId: roleId,shiftId: shiftId,); - } - - - DeleteAssignmentVariablesBuilder deleteAssignment ({required String id, }) { - return DeleteAssignmentVariablesBuilder(dataConnect, id: id,); - } - - - CreateBenefitsDataVariablesBuilder createBenefitsData ({required String vendorBenefitPlanId, required String staffId, required int current, }) { - return CreateBenefitsDataVariablesBuilder(dataConnect, vendorBenefitPlanId: vendorBenefitPlanId,staffId: staffId,current: current,); - } - - - UpdateBenefitsDataVariablesBuilder updateBenefitsData ({required String staffId, required String vendorBenefitPlanId, }) { - return UpdateBenefitsDataVariablesBuilder(dataConnect, staffId: staffId,vendorBenefitPlanId: vendorBenefitPlanId,); - } - - - DeleteBenefitsDataVariablesBuilder deleteBenefitsData ({required String staffId, required String vendorBenefitPlanId, }) { - return DeleteBenefitsDataVariablesBuilder(dataConnect, staffId: staffId,vendorBenefitPlanId: vendorBenefitPlanId,); - } - - - ListUsersVariablesBuilder listUsers () { - return ListUsersVariablesBuilder(dataConnect, ); - } - - - GetUserByIdVariablesBuilder getUserById ({required String id, }) { - return GetUserByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterUsersVariablesBuilder filterUsers () { - return FilterUsersVariablesBuilder(dataConnect, ); - } - - - ListClientFeedbacksVariablesBuilder listClientFeedbacks () { - return ListClientFeedbacksVariablesBuilder(dataConnect, ); - } - - - GetClientFeedbackByIdVariablesBuilder getClientFeedbackById ({required String id, }) { - return GetClientFeedbackByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListClientFeedbacksByBusinessIdVariablesBuilder listClientFeedbacksByBusinessId ({required String businessId, }) { - return ListClientFeedbacksByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); - } - - - ListClientFeedbacksByVendorIdVariablesBuilder listClientFeedbacksByVendorId ({required String vendorId, }) { - return ListClientFeedbacksByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - ListClientFeedbacksByBusinessAndVendorVariablesBuilder listClientFeedbacksByBusinessAndVendor ({required String businessId, required String vendorId, }) { - return ListClientFeedbacksByBusinessAndVendorVariablesBuilder(dataConnect, businessId: businessId,vendorId: vendorId,); - } - - - FilterClientFeedbacksVariablesBuilder filterClientFeedbacks () { - return FilterClientFeedbacksVariablesBuilder(dataConnect, ); - } - - - ListClientFeedbackRatingsByVendorIdVariablesBuilder listClientFeedbackRatingsByVendorId ({required String vendorId, }) { - return ListClientFeedbackRatingsByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - CreateCustomRateCardVariablesBuilder createCustomRateCard ({required String name, }) { - return CreateCustomRateCardVariablesBuilder(dataConnect, name: name,); - } - - - UpdateCustomRateCardVariablesBuilder updateCustomRateCard ({required String id, }) { - return UpdateCustomRateCardVariablesBuilder(dataConnect, id: id,); - } - - - DeleteCustomRateCardVariablesBuilder deleteCustomRateCard ({required String id, }) { - return DeleteCustomRateCardVariablesBuilder(dataConnect, id: id,); - } - - - CreateRoleCategoryVariablesBuilder createRoleCategory ({required String roleName, required RoleCategoryType category, }) { - return CreateRoleCategoryVariablesBuilder(dataConnect, roleName: roleName,category: category,); - } - - - UpdateRoleCategoryVariablesBuilder updateRoleCategory ({required String id, }) { - return UpdateRoleCategoryVariablesBuilder(dataConnect, id: id,); - } - - - DeleteRoleCategoryVariablesBuilder deleteRoleCategory ({required String id, }) { - return DeleteRoleCategoryVariablesBuilder(dataConnect, id: id,); - } - - - CreateStaffCourseVariablesBuilder createStaffCourse ({required String staffId, required String courseId, }) { - return CreateStaffCourseVariablesBuilder(dataConnect, staffId: staffId,courseId: courseId,); - } - - - UpdateStaffCourseVariablesBuilder updateStaffCourse ({required String id, }) { - return UpdateStaffCourseVariablesBuilder(dataConnect, id: id,); - } - - - DeleteStaffCourseVariablesBuilder deleteStaffCourse ({required String id, }) { - return DeleteStaffCourseVariablesBuilder(dataConnect, id: id,); - } - - - ListStaffRolesVariablesBuilder listStaffRoles () { - return ListStaffRolesVariablesBuilder(dataConnect, ); - } - - - GetStaffRoleByKeyVariablesBuilder getStaffRoleByKey ({required String staffId, required String roleId, }) { - return GetStaffRoleByKeyVariablesBuilder(dataConnect, staffId: staffId,roleId: roleId,); - } - - - ListStaffRolesByStaffIdVariablesBuilder listStaffRolesByStaffId ({required String staffId, }) { - return ListStaffRolesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - ListStaffRolesByRoleIdVariablesBuilder listStaffRolesByRoleId ({required String roleId, }) { - return ListStaffRolesByRoleIdVariablesBuilder(dataConnect, roleId: roleId,); - } - - - FilterStaffRolesVariablesBuilder filterStaffRoles () { - return FilterStaffRolesVariablesBuilder(dataConnect, ); - } - - - CreateAccountVariablesBuilder createAccount ({required String bank, required AccountType type, required String last4, required String ownerId, }) { - return CreateAccountVariablesBuilder(dataConnect, bank: bank,type: type,last4: last4,ownerId: ownerId,); - } - - - UpdateAccountVariablesBuilder updateAccount ({required String id, }) { - return UpdateAccountVariablesBuilder(dataConnect, id: id,); - } - - - DeleteAccountVariablesBuilder deleteAccount ({required String id, }) { - return DeleteAccountVariablesBuilder(dataConnect, id: id,); - } - - - ListAccountsVariablesBuilder listAccounts () { - return ListAccountsVariablesBuilder(dataConnect, ); - } - - - GetAccountByIdVariablesBuilder getAccountById ({required String id, }) { - return GetAccountByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetAccountsByOwnerIdVariablesBuilder getAccountsByOwnerId ({required String ownerId, }) { - return GetAccountsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); - } - - - FilterAccountsVariablesBuilder filterAccounts () { - return FilterAccountsVariablesBuilder(dataConnect, ); - } - - - CreateCourseVariablesBuilder createCourse ({required String categoryId, }) { - return CreateCourseVariablesBuilder(dataConnect, categoryId: categoryId,); - } - - - UpdateCourseVariablesBuilder updateCourse ({required String id, required String categoryId, }) { - return UpdateCourseVariablesBuilder(dataConnect, id: id,categoryId: categoryId,); - } - - - DeleteCourseVariablesBuilder deleteCourse ({required String id, }) { - return DeleteCourseVariablesBuilder(dataConnect, id: id,); - } - - - CreateEmergencyContactVariablesBuilder createEmergencyContact ({required String name, required String phone, required RelationshipType relationship, required String staffId, }) { - return CreateEmergencyContactVariablesBuilder(dataConnect, name: name,phone: phone,relationship: relationship,staffId: staffId,); - } - - - UpdateEmergencyContactVariablesBuilder updateEmergencyContact ({required String id, }) { - return UpdateEmergencyContactVariablesBuilder(dataConnect, id: id,); - } - - - DeleteEmergencyContactVariablesBuilder deleteEmergencyContact ({required String id, }) { - return DeleteEmergencyContactVariablesBuilder(dataConnect, id: id,); - } - - - CreateInvoiceTemplateVariablesBuilder createInvoiceTemplate ({required String name, required String ownerId, }) { - return CreateInvoiceTemplateVariablesBuilder(dataConnect, name: name,ownerId: ownerId,); - } - - - UpdateInvoiceTemplateVariablesBuilder updateInvoiceTemplate ({required String id, }) { - return UpdateInvoiceTemplateVariablesBuilder(dataConnect, id: id,); - } - - - DeleteInvoiceTemplateVariablesBuilder deleteInvoiceTemplate ({required String id, }) { - return DeleteInvoiceTemplateVariablesBuilder(dataConnect, id: id,); - } - - - ListOrdersVariablesBuilder listOrders () { - return ListOrdersVariablesBuilder(dataConnect, ); - } - - - GetOrderByIdVariablesBuilder getOrderById ({required String id, }) { - return GetOrderByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetOrdersByBusinessIdVariablesBuilder getOrdersByBusinessId ({required String businessId, }) { - return GetOrdersByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); - } - - - GetOrdersByVendorIdVariablesBuilder getOrdersByVendorId ({required String vendorId, }) { - return GetOrdersByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - GetOrdersByStatusVariablesBuilder getOrdersByStatus ({required OrderStatus status, }) { - return GetOrdersByStatusVariablesBuilder(dataConnect, status: status,); - } - - - GetOrdersByDateRangeVariablesBuilder getOrdersByDateRange ({required Timestamp start, required Timestamp end, }) { - return GetOrdersByDateRangeVariablesBuilder(dataConnect, start: start,end: end,); - } - - - GetRapidOrdersVariablesBuilder getRapidOrders () { - return GetRapidOrdersVariablesBuilder(dataConnect, ); - } - - - ListShiftsForCoverageVariablesBuilder listShiftsForCoverage ({required String businessId, required Timestamp startDate, required Timestamp endDate, }) { - return ListShiftsForCoverageVariablesBuilder(dataConnect, businessId: businessId,startDate: startDate,endDate: endDate,); - } - - - ListApplicationsForCoverageVariablesBuilder listApplicationsForCoverage ({required List shiftIds, }) { - return ListApplicationsForCoverageVariablesBuilder(dataConnect, shiftIds: shiftIds,); - } - - - ListShiftsForDailyOpsByBusinessVariablesBuilder listShiftsForDailyOpsByBusiness ({required String businessId, required Timestamp date, }) { - return ListShiftsForDailyOpsByBusinessVariablesBuilder(dataConnect, businessId: businessId,date: date,); - } - - - ListShiftsForDailyOpsByVendorVariablesBuilder listShiftsForDailyOpsByVendor ({required String vendorId, required Timestamp date, }) { - return ListShiftsForDailyOpsByVendorVariablesBuilder(dataConnect, vendorId: vendorId,date: date,); - } - - - ListApplicationsForDailyOpsVariablesBuilder listApplicationsForDailyOps ({required List shiftIds, }) { - return ListApplicationsForDailyOpsVariablesBuilder(dataConnect, shiftIds: shiftIds,); - } - - - ListShiftsForForecastByBusinessVariablesBuilder listShiftsForForecastByBusiness ({required String businessId, required Timestamp startDate, required Timestamp endDate, }) { - return ListShiftsForForecastByBusinessVariablesBuilder(dataConnect, businessId: businessId,startDate: startDate,endDate: endDate,); - } - - - ListShiftsForForecastByVendorVariablesBuilder listShiftsForForecastByVendor ({required String vendorId, required Timestamp startDate, required Timestamp endDate, }) { - return ListShiftsForForecastByVendorVariablesBuilder(dataConnect, vendorId: vendorId,startDate: startDate,endDate: endDate,); - } - - - ListShiftsForNoShowRangeByBusinessVariablesBuilder listShiftsForNoShowRangeByBusiness ({required String businessId, required Timestamp startDate, required Timestamp endDate, }) { - return ListShiftsForNoShowRangeByBusinessVariablesBuilder(dataConnect, businessId: businessId,startDate: startDate,endDate: endDate,); - } - - - ListShiftsForNoShowRangeByVendorVariablesBuilder listShiftsForNoShowRangeByVendor ({required String vendorId, required Timestamp startDate, required Timestamp endDate, }) { - return ListShiftsForNoShowRangeByVendorVariablesBuilder(dataConnect, vendorId: vendorId,startDate: startDate,endDate: endDate,); - } - - - ListApplicationsForNoShowRangeVariablesBuilder listApplicationsForNoShowRange ({required List shiftIds, }) { - return ListApplicationsForNoShowRangeVariablesBuilder(dataConnect, shiftIds: shiftIds,); - } - - - ListStaffForNoShowReportVariablesBuilder listStaffForNoShowReport ({required List staffIds, }) { - return ListStaffForNoShowReportVariablesBuilder(dataConnect, staffIds: staffIds,); - } - - - ListInvoicesForSpendByBusinessVariablesBuilder listInvoicesForSpendByBusiness ({required String businessId, required Timestamp startDate, required Timestamp endDate, }) { - return ListInvoicesForSpendByBusinessVariablesBuilder(dataConnect, businessId: businessId,startDate: startDate,endDate: endDate,); - } - - - ListInvoicesForSpendByVendorVariablesBuilder listInvoicesForSpendByVendor ({required String vendorId, required Timestamp startDate, required Timestamp endDate, }) { - return ListInvoicesForSpendByVendorVariablesBuilder(dataConnect, vendorId: vendorId,startDate: startDate,endDate: endDate,); - } - - - ListInvoicesForSpendByOrderVariablesBuilder listInvoicesForSpendByOrder ({required String orderId, required Timestamp startDate, required Timestamp endDate, }) { - return ListInvoicesForSpendByOrderVariablesBuilder(dataConnect, orderId: orderId,startDate: startDate,endDate: endDate,); - } - - - ListTimesheetsForSpendVariablesBuilder listTimesheetsForSpend ({required Timestamp startTime, required Timestamp endTime, }) { - return ListTimesheetsForSpendVariablesBuilder(dataConnect, startTime: startTime,endTime: endTime,); - } - - - ListShiftsForPerformanceByBusinessVariablesBuilder listShiftsForPerformanceByBusiness ({required String businessId, required Timestamp startDate, required Timestamp endDate, }) { - return ListShiftsForPerformanceByBusinessVariablesBuilder(dataConnect, businessId: businessId,startDate: startDate,endDate: endDate,); - } - - - ListShiftsForPerformanceByVendorVariablesBuilder listShiftsForPerformanceByVendor ({required String vendorId, required Timestamp startDate, required Timestamp endDate, }) { - return ListShiftsForPerformanceByVendorVariablesBuilder(dataConnect, vendorId: vendorId,startDate: startDate,endDate: endDate,); - } - - - ListApplicationsForPerformanceVariablesBuilder listApplicationsForPerformance ({required List shiftIds, }) { - return ListApplicationsForPerformanceVariablesBuilder(dataConnect, shiftIds: shiftIds,); - } - - - ListStaffForPerformanceVariablesBuilder listStaffForPerformance ({required List staffIds, }) { - return ListStaffForPerformanceVariablesBuilder(dataConnect, staffIds: staffIds,); - } - - - CreateRoleVariablesBuilder createRole ({required String name, required double costPerHour, required String vendorId, required String roleCategoryId, }) { - return CreateRoleVariablesBuilder(dataConnect, name: name,costPerHour: costPerHour,vendorId: vendorId,roleCategoryId: roleCategoryId,); - } - - - UpdateRoleVariablesBuilder updateRole ({required String id, required String roleCategoryId, }) { - return UpdateRoleVariablesBuilder(dataConnect, id: id,roleCategoryId: roleCategoryId,); - } - - - DeleteRoleVariablesBuilder deleteRole ({required String id, }) { - return DeleteRoleVariablesBuilder(dataConnect, id: id,); - } - - - ListBenefitsDataVariablesBuilder listBenefitsData () { - return ListBenefitsDataVariablesBuilder(dataConnect, ); - } - - - GetBenefitsDataByKeyVariablesBuilder getBenefitsDataByKey ({required String staffId, required String vendorBenefitPlanId, }) { - return GetBenefitsDataByKeyVariablesBuilder(dataConnect, staffId: staffId,vendorBenefitPlanId: vendorBenefitPlanId,); - } - - - ListBenefitsDataByStaffIdVariablesBuilder listBenefitsDataByStaffId ({required String staffId, }) { - return ListBenefitsDataByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder listBenefitsDataByVendorBenefitPlanId ({required String vendorBenefitPlanId, }) { - return ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder(dataConnect, vendorBenefitPlanId: vendorBenefitPlanId,); - } - - - ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder listBenefitsDataByVendorBenefitPlanIds ({required List vendorBenefitPlanIds, }) { - return ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder(dataConnect, vendorBenefitPlanIds: vendorBenefitPlanIds,); - } - - - CreateOrderVariablesBuilder createOrder ({required String vendorId, required String businessId, required OrderType orderType, }) { - return CreateOrderVariablesBuilder(dataConnect, vendorId: vendorId,businessId: businessId,orderType: orderType,); - } - - - UpdateOrderVariablesBuilder updateOrder ({required String id, }) { - return UpdateOrderVariablesBuilder(dataConnect, id: id,); - } - - - DeleteOrderVariablesBuilder deleteOrder ({required String id, }) { - return DeleteOrderVariablesBuilder(dataConnect, id: id,); - } - - - ListStaffAvailabilitiesVariablesBuilder listStaffAvailabilities () { - return ListStaffAvailabilitiesVariablesBuilder(dataConnect, ); - } - - - ListStaffAvailabilitiesByStaffIdVariablesBuilder listStaffAvailabilitiesByStaffId ({required String staffId, }) { - return ListStaffAvailabilitiesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - GetStaffAvailabilityByKeyVariablesBuilder getStaffAvailabilityByKey ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { - return GetStaffAvailabilityByKeyVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); - } - - - ListStaffAvailabilitiesByDayVariablesBuilder listStaffAvailabilitiesByDay ({required DayOfWeek day, }) { - return ListStaffAvailabilitiesByDayVariablesBuilder(dataConnect, day: day,); - } - - - ListTeamMembersVariablesBuilder listTeamMembers () { - return ListTeamMembersVariablesBuilder(dataConnect, ); - } - - - GetTeamMemberByIdVariablesBuilder getTeamMemberById ({required String id, }) { - return GetTeamMemberByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetTeamMembersByTeamIdVariablesBuilder getTeamMembersByTeamId ({required String teamId, }) { - return GetTeamMembersByTeamIdVariablesBuilder(dataConnect, teamId: teamId,); - } - - - ListVendorBenefitPlansVariablesBuilder listVendorBenefitPlans () { - return ListVendorBenefitPlansVariablesBuilder(dataConnect, ); - } - - - GetVendorBenefitPlanByIdVariablesBuilder getVendorBenefitPlanById ({required String id, }) { - return GetVendorBenefitPlanByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListVendorBenefitPlansByVendorIdVariablesBuilder listVendorBenefitPlansByVendorId ({required String vendorId, }) { - return ListVendorBenefitPlansByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - ListActiveVendorBenefitPlansByVendorIdVariablesBuilder listActiveVendorBenefitPlansByVendorId ({required String vendorId, }) { - return ListActiveVendorBenefitPlansByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - FilterVendorBenefitPlansVariablesBuilder filterVendorBenefitPlans () { - return FilterVendorBenefitPlansVariablesBuilder(dataConnect, ); - } - - - static ConnectorConfig connectorConfig = ConnectorConfig( - 'us-central1', - 'example', - 'krow-workforce-db', - ); - - ExampleConnector({required this.dataConnect}); - static ExampleConnector get instance { - return ExampleConnector( - dataConnect: FirebaseDataConnect.instanceFor( - connectorConfig: connectorConfig, - sdkType: CallerSDKType.generated)); - } - - FirebaseDataConnect dataConnect; -} diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_account_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_account_by_id.dart deleted file mode 100644 index 5e4d9836..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_account_by_id.dart +++ /dev/null @@ -1,174 +0,0 @@ -part of 'generated.dart'; - -class GetAccountByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetAccountByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetAccountByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetAccountByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetAccountByIdVariables vars= GetAccountByIdVariables(id: id,); - return _dataConnect.query("getAccountById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetAccountByIdAccount { - final String id; - final String bank; - final EnumValue type; - final String last4; - final bool? isPrimary; - final String ownerId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetAccountByIdAccount.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - bank = nativeFromJson(json['bank']), - type = accountTypeDeserializer(json['type']), - last4 = nativeFromJson(json['last4']), - isPrimary = json['isPrimary'] == null ? null : nativeFromJson(json['isPrimary']), - ownerId = nativeFromJson(json['ownerId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAccountByIdAccount otherTyped = other as GetAccountByIdAccount; - return id == otherTyped.id && - bank == otherTyped.bank && - type == otherTyped.type && - last4 == otherTyped.last4 && - isPrimary == otherTyped.isPrimary && - ownerId == otherTyped.ownerId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, bank.hashCode, type.hashCode, last4.hashCode, isPrimary.hashCode, ownerId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['bank'] = nativeToJson(bank); - json['type'] = - accountTypeSerializer(type) - ; - json['last4'] = nativeToJson(last4); - if (isPrimary != null) { - json['isPrimary'] = nativeToJson(isPrimary); - } - json['ownerId'] = nativeToJson(ownerId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetAccountByIdAccount({ - required this.id, - required this.bank, - required this.type, - required this.last4, - this.isPrimary, - required this.ownerId, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetAccountByIdData { - final GetAccountByIdAccount? account; - GetAccountByIdData.fromJson(dynamic json): - - account = json['account'] == null ? null : GetAccountByIdAccount.fromJson(json['account']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAccountByIdData otherTyped = other as GetAccountByIdData; - return account == otherTyped.account; - - } - @override - int get hashCode => account.hashCode; - - - Map toJson() { - Map json = {}; - if (account != null) { - json['account'] = account!.toJson(); - } - return json; - } - - GetAccountByIdData({ - this.account, - }); -} - -@immutable -class GetAccountByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetAccountByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAccountByIdVariables otherTyped = other as GetAccountByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetAccountByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_accounts_by_owner_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_accounts_by_owner_id.dart deleted file mode 100644 index 2d704e46..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_accounts_by_owner_id.dart +++ /dev/null @@ -1,174 +0,0 @@ -part of 'generated.dart'; - -class GetAccountsByOwnerIdVariablesBuilder { - String ownerId; - - final FirebaseDataConnect _dataConnect; - GetAccountsByOwnerIdVariablesBuilder(this._dataConnect, {required this.ownerId,}); - Deserializer dataDeserializer = (dynamic json) => GetAccountsByOwnerIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetAccountsByOwnerIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetAccountsByOwnerIdVariables vars= GetAccountsByOwnerIdVariables(ownerId: ownerId,); - return _dataConnect.query("getAccountsByOwnerId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetAccountsByOwnerIdAccounts { - final String id; - final String bank; - final EnumValue type; - final String last4; - final bool? isPrimary; - final String ownerId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetAccountsByOwnerIdAccounts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - bank = nativeFromJson(json['bank']), - type = accountTypeDeserializer(json['type']), - last4 = nativeFromJson(json['last4']), - isPrimary = json['isPrimary'] == null ? null : nativeFromJson(json['isPrimary']), - ownerId = nativeFromJson(json['ownerId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAccountsByOwnerIdAccounts otherTyped = other as GetAccountsByOwnerIdAccounts; - return id == otherTyped.id && - bank == otherTyped.bank && - type == otherTyped.type && - last4 == otherTyped.last4 && - isPrimary == otherTyped.isPrimary && - ownerId == otherTyped.ownerId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, bank.hashCode, type.hashCode, last4.hashCode, isPrimary.hashCode, ownerId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['bank'] = nativeToJson(bank); - json['type'] = - accountTypeSerializer(type) - ; - json['last4'] = nativeToJson(last4); - if (isPrimary != null) { - json['isPrimary'] = nativeToJson(isPrimary); - } - json['ownerId'] = nativeToJson(ownerId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetAccountsByOwnerIdAccounts({ - required this.id, - required this.bank, - required this.type, - required this.last4, - this.isPrimary, - required this.ownerId, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetAccountsByOwnerIdData { - final List accounts; - GetAccountsByOwnerIdData.fromJson(dynamic json): - - accounts = (json['accounts'] as List) - .map((e) => GetAccountsByOwnerIdAccounts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAccountsByOwnerIdData otherTyped = other as GetAccountsByOwnerIdData; - return accounts == otherTyped.accounts; - - } - @override - int get hashCode => accounts.hashCode; - - - Map toJson() { - Map json = {}; - json['accounts'] = accounts.map((e) => e.toJson()).toList(); - return json; - } - - GetAccountsByOwnerIdData({ - required this.accounts, - }); -} - -@immutable -class GetAccountsByOwnerIdVariables { - final String ownerId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetAccountsByOwnerIdVariables.fromJson(Map json): - - ownerId = nativeFromJson(json['ownerId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAccountsByOwnerIdVariables otherTyped = other as GetAccountsByOwnerIdVariables; - return ownerId == otherTyped.ownerId; - - } - @override - int get hashCode => ownerId.hashCode; - - - Map toJson() { - Map json = {}; - json['ownerId'] = nativeToJson(ownerId); - return json; - } - - GetAccountsByOwnerIdVariables({ - required this.ownerId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_activity_log_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_activity_log_by_id.dart deleted file mode 100644 index e236b0b5..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_activity_log_by_id.dart +++ /dev/null @@ -1,216 +0,0 @@ -part of 'generated.dart'; - -class GetActivityLogByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetActivityLogByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetActivityLogByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetActivityLogByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetActivityLogByIdVariables vars= GetActivityLogByIdVariables(id: id,); - return _dataConnect.query("getActivityLogById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetActivityLogByIdActivityLog { - final String id; - final String userId; - final Timestamp date; - final String? hourStart; - final String? hourEnd; - final String? totalhours; - final EnumValue? iconType; - final String? iconColor; - final String title; - final String description; - final bool? isRead; - final EnumValue activityType; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetActivityLogByIdActivityLog.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - userId = nativeFromJson(json['userId']), - date = Timestamp.fromJson(json['date']), - hourStart = json['hourStart'] == null ? null : nativeFromJson(json['hourStart']), - hourEnd = json['hourEnd'] == null ? null : nativeFromJson(json['hourEnd']), - totalhours = json['totalhours'] == null ? null : nativeFromJson(json['totalhours']), - iconType = json['iconType'] == null ? null : activityIconTypeDeserializer(json['iconType']), - iconColor = json['iconColor'] == null ? null : nativeFromJson(json['iconColor']), - title = nativeFromJson(json['title']), - description = nativeFromJson(json['description']), - isRead = json['isRead'] == null ? null : nativeFromJson(json['isRead']), - activityType = activityTypeDeserializer(json['activityType']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetActivityLogByIdActivityLog otherTyped = other as GetActivityLogByIdActivityLog; - return id == otherTyped.id && - userId == otherTyped.userId && - date == otherTyped.date && - hourStart == otherTyped.hourStart && - hourEnd == otherTyped.hourEnd && - totalhours == otherTyped.totalhours && - iconType == otherTyped.iconType && - iconColor == otherTyped.iconColor && - title == otherTyped.title && - description == otherTyped.description && - isRead == otherTyped.isRead && - activityType == otherTyped.activityType && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, userId.hashCode, date.hashCode, hourStart.hashCode, hourEnd.hashCode, totalhours.hashCode, iconType.hashCode, iconColor.hashCode, title.hashCode, description.hashCode, isRead.hashCode, activityType.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['userId'] = nativeToJson(userId); - json['date'] = date.toJson(); - if (hourStart != null) { - json['hourStart'] = nativeToJson(hourStart); - } - if (hourEnd != null) { - json['hourEnd'] = nativeToJson(hourEnd); - } - if (totalhours != null) { - json['totalhours'] = nativeToJson(totalhours); - } - if (iconType != null) { - json['iconType'] = - activityIconTypeSerializer(iconType!) - ; - } - if (iconColor != null) { - json['iconColor'] = nativeToJson(iconColor); - } - json['title'] = nativeToJson(title); - json['description'] = nativeToJson(description); - if (isRead != null) { - json['isRead'] = nativeToJson(isRead); - } - json['activityType'] = - activityTypeSerializer(activityType) - ; - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetActivityLogByIdActivityLog({ - required this.id, - required this.userId, - required this.date, - this.hourStart, - this.hourEnd, - this.totalhours, - this.iconType, - this.iconColor, - required this.title, - required this.description, - this.isRead, - required this.activityType, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetActivityLogByIdData { - final GetActivityLogByIdActivityLog? activityLog; - GetActivityLogByIdData.fromJson(dynamic json): - - activityLog = json['activityLog'] == null ? null : GetActivityLogByIdActivityLog.fromJson(json['activityLog']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetActivityLogByIdData otherTyped = other as GetActivityLogByIdData; - return activityLog == otherTyped.activityLog; - - } - @override - int get hashCode => activityLog.hashCode; - - - Map toJson() { - Map json = {}; - if (activityLog != null) { - json['activityLog'] = activityLog!.toJson(); - } - return json; - } - - GetActivityLogByIdData({ - this.activityLog, - }); -} - -@immutable -class GetActivityLogByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetActivityLogByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetActivityLogByIdVariables otherTyped = other as GetActivityLogByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetActivityLogByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_application_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_application_by_id.dart deleted file mode 100644 index 7acf7ce8..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_application_by_id.dart +++ /dev/null @@ -1,545 +0,0 @@ -part of 'generated.dart'; - -class GetApplicationByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetApplicationByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetApplicationByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetApplicationByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetApplicationByIdVariables vars= GetApplicationByIdVariables(id: id,); - return _dataConnect.query("getApplicationById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetApplicationByIdApplication { - final String id; - final String shiftId; - final String staffId; - final EnumValue status; - final Timestamp? appliedAt; - final Timestamp? checkInTime; - final Timestamp? checkOutTime; - final EnumValue origin; - final Timestamp? createdAt; - final GetApplicationByIdApplicationShift shift; - final GetApplicationByIdApplicationShiftRole shiftRole; - GetApplicationByIdApplication.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - shiftId = nativeFromJson(json['shiftId']), - staffId = nativeFromJson(json['staffId']), - status = applicationStatusDeserializer(json['status']), - appliedAt = json['appliedAt'] == null ? null : Timestamp.fromJson(json['appliedAt']), - checkInTime = json['checkInTime'] == null ? null : Timestamp.fromJson(json['checkInTime']), - checkOutTime = json['checkOutTime'] == null ? null : Timestamp.fromJson(json['checkOutTime']), - origin = applicationOriginDeserializer(json['origin']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - shift = GetApplicationByIdApplicationShift.fromJson(json['shift']), - shiftRole = GetApplicationByIdApplicationShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationByIdApplication otherTyped = other as GetApplicationByIdApplication; - return id == otherTyped.id && - shiftId == otherTyped.shiftId && - staffId == otherTyped.staffId && - status == otherTyped.status && - appliedAt == otherTyped.appliedAt && - checkInTime == otherTyped.checkInTime && - checkOutTime == otherTyped.checkOutTime && - origin == otherTyped.origin && - createdAt == otherTyped.createdAt && - shift == otherTyped.shift && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftId.hashCode, staffId.hashCode, status.hashCode, appliedAt.hashCode, checkInTime.hashCode, checkOutTime.hashCode, origin.hashCode, createdAt.hashCode, shift.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['shiftId'] = nativeToJson(shiftId); - json['staffId'] = nativeToJson(staffId); - json['status'] = - applicationStatusSerializer(status) - ; - if (appliedAt != null) { - json['appliedAt'] = appliedAt!.toJson(); - } - if (checkInTime != null) { - json['checkInTime'] = checkInTime!.toJson(); - } - if (checkOutTime != null) { - json['checkOutTime'] = checkOutTime!.toJson(); - } - json['origin'] = - applicationOriginSerializer(origin) - ; - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['shift'] = shift.toJson(); - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - GetApplicationByIdApplication({ - required this.id, - required this.shiftId, - required this.staffId, - required this.status, - this.appliedAt, - this.checkInTime, - this.checkOutTime, - required this.origin, - this.createdAt, - required this.shift, - required this.shiftRole, - }); -} - -@immutable -class GetApplicationByIdApplicationShift { - final String id; - final String title; - final Timestamp? date; - final Timestamp? startTime; - final Timestamp? endTime; - final String? location; - final EnumValue? status; - final GetApplicationByIdApplicationShiftOrder order; - GetApplicationByIdApplicationShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']), - order = GetApplicationByIdApplicationShiftOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationByIdApplicationShift otherTyped = other as GetApplicationByIdApplicationShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - location == otherTyped.location && - status == otherTyped.status && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, startTime.hashCode, endTime.hashCode, location.hashCode, status.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - json['order'] = order.toJson(); - return json; - } - - GetApplicationByIdApplicationShift({ - required this.id, - required this.title, - this.date, - this.startTime, - this.endTime, - this.location, - this.status, - required this.order, - }); -} - -@immutable -class GetApplicationByIdApplicationShiftOrder { - final String id; - final String? eventName; - final String? location; - final GetApplicationByIdApplicationShiftOrderBusiness business; - final GetApplicationByIdApplicationShiftOrderVendor vendor; - GetApplicationByIdApplicationShiftOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - business = GetApplicationByIdApplicationShiftOrderBusiness.fromJson(json['business']), - vendor = GetApplicationByIdApplicationShiftOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationByIdApplicationShiftOrder otherTyped = other as GetApplicationByIdApplicationShiftOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - location == otherTyped.location && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, location.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetApplicationByIdApplicationShiftOrder({ - required this.id, - this.eventName, - this.location, - required this.business, - required this.vendor, - }); -} - -@immutable -class GetApplicationByIdApplicationShiftOrderBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - GetApplicationByIdApplicationShiftOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationByIdApplicationShiftOrderBusiness otherTyped = other as GetApplicationByIdApplicationShiftOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - GetApplicationByIdApplicationShiftOrderBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class GetApplicationByIdApplicationShiftOrderVendor { - final String id; - final String companyName; - GetApplicationByIdApplicationShiftOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationByIdApplicationShiftOrderVendor otherTyped = other as GetApplicationByIdApplicationShiftOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetApplicationByIdApplicationShiftOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetApplicationByIdApplicationShiftRole { - final String id; - final String roleId; - final int count; - final int? assigned; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final double? totalValue; - final GetApplicationByIdApplicationShiftRoleRole role; - GetApplicationByIdApplicationShiftRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - roleId = nativeFromJson(json['roleId']), - count = nativeFromJson(json['count']), - assigned = json['assigned'] == null ? null : nativeFromJson(json['assigned']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - role = GetApplicationByIdApplicationShiftRoleRole.fromJson(json['role']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationByIdApplicationShiftRole otherTyped = other as GetApplicationByIdApplicationShiftRole; - return id == otherTyped.id && - roleId == otherTyped.roleId && - count == otherTyped.count && - assigned == otherTyped.assigned && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - role == otherTyped.role; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, roleId.hashCode, count.hashCode, assigned.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, totalValue.hashCode, role.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['roleId'] = nativeToJson(roleId); - json['count'] = nativeToJson(count); - if (assigned != null) { - json['assigned'] = nativeToJson(assigned); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - json['role'] = role.toJson(); - return json; - } - - GetApplicationByIdApplicationShiftRole({ - required this.id, - required this.roleId, - required this.count, - this.assigned, - this.startTime, - this.endTime, - this.hours, - this.totalValue, - required this.role, - }); -} - -@immutable -class GetApplicationByIdApplicationShiftRoleRole { - final String id; - final String name; - final double costPerHour; - GetApplicationByIdApplicationShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationByIdApplicationShiftRoleRole otherTyped = other as GetApplicationByIdApplicationShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - GetApplicationByIdApplicationShiftRoleRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class GetApplicationByIdData { - final GetApplicationByIdApplication? application; - GetApplicationByIdData.fromJson(dynamic json): - - application = json['application'] == null ? null : GetApplicationByIdApplication.fromJson(json['application']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationByIdData otherTyped = other as GetApplicationByIdData; - return application == otherTyped.application; - - } - @override - int get hashCode => application.hashCode; - - - Map toJson() { - Map json = {}; - if (application != null) { - json['application'] = application!.toJson(); - } - return json; - } - - GetApplicationByIdData({ - this.application, - }); -} - -@immutable -class GetApplicationByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetApplicationByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationByIdVariables otherTyped = other as GetApplicationByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetApplicationByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_applications_by_shift_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_applications_by_shift_id.dart deleted file mode 100644 index 3998aa70..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_applications_by_shift_id.dart +++ /dev/null @@ -1,545 +0,0 @@ -part of 'generated.dart'; - -class GetApplicationsByShiftIdVariablesBuilder { - String shiftId; - - final FirebaseDataConnect _dataConnect; - GetApplicationsByShiftIdVariablesBuilder(this._dataConnect, {required this.shiftId,}); - Deserializer dataDeserializer = (dynamic json) => GetApplicationsByShiftIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetApplicationsByShiftIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetApplicationsByShiftIdVariables vars= GetApplicationsByShiftIdVariables(shiftId: shiftId,); - return _dataConnect.query("getApplicationsByShiftId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetApplicationsByShiftIdApplications { - final String id; - final String shiftId; - final String staffId; - final EnumValue status; - final Timestamp? appliedAt; - final Timestamp? checkInTime; - final Timestamp? checkOutTime; - final EnumValue origin; - final Timestamp? createdAt; - final GetApplicationsByShiftIdApplicationsShift shift; - final GetApplicationsByShiftIdApplicationsShiftRole shiftRole; - GetApplicationsByShiftIdApplications.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - shiftId = nativeFromJson(json['shiftId']), - staffId = nativeFromJson(json['staffId']), - status = applicationStatusDeserializer(json['status']), - appliedAt = json['appliedAt'] == null ? null : Timestamp.fromJson(json['appliedAt']), - checkInTime = json['checkInTime'] == null ? null : Timestamp.fromJson(json['checkInTime']), - checkOutTime = json['checkOutTime'] == null ? null : Timestamp.fromJson(json['checkOutTime']), - origin = applicationOriginDeserializer(json['origin']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - shift = GetApplicationsByShiftIdApplicationsShift.fromJson(json['shift']), - shiftRole = GetApplicationsByShiftIdApplicationsShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdApplications otherTyped = other as GetApplicationsByShiftIdApplications; - return id == otherTyped.id && - shiftId == otherTyped.shiftId && - staffId == otherTyped.staffId && - status == otherTyped.status && - appliedAt == otherTyped.appliedAt && - checkInTime == otherTyped.checkInTime && - checkOutTime == otherTyped.checkOutTime && - origin == otherTyped.origin && - createdAt == otherTyped.createdAt && - shift == otherTyped.shift && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftId.hashCode, staffId.hashCode, status.hashCode, appliedAt.hashCode, checkInTime.hashCode, checkOutTime.hashCode, origin.hashCode, createdAt.hashCode, shift.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['shiftId'] = nativeToJson(shiftId); - json['staffId'] = nativeToJson(staffId); - json['status'] = - applicationStatusSerializer(status) - ; - if (appliedAt != null) { - json['appliedAt'] = appliedAt!.toJson(); - } - if (checkInTime != null) { - json['checkInTime'] = checkInTime!.toJson(); - } - if (checkOutTime != null) { - json['checkOutTime'] = checkOutTime!.toJson(); - } - json['origin'] = - applicationOriginSerializer(origin) - ; - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['shift'] = shift.toJson(); - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - GetApplicationsByShiftIdApplications({ - required this.id, - required this.shiftId, - required this.staffId, - required this.status, - this.appliedAt, - this.checkInTime, - this.checkOutTime, - required this.origin, - this.createdAt, - required this.shift, - required this.shiftRole, - }); -} - -@immutable -class GetApplicationsByShiftIdApplicationsShift { - final String id; - final String title; - final Timestamp? date; - final Timestamp? startTime; - final Timestamp? endTime; - final String? location; - final EnumValue? status; - final GetApplicationsByShiftIdApplicationsShiftOrder order; - GetApplicationsByShiftIdApplicationsShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']), - order = GetApplicationsByShiftIdApplicationsShiftOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdApplicationsShift otherTyped = other as GetApplicationsByShiftIdApplicationsShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - location == otherTyped.location && - status == otherTyped.status && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, startTime.hashCode, endTime.hashCode, location.hashCode, status.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - json['order'] = order.toJson(); - return json; - } - - GetApplicationsByShiftIdApplicationsShift({ - required this.id, - required this.title, - this.date, - this.startTime, - this.endTime, - this.location, - this.status, - required this.order, - }); -} - -@immutable -class GetApplicationsByShiftIdApplicationsShiftOrder { - final String id; - final String? eventName; - final String? location; - final GetApplicationsByShiftIdApplicationsShiftOrderBusiness business; - final GetApplicationsByShiftIdApplicationsShiftOrderVendor vendor; - GetApplicationsByShiftIdApplicationsShiftOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - business = GetApplicationsByShiftIdApplicationsShiftOrderBusiness.fromJson(json['business']), - vendor = GetApplicationsByShiftIdApplicationsShiftOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdApplicationsShiftOrder otherTyped = other as GetApplicationsByShiftIdApplicationsShiftOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - location == otherTyped.location && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, location.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetApplicationsByShiftIdApplicationsShiftOrder({ - required this.id, - this.eventName, - this.location, - required this.business, - required this.vendor, - }); -} - -@immutable -class GetApplicationsByShiftIdApplicationsShiftOrderBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - GetApplicationsByShiftIdApplicationsShiftOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdApplicationsShiftOrderBusiness otherTyped = other as GetApplicationsByShiftIdApplicationsShiftOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - GetApplicationsByShiftIdApplicationsShiftOrderBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class GetApplicationsByShiftIdApplicationsShiftOrderVendor { - final String id; - final String companyName; - GetApplicationsByShiftIdApplicationsShiftOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdApplicationsShiftOrderVendor otherTyped = other as GetApplicationsByShiftIdApplicationsShiftOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetApplicationsByShiftIdApplicationsShiftOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetApplicationsByShiftIdApplicationsShiftRole { - final String id; - final String roleId; - final int count; - final int? assigned; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final double? totalValue; - final GetApplicationsByShiftIdApplicationsShiftRoleRole role; - GetApplicationsByShiftIdApplicationsShiftRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - roleId = nativeFromJson(json['roleId']), - count = nativeFromJson(json['count']), - assigned = json['assigned'] == null ? null : nativeFromJson(json['assigned']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - role = GetApplicationsByShiftIdApplicationsShiftRoleRole.fromJson(json['role']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdApplicationsShiftRole otherTyped = other as GetApplicationsByShiftIdApplicationsShiftRole; - return id == otherTyped.id && - roleId == otherTyped.roleId && - count == otherTyped.count && - assigned == otherTyped.assigned && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - role == otherTyped.role; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, roleId.hashCode, count.hashCode, assigned.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, totalValue.hashCode, role.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['roleId'] = nativeToJson(roleId); - json['count'] = nativeToJson(count); - if (assigned != null) { - json['assigned'] = nativeToJson(assigned); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - json['role'] = role.toJson(); - return json; - } - - GetApplicationsByShiftIdApplicationsShiftRole({ - required this.id, - required this.roleId, - required this.count, - this.assigned, - this.startTime, - this.endTime, - this.hours, - this.totalValue, - required this.role, - }); -} - -@immutable -class GetApplicationsByShiftIdApplicationsShiftRoleRole { - final String id; - final String name; - final double costPerHour; - GetApplicationsByShiftIdApplicationsShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdApplicationsShiftRoleRole otherTyped = other as GetApplicationsByShiftIdApplicationsShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - GetApplicationsByShiftIdApplicationsShiftRoleRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class GetApplicationsByShiftIdData { - final List applications; - GetApplicationsByShiftIdData.fromJson(dynamic json): - - applications = (json['applications'] as List) - .map((e) => GetApplicationsByShiftIdApplications.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdData otherTyped = other as GetApplicationsByShiftIdData; - return applications == otherTyped.applications; - - } - @override - int get hashCode => applications.hashCode; - - - Map toJson() { - Map json = {}; - json['applications'] = applications.map((e) => e.toJson()).toList(); - return json; - } - - GetApplicationsByShiftIdData({ - required this.applications, - }); -} - -@immutable -class GetApplicationsByShiftIdVariables { - final String shiftId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetApplicationsByShiftIdVariables.fromJson(Map json): - - shiftId = nativeFromJson(json['shiftId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdVariables otherTyped = other as GetApplicationsByShiftIdVariables; - return shiftId == otherTyped.shiftId; - - } - @override - int get hashCode => shiftId.hashCode; - - - Map toJson() { - Map json = {}; - json['shiftId'] = nativeToJson(shiftId); - return json; - } - - GetApplicationsByShiftIdVariables({ - required this.shiftId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_applications_by_shift_id_and_status.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_applications_by_shift_id_and_status.dart deleted file mode 100644 index 61d44d9e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_applications_by_shift_id_and_status.dart +++ /dev/null @@ -1,587 +0,0 @@ -part of 'generated.dart'; - -class GetApplicationsByShiftIdAndStatusVariablesBuilder { - String shiftId; - ApplicationStatus status; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; GetApplicationsByShiftIdAndStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetApplicationsByShiftIdAndStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - GetApplicationsByShiftIdAndStatusVariablesBuilder(this._dataConnect, {required this.shiftId,required this.status,}); - Deserializer dataDeserializer = (dynamic json) => GetApplicationsByShiftIdAndStatusData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetApplicationsByShiftIdAndStatusVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetApplicationsByShiftIdAndStatusVariables vars= GetApplicationsByShiftIdAndStatusVariables(shiftId: shiftId,status: status,offset: _offset,limit: _limit,); - return _dataConnect.query("getApplicationsByShiftIdAndStatus", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetApplicationsByShiftIdAndStatusApplications { - final String id; - final String shiftId; - final String staffId; - final EnumValue status; - final Timestamp? appliedAt; - final Timestamp? checkInTime; - final Timestamp? checkOutTime; - final EnumValue origin; - final Timestamp? createdAt; - final GetApplicationsByShiftIdAndStatusApplicationsShift shift; - final GetApplicationsByShiftIdAndStatusApplicationsShiftRole shiftRole; - GetApplicationsByShiftIdAndStatusApplications.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - shiftId = nativeFromJson(json['shiftId']), - staffId = nativeFromJson(json['staffId']), - status = applicationStatusDeserializer(json['status']), - appliedAt = json['appliedAt'] == null ? null : Timestamp.fromJson(json['appliedAt']), - checkInTime = json['checkInTime'] == null ? null : Timestamp.fromJson(json['checkInTime']), - checkOutTime = json['checkOutTime'] == null ? null : Timestamp.fromJson(json['checkOutTime']), - origin = applicationOriginDeserializer(json['origin']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - shift = GetApplicationsByShiftIdAndStatusApplicationsShift.fromJson(json['shift']), - shiftRole = GetApplicationsByShiftIdAndStatusApplicationsShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdAndStatusApplications otherTyped = other as GetApplicationsByShiftIdAndStatusApplications; - return id == otherTyped.id && - shiftId == otherTyped.shiftId && - staffId == otherTyped.staffId && - status == otherTyped.status && - appliedAt == otherTyped.appliedAt && - checkInTime == otherTyped.checkInTime && - checkOutTime == otherTyped.checkOutTime && - origin == otherTyped.origin && - createdAt == otherTyped.createdAt && - shift == otherTyped.shift && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftId.hashCode, staffId.hashCode, status.hashCode, appliedAt.hashCode, checkInTime.hashCode, checkOutTime.hashCode, origin.hashCode, createdAt.hashCode, shift.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['shiftId'] = nativeToJson(shiftId); - json['staffId'] = nativeToJson(staffId); - json['status'] = - applicationStatusSerializer(status) - ; - if (appliedAt != null) { - json['appliedAt'] = appliedAt!.toJson(); - } - if (checkInTime != null) { - json['checkInTime'] = checkInTime!.toJson(); - } - if (checkOutTime != null) { - json['checkOutTime'] = checkOutTime!.toJson(); - } - json['origin'] = - applicationOriginSerializer(origin) - ; - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['shift'] = shift.toJson(); - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - GetApplicationsByShiftIdAndStatusApplications({ - required this.id, - required this.shiftId, - required this.staffId, - required this.status, - this.appliedAt, - this.checkInTime, - this.checkOutTime, - required this.origin, - this.createdAt, - required this.shift, - required this.shiftRole, - }); -} - -@immutable -class GetApplicationsByShiftIdAndStatusApplicationsShift { - final String id; - final String title; - final Timestamp? date; - final Timestamp? startTime; - final Timestamp? endTime; - final String? location; - final EnumValue? status; - final GetApplicationsByShiftIdAndStatusApplicationsShiftOrder order; - GetApplicationsByShiftIdAndStatusApplicationsShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']), - order = GetApplicationsByShiftIdAndStatusApplicationsShiftOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdAndStatusApplicationsShift otherTyped = other as GetApplicationsByShiftIdAndStatusApplicationsShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - location == otherTyped.location && - status == otherTyped.status && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, startTime.hashCode, endTime.hashCode, location.hashCode, status.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - json['order'] = order.toJson(); - return json; - } - - GetApplicationsByShiftIdAndStatusApplicationsShift({ - required this.id, - required this.title, - this.date, - this.startTime, - this.endTime, - this.location, - this.status, - required this.order, - }); -} - -@immutable -class GetApplicationsByShiftIdAndStatusApplicationsShiftOrder { - final String id; - final String? eventName; - final String? location; - final GetApplicationsByShiftIdAndStatusApplicationsShiftOrderBusiness business; - final GetApplicationsByShiftIdAndStatusApplicationsShiftOrderVendor vendor; - GetApplicationsByShiftIdAndStatusApplicationsShiftOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - business = GetApplicationsByShiftIdAndStatusApplicationsShiftOrderBusiness.fromJson(json['business']), - vendor = GetApplicationsByShiftIdAndStatusApplicationsShiftOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdAndStatusApplicationsShiftOrder otherTyped = other as GetApplicationsByShiftIdAndStatusApplicationsShiftOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - location == otherTyped.location && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, location.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetApplicationsByShiftIdAndStatusApplicationsShiftOrder({ - required this.id, - this.eventName, - this.location, - required this.business, - required this.vendor, - }); -} - -@immutable -class GetApplicationsByShiftIdAndStatusApplicationsShiftOrderBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - GetApplicationsByShiftIdAndStatusApplicationsShiftOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdAndStatusApplicationsShiftOrderBusiness otherTyped = other as GetApplicationsByShiftIdAndStatusApplicationsShiftOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - GetApplicationsByShiftIdAndStatusApplicationsShiftOrderBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class GetApplicationsByShiftIdAndStatusApplicationsShiftOrderVendor { - final String id; - final String companyName; - GetApplicationsByShiftIdAndStatusApplicationsShiftOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdAndStatusApplicationsShiftOrderVendor otherTyped = other as GetApplicationsByShiftIdAndStatusApplicationsShiftOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetApplicationsByShiftIdAndStatusApplicationsShiftOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetApplicationsByShiftIdAndStatusApplicationsShiftRole { - final String id; - final String roleId; - final int count; - final int? assigned; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final double? totalValue; - final GetApplicationsByShiftIdAndStatusApplicationsShiftRoleRole role; - GetApplicationsByShiftIdAndStatusApplicationsShiftRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - roleId = nativeFromJson(json['roleId']), - count = nativeFromJson(json['count']), - assigned = json['assigned'] == null ? null : nativeFromJson(json['assigned']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - role = GetApplicationsByShiftIdAndStatusApplicationsShiftRoleRole.fromJson(json['role']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdAndStatusApplicationsShiftRole otherTyped = other as GetApplicationsByShiftIdAndStatusApplicationsShiftRole; - return id == otherTyped.id && - roleId == otherTyped.roleId && - count == otherTyped.count && - assigned == otherTyped.assigned && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - role == otherTyped.role; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, roleId.hashCode, count.hashCode, assigned.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, totalValue.hashCode, role.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['roleId'] = nativeToJson(roleId); - json['count'] = nativeToJson(count); - if (assigned != null) { - json['assigned'] = nativeToJson(assigned); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - json['role'] = role.toJson(); - return json; - } - - GetApplicationsByShiftIdAndStatusApplicationsShiftRole({ - required this.id, - required this.roleId, - required this.count, - this.assigned, - this.startTime, - this.endTime, - this.hours, - this.totalValue, - required this.role, - }); -} - -@immutable -class GetApplicationsByShiftIdAndStatusApplicationsShiftRoleRole { - final String id; - final String name; - final double costPerHour; - GetApplicationsByShiftIdAndStatusApplicationsShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdAndStatusApplicationsShiftRoleRole otherTyped = other as GetApplicationsByShiftIdAndStatusApplicationsShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - GetApplicationsByShiftIdAndStatusApplicationsShiftRoleRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class GetApplicationsByShiftIdAndStatusData { - final List applications; - GetApplicationsByShiftIdAndStatusData.fromJson(dynamic json): - - applications = (json['applications'] as List) - .map((e) => GetApplicationsByShiftIdAndStatusApplications.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdAndStatusData otherTyped = other as GetApplicationsByShiftIdAndStatusData; - return applications == otherTyped.applications; - - } - @override - int get hashCode => applications.hashCode; - - - Map toJson() { - Map json = {}; - json['applications'] = applications.map((e) => e.toJson()).toList(); - return json; - } - - GetApplicationsByShiftIdAndStatusData({ - required this.applications, - }); -} - -@immutable -class GetApplicationsByShiftIdAndStatusVariables { - final String shiftId; - final ApplicationStatus status; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetApplicationsByShiftIdAndStatusVariables.fromJson(Map json): - - shiftId = nativeFromJson(json['shiftId']), - status = ApplicationStatus.values.byName(json['status']) { - - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByShiftIdAndStatusVariables otherTyped = other as GetApplicationsByShiftIdAndStatusVariables; - return shiftId == otherTyped.shiftId && - status == otherTyped.status && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([shiftId.hashCode, status.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['shiftId'] = nativeToJson(shiftId); - json['status'] = - status.name - ; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - GetApplicationsByShiftIdAndStatusVariables({ - required this.shiftId, - required this.status, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_applications_by_staff_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_applications_by_staff_id.dart deleted file mode 100644 index ddfa760a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_applications_by_staff_id.dart +++ /dev/null @@ -1,578 +0,0 @@ -part of 'generated.dart'; - -class GetApplicationsByStaffIdVariablesBuilder { - String staffId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; GetApplicationsByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetApplicationsByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - GetApplicationsByStaffIdVariablesBuilder(this._dataConnect, {required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => GetApplicationsByStaffIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetApplicationsByStaffIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetApplicationsByStaffIdVariables vars= GetApplicationsByStaffIdVariables(staffId: staffId,offset: _offset,limit: _limit,); - return _dataConnect.query("getApplicationsByStaffId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetApplicationsByStaffIdApplications { - final String id; - final String shiftId; - final String staffId; - final EnumValue status; - final Timestamp? appliedAt; - final Timestamp? checkInTime; - final Timestamp? checkOutTime; - final EnumValue origin; - final Timestamp? createdAt; - final GetApplicationsByStaffIdApplicationsShift shift; - final GetApplicationsByStaffIdApplicationsShiftRole shiftRole; - GetApplicationsByStaffIdApplications.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - shiftId = nativeFromJson(json['shiftId']), - staffId = nativeFromJson(json['staffId']), - status = applicationStatusDeserializer(json['status']), - appliedAt = json['appliedAt'] == null ? null : Timestamp.fromJson(json['appliedAt']), - checkInTime = json['checkInTime'] == null ? null : Timestamp.fromJson(json['checkInTime']), - checkOutTime = json['checkOutTime'] == null ? null : Timestamp.fromJson(json['checkOutTime']), - origin = applicationOriginDeserializer(json['origin']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - shift = GetApplicationsByStaffIdApplicationsShift.fromJson(json['shift']), - shiftRole = GetApplicationsByStaffIdApplicationsShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByStaffIdApplications otherTyped = other as GetApplicationsByStaffIdApplications; - return id == otherTyped.id && - shiftId == otherTyped.shiftId && - staffId == otherTyped.staffId && - status == otherTyped.status && - appliedAt == otherTyped.appliedAt && - checkInTime == otherTyped.checkInTime && - checkOutTime == otherTyped.checkOutTime && - origin == otherTyped.origin && - createdAt == otherTyped.createdAt && - shift == otherTyped.shift && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftId.hashCode, staffId.hashCode, status.hashCode, appliedAt.hashCode, checkInTime.hashCode, checkOutTime.hashCode, origin.hashCode, createdAt.hashCode, shift.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['shiftId'] = nativeToJson(shiftId); - json['staffId'] = nativeToJson(staffId); - json['status'] = - applicationStatusSerializer(status) - ; - if (appliedAt != null) { - json['appliedAt'] = appliedAt!.toJson(); - } - if (checkInTime != null) { - json['checkInTime'] = checkInTime!.toJson(); - } - if (checkOutTime != null) { - json['checkOutTime'] = checkOutTime!.toJson(); - } - json['origin'] = - applicationOriginSerializer(origin) - ; - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['shift'] = shift.toJson(); - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - GetApplicationsByStaffIdApplications({ - required this.id, - required this.shiftId, - required this.staffId, - required this.status, - this.appliedAt, - this.checkInTime, - this.checkOutTime, - required this.origin, - this.createdAt, - required this.shift, - required this.shiftRole, - }); -} - -@immutable -class GetApplicationsByStaffIdApplicationsShift { - final String id; - final String title; - final Timestamp? date; - final Timestamp? startTime; - final Timestamp? endTime; - final String? location; - final EnumValue? status; - final GetApplicationsByStaffIdApplicationsShiftOrder order; - GetApplicationsByStaffIdApplicationsShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']), - order = GetApplicationsByStaffIdApplicationsShiftOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByStaffIdApplicationsShift otherTyped = other as GetApplicationsByStaffIdApplicationsShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - location == otherTyped.location && - status == otherTyped.status && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, startTime.hashCode, endTime.hashCode, location.hashCode, status.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - json['order'] = order.toJson(); - return json; - } - - GetApplicationsByStaffIdApplicationsShift({ - required this.id, - required this.title, - this.date, - this.startTime, - this.endTime, - this.location, - this.status, - required this.order, - }); -} - -@immutable -class GetApplicationsByStaffIdApplicationsShiftOrder { - final String id; - final String? eventName; - final String? location; - final GetApplicationsByStaffIdApplicationsShiftOrderBusiness business; - final GetApplicationsByStaffIdApplicationsShiftOrderVendor vendor; - GetApplicationsByStaffIdApplicationsShiftOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - business = GetApplicationsByStaffIdApplicationsShiftOrderBusiness.fromJson(json['business']), - vendor = GetApplicationsByStaffIdApplicationsShiftOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByStaffIdApplicationsShiftOrder otherTyped = other as GetApplicationsByStaffIdApplicationsShiftOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - location == otherTyped.location && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, location.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetApplicationsByStaffIdApplicationsShiftOrder({ - required this.id, - this.eventName, - this.location, - required this.business, - required this.vendor, - }); -} - -@immutable -class GetApplicationsByStaffIdApplicationsShiftOrderBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - GetApplicationsByStaffIdApplicationsShiftOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByStaffIdApplicationsShiftOrderBusiness otherTyped = other as GetApplicationsByStaffIdApplicationsShiftOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - GetApplicationsByStaffIdApplicationsShiftOrderBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class GetApplicationsByStaffIdApplicationsShiftOrderVendor { - final String id; - final String companyName; - GetApplicationsByStaffIdApplicationsShiftOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByStaffIdApplicationsShiftOrderVendor otherTyped = other as GetApplicationsByStaffIdApplicationsShiftOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetApplicationsByStaffIdApplicationsShiftOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetApplicationsByStaffIdApplicationsShiftRole { - final String id; - final String roleId; - final int count; - final int? assigned; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final double? totalValue; - final GetApplicationsByStaffIdApplicationsShiftRoleRole role; - GetApplicationsByStaffIdApplicationsShiftRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - roleId = nativeFromJson(json['roleId']), - count = nativeFromJson(json['count']), - assigned = json['assigned'] == null ? null : nativeFromJson(json['assigned']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - role = GetApplicationsByStaffIdApplicationsShiftRoleRole.fromJson(json['role']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByStaffIdApplicationsShiftRole otherTyped = other as GetApplicationsByStaffIdApplicationsShiftRole; - return id == otherTyped.id && - roleId == otherTyped.roleId && - count == otherTyped.count && - assigned == otherTyped.assigned && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - role == otherTyped.role; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, roleId.hashCode, count.hashCode, assigned.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, totalValue.hashCode, role.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['roleId'] = nativeToJson(roleId); - json['count'] = nativeToJson(count); - if (assigned != null) { - json['assigned'] = nativeToJson(assigned); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - json['role'] = role.toJson(); - return json; - } - - GetApplicationsByStaffIdApplicationsShiftRole({ - required this.id, - required this.roleId, - required this.count, - this.assigned, - this.startTime, - this.endTime, - this.hours, - this.totalValue, - required this.role, - }); -} - -@immutable -class GetApplicationsByStaffIdApplicationsShiftRoleRole { - final String id; - final String name; - final double costPerHour; - GetApplicationsByStaffIdApplicationsShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByStaffIdApplicationsShiftRoleRole otherTyped = other as GetApplicationsByStaffIdApplicationsShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - GetApplicationsByStaffIdApplicationsShiftRoleRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class GetApplicationsByStaffIdData { - final List applications; - GetApplicationsByStaffIdData.fromJson(dynamic json): - - applications = (json['applications'] as List) - .map((e) => GetApplicationsByStaffIdApplications.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByStaffIdData otherTyped = other as GetApplicationsByStaffIdData; - return applications == otherTyped.applications; - - } - @override - int get hashCode => applications.hashCode; - - - Map toJson() { - Map json = {}; - json['applications'] = applications.map((e) => e.toJson()).toList(); - return json; - } - - GetApplicationsByStaffIdData({ - required this.applications, - }); -} - -@immutable -class GetApplicationsByStaffIdVariables { - final String staffId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetApplicationsByStaffIdVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetApplicationsByStaffIdVariables otherTyped = other as GetApplicationsByStaffIdVariables; - return staffId == otherTyped.staffId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - GetApplicationsByStaffIdVariables({ - required this.staffId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_assignment_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_assignment_by_id.dart deleted file mode 100644 index 4a63320e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_assignment_by_id.dart +++ /dev/null @@ -1,707 +0,0 @@ -part of 'generated.dart'; - -class GetAssignmentByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetAssignmentByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetAssignmentByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetAssignmentByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetAssignmentByIdVariables vars= GetAssignmentByIdVariables(id: id,); - return _dataConnect.query("getAssignmentById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetAssignmentByIdAssignment { - final String id; - final String? title; - final String? description; - final String? instructions; - final EnumValue? status; - final bool? tipsAvailable; - final bool? travelTime; - final bool? mealProvided; - final bool? parkingAvailable; - final bool? gasCompensation; - final List? managers; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final GetAssignmentByIdAssignmentWorkforce workforce; - final GetAssignmentByIdAssignmentShiftRole shiftRole; - GetAssignmentByIdAssignment.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = json['title'] == null ? null : nativeFromJson(json['title']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - instructions = json['instructions'] == null ? null : nativeFromJson(json['instructions']), - status = json['status'] == null ? null : assignmentStatusDeserializer(json['status']), - tipsAvailable = json['tipsAvailable'] == null ? null : nativeFromJson(json['tipsAvailable']), - travelTime = json['travelTime'] == null ? null : nativeFromJson(json['travelTime']), - mealProvided = json['mealProvided'] == null ? null : nativeFromJson(json['mealProvided']), - parkingAvailable = json['parkingAvailable'] == null ? null : nativeFromJson(json['parkingAvailable']), - gasCompensation = json['gasCompensation'] == null ? null : nativeFromJson(json['gasCompensation']), - managers = json['managers'] == null ? null : (json['managers'] as List) - .map((e) => AnyValue.fromJson(e)) - .toList(), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - workforce = GetAssignmentByIdAssignmentWorkforce.fromJson(json['workforce']), - shiftRole = GetAssignmentByIdAssignmentShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAssignmentByIdAssignment otherTyped = other as GetAssignmentByIdAssignment; - return id == otherTyped.id && - title == otherTyped.title && - description == otherTyped.description && - instructions == otherTyped.instructions && - status == otherTyped.status && - tipsAvailable == otherTyped.tipsAvailable && - travelTime == otherTyped.travelTime && - mealProvided == otherTyped.mealProvided && - parkingAvailable == otherTyped.parkingAvailable && - gasCompensation == otherTyped.gasCompensation && - managers == otherTyped.managers && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - workforce == otherTyped.workforce && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, description.hashCode, instructions.hashCode, status.hashCode, tipsAvailable.hashCode, travelTime.hashCode, mealProvided.hashCode, parkingAvailable.hashCode, gasCompensation.hashCode, managers.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, workforce.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (title != null) { - json['title'] = nativeToJson(title); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - if (instructions != null) { - json['instructions'] = nativeToJson(instructions); - } - if (status != null) { - json['status'] = - assignmentStatusSerializer(status!) - ; - } - if (tipsAvailable != null) { - json['tipsAvailable'] = nativeToJson(tipsAvailable); - } - if (travelTime != null) { - json['travelTime'] = nativeToJson(travelTime); - } - if (mealProvided != null) { - json['mealProvided'] = nativeToJson(mealProvided); - } - if (parkingAvailable != null) { - json['parkingAvailable'] = nativeToJson(parkingAvailable); - } - if (gasCompensation != null) { - json['gasCompensation'] = nativeToJson(gasCompensation); - } - if (managers != null) { - json['managers'] = managers?.map((e) => e!.toJson()).toList(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['workforce'] = workforce.toJson(); - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - GetAssignmentByIdAssignment({ - required this.id, - this.title, - this.description, - this.instructions, - this.status, - this.tipsAvailable, - this.travelTime, - this.mealProvided, - this.parkingAvailable, - this.gasCompensation, - this.managers, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.workforce, - required this.shiftRole, - }); -} - -@immutable -class GetAssignmentByIdAssignmentWorkforce { - final String id; - final String workforceNumber; - final EnumValue? status; - final GetAssignmentByIdAssignmentWorkforceStaff staff; - GetAssignmentByIdAssignmentWorkforce.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - workforceNumber = nativeFromJson(json['workforceNumber']), - status = json['status'] == null ? null : workforceStatusDeserializer(json['status']), - staff = GetAssignmentByIdAssignmentWorkforceStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAssignmentByIdAssignmentWorkforce otherTyped = other as GetAssignmentByIdAssignmentWorkforce; - return id == otherTyped.id && - workforceNumber == otherTyped.workforceNumber && - status == otherTyped.status && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workforceNumber.hashCode, status.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['workforceNumber'] = nativeToJson(workforceNumber); - if (status != null) { - json['status'] = - workforceStatusSerializer(status!) - ; - } - json['staff'] = staff.toJson(); - return json; - } - - GetAssignmentByIdAssignmentWorkforce({ - required this.id, - required this.workforceNumber, - this.status, - required this.staff, - }); -} - -@immutable -class GetAssignmentByIdAssignmentWorkforceStaff { - final String id; - final String fullName; - GetAssignmentByIdAssignmentWorkforceStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAssignmentByIdAssignmentWorkforceStaff otherTyped = other as GetAssignmentByIdAssignmentWorkforceStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - GetAssignmentByIdAssignmentWorkforceStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class GetAssignmentByIdAssignmentShiftRole { - final String id; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final double? totalValue; - final EnumValue? breakType; - final String? uniform; - final String? department; - final GetAssignmentByIdAssignmentShiftRoleRole role; - final GetAssignmentByIdAssignmentShiftRoleShift shift; - GetAssignmentByIdAssignmentShiftRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - breakType = json['breakType'] == null ? null : breakDurationDeserializer(json['breakType']), - uniform = json['uniform'] == null ? null : nativeFromJson(json['uniform']), - department = json['department'] == null ? null : nativeFromJson(json['department']), - role = GetAssignmentByIdAssignmentShiftRoleRole.fromJson(json['role']), - shift = GetAssignmentByIdAssignmentShiftRoleShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAssignmentByIdAssignmentShiftRole otherTyped = other as GetAssignmentByIdAssignmentShiftRole; - return id == otherTyped.id && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - breakType == otherTyped.breakType && - uniform == otherTyped.uniform && - department == otherTyped.department && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, totalValue.hashCode, breakType.hashCode, uniform.hashCode, department.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - if (breakType != null) { - json['breakType'] = - breakDurationSerializer(breakType!) - ; - } - if (uniform != null) { - json['uniform'] = nativeToJson(uniform); - } - if (department != null) { - json['department'] = nativeToJson(department); - } - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - GetAssignmentByIdAssignmentShiftRole({ - required this.id, - this.startTime, - this.endTime, - this.hours, - this.totalValue, - this.breakType, - this.uniform, - this.department, - required this.role, - required this.shift, - }); -} - -@immutable -class GetAssignmentByIdAssignmentShiftRoleRole { - final String id; - final String name; - final double costPerHour; - GetAssignmentByIdAssignmentShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAssignmentByIdAssignmentShiftRoleRole otherTyped = other as GetAssignmentByIdAssignmentShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - GetAssignmentByIdAssignmentShiftRoleRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class GetAssignmentByIdAssignmentShiftRoleShift { - final String id; - final String title; - final Timestamp? date; - final String? location; - final String? locationAddress; - final double? latitude; - final double? longitude; - final EnumValue? status; - final List? managers; - final GetAssignmentByIdAssignmentShiftRoleShiftOrder order; - GetAssignmentByIdAssignmentShiftRoleShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']), - latitude = json['latitude'] == null ? null : nativeFromJson(json['latitude']), - longitude = json['longitude'] == null ? null : nativeFromJson(json['longitude']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']), - managers = json['managers'] == null ? null : (json['managers'] as List) - .map((e) => AnyValue.fromJson(e)) - .toList(), - order = GetAssignmentByIdAssignmentShiftRoleShiftOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAssignmentByIdAssignmentShiftRoleShift otherTyped = other as GetAssignmentByIdAssignmentShiftRoleShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - latitude == otherTyped.latitude && - longitude == otherTyped.longitude && - status == otherTyped.status && - managers == otherTyped.managers && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, location.hashCode, locationAddress.hashCode, latitude.hashCode, longitude.hashCode, status.hashCode, managers.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - if (latitude != null) { - json['latitude'] = nativeToJson(latitude); - } - if (longitude != null) { - json['longitude'] = nativeToJson(longitude); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - if (managers != null) { - json['managers'] = managers?.map((e) => e!.toJson()).toList(); - } - json['order'] = order.toJson(); - return json; - } - - GetAssignmentByIdAssignmentShiftRoleShift({ - required this.id, - required this.title, - this.date, - this.location, - this.locationAddress, - this.latitude, - this.longitude, - this.status, - this.managers, - required this.order, - }); -} - -@immutable -class GetAssignmentByIdAssignmentShiftRoleShiftOrder { - final String id; - final String? eventName; - final EnumValue orderType; - final GetAssignmentByIdAssignmentShiftRoleShiftOrderBusiness business; - final GetAssignmentByIdAssignmentShiftRoleShiftOrderVendor vendor; - GetAssignmentByIdAssignmentShiftRoleShiftOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - orderType = orderTypeDeserializer(json['orderType']), - business = GetAssignmentByIdAssignmentShiftRoleShiftOrderBusiness.fromJson(json['business']), - vendor = GetAssignmentByIdAssignmentShiftRoleShiftOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAssignmentByIdAssignmentShiftRoleShiftOrder otherTyped = other as GetAssignmentByIdAssignmentShiftRoleShiftOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - orderType == otherTyped.orderType && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, orderType.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['orderType'] = - orderTypeSerializer(orderType) - ; - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetAssignmentByIdAssignmentShiftRoleShiftOrder({ - required this.id, - this.eventName, - required this.orderType, - required this.business, - required this.vendor, - }); -} - -@immutable -class GetAssignmentByIdAssignmentShiftRoleShiftOrderBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - GetAssignmentByIdAssignmentShiftRoleShiftOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAssignmentByIdAssignmentShiftRoleShiftOrderBusiness otherTyped = other as GetAssignmentByIdAssignmentShiftRoleShiftOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - GetAssignmentByIdAssignmentShiftRoleShiftOrderBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class GetAssignmentByIdAssignmentShiftRoleShiftOrderVendor { - final String id; - final String companyName; - GetAssignmentByIdAssignmentShiftRoleShiftOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAssignmentByIdAssignmentShiftRoleShiftOrderVendor otherTyped = other as GetAssignmentByIdAssignmentShiftRoleShiftOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetAssignmentByIdAssignmentShiftRoleShiftOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetAssignmentByIdData { - final GetAssignmentByIdAssignment? assignment; - GetAssignmentByIdData.fromJson(dynamic json): - - assignment = json['assignment'] == null ? null : GetAssignmentByIdAssignment.fromJson(json['assignment']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAssignmentByIdData otherTyped = other as GetAssignmentByIdData; - return assignment == otherTyped.assignment; - - } - @override - int get hashCode => assignment.hashCode; - - - Map toJson() { - Map json = {}; - if (assignment != null) { - json['assignment'] = assignment!.toJson(); - } - return json; - } - - GetAssignmentByIdData({ - this.assignment, - }); -} - -@immutable -class GetAssignmentByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetAssignmentByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAssignmentByIdVariables otherTyped = other as GetAssignmentByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetAssignmentByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_attire_option_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_attire_option_by_id.dart deleted file mode 100644 index a889f163..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_attire_option_by_id.dart +++ /dev/null @@ -1,169 +0,0 @@ -part of 'generated.dart'; - -class GetAttireOptionByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetAttireOptionByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetAttireOptionByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetAttireOptionByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetAttireOptionByIdVariables vars= GetAttireOptionByIdVariables(id: id,); - return _dataConnect.query("getAttireOptionById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetAttireOptionByIdAttireOption { - final String id; - final String itemId; - final String label; - final String? icon; - final String? imageUrl; - final bool? isMandatory; - final String? vendorId; - final Timestamp? createdAt; - GetAttireOptionByIdAttireOption.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - itemId = nativeFromJson(json['itemId']), - label = nativeFromJson(json['label']), - icon = json['icon'] == null ? null : nativeFromJson(json['icon']), - imageUrl = json['imageUrl'] == null ? null : nativeFromJson(json['imageUrl']), - isMandatory = json['isMandatory'] == null ? null : nativeFromJson(json['isMandatory']), - vendorId = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAttireOptionByIdAttireOption otherTyped = other as GetAttireOptionByIdAttireOption; - return id == otherTyped.id && - itemId == otherTyped.itemId && - label == otherTyped.label && - icon == otherTyped.icon && - imageUrl == otherTyped.imageUrl && - isMandatory == otherTyped.isMandatory && - vendorId == otherTyped.vendorId && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, itemId.hashCode, label.hashCode, icon.hashCode, imageUrl.hashCode, isMandatory.hashCode, vendorId.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['itemId'] = nativeToJson(itemId); - json['label'] = nativeToJson(label); - if (icon != null) { - json['icon'] = nativeToJson(icon); - } - if (imageUrl != null) { - json['imageUrl'] = nativeToJson(imageUrl); - } - if (isMandatory != null) { - json['isMandatory'] = nativeToJson(isMandatory); - } - if (vendorId != null) { - json['vendorId'] = nativeToJson(vendorId); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - GetAttireOptionByIdAttireOption({ - required this.id, - required this.itemId, - required this.label, - this.icon, - this.imageUrl, - this.isMandatory, - this.vendorId, - this.createdAt, - }); -} - -@immutable -class GetAttireOptionByIdData { - final GetAttireOptionByIdAttireOption? attireOption; - GetAttireOptionByIdData.fromJson(dynamic json): - - attireOption = json['attireOption'] == null ? null : GetAttireOptionByIdAttireOption.fromJson(json['attireOption']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAttireOptionByIdData otherTyped = other as GetAttireOptionByIdData; - return attireOption == otherTyped.attireOption; - - } - @override - int get hashCode => attireOption.hashCode; - - - Map toJson() { - Map json = {}; - if (attireOption != null) { - json['attireOption'] = attireOption!.toJson(); - } - return json; - } - - GetAttireOptionByIdData({ - this.attireOption, - }); -} - -@immutable -class GetAttireOptionByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetAttireOptionByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetAttireOptionByIdVariables otherTyped = other as GetAttireOptionByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetAttireOptionByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_benefits_data_by_key.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_benefits_data_by_key.dart deleted file mode 100644 index 90a2870b..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_benefits_data_by_key.dart +++ /dev/null @@ -1,266 +0,0 @@ -part of 'generated.dart'; - -class GetBenefitsDataByKeyVariablesBuilder { - String staffId; - String vendorBenefitPlanId; - - final FirebaseDataConnect _dataConnect; - GetBenefitsDataByKeyVariablesBuilder(this._dataConnect, {required this.staffId,required this.vendorBenefitPlanId,}); - Deserializer dataDeserializer = (dynamic json) => GetBenefitsDataByKeyData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetBenefitsDataByKeyVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetBenefitsDataByKeyVariables vars= GetBenefitsDataByKeyVariables(staffId: staffId,vendorBenefitPlanId: vendorBenefitPlanId,); - return _dataConnect.query("getBenefitsDataByKey", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetBenefitsDataByKeyBenefitsData { - final String id; - final String vendorBenefitPlanId; - final int current; - final String staffId; - final GetBenefitsDataByKeyBenefitsDataStaff staff; - final GetBenefitsDataByKeyBenefitsDataVendorBenefitPlan vendorBenefitPlan; - GetBenefitsDataByKeyBenefitsData.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorBenefitPlanId = nativeFromJson(json['vendorBenefitPlanId']), - current = nativeFromJson(json['current']), - staffId = nativeFromJson(json['staffId']), - staff = GetBenefitsDataByKeyBenefitsDataStaff.fromJson(json['staff']), - vendorBenefitPlan = GetBenefitsDataByKeyBenefitsDataVendorBenefitPlan.fromJson(json['vendorBenefitPlan']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetBenefitsDataByKeyBenefitsData otherTyped = other as GetBenefitsDataByKeyBenefitsData; - return id == otherTyped.id && - vendorBenefitPlanId == otherTyped.vendorBenefitPlanId && - current == otherTyped.current && - staffId == otherTyped.staffId && - staff == otherTyped.staff && - vendorBenefitPlan == otherTyped.vendorBenefitPlan; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorBenefitPlanId.hashCode, current.hashCode, staffId.hashCode, staff.hashCode, vendorBenefitPlan.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorBenefitPlanId'] = nativeToJson(vendorBenefitPlanId); - json['current'] = nativeToJson(current); - json['staffId'] = nativeToJson(staffId); - json['staff'] = staff.toJson(); - json['vendorBenefitPlan'] = vendorBenefitPlan.toJson(); - return json; - } - - GetBenefitsDataByKeyBenefitsData({ - required this.id, - required this.vendorBenefitPlanId, - required this.current, - required this.staffId, - required this.staff, - required this.vendorBenefitPlan, - }); -} - -@immutable -class GetBenefitsDataByKeyBenefitsDataStaff { - final String id; - final String fullName; - GetBenefitsDataByKeyBenefitsDataStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetBenefitsDataByKeyBenefitsDataStaff otherTyped = other as GetBenefitsDataByKeyBenefitsDataStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - GetBenefitsDataByKeyBenefitsDataStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class GetBenefitsDataByKeyBenefitsDataVendorBenefitPlan { - final String id; - final String vendorId; - final String title; - final String? description; - final String? requestLabel; - final int? total; - final bool? isActive; - GetBenefitsDataByKeyBenefitsDataVendorBenefitPlan.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorId = nativeFromJson(json['vendorId']), - title = nativeFromJson(json['title']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - requestLabel = json['requestLabel'] == null ? null : nativeFromJson(json['requestLabel']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetBenefitsDataByKeyBenefitsDataVendorBenefitPlan otherTyped = other as GetBenefitsDataByKeyBenefitsDataVendorBenefitPlan; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - title == otherTyped.title && - description == otherTyped.description && - requestLabel == otherTyped.requestLabel && - total == otherTyped.total && - isActive == otherTyped.isActive; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, title.hashCode, description.hashCode, requestLabel.hashCode, total.hashCode, isActive.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorId'] = nativeToJson(vendorId); - json['title'] = nativeToJson(title); - if (description != null) { - json['description'] = nativeToJson(description); - } - if (requestLabel != null) { - json['requestLabel'] = nativeToJson(requestLabel); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - return json; - } - - GetBenefitsDataByKeyBenefitsDataVendorBenefitPlan({ - required this.id, - required this.vendorId, - required this.title, - this.description, - this.requestLabel, - this.total, - this.isActive, - }); -} - -@immutable -class GetBenefitsDataByKeyData { - final GetBenefitsDataByKeyBenefitsData? benefitsData; - GetBenefitsDataByKeyData.fromJson(dynamic json): - - benefitsData = json['benefitsData'] == null ? null : GetBenefitsDataByKeyBenefitsData.fromJson(json['benefitsData']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetBenefitsDataByKeyData otherTyped = other as GetBenefitsDataByKeyData; - return benefitsData == otherTyped.benefitsData; - - } - @override - int get hashCode => benefitsData.hashCode; - - - Map toJson() { - Map json = {}; - if (benefitsData != null) { - json['benefitsData'] = benefitsData!.toJson(); - } - return json; - } - - GetBenefitsDataByKeyData({ - this.benefitsData, - }); -} - -@immutable -class GetBenefitsDataByKeyVariables { - final String staffId; - final String vendorBenefitPlanId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetBenefitsDataByKeyVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - vendorBenefitPlanId = nativeFromJson(json['vendorBenefitPlanId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetBenefitsDataByKeyVariables otherTyped = other as GetBenefitsDataByKeyVariables; - return staffId == otherTyped.staffId && - vendorBenefitPlanId == otherTyped.vendorBenefitPlanId; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, vendorBenefitPlanId.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['vendorBenefitPlanId'] = nativeToJson(vendorBenefitPlanId); - return json; - } - - GetBenefitsDataByKeyVariables({ - required this.staffId, - required this.vendorBenefitPlanId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_business_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_business_by_id.dart deleted file mode 100644 index 50ee46b0..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_business_by_id.dart +++ /dev/null @@ -1,236 +0,0 @@ -part of 'generated.dart'; - -class GetBusinessByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetBusinessByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetBusinessByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetBusinessByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetBusinessByIdVariables vars= GetBusinessByIdVariables(id: id,); - return _dataConnect.query("getBusinessById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetBusinessByIdBusiness { - final String id; - final String businessName; - final String? contactName; - final String userId; - final String? companyLogoUrl; - final String? phone; - final String? email; - final String? hubBuilding; - final String? address; - final String? city; - final EnumValue? area; - final EnumValue? sector; - final EnumValue rateGroup; - final EnumValue status; - final String? notes; - final Timestamp? createdAt; - final Timestamp? updatedAt; - GetBusinessByIdBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']), - userId = nativeFromJson(json['userId']), - companyLogoUrl = json['companyLogoUrl'] == null ? null : nativeFromJson(json['companyLogoUrl']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - hubBuilding = json['hubBuilding'] == null ? null : nativeFromJson(json['hubBuilding']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - city = json['city'] == null ? null : nativeFromJson(json['city']), - area = json['area'] == null ? null : businessAreaDeserializer(json['area']), - sector = json['sector'] == null ? null : businessSectorDeserializer(json['sector']), - rateGroup = businessRateGroupDeserializer(json['rateGroup']), - status = businessStatusDeserializer(json['status']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetBusinessByIdBusiness otherTyped = other as GetBusinessByIdBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - contactName == otherTyped.contactName && - userId == otherTyped.userId && - companyLogoUrl == otherTyped.companyLogoUrl && - phone == otherTyped.phone && - email == otherTyped.email && - hubBuilding == otherTyped.hubBuilding && - address == otherTyped.address && - city == otherTyped.city && - area == otherTyped.area && - sector == otherTyped.sector && - rateGroup == otherTyped.rateGroup && - status == otherTyped.status && - notes == otherTyped.notes && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, contactName.hashCode, userId.hashCode, companyLogoUrl.hashCode, phone.hashCode, email.hashCode, hubBuilding.hashCode, address.hashCode, city.hashCode, area.hashCode, sector.hashCode, rateGroup.hashCode, status.hashCode, notes.hashCode, createdAt.hashCode, updatedAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - json['userId'] = nativeToJson(userId); - if (companyLogoUrl != null) { - json['companyLogoUrl'] = nativeToJson(companyLogoUrl); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - if (hubBuilding != null) { - json['hubBuilding'] = nativeToJson(hubBuilding); - } - if (address != null) { - json['address'] = nativeToJson(address); - } - if (city != null) { - json['city'] = nativeToJson(city); - } - if (area != null) { - json['area'] = - businessAreaSerializer(area!) - ; - } - if (sector != null) { - json['sector'] = - businessSectorSerializer(sector!) - ; - } - json['rateGroup'] = - businessRateGroupSerializer(rateGroup) - ; - json['status'] = - businessStatusSerializer(status) - ; - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - return json; - } - - GetBusinessByIdBusiness({ - required this.id, - required this.businessName, - this.contactName, - required this.userId, - this.companyLogoUrl, - this.phone, - this.email, - this.hubBuilding, - this.address, - this.city, - this.area, - this.sector, - required this.rateGroup, - required this.status, - this.notes, - this.createdAt, - this.updatedAt, - }); -} - -@immutable -class GetBusinessByIdData { - final GetBusinessByIdBusiness? business; - GetBusinessByIdData.fromJson(dynamic json): - - business = json['business'] == null ? null : GetBusinessByIdBusiness.fromJson(json['business']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetBusinessByIdData otherTyped = other as GetBusinessByIdData; - return business == otherTyped.business; - - } - @override - int get hashCode => business.hashCode; - - - Map toJson() { - Map json = {}; - if (business != null) { - json['business'] = business!.toJson(); - } - return json; - } - - GetBusinessByIdData({ - this.business, - }); -} - -@immutable -class GetBusinessByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetBusinessByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetBusinessByIdVariables otherTyped = other as GetBusinessByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetBusinessByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_businesses_by_user_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_businesses_by_user_id.dart deleted file mode 100644 index 850b697a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_businesses_by_user_id.dart +++ /dev/null @@ -1,236 +0,0 @@ -part of 'generated.dart'; - -class GetBusinessesByUserIdVariablesBuilder { - String userId; - - final FirebaseDataConnect _dataConnect; - GetBusinessesByUserIdVariablesBuilder(this._dataConnect, {required this.userId,}); - Deserializer dataDeserializer = (dynamic json) => GetBusinessesByUserIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetBusinessesByUserIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetBusinessesByUserIdVariables vars= GetBusinessesByUserIdVariables(userId: userId,); - return _dataConnect.query("getBusinessesByUserId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetBusinessesByUserIdBusinesses { - final String id; - final String businessName; - final String? contactName; - final String userId; - final String? companyLogoUrl; - final String? phone; - final String? email; - final String? hubBuilding; - final String? address; - final String? city; - final EnumValue? area; - final EnumValue? sector; - final EnumValue rateGroup; - final EnumValue status; - final String? notes; - final Timestamp? createdAt; - final Timestamp? updatedAt; - GetBusinessesByUserIdBusinesses.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']), - userId = nativeFromJson(json['userId']), - companyLogoUrl = json['companyLogoUrl'] == null ? null : nativeFromJson(json['companyLogoUrl']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - hubBuilding = json['hubBuilding'] == null ? null : nativeFromJson(json['hubBuilding']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - city = json['city'] == null ? null : nativeFromJson(json['city']), - area = json['area'] == null ? null : businessAreaDeserializer(json['area']), - sector = json['sector'] == null ? null : businessSectorDeserializer(json['sector']), - rateGroup = businessRateGroupDeserializer(json['rateGroup']), - status = businessStatusDeserializer(json['status']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetBusinessesByUserIdBusinesses otherTyped = other as GetBusinessesByUserIdBusinesses; - return id == otherTyped.id && - businessName == otherTyped.businessName && - contactName == otherTyped.contactName && - userId == otherTyped.userId && - companyLogoUrl == otherTyped.companyLogoUrl && - phone == otherTyped.phone && - email == otherTyped.email && - hubBuilding == otherTyped.hubBuilding && - address == otherTyped.address && - city == otherTyped.city && - area == otherTyped.area && - sector == otherTyped.sector && - rateGroup == otherTyped.rateGroup && - status == otherTyped.status && - notes == otherTyped.notes && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, contactName.hashCode, userId.hashCode, companyLogoUrl.hashCode, phone.hashCode, email.hashCode, hubBuilding.hashCode, address.hashCode, city.hashCode, area.hashCode, sector.hashCode, rateGroup.hashCode, status.hashCode, notes.hashCode, createdAt.hashCode, updatedAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - json['userId'] = nativeToJson(userId); - if (companyLogoUrl != null) { - json['companyLogoUrl'] = nativeToJson(companyLogoUrl); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - if (hubBuilding != null) { - json['hubBuilding'] = nativeToJson(hubBuilding); - } - if (address != null) { - json['address'] = nativeToJson(address); - } - if (city != null) { - json['city'] = nativeToJson(city); - } - if (area != null) { - json['area'] = - businessAreaSerializer(area!) - ; - } - if (sector != null) { - json['sector'] = - businessSectorSerializer(sector!) - ; - } - json['rateGroup'] = - businessRateGroupSerializer(rateGroup) - ; - json['status'] = - businessStatusSerializer(status) - ; - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - return json; - } - - GetBusinessesByUserIdBusinesses({ - required this.id, - required this.businessName, - this.contactName, - required this.userId, - this.companyLogoUrl, - this.phone, - this.email, - this.hubBuilding, - this.address, - this.city, - this.area, - this.sector, - required this.rateGroup, - required this.status, - this.notes, - this.createdAt, - this.updatedAt, - }); -} - -@immutable -class GetBusinessesByUserIdData { - final List businesses; - GetBusinessesByUserIdData.fromJson(dynamic json): - - businesses = (json['businesses'] as List) - .map((e) => GetBusinessesByUserIdBusinesses.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetBusinessesByUserIdData otherTyped = other as GetBusinessesByUserIdData; - return businesses == otherTyped.businesses; - - } - @override - int get hashCode => businesses.hashCode; - - - Map toJson() { - Map json = {}; - json['businesses'] = businesses.map((e) => e.toJson()).toList(); - return json; - } - - GetBusinessesByUserIdData({ - required this.businesses, - }); -} - -@immutable -class GetBusinessesByUserIdVariables { - final String userId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetBusinessesByUserIdVariables.fromJson(Map json): - - userId = nativeFromJson(json['userId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetBusinessesByUserIdVariables otherTyped = other as GetBusinessesByUserIdVariables; - return userId == otherTyped.userId; - - } - @override - int get hashCode => userId.hashCode; - - - Map toJson() { - Map json = {}; - json['userId'] = nativeToJson(userId); - return json; - } - - GetBusinessesByUserIdVariables({ - required this.userId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_category_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_category_by_id.dart deleted file mode 100644 index ce631bca..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_category_by_id.dart +++ /dev/null @@ -1,162 +0,0 @@ -part of 'generated.dart'; - -class GetCategoryByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetCategoryByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetCategoryByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetCategoryByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetCategoryByIdVariables vars= GetCategoryByIdVariables(id: id,); - return _dataConnect.query("getCategoryById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetCategoryByIdCategory { - final String id; - final String categoryId; - final String label; - final String? icon; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetCategoryByIdCategory.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - categoryId = nativeFromJson(json['categoryId']), - label = nativeFromJson(json['label']), - icon = json['icon'] == null ? null : nativeFromJson(json['icon']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetCategoryByIdCategory otherTyped = other as GetCategoryByIdCategory; - return id == otherTyped.id && - categoryId == otherTyped.categoryId && - label == otherTyped.label && - icon == otherTyped.icon && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, categoryId.hashCode, label.hashCode, icon.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['categoryId'] = nativeToJson(categoryId); - json['label'] = nativeToJson(label); - if (icon != null) { - json['icon'] = nativeToJson(icon); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetCategoryByIdCategory({ - required this.id, - required this.categoryId, - required this.label, - this.icon, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetCategoryByIdData { - final GetCategoryByIdCategory? category; - GetCategoryByIdData.fromJson(dynamic json): - - category = json['category'] == null ? null : GetCategoryByIdCategory.fromJson(json['category']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetCategoryByIdData otherTyped = other as GetCategoryByIdData; - return category == otherTyped.category; - - } - @override - int get hashCode => category.hashCode; - - - Map toJson() { - Map json = {}; - if (category != null) { - json['category'] = category!.toJson(); - } - return json; - } - - GetCategoryByIdData({ - this.category, - }); -} - -@immutable -class GetCategoryByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetCategoryByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetCategoryByIdVariables otherTyped = other as GetCategoryByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetCategoryByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_certificate_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_certificate_by_id.dart deleted file mode 100644 index c391e609..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_certificate_by_id.dart +++ /dev/null @@ -1,252 +0,0 @@ -part of 'generated.dart'; - -class GetCertificateByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetCertificateByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetCertificateByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetCertificateByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetCertificateByIdVariables vars= GetCertificateByIdVariables(id: id,); - return _dataConnect.query("getCertificateById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetCertificateByIdCertificate { - final String id; - final String name; - final String? description; - final Timestamp? expiry; - final EnumValue status; - final String? fileUrl; - final String? icon; - final EnumValue? certificationType; - final String? issuer; - final String staffId; - final EnumValue? validationStatus; - final String? certificateNumber; - final Timestamp? updatedAt; - final GetCertificateByIdCertificateStaff staff; - GetCertificateByIdCertificate.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - expiry = json['expiry'] == null ? null : Timestamp.fromJson(json['expiry']), - status = certificateStatusDeserializer(json['status']), - fileUrl = json['fileUrl'] == null ? null : nativeFromJson(json['fileUrl']), - icon = json['icon'] == null ? null : nativeFromJson(json['icon']), - certificationType = json['certificationType'] == null ? null : complianceTypeDeserializer(json['certificationType']), - issuer = json['issuer'] == null ? null : nativeFromJson(json['issuer']), - staffId = nativeFromJson(json['staffId']), - validationStatus = json['validationStatus'] == null ? null : validationStatusDeserializer(json['validationStatus']), - certificateNumber = json['certificateNumber'] == null ? null : nativeFromJson(json['certificateNumber']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - staff = GetCertificateByIdCertificateStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetCertificateByIdCertificate otherTyped = other as GetCertificateByIdCertificate; - return id == otherTyped.id && - name == otherTyped.name && - description == otherTyped.description && - expiry == otherTyped.expiry && - status == otherTyped.status && - fileUrl == otherTyped.fileUrl && - icon == otherTyped.icon && - certificationType == otherTyped.certificationType && - issuer == otherTyped.issuer && - staffId == otherTyped.staffId && - validationStatus == otherTyped.validationStatus && - certificateNumber == otherTyped.certificateNumber && - updatedAt == otherTyped.updatedAt && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, description.hashCode, expiry.hashCode, status.hashCode, fileUrl.hashCode, icon.hashCode, certificationType.hashCode, issuer.hashCode, staffId.hashCode, validationStatus.hashCode, certificateNumber.hashCode, updatedAt.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - if (description != null) { - json['description'] = nativeToJson(description); - } - if (expiry != null) { - json['expiry'] = expiry!.toJson(); - } - json['status'] = - certificateStatusSerializer(status) - ; - if (fileUrl != null) { - json['fileUrl'] = nativeToJson(fileUrl); - } - if (icon != null) { - json['icon'] = nativeToJson(icon); - } - if (certificationType != null) { - json['certificationType'] = - complianceTypeSerializer(certificationType!) - ; - } - if (issuer != null) { - json['issuer'] = nativeToJson(issuer); - } - json['staffId'] = nativeToJson(staffId); - if (validationStatus != null) { - json['validationStatus'] = - validationStatusSerializer(validationStatus!) - ; - } - if (certificateNumber != null) { - json['certificateNumber'] = nativeToJson(certificateNumber); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - json['staff'] = staff.toJson(); - return json; - } - - GetCertificateByIdCertificate({ - required this.id, - required this.name, - this.description, - this.expiry, - required this.status, - this.fileUrl, - this.icon, - this.certificationType, - this.issuer, - required this.staffId, - this.validationStatus, - this.certificateNumber, - this.updatedAt, - required this.staff, - }); -} - -@immutable -class GetCertificateByIdCertificateStaff { - final String id; - final String fullName; - GetCertificateByIdCertificateStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetCertificateByIdCertificateStaff otherTyped = other as GetCertificateByIdCertificateStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - GetCertificateByIdCertificateStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class GetCertificateByIdData { - final GetCertificateByIdCertificate? certificate; - GetCertificateByIdData.fromJson(dynamic json): - - certificate = json['certificate'] == null ? null : GetCertificateByIdCertificate.fromJson(json['certificate']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetCertificateByIdData otherTyped = other as GetCertificateByIdData; - return certificate == otherTyped.certificate; - - } - @override - int get hashCode => certificate.hashCode; - - - Map toJson() { - Map json = {}; - if (certificate != null) { - json['certificate'] = certificate!.toJson(); - } - return json; - } - - GetCertificateByIdData({ - this.certificate, - }); -} - -@immutable -class GetCertificateByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetCertificateByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetCertificateByIdVariables otherTyped = other as GetCertificateByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetCertificateByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_client_feedback_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_client_feedback_by_id.dart deleted file mode 100644 index 6778c038..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_client_feedback_by_id.dart +++ /dev/null @@ -1,250 +0,0 @@ -part of 'generated.dart'; - -class GetClientFeedbackByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetClientFeedbackByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetClientFeedbackByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetClientFeedbackByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetClientFeedbackByIdVariables vars= GetClientFeedbackByIdVariables(id: id,); - return _dataConnect.query("getClientFeedbackById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetClientFeedbackByIdClientFeedback { - final String id; - final String businessId; - final String vendorId; - final int? rating; - final String? comment; - final Timestamp? date; - final Timestamp? createdAt; - final GetClientFeedbackByIdClientFeedbackBusiness business; - final GetClientFeedbackByIdClientFeedbackVendor vendor; - GetClientFeedbackByIdClientFeedback.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessId = nativeFromJson(json['businessId']), - vendorId = nativeFromJson(json['vendorId']), - rating = json['rating'] == null ? null : nativeFromJson(json['rating']), - comment = json['comment'] == null ? null : nativeFromJson(json['comment']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - business = GetClientFeedbackByIdClientFeedbackBusiness.fromJson(json['business']), - vendor = GetClientFeedbackByIdClientFeedbackVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetClientFeedbackByIdClientFeedback otherTyped = other as GetClientFeedbackByIdClientFeedback; - return id == otherTyped.id && - businessId == otherTyped.businessId && - vendorId == otherTyped.vendorId && - rating == otherTyped.rating && - comment == otherTyped.comment && - date == otherTyped.date && - createdAt == otherTyped.createdAt && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessId.hashCode, vendorId.hashCode, rating.hashCode, comment.hashCode, date.hashCode, createdAt.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessId'] = nativeToJson(businessId); - json['vendorId'] = nativeToJson(vendorId); - if (rating != null) { - json['rating'] = nativeToJson(rating); - } - if (comment != null) { - json['comment'] = nativeToJson(comment); - } - if (date != null) { - json['date'] = date!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetClientFeedbackByIdClientFeedback({ - required this.id, - required this.businessId, - required this.vendorId, - this.rating, - this.comment, - this.date, - this.createdAt, - required this.business, - required this.vendor, - }); -} - -@immutable -class GetClientFeedbackByIdClientFeedbackBusiness { - final String id; - final String businessName; - GetClientFeedbackByIdClientFeedbackBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetClientFeedbackByIdClientFeedbackBusiness otherTyped = other as GetClientFeedbackByIdClientFeedbackBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - GetClientFeedbackByIdClientFeedbackBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class GetClientFeedbackByIdClientFeedbackVendor { - final String id; - final String companyName; - GetClientFeedbackByIdClientFeedbackVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetClientFeedbackByIdClientFeedbackVendor otherTyped = other as GetClientFeedbackByIdClientFeedbackVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetClientFeedbackByIdClientFeedbackVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetClientFeedbackByIdData { - final GetClientFeedbackByIdClientFeedback? clientFeedback; - GetClientFeedbackByIdData.fromJson(dynamic json): - - clientFeedback = json['clientFeedback'] == null ? null : GetClientFeedbackByIdClientFeedback.fromJson(json['clientFeedback']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetClientFeedbackByIdData otherTyped = other as GetClientFeedbackByIdData; - return clientFeedback == otherTyped.clientFeedback; - - } - @override - int get hashCode => clientFeedback.hashCode; - - - Map toJson() { - Map json = {}; - if (clientFeedback != null) { - json['clientFeedback'] = clientFeedback!.toJson(); - } - return json; - } - - GetClientFeedbackByIdData({ - this.clientFeedback, - }); -} - -@immutable -class GetClientFeedbackByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetClientFeedbackByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetClientFeedbackByIdVariables otherTyped = other as GetClientFeedbackByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetClientFeedbackByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_conversation_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_conversation_by_id.dart deleted file mode 100644 index 4b1892f0..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_conversation_by_id.dart +++ /dev/null @@ -1,184 +0,0 @@ -part of 'generated.dart'; - -class GetConversationByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetConversationByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetConversationByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetConversationByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetConversationByIdVariables vars= GetConversationByIdVariables(id: id,); - return _dataConnect.query("getConversationById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetConversationByIdConversation { - final String id; - final String? subject; - final EnumValue? status; - final EnumValue? conversationType; - final bool? isGroup; - final String? groupName; - final String? lastMessage; - final Timestamp? lastMessageAt; - final Timestamp? createdAt; - GetConversationByIdConversation.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - subject = json['subject'] == null ? null : nativeFromJson(json['subject']), - status = json['status'] == null ? null : conversationStatusDeserializer(json['status']), - conversationType = json['conversationType'] == null ? null : conversationTypeDeserializer(json['conversationType']), - isGroup = json['isGroup'] == null ? null : nativeFromJson(json['isGroup']), - groupName = json['groupName'] == null ? null : nativeFromJson(json['groupName']), - lastMessage = json['lastMessage'] == null ? null : nativeFromJson(json['lastMessage']), - lastMessageAt = json['lastMessageAt'] == null ? null : Timestamp.fromJson(json['lastMessageAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetConversationByIdConversation otherTyped = other as GetConversationByIdConversation; - return id == otherTyped.id && - subject == otherTyped.subject && - status == otherTyped.status && - conversationType == otherTyped.conversationType && - isGroup == otherTyped.isGroup && - groupName == otherTyped.groupName && - lastMessage == otherTyped.lastMessage && - lastMessageAt == otherTyped.lastMessageAt && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, subject.hashCode, status.hashCode, conversationType.hashCode, isGroup.hashCode, groupName.hashCode, lastMessage.hashCode, lastMessageAt.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (subject != null) { - json['subject'] = nativeToJson(subject); - } - if (status != null) { - json['status'] = - conversationStatusSerializer(status!) - ; - } - if (conversationType != null) { - json['conversationType'] = - conversationTypeSerializer(conversationType!) - ; - } - if (isGroup != null) { - json['isGroup'] = nativeToJson(isGroup); - } - if (groupName != null) { - json['groupName'] = nativeToJson(groupName); - } - if (lastMessage != null) { - json['lastMessage'] = nativeToJson(lastMessage); - } - if (lastMessageAt != null) { - json['lastMessageAt'] = lastMessageAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - GetConversationByIdConversation({ - required this.id, - this.subject, - this.status, - this.conversationType, - this.isGroup, - this.groupName, - this.lastMessage, - this.lastMessageAt, - this.createdAt, - }); -} - -@immutable -class GetConversationByIdData { - final GetConversationByIdConversation? conversation; - GetConversationByIdData.fromJson(dynamic json): - - conversation = json['conversation'] == null ? null : GetConversationByIdConversation.fromJson(json['conversation']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetConversationByIdData otherTyped = other as GetConversationByIdData; - return conversation == otherTyped.conversation; - - } - @override - int get hashCode => conversation.hashCode; - - - Map toJson() { - Map json = {}; - if (conversation != null) { - json['conversation'] = conversation!.toJson(); - } - return json; - } - - GetConversationByIdData({ - this.conversation, - }); -} - -@immutable -class GetConversationByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetConversationByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetConversationByIdVariables otherTyped = other as GetConversationByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetConversationByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_course_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_course_by_id.dart deleted file mode 100644 index c68626ad..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_course_by_id.dart +++ /dev/null @@ -1,229 +0,0 @@ -part of 'generated.dart'; - -class GetCourseByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetCourseByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetCourseByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetCourseByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetCourseByIdVariables vars= GetCourseByIdVariables(id: id,); - return _dataConnect.query("getCourseById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetCourseByIdCourse { - final String id; - final String? title; - final String? description; - final String? thumbnailUrl; - final int? durationMinutes; - final int? xpReward; - final String categoryId; - final String? levelRequired; - final bool? isCertification; - final Timestamp? createdAt; - final GetCourseByIdCourseCategory category; - GetCourseByIdCourse.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = json['title'] == null ? null : nativeFromJson(json['title']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - thumbnailUrl = json['thumbnailUrl'] == null ? null : nativeFromJson(json['thumbnailUrl']), - durationMinutes = json['durationMinutes'] == null ? null : nativeFromJson(json['durationMinutes']), - xpReward = json['xpReward'] == null ? null : nativeFromJson(json['xpReward']), - categoryId = nativeFromJson(json['categoryId']), - levelRequired = json['levelRequired'] == null ? null : nativeFromJson(json['levelRequired']), - isCertification = json['isCertification'] == null ? null : nativeFromJson(json['isCertification']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - category = GetCourseByIdCourseCategory.fromJson(json['category']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetCourseByIdCourse otherTyped = other as GetCourseByIdCourse; - return id == otherTyped.id && - title == otherTyped.title && - description == otherTyped.description && - thumbnailUrl == otherTyped.thumbnailUrl && - durationMinutes == otherTyped.durationMinutes && - xpReward == otherTyped.xpReward && - categoryId == otherTyped.categoryId && - levelRequired == otherTyped.levelRequired && - isCertification == otherTyped.isCertification && - createdAt == otherTyped.createdAt && - category == otherTyped.category; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, description.hashCode, thumbnailUrl.hashCode, durationMinutes.hashCode, xpReward.hashCode, categoryId.hashCode, levelRequired.hashCode, isCertification.hashCode, createdAt.hashCode, category.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (title != null) { - json['title'] = nativeToJson(title); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - if (thumbnailUrl != null) { - json['thumbnailUrl'] = nativeToJson(thumbnailUrl); - } - if (durationMinutes != null) { - json['durationMinutes'] = nativeToJson(durationMinutes); - } - if (xpReward != null) { - json['xpReward'] = nativeToJson(xpReward); - } - json['categoryId'] = nativeToJson(categoryId); - if (levelRequired != null) { - json['levelRequired'] = nativeToJson(levelRequired); - } - if (isCertification != null) { - json['isCertification'] = nativeToJson(isCertification); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['category'] = category.toJson(); - return json; - } - - GetCourseByIdCourse({ - required this.id, - this.title, - this.description, - this.thumbnailUrl, - this.durationMinutes, - this.xpReward, - required this.categoryId, - this.levelRequired, - this.isCertification, - this.createdAt, - required this.category, - }); -} - -@immutable -class GetCourseByIdCourseCategory { - final String id; - final String label; - GetCourseByIdCourseCategory.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - label = nativeFromJson(json['label']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetCourseByIdCourseCategory otherTyped = other as GetCourseByIdCourseCategory; - return id == otherTyped.id && - label == otherTyped.label; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, label.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['label'] = nativeToJson(label); - return json; - } - - GetCourseByIdCourseCategory({ - required this.id, - required this.label, - }); -} - -@immutable -class GetCourseByIdData { - final GetCourseByIdCourse? course; - GetCourseByIdData.fromJson(dynamic json): - - course = json['course'] == null ? null : GetCourseByIdCourse.fromJson(json['course']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetCourseByIdData otherTyped = other as GetCourseByIdData; - return course == otherTyped.course; - - } - @override - int get hashCode => course.hashCode; - - - Map toJson() { - Map json = {}; - if (course != null) { - json['course'] = course!.toJson(); - } - return json; - } - - GetCourseByIdData({ - this.course, - }); -} - -@immutable -class GetCourseByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetCourseByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetCourseByIdVariables otherTyped = other as GetCourseByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetCourseByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_custom_rate_card_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_custom_rate_card_by_id.dart deleted file mode 100644 index d763bf21..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_custom_rate_card_by_id.dart +++ /dev/null @@ -1,164 +0,0 @@ -part of 'generated.dart'; - -class GetCustomRateCardByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetCustomRateCardByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetCustomRateCardByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetCustomRateCardByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetCustomRateCardByIdVariables vars= GetCustomRateCardByIdVariables(id: id,); - return _dataConnect.query("getCustomRateCardById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetCustomRateCardByIdCustomRateCard { - final String id; - final String name; - final String? baseBook; - final double? discount; - final bool? isDefault; - final Timestamp? createdAt; - final Timestamp? updatedAt; - GetCustomRateCardByIdCustomRateCard.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - baseBook = json['baseBook'] == null ? null : nativeFromJson(json['baseBook']), - discount = json['discount'] == null ? null : nativeFromJson(json['discount']), - isDefault = json['isDefault'] == null ? null : nativeFromJson(json['isDefault']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetCustomRateCardByIdCustomRateCard otherTyped = other as GetCustomRateCardByIdCustomRateCard; - return id == otherTyped.id && - name == otherTyped.name && - baseBook == otherTyped.baseBook && - discount == otherTyped.discount && - isDefault == otherTyped.isDefault && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, baseBook.hashCode, discount.hashCode, isDefault.hashCode, createdAt.hashCode, updatedAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - if (baseBook != null) { - json['baseBook'] = nativeToJson(baseBook); - } - if (discount != null) { - json['discount'] = nativeToJson(discount); - } - if (isDefault != null) { - json['isDefault'] = nativeToJson(isDefault); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - return json; - } - - GetCustomRateCardByIdCustomRateCard({ - required this.id, - required this.name, - this.baseBook, - this.discount, - this.isDefault, - this.createdAt, - this.updatedAt, - }); -} - -@immutable -class GetCustomRateCardByIdData { - final GetCustomRateCardByIdCustomRateCard? customRateCard; - GetCustomRateCardByIdData.fromJson(dynamic json): - - customRateCard = json['customRateCard'] == null ? null : GetCustomRateCardByIdCustomRateCard.fromJson(json['customRateCard']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetCustomRateCardByIdData otherTyped = other as GetCustomRateCardByIdData; - return customRateCard == otherTyped.customRateCard; - - } - @override - int get hashCode => customRateCard.hashCode; - - - Map toJson() { - Map json = {}; - if (customRateCard != null) { - json['customRateCard'] = customRateCard!.toJson(); - } - return json; - } - - GetCustomRateCardByIdData({ - this.customRateCard, - }); -} - -@immutable -class GetCustomRateCardByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetCustomRateCardByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetCustomRateCardByIdVariables otherTyped = other as GetCustomRateCardByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetCustomRateCardByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_document_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_document_by_id.dart deleted file mode 100644 index c75831d6..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_document_by_id.dart +++ /dev/null @@ -1,150 +0,0 @@ -part of 'generated.dart'; - -class GetDocumentByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetDocumentByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetDocumentByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetDocumentByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetDocumentByIdVariables vars= GetDocumentByIdVariables(id: id,); - return _dataConnect.query("getDocumentById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetDocumentByIdDocument { - final String id; - final EnumValue documentType; - final String name; - final String? description; - final Timestamp? createdAt; - GetDocumentByIdDocument.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - documentType = documentTypeDeserializer(json['documentType']), - name = nativeFromJson(json['name']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetDocumentByIdDocument otherTyped = other as GetDocumentByIdDocument; - return id == otherTyped.id && - documentType == otherTyped.documentType && - name == otherTyped.name && - description == otherTyped.description && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, documentType.hashCode, name.hashCode, description.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['documentType'] = - documentTypeSerializer(documentType) - ; - json['name'] = nativeToJson(name); - if (description != null) { - json['description'] = nativeToJson(description); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - GetDocumentByIdDocument({ - required this.id, - required this.documentType, - required this.name, - this.description, - this.createdAt, - }); -} - -@immutable -class GetDocumentByIdData { - final GetDocumentByIdDocument? document; - GetDocumentByIdData.fromJson(dynamic json): - - document = json['document'] == null ? null : GetDocumentByIdDocument.fromJson(json['document']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetDocumentByIdData otherTyped = other as GetDocumentByIdData; - return document == otherTyped.document; - - } - @override - int get hashCode => document.hashCode; - - - Map toJson() { - Map json = {}; - if (document != null) { - json['document'] = document!.toJson(); - } - return json; - } - - GetDocumentByIdData({ - this.document, - }); -} - -@immutable -class GetDocumentByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetDocumentByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetDocumentByIdVariables otherTyped = other as GetDocumentByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetDocumentByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_emergency_contact_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_emergency_contact_by_id.dart deleted file mode 100644 index f2ecd85f..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_emergency_contact_by_id.dart +++ /dev/null @@ -1,167 +0,0 @@ -part of 'generated.dart'; - -class GetEmergencyContactByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetEmergencyContactByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetEmergencyContactByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetEmergencyContactByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetEmergencyContactByIdVariables vars= GetEmergencyContactByIdVariables(id: id,); - return _dataConnect.query("getEmergencyContactById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetEmergencyContactByIdEmergencyContact { - final String id; - final String name; - final String phone; - final EnumValue relationship; - final String staffId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetEmergencyContactByIdEmergencyContact.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - phone = nativeFromJson(json['phone']), - relationship = relationshipTypeDeserializer(json['relationship']), - staffId = nativeFromJson(json['staffId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetEmergencyContactByIdEmergencyContact otherTyped = other as GetEmergencyContactByIdEmergencyContact; - return id == otherTyped.id && - name == otherTyped.name && - phone == otherTyped.phone && - relationship == otherTyped.relationship && - staffId == otherTyped.staffId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, phone.hashCode, relationship.hashCode, staffId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['phone'] = nativeToJson(phone); - json['relationship'] = - relationshipTypeSerializer(relationship) - ; - json['staffId'] = nativeToJson(staffId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetEmergencyContactByIdEmergencyContact({ - required this.id, - required this.name, - required this.phone, - required this.relationship, - required this.staffId, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetEmergencyContactByIdData { - final GetEmergencyContactByIdEmergencyContact? emergencyContact; - GetEmergencyContactByIdData.fromJson(dynamic json): - - emergencyContact = json['emergencyContact'] == null ? null : GetEmergencyContactByIdEmergencyContact.fromJson(json['emergencyContact']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetEmergencyContactByIdData otherTyped = other as GetEmergencyContactByIdData; - return emergencyContact == otherTyped.emergencyContact; - - } - @override - int get hashCode => emergencyContact.hashCode; - - - Map toJson() { - Map json = {}; - if (emergencyContact != null) { - json['emergencyContact'] = emergencyContact!.toJson(); - } - return json; - } - - GetEmergencyContactByIdData({ - this.emergencyContact, - }); -} - -@immutable -class GetEmergencyContactByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetEmergencyContactByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetEmergencyContactByIdVariables otherTyped = other as GetEmergencyContactByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetEmergencyContactByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_emergency_contacts_by_staff_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_emergency_contacts_by_staff_id.dart deleted file mode 100644 index e052eaa6..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_emergency_contacts_by_staff_id.dart +++ /dev/null @@ -1,167 +0,0 @@ -part of 'generated.dart'; - -class GetEmergencyContactsByStaffIdVariablesBuilder { - String staffId; - - final FirebaseDataConnect _dataConnect; - GetEmergencyContactsByStaffIdVariablesBuilder(this._dataConnect, {required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => GetEmergencyContactsByStaffIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetEmergencyContactsByStaffIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetEmergencyContactsByStaffIdVariables vars= GetEmergencyContactsByStaffIdVariables(staffId: staffId,); - return _dataConnect.query("getEmergencyContactsByStaffId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetEmergencyContactsByStaffIdEmergencyContacts { - final String id; - final String name; - final String phone; - final EnumValue relationship; - final String staffId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetEmergencyContactsByStaffIdEmergencyContacts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - phone = nativeFromJson(json['phone']), - relationship = relationshipTypeDeserializer(json['relationship']), - staffId = nativeFromJson(json['staffId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetEmergencyContactsByStaffIdEmergencyContacts otherTyped = other as GetEmergencyContactsByStaffIdEmergencyContacts; - return id == otherTyped.id && - name == otherTyped.name && - phone == otherTyped.phone && - relationship == otherTyped.relationship && - staffId == otherTyped.staffId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, phone.hashCode, relationship.hashCode, staffId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['phone'] = nativeToJson(phone); - json['relationship'] = - relationshipTypeSerializer(relationship) - ; - json['staffId'] = nativeToJson(staffId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetEmergencyContactsByStaffIdEmergencyContacts({ - required this.id, - required this.name, - required this.phone, - required this.relationship, - required this.staffId, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetEmergencyContactsByStaffIdData { - final List emergencyContacts; - GetEmergencyContactsByStaffIdData.fromJson(dynamic json): - - emergencyContacts = (json['emergencyContacts'] as List) - .map((e) => GetEmergencyContactsByStaffIdEmergencyContacts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetEmergencyContactsByStaffIdData otherTyped = other as GetEmergencyContactsByStaffIdData; - return emergencyContacts == otherTyped.emergencyContacts; - - } - @override - int get hashCode => emergencyContacts.hashCode; - - - Map toJson() { - Map json = {}; - json['emergencyContacts'] = emergencyContacts.map((e) => e.toJson()).toList(); - return json; - } - - GetEmergencyContactsByStaffIdData({ - required this.emergencyContacts, - }); -} - -@immutable -class GetEmergencyContactsByStaffIdVariables { - final String staffId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetEmergencyContactsByStaffIdVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetEmergencyContactsByStaffIdVariables otherTyped = other as GetEmergencyContactsByStaffIdVariables; - return staffId == otherTyped.staffId; - - } - @override - int get hashCode => staffId.hashCode; - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - return json; - } - - GetEmergencyContactsByStaffIdVariables({ - required this.staffId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_faq_data_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_faq_data_by_id.dart deleted file mode 100644 index c6fb22ae..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_faq_data_by_id.dart +++ /dev/null @@ -1,159 +0,0 @@ -part of 'generated.dart'; - -class GetFaqDataByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetFaqDataByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetFaqDataByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetFaqDataByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetFaqDataByIdVariables vars= GetFaqDataByIdVariables(id: id,); - return _dataConnect.query("getFaqDataById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetFaqDataByIdFaqData { - final String id; - final String category; - final List? questions; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetFaqDataByIdFaqData.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - category = nativeFromJson(json['category']), - questions = json['questions'] == null ? null : (json['questions'] as List) - .map((e) => AnyValue.fromJson(e)) - .toList(), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetFaqDataByIdFaqData otherTyped = other as GetFaqDataByIdFaqData; - return id == otherTyped.id && - category == otherTyped.category && - questions == otherTyped.questions && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, category.hashCode, questions.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['category'] = nativeToJson(category); - if (questions != null) { - json['questions'] = questions?.map((e) => e!.toJson()).toList(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetFaqDataByIdFaqData({ - required this.id, - required this.category, - this.questions, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetFaqDataByIdData { - final GetFaqDataByIdFaqData? faqData; - GetFaqDataByIdData.fromJson(dynamic json): - - faqData = json['faqData'] == null ? null : GetFaqDataByIdFaqData.fromJson(json['faqData']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetFaqDataByIdData otherTyped = other as GetFaqDataByIdData; - return faqData == otherTyped.faqData; - - } - @override - int get hashCode => faqData.hashCode; - - - Map toJson() { - Map json = {}; - if (faqData != null) { - json['faqData'] = faqData!.toJson(); - } - return json; - } - - GetFaqDataByIdData({ - this.faqData, - }); -} - -@immutable -class GetFaqDataByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetFaqDataByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetFaqDataByIdVariables otherTyped = other as GetFaqDataByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetFaqDataByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_hub_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_hub_by_id.dart deleted file mode 100644 index aad9ede2..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_hub_by_id.dart +++ /dev/null @@ -1,176 +0,0 @@ -part of 'generated.dart'; - -class GetHubByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetHubByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetHubByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetHubByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetHubByIdVariables vars= GetHubByIdVariables(id: id,); - return _dataConnect.query("getHubById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetHubByIdHub { - final String id; - final String name; - final String? locationName; - final String? address; - final String? nfcTagId; - final String ownerId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetHubByIdHub.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - locationName = json['locationName'] == null ? null : nativeFromJson(json['locationName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - nfcTagId = json['nfcTagId'] == null ? null : nativeFromJson(json['nfcTagId']), - ownerId = nativeFromJson(json['ownerId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetHubByIdHub otherTyped = other as GetHubByIdHub; - return id == otherTyped.id && - name == otherTyped.name && - locationName == otherTyped.locationName && - address == otherTyped.address && - nfcTagId == otherTyped.nfcTagId && - ownerId == otherTyped.ownerId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, locationName.hashCode, address.hashCode, nfcTagId.hashCode, ownerId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - if (locationName != null) { - json['locationName'] = nativeToJson(locationName); - } - if (address != null) { - json['address'] = nativeToJson(address); - } - if (nfcTagId != null) { - json['nfcTagId'] = nativeToJson(nfcTagId); - } - json['ownerId'] = nativeToJson(ownerId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetHubByIdHub({ - required this.id, - required this.name, - this.locationName, - this.address, - this.nfcTagId, - required this.ownerId, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetHubByIdData { - final GetHubByIdHub? hub; - GetHubByIdData.fromJson(dynamic json): - - hub = json['hub'] == null ? null : GetHubByIdHub.fromJson(json['hub']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetHubByIdData otherTyped = other as GetHubByIdData; - return hub == otherTyped.hub; - - } - @override - int get hashCode => hub.hashCode; - - - Map toJson() { - Map json = {}; - if (hub != null) { - json['hub'] = hub!.toJson(); - } - return json; - } - - GetHubByIdData({ - this.hub, - }); -} - -@immutable -class GetHubByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetHubByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetHubByIdVariables otherTyped = other as GetHubByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetHubByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_hubs_by_owner_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_hubs_by_owner_id.dart deleted file mode 100644 index 4b280f98..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_hubs_by_owner_id.dart +++ /dev/null @@ -1,176 +0,0 @@ -part of 'generated.dart'; - -class GetHubsByOwnerIdVariablesBuilder { - String ownerId; - - final FirebaseDataConnect _dataConnect; - GetHubsByOwnerIdVariablesBuilder(this._dataConnect, {required this.ownerId,}); - Deserializer dataDeserializer = (dynamic json) => GetHubsByOwnerIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetHubsByOwnerIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetHubsByOwnerIdVariables vars= GetHubsByOwnerIdVariables(ownerId: ownerId,); - return _dataConnect.query("getHubsByOwnerId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetHubsByOwnerIdHubs { - final String id; - final String name; - final String? locationName; - final String? address; - final String? nfcTagId; - final String ownerId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetHubsByOwnerIdHubs.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - locationName = json['locationName'] == null ? null : nativeFromJson(json['locationName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - nfcTagId = json['nfcTagId'] == null ? null : nativeFromJson(json['nfcTagId']), - ownerId = nativeFromJson(json['ownerId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetHubsByOwnerIdHubs otherTyped = other as GetHubsByOwnerIdHubs; - return id == otherTyped.id && - name == otherTyped.name && - locationName == otherTyped.locationName && - address == otherTyped.address && - nfcTagId == otherTyped.nfcTagId && - ownerId == otherTyped.ownerId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, locationName.hashCode, address.hashCode, nfcTagId.hashCode, ownerId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - if (locationName != null) { - json['locationName'] = nativeToJson(locationName); - } - if (address != null) { - json['address'] = nativeToJson(address); - } - if (nfcTagId != null) { - json['nfcTagId'] = nativeToJson(nfcTagId); - } - json['ownerId'] = nativeToJson(ownerId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetHubsByOwnerIdHubs({ - required this.id, - required this.name, - this.locationName, - this.address, - this.nfcTagId, - required this.ownerId, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetHubsByOwnerIdData { - final List hubs; - GetHubsByOwnerIdData.fromJson(dynamic json): - - hubs = (json['hubs'] as List) - .map((e) => GetHubsByOwnerIdHubs.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetHubsByOwnerIdData otherTyped = other as GetHubsByOwnerIdData; - return hubs == otherTyped.hubs; - - } - @override - int get hashCode => hubs.hashCode; - - - Map toJson() { - Map json = {}; - json['hubs'] = hubs.map((e) => e.toJson()).toList(); - return json; - } - - GetHubsByOwnerIdData({ - required this.hubs, - }); -} - -@immutable -class GetHubsByOwnerIdVariables { - final String ownerId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetHubsByOwnerIdVariables.fromJson(Map json): - - ownerId = nativeFromJson(json['ownerId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetHubsByOwnerIdVariables otherTyped = other as GetHubsByOwnerIdVariables; - return ownerId == otherTyped.ownerId; - - } - @override - int get hashCode => ownerId.hashCode; - - - Map toJson() { - Map json = {}; - json['ownerId'] = nativeToJson(ownerId); - return json; - } - - GetHubsByOwnerIdVariables({ - required this.ownerId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_invoice_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_invoice_by_id.dart deleted file mode 100644 index f27c8d4c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_invoice_by_id.dart +++ /dev/null @@ -1,448 +0,0 @@ -part of 'generated.dart'; - -class GetInvoiceByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetInvoiceByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetInvoiceByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetInvoiceByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetInvoiceByIdVariables vars= GetInvoiceByIdVariables(id: id,); - return _dataConnect.query("getInvoiceById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetInvoiceByIdInvoice { - final String id; - final EnumValue status; - final String vendorId; - final String businessId; - final String orderId; - final EnumValue? paymentTerms; - final String invoiceNumber; - final Timestamp issueDate; - final Timestamp dueDate; - final String? hub; - final String? managerName; - final String? vendorNumber; - final AnyValue? roles; - final AnyValue? charges; - final double? otherCharges; - final double? subtotal; - final double amount; - final String? notes; - final int? staffCount; - final int? chargesCount; - final AnyValue? disputedItems; - final String? disputeReason; - final String? disputeDetails; - final GetInvoiceByIdInvoiceVendor vendor; - final GetInvoiceByIdInvoiceBusiness business; - final GetInvoiceByIdInvoiceOrder order; - GetInvoiceByIdInvoice.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - status = invoiceStatusDeserializer(json['status']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderId = nativeFromJson(json['orderId']), - paymentTerms = json['paymentTerms'] == null ? null : inovicePaymentTermsDeserializer(json['paymentTerms']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - issueDate = Timestamp.fromJson(json['issueDate']), - dueDate = Timestamp.fromJson(json['dueDate']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), - vendorNumber = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']), - roles = json['roles'] == null ? null : AnyValue.fromJson(json['roles']), - charges = json['charges'] == null ? null : AnyValue.fromJson(json['charges']), - otherCharges = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']), - subtotal = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']), - amount = nativeFromJson(json['amount']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - staffCount = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']), - chargesCount = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']), - disputedItems = json['disputedItems'] == null ? null : AnyValue.fromJson(json['disputedItems']), - disputeReason = json['disputeReason'] == null ? null : nativeFromJson(json['disputeReason']), - disputeDetails = json['disputeDetails'] == null ? null : nativeFromJson(json['disputeDetails']), - vendor = GetInvoiceByIdInvoiceVendor.fromJson(json['vendor']), - business = GetInvoiceByIdInvoiceBusiness.fromJson(json['business']), - order = GetInvoiceByIdInvoiceOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetInvoiceByIdInvoice otherTyped = other as GetInvoiceByIdInvoice; - return id == otherTyped.id && - status == otherTyped.status && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount && - disputedItems == otherTyped.disputedItems && - disputeReason == otherTyped.disputeReason && - disputeDetails == otherTyped.disputeDetails && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, status.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode, disputedItems.hashCode, disputeReason.hashCode, disputeDetails.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['status'] = - invoiceStatusSerializer(status) - ; - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderId'] = nativeToJson(orderId); - if (paymentTerms != null) { - json['paymentTerms'] = - inovicePaymentTermsSerializer(paymentTerms!) - ; - } - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['issueDate'] = issueDate.toJson(); - json['dueDate'] = dueDate.toJson(); - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (managerName != null) { - json['managerName'] = nativeToJson(managerName); - } - if (vendorNumber != null) { - json['vendorNumber'] = nativeToJson(vendorNumber); - } - if (roles != null) { - json['roles'] = roles!.toJson(); - } - if (charges != null) { - json['charges'] = charges!.toJson(); - } - if (otherCharges != null) { - json['otherCharges'] = nativeToJson(otherCharges); - } - if (subtotal != null) { - json['subtotal'] = nativeToJson(subtotal); - } - json['amount'] = nativeToJson(amount); - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (staffCount != null) { - json['staffCount'] = nativeToJson(staffCount); - } - if (chargesCount != null) { - json['chargesCount'] = nativeToJson(chargesCount); - } - if (disputedItems != null) { - json['disputedItems'] = disputedItems!.toJson(); - } - if (disputeReason != null) { - json['disputeReason'] = nativeToJson(disputeReason); - } - if (disputeDetails != null) { - json['disputeDetails'] = nativeToJson(disputeDetails); - } - json['vendor'] = vendor.toJson(); - json['business'] = business.toJson(); - json['order'] = order.toJson(); - return json; - } - - GetInvoiceByIdInvoice({ - required this.id, - required this.status, - required this.vendorId, - required this.businessId, - required this.orderId, - this.paymentTerms, - required this.invoiceNumber, - required this.issueDate, - required this.dueDate, - this.hub, - this.managerName, - this.vendorNumber, - this.roles, - this.charges, - this.otherCharges, - this.subtotal, - required this.amount, - this.notes, - this.staffCount, - this.chargesCount, - this.disputedItems, - this.disputeReason, - this.disputeDetails, - required this.vendor, - required this.business, - required this.order, - }); -} - -@immutable -class GetInvoiceByIdInvoiceVendor { - final String companyName; - final String? address; - final String? email; - final String? phone; - GetInvoiceByIdInvoiceVendor.fromJson(dynamic json): - - companyName = nativeFromJson(json['companyName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetInvoiceByIdInvoiceVendor otherTyped = other as GetInvoiceByIdInvoiceVendor; - return companyName == otherTyped.companyName && - address == otherTyped.address && - email == otherTyped.email && - phone == otherTyped.phone; - - } - @override - int get hashCode => Object.hashAll([companyName.hashCode, address.hashCode, email.hashCode, phone.hashCode]); - - - Map toJson() { - Map json = {}; - json['companyName'] = nativeToJson(companyName); - if (address != null) { - json['address'] = nativeToJson(address); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - return json; - } - - GetInvoiceByIdInvoiceVendor({ - required this.companyName, - this.address, - this.email, - this.phone, - }); -} - -@immutable -class GetInvoiceByIdInvoiceBusiness { - final String businessName; - final String? address; - final String? phone; - final String? email; - GetInvoiceByIdInvoiceBusiness.fromJson(dynamic json): - - businessName = nativeFromJson(json['businessName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetInvoiceByIdInvoiceBusiness otherTyped = other as GetInvoiceByIdInvoiceBusiness; - return businessName == otherTyped.businessName && - address == otherTyped.address && - phone == otherTyped.phone && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([businessName.hashCode, address.hashCode, phone.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessName'] = nativeToJson(businessName); - if (address != null) { - json['address'] = nativeToJson(address); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - GetInvoiceByIdInvoiceBusiness({ - required this.businessName, - this.address, - this.phone, - this.email, - }); -} - -@immutable -class GetInvoiceByIdInvoiceOrder { - final String? eventName; - final String? hub; - final String? deparment; - final String? poReference; - GetInvoiceByIdInvoiceOrder.fromJson(dynamic json): - - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - deparment = json['deparment'] == null ? null : nativeFromJson(json['deparment']), - poReference = json['poReference'] == null ? null : nativeFromJson(json['poReference']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetInvoiceByIdInvoiceOrder otherTyped = other as GetInvoiceByIdInvoiceOrder; - return eventName == otherTyped.eventName && - hub == otherTyped.hub && - deparment == otherTyped.deparment && - poReference == otherTyped.poReference; - - } - @override - int get hashCode => Object.hashAll([eventName.hashCode, hub.hashCode, deparment.hashCode, poReference.hashCode]); - - - Map toJson() { - Map json = {}; - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (deparment != null) { - json['deparment'] = nativeToJson(deparment); - } - if (poReference != null) { - json['poReference'] = nativeToJson(poReference); - } - return json; - } - - GetInvoiceByIdInvoiceOrder({ - this.eventName, - this.hub, - this.deparment, - this.poReference, - }); -} - -@immutable -class GetInvoiceByIdData { - final GetInvoiceByIdInvoice? invoice; - GetInvoiceByIdData.fromJson(dynamic json): - - invoice = json['invoice'] == null ? null : GetInvoiceByIdInvoice.fromJson(json['invoice']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetInvoiceByIdData otherTyped = other as GetInvoiceByIdData; - return invoice == otherTyped.invoice; - - } - @override - int get hashCode => invoice.hashCode; - - - Map toJson() { - Map json = {}; - if (invoice != null) { - json['invoice'] = invoice!.toJson(); - } - return json; - } - - GetInvoiceByIdData({ - this.invoice, - }); -} - -@immutable -class GetInvoiceByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetInvoiceByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetInvoiceByIdVariables otherTyped = other as GetInvoiceByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetInvoiceByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_invoice_template_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_invoice_template_by_id.dart deleted file mode 100644 index 2688c0f5..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_invoice_template_by_id.dart +++ /dev/null @@ -1,451 +0,0 @@ -part of 'generated.dart'; - -class GetInvoiceTemplateByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetInvoiceTemplateByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetInvoiceTemplateByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetInvoiceTemplateByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetInvoiceTemplateByIdVariables vars= GetInvoiceTemplateByIdVariables(id: id,); - return _dataConnect.query("getInvoiceTemplateById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetInvoiceTemplateByIdInvoiceTemplate { - final String id; - final String name; - final String ownerId; - final String? vendorId; - final String? businessId; - final String? orderId; - final EnumValue? paymentTerms; - final String? invoiceNumber; - final Timestamp? issueDate; - final Timestamp? dueDate; - final String? hub; - final String? managerName; - final String? vendorNumber; - final AnyValue? roles; - final AnyValue? charges; - final double? otherCharges; - final double? subtotal; - final double? amount; - final String? notes; - final int? staffCount; - final int? chargesCount; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final GetInvoiceTemplateByIdInvoiceTemplateVendor? vendor; - final GetInvoiceTemplateByIdInvoiceTemplateBusiness? business; - final GetInvoiceTemplateByIdInvoiceTemplateOrder? order; - GetInvoiceTemplateByIdInvoiceTemplate.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - ownerId = nativeFromJson(json['ownerId']), - vendorId = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']), - businessId = json['businessId'] == null ? null : nativeFromJson(json['businessId']), - orderId = json['orderId'] == null ? null : nativeFromJson(json['orderId']), - paymentTerms = json['paymentTerms'] == null ? null : inovicePaymentTermsTempDeserializer(json['paymentTerms']), - invoiceNumber = json['invoiceNumber'] == null ? null : nativeFromJson(json['invoiceNumber']), - issueDate = json['issueDate'] == null ? null : Timestamp.fromJson(json['issueDate']), - dueDate = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), - vendorNumber = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']), - roles = json['roles'] == null ? null : AnyValue.fromJson(json['roles']), - charges = json['charges'] == null ? null : AnyValue.fromJson(json['charges']), - otherCharges = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']), - subtotal = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']), - amount = json['amount'] == null ? null : nativeFromJson(json['amount']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - staffCount = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']), - chargesCount = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - vendor = json['vendor'] == null ? null : GetInvoiceTemplateByIdInvoiceTemplateVendor.fromJson(json['vendor']), - business = json['business'] == null ? null : GetInvoiceTemplateByIdInvoiceTemplateBusiness.fromJson(json['business']), - order = json['order'] == null ? null : GetInvoiceTemplateByIdInvoiceTemplateOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetInvoiceTemplateByIdInvoiceTemplate otherTyped = other as GetInvoiceTemplateByIdInvoiceTemplate; - return id == otherTyped.id && - name == otherTyped.name && - ownerId == otherTyped.ownerId && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, ownerId.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['ownerId'] = nativeToJson(ownerId); - if (vendorId != null) { - json['vendorId'] = nativeToJson(vendorId); - } - if (businessId != null) { - json['businessId'] = nativeToJson(businessId); - } - if (orderId != null) { - json['orderId'] = nativeToJson(orderId); - } - if (paymentTerms != null) { - json['paymentTerms'] = - inovicePaymentTermsTempSerializer(paymentTerms!) - ; - } - if (invoiceNumber != null) { - json['invoiceNumber'] = nativeToJson(invoiceNumber); - } - if (issueDate != null) { - json['issueDate'] = issueDate!.toJson(); - } - if (dueDate != null) { - json['dueDate'] = dueDate!.toJson(); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (managerName != null) { - json['managerName'] = nativeToJson(managerName); - } - if (vendorNumber != null) { - json['vendorNumber'] = nativeToJson(vendorNumber); - } - if (roles != null) { - json['roles'] = roles!.toJson(); - } - if (charges != null) { - json['charges'] = charges!.toJson(); - } - if (otherCharges != null) { - json['otherCharges'] = nativeToJson(otherCharges); - } - if (subtotal != null) { - json['subtotal'] = nativeToJson(subtotal); - } - if (amount != null) { - json['amount'] = nativeToJson(amount); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (staffCount != null) { - json['staffCount'] = nativeToJson(staffCount); - } - if (chargesCount != null) { - json['chargesCount'] = nativeToJson(chargesCount); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - if (vendor != null) { - json['vendor'] = vendor!.toJson(); - } - if (business != null) { - json['business'] = business!.toJson(); - } - if (order != null) { - json['order'] = order!.toJson(); - } - return json; - } - - GetInvoiceTemplateByIdInvoiceTemplate({ - required this.id, - required this.name, - required this.ownerId, - this.vendorId, - this.businessId, - this.orderId, - this.paymentTerms, - this.invoiceNumber, - this.issueDate, - this.dueDate, - this.hub, - this.managerName, - this.vendorNumber, - this.roles, - this.charges, - this.otherCharges, - this.subtotal, - this.amount, - this.notes, - this.staffCount, - this.chargesCount, - this.createdAt, - this.updatedAt, - this.createdBy, - this.vendor, - this.business, - this.order, - }); -} - -@immutable -class GetInvoiceTemplateByIdInvoiceTemplateVendor { - final String id; - final String companyName; - GetInvoiceTemplateByIdInvoiceTemplateVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetInvoiceTemplateByIdInvoiceTemplateVendor otherTyped = other as GetInvoiceTemplateByIdInvoiceTemplateVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetInvoiceTemplateByIdInvoiceTemplateVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetInvoiceTemplateByIdInvoiceTemplateBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - GetInvoiceTemplateByIdInvoiceTemplateBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetInvoiceTemplateByIdInvoiceTemplateBusiness otherTyped = other as GetInvoiceTemplateByIdInvoiceTemplateBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - GetInvoiceTemplateByIdInvoiceTemplateBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class GetInvoiceTemplateByIdInvoiceTemplateOrder { - final String id; - final String? eventName; - final EnumValue status; - final EnumValue orderType; - GetInvoiceTemplateByIdInvoiceTemplateOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - status = orderStatusDeserializer(json['status']), - orderType = orderTypeDeserializer(json['orderType']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetInvoiceTemplateByIdInvoiceTemplateOrder otherTyped = other as GetInvoiceTemplateByIdInvoiceTemplateOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - status == otherTyped.status && - orderType == otherTyped.orderType; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, status.hashCode, orderType.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['status'] = - orderStatusSerializer(status) - ; - json['orderType'] = - orderTypeSerializer(orderType) - ; - return json; - } - - GetInvoiceTemplateByIdInvoiceTemplateOrder({ - required this.id, - this.eventName, - required this.status, - required this.orderType, - }); -} - -@immutable -class GetInvoiceTemplateByIdData { - final GetInvoiceTemplateByIdInvoiceTemplate? invoiceTemplate; - GetInvoiceTemplateByIdData.fromJson(dynamic json): - - invoiceTemplate = json['invoiceTemplate'] == null ? null : GetInvoiceTemplateByIdInvoiceTemplate.fromJson(json['invoiceTemplate']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetInvoiceTemplateByIdData otherTyped = other as GetInvoiceTemplateByIdData; - return invoiceTemplate == otherTyped.invoiceTemplate; - - } - @override - int get hashCode => invoiceTemplate.hashCode; - - - Map toJson() { - Map json = {}; - if (invoiceTemplate != null) { - json['invoiceTemplate'] = invoiceTemplate!.toJson(); - } - return json; - } - - GetInvoiceTemplateByIdData({ - this.invoiceTemplate, - }); -} - -@immutable -class GetInvoiceTemplateByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetInvoiceTemplateByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetInvoiceTemplateByIdVariables otherTyped = other as GetInvoiceTemplateByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetInvoiceTemplateByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_level_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_level_by_id.dart deleted file mode 100644 index 39437a2c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_level_by_id.dart +++ /dev/null @@ -1,169 +0,0 @@ -part of 'generated.dart'; - -class GetLevelByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetLevelByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetLevelByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetLevelByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetLevelByIdVariables vars= GetLevelByIdVariables(id: id,); - return _dataConnect.query("getLevelById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetLevelByIdLevel { - final String id; - final String name; - final int xpRequired; - final String? icon; - final AnyValue? colors; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetLevelByIdLevel.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - xpRequired = nativeFromJson(json['xpRequired']), - icon = json['icon'] == null ? null : nativeFromJson(json['icon']), - colors = json['colors'] == null ? null : AnyValue.fromJson(json['colors']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetLevelByIdLevel otherTyped = other as GetLevelByIdLevel; - return id == otherTyped.id && - name == otherTyped.name && - xpRequired == otherTyped.xpRequired && - icon == otherTyped.icon && - colors == otherTyped.colors && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, xpRequired.hashCode, icon.hashCode, colors.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['xpRequired'] = nativeToJson(xpRequired); - if (icon != null) { - json['icon'] = nativeToJson(icon); - } - if (colors != null) { - json['colors'] = colors!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetLevelByIdLevel({ - required this.id, - required this.name, - required this.xpRequired, - this.icon, - this.colors, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetLevelByIdData { - final GetLevelByIdLevel? level; - GetLevelByIdData.fromJson(dynamic json): - - level = json['level'] == null ? null : GetLevelByIdLevel.fromJson(json['level']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetLevelByIdData otherTyped = other as GetLevelByIdData; - return level == otherTyped.level; - - } - @override - int get hashCode => level.hashCode; - - - Map toJson() { - Map json = {}; - if (level != null) { - json['level'] = level!.toJson(); - } - return json; - } - - GetLevelByIdData({ - this.level, - }); -} - -@immutable -class GetLevelByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetLevelByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetLevelByIdVariables otherTyped = other as GetLevelByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetLevelByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_member_task_by_id_key.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_member_task_by_id_key.dart deleted file mode 100644 index c5e6c71a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_member_task_by_id_key.dart +++ /dev/null @@ -1,291 +0,0 @@ -part of 'generated.dart'; - -class GetMemberTaskByIdKeyVariablesBuilder { - String teamMemberId; - String taskId; - - final FirebaseDataConnect _dataConnect; - GetMemberTaskByIdKeyVariablesBuilder(this._dataConnect, {required this.teamMemberId,required this.taskId,}); - Deserializer dataDeserializer = (dynamic json) => GetMemberTaskByIdKeyData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetMemberTaskByIdKeyVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetMemberTaskByIdKeyVariables vars= GetMemberTaskByIdKeyVariables(teamMemberId: teamMemberId,taskId: taskId,); - return _dataConnect.query("getMemberTaskByIdKey", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetMemberTaskByIdKeyMemberTask { - final String id; - final GetMemberTaskByIdKeyMemberTaskTask task; - final GetMemberTaskByIdKeyMemberTaskTeamMember teamMember; - GetMemberTaskByIdKeyMemberTask.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - task = GetMemberTaskByIdKeyMemberTaskTask.fromJson(json['task']), - teamMember = GetMemberTaskByIdKeyMemberTaskTeamMember.fromJson(json['teamMember']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMemberTaskByIdKeyMemberTask otherTyped = other as GetMemberTaskByIdKeyMemberTask; - return id == otherTyped.id && - task == otherTyped.task && - teamMember == otherTyped.teamMember; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, task.hashCode, teamMember.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['task'] = task.toJson(); - json['teamMember'] = teamMember.toJson(); - return json; - } - - GetMemberTaskByIdKeyMemberTask({ - required this.id, - required this.task, - required this.teamMember, - }); -} - -@immutable -class GetMemberTaskByIdKeyMemberTaskTask { - final String id; - final String taskName; - final String? description; - final EnumValue status; - final Timestamp? dueDate; - final int? progress; - final EnumValue priority; - GetMemberTaskByIdKeyMemberTaskTask.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - taskName = nativeFromJson(json['taskName']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - status = taskStatusDeserializer(json['status']), - dueDate = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']), - progress = json['progress'] == null ? null : nativeFromJson(json['progress']), - priority = taskPriorityDeserializer(json['priority']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMemberTaskByIdKeyMemberTaskTask otherTyped = other as GetMemberTaskByIdKeyMemberTaskTask; - return id == otherTyped.id && - taskName == otherTyped.taskName && - description == otherTyped.description && - status == otherTyped.status && - dueDate == otherTyped.dueDate && - progress == otherTyped.progress && - priority == otherTyped.priority; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, taskName.hashCode, description.hashCode, status.hashCode, dueDate.hashCode, progress.hashCode, priority.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['taskName'] = nativeToJson(taskName); - if (description != null) { - json['description'] = nativeToJson(description); - } - json['status'] = - taskStatusSerializer(status) - ; - if (dueDate != null) { - json['dueDate'] = dueDate!.toJson(); - } - if (progress != null) { - json['progress'] = nativeToJson(progress); - } - json['priority'] = - taskPrioritySerializer(priority) - ; - return json; - } - - GetMemberTaskByIdKeyMemberTaskTask({ - required this.id, - required this.taskName, - this.description, - required this.status, - this.dueDate, - this.progress, - required this.priority, - }); -} - -@immutable -class GetMemberTaskByIdKeyMemberTaskTeamMember { - final GetMemberTaskByIdKeyMemberTaskTeamMemberUser user; - GetMemberTaskByIdKeyMemberTaskTeamMember.fromJson(dynamic json): - - user = GetMemberTaskByIdKeyMemberTaskTeamMemberUser.fromJson(json['user']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMemberTaskByIdKeyMemberTaskTeamMember otherTyped = other as GetMemberTaskByIdKeyMemberTaskTeamMember; - return user == otherTyped.user; - - } - @override - int get hashCode => user.hashCode; - - - Map toJson() { - Map json = {}; - json['user'] = user.toJson(); - return json; - } - - GetMemberTaskByIdKeyMemberTaskTeamMember({ - required this.user, - }); -} - -@immutable -class GetMemberTaskByIdKeyMemberTaskTeamMemberUser { - final String? fullName; - final String? email; - GetMemberTaskByIdKeyMemberTaskTeamMemberUser.fromJson(dynamic json): - - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMemberTaskByIdKeyMemberTaskTeamMemberUser otherTyped = other as GetMemberTaskByIdKeyMemberTaskTeamMemberUser; - return fullName == otherTyped.fullName && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([fullName.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - GetMemberTaskByIdKeyMemberTaskTeamMemberUser({ - this.fullName, - this.email, - }); -} - -@immutable -class GetMemberTaskByIdKeyData { - final GetMemberTaskByIdKeyMemberTask? memberTask; - GetMemberTaskByIdKeyData.fromJson(dynamic json): - - memberTask = json['memberTask'] == null ? null : GetMemberTaskByIdKeyMemberTask.fromJson(json['memberTask']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMemberTaskByIdKeyData otherTyped = other as GetMemberTaskByIdKeyData; - return memberTask == otherTyped.memberTask; - - } - @override - int get hashCode => memberTask.hashCode; - - - Map toJson() { - Map json = {}; - if (memberTask != null) { - json['memberTask'] = memberTask!.toJson(); - } - return json; - } - - GetMemberTaskByIdKeyData({ - this.memberTask, - }); -} - -@immutable -class GetMemberTaskByIdKeyVariables { - final String teamMemberId; - final String taskId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetMemberTaskByIdKeyVariables.fromJson(Map json): - - teamMemberId = nativeFromJson(json['teamMemberId']), - taskId = nativeFromJson(json['taskId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMemberTaskByIdKeyVariables otherTyped = other as GetMemberTaskByIdKeyVariables; - return teamMemberId == otherTyped.teamMemberId && - taskId == otherTyped.taskId; - - } - @override - int get hashCode => Object.hashAll([teamMemberId.hashCode, taskId.hashCode]); - - - Map toJson() { - Map json = {}; - json['teamMemberId'] = nativeToJson(teamMemberId); - json['taskId'] = nativeToJson(taskId); - return json; - } - - GetMemberTaskByIdKeyVariables({ - required this.teamMemberId, - required this.taskId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_member_tasks_by_task_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_member_tasks_by_task_id.dart deleted file mode 100644 index 242412af..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_member_tasks_by_task_id.dart +++ /dev/null @@ -1,285 +0,0 @@ -part of 'generated.dart'; - -class GetMemberTasksByTaskIdVariablesBuilder { - String taskId; - - final FirebaseDataConnect _dataConnect; - GetMemberTasksByTaskIdVariablesBuilder(this._dataConnect, {required this.taskId,}); - Deserializer dataDeserializer = (dynamic json) => GetMemberTasksByTaskIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetMemberTasksByTaskIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetMemberTasksByTaskIdVariables vars= GetMemberTasksByTaskIdVariables(taskId: taskId,); - return _dataConnect.query("getMemberTasksByTaskId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetMemberTasksByTaskIdMemberTasks { - final String id; - final GetMemberTasksByTaskIdMemberTasksTask task; - final GetMemberTasksByTaskIdMemberTasksTeamMember teamMember; - GetMemberTasksByTaskIdMemberTasks.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - task = GetMemberTasksByTaskIdMemberTasksTask.fromJson(json['task']), - teamMember = GetMemberTasksByTaskIdMemberTasksTeamMember.fromJson(json['teamMember']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMemberTasksByTaskIdMemberTasks otherTyped = other as GetMemberTasksByTaskIdMemberTasks; - return id == otherTyped.id && - task == otherTyped.task && - teamMember == otherTyped.teamMember; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, task.hashCode, teamMember.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['task'] = task.toJson(); - json['teamMember'] = teamMember.toJson(); - return json; - } - - GetMemberTasksByTaskIdMemberTasks({ - required this.id, - required this.task, - required this.teamMember, - }); -} - -@immutable -class GetMemberTasksByTaskIdMemberTasksTask { - final String id; - final String taskName; - final String? description; - final EnumValue status; - final Timestamp? dueDate; - final int? progress; - final EnumValue priority; - GetMemberTasksByTaskIdMemberTasksTask.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - taskName = nativeFromJson(json['taskName']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - status = taskStatusDeserializer(json['status']), - dueDate = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']), - progress = json['progress'] == null ? null : nativeFromJson(json['progress']), - priority = taskPriorityDeserializer(json['priority']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMemberTasksByTaskIdMemberTasksTask otherTyped = other as GetMemberTasksByTaskIdMemberTasksTask; - return id == otherTyped.id && - taskName == otherTyped.taskName && - description == otherTyped.description && - status == otherTyped.status && - dueDate == otherTyped.dueDate && - progress == otherTyped.progress && - priority == otherTyped.priority; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, taskName.hashCode, description.hashCode, status.hashCode, dueDate.hashCode, progress.hashCode, priority.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['taskName'] = nativeToJson(taskName); - if (description != null) { - json['description'] = nativeToJson(description); - } - json['status'] = - taskStatusSerializer(status) - ; - if (dueDate != null) { - json['dueDate'] = dueDate!.toJson(); - } - if (progress != null) { - json['progress'] = nativeToJson(progress); - } - json['priority'] = - taskPrioritySerializer(priority) - ; - return json; - } - - GetMemberTasksByTaskIdMemberTasksTask({ - required this.id, - required this.taskName, - this.description, - required this.status, - this.dueDate, - this.progress, - required this.priority, - }); -} - -@immutable -class GetMemberTasksByTaskIdMemberTasksTeamMember { - final GetMemberTasksByTaskIdMemberTasksTeamMemberUser user; - GetMemberTasksByTaskIdMemberTasksTeamMember.fromJson(dynamic json): - - user = GetMemberTasksByTaskIdMemberTasksTeamMemberUser.fromJson(json['user']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMemberTasksByTaskIdMemberTasksTeamMember otherTyped = other as GetMemberTasksByTaskIdMemberTasksTeamMember; - return user == otherTyped.user; - - } - @override - int get hashCode => user.hashCode; - - - Map toJson() { - Map json = {}; - json['user'] = user.toJson(); - return json; - } - - GetMemberTasksByTaskIdMemberTasksTeamMember({ - required this.user, - }); -} - -@immutable -class GetMemberTasksByTaskIdMemberTasksTeamMemberUser { - final String? fullName; - final String? email; - GetMemberTasksByTaskIdMemberTasksTeamMemberUser.fromJson(dynamic json): - - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMemberTasksByTaskIdMemberTasksTeamMemberUser otherTyped = other as GetMemberTasksByTaskIdMemberTasksTeamMemberUser; - return fullName == otherTyped.fullName && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([fullName.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - GetMemberTasksByTaskIdMemberTasksTeamMemberUser({ - this.fullName, - this.email, - }); -} - -@immutable -class GetMemberTasksByTaskIdData { - final List memberTasks; - GetMemberTasksByTaskIdData.fromJson(dynamic json): - - memberTasks = (json['memberTasks'] as List) - .map((e) => GetMemberTasksByTaskIdMemberTasks.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMemberTasksByTaskIdData otherTyped = other as GetMemberTasksByTaskIdData; - return memberTasks == otherTyped.memberTasks; - - } - @override - int get hashCode => memberTasks.hashCode; - - - Map toJson() { - Map json = {}; - json['memberTasks'] = memberTasks.map((e) => e.toJson()).toList(); - return json; - } - - GetMemberTasksByTaskIdData({ - required this.memberTasks, - }); -} - -@immutable -class GetMemberTasksByTaskIdVariables { - final String taskId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetMemberTasksByTaskIdVariables.fromJson(Map json): - - taskId = nativeFromJson(json['taskId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMemberTasksByTaskIdVariables otherTyped = other as GetMemberTasksByTaskIdVariables; - return taskId == otherTyped.taskId; - - } - @override - int get hashCode => taskId.hashCode; - - - Map toJson() { - Map json = {}; - json['taskId'] = nativeToJson(taskId); - return json; - } - - GetMemberTasksByTaskIdVariables({ - required this.taskId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_message_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_message_by_id.dart deleted file mode 100644 index 24068c4e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_message_by_id.dart +++ /dev/null @@ -1,194 +0,0 @@ -part of 'generated.dart'; - -class GetMessageByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetMessageByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetMessageByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetMessageByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetMessageByIdVariables vars= GetMessageByIdVariables(id: id,); - return _dataConnect.query("getMessageById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetMessageByIdMessage { - final String id; - final String conversationId; - final String senderId; - final String content; - final bool? isSystem; - final Timestamp? createdAt; - final GetMessageByIdMessageUser user; - GetMessageByIdMessage.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - conversationId = nativeFromJson(json['conversationId']), - senderId = nativeFromJson(json['senderId']), - content = nativeFromJson(json['content']), - isSystem = json['isSystem'] == null ? null : nativeFromJson(json['isSystem']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - user = GetMessageByIdMessageUser.fromJson(json['user']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMessageByIdMessage otherTyped = other as GetMessageByIdMessage; - return id == otherTyped.id && - conversationId == otherTyped.conversationId && - senderId == otherTyped.senderId && - content == otherTyped.content && - isSystem == otherTyped.isSystem && - createdAt == otherTyped.createdAt && - user == otherTyped.user; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, conversationId.hashCode, senderId.hashCode, content.hashCode, isSystem.hashCode, createdAt.hashCode, user.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['conversationId'] = nativeToJson(conversationId); - json['senderId'] = nativeToJson(senderId); - json['content'] = nativeToJson(content); - if (isSystem != null) { - json['isSystem'] = nativeToJson(isSystem); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['user'] = user.toJson(); - return json; - } - - GetMessageByIdMessage({ - required this.id, - required this.conversationId, - required this.senderId, - required this.content, - this.isSystem, - this.createdAt, - required this.user, - }); -} - -@immutable -class GetMessageByIdMessageUser { - final String? fullName; - GetMessageByIdMessageUser.fromJson(dynamic json): - - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMessageByIdMessageUser otherTyped = other as GetMessageByIdMessageUser; - return fullName == otherTyped.fullName; - - } - @override - int get hashCode => fullName.hashCode; - - - Map toJson() { - Map json = {}; - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - return json; - } - - GetMessageByIdMessageUser({ - this.fullName, - }); -} - -@immutable -class GetMessageByIdData { - final GetMessageByIdMessage? message; - GetMessageByIdData.fromJson(dynamic json): - - message = json['message'] == null ? null : GetMessageByIdMessage.fromJson(json['message']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMessageByIdData otherTyped = other as GetMessageByIdData; - return message == otherTyped.message; - - } - @override - int get hashCode => message.hashCode; - - - Map toJson() { - Map json = {}; - if (message != null) { - json['message'] = message!.toJson(); - } - return json; - } - - GetMessageByIdData({ - this.message, - }); -} - -@immutable -class GetMessageByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetMessageByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMessageByIdVariables otherTyped = other as GetMessageByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetMessageByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_messages_by_conversation_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_messages_by_conversation_id.dart deleted file mode 100644 index bb5dfd86..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_messages_by_conversation_id.dart +++ /dev/null @@ -1,194 +0,0 @@ -part of 'generated.dart'; - -class GetMessagesByConversationIdVariablesBuilder { - String conversationId; - - final FirebaseDataConnect _dataConnect; - GetMessagesByConversationIdVariablesBuilder(this._dataConnect, {required this.conversationId,}); - Deserializer dataDeserializer = (dynamic json) => GetMessagesByConversationIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetMessagesByConversationIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetMessagesByConversationIdVariables vars= GetMessagesByConversationIdVariables(conversationId: conversationId,); - return _dataConnect.query("getMessagesByConversationId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetMessagesByConversationIdMessages { - final String id; - final String conversationId; - final String senderId; - final String content; - final bool? isSystem; - final Timestamp? createdAt; - final GetMessagesByConversationIdMessagesUser user; - GetMessagesByConversationIdMessages.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - conversationId = nativeFromJson(json['conversationId']), - senderId = nativeFromJson(json['senderId']), - content = nativeFromJson(json['content']), - isSystem = json['isSystem'] == null ? null : nativeFromJson(json['isSystem']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - user = GetMessagesByConversationIdMessagesUser.fromJson(json['user']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMessagesByConversationIdMessages otherTyped = other as GetMessagesByConversationIdMessages; - return id == otherTyped.id && - conversationId == otherTyped.conversationId && - senderId == otherTyped.senderId && - content == otherTyped.content && - isSystem == otherTyped.isSystem && - createdAt == otherTyped.createdAt && - user == otherTyped.user; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, conversationId.hashCode, senderId.hashCode, content.hashCode, isSystem.hashCode, createdAt.hashCode, user.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['conversationId'] = nativeToJson(conversationId); - json['senderId'] = nativeToJson(senderId); - json['content'] = nativeToJson(content); - if (isSystem != null) { - json['isSystem'] = nativeToJson(isSystem); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['user'] = user.toJson(); - return json; - } - - GetMessagesByConversationIdMessages({ - required this.id, - required this.conversationId, - required this.senderId, - required this.content, - this.isSystem, - this.createdAt, - required this.user, - }); -} - -@immutable -class GetMessagesByConversationIdMessagesUser { - final String? fullName; - GetMessagesByConversationIdMessagesUser.fromJson(dynamic json): - - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMessagesByConversationIdMessagesUser otherTyped = other as GetMessagesByConversationIdMessagesUser; - return fullName == otherTyped.fullName; - - } - @override - int get hashCode => fullName.hashCode; - - - Map toJson() { - Map json = {}; - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - return json; - } - - GetMessagesByConversationIdMessagesUser({ - this.fullName, - }); -} - -@immutable -class GetMessagesByConversationIdData { - final List messages; - GetMessagesByConversationIdData.fromJson(dynamic json): - - messages = (json['messages'] as List) - .map((e) => GetMessagesByConversationIdMessages.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMessagesByConversationIdData otherTyped = other as GetMessagesByConversationIdData; - return messages == otherTyped.messages; - - } - @override - int get hashCode => messages.hashCode; - - - Map toJson() { - Map json = {}; - json['messages'] = messages.map((e) => e.toJson()).toList(); - return json; - } - - GetMessagesByConversationIdData({ - required this.messages, - }); -} - -@immutable -class GetMessagesByConversationIdVariables { - final String conversationId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetMessagesByConversationIdVariables.fromJson(Map json): - - conversationId = nativeFromJson(json['conversationId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMessagesByConversationIdVariables otherTyped = other as GetMessagesByConversationIdVariables; - return conversationId == otherTyped.conversationId; - - } - @override - int get hashCode => conversationId.hashCode; - - - Map toJson() { - Map json = {}; - json['conversationId'] = nativeToJson(conversationId); - return json; - } - - GetMessagesByConversationIdVariables({ - required this.conversationId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_my_tasks.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_my_tasks.dart deleted file mode 100644 index 34101380..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_my_tasks.dart +++ /dev/null @@ -1,285 +0,0 @@ -part of 'generated.dart'; - -class GetMyTasksVariablesBuilder { - String teamMemberId; - - final FirebaseDataConnect _dataConnect; - GetMyTasksVariablesBuilder(this._dataConnect, {required this.teamMemberId,}); - Deserializer dataDeserializer = (dynamic json) => GetMyTasksData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetMyTasksVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetMyTasksVariables vars= GetMyTasksVariables(teamMemberId: teamMemberId,); - return _dataConnect.query("getMyTasks", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetMyTasksMemberTasks { - final String id; - final GetMyTasksMemberTasksTask task; - final GetMyTasksMemberTasksTeamMember teamMember; - GetMyTasksMemberTasks.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - task = GetMyTasksMemberTasksTask.fromJson(json['task']), - teamMember = GetMyTasksMemberTasksTeamMember.fromJson(json['teamMember']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMyTasksMemberTasks otherTyped = other as GetMyTasksMemberTasks; - return id == otherTyped.id && - task == otherTyped.task && - teamMember == otherTyped.teamMember; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, task.hashCode, teamMember.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['task'] = task.toJson(); - json['teamMember'] = teamMember.toJson(); - return json; - } - - GetMyTasksMemberTasks({ - required this.id, - required this.task, - required this.teamMember, - }); -} - -@immutable -class GetMyTasksMemberTasksTask { - final String id; - final String taskName; - final String? description; - final EnumValue status; - final Timestamp? dueDate; - final int? progress; - final EnumValue priority; - GetMyTasksMemberTasksTask.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - taskName = nativeFromJson(json['taskName']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - status = taskStatusDeserializer(json['status']), - dueDate = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']), - progress = json['progress'] == null ? null : nativeFromJson(json['progress']), - priority = taskPriorityDeserializer(json['priority']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMyTasksMemberTasksTask otherTyped = other as GetMyTasksMemberTasksTask; - return id == otherTyped.id && - taskName == otherTyped.taskName && - description == otherTyped.description && - status == otherTyped.status && - dueDate == otherTyped.dueDate && - progress == otherTyped.progress && - priority == otherTyped.priority; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, taskName.hashCode, description.hashCode, status.hashCode, dueDate.hashCode, progress.hashCode, priority.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['taskName'] = nativeToJson(taskName); - if (description != null) { - json['description'] = nativeToJson(description); - } - json['status'] = - taskStatusSerializer(status) - ; - if (dueDate != null) { - json['dueDate'] = dueDate!.toJson(); - } - if (progress != null) { - json['progress'] = nativeToJson(progress); - } - json['priority'] = - taskPrioritySerializer(priority) - ; - return json; - } - - GetMyTasksMemberTasksTask({ - required this.id, - required this.taskName, - this.description, - required this.status, - this.dueDate, - this.progress, - required this.priority, - }); -} - -@immutable -class GetMyTasksMemberTasksTeamMember { - final GetMyTasksMemberTasksTeamMemberUser user; - GetMyTasksMemberTasksTeamMember.fromJson(dynamic json): - - user = GetMyTasksMemberTasksTeamMemberUser.fromJson(json['user']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMyTasksMemberTasksTeamMember otherTyped = other as GetMyTasksMemberTasksTeamMember; - return user == otherTyped.user; - - } - @override - int get hashCode => user.hashCode; - - - Map toJson() { - Map json = {}; - json['user'] = user.toJson(); - return json; - } - - GetMyTasksMemberTasksTeamMember({ - required this.user, - }); -} - -@immutable -class GetMyTasksMemberTasksTeamMemberUser { - final String? fullName; - final String? email; - GetMyTasksMemberTasksTeamMemberUser.fromJson(dynamic json): - - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMyTasksMemberTasksTeamMemberUser otherTyped = other as GetMyTasksMemberTasksTeamMemberUser; - return fullName == otherTyped.fullName && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([fullName.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - GetMyTasksMemberTasksTeamMemberUser({ - this.fullName, - this.email, - }); -} - -@immutable -class GetMyTasksData { - final List memberTasks; - GetMyTasksData.fromJson(dynamic json): - - memberTasks = (json['memberTasks'] as List) - .map((e) => GetMyTasksMemberTasks.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMyTasksData otherTyped = other as GetMyTasksData; - return memberTasks == otherTyped.memberTasks; - - } - @override - int get hashCode => memberTasks.hashCode; - - - Map toJson() { - Map json = {}; - json['memberTasks'] = memberTasks.map((e) => e.toJson()).toList(); - return json; - } - - GetMyTasksData({ - required this.memberTasks, - }); -} - -@immutable -class GetMyTasksVariables { - final String teamMemberId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetMyTasksVariables.fromJson(Map json): - - teamMemberId = nativeFromJson(json['teamMemberId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetMyTasksVariables otherTyped = other as GetMyTasksVariables; - return teamMemberId == otherTyped.teamMemberId; - - } - @override - int get hashCode => teamMemberId.hashCode; - - - Map toJson() { - Map json = {}; - json['teamMemberId'] = nativeToJson(teamMemberId); - return json; - } - - GetMyTasksVariables({ - required this.teamMemberId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_order_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_order_by_id.dart deleted file mode 100644 index 23f58273..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_order_by_id.dart +++ /dev/null @@ -1,378 +0,0 @@ -part of 'generated.dart'; - -class GetOrderByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetOrderByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetOrderByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetOrderByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetOrderByIdVariables vars= GetOrderByIdVariables(id: id,); - return _dataConnect.query("getOrderById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetOrderByIdOrder { - final String id; - final String? eventName; - final String vendorId; - final String businessId; - final EnumValue orderType; - final String? location; - final EnumValue status; - final Timestamp? date; - final Timestamp? startDate; - final Timestamp? endDate; - final EnumValue? duration; - final int? lunchBreak; - final double? total; - final AnyValue? assignedStaff; - final AnyValue? shifts; - final int? requested; - final String? hub; - final AnyValue? recurringDays; - final AnyValue? permanentDays; - final String? poReference; - final AnyValue? detectedConflicts; - final String? notes; - final Timestamp? createdAt; - final GetOrderByIdOrderBusiness business; - final GetOrderByIdOrderVendor vendor; - GetOrderByIdOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderType = orderTypeDeserializer(json['orderType']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - status = orderStatusDeserializer(json['status']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startDate = json['startDate'] == null ? null : Timestamp.fromJson(json['startDate']), - endDate = json['endDate'] == null ? null : Timestamp.fromJson(json['endDate']), - duration = json['duration'] == null ? null : orderDurationDeserializer(json['duration']), - lunchBreak = json['lunchBreak'] == null ? null : nativeFromJson(json['lunchBreak']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - assignedStaff = json['assignedStaff'] == null ? null : AnyValue.fromJson(json['assignedStaff']), - shifts = json['shifts'] == null ? null : AnyValue.fromJson(json['shifts']), - requested = json['requested'] == null ? null : nativeFromJson(json['requested']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - recurringDays = json['recurringDays'] == null ? null : AnyValue.fromJson(json['recurringDays']), - permanentDays = json['permanentDays'] == null ? null : AnyValue.fromJson(json['permanentDays']), - poReference = json['poReference'] == null ? null : nativeFromJson(json['poReference']), - detectedConflicts = json['detectedConflicts'] == null ? null : AnyValue.fromJson(json['detectedConflicts']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - business = GetOrderByIdOrderBusiness.fromJson(json['business']), - vendor = GetOrderByIdOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrderByIdOrder otherTyped = other as GetOrderByIdOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderType == otherTyped.orderType && - location == otherTyped.location && - status == otherTyped.status && - date == otherTyped.date && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate && - duration == otherTyped.duration && - lunchBreak == otherTyped.lunchBreak && - total == otherTyped.total && - assignedStaff == otherTyped.assignedStaff && - shifts == otherTyped.shifts && - requested == otherTyped.requested && - hub == otherTyped.hub && - recurringDays == otherTyped.recurringDays && - permanentDays == otherTyped.permanentDays && - poReference == otherTyped.poReference && - detectedConflicts == otherTyped.detectedConflicts && - notes == otherTyped.notes && - createdAt == otherTyped.createdAt && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, vendorId.hashCode, businessId.hashCode, orderType.hashCode, location.hashCode, status.hashCode, date.hashCode, startDate.hashCode, endDate.hashCode, duration.hashCode, lunchBreak.hashCode, total.hashCode, assignedStaff.hashCode, shifts.hashCode, requested.hashCode, hub.hashCode, recurringDays.hashCode, permanentDays.hashCode, poReference.hashCode, detectedConflicts.hashCode, notes.hashCode, createdAt.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderType'] = - orderTypeSerializer(orderType) - ; - if (location != null) { - json['location'] = nativeToJson(location); - } - json['status'] = - orderStatusSerializer(status) - ; - if (date != null) { - json['date'] = date!.toJson(); - } - if (startDate != null) { - json['startDate'] = startDate!.toJson(); - } - if (endDate != null) { - json['endDate'] = endDate!.toJson(); - } - if (duration != null) { - json['duration'] = - orderDurationSerializer(duration!) - ; - } - if (lunchBreak != null) { - json['lunchBreak'] = nativeToJson(lunchBreak); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (assignedStaff != null) { - json['assignedStaff'] = assignedStaff!.toJson(); - } - if (shifts != null) { - json['shifts'] = shifts!.toJson(); - } - if (requested != null) { - json['requested'] = nativeToJson(requested); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (recurringDays != null) { - json['recurringDays'] = recurringDays!.toJson(); - } - if (permanentDays != null) { - json['permanentDays'] = permanentDays!.toJson(); - } - if (poReference != null) { - json['poReference'] = nativeToJson(poReference); - } - if (detectedConflicts != null) { - json['detectedConflicts'] = detectedConflicts!.toJson(); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetOrderByIdOrder({ - required this.id, - this.eventName, - required this.vendorId, - required this.businessId, - required this.orderType, - this.location, - required this.status, - this.date, - this.startDate, - this.endDate, - this.duration, - this.lunchBreak, - this.total, - this.assignedStaff, - this.shifts, - this.requested, - this.hub, - this.recurringDays, - this.permanentDays, - this.poReference, - this.detectedConflicts, - this.notes, - this.createdAt, - required this.business, - required this.vendor, - }); -} - -@immutable -class GetOrderByIdOrderBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - GetOrderByIdOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrderByIdOrderBusiness otherTyped = other as GetOrderByIdOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - GetOrderByIdOrderBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class GetOrderByIdOrderVendor { - final String id; - final String companyName; - GetOrderByIdOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrderByIdOrderVendor otherTyped = other as GetOrderByIdOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetOrderByIdOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetOrderByIdData { - final GetOrderByIdOrder? order; - GetOrderByIdData.fromJson(dynamic json): - - order = json['order'] == null ? null : GetOrderByIdOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrderByIdData otherTyped = other as GetOrderByIdData; - return order == otherTyped.order; - - } - @override - int get hashCode => order.hashCode; - - - Map toJson() { - Map json = {}; - if (order != null) { - json['order'] = order!.toJson(); - } - return json; - } - - GetOrderByIdData({ - this.order, - }); -} - -@immutable -class GetOrderByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetOrderByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrderByIdVariables otherTyped = other as GetOrderByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetOrderByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_orders_by_business_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_orders_by_business_id.dart deleted file mode 100644 index 0cdafd87..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_orders_by_business_id.dart +++ /dev/null @@ -1,411 +0,0 @@ -part of 'generated.dart'; - -class GetOrdersByBusinessIdVariablesBuilder { - String businessId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; GetOrdersByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetOrdersByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - GetOrdersByBusinessIdVariablesBuilder(this._dataConnect, {required this.businessId,}); - Deserializer dataDeserializer = (dynamic json) => GetOrdersByBusinessIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetOrdersByBusinessIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetOrdersByBusinessIdVariables vars= GetOrdersByBusinessIdVariables(businessId: businessId,offset: _offset,limit: _limit,); - return _dataConnect.query("getOrdersByBusinessId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetOrdersByBusinessIdOrders { - final String id; - final String? eventName; - final String vendorId; - final String businessId; - final EnumValue orderType; - final String? location; - final EnumValue status; - final Timestamp? date; - final Timestamp? startDate; - final Timestamp? endDate; - final EnumValue? duration; - final int? lunchBreak; - final double? total; - final AnyValue? assignedStaff; - final AnyValue? shifts; - final int? requested; - final String? hub; - final AnyValue? recurringDays; - final AnyValue? permanentDays; - final String? poReference; - final AnyValue? detectedConflicts; - final String? notes; - final Timestamp? createdAt; - final GetOrdersByBusinessIdOrdersBusiness business; - final GetOrdersByBusinessIdOrdersVendor vendor; - GetOrdersByBusinessIdOrders.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderType = orderTypeDeserializer(json['orderType']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - status = orderStatusDeserializer(json['status']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startDate = json['startDate'] == null ? null : Timestamp.fromJson(json['startDate']), - endDate = json['endDate'] == null ? null : Timestamp.fromJson(json['endDate']), - duration = json['duration'] == null ? null : orderDurationDeserializer(json['duration']), - lunchBreak = json['lunchBreak'] == null ? null : nativeFromJson(json['lunchBreak']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - assignedStaff = json['assignedStaff'] == null ? null : AnyValue.fromJson(json['assignedStaff']), - shifts = json['shifts'] == null ? null : AnyValue.fromJson(json['shifts']), - requested = json['requested'] == null ? null : nativeFromJson(json['requested']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - recurringDays = json['recurringDays'] == null ? null : AnyValue.fromJson(json['recurringDays']), - permanentDays = json['permanentDays'] == null ? null : AnyValue.fromJson(json['permanentDays']), - poReference = json['poReference'] == null ? null : nativeFromJson(json['poReference']), - detectedConflicts = json['detectedConflicts'] == null ? null : AnyValue.fromJson(json['detectedConflicts']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - business = GetOrdersByBusinessIdOrdersBusiness.fromJson(json['business']), - vendor = GetOrdersByBusinessIdOrdersVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByBusinessIdOrders otherTyped = other as GetOrdersByBusinessIdOrders; - return id == otherTyped.id && - eventName == otherTyped.eventName && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderType == otherTyped.orderType && - location == otherTyped.location && - status == otherTyped.status && - date == otherTyped.date && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate && - duration == otherTyped.duration && - lunchBreak == otherTyped.lunchBreak && - total == otherTyped.total && - assignedStaff == otherTyped.assignedStaff && - shifts == otherTyped.shifts && - requested == otherTyped.requested && - hub == otherTyped.hub && - recurringDays == otherTyped.recurringDays && - permanentDays == otherTyped.permanentDays && - poReference == otherTyped.poReference && - detectedConflicts == otherTyped.detectedConflicts && - notes == otherTyped.notes && - createdAt == otherTyped.createdAt && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, vendorId.hashCode, businessId.hashCode, orderType.hashCode, location.hashCode, status.hashCode, date.hashCode, startDate.hashCode, endDate.hashCode, duration.hashCode, lunchBreak.hashCode, total.hashCode, assignedStaff.hashCode, shifts.hashCode, requested.hashCode, hub.hashCode, recurringDays.hashCode, permanentDays.hashCode, poReference.hashCode, detectedConflicts.hashCode, notes.hashCode, createdAt.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderType'] = - orderTypeSerializer(orderType) - ; - if (location != null) { - json['location'] = nativeToJson(location); - } - json['status'] = - orderStatusSerializer(status) - ; - if (date != null) { - json['date'] = date!.toJson(); - } - if (startDate != null) { - json['startDate'] = startDate!.toJson(); - } - if (endDate != null) { - json['endDate'] = endDate!.toJson(); - } - if (duration != null) { - json['duration'] = - orderDurationSerializer(duration!) - ; - } - if (lunchBreak != null) { - json['lunchBreak'] = nativeToJson(lunchBreak); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (assignedStaff != null) { - json['assignedStaff'] = assignedStaff!.toJson(); - } - if (shifts != null) { - json['shifts'] = shifts!.toJson(); - } - if (requested != null) { - json['requested'] = nativeToJson(requested); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (recurringDays != null) { - json['recurringDays'] = recurringDays!.toJson(); - } - if (permanentDays != null) { - json['permanentDays'] = permanentDays!.toJson(); - } - if (poReference != null) { - json['poReference'] = nativeToJson(poReference); - } - if (detectedConflicts != null) { - json['detectedConflicts'] = detectedConflicts!.toJson(); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetOrdersByBusinessIdOrders({ - required this.id, - this.eventName, - required this.vendorId, - required this.businessId, - required this.orderType, - this.location, - required this.status, - this.date, - this.startDate, - this.endDate, - this.duration, - this.lunchBreak, - this.total, - this.assignedStaff, - this.shifts, - this.requested, - this.hub, - this.recurringDays, - this.permanentDays, - this.poReference, - this.detectedConflicts, - this.notes, - this.createdAt, - required this.business, - required this.vendor, - }); -} - -@immutable -class GetOrdersByBusinessIdOrdersBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - GetOrdersByBusinessIdOrdersBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByBusinessIdOrdersBusiness otherTyped = other as GetOrdersByBusinessIdOrdersBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - GetOrdersByBusinessIdOrdersBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class GetOrdersByBusinessIdOrdersVendor { - final String id; - final String companyName; - GetOrdersByBusinessIdOrdersVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByBusinessIdOrdersVendor otherTyped = other as GetOrdersByBusinessIdOrdersVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetOrdersByBusinessIdOrdersVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetOrdersByBusinessIdData { - final List orders; - GetOrdersByBusinessIdData.fromJson(dynamic json): - - orders = (json['orders'] as List) - .map((e) => GetOrdersByBusinessIdOrders.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByBusinessIdData otherTyped = other as GetOrdersByBusinessIdData; - return orders == otherTyped.orders; - - } - @override - int get hashCode => orders.hashCode; - - - Map toJson() { - Map json = {}; - json['orders'] = orders.map((e) => e.toJson()).toList(); - return json; - } - - GetOrdersByBusinessIdData({ - required this.orders, - }); -} - -@immutable -class GetOrdersByBusinessIdVariables { - final String businessId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetOrdersByBusinessIdVariables.fromJson(Map json): - - businessId = nativeFromJson(json['businessId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByBusinessIdVariables otherTyped = other as GetOrdersByBusinessIdVariables; - return businessId == otherTyped.businessId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([businessId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessId'] = nativeToJson(businessId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - GetOrdersByBusinessIdVariables({ - required this.businessId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_orders_by_date_range.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_orders_by_date_range.dart deleted file mode 100644 index 8c793f4a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_orders_by_date_range.dart +++ /dev/null @@ -1,418 +0,0 @@ -part of 'generated.dart'; - -class GetOrdersByDateRangeVariablesBuilder { - Timestamp start; - Timestamp end; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; GetOrdersByDateRangeVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetOrdersByDateRangeVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - GetOrdersByDateRangeVariablesBuilder(this._dataConnect, {required this.start,required this.end,}); - Deserializer dataDeserializer = (dynamic json) => GetOrdersByDateRangeData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetOrdersByDateRangeVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetOrdersByDateRangeVariables vars= GetOrdersByDateRangeVariables(start: start,end: end,offset: _offset,limit: _limit,); - return _dataConnect.query("getOrdersByDateRange", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetOrdersByDateRangeOrders { - final String id; - final String? eventName; - final String vendorId; - final String businessId; - final EnumValue orderType; - final String? location; - final EnumValue status; - final Timestamp? date; - final Timestamp? startDate; - final Timestamp? endDate; - final EnumValue? duration; - final int? lunchBreak; - final double? total; - final AnyValue? assignedStaff; - final AnyValue? shifts; - final int? requested; - final String? hub; - final AnyValue? recurringDays; - final AnyValue? permanentDays; - final String? poReference; - final AnyValue? detectedConflicts; - final String? notes; - final Timestamp? createdAt; - final GetOrdersByDateRangeOrdersBusiness business; - final GetOrdersByDateRangeOrdersVendor vendor; - GetOrdersByDateRangeOrders.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderType = orderTypeDeserializer(json['orderType']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - status = orderStatusDeserializer(json['status']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startDate = json['startDate'] == null ? null : Timestamp.fromJson(json['startDate']), - endDate = json['endDate'] == null ? null : Timestamp.fromJson(json['endDate']), - duration = json['duration'] == null ? null : orderDurationDeserializer(json['duration']), - lunchBreak = json['lunchBreak'] == null ? null : nativeFromJson(json['lunchBreak']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - assignedStaff = json['assignedStaff'] == null ? null : AnyValue.fromJson(json['assignedStaff']), - shifts = json['shifts'] == null ? null : AnyValue.fromJson(json['shifts']), - requested = json['requested'] == null ? null : nativeFromJson(json['requested']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - recurringDays = json['recurringDays'] == null ? null : AnyValue.fromJson(json['recurringDays']), - permanentDays = json['permanentDays'] == null ? null : AnyValue.fromJson(json['permanentDays']), - poReference = json['poReference'] == null ? null : nativeFromJson(json['poReference']), - detectedConflicts = json['detectedConflicts'] == null ? null : AnyValue.fromJson(json['detectedConflicts']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - business = GetOrdersByDateRangeOrdersBusiness.fromJson(json['business']), - vendor = GetOrdersByDateRangeOrdersVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByDateRangeOrders otherTyped = other as GetOrdersByDateRangeOrders; - return id == otherTyped.id && - eventName == otherTyped.eventName && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderType == otherTyped.orderType && - location == otherTyped.location && - status == otherTyped.status && - date == otherTyped.date && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate && - duration == otherTyped.duration && - lunchBreak == otherTyped.lunchBreak && - total == otherTyped.total && - assignedStaff == otherTyped.assignedStaff && - shifts == otherTyped.shifts && - requested == otherTyped.requested && - hub == otherTyped.hub && - recurringDays == otherTyped.recurringDays && - permanentDays == otherTyped.permanentDays && - poReference == otherTyped.poReference && - detectedConflicts == otherTyped.detectedConflicts && - notes == otherTyped.notes && - createdAt == otherTyped.createdAt && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, vendorId.hashCode, businessId.hashCode, orderType.hashCode, location.hashCode, status.hashCode, date.hashCode, startDate.hashCode, endDate.hashCode, duration.hashCode, lunchBreak.hashCode, total.hashCode, assignedStaff.hashCode, shifts.hashCode, requested.hashCode, hub.hashCode, recurringDays.hashCode, permanentDays.hashCode, poReference.hashCode, detectedConflicts.hashCode, notes.hashCode, createdAt.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderType'] = - orderTypeSerializer(orderType) - ; - if (location != null) { - json['location'] = nativeToJson(location); - } - json['status'] = - orderStatusSerializer(status) - ; - if (date != null) { - json['date'] = date!.toJson(); - } - if (startDate != null) { - json['startDate'] = startDate!.toJson(); - } - if (endDate != null) { - json['endDate'] = endDate!.toJson(); - } - if (duration != null) { - json['duration'] = - orderDurationSerializer(duration!) - ; - } - if (lunchBreak != null) { - json['lunchBreak'] = nativeToJson(lunchBreak); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (assignedStaff != null) { - json['assignedStaff'] = assignedStaff!.toJson(); - } - if (shifts != null) { - json['shifts'] = shifts!.toJson(); - } - if (requested != null) { - json['requested'] = nativeToJson(requested); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (recurringDays != null) { - json['recurringDays'] = recurringDays!.toJson(); - } - if (permanentDays != null) { - json['permanentDays'] = permanentDays!.toJson(); - } - if (poReference != null) { - json['poReference'] = nativeToJson(poReference); - } - if (detectedConflicts != null) { - json['detectedConflicts'] = detectedConflicts!.toJson(); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetOrdersByDateRangeOrders({ - required this.id, - this.eventName, - required this.vendorId, - required this.businessId, - required this.orderType, - this.location, - required this.status, - this.date, - this.startDate, - this.endDate, - this.duration, - this.lunchBreak, - this.total, - this.assignedStaff, - this.shifts, - this.requested, - this.hub, - this.recurringDays, - this.permanentDays, - this.poReference, - this.detectedConflicts, - this.notes, - this.createdAt, - required this.business, - required this.vendor, - }); -} - -@immutable -class GetOrdersByDateRangeOrdersBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - GetOrdersByDateRangeOrdersBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByDateRangeOrdersBusiness otherTyped = other as GetOrdersByDateRangeOrdersBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - GetOrdersByDateRangeOrdersBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class GetOrdersByDateRangeOrdersVendor { - final String id; - final String companyName; - GetOrdersByDateRangeOrdersVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByDateRangeOrdersVendor otherTyped = other as GetOrdersByDateRangeOrdersVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetOrdersByDateRangeOrdersVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetOrdersByDateRangeData { - final List orders; - GetOrdersByDateRangeData.fromJson(dynamic json): - - orders = (json['orders'] as List) - .map((e) => GetOrdersByDateRangeOrders.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByDateRangeData otherTyped = other as GetOrdersByDateRangeData; - return orders == otherTyped.orders; - - } - @override - int get hashCode => orders.hashCode; - - - Map toJson() { - Map json = {}; - json['orders'] = orders.map((e) => e.toJson()).toList(); - return json; - } - - GetOrdersByDateRangeData({ - required this.orders, - }); -} - -@immutable -class GetOrdersByDateRangeVariables { - final Timestamp start; - final Timestamp end; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetOrdersByDateRangeVariables.fromJson(Map json): - - start = Timestamp.fromJson(json['start']), - end = Timestamp.fromJson(json['end']) { - - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByDateRangeVariables otherTyped = other as GetOrdersByDateRangeVariables; - return start == otherTyped.start && - end == otherTyped.end && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([start.hashCode, end.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['start'] = start.toJson(); - json['end'] = end.toJson(); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - GetOrdersByDateRangeVariables({ - required this.start, - required this.end, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_orders_by_status.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_orders_by_status.dart deleted file mode 100644 index 334f3e8d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_orders_by_status.dart +++ /dev/null @@ -1,413 +0,0 @@ -part of 'generated.dart'; - -class GetOrdersByStatusVariablesBuilder { - OrderStatus status; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; GetOrdersByStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetOrdersByStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - GetOrdersByStatusVariablesBuilder(this._dataConnect, {required this.status,}); - Deserializer dataDeserializer = (dynamic json) => GetOrdersByStatusData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetOrdersByStatusVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetOrdersByStatusVariables vars= GetOrdersByStatusVariables(status: status,offset: _offset,limit: _limit,); - return _dataConnect.query("getOrdersByStatus", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetOrdersByStatusOrders { - final String id; - final String? eventName; - final String vendorId; - final String businessId; - final EnumValue orderType; - final String? location; - final EnumValue status; - final Timestamp? date; - final Timestamp? startDate; - final Timestamp? endDate; - final EnumValue? duration; - final int? lunchBreak; - final double? total; - final AnyValue? assignedStaff; - final AnyValue? shifts; - final int? requested; - final String? hub; - final AnyValue? recurringDays; - final AnyValue? permanentDays; - final String? poReference; - final AnyValue? detectedConflicts; - final String? notes; - final Timestamp? createdAt; - final GetOrdersByStatusOrdersBusiness business; - final GetOrdersByStatusOrdersVendor vendor; - GetOrdersByStatusOrders.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderType = orderTypeDeserializer(json['orderType']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - status = orderStatusDeserializer(json['status']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startDate = json['startDate'] == null ? null : Timestamp.fromJson(json['startDate']), - endDate = json['endDate'] == null ? null : Timestamp.fromJson(json['endDate']), - duration = json['duration'] == null ? null : orderDurationDeserializer(json['duration']), - lunchBreak = json['lunchBreak'] == null ? null : nativeFromJson(json['lunchBreak']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - assignedStaff = json['assignedStaff'] == null ? null : AnyValue.fromJson(json['assignedStaff']), - shifts = json['shifts'] == null ? null : AnyValue.fromJson(json['shifts']), - requested = json['requested'] == null ? null : nativeFromJson(json['requested']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - recurringDays = json['recurringDays'] == null ? null : AnyValue.fromJson(json['recurringDays']), - permanentDays = json['permanentDays'] == null ? null : AnyValue.fromJson(json['permanentDays']), - poReference = json['poReference'] == null ? null : nativeFromJson(json['poReference']), - detectedConflicts = json['detectedConflicts'] == null ? null : AnyValue.fromJson(json['detectedConflicts']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - business = GetOrdersByStatusOrdersBusiness.fromJson(json['business']), - vendor = GetOrdersByStatusOrdersVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByStatusOrders otherTyped = other as GetOrdersByStatusOrders; - return id == otherTyped.id && - eventName == otherTyped.eventName && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderType == otherTyped.orderType && - location == otherTyped.location && - status == otherTyped.status && - date == otherTyped.date && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate && - duration == otherTyped.duration && - lunchBreak == otherTyped.lunchBreak && - total == otherTyped.total && - assignedStaff == otherTyped.assignedStaff && - shifts == otherTyped.shifts && - requested == otherTyped.requested && - hub == otherTyped.hub && - recurringDays == otherTyped.recurringDays && - permanentDays == otherTyped.permanentDays && - poReference == otherTyped.poReference && - detectedConflicts == otherTyped.detectedConflicts && - notes == otherTyped.notes && - createdAt == otherTyped.createdAt && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, vendorId.hashCode, businessId.hashCode, orderType.hashCode, location.hashCode, status.hashCode, date.hashCode, startDate.hashCode, endDate.hashCode, duration.hashCode, lunchBreak.hashCode, total.hashCode, assignedStaff.hashCode, shifts.hashCode, requested.hashCode, hub.hashCode, recurringDays.hashCode, permanentDays.hashCode, poReference.hashCode, detectedConflicts.hashCode, notes.hashCode, createdAt.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderType'] = - orderTypeSerializer(orderType) - ; - if (location != null) { - json['location'] = nativeToJson(location); - } - json['status'] = - orderStatusSerializer(status) - ; - if (date != null) { - json['date'] = date!.toJson(); - } - if (startDate != null) { - json['startDate'] = startDate!.toJson(); - } - if (endDate != null) { - json['endDate'] = endDate!.toJson(); - } - if (duration != null) { - json['duration'] = - orderDurationSerializer(duration!) - ; - } - if (lunchBreak != null) { - json['lunchBreak'] = nativeToJson(lunchBreak); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (assignedStaff != null) { - json['assignedStaff'] = assignedStaff!.toJson(); - } - if (shifts != null) { - json['shifts'] = shifts!.toJson(); - } - if (requested != null) { - json['requested'] = nativeToJson(requested); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (recurringDays != null) { - json['recurringDays'] = recurringDays!.toJson(); - } - if (permanentDays != null) { - json['permanentDays'] = permanentDays!.toJson(); - } - if (poReference != null) { - json['poReference'] = nativeToJson(poReference); - } - if (detectedConflicts != null) { - json['detectedConflicts'] = detectedConflicts!.toJson(); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetOrdersByStatusOrders({ - required this.id, - this.eventName, - required this.vendorId, - required this.businessId, - required this.orderType, - this.location, - required this.status, - this.date, - this.startDate, - this.endDate, - this.duration, - this.lunchBreak, - this.total, - this.assignedStaff, - this.shifts, - this.requested, - this.hub, - this.recurringDays, - this.permanentDays, - this.poReference, - this.detectedConflicts, - this.notes, - this.createdAt, - required this.business, - required this.vendor, - }); -} - -@immutable -class GetOrdersByStatusOrdersBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - GetOrdersByStatusOrdersBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByStatusOrdersBusiness otherTyped = other as GetOrdersByStatusOrdersBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - GetOrdersByStatusOrdersBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class GetOrdersByStatusOrdersVendor { - final String id; - final String companyName; - GetOrdersByStatusOrdersVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByStatusOrdersVendor otherTyped = other as GetOrdersByStatusOrdersVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetOrdersByStatusOrdersVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetOrdersByStatusData { - final List orders; - GetOrdersByStatusData.fromJson(dynamic json): - - orders = (json['orders'] as List) - .map((e) => GetOrdersByStatusOrders.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByStatusData otherTyped = other as GetOrdersByStatusData; - return orders == otherTyped.orders; - - } - @override - int get hashCode => orders.hashCode; - - - Map toJson() { - Map json = {}; - json['orders'] = orders.map((e) => e.toJson()).toList(); - return json; - } - - GetOrdersByStatusData({ - required this.orders, - }); -} - -@immutable -class GetOrdersByStatusVariables { - final OrderStatus status; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetOrdersByStatusVariables.fromJson(Map json): - - status = OrderStatus.values.byName(json['status']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByStatusVariables otherTyped = other as GetOrdersByStatusVariables; - return status == otherTyped.status && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([status.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['status'] = - status.name - ; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - GetOrdersByStatusVariables({ - required this.status, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_orders_by_vendor_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_orders_by_vendor_id.dart deleted file mode 100644 index 467e766c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_orders_by_vendor_id.dart +++ /dev/null @@ -1,411 +0,0 @@ -part of 'generated.dart'; - -class GetOrdersByVendorIdVariablesBuilder { - String vendorId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; GetOrdersByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetOrdersByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - GetOrdersByVendorIdVariablesBuilder(this._dataConnect, {required this.vendorId,}); - Deserializer dataDeserializer = (dynamic json) => GetOrdersByVendorIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetOrdersByVendorIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetOrdersByVendorIdVariables vars= GetOrdersByVendorIdVariables(vendorId: vendorId,offset: _offset,limit: _limit,); - return _dataConnect.query("getOrdersByVendorId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetOrdersByVendorIdOrders { - final String id; - final String? eventName; - final String vendorId; - final String businessId; - final EnumValue orderType; - final String? location; - final EnumValue status; - final Timestamp? date; - final Timestamp? startDate; - final Timestamp? endDate; - final EnumValue? duration; - final int? lunchBreak; - final double? total; - final AnyValue? assignedStaff; - final AnyValue? shifts; - final int? requested; - final String? hub; - final AnyValue? recurringDays; - final AnyValue? permanentDays; - final String? poReference; - final AnyValue? detectedConflicts; - final String? notes; - final Timestamp? createdAt; - final GetOrdersByVendorIdOrdersBusiness business; - final GetOrdersByVendorIdOrdersVendor vendor; - GetOrdersByVendorIdOrders.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderType = orderTypeDeserializer(json['orderType']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - status = orderStatusDeserializer(json['status']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startDate = json['startDate'] == null ? null : Timestamp.fromJson(json['startDate']), - endDate = json['endDate'] == null ? null : Timestamp.fromJson(json['endDate']), - duration = json['duration'] == null ? null : orderDurationDeserializer(json['duration']), - lunchBreak = json['lunchBreak'] == null ? null : nativeFromJson(json['lunchBreak']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - assignedStaff = json['assignedStaff'] == null ? null : AnyValue.fromJson(json['assignedStaff']), - shifts = json['shifts'] == null ? null : AnyValue.fromJson(json['shifts']), - requested = json['requested'] == null ? null : nativeFromJson(json['requested']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - recurringDays = json['recurringDays'] == null ? null : AnyValue.fromJson(json['recurringDays']), - permanentDays = json['permanentDays'] == null ? null : AnyValue.fromJson(json['permanentDays']), - poReference = json['poReference'] == null ? null : nativeFromJson(json['poReference']), - detectedConflicts = json['detectedConflicts'] == null ? null : AnyValue.fromJson(json['detectedConflicts']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - business = GetOrdersByVendorIdOrdersBusiness.fromJson(json['business']), - vendor = GetOrdersByVendorIdOrdersVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByVendorIdOrders otherTyped = other as GetOrdersByVendorIdOrders; - return id == otherTyped.id && - eventName == otherTyped.eventName && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderType == otherTyped.orderType && - location == otherTyped.location && - status == otherTyped.status && - date == otherTyped.date && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate && - duration == otherTyped.duration && - lunchBreak == otherTyped.lunchBreak && - total == otherTyped.total && - assignedStaff == otherTyped.assignedStaff && - shifts == otherTyped.shifts && - requested == otherTyped.requested && - hub == otherTyped.hub && - recurringDays == otherTyped.recurringDays && - permanentDays == otherTyped.permanentDays && - poReference == otherTyped.poReference && - detectedConflicts == otherTyped.detectedConflicts && - notes == otherTyped.notes && - createdAt == otherTyped.createdAt && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, vendorId.hashCode, businessId.hashCode, orderType.hashCode, location.hashCode, status.hashCode, date.hashCode, startDate.hashCode, endDate.hashCode, duration.hashCode, lunchBreak.hashCode, total.hashCode, assignedStaff.hashCode, shifts.hashCode, requested.hashCode, hub.hashCode, recurringDays.hashCode, permanentDays.hashCode, poReference.hashCode, detectedConflicts.hashCode, notes.hashCode, createdAt.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderType'] = - orderTypeSerializer(orderType) - ; - if (location != null) { - json['location'] = nativeToJson(location); - } - json['status'] = - orderStatusSerializer(status) - ; - if (date != null) { - json['date'] = date!.toJson(); - } - if (startDate != null) { - json['startDate'] = startDate!.toJson(); - } - if (endDate != null) { - json['endDate'] = endDate!.toJson(); - } - if (duration != null) { - json['duration'] = - orderDurationSerializer(duration!) - ; - } - if (lunchBreak != null) { - json['lunchBreak'] = nativeToJson(lunchBreak); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (assignedStaff != null) { - json['assignedStaff'] = assignedStaff!.toJson(); - } - if (shifts != null) { - json['shifts'] = shifts!.toJson(); - } - if (requested != null) { - json['requested'] = nativeToJson(requested); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (recurringDays != null) { - json['recurringDays'] = recurringDays!.toJson(); - } - if (permanentDays != null) { - json['permanentDays'] = permanentDays!.toJson(); - } - if (poReference != null) { - json['poReference'] = nativeToJson(poReference); - } - if (detectedConflicts != null) { - json['detectedConflicts'] = detectedConflicts!.toJson(); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetOrdersByVendorIdOrders({ - required this.id, - this.eventName, - required this.vendorId, - required this.businessId, - required this.orderType, - this.location, - required this.status, - this.date, - this.startDate, - this.endDate, - this.duration, - this.lunchBreak, - this.total, - this.assignedStaff, - this.shifts, - this.requested, - this.hub, - this.recurringDays, - this.permanentDays, - this.poReference, - this.detectedConflicts, - this.notes, - this.createdAt, - required this.business, - required this.vendor, - }); -} - -@immutable -class GetOrdersByVendorIdOrdersBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - GetOrdersByVendorIdOrdersBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByVendorIdOrdersBusiness otherTyped = other as GetOrdersByVendorIdOrdersBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - GetOrdersByVendorIdOrdersBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class GetOrdersByVendorIdOrdersVendor { - final String id; - final String companyName; - GetOrdersByVendorIdOrdersVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByVendorIdOrdersVendor otherTyped = other as GetOrdersByVendorIdOrdersVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetOrdersByVendorIdOrdersVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetOrdersByVendorIdData { - final List orders; - GetOrdersByVendorIdData.fromJson(dynamic json): - - orders = (json['orders'] as List) - .map((e) => GetOrdersByVendorIdOrders.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByVendorIdData otherTyped = other as GetOrdersByVendorIdData; - return orders == otherTyped.orders; - - } - @override - int get hashCode => orders.hashCode; - - - Map toJson() { - Map json = {}; - json['orders'] = orders.map((e) => e.toJson()).toList(); - return json; - } - - GetOrdersByVendorIdData({ - required this.orders, - }); -} - -@immutable -class GetOrdersByVendorIdVariables { - final String vendorId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetOrdersByVendorIdVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetOrdersByVendorIdVariables otherTyped = other as GetOrdersByVendorIdVariables; - return vendorId == otherTyped.vendorId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - GetOrdersByVendorIdVariables({ - required this.vendorId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_rapid_orders.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_rapid_orders.dart deleted file mode 100644 index 17f82e84..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_rapid_orders.dart +++ /dev/null @@ -1,404 +0,0 @@ -part of 'generated.dart'; - -class GetRapidOrdersVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - GetRapidOrdersVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetRapidOrdersVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - GetRapidOrdersVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => GetRapidOrdersData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetRapidOrdersVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetRapidOrdersVariables vars= GetRapidOrdersVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("getRapidOrders", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetRapidOrdersOrders { - final String id; - final String? eventName; - final String vendorId; - final String businessId; - final EnumValue orderType; - final String? location; - final EnumValue status; - final Timestamp? date; - final Timestamp? startDate; - final Timestamp? endDate; - final EnumValue? duration; - final int? lunchBreak; - final double? total; - final AnyValue? assignedStaff; - final AnyValue? shifts; - final int? requested; - final String? hub; - final AnyValue? recurringDays; - final AnyValue? permanentDays; - final String? poReference; - final AnyValue? detectedConflicts; - final String? notes; - final Timestamp? createdAt; - final GetRapidOrdersOrdersBusiness business; - final GetRapidOrdersOrdersVendor vendor; - GetRapidOrdersOrders.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderType = orderTypeDeserializer(json['orderType']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - status = orderStatusDeserializer(json['status']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startDate = json['startDate'] == null ? null : Timestamp.fromJson(json['startDate']), - endDate = json['endDate'] == null ? null : Timestamp.fromJson(json['endDate']), - duration = json['duration'] == null ? null : orderDurationDeserializer(json['duration']), - lunchBreak = json['lunchBreak'] == null ? null : nativeFromJson(json['lunchBreak']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - assignedStaff = json['assignedStaff'] == null ? null : AnyValue.fromJson(json['assignedStaff']), - shifts = json['shifts'] == null ? null : AnyValue.fromJson(json['shifts']), - requested = json['requested'] == null ? null : nativeFromJson(json['requested']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - recurringDays = json['recurringDays'] == null ? null : AnyValue.fromJson(json['recurringDays']), - permanentDays = json['permanentDays'] == null ? null : AnyValue.fromJson(json['permanentDays']), - poReference = json['poReference'] == null ? null : nativeFromJson(json['poReference']), - detectedConflicts = json['detectedConflicts'] == null ? null : AnyValue.fromJson(json['detectedConflicts']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - business = GetRapidOrdersOrdersBusiness.fromJson(json['business']), - vendor = GetRapidOrdersOrdersVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRapidOrdersOrders otherTyped = other as GetRapidOrdersOrders; - return id == otherTyped.id && - eventName == otherTyped.eventName && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderType == otherTyped.orderType && - location == otherTyped.location && - status == otherTyped.status && - date == otherTyped.date && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate && - duration == otherTyped.duration && - lunchBreak == otherTyped.lunchBreak && - total == otherTyped.total && - assignedStaff == otherTyped.assignedStaff && - shifts == otherTyped.shifts && - requested == otherTyped.requested && - hub == otherTyped.hub && - recurringDays == otherTyped.recurringDays && - permanentDays == otherTyped.permanentDays && - poReference == otherTyped.poReference && - detectedConflicts == otherTyped.detectedConflicts && - notes == otherTyped.notes && - createdAt == otherTyped.createdAt && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, vendorId.hashCode, businessId.hashCode, orderType.hashCode, location.hashCode, status.hashCode, date.hashCode, startDate.hashCode, endDate.hashCode, duration.hashCode, lunchBreak.hashCode, total.hashCode, assignedStaff.hashCode, shifts.hashCode, requested.hashCode, hub.hashCode, recurringDays.hashCode, permanentDays.hashCode, poReference.hashCode, detectedConflicts.hashCode, notes.hashCode, createdAt.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderType'] = - orderTypeSerializer(orderType) - ; - if (location != null) { - json['location'] = nativeToJson(location); - } - json['status'] = - orderStatusSerializer(status) - ; - if (date != null) { - json['date'] = date!.toJson(); - } - if (startDate != null) { - json['startDate'] = startDate!.toJson(); - } - if (endDate != null) { - json['endDate'] = endDate!.toJson(); - } - if (duration != null) { - json['duration'] = - orderDurationSerializer(duration!) - ; - } - if (lunchBreak != null) { - json['lunchBreak'] = nativeToJson(lunchBreak); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (assignedStaff != null) { - json['assignedStaff'] = assignedStaff!.toJson(); - } - if (shifts != null) { - json['shifts'] = shifts!.toJson(); - } - if (requested != null) { - json['requested'] = nativeToJson(requested); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (recurringDays != null) { - json['recurringDays'] = recurringDays!.toJson(); - } - if (permanentDays != null) { - json['permanentDays'] = permanentDays!.toJson(); - } - if (poReference != null) { - json['poReference'] = nativeToJson(poReference); - } - if (detectedConflicts != null) { - json['detectedConflicts'] = detectedConflicts!.toJson(); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetRapidOrdersOrders({ - required this.id, - this.eventName, - required this.vendorId, - required this.businessId, - required this.orderType, - this.location, - required this.status, - this.date, - this.startDate, - this.endDate, - this.duration, - this.lunchBreak, - this.total, - this.assignedStaff, - this.shifts, - this.requested, - this.hub, - this.recurringDays, - this.permanentDays, - this.poReference, - this.detectedConflicts, - this.notes, - this.createdAt, - required this.business, - required this.vendor, - }); -} - -@immutable -class GetRapidOrdersOrdersBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - GetRapidOrdersOrdersBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRapidOrdersOrdersBusiness otherTyped = other as GetRapidOrdersOrdersBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - GetRapidOrdersOrdersBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class GetRapidOrdersOrdersVendor { - final String id; - final String companyName; - GetRapidOrdersOrdersVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRapidOrdersOrdersVendor otherTyped = other as GetRapidOrdersOrdersVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetRapidOrdersOrdersVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetRapidOrdersData { - final List orders; - GetRapidOrdersData.fromJson(dynamic json): - - orders = (json['orders'] as List) - .map((e) => GetRapidOrdersOrders.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRapidOrdersData otherTyped = other as GetRapidOrdersData; - return orders == otherTyped.orders; - - } - @override - int get hashCode => orders.hashCode; - - - Map toJson() { - Map json = {}; - json['orders'] = orders.map((e) => e.toJson()).toList(); - return json; - } - - GetRapidOrdersData({ - required this.orders, - }); -} - -@immutable -class GetRapidOrdersVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetRapidOrdersVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRapidOrdersVariables otherTyped = other as GetRapidOrdersVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - GetRapidOrdersVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_recent_payment_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_recent_payment_by_id.dart deleted file mode 100644 index 11ef4fd3..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_recent_payment_by_id.dart +++ /dev/null @@ -1,582 +0,0 @@ -part of 'generated.dart'; - -class GetRecentPaymentByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetRecentPaymentByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetRecentPaymentByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetRecentPaymentByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetRecentPaymentByIdVariables vars= GetRecentPaymentByIdVariables(id: id,); - return _dataConnect.query("getRecentPaymentById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetRecentPaymentByIdRecentPayment { - final String id; - final String? workedTime; - final EnumValue? status; - final String staffId; - final String applicationId; - final String invoiceId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final GetRecentPaymentByIdRecentPaymentApplication application; - final GetRecentPaymentByIdRecentPaymentInvoice invoice; - GetRecentPaymentByIdRecentPayment.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - workedTime = json['workedTime'] == null ? null : nativeFromJson(json['workedTime']), - status = json['status'] == null ? null : recentPaymentStatusDeserializer(json['status']), - staffId = nativeFromJson(json['staffId']), - applicationId = nativeFromJson(json['applicationId']), - invoiceId = nativeFromJson(json['invoiceId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - application = GetRecentPaymentByIdRecentPaymentApplication.fromJson(json['application']), - invoice = GetRecentPaymentByIdRecentPaymentInvoice.fromJson(json['invoice']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRecentPaymentByIdRecentPayment otherTyped = other as GetRecentPaymentByIdRecentPayment; - return id == otherTyped.id && - workedTime == otherTyped.workedTime && - status == otherTyped.status && - staffId == otherTyped.staffId && - applicationId == otherTyped.applicationId && - invoiceId == otherTyped.invoiceId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - application == otherTyped.application && - invoice == otherTyped.invoice; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workedTime.hashCode, status.hashCode, staffId.hashCode, applicationId.hashCode, invoiceId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, application.hashCode, invoice.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (workedTime != null) { - json['workedTime'] = nativeToJson(workedTime); - } - if (status != null) { - json['status'] = - recentPaymentStatusSerializer(status!) - ; - } - json['staffId'] = nativeToJson(staffId); - json['applicationId'] = nativeToJson(applicationId); - json['invoiceId'] = nativeToJson(invoiceId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['application'] = application.toJson(); - json['invoice'] = invoice.toJson(); - return json; - } - - GetRecentPaymentByIdRecentPayment({ - required this.id, - this.workedTime, - this.status, - required this.staffId, - required this.applicationId, - required this.invoiceId, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.application, - required this.invoice, - }); -} - -@immutable -class GetRecentPaymentByIdRecentPaymentApplication { - final Timestamp? checkInTime; - final Timestamp? checkOutTime; - final GetRecentPaymentByIdRecentPaymentApplicationShiftRole shiftRole; - GetRecentPaymentByIdRecentPaymentApplication.fromJson(dynamic json): - - checkInTime = json['checkInTime'] == null ? null : Timestamp.fromJson(json['checkInTime']), - checkOutTime = json['checkOutTime'] == null ? null : Timestamp.fromJson(json['checkOutTime']), - shiftRole = GetRecentPaymentByIdRecentPaymentApplicationShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRecentPaymentByIdRecentPaymentApplication otherTyped = other as GetRecentPaymentByIdRecentPaymentApplication; - return checkInTime == otherTyped.checkInTime && - checkOutTime == otherTyped.checkOutTime && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([checkInTime.hashCode, checkOutTime.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - if (checkInTime != null) { - json['checkInTime'] = checkInTime!.toJson(); - } - if (checkOutTime != null) { - json['checkOutTime'] = checkOutTime!.toJson(); - } - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - GetRecentPaymentByIdRecentPaymentApplication({ - this.checkInTime, - this.checkOutTime, - required this.shiftRole, - }); -} - -@immutable -class GetRecentPaymentByIdRecentPaymentApplicationShiftRole { - final double? hours; - final double? totalValue; - final Timestamp? startTime; - final Timestamp? endTime; - final GetRecentPaymentByIdRecentPaymentApplicationShiftRoleRole role; - final GetRecentPaymentByIdRecentPaymentApplicationShiftRoleShift shift; - GetRecentPaymentByIdRecentPaymentApplicationShiftRole.fromJson(dynamic json): - - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - role = GetRecentPaymentByIdRecentPaymentApplicationShiftRoleRole.fromJson(json['role']), - shift = GetRecentPaymentByIdRecentPaymentApplicationShiftRoleShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRecentPaymentByIdRecentPaymentApplicationShiftRole otherTyped = other as GetRecentPaymentByIdRecentPaymentApplicationShiftRole; - return hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([hours.hashCode, totalValue.hashCode, startTime.hashCode, endTime.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - GetRecentPaymentByIdRecentPaymentApplicationShiftRole({ - this.hours, - this.totalValue, - this.startTime, - this.endTime, - required this.role, - required this.shift, - }); -} - -@immutable -class GetRecentPaymentByIdRecentPaymentApplicationShiftRoleRole { - final String name; - final double costPerHour; - GetRecentPaymentByIdRecentPaymentApplicationShiftRoleRole.fromJson(dynamic json): - - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRecentPaymentByIdRecentPaymentApplicationShiftRoleRole otherTyped = other as GetRecentPaymentByIdRecentPaymentApplicationShiftRoleRole; - return name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - GetRecentPaymentByIdRecentPaymentApplicationShiftRoleRole({ - required this.name, - required this.costPerHour, - }); -} - -@immutable -class GetRecentPaymentByIdRecentPaymentApplicationShiftRoleShift { - final String title; - final Timestamp? date; - final String? location; - final String? locationAddress; - final String? description; - GetRecentPaymentByIdRecentPaymentApplicationShiftRoleShift.fromJson(dynamic json): - - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']), - description = json['description'] == null ? null : nativeFromJson(json['description']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRecentPaymentByIdRecentPaymentApplicationShiftRoleShift otherTyped = other as GetRecentPaymentByIdRecentPaymentApplicationShiftRoleShift; - return title == otherTyped.title && - date == otherTyped.date && - location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - description == otherTyped.description; - - } - @override - int get hashCode => Object.hashAll([title.hashCode, date.hashCode, location.hashCode, locationAddress.hashCode, description.hashCode]); - - - Map toJson() { - Map json = {}; - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - return json; - } - - GetRecentPaymentByIdRecentPaymentApplicationShiftRoleShift({ - required this.title, - this.date, - this.location, - this.locationAddress, - this.description, - }); -} - -@immutable -class GetRecentPaymentByIdRecentPaymentInvoice { - final EnumValue status; - final String invoiceNumber; - final Timestamp issueDate; - final GetRecentPaymentByIdRecentPaymentInvoiceBusiness business; - final GetRecentPaymentByIdRecentPaymentInvoiceVendor vendor; - final GetRecentPaymentByIdRecentPaymentInvoiceOrder order; - GetRecentPaymentByIdRecentPaymentInvoice.fromJson(dynamic json): - - status = invoiceStatusDeserializer(json['status']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - issueDate = Timestamp.fromJson(json['issueDate']), - business = GetRecentPaymentByIdRecentPaymentInvoiceBusiness.fromJson(json['business']), - vendor = GetRecentPaymentByIdRecentPaymentInvoiceVendor.fromJson(json['vendor']), - order = GetRecentPaymentByIdRecentPaymentInvoiceOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRecentPaymentByIdRecentPaymentInvoice otherTyped = other as GetRecentPaymentByIdRecentPaymentInvoice; - return status == otherTyped.status && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - business == otherTyped.business && - vendor == otherTyped.vendor && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([status.hashCode, invoiceNumber.hashCode, issueDate.hashCode, business.hashCode, vendor.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['status'] = - invoiceStatusSerializer(status) - ; - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['issueDate'] = issueDate.toJson(); - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - json['order'] = order.toJson(); - return json; - } - - GetRecentPaymentByIdRecentPaymentInvoice({ - required this.status, - required this.invoiceNumber, - required this.issueDate, - required this.business, - required this.vendor, - required this.order, - }); -} - -@immutable -class GetRecentPaymentByIdRecentPaymentInvoiceBusiness { - final String id; - final String businessName; - GetRecentPaymentByIdRecentPaymentInvoiceBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRecentPaymentByIdRecentPaymentInvoiceBusiness otherTyped = other as GetRecentPaymentByIdRecentPaymentInvoiceBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - GetRecentPaymentByIdRecentPaymentInvoiceBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class GetRecentPaymentByIdRecentPaymentInvoiceVendor { - final String id; - final String companyName; - GetRecentPaymentByIdRecentPaymentInvoiceVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRecentPaymentByIdRecentPaymentInvoiceVendor otherTyped = other as GetRecentPaymentByIdRecentPaymentInvoiceVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetRecentPaymentByIdRecentPaymentInvoiceVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetRecentPaymentByIdRecentPaymentInvoiceOrder { - final String id; - final String? eventName; - GetRecentPaymentByIdRecentPaymentInvoiceOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRecentPaymentByIdRecentPaymentInvoiceOrder otherTyped = other as GetRecentPaymentByIdRecentPaymentInvoiceOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - return json; - } - - GetRecentPaymentByIdRecentPaymentInvoiceOrder({ - required this.id, - this.eventName, - }); -} - -@immutable -class GetRecentPaymentByIdData { - final GetRecentPaymentByIdRecentPayment? recentPayment; - GetRecentPaymentByIdData.fromJson(dynamic json): - - recentPayment = json['recentPayment'] == null ? null : GetRecentPaymentByIdRecentPayment.fromJson(json['recentPayment']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRecentPaymentByIdData otherTyped = other as GetRecentPaymentByIdData; - return recentPayment == otherTyped.recentPayment; - - } - @override - int get hashCode => recentPayment.hashCode; - - - Map toJson() { - Map json = {}; - if (recentPayment != null) { - json['recentPayment'] = recentPayment!.toJson(); - } - return json; - } - - GetRecentPaymentByIdData({ - this.recentPayment, - }); -} - -@immutable -class GetRecentPaymentByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetRecentPaymentByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRecentPaymentByIdVariables otherTyped = other as GetRecentPaymentByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetRecentPaymentByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_role_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_role_by_id.dart deleted file mode 100644 index 8eb99ee3..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_role_by_id.dart +++ /dev/null @@ -1,151 +0,0 @@ -part of 'generated.dart'; - -class GetRoleByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetRoleByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetRoleByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetRoleByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetRoleByIdVariables vars= GetRoleByIdVariables(id: id,); - return _dataConnect.query("getRoleById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetRoleByIdRole { - final String id; - final String name; - final double costPerHour; - final String vendorId; - final String roleCategoryId; - final Timestamp? createdAt; - GetRoleByIdRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']), - vendorId = nativeFromJson(json['vendorId']), - roleCategoryId = nativeFromJson(json['roleCategoryId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRoleByIdRole otherTyped = other as GetRoleByIdRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour && - vendorId == otherTyped.vendorId && - roleCategoryId == otherTyped.roleCategoryId && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode, vendorId.hashCode, roleCategoryId.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - json['vendorId'] = nativeToJson(vendorId); - json['roleCategoryId'] = nativeToJson(roleCategoryId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - GetRoleByIdRole({ - required this.id, - required this.name, - required this.costPerHour, - required this.vendorId, - required this.roleCategoryId, - this.createdAt, - }); -} - -@immutable -class GetRoleByIdData { - final GetRoleByIdRole? role; - GetRoleByIdData.fromJson(dynamic json): - - role = json['role'] == null ? null : GetRoleByIdRole.fromJson(json['role']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRoleByIdData otherTyped = other as GetRoleByIdData; - return role == otherTyped.role; - - } - @override - int get hashCode => role.hashCode; - - - Map toJson() { - Map json = {}; - if (role != null) { - json['role'] = role!.toJson(); - } - return json; - } - - GetRoleByIdData({ - this.role, - }); -} - -@immutable -class GetRoleByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetRoleByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRoleByIdVariables otherTyped = other as GetRoleByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetRoleByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_role_categories_by_category.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_role_categories_by_category.dart deleted file mode 100644 index 98e597f6..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_role_categories_by_category.dart +++ /dev/null @@ -1,138 +0,0 @@ -part of 'generated.dart'; - -class GetRoleCategoriesByCategoryVariablesBuilder { - RoleCategoryType category; - - final FirebaseDataConnect _dataConnect; - GetRoleCategoriesByCategoryVariablesBuilder(this._dataConnect, {required this.category,}); - Deserializer dataDeserializer = (dynamic json) => GetRoleCategoriesByCategoryData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetRoleCategoriesByCategoryVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetRoleCategoriesByCategoryVariables vars= GetRoleCategoriesByCategoryVariables(category: category,); - return _dataConnect.query("getRoleCategoriesByCategory", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetRoleCategoriesByCategoryRoleCategories { - final String id; - final String roleName; - final EnumValue category; - GetRoleCategoriesByCategoryRoleCategories.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - roleName = nativeFromJson(json['roleName']), - category = roleCategoryTypeDeserializer(json['category']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRoleCategoriesByCategoryRoleCategories otherTyped = other as GetRoleCategoriesByCategoryRoleCategories; - return id == otherTyped.id && - roleName == otherTyped.roleName && - category == otherTyped.category; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, roleName.hashCode, category.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['roleName'] = nativeToJson(roleName); - json['category'] = - roleCategoryTypeSerializer(category) - ; - return json; - } - - GetRoleCategoriesByCategoryRoleCategories({ - required this.id, - required this.roleName, - required this.category, - }); -} - -@immutable -class GetRoleCategoriesByCategoryData { - final List roleCategories; - GetRoleCategoriesByCategoryData.fromJson(dynamic json): - - roleCategories = (json['roleCategories'] as List) - .map((e) => GetRoleCategoriesByCategoryRoleCategories.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRoleCategoriesByCategoryData otherTyped = other as GetRoleCategoriesByCategoryData; - return roleCategories == otherTyped.roleCategories; - - } - @override - int get hashCode => roleCategories.hashCode; - - - Map toJson() { - Map json = {}; - json['roleCategories'] = roleCategories.map((e) => e.toJson()).toList(); - return json; - } - - GetRoleCategoriesByCategoryData({ - required this.roleCategories, - }); -} - -@immutable -class GetRoleCategoriesByCategoryVariables { - final RoleCategoryType category; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetRoleCategoriesByCategoryVariables.fromJson(Map json): - - category = RoleCategoryType.values.byName(json['category']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRoleCategoriesByCategoryVariables otherTyped = other as GetRoleCategoriesByCategoryVariables; - return category == otherTyped.category; - - } - @override - int get hashCode => category.hashCode; - - - Map toJson() { - Map json = {}; - json['category'] = - category.name - ; - return json; - } - - GetRoleCategoriesByCategoryVariables({ - required this.category, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_role_category_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_role_category_by_id.dart deleted file mode 100644 index 6b87597d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_role_category_by_id.dart +++ /dev/null @@ -1,150 +0,0 @@ -part of 'generated.dart'; - -class GetRoleCategoryByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetRoleCategoryByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetRoleCategoryByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetRoleCategoryByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetRoleCategoryByIdVariables vars= GetRoleCategoryByIdVariables(id: id,); - return _dataConnect.query("getRoleCategoryById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetRoleCategoryByIdRoleCategory { - final String id; - final String roleName; - final EnumValue category; - final Timestamp? createdAt; - final Timestamp? updatedAt; - GetRoleCategoryByIdRoleCategory.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - roleName = nativeFromJson(json['roleName']), - category = roleCategoryTypeDeserializer(json['category']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRoleCategoryByIdRoleCategory otherTyped = other as GetRoleCategoryByIdRoleCategory; - return id == otherTyped.id && - roleName == otherTyped.roleName && - category == otherTyped.category && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, roleName.hashCode, category.hashCode, createdAt.hashCode, updatedAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['roleName'] = nativeToJson(roleName); - json['category'] = - roleCategoryTypeSerializer(category) - ; - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - return json; - } - - GetRoleCategoryByIdRoleCategory({ - required this.id, - required this.roleName, - required this.category, - this.createdAt, - this.updatedAt, - }); -} - -@immutable -class GetRoleCategoryByIdData { - final GetRoleCategoryByIdRoleCategory? roleCategory; - GetRoleCategoryByIdData.fromJson(dynamic json): - - roleCategory = json['roleCategory'] == null ? null : GetRoleCategoryByIdRoleCategory.fromJson(json['roleCategory']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRoleCategoryByIdData otherTyped = other as GetRoleCategoryByIdData; - return roleCategory == otherTyped.roleCategory; - - } - @override - int get hashCode => roleCategory.hashCode; - - - Map toJson() { - Map json = {}; - if (roleCategory != null) { - json['roleCategory'] = roleCategory!.toJson(); - } - return json; - } - - GetRoleCategoryByIdData({ - this.roleCategory, - }); -} - -@immutable -class GetRoleCategoryByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetRoleCategoryByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetRoleCategoryByIdVariables otherTyped = other as GetRoleCategoryByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetRoleCategoryByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_shift_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_shift_by_id.dart deleted file mode 100644 index 2f56506d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_shift_by_id.dart +++ /dev/null @@ -1,443 +0,0 @@ -part of 'generated.dart'; - -class GetShiftByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetShiftByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetShiftByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetShiftByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetShiftByIdVariables vars= GetShiftByIdVariables(id: id,); - return _dataConnect.query("getShiftById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetShiftByIdShift { - final String id; - final String title; - final String orderId; - final Timestamp? date; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final double? cost; - final String? location; - final String? locationAddress; - final double? latitude; - final double? longitude; - final String? description; - final EnumValue? status; - final int? workersNeeded; - final int? filled; - final Timestamp? filledAt; - final List? managers; - final int? durationDays; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final GetShiftByIdShiftOrder order; - GetShiftByIdShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - orderId = nativeFromJson(json['orderId']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - cost = json['cost'] == null ? null : nativeFromJson(json['cost']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']), - latitude = json['latitude'] == null ? null : nativeFromJson(json['latitude']), - longitude = json['longitude'] == null ? null : nativeFromJson(json['longitude']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']), - workersNeeded = json['workersNeeded'] == null ? null : nativeFromJson(json['workersNeeded']), - filled = json['filled'] == null ? null : nativeFromJson(json['filled']), - filledAt = json['filledAt'] == null ? null : Timestamp.fromJson(json['filledAt']), - managers = json['managers'] == null ? null : (json['managers'] as List) - .map((e) => AnyValue.fromJson(e)) - .toList(), - durationDays = json['durationDays'] == null ? null : nativeFromJson(json['durationDays']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - order = GetShiftByIdShiftOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftByIdShift otherTyped = other as GetShiftByIdShift; - return id == otherTyped.id && - title == otherTyped.title && - orderId == otherTyped.orderId && - date == otherTyped.date && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - cost == otherTyped.cost && - location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - latitude == otherTyped.latitude && - longitude == otherTyped.longitude && - description == otherTyped.description && - status == otherTyped.status && - workersNeeded == otherTyped.workersNeeded && - filled == otherTyped.filled && - filledAt == otherTyped.filledAt && - managers == otherTyped.managers && - durationDays == otherTyped.durationDays && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, orderId.hashCode, date.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, cost.hashCode, location.hashCode, locationAddress.hashCode, latitude.hashCode, longitude.hashCode, description.hashCode, status.hashCode, workersNeeded.hashCode, filled.hashCode, filledAt.hashCode, managers.hashCode, durationDays.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - json['orderId'] = nativeToJson(orderId); - if (date != null) { - json['date'] = date!.toJson(); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (cost != null) { - json['cost'] = nativeToJson(cost); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - if (latitude != null) { - json['latitude'] = nativeToJson(latitude); - } - if (longitude != null) { - json['longitude'] = nativeToJson(longitude); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - if (workersNeeded != null) { - json['workersNeeded'] = nativeToJson(workersNeeded); - } - if (filled != null) { - json['filled'] = nativeToJson(filled); - } - if (filledAt != null) { - json['filledAt'] = filledAt!.toJson(); - } - if (managers != null) { - json['managers'] = managers?.map((e) => e!.toJson()).toList(); - } - if (durationDays != null) { - json['durationDays'] = nativeToJson(durationDays); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['order'] = order.toJson(); - return json; - } - - GetShiftByIdShift({ - required this.id, - required this.title, - required this.orderId, - this.date, - this.startTime, - this.endTime, - this.hours, - this.cost, - this.location, - this.locationAddress, - this.latitude, - this.longitude, - this.description, - this.status, - this.workersNeeded, - this.filled, - this.filledAt, - this.managers, - this.durationDays, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.order, - }); -} - -@immutable -class GetShiftByIdShiftOrder { - final String id; - final String? eventName; - final EnumValue status; - final EnumValue orderType; - final String businessId; - final String vendorId; - final GetShiftByIdShiftOrderBusiness business; - final GetShiftByIdShiftOrderVendor vendor; - GetShiftByIdShiftOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - status = orderStatusDeserializer(json['status']), - orderType = orderTypeDeserializer(json['orderType']), - businessId = nativeFromJson(json['businessId']), - vendorId = nativeFromJson(json['vendorId']), - business = GetShiftByIdShiftOrderBusiness.fromJson(json['business']), - vendor = GetShiftByIdShiftOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftByIdShiftOrder otherTyped = other as GetShiftByIdShiftOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - status == otherTyped.status && - orderType == otherTyped.orderType && - businessId == otherTyped.businessId && - vendorId == otherTyped.vendorId && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, status.hashCode, orderType.hashCode, businessId.hashCode, vendorId.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['status'] = - orderStatusSerializer(status) - ; - json['orderType'] = - orderTypeSerializer(orderType) - ; - json['businessId'] = nativeToJson(businessId); - json['vendorId'] = nativeToJson(vendorId); - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetShiftByIdShiftOrder({ - required this.id, - this.eventName, - required this.status, - required this.orderType, - required this.businessId, - required this.vendorId, - required this.business, - required this.vendor, - }); -} - -@immutable -class GetShiftByIdShiftOrderBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - GetShiftByIdShiftOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftByIdShiftOrderBusiness otherTyped = other as GetShiftByIdShiftOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - GetShiftByIdShiftOrderBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class GetShiftByIdShiftOrderVendor { - final String id; - final String companyName; - GetShiftByIdShiftOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftByIdShiftOrderVendor otherTyped = other as GetShiftByIdShiftOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetShiftByIdShiftOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetShiftByIdData { - final GetShiftByIdShift? shift; - GetShiftByIdData.fromJson(dynamic json): - - shift = json['shift'] == null ? null : GetShiftByIdShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftByIdData otherTyped = other as GetShiftByIdData; - return shift == otherTyped.shift; - - } - @override - int get hashCode => shift.hashCode; - - - Map toJson() { - Map json = {}; - if (shift != null) { - json['shift'] = shift!.toJson(); - } - return json; - } - - GetShiftByIdData({ - this.shift, - }); -} - -@immutable -class GetShiftByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetShiftByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftByIdVariables otherTyped = other as GetShiftByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetShiftByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_shift_role_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_shift_role_by_id.dart deleted file mode 100644 index 007ac06e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_shift_role_by_id.dart +++ /dev/null @@ -1,462 +0,0 @@ -part of 'generated.dart'; - -class GetShiftRoleByIdVariablesBuilder { - String shiftId; - String roleId; - - final FirebaseDataConnect _dataConnect; - GetShiftRoleByIdVariablesBuilder(this._dataConnect, {required this.shiftId,required this.roleId,}); - Deserializer dataDeserializer = (dynamic json) => GetShiftRoleByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetShiftRoleByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetShiftRoleByIdVariables vars= GetShiftRoleByIdVariables(shiftId: shiftId,roleId: roleId,); - return _dataConnect.query("getShiftRoleById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetShiftRoleByIdShiftRole { - final String id; - final String shiftId; - final String roleId; - final int count; - final int? assigned; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final String? department; - final String? uniform; - final EnumValue? breakType; - final double? totalValue; - final Timestamp? createdAt; - final GetShiftRoleByIdShiftRoleRole role; - final GetShiftRoleByIdShiftRoleShift shift; - GetShiftRoleByIdShiftRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - shiftId = nativeFromJson(json['shiftId']), - roleId = nativeFromJson(json['roleId']), - count = nativeFromJson(json['count']), - assigned = json['assigned'] == null ? null : nativeFromJson(json['assigned']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - department = json['department'] == null ? null : nativeFromJson(json['department']), - uniform = json['uniform'] == null ? null : nativeFromJson(json['uniform']), - breakType = json['breakType'] == null ? null : breakDurationDeserializer(json['breakType']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - role = GetShiftRoleByIdShiftRoleRole.fromJson(json['role']), - shift = GetShiftRoleByIdShiftRoleShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftRoleByIdShiftRole otherTyped = other as GetShiftRoleByIdShiftRole; - return id == otherTyped.id && - shiftId == otherTyped.shiftId && - roleId == otherTyped.roleId && - count == otherTyped.count && - assigned == otherTyped.assigned && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - department == otherTyped.department && - uniform == otherTyped.uniform && - breakType == otherTyped.breakType && - totalValue == otherTyped.totalValue && - createdAt == otherTyped.createdAt && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftId.hashCode, roleId.hashCode, count.hashCode, assigned.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, department.hashCode, uniform.hashCode, breakType.hashCode, totalValue.hashCode, createdAt.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['shiftId'] = nativeToJson(shiftId); - json['roleId'] = nativeToJson(roleId); - json['count'] = nativeToJson(count); - if (assigned != null) { - json['assigned'] = nativeToJson(assigned); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (department != null) { - json['department'] = nativeToJson(department); - } - if (uniform != null) { - json['uniform'] = nativeToJson(uniform); - } - if (breakType != null) { - json['breakType'] = - breakDurationSerializer(breakType!) - ; - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - GetShiftRoleByIdShiftRole({ - required this.id, - required this.shiftId, - required this.roleId, - required this.count, - this.assigned, - this.startTime, - this.endTime, - this.hours, - this.department, - this.uniform, - this.breakType, - this.totalValue, - this.createdAt, - required this.role, - required this.shift, - }); -} - -@immutable -class GetShiftRoleByIdShiftRoleRole { - final String id; - final String name; - final double costPerHour; - GetShiftRoleByIdShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftRoleByIdShiftRoleRole otherTyped = other as GetShiftRoleByIdShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - GetShiftRoleByIdShiftRoleRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class GetShiftRoleByIdShiftRoleShift { - final String? location; - final String? locationAddress; - final String? description; - final String orderId; - final GetShiftRoleByIdShiftRoleShiftOrder order; - GetShiftRoleByIdShiftRoleShift.fromJson(dynamic json): - - location = json['location'] == null ? null : nativeFromJson(json['location']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - orderId = nativeFromJson(json['orderId']), - order = GetShiftRoleByIdShiftRoleShiftOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftRoleByIdShiftRoleShift otherTyped = other as GetShiftRoleByIdShiftRoleShift; - return location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - description == otherTyped.description && - orderId == otherTyped.orderId && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([location.hashCode, locationAddress.hashCode, description.hashCode, orderId.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - if (location != null) { - json['location'] = nativeToJson(location); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - json['orderId'] = nativeToJson(orderId); - json['order'] = order.toJson(); - return json; - } - - GetShiftRoleByIdShiftRoleShift({ - this.location, - this.locationAddress, - this.description, - required this.orderId, - required this.order, - }); -} - -@immutable -class GetShiftRoleByIdShiftRoleShiftOrder { - final AnyValue? recurringDays; - final AnyValue? permanentDays; - final String? notes; - final GetShiftRoleByIdShiftRoleShiftOrderBusiness business; - final GetShiftRoleByIdShiftRoleShiftOrderVendor vendor; - GetShiftRoleByIdShiftRoleShiftOrder.fromJson(dynamic json): - - recurringDays = json['recurringDays'] == null ? null : AnyValue.fromJson(json['recurringDays']), - permanentDays = json['permanentDays'] == null ? null : AnyValue.fromJson(json['permanentDays']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - business = GetShiftRoleByIdShiftRoleShiftOrderBusiness.fromJson(json['business']), - vendor = GetShiftRoleByIdShiftRoleShiftOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftRoleByIdShiftRoleShiftOrder otherTyped = other as GetShiftRoleByIdShiftRoleShiftOrder; - return recurringDays == otherTyped.recurringDays && - permanentDays == otherTyped.permanentDays && - notes == otherTyped.notes && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([recurringDays.hashCode, permanentDays.hashCode, notes.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - if (recurringDays != null) { - json['recurringDays'] = recurringDays!.toJson(); - } - if (permanentDays != null) { - json['permanentDays'] = permanentDays!.toJson(); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetShiftRoleByIdShiftRoleShiftOrder({ - this.recurringDays, - this.permanentDays, - this.notes, - required this.business, - required this.vendor, - }); -} - -@immutable -class GetShiftRoleByIdShiftRoleShiftOrderBusiness { - final String id; - final String businessName; - GetShiftRoleByIdShiftRoleShiftOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftRoleByIdShiftRoleShiftOrderBusiness otherTyped = other as GetShiftRoleByIdShiftRoleShiftOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - GetShiftRoleByIdShiftRoleShiftOrderBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class GetShiftRoleByIdShiftRoleShiftOrderVendor { - final String id; - final String companyName; - GetShiftRoleByIdShiftRoleShiftOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftRoleByIdShiftRoleShiftOrderVendor otherTyped = other as GetShiftRoleByIdShiftRoleShiftOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetShiftRoleByIdShiftRoleShiftOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetShiftRoleByIdData { - final GetShiftRoleByIdShiftRole? shiftRole; - GetShiftRoleByIdData.fromJson(dynamic json): - - shiftRole = json['shiftRole'] == null ? null : GetShiftRoleByIdShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftRoleByIdData otherTyped = other as GetShiftRoleByIdData; - return shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => shiftRole.hashCode; - - - Map toJson() { - Map json = {}; - if (shiftRole != null) { - json['shiftRole'] = shiftRole!.toJson(); - } - return json; - } - - GetShiftRoleByIdData({ - this.shiftRole, - }); -} - -@immutable -class GetShiftRoleByIdVariables { - final String shiftId; - final String roleId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetShiftRoleByIdVariables.fromJson(Map json): - - shiftId = nativeFromJson(json['shiftId']), - roleId = nativeFromJson(json['roleId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftRoleByIdVariables otherTyped = other as GetShiftRoleByIdVariables; - return shiftId == otherTyped.shiftId && - roleId == otherTyped.roleId; - - } - @override - int get hashCode => Object.hashAll([shiftId.hashCode, roleId.hashCode]); - - - Map toJson() { - Map json = {}; - json['shiftId'] = nativeToJson(shiftId); - json['roleId'] = nativeToJson(roleId); - return json; - } - - GetShiftRoleByIdVariables({ - required this.shiftId, - required this.roleId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_shifts_by_business_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_shifts_by_business_id.dart deleted file mode 100644 index e9e57292..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_shifts_by_business_id.dart +++ /dev/null @@ -1,506 +0,0 @@ -part of 'generated.dart'; - -class GetShiftsByBusinessIdVariablesBuilder { - String businessId; - Optional _dateFrom = Optional.optional((json) => json['dateFrom'] = Timestamp.fromJson(json['dateFrom']), defaultSerializer); - Optional _dateTo = Optional.optional((json) => json['dateTo'] = Timestamp.fromJson(json['dateTo']), defaultSerializer); - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; GetShiftsByBusinessIdVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - GetShiftsByBusinessIdVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - GetShiftsByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetShiftsByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - GetShiftsByBusinessIdVariablesBuilder(this._dataConnect, {required this.businessId,}); - Deserializer dataDeserializer = (dynamic json) => GetShiftsByBusinessIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetShiftsByBusinessIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetShiftsByBusinessIdVariables vars= GetShiftsByBusinessIdVariables(businessId: businessId,dateFrom: _dateFrom,dateTo: _dateTo,offset: _offset,limit: _limit,); - return _dataConnect.query("getShiftsByBusinessId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetShiftsByBusinessIdShifts { - final String id; - final String title; - final String orderId; - final Timestamp? date; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final double? cost; - final String? location; - final String? locationAddress; - final double? latitude; - final double? longitude; - final String? description; - final EnumValue? status; - final int? workersNeeded; - final int? filled; - final Timestamp? filledAt; - final List? managers; - final int? durationDays; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final GetShiftsByBusinessIdShiftsOrder order; - GetShiftsByBusinessIdShifts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - orderId = nativeFromJson(json['orderId']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - cost = json['cost'] == null ? null : nativeFromJson(json['cost']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']), - latitude = json['latitude'] == null ? null : nativeFromJson(json['latitude']), - longitude = json['longitude'] == null ? null : nativeFromJson(json['longitude']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']), - workersNeeded = json['workersNeeded'] == null ? null : nativeFromJson(json['workersNeeded']), - filled = json['filled'] == null ? null : nativeFromJson(json['filled']), - filledAt = json['filledAt'] == null ? null : Timestamp.fromJson(json['filledAt']), - managers = json['managers'] == null ? null : (json['managers'] as List) - .map((e) => AnyValue.fromJson(e)) - .toList(), - durationDays = json['durationDays'] == null ? null : nativeFromJson(json['durationDays']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - order = GetShiftsByBusinessIdShiftsOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftsByBusinessIdShifts otherTyped = other as GetShiftsByBusinessIdShifts; - return id == otherTyped.id && - title == otherTyped.title && - orderId == otherTyped.orderId && - date == otherTyped.date && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - cost == otherTyped.cost && - location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - latitude == otherTyped.latitude && - longitude == otherTyped.longitude && - description == otherTyped.description && - status == otherTyped.status && - workersNeeded == otherTyped.workersNeeded && - filled == otherTyped.filled && - filledAt == otherTyped.filledAt && - managers == otherTyped.managers && - durationDays == otherTyped.durationDays && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, orderId.hashCode, date.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, cost.hashCode, location.hashCode, locationAddress.hashCode, latitude.hashCode, longitude.hashCode, description.hashCode, status.hashCode, workersNeeded.hashCode, filled.hashCode, filledAt.hashCode, managers.hashCode, durationDays.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - json['orderId'] = nativeToJson(orderId); - if (date != null) { - json['date'] = date!.toJson(); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (cost != null) { - json['cost'] = nativeToJson(cost); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - if (latitude != null) { - json['latitude'] = nativeToJson(latitude); - } - if (longitude != null) { - json['longitude'] = nativeToJson(longitude); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - if (workersNeeded != null) { - json['workersNeeded'] = nativeToJson(workersNeeded); - } - if (filled != null) { - json['filled'] = nativeToJson(filled); - } - if (filledAt != null) { - json['filledAt'] = filledAt!.toJson(); - } - if (managers != null) { - json['managers'] = managers?.map((e) => e!.toJson()).toList(); - } - if (durationDays != null) { - json['durationDays'] = nativeToJson(durationDays); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['order'] = order.toJson(); - return json; - } - - GetShiftsByBusinessIdShifts({ - required this.id, - required this.title, - required this.orderId, - this.date, - this.startTime, - this.endTime, - this.hours, - this.cost, - this.location, - this.locationAddress, - this.latitude, - this.longitude, - this.description, - this.status, - this.workersNeeded, - this.filled, - this.filledAt, - this.managers, - this.durationDays, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.order, - }); -} - -@immutable -class GetShiftsByBusinessIdShiftsOrder { - final String id; - final String? eventName; - final EnumValue status; - final EnumValue orderType; - final String businessId; - final String vendorId; - final GetShiftsByBusinessIdShiftsOrderBusiness business; - final GetShiftsByBusinessIdShiftsOrderVendor vendor; - GetShiftsByBusinessIdShiftsOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - status = orderStatusDeserializer(json['status']), - orderType = orderTypeDeserializer(json['orderType']), - businessId = nativeFromJson(json['businessId']), - vendorId = nativeFromJson(json['vendorId']), - business = GetShiftsByBusinessIdShiftsOrderBusiness.fromJson(json['business']), - vendor = GetShiftsByBusinessIdShiftsOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftsByBusinessIdShiftsOrder otherTyped = other as GetShiftsByBusinessIdShiftsOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - status == otherTyped.status && - orderType == otherTyped.orderType && - businessId == otherTyped.businessId && - vendorId == otherTyped.vendorId && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, status.hashCode, orderType.hashCode, businessId.hashCode, vendorId.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['status'] = - orderStatusSerializer(status) - ; - json['orderType'] = - orderTypeSerializer(orderType) - ; - json['businessId'] = nativeToJson(businessId); - json['vendorId'] = nativeToJson(vendorId); - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetShiftsByBusinessIdShiftsOrder({ - required this.id, - this.eventName, - required this.status, - required this.orderType, - required this.businessId, - required this.vendorId, - required this.business, - required this.vendor, - }); -} - -@immutable -class GetShiftsByBusinessIdShiftsOrderBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - GetShiftsByBusinessIdShiftsOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftsByBusinessIdShiftsOrderBusiness otherTyped = other as GetShiftsByBusinessIdShiftsOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - GetShiftsByBusinessIdShiftsOrderBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class GetShiftsByBusinessIdShiftsOrderVendor { - final String id; - final String companyName; - GetShiftsByBusinessIdShiftsOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftsByBusinessIdShiftsOrderVendor otherTyped = other as GetShiftsByBusinessIdShiftsOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetShiftsByBusinessIdShiftsOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetShiftsByBusinessIdData { - final List shifts; - GetShiftsByBusinessIdData.fromJson(dynamic json): - - shifts = (json['shifts'] as List) - .map((e) => GetShiftsByBusinessIdShifts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftsByBusinessIdData otherTyped = other as GetShiftsByBusinessIdData; - return shifts == otherTyped.shifts; - - } - @override - int get hashCode => shifts.hashCode; - - - Map toJson() { - Map json = {}; - json['shifts'] = shifts.map((e) => e.toJson()).toList(); - return json; - } - - GetShiftsByBusinessIdData({ - required this.shifts, - }); -} - -@immutable -class GetShiftsByBusinessIdVariables { - final String businessId; - late final OptionaldateFrom; - late final OptionaldateTo; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetShiftsByBusinessIdVariables.fromJson(Map json): - - businessId = nativeFromJson(json['businessId']) { - - - - dateFrom = Optional.optional((json) => json['dateFrom'] = Timestamp.fromJson(json['dateFrom']), defaultSerializer); - dateFrom.value = json['dateFrom'] == null ? null : Timestamp.fromJson(json['dateFrom']); - - - dateTo = Optional.optional((json) => json['dateTo'] = Timestamp.fromJson(json['dateTo']), defaultSerializer); - dateTo.value = json['dateTo'] == null ? null : Timestamp.fromJson(json['dateTo']); - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftsByBusinessIdVariables otherTyped = other as GetShiftsByBusinessIdVariables; - return businessId == otherTyped.businessId && - dateFrom == otherTyped.dateFrom && - dateTo == otherTyped.dateTo && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([businessId.hashCode, dateFrom.hashCode, dateTo.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessId'] = nativeToJson(businessId); - if(dateFrom.state == OptionalState.set) { - json['dateFrom'] = dateFrom.toJson(); - } - if(dateTo.state == OptionalState.set) { - json['dateTo'] = dateTo.toJson(); - } - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - GetShiftsByBusinessIdVariables({ - required this.businessId, - required this.dateFrom, - required this.dateTo, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_shifts_by_vendor_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_shifts_by_vendor_id.dart deleted file mode 100644 index 259da17c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_shifts_by_vendor_id.dart +++ /dev/null @@ -1,506 +0,0 @@ -part of 'generated.dart'; - -class GetShiftsByVendorIdVariablesBuilder { - String vendorId; - Optional _dateFrom = Optional.optional((json) => json['dateFrom'] = Timestamp.fromJson(json['dateFrom']), defaultSerializer); - Optional _dateTo = Optional.optional((json) => json['dateTo'] = Timestamp.fromJson(json['dateTo']), defaultSerializer); - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; GetShiftsByVendorIdVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - GetShiftsByVendorIdVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - GetShiftsByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetShiftsByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - GetShiftsByVendorIdVariablesBuilder(this._dataConnect, {required this.vendorId,}); - Deserializer dataDeserializer = (dynamic json) => GetShiftsByVendorIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetShiftsByVendorIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetShiftsByVendorIdVariables vars= GetShiftsByVendorIdVariables(vendorId: vendorId,dateFrom: _dateFrom,dateTo: _dateTo,offset: _offset,limit: _limit,); - return _dataConnect.query("getShiftsByVendorId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetShiftsByVendorIdShifts { - final String id; - final String title; - final String orderId; - final Timestamp? date; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final double? cost; - final String? location; - final String? locationAddress; - final double? latitude; - final double? longitude; - final String? description; - final EnumValue? status; - final int? workersNeeded; - final int? filled; - final Timestamp? filledAt; - final List? managers; - final int? durationDays; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final GetShiftsByVendorIdShiftsOrder order; - GetShiftsByVendorIdShifts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - orderId = nativeFromJson(json['orderId']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - cost = json['cost'] == null ? null : nativeFromJson(json['cost']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']), - latitude = json['latitude'] == null ? null : nativeFromJson(json['latitude']), - longitude = json['longitude'] == null ? null : nativeFromJson(json['longitude']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']), - workersNeeded = json['workersNeeded'] == null ? null : nativeFromJson(json['workersNeeded']), - filled = json['filled'] == null ? null : nativeFromJson(json['filled']), - filledAt = json['filledAt'] == null ? null : Timestamp.fromJson(json['filledAt']), - managers = json['managers'] == null ? null : (json['managers'] as List) - .map((e) => AnyValue.fromJson(e)) - .toList(), - durationDays = json['durationDays'] == null ? null : nativeFromJson(json['durationDays']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - order = GetShiftsByVendorIdShiftsOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftsByVendorIdShifts otherTyped = other as GetShiftsByVendorIdShifts; - return id == otherTyped.id && - title == otherTyped.title && - orderId == otherTyped.orderId && - date == otherTyped.date && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - cost == otherTyped.cost && - location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - latitude == otherTyped.latitude && - longitude == otherTyped.longitude && - description == otherTyped.description && - status == otherTyped.status && - workersNeeded == otherTyped.workersNeeded && - filled == otherTyped.filled && - filledAt == otherTyped.filledAt && - managers == otherTyped.managers && - durationDays == otherTyped.durationDays && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, orderId.hashCode, date.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, cost.hashCode, location.hashCode, locationAddress.hashCode, latitude.hashCode, longitude.hashCode, description.hashCode, status.hashCode, workersNeeded.hashCode, filled.hashCode, filledAt.hashCode, managers.hashCode, durationDays.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - json['orderId'] = nativeToJson(orderId); - if (date != null) { - json['date'] = date!.toJson(); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (cost != null) { - json['cost'] = nativeToJson(cost); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - if (latitude != null) { - json['latitude'] = nativeToJson(latitude); - } - if (longitude != null) { - json['longitude'] = nativeToJson(longitude); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - if (workersNeeded != null) { - json['workersNeeded'] = nativeToJson(workersNeeded); - } - if (filled != null) { - json['filled'] = nativeToJson(filled); - } - if (filledAt != null) { - json['filledAt'] = filledAt!.toJson(); - } - if (managers != null) { - json['managers'] = managers?.map((e) => e!.toJson()).toList(); - } - if (durationDays != null) { - json['durationDays'] = nativeToJson(durationDays); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['order'] = order.toJson(); - return json; - } - - GetShiftsByVendorIdShifts({ - required this.id, - required this.title, - required this.orderId, - this.date, - this.startTime, - this.endTime, - this.hours, - this.cost, - this.location, - this.locationAddress, - this.latitude, - this.longitude, - this.description, - this.status, - this.workersNeeded, - this.filled, - this.filledAt, - this.managers, - this.durationDays, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.order, - }); -} - -@immutable -class GetShiftsByVendorIdShiftsOrder { - final String id; - final String? eventName; - final EnumValue status; - final EnumValue orderType; - final String businessId; - final String vendorId; - final GetShiftsByVendorIdShiftsOrderBusiness business; - final GetShiftsByVendorIdShiftsOrderVendor vendor; - GetShiftsByVendorIdShiftsOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - status = orderStatusDeserializer(json['status']), - orderType = orderTypeDeserializer(json['orderType']), - businessId = nativeFromJson(json['businessId']), - vendorId = nativeFromJson(json['vendorId']), - business = GetShiftsByVendorIdShiftsOrderBusiness.fromJson(json['business']), - vendor = GetShiftsByVendorIdShiftsOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftsByVendorIdShiftsOrder otherTyped = other as GetShiftsByVendorIdShiftsOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - status == otherTyped.status && - orderType == otherTyped.orderType && - businessId == otherTyped.businessId && - vendorId == otherTyped.vendorId && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, status.hashCode, orderType.hashCode, businessId.hashCode, vendorId.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['status'] = - orderStatusSerializer(status) - ; - json['orderType'] = - orderTypeSerializer(orderType) - ; - json['businessId'] = nativeToJson(businessId); - json['vendorId'] = nativeToJson(vendorId); - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetShiftsByVendorIdShiftsOrder({ - required this.id, - this.eventName, - required this.status, - required this.orderType, - required this.businessId, - required this.vendorId, - required this.business, - required this.vendor, - }); -} - -@immutable -class GetShiftsByVendorIdShiftsOrderBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - GetShiftsByVendorIdShiftsOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftsByVendorIdShiftsOrderBusiness otherTyped = other as GetShiftsByVendorIdShiftsOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - GetShiftsByVendorIdShiftsOrderBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class GetShiftsByVendorIdShiftsOrderVendor { - final String id; - final String companyName; - GetShiftsByVendorIdShiftsOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftsByVendorIdShiftsOrderVendor otherTyped = other as GetShiftsByVendorIdShiftsOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetShiftsByVendorIdShiftsOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetShiftsByVendorIdData { - final List shifts; - GetShiftsByVendorIdData.fromJson(dynamic json): - - shifts = (json['shifts'] as List) - .map((e) => GetShiftsByVendorIdShifts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftsByVendorIdData otherTyped = other as GetShiftsByVendorIdData; - return shifts == otherTyped.shifts; - - } - @override - int get hashCode => shifts.hashCode; - - - Map toJson() { - Map json = {}; - json['shifts'] = shifts.map((e) => e.toJson()).toList(); - return json; - } - - GetShiftsByVendorIdData({ - required this.shifts, - }); -} - -@immutable -class GetShiftsByVendorIdVariables { - final String vendorId; - late final OptionaldateFrom; - late final OptionaldateTo; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetShiftsByVendorIdVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']) { - - - - dateFrom = Optional.optional((json) => json['dateFrom'] = Timestamp.fromJson(json['dateFrom']), defaultSerializer); - dateFrom.value = json['dateFrom'] == null ? null : Timestamp.fromJson(json['dateFrom']); - - - dateTo = Optional.optional((json) => json['dateTo'] = Timestamp.fromJson(json['dateTo']), defaultSerializer); - dateTo.value = json['dateTo'] == null ? null : Timestamp.fromJson(json['dateTo']); - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetShiftsByVendorIdVariables otherTyped = other as GetShiftsByVendorIdVariables; - return vendorId == otherTyped.vendorId && - dateFrom == otherTyped.dateFrom && - dateTo == otherTyped.dateTo && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, dateFrom.hashCode, dateTo.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - if(dateFrom.state == OptionalState.set) { - json['dateFrom'] = dateFrom.toJson(); - } - if(dateTo.state == OptionalState.set) { - json['dateTo'] = dateTo.toJson(); - } - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - GetShiftsByVendorIdVariables({ - required this.vendorId, - required this.dateFrom, - required this.dateTo, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_availability_by_key.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_availability_by_key.dart deleted file mode 100644 index f6f325ba..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_availability_by_key.dart +++ /dev/null @@ -1,238 +0,0 @@ -part of 'generated.dart'; - -class GetStaffAvailabilityByKeyVariablesBuilder { - String staffId; - DayOfWeek day; - AvailabilitySlot slot; - - final FirebaseDataConnect _dataConnect; - GetStaffAvailabilityByKeyVariablesBuilder(this._dataConnect, {required this.staffId,required this.day,required this.slot,}); - Deserializer dataDeserializer = (dynamic json) => GetStaffAvailabilityByKeyData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetStaffAvailabilityByKeyVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetStaffAvailabilityByKeyVariables vars= GetStaffAvailabilityByKeyVariables(staffId: staffId,day: day,slot: slot,); - return _dataConnect.query("getStaffAvailabilityByKey", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetStaffAvailabilityByKeyStaffAvailability { - final String id; - final String staffId; - final EnumValue day; - final EnumValue slot; - final EnumValue status; - final String? notes; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final GetStaffAvailabilityByKeyStaffAvailabilityStaff staff; - GetStaffAvailabilityByKeyStaffAvailability.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - day = dayOfWeekDeserializer(json['day']), - slot = availabilitySlotDeserializer(json['slot']), - status = availabilityStatusDeserializer(json['status']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - staff = GetStaffAvailabilityByKeyStaffAvailabilityStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffAvailabilityByKeyStaffAvailability otherTyped = other as GetStaffAvailabilityByKeyStaffAvailability; - return id == otherTyped.id && - staffId == otherTyped.staffId && - day == otherTyped.day && - slot == otherTyped.slot && - status == otherTyped.status && - notes == otherTyped.notes && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, day.hashCode, slot.hashCode, status.hashCode, notes.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['day'] = - dayOfWeekSerializer(day) - ; - json['slot'] = - availabilitySlotSerializer(slot) - ; - json['status'] = - availabilityStatusSerializer(status) - ; - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['staff'] = staff.toJson(); - return json; - } - - GetStaffAvailabilityByKeyStaffAvailability({ - required this.id, - required this.staffId, - required this.day, - required this.slot, - required this.status, - this.notes, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.staff, - }); -} - -@immutable -class GetStaffAvailabilityByKeyStaffAvailabilityStaff { - final String id; - final String fullName; - GetStaffAvailabilityByKeyStaffAvailabilityStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffAvailabilityByKeyStaffAvailabilityStaff otherTyped = other as GetStaffAvailabilityByKeyStaffAvailabilityStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - GetStaffAvailabilityByKeyStaffAvailabilityStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class GetStaffAvailabilityByKeyData { - final GetStaffAvailabilityByKeyStaffAvailability? staffAvailability; - GetStaffAvailabilityByKeyData.fromJson(dynamic json): - - staffAvailability = json['staffAvailability'] == null ? null : GetStaffAvailabilityByKeyStaffAvailability.fromJson(json['staffAvailability']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffAvailabilityByKeyData otherTyped = other as GetStaffAvailabilityByKeyData; - return staffAvailability == otherTyped.staffAvailability; - - } - @override - int get hashCode => staffAvailability.hashCode; - - - Map toJson() { - Map json = {}; - if (staffAvailability != null) { - json['staffAvailability'] = staffAvailability!.toJson(); - } - return json; - } - - GetStaffAvailabilityByKeyData({ - this.staffAvailability, - }); -} - -@immutable -class GetStaffAvailabilityByKeyVariables { - final String staffId; - final DayOfWeek day; - final AvailabilitySlot slot; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetStaffAvailabilityByKeyVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - day = DayOfWeek.values.byName(json['day']), - slot = AvailabilitySlot.values.byName(json['slot']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffAvailabilityByKeyVariables otherTyped = other as GetStaffAvailabilityByKeyVariables; - return staffId == otherTyped.staffId && - day == otherTyped.day && - slot == otherTyped.slot; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, day.hashCode, slot.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['day'] = - day.name - ; - json['slot'] = - slot.name - ; - return json; - } - - GetStaffAvailabilityByKeyVariables({ - required this.staffId, - required this.day, - required this.slot, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_availability_stats_by_staff_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_availability_stats_by_staff_id.dart deleted file mode 100644 index 4b20637a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_availability_stats_by_staff_id.dart +++ /dev/null @@ -1,243 +0,0 @@ -part of 'generated.dart'; - -class GetStaffAvailabilityStatsByStaffIdVariablesBuilder { - String staffId; - - final FirebaseDataConnect _dataConnect; - GetStaffAvailabilityStatsByStaffIdVariablesBuilder(this._dataConnect, {required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => GetStaffAvailabilityStatsByStaffIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetStaffAvailabilityStatsByStaffIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetStaffAvailabilityStatsByStaffIdVariables vars= GetStaffAvailabilityStatsByStaffIdVariables(staffId: staffId,); - return _dataConnect.query("getStaffAvailabilityStatsByStaffId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetStaffAvailabilityStatsByStaffIdStaffAvailabilityStats { - final String id; - final String staffId; - final int? needWorkIndex; - final int? utilizationPercentage; - final int? predictedAvailabilityScore; - final int? scheduledHoursThisPeriod; - final int? desiredHoursThisPeriod; - final Timestamp? lastShiftDate; - final int? acceptanceRate; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final GetStaffAvailabilityStatsByStaffIdStaffAvailabilityStatsStaff staff; - GetStaffAvailabilityStatsByStaffIdStaffAvailabilityStats.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - needWorkIndex = json['needWorkIndex'] == null ? null : nativeFromJson(json['needWorkIndex']), - utilizationPercentage = json['utilizationPercentage'] == null ? null : nativeFromJson(json['utilizationPercentage']), - predictedAvailabilityScore = json['predictedAvailabilityScore'] == null ? null : nativeFromJson(json['predictedAvailabilityScore']), - scheduledHoursThisPeriod = json['scheduledHoursThisPeriod'] == null ? null : nativeFromJson(json['scheduledHoursThisPeriod']), - desiredHoursThisPeriod = json['desiredHoursThisPeriod'] == null ? null : nativeFromJson(json['desiredHoursThisPeriod']), - lastShiftDate = json['lastShiftDate'] == null ? null : Timestamp.fromJson(json['lastShiftDate']), - acceptanceRate = json['acceptanceRate'] == null ? null : nativeFromJson(json['acceptanceRate']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - staff = GetStaffAvailabilityStatsByStaffIdStaffAvailabilityStatsStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffAvailabilityStatsByStaffIdStaffAvailabilityStats otherTyped = other as GetStaffAvailabilityStatsByStaffIdStaffAvailabilityStats; - return id == otherTyped.id && - staffId == otherTyped.staffId && - needWorkIndex == otherTyped.needWorkIndex && - utilizationPercentage == otherTyped.utilizationPercentage && - predictedAvailabilityScore == otherTyped.predictedAvailabilityScore && - scheduledHoursThisPeriod == otherTyped.scheduledHoursThisPeriod && - desiredHoursThisPeriod == otherTyped.desiredHoursThisPeriod && - lastShiftDate == otherTyped.lastShiftDate && - acceptanceRate == otherTyped.acceptanceRate && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, needWorkIndex.hashCode, utilizationPercentage.hashCode, predictedAvailabilityScore.hashCode, scheduledHoursThisPeriod.hashCode, desiredHoursThisPeriod.hashCode, lastShiftDate.hashCode, acceptanceRate.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - if (needWorkIndex != null) { - json['needWorkIndex'] = nativeToJson(needWorkIndex); - } - if (utilizationPercentage != null) { - json['utilizationPercentage'] = nativeToJson(utilizationPercentage); - } - if (predictedAvailabilityScore != null) { - json['predictedAvailabilityScore'] = nativeToJson(predictedAvailabilityScore); - } - if (scheduledHoursThisPeriod != null) { - json['scheduledHoursThisPeriod'] = nativeToJson(scheduledHoursThisPeriod); - } - if (desiredHoursThisPeriod != null) { - json['desiredHoursThisPeriod'] = nativeToJson(desiredHoursThisPeriod); - } - if (lastShiftDate != null) { - json['lastShiftDate'] = lastShiftDate!.toJson(); - } - if (acceptanceRate != null) { - json['acceptanceRate'] = nativeToJson(acceptanceRate); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['staff'] = staff.toJson(); - return json; - } - - GetStaffAvailabilityStatsByStaffIdStaffAvailabilityStats({ - required this.id, - required this.staffId, - this.needWorkIndex, - this.utilizationPercentage, - this.predictedAvailabilityScore, - this.scheduledHoursThisPeriod, - this.desiredHoursThisPeriod, - this.lastShiftDate, - this.acceptanceRate, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.staff, - }); -} - -@immutable -class GetStaffAvailabilityStatsByStaffIdStaffAvailabilityStatsStaff { - final String id; - final String fullName; - GetStaffAvailabilityStatsByStaffIdStaffAvailabilityStatsStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffAvailabilityStatsByStaffIdStaffAvailabilityStatsStaff otherTyped = other as GetStaffAvailabilityStatsByStaffIdStaffAvailabilityStatsStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - GetStaffAvailabilityStatsByStaffIdStaffAvailabilityStatsStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class GetStaffAvailabilityStatsByStaffIdData { - final GetStaffAvailabilityStatsByStaffIdStaffAvailabilityStats? staffAvailabilityStats; - GetStaffAvailabilityStatsByStaffIdData.fromJson(dynamic json): - - staffAvailabilityStats = json['staffAvailabilityStats'] == null ? null : GetStaffAvailabilityStatsByStaffIdStaffAvailabilityStats.fromJson(json['staffAvailabilityStats']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffAvailabilityStatsByStaffIdData otherTyped = other as GetStaffAvailabilityStatsByStaffIdData; - return staffAvailabilityStats == otherTyped.staffAvailabilityStats; - - } - @override - int get hashCode => staffAvailabilityStats.hashCode; - - - Map toJson() { - Map json = {}; - if (staffAvailabilityStats != null) { - json['staffAvailabilityStats'] = staffAvailabilityStats!.toJson(); - } - return json; - } - - GetStaffAvailabilityStatsByStaffIdData({ - this.staffAvailabilityStats, - }); -} - -@immutable -class GetStaffAvailabilityStatsByStaffIdVariables { - final String staffId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetStaffAvailabilityStatsByStaffIdVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffAvailabilityStatsByStaffIdVariables otherTyped = other as GetStaffAvailabilityStatsByStaffIdVariables; - return staffId == otherTyped.staffId; - - } - @override - int get hashCode => staffId.hashCode; - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - return json; - } - - GetStaffAvailabilityStatsByStaffIdVariables({ - required this.staffId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_by_id.dart deleted file mode 100644 index 3820320e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_by_id.dart +++ /dev/null @@ -1,380 +0,0 @@ -part of 'generated.dart'; - -class GetStaffByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetStaffByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetStaffByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetStaffByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetStaffByIdVariables vars= GetStaffByIdVariables(id: id,); - return _dataConnect.query("getStaffById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetStaffByIdStaff { - final String id; - final String userId; - final String fullName; - final String? role; - final String? level; - final String? phone; - final String? email; - final String? photoUrl; - final int? totalShifts; - final double? averageRating; - final int? onTimeRate; - final int? noShowCount; - final int? cancellationCount; - final int? reliabilityScore; - final int? xp; - final AnyValue? badges; - final bool? isRecommended; - final String? bio; - final AnyValue? industries; - final AnyValue? preferredLocations; - final int? maxDistanceMiles; - final AnyValue? languages; - final AnyValue? itemsAttire; - final String? ownerId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final EnumValue? department; - final String? hubId; - final String? manager; - final EnumValue? english; - final EnumValue? backgroundCheckStatus; - final EnumValue? employmentType; - final String? initial; - final bool? englishRequired; - final String? city; - final String? addres; - GetStaffByIdStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - userId = nativeFromJson(json['userId']), - fullName = nativeFromJson(json['fullName']), - role = json['role'] == null ? null : nativeFromJson(json['role']), - level = json['level'] == null ? null : nativeFromJson(json['level']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - photoUrl = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']), - totalShifts = json['totalShifts'] == null ? null : nativeFromJson(json['totalShifts']), - averageRating = json['averageRating'] == null ? null : nativeFromJson(json['averageRating']), - onTimeRate = json['onTimeRate'] == null ? null : nativeFromJson(json['onTimeRate']), - noShowCount = json['noShowCount'] == null ? null : nativeFromJson(json['noShowCount']), - cancellationCount = json['cancellationCount'] == null ? null : nativeFromJson(json['cancellationCount']), - reliabilityScore = json['reliabilityScore'] == null ? null : nativeFromJson(json['reliabilityScore']), - xp = json['xp'] == null ? null : nativeFromJson(json['xp']), - badges = json['badges'] == null ? null : AnyValue.fromJson(json['badges']), - isRecommended = json['isRecommended'] == null ? null : nativeFromJson(json['isRecommended']), - bio = json['bio'] == null ? null : nativeFromJson(json['bio']), - industries = json['industries'] == null ? null : AnyValue.fromJson(json['industries']), - preferredLocations = json['preferredLocations'] == null ? null : AnyValue.fromJson(json['preferredLocations']), - maxDistanceMiles = json['maxDistanceMiles'] == null ? null : nativeFromJson(json['maxDistanceMiles']), - languages = json['languages'] == null ? null : AnyValue.fromJson(json['languages']), - itemsAttire = json['itemsAttire'] == null ? null : AnyValue.fromJson(json['itemsAttire']), - ownerId = json['ownerId'] == null ? null : nativeFromJson(json['ownerId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - department = json['department'] == null ? null : departmentTypeDeserializer(json['department']), - hubId = json['hubId'] == null ? null : nativeFromJson(json['hubId']), - manager = json['manager'] == null ? null : nativeFromJson(json['manager']), - english = json['english'] == null ? null : englishProficiencyDeserializer(json['english']), - backgroundCheckStatus = json['backgroundCheckStatus'] == null ? null : backgroundCheckStatusDeserializer(json['backgroundCheckStatus']), - employmentType = json['employmentType'] == null ? null : employmentTypeDeserializer(json['employmentType']), - initial = json['initial'] == null ? null : nativeFromJson(json['initial']), - englishRequired = json['englishRequired'] == null ? null : nativeFromJson(json['englishRequired']), - city = json['city'] == null ? null : nativeFromJson(json['city']), - addres = json['addres'] == null ? null : nativeFromJson(json['addres']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffByIdStaff otherTyped = other as GetStaffByIdStaff; - return id == otherTyped.id && - userId == otherTyped.userId && - fullName == otherTyped.fullName && - role == otherTyped.role && - level == otherTyped.level && - phone == otherTyped.phone && - email == otherTyped.email && - photoUrl == otherTyped.photoUrl && - totalShifts == otherTyped.totalShifts && - averageRating == otherTyped.averageRating && - onTimeRate == otherTyped.onTimeRate && - noShowCount == otherTyped.noShowCount && - cancellationCount == otherTyped.cancellationCount && - reliabilityScore == otherTyped.reliabilityScore && - xp == otherTyped.xp && - badges == otherTyped.badges && - isRecommended == otherTyped.isRecommended && - bio == otherTyped.bio && - industries == otherTyped.industries && - preferredLocations == otherTyped.preferredLocations && - maxDistanceMiles == otherTyped.maxDistanceMiles && - languages == otherTyped.languages && - itemsAttire == otherTyped.itemsAttire && - ownerId == otherTyped.ownerId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - department == otherTyped.department && - hubId == otherTyped.hubId && - manager == otherTyped.manager && - english == otherTyped.english && - backgroundCheckStatus == otherTyped.backgroundCheckStatus && - employmentType == otherTyped.employmentType && - initial == otherTyped.initial && - englishRequired == otherTyped.englishRequired && - city == otherTyped.city && - addres == otherTyped.addres; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, userId.hashCode, fullName.hashCode, role.hashCode, level.hashCode, phone.hashCode, email.hashCode, photoUrl.hashCode, totalShifts.hashCode, averageRating.hashCode, onTimeRate.hashCode, noShowCount.hashCode, cancellationCount.hashCode, reliabilityScore.hashCode, xp.hashCode, badges.hashCode, isRecommended.hashCode, bio.hashCode, industries.hashCode, preferredLocations.hashCode, maxDistanceMiles.hashCode, languages.hashCode, itemsAttire.hashCode, ownerId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, department.hashCode, hubId.hashCode, manager.hashCode, english.hashCode, backgroundCheckStatus.hashCode, employmentType.hashCode, initial.hashCode, englishRequired.hashCode, city.hashCode, addres.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['userId'] = nativeToJson(userId); - json['fullName'] = nativeToJson(fullName); - if (role != null) { - json['role'] = nativeToJson(role); - } - if (level != null) { - json['level'] = nativeToJson(level); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - if (photoUrl != null) { - json['photoUrl'] = nativeToJson(photoUrl); - } - if (totalShifts != null) { - json['totalShifts'] = nativeToJson(totalShifts); - } - if (averageRating != null) { - json['averageRating'] = nativeToJson(averageRating); - } - if (onTimeRate != null) { - json['onTimeRate'] = nativeToJson(onTimeRate); - } - if (noShowCount != null) { - json['noShowCount'] = nativeToJson(noShowCount); - } - if (cancellationCount != null) { - json['cancellationCount'] = nativeToJson(cancellationCount); - } - if (reliabilityScore != null) { - json['reliabilityScore'] = nativeToJson(reliabilityScore); - } - if (xp != null) { - json['xp'] = nativeToJson(xp); - } - if (badges != null) { - json['badges'] = badges!.toJson(); - } - if (isRecommended != null) { - json['isRecommended'] = nativeToJson(isRecommended); - } - if (bio != null) { - json['bio'] = nativeToJson(bio); - } - if (industries != null) { - json['industries'] = industries!.toJson(); - } - if (preferredLocations != null) { - json['preferredLocations'] = preferredLocations!.toJson(); - } - if (maxDistanceMiles != null) { - json['maxDistanceMiles'] = nativeToJson(maxDistanceMiles); - } - if (languages != null) { - json['languages'] = languages!.toJson(); - } - if (itemsAttire != null) { - json['itemsAttire'] = itemsAttire!.toJson(); - } - if (ownerId != null) { - json['ownerId'] = nativeToJson(ownerId); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - if (department != null) { - json['department'] = - departmentTypeSerializer(department!) - ; - } - if (hubId != null) { - json['hubId'] = nativeToJson(hubId); - } - if (manager != null) { - json['manager'] = nativeToJson(manager); - } - if (english != null) { - json['english'] = - englishProficiencySerializer(english!) - ; - } - if (backgroundCheckStatus != null) { - json['backgroundCheckStatus'] = - backgroundCheckStatusSerializer(backgroundCheckStatus!) - ; - } - if (employmentType != null) { - json['employmentType'] = - employmentTypeSerializer(employmentType!) - ; - } - if (initial != null) { - json['initial'] = nativeToJson(initial); - } - if (englishRequired != null) { - json['englishRequired'] = nativeToJson(englishRequired); - } - if (city != null) { - json['city'] = nativeToJson(city); - } - if (addres != null) { - json['addres'] = nativeToJson(addres); - } - return json; - } - - GetStaffByIdStaff({ - required this.id, - required this.userId, - required this.fullName, - this.role, - this.level, - this.phone, - this.email, - this.photoUrl, - this.totalShifts, - this.averageRating, - this.onTimeRate, - this.noShowCount, - this.cancellationCount, - this.reliabilityScore, - this.xp, - this.badges, - this.isRecommended, - this.bio, - this.industries, - this.preferredLocations, - this.maxDistanceMiles, - this.languages, - this.itemsAttire, - this.ownerId, - this.createdAt, - this.updatedAt, - this.createdBy, - this.department, - this.hubId, - this.manager, - this.english, - this.backgroundCheckStatus, - this.employmentType, - this.initial, - this.englishRequired, - this.city, - this.addres, - }); -} - -@immutable -class GetStaffByIdData { - final GetStaffByIdStaff? staff; - GetStaffByIdData.fromJson(dynamic json): - - staff = json['staff'] == null ? null : GetStaffByIdStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffByIdData otherTyped = other as GetStaffByIdData; - return staff == otherTyped.staff; - - } - @override - int get hashCode => staff.hashCode; - - - Map toJson() { - Map json = {}; - if (staff != null) { - json['staff'] = staff!.toJson(); - } - return json; - } - - GetStaffByIdData({ - this.staff, - }); -} - -@immutable -class GetStaffByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetStaffByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffByIdVariables otherTyped = other as GetStaffByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetStaffByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_by_user_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_by_user_id.dart deleted file mode 100644 index 293cafe8..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_by_user_id.dart +++ /dev/null @@ -1,373 +0,0 @@ -part of 'generated.dart'; - -class GetStaffByUserIdVariablesBuilder { - String userId; - - final FirebaseDataConnect _dataConnect; - GetStaffByUserIdVariablesBuilder(this._dataConnect, {required this.userId,}); - Deserializer dataDeserializer = (dynamic json) => GetStaffByUserIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetStaffByUserIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetStaffByUserIdVariables vars= GetStaffByUserIdVariables(userId: userId,); - return _dataConnect.query("getStaffByUserId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetStaffByUserIdStaffs { - final String id; - final String userId; - final String fullName; - final String? level; - final String? phone; - final String? email; - final String? photoUrl; - final int? totalShifts; - final double? averageRating; - final int? onTimeRate; - final int? noShowCount; - final int? cancellationCount; - final int? reliabilityScore; - final int? xp; - final AnyValue? badges; - final bool? isRecommended; - final String? bio; - final AnyValue? industries; - final AnyValue? preferredLocations; - final int? maxDistanceMiles; - final AnyValue? languages; - final AnyValue? itemsAttire; - final String? ownerId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final EnumValue? department; - final String? hubId; - final String? manager; - final EnumValue? english; - final EnumValue? backgroundCheckStatus; - final EnumValue? employmentType; - final String? initial; - final bool? englishRequired; - final String? city; - final String? addres; - GetStaffByUserIdStaffs.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - userId = nativeFromJson(json['userId']), - fullName = nativeFromJson(json['fullName']), - level = json['level'] == null ? null : nativeFromJson(json['level']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - photoUrl = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']), - totalShifts = json['totalShifts'] == null ? null : nativeFromJson(json['totalShifts']), - averageRating = json['averageRating'] == null ? null : nativeFromJson(json['averageRating']), - onTimeRate = json['onTimeRate'] == null ? null : nativeFromJson(json['onTimeRate']), - noShowCount = json['noShowCount'] == null ? null : nativeFromJson(json['noShowCount']), - cancellationCount = json['cancellationCount'] == null ? null : nativeFromJson(json['cancellationCount']), - reliabilityScore = json['reliabilityScore'] == null ? null : nativeFromJson(json['reliabilityScore']), - xp = json['xp'] == null ? null : nativeFromJson(json['xp']), - badges = json['badges'] == null ? null : AnyValue.fromJson(json['badges']), - isRecommended = json['isRecommended'] == null ? null : nativeFromJson(json['isRecommended']), - bio = json['bio'] == null ? null : nativeFromJson(json['bio']), - industries = json['industries'] == null ? null : AnyValue.fromJson(json['industries']), - preferredLocations = json['preferredLocations'] == null ? null : AnyValue.fromJson(json['preferredLocations']), - maxDistanceMiles = json['maxDistanceMiles'] == null ? null : nativeFromJson(json['maxDistanceMiles']), - languages = json['languages'] == null ? null : AnyValue.fromJson(json['languages']), - itemsAttire = json['itemsAttire'] == null ? null : AnyValue.fromJson(json['itemsAttire']), - ownerId = json['ownerId'] == null ? null : nativeFromJson(json['ownerId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - department = json['department'] == null ? null : departmentTypeDeserializer(json['department']), - hubId = json['hubId'] == null ? null : nativeFromJson(json['hubId']), - manager = json['manager'] == null ? null : nativeFromJson(json['manager']), - english = json['english'] == null ? null : englishProficiencyDeserializer(json['english']), - backgroundCheckStatus = json['backgroundCheckStatus'] == null ? null : backgroundCheckStatusDeserializer(json['backgroundCheckStatus']), - employmentType = json['employmentType'] == null ? null : employmentTypeDeserializer(json['employmentType']), - initial = json['initial'] == null ? null : nativeFromJson(json['initial']), - englishRequired = json['englishRequired'] == null ? null : nativeFromJson(json['englishRequired']), - city = json['city'] == null ? null : nativeFromJson(json['city']), - addres = json['addres'] == null ? null : nativeFromJson(json['addres']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffByUserIdStaffs otherTyped = other as GetStaffByUserIdStaffs; - return id == otherTyped.id && - userId == otherTyped.userId && - fullName == otherTyped.fullName && - level == otherTyped.level && - phone == otherTyped.phone && - email == otherTyped.email && - photoUrl == otherTyped.photoUrl && - totalShifts == otherTyped.totalShifts && - averageRating == otherTyped.averageRating && - onTimeRate == otherTyped.onTimeRate && - noShowCount == otherTyped.noShowCount && - cancellationCount == otherTyped.cancellationCount && - reliabilityScore == otherTyped.reliabilityScore && - xp == otherTyped.xp && - badges == otherTyped.badges && - isRecommended == otherTyped.isRecommended && - bio == otherTyped.bio && - industries == otherTyped.industries && - preferredLocations == otherTyped.preferredLocations && - maxDistanceMiles == otherTyped.maxDistanceMiles && - languages == otherTyped.languages && - itemsAttire == otherTyped.itemsAttire && - ownerId == otherTyped.ownerId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - department == otherTyped.department && - hubId == otherTyped.hubId && - manager == otherTyped.manager && - english == otherTyped.english && - backgroundCheckStatus == otherTyped.backgroundCheckStatus && - employmentType == otherTyped.employmentType && - initial == otherTyped.initial && - englishRequired == otherTyped.englishRequired && - city == otherTyped.city && - addres == otherTyped.addres; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, userId.hashCode, fullName.hashCode, level.hashCode, phone.hashCode, email.hashCode, photoUrl.hashCode, totalShifts.hashCode, averageRating.hashCode, onTimeRate.hashCode, noShowCount.hashCode, cancellationCount.hashCode, reliabilityScore.hashCode, xp.hashCode, badges.hashCode, isRecommended.hashCode, bio.hashCode, industries.hashCode, preferredLocations.hashCode, maxDistanceMiles.hashCode, languages.hashCode, itemsAttire.hashCode, ownerId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, department.hashCode, hubId.hashCode, manager.hashCode, english.hashCode, backgroundCheckStatus.hashCode, employmentType.hashCode, initial.hashCode, englishRequired.hashCode, city.hashCode, addres.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['userId'] = nativeToJson(userId); - json['fullName'] = nativeToJson(fullName); - if (level != null) { - json['level'] = nativeToJson(level); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - if (photoUrl != null) { - json['photoUrl'] = nativeToJson(photoUrl); - } - if (totalShifts != null) { - json['totalShifts'] = nativeToJson(totalShifts); - } - if (averageRating != null) { - json['averageRating'] = nativeToJson(averageRating); - } - if (onTimeRate != null) { - json['onTimeRate'] = nativeToJson(onTimeRate); - } - if (noShowCount != null) { - json['noShowCount'] = nativeToJson(noShowCount); - } - if (cancellationCount != null) { - json['cancellationCount'] = nativeToJson(cancellationCount); - } - if (reliabilityScore != null) { - json['reliabilityScore'] = nativeToJson(reliabilityScore); - } - if (xp != null) { - json['xp'] = nativeToJson(xp); - } - if (badges != null) { - json['badges'] = badges!.toJson(); - } - if (isRecommended != null) { - json['isRecommended'] = nativeToJson(isRecommended); - } - if (bio != null) { - json['bio'] = nativeToJson(bio); - } - if (industries != null) { - json['industries'] = industries!.toJson(); - } - if (preferredLocations != null) { - json['preferredLocations'] = preferredLocations!.toJson(); - } - if (maxDistanceMiles != null) { - json['maxDistanceMiles'] = nativeToJson(maxDistanceMiles); - } - if (languages != null) { - json['languages'] = languages!.toJson(); - } - if (itemsAttire != null) { - json['itemsAttire'] = itemsAttire!.toJson(); - } - if (ownerId != null) { - json['ownerId'] = nativeToJson(ownerId); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - if (department != null) { - json['department'] = - departmentTypeSerializer(department!) - ; - } - if (hubId != null) { - json['hubId'] = nativeToJson(hubId); - } - if (manager != null) { - json['manager'] = nativeToJson(manager); - } - if (english != null) { - json['english'] = - englishProficiencySerializer(english!) - ; - } - if (backgroundCheckStatus != null) { - json['backgroundCheckStatus'] = - backgroundCheckStatusSerializer(backgroundCheckStatus!) - ; - } - if (employmentType != null) { - json['employmentType'] = - employmentTypeSerializer(employmentType!) - ; - } - if (initial != null) { - json['initial'] = nativeToJson(initial); - } - if (englishRequired != null) { - json['englishRequired'] = nativeToJson(englishRequired); - } - if (city != null) { - json['city'] = nativeToJson(city); - } - if (addres != null) { - json['addres'] = nativeToJson(addres); - } - return json; - } - - GetStaffByUserIdStaffs({ - required this.id, - required this.userId, - required this.fullName, - this.level, - this.phone, - this.email, - this.photoUrl, - this.totalShifts, - this.averageRating, - this.onTimeRate, - this.noShowCount, - this.cancellationCount, - this.reliabilityScore, - this.xp, - this.badges, - this.isRecommended, - this.bio, - this.industries, - this.preferredLocations, - this.maxDistanceMiles, - this.languages, - this.itemsAttire, - this.ownerId, - this.createdAt, - this.updatedAt, - this.createdBy, - this.department, - this.hubId, - this.manager, - this.english, - this.backgroundCheckStatus, - this.employmentType, - this.initial, - this.englishRequired, - this.city, - this.addres, - }); -} - -@immutable -class GetStaffByUserIdData { - final List staffs; - GetStaffByUserIdData.fromJson(dynamic json): - - staffs = (json['staffs'] as List) - .map((e) => GetStaffByUserIdStaffs.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffByUserIdData otherTyped = other as GetStaffByUserIdData; - return staffs == otherTyped.staffs; - - } - @override - int get hashCode => staffs.hashCode; - - - Map toJson() { - Map json = {}; - json['staffs'] = staffs.map((e) => e.toJson()).toList(); - return json; - } - - GetStaffByUserIdData({ - required this.staffs, - }); -} - -@immutable -class GetStaffByUserIdVariables { - final String userId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetStaffByUserIdVariables.fromJson(Map json): - - userId = nativeFromJson(json['userId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffByUserIdVariables otherTyped = other as GetStaffByUserIdVariables; - return userId == otherTyped.userId; - - } - @override - int get hashCode => userId.hashCode; - - - Map toJson() { - Map json = {}; - json['userId'] = nativeToJson(userId); - return json; - } - - GetStaffByUserIdVariables({ - required this.userId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_course_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_course_by_id.dart deleted file mode 100644 index f2c72e71..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_course_by_id.dart +++ /dev/null @@ -1,183 +0,0 @@ -part of 'generated.dart'; - -class GetStaffCourseByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetStaffCourseByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetStaffCourseByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetStaffCourseByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetStaffCourseByIdVariables vars= GetStaffCourseByIdVariables(id: id,); - return _dataConnect.query("getStaffCourseById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetStaffCourseByIdStaffCourse { - final String id; - final String staffId; - final String courseId; - final int? progressPercent; - final bool? completed; - final Timestamp? completedAt; - final Timestamp? startedAt; - final Timestamp? lastAccessedAt; - final Timestamp? createdAt; - final Timestamp? updatedAt; - GetStaffCourseByIdStaffCourse.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - courseId = nativeFromJson(json['courseId']), - progressPercent = json['progressPercent'] == null ? null : nativeFromJson(json['progressPercent']), - completed = json['completed'] == null ? null : nativeFromJson(json['completed']), - completedAt = json['completedAt'] == null ? null : Timestamp.fromJson(json['completedAt']), - startedAt = json['startedAt'] == null ? null : Timestamp.fromJson(json['startedAt']), - lastAccessedAt = json['lastAccessedAt'] == null ? null : Timestamp.fromJson(json['lastAccessedAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffCourseByIdStaffCourse otherTyped = other as GetStaffCourseByIdStaffCourse; - return id == otherTyped.id && - staffId == otherTyped.staffId && - courseId == otherTyped.courseId && - progressPercent == otherTyped.progressPercent && - completed == otherTyped.completed && - completedAt == otherTyped.completedAt && - startedAt == otherTyped.startedAt && - lastAccessedAt == otherTyped.lastAccessedAt && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, courseId.hashCode, progressPercent.hashCode, completed.hashCode, completedAt.hashCode, startedAt.hashCode, lastAccessedAt.hashCode, createdAt.hashCode, updatedAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['courseId'] = nativeToJson(courseId); - if (progressPercent != null) { - json['progressPercent'] = nativeToJson(progressPercent); - } - if (completed != null) { - json['completed'] = nativeToJson(completed); - } - if (completedAt != null) { - json['completedAt'] = completedAt!.toJson(); - } - if (startedAt != null) { - json['startedAt'] = startedAt!.toJson(); - } - if (lastAccessedAt != null) { - json['lastAccessedAt'] = lastAccessedAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - return json; - } - - GetStaffCourseByIdStaffCourse({ - required this.id, - required this.staffId, - required this.courseId, - this.progressPercent, - this.completed, - this.completedAt, - this.startedAt, - this.lastAccessedAt, - this.createdAt, - this.updatedAt, - }); -} - -@immutable -class GetStaffCourseByIdData { - final GetStaffCourseByIdStaffCourse? staffCourse; - GetStaffCourseByIdData.fromJson(dynamic json): - - staffCourse = json['staffCourse'] == null ? null : GetStaffCourseByIdStaffCourse.fromJson(json['staffCourse']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffCourseByIdData otherTyped = other as GetStaffCourseByIdData; - return staffCourse == otherTyped.staffCourse; - - } - @override - int get hashCode => staffCourse.hashCode; - - - Map toJson() { - Map json = {}; - if (staffCourse != null) { - json['staffCourse'] = staffCourse!.toJson(); - } - return json; - } - - GetStaffCourseByIdData({ - this.staffCourse, - }); -} - -@immutable -class GetStaffCourseByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetStaffCourseByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffCourseByIdVariables otherTyped = other as GetStaffCourseByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetStaffCourseByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_course_by_staff_and_course.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_course_by_staff_and_course.dart deleted file mode 100644 index fddd3f9d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_course_by_staff_and_course.dart +++ /dev/null @@ -1,189 +0,0 @@ -part of 'generated.dart'; - -class GetStaffCourseByStaffAndCourseVariablesBuilder { - String staffId; - String courseId; - - final FirebaseDataConnect _dataConnect; - GetStaffCourseByStaffAndCourseVariablesBuilder(this._dataConnect, {required this.staffId,required this.courseId,}); - Deserializer dataDeserializer = (dynamic json) => GetStaffCourseByStaffAndCourseData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetStaffCourseByStaffAndCourseVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetStaffCourseByStaffAndCourseVariables vars= GetStaffCourseByStaffAndCourseVariables(staffId: staffId,courseId: courseId,); - return _dataConnect.query("getStaffCourseByStaffAndCourse", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetStaffCourseByStaffAndCourseStaffCourses { - final String id; - final String staffId; - final String courseId; - final int? progressPercent; - final bool? completed; - final Timestamp? completedAt; - final Timestamp? startedAt; - final Timestamp? lastAccessedAt; - final Timestamp? createdAt; - final Timestamp? updatedAt; - GetStaffCourseByStaffAndCourseStaffCourses.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - courseId = nativeFromJson(json['courseId']), - progressPercent = json['progressPercent'] == null ? null : nativeFromJson(json['progressPercent']), - completed = json['completed'] == null ? null : nativeFromJson(json['completed']), - completedAt = json['completedAt'] == null ? null : Timestamp.fromJson(json['completedAt']), - startedAt = json['startedAt'] == null ? null : Timestamp.fromJson(json['startedAt']), - lastAccessedAt = json['lastAccessedAt'] == null ? null : Timestamp.fromJson(json['lastAccessedAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffCourseByStaffAndCourseStaffCourses otherTyped = other as GetStaffCourseByStaffAndCourseStaffCourses; - return id == otherTyped.id && - staffId == otherTyped.staffId && - courseId == otherTyped.courseId && - progressPercent == otherTyped.progressPercent && - completed == otherTyped.completed && - completedAt == otherTyped.completedAt && - startedAt == otherTyped.startedAt && - lastAccessedAt == otherTyped.lastAccessedAt && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, courseId.hashCode, progressPercent.hashCode, completed.hashCode, completedAt.hashCode, startedAt.hashCode, lastAccessedAt.hashCode, createdAt.hashCode, updatedAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['courseId'] = nativeToJson(courseId); - if (progressPercent != null) { - json['progressPercent'] = nativeToJson(progressPercent); - } - if (completed != null) { - json['completed'] = nativeToJson(completed); - } - if (completedAt != null) { - json['completedAt'] = completedAt!.toJson(); - } - if (startedAt != null) { - json['startedAt'] = startedAt!.toJson(); - } - if (lastAccessedAt != null) { - json['lastAccessedAt'] = lastAccessedAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - return json; - } - - GetStaffCourseByStaffAndCourseStaffCourses({ - required this.id, - required this.staffId, - required this.courseId, - this.progressPercent, - this.completed, - this.completedAt, - this.startedAt, - this.lastAccessedAt, - this.createdAt, - this.updatedAt, - }); -} - -@immutable -class GetStaffCourseByStaffAndCourseData { - final List staffCourses; - GetStaffCourseByStaffAndCourseData.fromJson(dynamic json): - - staffCourses = (json['staffCourses'] as List) - .map((e) => GetStaffCourseByStaffAndCourseStaffCourses.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffCourseByStaffAndCourseData otherTyped = other as GetStaffCourseByStaffAndCourseData; - return staffCourses == otherTyped.staffCourses; - - } - @override - int get hashCode => staffCourses.hashCode; - - - Map toJson() { - Map json = {}; - json['staffCourses'] = staffCourses.map((e) => e.toJson()).toList(); - return json; - } - - GetStaffCourseByStaffAndCourseData({ - required this.staffCourses, - }); -} - -@immutable -class GetStaffCourseByStaffAndCourseVariables { - final String staffId; - final String courseId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetStaffCourseByStaffAndCourseVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - courseId = nativeFromJson(json['courseId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffCourseByStaffAndCourseVariables otherTyped = other as GetStaffCourseByStaffAndCourseVariables; - return staffId == otherTyped.staffId && - courseId == otherTyped.courseId; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, courseId.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['courseId'] = nativeToJson(courseId); - return json; - } - - GetStaffCourseByStaffAndCourseVariables({ - required this.staffId, - required this.courseId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_document_by_key.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_document_by_key.dart deleted file mode 100644 index 092c1eb5..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_document_by_key.dart +++ /dev/null @@ -1,238 +0,0 @@ -part of 'generated.dart'; - -class GetStaffDocumentByKeyVariablesBuilder { - String staffId; - String documentId; - - final FirebaseDataConnect _dataConnect; - GetStaffDocumentByKeyVariablesBuilder(this._dataConnect, {required this.staffId,required this.documentId,}); - Deserializer dataDeserializer = (dynamic json) => GetStaffDocumentByKeyData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetStaffDocumentByKeyVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetStaffDocumentByKeyVariables vars= GetStaffDocumentByKeyVariables(staffId: staffId,documentId: documentId,); - return _dataConnect.query("getStaffDocumentByKey", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetStaffDocumentByKeyStaffDocument { - final String id; - final String staffId; - final String staffName; - final String documentId; - final EnumValue status; - final String? documentUrl; - final Timestamp? expiryDate; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final GetStaffDocumentByKeyStaffDocumentDocument document; - GetStaffDocumentByKeyStaffDocument.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - staffName = nativeFromJson(json['staffName']), - documentId = nativeFromJson(json['documentId']), - status = documentStatusDeserializer(json['status']), - documentUrl = json['documentUrl'] == null ? null : nativeFromJson(json['documentUrl']), - expiryDate = json['expiryDate'] == null ? null : Timestamp.fromJson(json['expiryDate']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - document = GetStaffDocumentByKeyStaffDocumentDocument.fromJson(json['document']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffDocumentByKeyStaffDocument otherTyped = other as GetStaffDocumentByKeyStaffDocument; - return id == otherTyped.id && - staffId == otherTyped.staffId && - staffName == otherTyped.staffName && - documentId == otherTyped.documentId && - status == otherTyped.status && - documentUrl == otherTyped.documentUrl && - expiryDate == otherTyped.expiryDate && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - document == otherTyped.document; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, staffName.hashCode, documentId.hashCode, status.hashCode, documentUrl.hashCode, expiryDate.hashCode, createdAt.hashCode, updatedAt.hashCode, document.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['staffName'] = nativeToJson(staffName); - json['documentId'] = nativeToJson(documentId); - json['status'] = - documentStatusSerializer(status) - ; - if (documentUrl != null) { - json['documentUrl'] = nativeToJson(documentUrl); - } - if (expiryDate != null) { - json['expiryDate'] = expiryDate!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - json['document'] = document.toJson(); - return json; - } - - GetStaffDocumentByKeyStaffDocument({ - required this.id, - required this.staffId, - required this.staffName, - required this.documentId, - required this.status, - this.documentUrl, - this.expiryDate, - this.createdAt, - this.updatedAt, - required this.document, - }); -} - -@immutable -class GetStaffDocumentByKeyStaffDocumentDocument { - final String id; - final String name; - final EnumValue documentType; - final String? description; - GetStaffDocumentByKeyStaffDocumentDocument.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - documentType = documentTypeDeserializer(json['documentType']), - description = json['description'] == null ? null : nativeFromJson(json['description']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffDocumentByKeyStaffDocumentDocument otherTyped = other as GetStaffDocumentByKeyStaffDocumentDocument; - return id == otherTyped.id && - name == otherTyped.name && - documentType == otherTyped.documentType && - description == otherTyped.description; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, documentType.hashCode, description.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['documentType'] = - documentTypeSerializer(documentType) - ; - if (description != null) { - json['description'] = nativeToJson(description); - } - return json; - } - - GetStaffDocumentByKeyStaffDocumentDocument({ - required this.id, - required this.name, - required this.documentType, - this.description, - }); -} - -@immutable -class GetStaffDocumentByKeyData { - final GetStaffDocumentByKeyStaffDocument? staffDocument; - GetStaffDocumentByKeyData.fromJson(dynamic json): - - staffDocument = json['staffDocument'] == null ? null : GetStaffDocumentByKeyStaffDocument.fromJson(json['staffDocument']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffDocumentByKeyData otherTyped = other as GetStaffDocumentByKeyData; - return staffDocument == otherTyped.staffDocument; - - } - @override - int get hashCode => staffDocument.hashCode; - - - Map toJson() { - Map json = {}; - if (staffDocument != null) { - json['staffDocument'] = staffDocument!.toJson(); - } - return json; - } - - GetStaffDocumentByKeyData({ - this.staffDocument, - }); -} - -@immutable -class GetStaffDocumentByKeyVariables { - final String staffId; - final String documentId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetStaffDocumentByKeyVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - documentId = nativeFromJson(json['documentId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffDocumentByKeyVariables otherTyped = other as GetStaffDocumentByKeyVariables; - return staffId == otherTyped.staffId && - documentId == otherTyped.documentId; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, documentId.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['documentId'] = nativeToJson(documentId); - return json; - } - - GetStaffDocumentByKeyVariables({ - required this.staffId, - required this.documentId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_role_by_key.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_role_by_key.dart deleted file mode 100644 index f4b042ab..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_staff_role_by_key.dart +++ /dev/null @@ -1,268 +0,0 @@ -part of 'generated.dart'; - -class GetStaffRoleByKeyVariablesBuilder { - String staffId; - String roleId; - - final FirebaseDataConnect _dataConnect; - GetStaffRoleByKeyVariablesBuilder(this._dataConnect, {required this.staffId,required this.roleId,}); - Deserializer dataDeserializer = (dynamic json) => GetStaffRoleByKeyData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetStaffRoleByKeyVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetStaffRoleByKeyVariables vars= GetStaffRoleByKeyVariables(staffId: staffId,roleId: roleId,); - return _dataConnect.query("getStaffRoleByKey", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetStaffRoleByKeyStaffRole { - final String id; - final String staffId; - final String roleId; - final Timestamp? createdAt; - final EnumValue? roleType; - final GetStaffRoleByKeyStaffRoleStaff staff; - final GetStaffRoleByKeyStaffRoleRole role; - GetStaffRoleByKeyStaffRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - roleId = nativeFromJson(json['roleId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - roleType = json['roleType'] == null ? null : roleTypeDeserializer(json['roleType']), - staff = GetStaffRoleByKeyStaffRoleStaff.fromJson(json['staff']), - role = GetStaffRoleByKeyStaffRoleRole.fromJson(json['role']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffRoleByKeyStaffRole otherTyped = other as GetStaffRoleByKeyStaffRole; - return id == otherTyped.id && - staffId == otherTyped.staffId && - roleId == otherTyped.roleId && - createdAt == otherTyped.createdAt && - roleType == otherTyped.roleType && - staff == otherTyped.staff && - role == otherTyped.role; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, roleId.hashCode, createdAt.hashCode, roleType.hashCode, staff.hashCode, role.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['roleId'] = nativeToJson(roleId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (roleType != null) { - json['roleType'] = - roleTypeSerializer(roleType!) - ; - } - json['staff'] = staff.toJson(); - json['role'] = role.toJson(); - return json; - } - - GetStaffRoleByKeyStaffRole({ - required this.id, - required this.staffId, - required this.roleId, - this.createdAt, - this.roleType, - required this.staff, - required this.role, - }); -} - -@immutable -class GetStaffRoleByKeyStaffRoleStaff { - final String id; - final String fullName; - final String userId; - final String? email; - final String? phone; - GetStaffRoleByKeyStaffRoleStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']), - userId = nativeFromJson(json['userId']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffRoleByKeyStaffRoleStaff otherTyped = other as GetStaffRoleByKeyStaffRoleStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName && - userId == otherTyped.userId && - email == otherTyped.email && - phone == otherTyped.phone; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode, userId.hashCode, email.hashCode, phone.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - json['userId'] = nativeToJson(userId); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - return json; - } - - GetStaffRoleByKeyStaffRoleStaff({ - required this.id, - required this.fullName, - required this.userId, - this.email, - this.phone, - }); -} - -@immutable -class GetStaffRoleByKeyStaffRoleRole { - final String id; - final String name; - final double costPerHour; - GetStaffRoleByKeyStaffRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffRoleByKeyStaffRoleRole otherTyped = other as GetStaffRoleByKeyStaffRoleRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - GetStaffRoleByKeyStaffRoleRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class GetStaffRoleByKeyData { - final GetStaffRoleByKeyStaffRole? staffRole; - GetStaffRoleByKeyData.fromJson(dynamic json): - - staffRole = json['staffRole'] == null ? null : GetStaffRoleByKeyStaffRole.fromJson(json['staffRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffRoleByKeyData otherTyped = other as GetStaffRoleByKeyData; - return staffRole == otherTyped.staffRole; - - } - @override - int get hashCode => staffRole.hashCode; - - - Map toJson() { - Map json = {}; - if (staffRole != null) { - json['staffRole'] = staffRole!.toJson(); - } - return json; - } - - GetStaffRoleByKeyData({ - this.staffRole, - }); -} - -@immutable -class GetStaffRoleByKeyVariables { - final String staffId; - final String roleId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetStaffRoleByKeyVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - roleId = nativeFromJson(json['roleId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetStaffRoleByKeyVariables otherTyped = other as GetStaffRoleByKeyVariables; - return staffId == otherTyped.staffId && - roleId == otherTyped.roleId; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, roleId.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['roleId'] = nativeToJson(roleId); - return json; - } - - GetStaffRoleByKeyVariables({ - required this.staffId, - required this.roleId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_task_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_task_by_id.dart deleted file mode 100644 index 431c5eda..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_task_by_id.dart +++ /dev/null @@ -1,213 +0,0 @@ -part of 'generated.dart'; - -class GetTaskByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetTaskByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetTaskByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetTaskByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetTaskByIdVariables vars= GetTaskByIdVariables(id: id,); - return _dataConnect.query("getTaskById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetTaskByIdTask { - final String id; - final String taskName; - final String? description; - final EnumValue priority; - final EnumValue status; - final Timestamp? dueDate; - final int? progress; - final int? orderIndex; - final int? commentCount; - final int? attachmentCount; - final AnyValue? files; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetTaskByIdTask.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - taskName = nativeFromJson(json['taskName']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - priority = taskPriorityDeserializer(json['priority']), - status = taskStatusDeserializer(json['status']), - dueDate = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']), - progress = json['progress'] == null ? null : nativeFromJson(json['progress']), - orderIndex = json['orderIndex'] == null ? null : nativeFromJson(json['orderIndex']), - commentCount = json['commentCount'] == null ? null : nativeFromJson(json['commentCount']), - attachmentCount = json['attachmentCount'] == null ? null : nativeFromJson(json['attachmentCount']), - files = json['files'] == null ? null : AnyValue.fromJson(json['files']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaskByIdTask otherTyped = other as GetTaskByIdTask; - return id == otherTyped.id && - taskName == otherTyped.taskName && - description == otherTyped.description && - priority == otherTyped.priority && - status == otherTyped.status && - dueDate == otherTyped.dueDate && - progress == otherTyped.progress && - orderIndex == otherTyped.orderIndex && - commentCount == otherTyped.commentCount && - attachmentCount == otherTyped.attachmentCount && - files == otherTyped.files && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, taskName.hashCode, description.hashCode, priority.hashCode, status.hashCode, dueDate.hashCode, progress.hashCode, orderIndex.hashCode, commentCount.hashCode, attachmentCount.hashCode, files.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['taskName'] = nativeToJson(taskName); - if (description != null) { - json['description'] = nativeToJson(description); - } - json['priority'] = - taskPrioritySerializer(priority) - ; - json['status'] = - taskStatusSerializer(status) - ; - if (dueDate != null) { - json['dueDate'] = dueDate!.toJson(); - } - if (progress != null) { - json['progress'] = nativeToJson(progress); - } - if (orderIndex != null) { - json['orderIndex'] = nativeToJson(orderIndex); - } - if (commentCount != null) { - json['commentCount'] = nativeToJson(commentCount); - } - if (attachmentCount != null) { - json['attachmentCount'] = nativeToJson(attachmentCount); - } - if (files != null) { - json['files'] = files!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetTaskByIdTask({ - required this.id, - required this.taskName, - this.description, - required this.priority, - required this.status, - this.dueDate, - this.progress, - this.orderIndex, - this.commentCount, - this.attachmentCount, - this.files, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetTaskByIdData { - final GetTaskByIdTask? task; - GetTaskByIdData.fromJson(dynamic json): - - task = json['task'] == null ? null : GetTaskByIdTask.fromJson(json['task']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaskByIdData otherTyped = other as GetTaskByIdData; - return task == otherTyped.task; - - } - @override - int get hashCode => task.hashCode; - - - Map toJson() { - Map json = {}; - if (task != null) { - json['task'] = task!.toJson(); - } - return json; - } - - GetTaskByIdData({ - this.task, - }); -} - -@immutable -class GetTaskByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetTaskByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaskByIdVariables otherTyped = other as GetTaskByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetTaskByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_task_comment_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_task_comment_by_id.dart deleted file mode 100644 index 7bb3f768..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_task_comment_by_id.dart +++ /dev/null @@ -1,233 +0,0 @@ -part of 'generated.dart'; - -class GetTaskCommentByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetTaskCommentByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetTaskCommentByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetTaskCommentByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetTaskCommentByIdVariables vars= GetTaskCommentByIdVariables(id: id,); - return _dataConnect.query("getTaskCommentById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetTaskCommentByIdTaskComment { - final String id; - final String taskId; - final String teamMemberId; - final String comment; - final bool isSystem; - final Timestamp? createdAt; - final GetTaskCommentByIdTaskCommentTeamMember teamMember; - GetTaskCommentByIdTaskComment.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - taskId = nativeFromJson(json['taskId']), - teamMemberId = nativeFromJson(json['teamMemberId']), - comment = nativeFromJson(json['comment']), - isSystem = nativeFromJson(json['isSystem']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - teamMember = GetTaskCommentByIdTaskCommentTeamMember.fromJson(json['teamMember']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaskCommentByIdTaskComment otherTyped = other as GetTaskCommentByIdTaskComment; - return id == otherTyped.id && - taskId == otherTyped.taskId && - teamMemberId == otherTyped.teamMemberId && - comment == otherTyped.comment && - isSystem == otherTyped.isSystem && - createdAt == otherTyped.createdAt && - teamMember == otherTyped.teamMember; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, taskId.hashCode, teamMemberId.hashCode, comment.hashCode, isSystem.hashCode, createdAt.hashCode, teamMember.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['taskId'] = nativeToJson(taskId); - json['teamMemberId'] = nativeToJson(teamMemberId); - json['comment'] = nativeToJson(comment); - json['isSystem'] = nativeToJson(isSystem); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['teamMember'] = teamMember.toJson(); - return json; - } - - GetTaskCommentByIdTaskComment({ - required this.id, - required this.taskId, - required this.teamMemberId, - required this.comment, - required this.isSystem, - this.createdAt, - required this.teamMember, - }); -} - -@immutable -class GetTaskCommentByIdTaskCommentTeamMember { - final GetTaskCommentByIdTaskCommentTeamMemberUser user; - GetTaskCommentByIdTaskCommentTeamMember.fromJson(dynamic json): - - user = GetTaskCommentByIdTaskCommentTeamMemberUser.fromJson(json['user']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaskCommentByIdTaskCommentTeamMember otherTyped = other as GetTaskCommentByIdTaskCommentTeamMember; - return user == otherTyped.user; - - } - @override - int get hashCode => user.hashCode; - - - Map toJson() { - Map json = {}; - json['user'] = user.toJson(); - return json; - } - - GetTaskCommentByIdTaskCommentTeamMember({ - required this.user, - }); -} - -@immutable -class GetTaskCommentByIdTaskCommentTeamMemberUser { - final String? fullName; - final String? email; - GetTaskCommentByIdTaskCommentTeamMemberUser.fromJson(dynamic json): - - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaskCommentByIdTaskCommentTeamMemberUser otherTyped = other as GetTaskCommentByIdTaskCommentTeamMemberUser; - return fullName == otherTyped.fullName && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([fullName.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - GetTaskCommentByIdTaskCommentTeamMemberUser({ - this.fullName, - this.email, - }); -} - -@immutable -class GetTaskCommentByIdData { - final GetTaskCommentByIdTaskComment? taskComment; - GetTaskCommentByIdData.fromJson(dynamic json): - - taskComment = json['taskComment'] == null ? null : GetTaskCommentByIdTaskComment.fromJson(json['taskComment']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaskCommentByIdData otherTyped = other as GetTaskCommentByIdData; - return taskComment == otherTyped.taskComment; - - } - @override - int get hashCode => taskComment.hashCode; - - - Map toJson() { - Map json = {}; - if (taskComment != null) { - json['taskComment'] = taskComment!.toJson(); - } - return json; - } - - GetTaskCommentByIdData({ - this.taskComment, - }); -} - -@immutable -class GetTaskCommentByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetTaskCommentByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaskCommentByIdVariables otherTyped = other as GetTaskCommentByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetTaskCommentByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_task_comments_by_task_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_task_comments_by_task_id.dart deleted file mode 100644 index f2a514e4..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_task_comments_by_task_id.dart +++ /dev/null @@ -1,233 +0,0 @@ -part of 'generated.dart'; - -class GetTaskCommentsByTaskIdVariablesBuilder { - String taskId; - - final FirebaseDataConnect _dataConnect; - GetTaskCommentsByTaskIdVariablesBuilder(this._dataConnect, {required this.taskId,}); - Deserializer dataDeserializer = (dynamic json) => GetTaskCommentsByTaskIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetTaskCommentsByTaskIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetTaskCommentsByTaskIdVariables vars= GetTaskCommentsByTaskIdVariables(taskId: taskId,); - return _dataConnect.query("getTaskCommentsByTaskId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetTaskCommentsByTaskIdTaskComments { - final String id; - final String taskId; - final String teamMemberId; - final String comment; - final bool isSystem; - final Timestamp? createdAt; - final GetTaskCommentsByTaskIdTaskCommentsTeamMember teamMember; - GetTaskCommentsByTaskIdTaskComments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - taskId = nativeFromJson(json['taskId']), - teamMemberId = nativeFromJson(json['teamMemberId']), - comment = nativeFromJson(json['comment']), - isSystem = nativeFromJson(json['isSystem']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - teamMember = GetTaskCommentsByTaskIdTaskCommentsTeamMember.fromJson(json['teamMember']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaskCommentsByTaskIdTaskComments otherTyped = other as GetTaskCommentsByTaskIdTaskComments; - return id == otherTyped.id && - taskId == otherTyped.taskId && - teamMemberId == otherTyped.teamMemberId && - comment == otherTyped.comment && - isSystem == otherTyped.isSystem && - createdAt == otherTyped.createdAt && - teamMember == otherTyped.teamMember; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, taskId.hashCode, teamMemberId.hashCode, comment.hashCode, isSystem.hashCode, createdAt.hashCode, teamMember.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['taskId'] = nativeToJson(taskId); - json['teamMemberId'] = nativeToJson(teamMemberId); - json['comment'] = nativeToJson(comment); - json['isSystem'] = nativeToJson(isSystem); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['teamMember'] = teamMember.toJson(); - return json; - } - - GetTaskCommentsByTaskIdTaskComments({ - required this.id, - required this.taskId, - required this.teamMemberId, - required this.comment, - required this.isSystem, - this.createdAt, - required this.teamMember, - }); -} - -@immutable -class GetTaskCommentsByTaskIdTaskCommentsTeamMember { - final GetTaskCommentsByTaskIdTaskCommentsTeamMemberUser user; - GetTaskCommentsByTaskIdTaskCommentsTeamMember.fromJson(dynamic json): - - user = GetTaskCommentsByTaskIdTaskCommentsTeamMemberUser.fromJson(json['user']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaskCommentsByTaskIdTaskCommentsTeamMember otherTyped = other as GetTaskCommentsByTaskIdTaskCommentsTeamMember; - return user == otherTyped.user; - - } - @override - int get hashCode => user.hashCode; - - - Map toJson() { - Map json = {}; - json['user'] = user.toJson(); - return json; - } - - GetTaskCommentsByTaskIdTaskCommentsTeamMember({ - required this.user, - }); -} - -@immutable -class GetTaskCommentsByTaskIdTaskCommentsTeamMemberUser { - final String? fullName; - final String? email; - GetTaskCommentsByTaskIdTaskCommentsTeamMemberUser.fromJson(dynamic json): - - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaskCommentsByTaskIdTaskCommentsTeamMemberUser otherTyped = other as GetTaskCommentsByTaskIdTaskCommentsTeamMemberUser; - return fullName == otherTyped.fullName && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([fullName.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - GetTaskCommentsByTaskIdTaskCommentsTeamMemberUser({ - this.fullName, - this.email, - }); -} - -@immutable -class GetTaskCommentsByTaskIdData { - final List taskComments; - GetTaskCommentsByTaskIdData.fromJson(dynamic json): - - taskComments = (json['taskComments'] as List) - .map((e) => GetTaskCommentsByTaskIdTaskComments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaskCommentsByTaskIdData otherTyped = other as GetTaskCommentsByTaskIdData; - return taskComments == otherTyped.taskComments; - - } - @override - int get hashCode => taskComments.hashCode; - - - Map toJson() { - Map json = {}; - json['taskComments'] = taskComments.map((e) => e.toJson()).toList(); - return json; - } - - GetTaskCommentsByTaskIdData({ - required this.taskComments, - }); -} - -@immutable -class GetTaskCommentsByTaskIdVariables { - final String taskId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetTaskCommentsByTaskIdVariables.fromJson(Map json): - - taskId = nativeFromJson(json['taskId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaskCommentsByTaskIdVariables otherTyped = other as GetTaskCommentsByTaskIdVariables; - return taskId == otherTyped.taskId; - - } - @override - int get hashCode => taskId.hashCode; - - - Map toJson() { - Map json = {}; - json['taskId'] = nativeToJson(taskId); - return json; - } - - GetTaskCommentsByTaskIdVariables({ - required this.taskId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_tasks_by_owner_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_tasks_by_owner_id.dart deleted file mode 100644 index 5da6f4c6..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_tasks_by_owner_id.dart +++ /dev/null @@ -1,213 +0,0 @@ -part of 'generated.dart'; - -class GetTasksByOwnerIdVariablesBuilder { - String ownerId; - - final FirebaseDataConnect _dataConnect; - GetTasksByOwnerIdVariablesBuilder(this._dataConnect, {required this.ownerId,}); - Deserializer dataDeserializer = (dynamic json) => GetTasksByOwnerIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetTasksByOwnerIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetTasksByOwnerIdVariables vars= GetTasksByOwnerIdVariables(ownerId: ownerId,); - return _dataConnect.query("getTasksByOwnerId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetTasksByOwnerIdTasks { - final String id; - final String taskName; - final String? description; - final EnumValue priority; - final EnumValue status; - final Timestamp? dueDate; - final int? progress; - final int? orderIndex; - final int? commentCount; - final int? attachmentCount; - final AnyValue? files; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetTasksByOwnerIdTasks.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - taskName = nativeFromJson(json['taskName']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - priority = taskPriorityDeserializer(json['priority']), - status = taskStatusDeserializer(json['status']), - dueDate = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']), - progress = json['progress'] == null ? null : nativeFromJson(json['progress']), - orderIndex = json['orderIndex'] == null ? null : nativeFromJson(json['orderIndex']), - commentCount = json['commentCount'] == null ? null : nativeFromJson(json['commentCount']), - attachmentCount = json['attachmentCount'] == null ? null : nativeFromJson(json['attachmentCount']), - files = json['files'] == null ? null : AnyValue.fromJson(json['files']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTasksByOwnerIdTasks otherTyped = other as GetTasksByOwnerIdTasks; - return id == otherTyped.id && - taskName == otherTyped.taskName && - description == otherTyped.description && - priority == otherTyped.priority && - status == otherTyped.status && - dueDate == otherTyped.dueDate && - progress == otherTyped.progress && - orderIndex == otherTyped.orderIndex && - commentCount == otherTyped.commentCount && - attachmentCount == otherTyped.attachmentCount && - files == otherTyped.files && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, taskName.hashCode, description.hashCode, priority.hashCode, status.hashCode, dueDate.hashCode, progress.hashCode, orderIndex.hashCode, commentCount.hashCode, attachmentCount.hashCode, files.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['taskName'] = nativeToJson(taskName); - if (description != null) { - json['description'] = nativeToJson(description); - } - json['priority'] = - taskPrioritySerializer(priority) - ; - json['status'] = - taskStatusSerializer(status) - ; - if (dueDate != null) { - json['dueDate'] = dueDate!.toJson(); - } - if (progress != null) { - json['progress'] = nativeToJson(progress); - } - if (orderIndex != null) { - json['orderIndex'] = nativeToJson(orderIndex); - } - if (commentCount != null) { - json['commentCount'] = nativeToJson(commentCount); - } - if (attachmentCount != null) { - json['attachmentCount'] = nativeToJson(attachmentCount); - } - if (files != null) { - json['files'] = files!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetTasksByOwnerIdTasks({ - required this.id, - required this.taskName, - this.description, - required this.priority, - required this.status, - this.dueDate, - this.progress, - this.orderIndex, - this.commentCount, - this.attachmentCount, - this.files, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetTasksByOwnerIdData { - final List tasks; - GetTasksByOwnerIdData.fromJson(dynamic json): - - tasks = (json['tasks'] as List) - .map((e) => GetTasksByOwnerIdTasks.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTasksByOwnerIdData otherTyped = other as GetTasksByOwnerIdData; - return tasks == otherTyped.tasks; - - } - @override - int get hashCode => tasks.hashCode; - - - Map toJson() { - Map json = {}; - json['tasks'] = tasks.map((e) => e.toJson()).toList(); - return json; - } - - GetTasksByOwnerIdData({ - required this.tasks, - }); -} - -@immutable -class GetTasksByOwnerIdVariables { - final String ownerId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetTasksByOwnerIdVariables.fromJson(Map json): - - ownerId = nativeFromJson(json['ownerId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTasksByOwnerIdVariables otherTyped = other as GetTasksByOwnerIdVariables; - return ownerId == otherTyped.ownerId; - - } - @override - int get hashCode => ownerId.hashCode; - - - Map toJson() { - Map json = {}; - json['ownerId'] = nativeToJson(ownerId); - return json; - } - - GetTasksByOwnerIdVariables({ - required this.ownerId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_tax_form_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_tax_form_by_id.dart deleted file mode 100644 index 83d40b89..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_tax_form_by_id.dart +++ /dev/null @@ -1,190 +0,0 @@ -part of 'generated.dart'; - -class GetTaxFormByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetTaxFormByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetTaxFormByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetTaxFormByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetTaxFormByIdVariables vars= GetTaxFormByIdVariables(id: id,); - return _dataConnect.query("getTaxFormById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetTaxFormByIdTaxForm { - final String id; - final EnumValue formType; - final String title; - final String? subtitle; - final String? description; - final EnumValue status; - final String staffId; - final AnyValue? formData; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetTaxFormByIdTaxForm.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - formType = taxFormTypeDeserializer(json['formType']), - title = nativeFromJson(json['title']), - subtitle = json['subtitle'] == null ? null : nativeFromJson(json['subtitle']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - status = taxFormStatusDeserializer(json['status']), - staffId = nativeFromJson(json['staffId']), - formData = json['formData'] == null ? null : AnyValue.fromJson(json['formData']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaxFormByIdTaxForm otherTyped = other as GetTaxFormByIdTaxForm; - return id == otherTyped.id && - formType == otherTyped.formType && - title == otherTyped.title && - subtitle == otherTyped.subtitle && - description == otherTyped.description && - status == otherTyped.status && - staffId == otherTyped.staffId && - formData == otherTyped.formData && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, formType.hashCode, title.hashCode, subtitle.hashCode, description.hashCode, status.hashCode, staffId.hashCode, formData.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['formType'] = - taxFormTypeSerializer(formType) - ; - json['title'] = nativeToJson(title); - if (subtitle != null) { - json['subtitle'] = nativeToJson(subtitle); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - json['status'] = - taxFormStatusSerializer(status) - ; - json['staffId'] = nativeToJson(staffId); - if (formData != null) { - json['formData'] = formData!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetTaxFormByIdTaxForm({ - required this.id, - required this.formType, - required this.title, - this.subtitle, - this.description, - required this.status, - required this.staffId, - this.formData, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetTaxFormByIdData { - final GetTaxFormByIdTaxForm? taxForm; - GetTaxFormByIdData.fromJson(dynamic json): - - taxForm = json['taxForm'] == null ? null : GetTaxFormByIdTaxForm.fromJson(json['taxForm']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaxFormByIdData otherTyped = other as GetTaxFormByIdData; - return taxForm == otherTyped.taxForm; - - } - @override - int get hashCode => taxForm.hashCode; - - - Map toJson() { - Map json = {}; - if (taxForm != null) { - json['taxForm'] = taxForm!.toJson(); - } - return json; - } - - GetTaxFormByIdData({ - this.taxForm, - }); -} - -@immutable -class GetTaxFormByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetTaxFormByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaxFormByIdVariables otherTyped = other as GetTaxFormByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetTaxFormByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_tax_forms_bystaff_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_tax_forms_bystaff_id.dart deleted file mode 100644 index c9be080e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_tax_forms_bystaff_id.dart +++ /dev/null @@ -1,190 +0,0 @@ -part of 'generated.dart'; - -class GetTaxFormsBystaffIdVariablesBuilder { - String staffId; - - final FirebaseDataConnect _dataConnect; - GetTaxFormsBystaffIdVariablesBuilder(this._dataConnect, {required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => GetTaxFormsBystaffIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetTaxFormsBystaffIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetTaxFormsBystaffIdVariables vars= GetTaxFormsBystaffIdVariables(staffId: staffId,); - return _dataConnect.query("getTaxFormsBystaffId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetTaxFormsBystaffIdTaxForms { - final String id; - final EnumValue formType; - final String title; - final String? subtitle; - final String? description; - final EnumValue status; - final String staffId; - final AnyValue? formData; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetTaxFormsBystaffIdTaxForms.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - formType = taxFormTypeDeserializer(json['formType']), - title = nativeFromJson(json['title']), - subtitle = json['subtitle'] == null ? null : nativeFromJson(json['subtitle']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - status = taxFormStatusDeserializer(json['status']), - staffId = nativeFromJson(json['staffId']), - formData = json['formData'] == null ? null : AnyValue.fromJson(json['formData']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaxFormsBystaffIdTaxForms otherTyped = other as GetTaxFormsBystaffIdTaxForms; - return id == otherTyped.id && - formType == otherTyped.formType && - title == otherTyped.title && - subtitle == otherTyped.subtitle && - description == otherTyped.description && - status == otherTyped.status && - staffId == otherTyped.staffId && - formData == otherTyped.formData && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, formType.hashCode, title.hashCode, subtitle.hashCode, description.hashCode, status.hashCode, staffId.hashCode, formData.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['formType'] = - taxFormTypeSerializer(formType) - ; - json['title'] = nativeToJson(title); - if (subtitle != null) { - json['subtitle'] = nativeToJson(subtitle); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - json['status'] = - taxFormStatusSerializer(status) - ; - json['staffId'] = nativeToJson(staffId); - if (formData != null) { - json['formData'] = formData!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetTaxFormsBystaffIdTaxForms({ - required this.id, - required this.formType, - required this.title, - this.subtitle, - this.description, - required this.status, - required this.staffId, - this.formData, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetTaxFormsBystaffIdData { - final List taxForms; - GetTaxFormsBystaffIdData.fromJson(dynamic json): - - taxForms = (json['taxForms'] as List) - .map((e) => GetTaxFormsBystaffIdTaxForms.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaxFormsBystaffIdData otherTyped = other as GetTaxFormsBystaffIdData; - return taxForms == otherTyped.taxForms; - - } - @override - int get hashCode => taxForms.hashCode; - - - Map toJson() { - Map json = {}; - json['taxForms'] = taxForms.map((e) => e.toJson()).toList(); - return json; - } - - GetTaxFormsBystaffIdData({ - required this.taxForms, - }); -} - -@immutable -class GetTaxFormsBystaffIdVariables { - final String staffId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetTaxFormsBystaffIdVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTaxFormsBystaffIdVariables otherTyped = other as GetTaxFormsBystaffIdVariables; - return staffId == otherTyped.staffId; - - } - @override - int get hashCode => staffId.hashCode; - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - return json; - } - - GetTaxFormsBystaffIdVariables({ - required this.staffId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_by_id.dart deleted file mode 100644 index 8a449009..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_by_id.dart +++ /dev/null @@ -1,235 +0,0 @@ -part of 'generated.dart'; - -class GetTeamByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetTeamByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetTeamByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetTeamByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetTeamByIdVariables vars= GetTeamByIdVariables(id: id,); - return _dataConnect.query("getTeamById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetTeamByIdTeam { - final String id; - final String teamName; - final String ownerId; - final String ownerName; - final String ownerRole; - final String? email; - final String? companyLogo; - final int? totalMembers; - final int? activeMembers; - final int? totalHubs; - final AnyValue? departments; - final int? favoriteStaffCount; - final int? blockedStaffCount; - final AnyValue? favoriteStaff; - final AnyValue? blockedStaff; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetTeamByIdTeam.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - teamName = nativeFromJson(json['teamName']), - ownerId = nativeFromJson(json['ownerId']), - ownerName = nativeFromJson(json['ownerName']), - ownerRole = nativeFromJson(json['ownerRole']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - companyLogo = json['companyLogo'] == null ? null : nativeFromJson(json['companyLogo']), - totalMembers = json['totalMembers'] == null ? null : nativeFromJson(json['totalMembers']), - activeMembers = json['activeMembers'] == null ? null : nativeFromJson(json['activeMembers']), - totalHubs = json['totalHubs'] == null ? null : nativeFromJson(json['totalHubs']), - departments = json['departments'] == null ? null : AnyValue.fromJson(json['departments']), - favoriteStaffCount = json['favoriteStaffCount'] == null ? null : nativeFromJson(json['favoriteStaffCount']), - blockedStaffCount = json['blockedStaffCount'] == null ? null : nativeFromJson(json['blockedStaffCount']), - favoriteStaff = json['favoriteStaff'] == null ? null : AnyValue.fromJson(json['favoriteStaff']), - blockedStaff = json['blockedStaff'] == null ? null : AnyValue.fromJson(json['blockedStaff']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamByIdTeam otherTyped = other as GetTeamByIdTeam; - return id == otherTyped.id && - teamName == otherTyped.teamName && - ownerId == otherTyped.ownerId && - ownerName == otherTyped.ownerName && - ownerRole == otherTyped.ownerRole && - email == otherTyped.email && - companyLogo == otherTyped.companyLogo && - totalMembers == otherTyped.totalMembers && - activeMembers == otherTyped.activeMembers && - totalHubs == otherTyped.totalHubs && - departments == otherTyped.departments && - favoriteStaffCount == otherTyped.favoriteStaffCount && - blockedStaffCount == otherTyped.blockedStaffCount && - favoriteStaff == otherTyped.favoriteStaff && - blockedStaff == otherTyped.blockedStaff && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, teamName.hashCode, ownerId.hashCode, ownerName.hashCode, ownerRole.hashCode, email.hashCode, companyLogo.hashCode, totalMembers.hashCode, activeMembers.hashCode, totalHubs.hashCode, departments.hashCode, favoriteStaffCount.hashCode, blockedStaffCount.hashCode, favoriteStaff.hashCode, blockedStaff.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['teamName'] = nativeToJson(teamName); - json['ownerId'] = nativeToJson(ownerId); - json['ownerName'] = nativeToJson(ownerName); - json['ownerRole'] = nativeToJson(ownerRole); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (companyLogo != null) { - json['companyLogo'] = nativeToJson(companyLogo); - } - if (totalMembers != null) { - json['totalMembers'] = nativeToJson(totalMembers); - } - if (activeMembers != null) { - json['activeMembers'] = nativeToJson(activeMembers); - } - if (totalHubs != null) { - json['totalHubs'] = nativeToJson(totalHubs); - } - if (departments != null) { - json['departments'] = departments!.toJson(); - } - if (favoriteStaffCount != null) { - json['favoriteStaffCount'] = nativeToJson(favoriteStaffCount); - } - if (blockedStaffCount != null) { - json['blockedStaffCount'] = nativeToJson(blockedStaffCount); - } - if (favoriteStaff != null) { - json['favoriteStaff'] = favoriteStaff!.toJson(); - } - if (blockedStaff != null) { - json['blockedStaff'] = blockedStaff!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetTeamByIdTeam({ - required this.id, - required this.teamName, - required this.ownerId, - required this.ownerName, - required this.ownerRole, - this.email, - this.companyLogo, - this.totalMembers, - this.activeMembers, - this.totalHubs, - this.departments, - this.favoriteStaffCount, - this.blockedStaffCount, - this.favoriteStaff, - this.blockedStaff, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetTeamByIdData { - final GetTeamByIdTeam? team; - GetTeamByIdData.fromJson(dynamic json): - - team = json['team'] == null ? null : GetTeamByIdTeam.fromJson(json['team']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamByIdData otherTyped = other as GetTeamByIdData; - return team == otherTyped.team; - - } - @override - int get hashCode => team.hashCode; - - - Map toJson() { - Map json = {}; - if (team != null) { - json['team'] = team!.toJson(); - } - return json; - } - - GetTeamByIdData({ - this.team, - }); -} - -@immutable -class GetTeamByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetTeamByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamByIdVariables otherTyped = other as GetTeamByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetTeamByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_hub_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_hub_by_id.dart deleted file mode 100644 index 34b6452a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_hub_by_id.dart +++ /dev/null @@ -1,192 +0,0 @@ -part of 'generated.dart'; - -class GetTeamHubByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetTeamHubByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetTeamHubByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetTeamHubByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetTeamHubByIdVariables vars= GetTeamHubByIdVariables(id: id,); - return _dataConnect.query("getTeamHubById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetTeamHubByIdTeamHub { - final String id; - final String teamId; - final String hubName; - final String address; - final String city; - final String state; - final String zipCode; - final String managerName; - final bool isActive; - final AnyValue? departments; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetTeamHubByIdTeamHub.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - teamId = nativeFromJson(json['teamId']), - hubName = nativeFromJson(json['hubName']), - address = nativeFromJson(json['address']), - city = nativeFromJson(json['city']), - state = nativeFromJson(json['state']), - zipCode = nativeFromJson(json['zipCode']), - managerName = nativeFromJson(json['managerName']), - isActive = nativeFromJson(json['isActive']), - departments = json['departments'] == null ? null : AnyValue.fromJson(json['departments']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamHubByIdTeamHub otherTyped = other as GetTeamHubByIdTeamHub; - return id == otherTyped.id && - teamId == otherTyped.teamId && - hubName == otherTyped.hubName && - address == otherTyped.address && - city == otherTyped.city && - state == otherTyped.state && - zipCode == otherTyped.zipCode && - managerName == otherTyped.managerName && - isActive == otherTyped.isActive && - departments == otherTyped.departments && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, teamId.hashCode, hubName.hashCode, address.hashCode, city.hashCode, state.hashCode, zipCode.hashCode, managerName.hashCode, isActive.hashCode, departments.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['teamId'] = nativeToJson(teamId); - json['hubName'] = nativeToJson(hubName); - json['address'] = nativeToJson(address); - json['city'] = nativeToJson(city); - json['state'] = nativeToJson(state); - json['zipCode'] = nativeToJson(zipCode); - json['managerName'] = nativeToJson(managerName); - json['isActive'] = nativeToJson(isActive); - if (departments != null) { - json['departments'] = departments!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetTeamHubByIdTeamHub({ - required this.id, - required this.teamId, - required this.hubName, - required this.address, - required this.city, - required this.state, - required this.zipCode, - required this.managerName, - required this.isActive, - this.departments, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetTeamHubByIdData { - final GetTeamHubByIdTeamHub? teamHub; - GetTeamHubByIdData.fromJson(dynamic json): - - teamHub = json['teamHub'] == null ? null : GetTeamHubByIdTeamHub.fromJson(json['teamHub']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamHubByIdData otherTyped = other as GetTeamHubByIdData; - return teamHub == otherTyped.teamHub; - - } - @override - int get hashCode => teamHub.hashCode; - - - Map toJson() { - Map json = {}; - if (teamHub != null) { - json['teamHub'] = teamHub!.toJson(); - } - return json; - } - - GetTeamHubByIdData({ - this.teamHub, - }); -} - -@immutable -class GetTeamHubByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetTeamHubByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamHubByIdVariables otherTyped = other as GetTeamHubByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetTeamHubByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_hubs_by_team_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_hubs_by_team_id.dart deleted file mode 100644 index 34ab0d41..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_hubs_by_team_id.dart +++ /dev/null @@ -1,192 +0,0 @@ -part of 'generated.dart'; - -class GetTeamHubsByTeamIdVariablesBuilder { - String teamId; - - final FirebaseDataConnect _dataConnect; - GetTeamHubsByTeamIdVariablesBuilder(this._dataConnect, {required this.teamId,}); - Deserializer dataDeserializer = (dynamic json) => GetTeamHubsByTeamIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetTeamHubsByTeamIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetTeamHubsByTeamIdVariables vars= GetTeamHubsByTeamIdVariables(teamId: teamId,); - return _dataConnect.query("getTeamHubsByTeamId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetTeamHubsByTeamIdTeamHubs { - final String id; - final String teamId; - final String hubName; - final String address; - final String city; - final String state; - final String zipCode; - final String managerName; - final bool isActive; - final AnyValue? departments; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetTeamHubsByTeamIdTeamHubs.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - teamId = nativeFromJson(json['teamId']), - hubName = nativeFromJson(json['hubName']), - address = nativeFromJson(json['address']), - city = nativeFromJson(json['city']), - state = nativeFromJson(json['state']), - zipCode = nativeFromJson(json['zipCode']), - managerName = nativeFromJson(json['managerName']), - isActive = nativeFromJson(json['isActive']), - departments = json['departments'] == null ? null : AnyValue.fromJson(json['departments']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamHubsByTeamIdTeamHubs otherTyped = other as GetTeamHubsByTeamIdTeamHubs; - return id == otherTyped.id && - teamId == otherTyped.teamId && - hubName == otherTyped.hubName && - address == otherTyped.address && - city == otherTyped.city && - state == otherTyped.state && - zipCode == otherTyped.zipCode && - managerName == otherTyped.managerName && - isActive == otherTyped.isActive && - departments == otherTyped.departments && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, teamId.hashCode, hubName.hashCode, address.hashCode, city.hashCode, state.hashCode, zipCode.hashCode, managerName.hashCode, isActive.hashCode, departments.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['teamId'] = nativeToJson(teamId); - json['hubName'] = nativeToJson(hubName); - json['address'] = nativeToJson(address); - json['city'] = nativeToJson(city); - json['state'] = nativeToJson(state); - json['zipCode'] = nativeToJson(zipCode); - json['managerName'] = nativeToJson(managerName); - json['isActive'] = nativeToJson(isActive); - if (departments != null) { - json['departments'] = departments!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetTeamHubsByTeamIdTeamHubs({ - required this.id, - required this.teamId, - required this.hubName, - required this.address, - required this.city, - required this.state, - required this.zipCode, - required this.managerName, - required this.isActive, - this.departments, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetTeamHubsByTeamIdData { - final List teamHubs; - GetTeamHubsByTeamIdData.fromJson(dynamic json): - - teamHubs = (json['teamHubs'] as List) - .map((e) => GetTeamHubsByTeamIdTeamHubs.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamHubsByTeamIdData otherTyped = other as GetTeamHubsByTeamIdData; - return teamHubs == otherTyped.teamHubs; - - } - @override - int get hashCode => teamHubs.hashCode; - - - Map toJson() { - Map json = {}; - json['teamHubs'] = teamHubs.map((e) => e.toJson()).toList(); - return json; - } - - GetTeamHubsByTeamIdData({ - required this.teamHubs, - }); -} - -@immutable -class GetTeamHubsByTeamIdVariables { - final String teamId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetTeamHubsByTeamIdVariables.fromJson(Map json): - - teamId = nativeFromJson(json['teamId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamHubsByTeamIdVariables otherTyped = other as GetTeamHubsByTeamIdVariables; - return teamId == otherTyped.teamId; - - } - @override - int get hashCode => teamId.hashCode; - - - Map toJson() { - Map json = {}; - json['teamId'] = nativeToJson(teamId); - return json; - } - - GetTeamHubsByTeamIdVariables({ - required this.teamId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_hud_department_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_hud_department_by_id.dart deleted file mode 100644 index cc4aa27d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_hud_department_by_id.dart +++ /dev/null @@ -1,192 +0,0 @@ -part of 'generated.dart'; - -class GetTeamHudDepartmentByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetTeamHudDepartmentByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetTeamHudDepartmentByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetTeamHudDepartmentByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetTeamHudDepartmentByIdVariables vars= GetTeamHudDepartmentByIdVariables(id: id,); - return _dataConnect.query("getTeamHudDepartmentById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetTeamHudDepartmentByIdTeamHudDepartment { - final String id; - final String name; - final String? costCenter; - final String teamHubId; - final GetTeamHudDepartmentByIdTeamHudDepartmentTeamHub teamHub; - final Timestamp? createdAt; - GetTeamHudDepartmentByIdTeamHudDepartment.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costCenter = json['costCenter'] == null ? null : nativeFromJson(json['costCenter']), - teamHubId = nativeFromJson(json['teamHubId']), - teamHub = GetTeamHudDepartmentByIdTeamHudDepartmentTeamHub.fromJson(json['teamHub']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamHudDepartmentByIdTeamHudDepartment otherTyped = other as GetTeamHudDepartmentByIdTeamHudDepartment; - return id == otherTyped.id && - name == otherTyped.name && - costCenter == otherTyped.costCenter && - teamHubId == otherTyped.teamHubId && - teamHub == otherTyped.teamHub && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costCenter.hashCode, teamHubId.hashCode, teamHub.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - if (costCenter != null) { - json['costCenter'] = nativeToJson(costCenter); - } - json['teamHubId'] = nativeToJson(teamHubId); - json['teamHub'] = teamHub.toJson(); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - GetTeamHudDepartmentByIdTeamHudDepartment({ - required this.id, - required this.name, - this.costCenter, - required this.teamHubId, - required this.teamHub, - this.createdAt, - }); -} - -@immutable -class GetTeamHudDepartmentByIdTeamHudDepartmentTeamHub { - final String id; - final String hubName; - GetTeamHudDepartmentByIdTeamHudDepartmentTeamHub.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - hubName = nativeFromJson(json['hubName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamHudDepartmentByIdTeamHudDepartmentTeamHub otherTyped = other as GetTeamHudDepartmentByIdTeamHudDepartmentTeamHub; - return id == otherTyped.id && - hubName == otherTyped.hubName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, hubName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['hubName'] = nativeToJson(hubName); - return json; - } - - GetTeamHudDepartmentByIdTeamHudDepartmentTeamHub({ - required this.id, - required this.hubName, - }); -} - -@immutable -class GetTeamHudDepartmentByIdData { - final GetTeamHudDepartmentByIdTeamHudDepartment? teamHudDepartment; - GetTeamHudDepartmentByIdData.fromJson(dynamic json): - - teamHudDepartment = json['teamHudDepartment'] == null ? null : GetTeamHudDepartmentByIdTeamHudDepartment.fromJson(json['teamHudDepartment']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamHudDepartmentByIdData otherTyped = other as GetTeamHudDepartmentByIdData; - return teamHudDepartment == otherTyped.teamHudDepartment; - - } - @override - int get hashCode => teamHudDepartment.hashCode; - - - Map toJson() { - Map json = {}; - if (teamHudDepartment != null) { - json['teamHudDepartment'] = teamHudDepartment!.toJson(); - } - return json; - } - - GetTeamHudDepartmentByIdData({ - this.teamHudDepartment, - }); -} - -@immutable -class GetTeamHudDepartmentByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetTeamHudDepartmentByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamHudDepartmentByIdVariables otherTyped = other as GetTeamHudDepartmentByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetTeamHudDepartmentByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_member_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_member_by_id.dart deleted file mode 100644 index aa74a564..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_member_by_id.dart +++ /dev/null @@ -1,260 +0,0 @@ -part of 'generated.dart'; - -class GetTeamMemberByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetTeamMemberByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetTeamMemberByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetTeamMemberByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetTeamMemberByIdVariables vars= GetTeamMemberByIdVariables(id: id,); - return _dataConnect.query("getTeamMemberById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetTeamMemberByIdTeamMember { - final String id; - final String teamId; - final EnumValue role; - final String? title; - final String? department; - final String? teamHubId; - final bool? isActive; - final Timestamp? createdAt; - final GetTeamMemberByIdTeamMemberUser user; - final GetTeamMemberByIdTeamMemberTeamHub? teamHub; - GetTeamMemberByIdTeamMember.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - teamId = nativeFromJson(json['teamId']), - role = teamMemberRoleDeserializer(json['role']), - title = json['title'] == null ? null : nativeFromJson(json['title']), - department = json['department'] == null ? null : nativeFromJson(json['department']), - teamHubId = json['teamHubId'] == null ? null : nativeFromJson(json['teamHubId']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - user = GetTeamMemberByIdTeamMemberUser.fromJson(json['user']), - teamHub = json['teamHub'] == null ? null : GetTeamMemberByIdTeamMemberTeamHub.fromJson(json['teamHub']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamMemberByIdTeamMember otherTyped = other as GetTeamMemberByIdTeamMember; - return id == otherTyped.id && - teamId == otherTyped.teamId && - role == otherTyped.role && - title == otherTyped.title && - department == otherTyped.department && - teamHubId == otherTyped.teamHubId && - isActive == otherTyped.isActive && - createdAt == otherTyped.createdAt && - user == otherTyped.user && - teamHub == otherTyped.teamHub; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, teamId.hashCode, role.hashCode, title.hashCode, department.hashCode, teamHubId.hashCode, isActive.hashCode, createdAt.hashCode, user.hashCode, teamHub.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['teamId'] = nativeToJson(teamId); - json['role'] = - teamMemberRoleSerializer(role) - ; - if (title != null) { - json['title'] = nativeToJson(title); - } - if (department != null) { - json['department'] = nativeToJson(department); - } - if (teamHubId != null) { - json['teamHubId'] = nativeToJson(teamHubId); - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['user'] = user.toJson(); - if (teamHub != null) { - json['teamHub'] = teamHub!.toJson(); - } - return json; - } - - GetTeamMemberByIdTeamMember({ - required this.id, - required this.teamId, - required this.role, - this.title, - this.department, - this.teamHubId, - this.isActive, - this.createdAt, - required this.user, - this.teamHub, - }); -} - -@immutable -class GetTeamMemberByIdTeamMemberUser { - final String? fullName; - final String? email; - GetTeamMemberByIdTeamMemberUser.fromJson(dynamic json): - - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamMemberByIdTeamMemberUser otherTyped = other as GetTeamMemberByIdTeamMemberUser; - return fullName == otherTyped.fullName && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([fullName.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - GetTeamMemberByIdTeamMemberUser({ - this.fullName, - this.email, - }); -} - -@immutable -class GetTeamMemberByIdTeamMemberTeamHub { - final String hubName; - GetTeamMemberByIdTeamMemberTeamHub.fromJson(dynamic json): - - hubName = nativeFromJson(json['hubName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamMemberByIdTeamMemberTeamHub otherTyped = other as GetTeamMemberByIdTeamMemberTeamHub; - return hubName == otherTyped.hubName; - - } - @override - int get hashCode => hubName.hashCode; - - - Map toJson() { - Map json = {}; - json['hubName'] = nativeToJson(hubName); - return json; - } - - GetTeamMemberByIdTeamMemberTeamHub({ - required this.hubName, - }); -} - -@immutable -class GetTeamMemberByIdData { - final GetTeamMemberByIdTeamMember? teamMember; - GetTeamMemberByIdData.fromJson(dynamic json): - - teamMember = json['teamMember'] == null ? null : GetTeamMemberByIdTeamMember.fromJson(json['teamMember']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamMemberByIdData otherTyped = other as GetTeamMemberByIdData; - return teamMember == otherTyped.teamMember; - - } - @override - int get hashCode => teamMember.hashCode; - - - Map toJson() { - Map json = {}; - if (teamMember != null) { - json['teamMember'] = teamMember!.toJson(); - } - return json; - } - - GetTeamMemberByIdData({ - this.teamMember, - }); -} - -@immutable -class GetTeamMemberByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetTeamMemberByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamMemberByIdVariables otherTyped = other as GetTeamMemberByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetTeamMemberByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_members_by_team_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_members_by_team_id.dart deleted file mode 100644 index 72939378..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_team_members_by_team_id.dart +++ /dev/null @@ -1,260 +0,0 @@ -part of 'generated.dart'; - -class GetTeamMembersByTeamIdVariablesBuilder { - String teamId; - - final FirebaseDataConnect _dataConnect; - GetTeamMembersByTeamIdVariablesBuilder(this._dataConnect, {required this.teamId,}); - Deserializer dataDeserializer = (dynamic json) => GetTeamMembersByTeamIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetTeamMembersByTeamIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetTeamMembersByTeamIdVariables vars= GetTeamMembersByTeamIdVariables(teamId: teamId,); - return _dataConnect.query("getTeamMembersByTeamId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetTeamMembersByTeamIdTeamMembers { - final String id; - final String teamId; - final EnumValue role; - final String? title; - final String? department; - final String? teamHubId; - final bool? isActive; - final Timestamp? createdAt; - final GetTeamMembersByTeamIdTeamMembersUser user; - final GetTeamMembersByTeamIdTeamMembersTeamHub? teamHub; - GetTeamMembersByTeamIdTeamMembers.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - teamId = nativeFromJson(json['teamId']), - role = teamMemberRoleDeserializer(json['role']), - title = json['title'] == null ? null : nativeFromJson(json['title']), - department = json['department'] == null ? null : nativeFromJson(json['department']), - teamHubId = json['teamHubId'] == null ? null : nativeFromJson(json['teamHubId']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - user = GetTeamMembersByTeamIdTeamMembersUser.fromJson(json['user']), - teamHub = json['teamHub'] == null ? null : GetTeamMembersByTeamIdTeamMembersTeamHub.fromJson(json['teamHub']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamMembersByTeamIdTeamMembers otherTyped = other as GetTeamMembersByTeamIdTeamMembers; - return id == otherTyped.id && - teamId == otherTyped.teamId && - role == otherTyped.role && - title == otherTyped.title && - department == otherTyped.department && - teamHubId == otherTyped.teamHubId && - isActive == otherTyped.isActive && - createdAt == otherTyped.createdAt && - user == otherTyped.user && - teamHub == otherTyped.teamHub; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, teamId.hashCode, role.hashCode, title.hashCode, department.hashCode, teamHubId.hashCode, isActive.hashCode, createdAt.hashCode, user.hashCode, teamHub.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['teamId'] = nativeToJson(teamId); - json['role'] = - teamMemberRoleSerializer(role) - ; - if (title != null) { - json['title'] = nativeToJson(title); - } - if (department != null) { - json['department'] = nativeToJson(department); - } - if (teamHubId != null) { - json['teamHubId'] = nativeToJson(teamHubId); - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['user'] = user.toJson(); - if (teamHub != null) { - json['teamHub'] = teamHub!.toJson(); - } - return json; - } - - GetTeamMembersByTeamIdTeamMembers({ - required this.id, - required this.teamId, - required this.role, - this.title, - this.department, - this.teamHubId, - this.isActive, - this.createdAt, - required this.user, - this.teamHub, - }); -} - -@immutable -class GetTeamMembersByTeamIdTeamMembersUser { - final String? fullName; - final String? email; - GetTeamMembersByTeamIdTeamMembersUser.fromJson(dynamic json): - - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamMembersByTeamIdTeamMembersUser otherTyped = other as GetTeamMembersByTeamIdTeamMembersUser; - return fullName == otherTyped.fullName && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([fullName.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - GetTeamMembersByTeamIdTeamMembersUser({ - this.fullName, - this.email, - }); -} - -@immutable -class GetTeamMembersByTeamIdTeamMembersTeamHub { - final String hubName; - GetTeamMembersByTeamIdTeamMembersTeamHub.fromJson(dynamic json): - - hubName = nativeFromJson(json['hubName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamMembersByTeamIdTeamMembersTeamHub otherTyped = other as GetTeamMembersByTeamIdTeamMembersTeamHub; - return hubName == otherTyped.hubName; - - } - @override - int get hashCode => hubName.hashCode; - - - Map toJson() { - Map json = {}; - json['hubName'] = nativeToJson(hubName); - return json; - } - - GetTeamMembersByTeamIdTeamMembersTeamHub({ - required this.hubName, - }); -} - -@immutable -class GetTeamMembersByTeamIdData { - final List teamMembers; - GetTeamMembersByTeamIdData.fromJson(dynamic json): - - teamMembers = (json['teamMembers'] as List) - .map((e) => GetTeamMembersByTeamIdTeamMembers.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamMembersByTeamIdData otherTyped = other as GetTeamMembersByTeamIdData; - return teamMembers == otherTyped.teamMembers; - - } - @override - int get hashCode => teamMembers.hashCode; - - - Map toJson() { - Map json = {}; - json['teamMembers'] = teamMembers.map((e) => e.toJson()).toList(); - return json; - } - - GetTeamMembersByTeamIdData({ - required this.teamMembers, - }); -} - -@immutable -class GetTeamMembersByTeamIdVariables { - final String teamId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetTeamMembersByTeamIdVariables.fromJson(Map json): - - teamId = nativeFromJson(json['teamId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamMembersByTeamIdVariables otherTyped = other as GetTeamMembersByTeamIdVariables; - return teamId == otherTyped.teamId; - - } - @override - int get hashCode => teamId.hashCode; - - - Map toJson() { - Map json = {}; - json['teamId'] = nativeToJson(teamId); - return json; - } - - GetTeamMembersByTeamIdVariables({ - required this.teamId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_teams_by_owner_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_teams_by_owner_id.dart deleted file mode 100644 index cf4f44bc..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_teams_by_owner_id.dart +++ /dev/null @@ -1,235 +0,0 @@ -part of 'generated.dart'; - -class GetTeamsByOwnerIdVariablesBuilder { - String ownerId; - - final FirebaseDataConnect _dataConnect; - GetTeamsByOwnerIdVariablesBuilder(this._dataConnect, {required this.ownerId,}); - Deserializer dataDeserializer = (dynamic json) => GetTeamsByOwnerIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetTeamsByOwnerIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetTeamsByOwnerIdVariables vars= GetTeamsByOwnerIdVariables(ownerId: ownerId,); - return _dataConnect.query("getTeamsByOwnerId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetTeamsByOwnerIdTeams { - final String id; - final String teamName; - final String ownerId; - final String ownerName; - final String ownerRole; - final String? email; - final String? companyLogo; - final int? totalMembers; - final int? activeMembers; - final int? totalHubs; - final AnyValue? departments; - final int? favoriteStaffCount; - final int? blockedStaffCount; - final AnyValue? favoriteStaff; - final AnyValue? blockedStaff; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetTeamsByOwnerIdTeams.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - teamName = nativeFromJson(json['teamName']), - ownerId = nativeFromJson(json['ownerId']), - ownerName = nativeFromJson(json['ownerName']), - ownerRole = nativeFromJson(json['ownerRole']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - companyLogo = json['companyLogo'] == null ? null : nativeFromJson(json['companyLogo']), - totalMembers = json['totalMembers'] == null ? null : nativeFromJson(json['totalMembers']), - activeMembers = json['activeMembers'] == null ? null : nativeFromJson(json['activeMembers']), - totalHubs = json['totalHubs'] == null ? null : nativeFromJson(json['totalHubs']), - departments = json['departments'] == null ? null : AnyValue.fromJson(json['departments']), - favoriteStaffCount = json['favoriteStaffCount'] == null ? null : nativeFromJson(json['favoriteStaffCount']), - blockedStaffCount = json['blockedStaffCount'] == null ? null : nativeFromJson(json['blockedStaffCount']), - favoriteStaff = json['favoriteStaff'] == null ? null : AnyValue.fromJson(json['favoriteStaff']), - blockedStaff = json['blockedStaff'] == null ? null : AnyValue.fromJson(json['blockedStaff']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamsByOwnerIdTeams otherTyped = other as GetTeamsByOwnerIdTeams; - return id == otherTyped.id && - teamName == otherTyped.teamName && - ownerId == otherTyped.ownerId && - ownerName == otherTyped.ownerName && - ownerRole == otherTyped.ownerRole && - email == otherTyped.email && - companyLogo == otherTyped.companyLogo && - totalMembers == otherTyped.totalMembers && - activeMembers == otherTyped.activeMembers && - totalHubs == otherTyped.totalHubs && - departments == otherTyped.departments && - favoriteStaffCount == otherTyped.favoriteStaffCount && - blockedStaffCount == otherTyped.blockedStaffCount && - favoriteStaff == otherTyped.favoriteStaff && - blockedStaff == otherTyped.blockedStaff && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, teamName.hashCode, ownerId.hashCode, ownerName.hashCode, ownerRole.hashCode, email.hashCode, companyLogo.hashCode, totalMembers.hashCode, activeMembers.hashCode, totalHubs.hashCode, departments.hashCode, favoriteStaffCount.hashCode, blockedStaffCount.hashCode, favoriteStaff.hashCode, blockedStaff.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['teamName'] = nativeToJson(teamName); - json['ownerId'] = nativeToJson(ownerId); - json['ownerName'] = nativeToJson(ownerName); - json['ownerRole'] = nativeToJson(ownerRole); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (companyLogo != null) { - json['companyLogo'] = nativeToJson(companyLogo); - } - if (totalMembers != null) { - json['totalMembers'] = nativeToJson(totalMembers); - } - if (activeMembers != null) { - json['activeMembers'] = nativeToJson(activeMembers); - } - if (totalHubs != null) { - json['totalHubs'] = nativeToJson(totalHubs); - } - if (departments != null) { - json['departments'] = departments!.toJson(); - } - if (favoriteStaffCount != null) { - json['favoriteStaffCount'] = nativeToJson(favoriteStaffCount); - } - if (blockedStaffCount != null) { - json['blockedStaffCount'] = nativeToJson(blockedStaffCount); - } - if (favoriteStaff != null) { - json['favoriteStaff'] = favoriteStaff!.toJson(); - } - if (blockedStaff != null) { - json['blockedStaff'] = blockedStaff!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetTeamsByOwnerIdTeams({ - required this.id, - required this.teamName, - required this.ownerId, - required this.ownerName, - required this.ownerRole, - this.email, - this.companyLogo, - this.totalMembers, - this.activeMembers, - this.totalHubs, - this.departments, - this.favoriteStaffCount, - this.blockedStaffCount, - this.favoriteStaff, - this.blockedStaff, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetTeamsByOwnerIdData { - final List teams; - GetTeamsByOwnerIdData.fromJson(dynamic json): - - teams = (json['teams'] as List) - .map((e) => GetTeamsByOwnerIdTeams.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamsByOwnerIdData otherTyped = other as GetTeamsByOwnerIdData; - return teams == otherTyped.teams; - - } - @override - int get hashCode => teams.hashCode; - - - Map toJson() { - Map json = {}; - json['teams'] = teams.map((e) => e.toJson()).toList(); - return json; - } - - GetTeamsByOwnerIdData({ - required this.teams, - }); -} - -@immutable -class GetTeamsByOwnerIdVariables { - final String ownerId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetTeamsByOwnerIdVariables.fromJson(Map json): - - ownerId = nativeFromJson(json['ownerId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetTeamsByOwnerIdVariables otherTyped = other as GetTeamsByOwnerIdVariables; - return ownerId == otherTyped.ownerId; - - } - @override - int get hashCode => ownerId.hashCode; - - - Map toJson() { - Map json = {}; - json['ownerId'] = nativeToJson(ownerId); - return json; - } - - GetTeamsByOwnerIdVariables({ - required this.ownerId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_user_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_user_by_id.dart deleted file mode 100644 index 167c4fec..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_user_by_id.dart +++ /dev/null @@ -1,159 +0,0 @@ -part of 'generated.dart'; - -class GetUserByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetUserByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetUserByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetUserByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetUserByIdVariables vars= GetUserByIdVariables(id: id,); - return _dataConnect.query("getUserById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetUserByIdUser { - final String id; - final String? email; - final String? fullName; - final EnumValue role; - final String? userRole; - final String? photoUrl; - GetUserByIdUser.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - role = userBaseRoleDeserializer(json['role']), - userRole = json['userRole'] == null ? null : nativeFromJson(json['userRole']), - photoUrl = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetUserByIdUser otherTyped = other as GetUserByIdUser; - return id == otherTyped.id && - email == otherTyped.email && - fullName == otherTyped.fullName && - role == otherTyped.role && - userRole == otherTyped.userRole && - photoUrl == otherTyped.photoUrl; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, email.hashCode, fullName.hashCode, role.hashCode, userRole.hashCode, photoUrl.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - json['role'] = - userBaseRoleSerializer(role) - ; - if (userRole != null) { - json['userRole'] = nativeToJson(userRole); - } - if (photoUrl != null) { - json['photoUrl'] = nativeToJson(photoUrl); - } - return json; - } - - GetUserByIdUser({ - required this.id, - this.email, - this.fullName, - required this.role, - this.userRole, - this.photoUrl, - }); -} - -@immutable -class GetUserByIdData { - final GetUserByIdUser? user; - GetUserByIdData.fromJson(dynamic json): - - user = json['user'] == null ? null : GetUserByIdUser.fromJson(json['user']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetUserByIdData otherTyped = other as GetUserByIdData; - return user == otherTyped.user; - - } - @override - int get hashCode => user.hashCode; - - - Map toJson() { - Map json = {}; - if (user != null) { - json['user'] = user!.toJson(); - } - return json; - } - - GetUserByIdData({ - this.user, - }); -} - -@immutable -class GetUserByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetUserByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetUserByIdVariables otherTyped = other as GetUserByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetUserByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_user_conversation_by_key.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_user_conversation_by_key.dart deleted file mode 100644 index d0a8a9c8..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_user_conversation_by_key.dart +++ /dev/null @@ -1,313 +0,0 @@ -part of 'generated.dart'; - -class GetUserConversationByKeyVariablesBuilder { - String conversationId; - String userId; - - final FirebaseDataConnect _dataConnect; - GetUserConversationByKeyVariablesBuilder(this._dataConnect, {required this.conversationId,required this.userId,}); - Deserializer dataDeserializer = (dynamic json) => GetUserConversationByKeyData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetUserConversationByKeyVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetUserConversationByKeyVariables vars= GetUserConversationByKeyVariables(conversationId: conversationId,userId: userId,); - return _dataConnect.query("getUserConversationByKey", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetUserConversationByKeyUserConversation { - final String id; - final String conversationId; - final String userId; - final int? unreadCount; - final Timestamp? lastReadAt; - final Timestamp? createdAt; - final GetUserConversationByKeyUserConversationConversation conversation; - final GetUserConversationByKeyUserConversationUser user; - GetUserConversationByKeyUserConversation.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']), - unreadCount = json['unreadCount'] == null ? null : nativeFromJson(json['unreadCount']), - lastReadAt = json['lastReadAt'] == null ? null : Timestamp.fromJson(json['lastReadAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - conversation = GetUserConversationByKeyUserConversationConversation.fromJson(json['conversation']), - user = GetUserConversationByKeyUserConversationUser.fromJson(json['user']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetUserConversationByKeyUserConversation otherTyped = other as GetUserConversationByKeyUserConversation; - return id == otherTyped.id && - conversationId == otherTyped.conversationId && - userId == otherTyped.userId && - unreadCount == otherTyped.unreadCount && - lastReadAt == otherTyped.lastReadAt && - createdAt == otherTyped.createdAt && - conversation == otherTyped.conversation && - user == otherTyped.user; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, conversationId.hashCode, userId.hashCode, unreadCount.hashCode, lastReadAt.hashCode, createdAt.hashCode, conversation.hashCode, user.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - if (unreadCount != null) { - json['unreadCount'] = nativeToJson(unreadCount); - } - if (lastReadAt != null) { - json['lastReadAt'] = lastReadAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['conversation'] = conversation.toJson(); - json['user'] = user.toJson(); - return json; - } - - GetUserConversationByKeyUserConversation({ - required this.id, - required this.conversationId, - required this.userId, - this.unreadCount, - this.lastReadAt, - this.createdAt, - required this.conversation, - required this.user, - }); -} - -@immutable -class GetUserConversationByKeyUserConversationConversation { - final String id; - final String? subject; - final EnumValue? status; - final EnumValue? conversationType; - final bool? isGroup; - final String? groupName; - final String? lastMessage; - final Timestamp? lastMessageAt; - final Timestamp? createdAt; - GetUserConversationByKeyUserConversationConversation.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - subject = json['subject'] == null ? null : nativeFromJson(json['subject']), - status = json['status'] == null ? null : conversationStatusDeserializer(json['status']), - conversationType = json['conversationType'] == null ? null : conversationTypeDeserializer(json['conversationType']), - isGroup = json['isGroup'] == null ? null : nativeFromJson(json['isGroup']), - groupName = json['groupName'] == null ? null : nativeFromJson(json['groupName']), - lastMessage = json['lastMessage'] == null ? null : nativeFromJson(json['lastMessage']), - lastMessageAt = json['lastMessageAt'] == null ? null : Timestamp.fromJson(json['lastMessageAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetUserConversationByKeyUserConversationConversation otherTyped = other as GetUserConversationByKeyUserConversationConversation; - return id == otherTyped.id && - subject == otherTyped.subject && - status == otherTyped.status && - conversationType == otherTyped.conversationType && - isGroup == otherTyped.isGroup && - groupName == otherTyped.groupName && - lastMessage == otherTyped.lastMessage && - lastMessageAt == otherTyped.lastMessageAt && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, subject.hashCode, status.hashCode, conversationType.hashCode, isGroup.hashCode, groupName.hashCode, lastMessage.hashCode, lastMessageAt.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (subject != null) { - json['subject'] = nativeToJson(subject); - } - if (status != null) { - json['status'] = - conversationStatusSerializer(status!) - ; - } - if (conversationType != null) { - json['conversationType'] = - conversationTypeSerializer(conversationType!) - ; - } - if (isGroup != null) { - json['isGroup'] = nativeToJson(isGroup); - } - if (groupName != null) { - json['groupName'] = nativeToJson(groupName); - } - if (lastMessage != null) { - json['lastMessage'] = nativeToJson(lastMessage); - } - if (lastMessageAt != null) { - json['lastMessageAt'] = lastMessageAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - GetUserConversationByKeyUserConversationConversation({ - required this.id, - this.subject, - this.status, - this.conversationType, - this.isGroup, - this.groupName, - this.lastMessage, - this.lastMessageAt, - this.createdAt, - }); -} - -@immutable -class GetUserConversationByKeyUserConversationUser { - final String id; - final String? fullName; - final String? photoUrl; - GetUserConversationByKeyUserConversationUser.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - photoUrl = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetUserConversationByKeyUserConversationUser otherTyped = other as GetUserConversationByKeyUserConversationUser; - return id == otherTyped.id && - fullName == otherTyped.fullName && - photoUrl == otherTyped.photoUrl; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode, photoUrl.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - if (photoUrl != null) { - json['photoUrl'] = nativeToJson(photoUrl); - } - return json; - } - - GetUserConversationByKeyUserConversationUser({ - required this.id, - this.fullName, - this.photoUrl, - }); -} - -@immutable -class GetUserConversationByKeyData { - final GetUserConversationByKeyUserConversation? userConversation; - GetUserConversationByKeyData.fromJson(dynamic json): - - userConversation = json['userConversation'] == null ? null : GetUserConversationByKeyUserConversation.fromJson(json['userConversation']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetUserConversationByKeyData otherTyped = other as GetUserConversationByKeyData; - return userConversation == otherTyped.userConversation; - - } - @override - int get hashCode => userConversation.hashCode; - - - Map toJson() { - Map json = {}; - if (userConversation != null) { - json['userConversation'] = userConversation!.toJson(); - } - return json; - } - - GetUserConversationByKeyData({ - this.userConversation, - }); -} - -@immutable -class GetUserConversationByKeyVariables { - final String conversationId; - final String userId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetUserConversationByKeyVariables.fromJson(Map json): - - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetUserConversationByKeyVariables otherTyped = other as GetUserConversationByKeyVariables; - return conversationId == otherTyped.conversationId && - userId == otherTyped.userId; - - } - @override - int get hashCode => Object.hashAll([conversationId.hashCode, userId.hashCode]); - - - Map toJson() { - Map json = {}; - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - return json; - } - - GetUserConversationByKeyVariables({ - required this.conversationId, - required this.userId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_vendor_benefit_plan_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_vendor_benefit_plan_by_id.dart deleted file mode 100644 index 0ee45b1c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_vendor_benefit_plan_by_id.dart +++ /dev/null @@ -1,222 +0,0 @@ -part of 'generated.dart'; - -class GetVendorBenefitPlanByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetVendorBenefitPlanByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetVendorBenefitPlanByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetVendorBenefitPlanByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetVendorBenefitPlanByIdVariables vars= GetVendorBenefitPlanByIdVariables(id: id,); - return _dataConnect.query("getVendorBenefitPlanById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetVendorBenefitPlanByIdVendorBenefitPlan { - final String id; - final String vendorId; - final String title; - final String? description; - final String? requestLabel; - final int? total; - final bool? isActive; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final GetVendorBenefitPlanByIdVendorBenefitPlanVendor vendor; - GetVendorBenefitPlanByIdVendorBenefitPlan.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorId = nativeFromJson(json['vendorId']), - title = nativeFromJson(json['title']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - requestLabel = json['requestLabel'] == null ? null : nativeFromJson(json['requestLabel']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - vendor = GetVendorBenefitPlanByIdVendorBenefitPlanVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetVendorBenefitPlanByIdVendorBenefitPlan otherTyped = other as GetVendorBenefitPlanByIdVendorBenefitPlan; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - title == otherTyped.title && - description == otherTyped.description && - requestLabel == otherTyped.requestLabel && - total == otherTyped.total && - isActive == otherTyped.isActive && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, title.hashCode, description.hashCode, requestLabel.hashCode, total.hashCode, isActive.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorId'] = nativeToJson(vendorId); - json['title'] = nativeToJson(title); - if (description != null) { - json['description'] = nativeToJson(description); - } - if (requestLabel != null) { - json['requestLabel'] = nativeToJson(requestLabel); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['vendor'] = vendor.toJson(); - return json; - } - - GetVendorBenefitPlanByIdVendorBenefitPlan({ - required this.id, - required this.vendorId, - required this.title, - this.description, - this.requestLabel, - this.total, - this.isActive, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.vendor, - }); -} - -@immutable -class GetVendorBenefitPlanByIdVendorBenefitPlanVendor { - final String companyName; - GetVendorBenefitPlanByIdVendorBenefitPlanVendor.fromJson(dynamic json): - - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetVendorBenefitPlanByIdVendorBenefitPlanVendor otherTyped = other as GetVendorBenefitPlanByIdVendorBenefitPlanVendor; - return companyName == otherTyped.companyName; - - } - @override - int get hashCode => companyName.hashCode; - - - Map toJson() { - Map json = {}; - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetVendorBenefitPlanByIdVendorBenefitPlanVendor({ - required this.companyName, - }); -} - -@immutable -class GetVendorBenefitPlanByIdData { - final GetVendorBenefitPlanByIdVendorBenefitPlan? vendorBenefitPlan; - GetVendorBenefitPlanByIdData.fromJson(dynamic json): - - vendorBenefitPlan = json['vendorBenefitPlan'] == null ? null : GetVendorBenefitPlanByIdVendorBenefitPlan.fromJson(json['vendorBenefitPlan']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetVendorBenefitPlanByIdData otherTyped = other as GetVendorBenefitPlanByIdData; - return vendorBenefitPlan == otherTyped.vendorBenefitPlan; - - } - @override - int get hashCode => vendorBenefitPlan.hashCode; - - - Map toJson() { - Map json = {}; - if (vendorBenefitPlan != null) { - json['vendorBenefitPlan'] = vendorBenefitPlan!.toJson(); - } - return json; - } - - GetVendorBenefitPlanByIdData({ - this.vendorBenefitPlan, - }); -} - -@immutable -class GetVendorBenefitPlanByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetVendorBenefitPlanByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetVendorBenefitPlanByIdVariables otherTyped = other as GetVendorBenefitPlanByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetVendorBenefitPlanByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_vendor_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_vendor_by_id.dart deleted file mode 100644 index 2838999b..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_vendor_by_id.dart +++ /dev/null @@ -1,285 +0,0 @@ -part of 'generated.dart'; - -class GetVendorByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetVendorByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetVendorByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetVendorByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetVendorByIdVariables vars= GetVendorByIdVariables(id: id,); - return _dataConnect.query("getVendorById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetVendorByIdVendor { - final String id; - final String userId; - final String companyName; - final String? email; - final String? phone; - final String? photoUrl; - final String? address; - final String? billingAddress; - final String? timezone; - final String? legalName; - final String? doingBusinessAs; - final String? region; - final String? state; - final String? city; - final String? serviceSpecialty; - final EnumValue? approvalStatus; - final bool? isActive; - final double? markup; - final double? fee; - final double? csat; - final EnumValue? tier; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetVendorByIdVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - userId = nativeFromJson(json['userId']), - companyName = nativeFromJson(json['companyName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - photoUrl = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - billingAddress = json['billingAddress'] == null ? null : nativeFromJson(json['billingAddress']), - timezone = json['timezone'] == null ? null : nativeFromJson(json['timezone']), - legalName = json['legalName'] == null ? null : nativeFromJson(json['legalName']), - doingBusinessAs = json['doingBusinessAs'] == null ? null : nativeFromJson(json['doingBusinessAs']), - region = json['region'] == null ? null : nativeFromJson(json['region']), - state = json['state'] == null ? null : nativeFromJson(json['state']), - city = json['city'] == null ? null : nativeFromJson(json['city']), - serviceSpecialty = json['serviceSpecialty'] == null ? null : nativeFromJson(json['serviceSpecialty']), - approvalStatus = json['approvalStatus'] == null ? null : approvalStatusDeserializer(json['approvalStatus']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']), - markup = json['markup'] == null ? null : nativeFromJson(json['markup']), - fee = json['fee'] == null ? null : nativeFromJson(json['fee']), - csat = json['csat'] == null ? null : nativeFromJson(json['csat']), - tier = json['tier'] == null ? null : vendorTierDeserializer(json['tier']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetVendorByIdVendor otherTyped = other as GetVendorByIdVendor; - return id == otherTyped.id && - userId == otherTyped.userId && - companyName == otherTyped.companyName && - email == otherTyped.email && - phone == otherTyped.phone && - photoUrl == otherTyped.photoUrl && - address == otherTyped.address && - billingAddress == otherTyped.billingAddress && - timezone == otherTyped.timezone && - legalName == otherTyped.legalName && - doingBusinessAs == otherTyped.doingBusinessAs && - region == otherTyped.region && - state == otherTyped.state && - city == otherTyped.city && - serviceSpecialty == otherTyped.serviceSpecialty && - approvalStatus == otherTyped.approvalStatus && - isActive == otherTyped.isActive && - markup == otherTyped.markup && - fee == otherTyped.fee && - csat == otherTyped.csat && - tier == otherTyped.tier && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, userId.hashCode, companyName.hashCode, email.hashCode, phone.hashCode, photoUrl.hashCode, address.hashCode, billingAddress.hashCode, timezone.hashCode, legalName.hashCode, doingBusinessAs.hashCode, region.hashCode, state.hashCode, city.hashCode, serviceSpecialty.hashCode, approvalStatus.hashCode, isActive.hashCode, markup.hashCode, fee.hashCode, csat.hashCode, tier.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['userId'] = nativeToJson(userId); - json['companyName'] = nativeToJson(companyName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (photoUrl != null) { - json['photoUrl'] = nativeToJson(photoUrl); - } - if (address != null) { - json['address'] = nativeToJson(address); - } - if (billingAddress != null) { - json['billingAddress'] = nativeToJson(billingAddress); - } - if (timezone != null) { - json['timezone'] = nativeToJson(timezone); - } - if (legalName != null) { - json['legalName'] = nativeToJson(legalName); - } - if (doingBusinessAs != null) { - json['doingBusinessAs'] = nativeToJson(doingBusinessAs); - } - if (region != null) { - json['region'] = nativeToJson(region); - } - if (state != null) { - json['state'] = nativeToJson(state); - } - if (city != null) { - json['city'] = nativeToJson(city); - } - if (serviceSpecialty != null) { - json['serviceSpecialty'] = nativeToJson(serviceSpecialty); - } - if (approvalStatus != null) { - json['approvalStatus'] = - approvalStatusSerializer(approvalStatus!) - ; - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - if (markup != null) { - json['markup'] = nativeToJson(markup); - } - if (fee != null) { - json['fee'] = nativeToJson(fee); - } - if (csat != null) { - json['csat'] = nativeToJson(csat); - } - if (tier != null) { - json['tier'] = - vendorTierSerializer(tier!) - ; - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetVendorByIdVendor({ - required this.id, - required this.userId, - required this.companyName, - this.email, - this.phone, - this.photoUrl, - this.address, - this.billingAddress, - this.timezone, - this.legalName, - this.doingBusinessAs, - this.region, - this.state, - this.city, - this.serviceSpecialty, - this.approvalStatus, - this.isActive, - this.markup, - this.fee, - this.csat, - this.tier, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetVendorByIdData { - final GetVendorByIdVendor? vendor; - GetVendorByIdData.fromJson(dynamic json): - - vendor = json['vendor'] == null ? null : GetVendorByIdVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetVendorByIdData otherTyped = other as GetVendorByIdData; - return vendor == otherTyped.vendor; - - } - @override - int get hashCode => vendor.hashCode; - - - Map toJson() { - Map json = {}; - if (vendor != null) { - json['vendor'] = vendor!.toJson(); - } - return json; - } - - GetVendorByIdData({ - this.vendor, - }); -} - -@immutable -class GetVendorByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetVendorByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetVendorByIdVariables otherTyped = other as GetVendorByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetVendorByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_vendor_by_user_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_vendor_by_user_id.dart deleted file mode 100644 index 429a46a8..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_vendor_by_user_id.dart +++ /dev/null @@ -1,285 +0,0 @@ -part of 'generated.dart'; - -class GetVendorByUserIdVariablesBuilder { - String userId; - - final FirebaseDataConnect _dataConnect; - GetVendorByUserIdVariablesBuilder(this._dataConnect, {required this.userId,}); - Deserializer dataDeserializer = (dynamic json) => GetVendorByUserIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetVendorByUserIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetVendorByUserIdVariables vars= GetVendorByUserIdVariables(userId: userId,); - return _dataConnect.query("getVendorByUserId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetVendorByUserIdVendors { - final String id; - final String userId; - final String companyName; - final String? email; - final String? phone; - final String? photoUrl; - final String? address; - final String? billingAddress; - final String? timezone; - final String? legalName; - final String? doingBusinessAs; - final String? region; - final String? state; - final String? city; - final String? serviceSpecialty; - final EnumValue? approvalStatus; - final bool? isActive; - final double? markup; - final double? fee; - final double? csat; - final EnumValue? tier; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - GetVendorByUserIdVendors.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - userId = nativeFromJson(json['userId']), - companyName = nativeFromJson(json['companyName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - photoUrl = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - billingAddress = json['billingAddress'] == null ? null : nativeFromJson(json['billingAddress']), - timezone = json['timezone'] == null ? null : nativeFromJson(json['timezone']), - legalName = json['legalName'] == null ? null : nativeFromJson(json['legalName']), - doingBusinessAs = json['doingBusinessAs'] == null ? null : nativeFromJson(json['doingBusinessAs']), - region = json['region'] == null ? null : nativeFromJson(json['region']), - state = json['state'] == null ? null : nativeFromJson(json['state']), - city = json['city'] == null ? null : nativeFromJson(json['city']), - serviceSpecialty = json['serviceSpecialty'] == null ? null : nativeFromJson(json['serviceSpecialty']), - approvalStatus = json['approvalStatus'] == null ? null : approvalStatusDeserializer(json['approvalStatus']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']), - markup = json['markup'] == null ? null : nativeFromJson(json['markup']), - fee = json['fee'] == null ? null : nativeFromJson(json['fee']), - csat = json['csat'] == null ? null : nativeFromJson(json['csat']), - tier = json['tier'] == null ? null : vendorTierDeserializer(json['tier']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetVendorByUserIdVendors otherTyped = other as GetVendorByUserIdVendors; - return id == otherTyped.id && - userId == otherTyped.userId && - companyName == otherTyped.companyName && - email == otherTyped.email && - phone == otherTyped.phone && - photoUrl == otherTyped.photoUrl && - address == otherTyped.address && - billingAddress == otherTyped.billingAddress && - timezone == otherTyped.timezone && - legalName == otherTyped.legalName && - doingBusinessAs == otherTyped.doingBusinessAs && - region == otherTyped.region && - state == otherTyped.state && - city == otherTyped.city && - serviceSpecialty == otherTyped.serviceSpecialty && - approvalStatus == otherTyped.approvalStatus && - isActive == otherTyped.isActive && - markup == otherTyped.markup && - fee == otherTyped.fee && - csat == otherTyped.csat && - tier == otherTyped.tier && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, userId.hashCode, companyName.hashCode, email.hashCode, phone.hashCode, photoUrl.hashCode, address.hashCode, billingAddress.hashCode, timezone.hashCode, legalName.hashCode, doingBusinessAs.hashCode, region.hashCode, state.hashCode, city.hashCode, serviceSpecialty.hashCode, approvalStatus.hashCode, isActive.hashCode, markup.hashCode, fee.hashCode, csat.hashCode, tier.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['userId'] = nativeToJson(userId); - json['companyName'] = nativeToJson(companyName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (photoUrl != null) { - json['photoUrl'] = nativeToJson(photoUrl); - } - if (address != null) { - json['address'] = nativeToJson(address); - } - if (billingAddress != null) { - json['billingAddress'] = nativeToJson(billingAddress); - } - if (timezone != null) { - json['timezone'] = nativeToJson(timezone); - } - if (legalName != null) { - json['legalName'] = nativeToJson(legalName); - } - if (doingBusinessAs != null) { - json['doingBusinessAs'] = nativeToJson(doingBusinessAs); - } - if (region != null) { - json['region'] = nativeToJson(region); - } - if (state != null) { - json['state'] = nativeToJson(state); - } - if (city != null) { - json['city'] = nativeToJson(city); - } - if (serviceSpecialty != null) { - json['serviceSpecialty'] = nativeToJson(serviceSpecialty); - } - if (approvalStatus != null) { - json['approvalStatus'] = - approvalStatusSerializer(approvalStatus!) - ; - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - if (markup != null) { - json['markup'] = nativeToJson(markup); - } - if (fee != null) { - json['fee'] = nativeToJson(fee); - } - if (csat != null) { - json['csat'] = nativeToJson(csat); - } - if (tier != null) { - json['tier'] = - vendorTierSerializer(tier!) - ; - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - GetVendorByUserIdVendors({ - required this.id, - required this.userId, - required this.companyName, - this.email, - this.phone, - this.photoUrl, - this.address, - this.billingAddress, - this.timezone, - this.legalName, - this.doingBusinessAs, - this.region, - this.state, - this.city, - this.serviceSpecialty, - this.approvalStatus, - this.isActive, - this.markup, - this.fee, - this.csat, - this.tier, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class GetVendorByUserIdData { - final List vendors; - GetVendorByUserIdData.fromJson(dynamic json): - - vendors = (json['vendors'] as List) - .map((e) => GetVendorByUserIdVendors.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetVendorByUserIdData otherTyped = other as GetVendorByUserIdData; - return vendors == otherTyped.vendors; - - } - @override - int get hashCode => vendors.hashCode; - - - Map toJson() { - Map json = {}; - json['vendors'] = vendors.map((e) => e.toJson()).toList(); - return json; - } - - GetVendorByUserIdData({ - required this.vendors, - }); -} - -@immutable -class GetVendorByUserIdVariables { - final String userId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetVendorByUserIdVariables.fromJson(Map json): - - userId = nativeFromJson(json['userId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetVendorByUserIdVariables otherTyped = other as GetVendorByUserIdVariables; - return userId == otherTyped.userId; - - } - @override - int get hashCode => userId.hashCode; - - - Map toJson() { - Map json = {}; - json['userId'] = nativeToJson(userId); - return json; - } - - GetVendorByUserIdVariables({ - required this.userId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_vendor_rate_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_vendor_rate_by_id.dart deleted file mode 100644 index e436ab02..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_vendor_rate_by_id.dart +++ /dev/null @@ -1,240 +0,0 @@ -part of 'generated.dart'; - -class GetVendorRateByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetVendorRateByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetVendorRateByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetVendorRateByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetVendorRateByIdVariables vars= GetVendorRateByIdVariables(id: id,); - return _dataConnect.query("getVendorRateById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetVendorRateByIdVendorRate { - final String id; - final String vendorId; - final String? roleName; - final EnumValue? category; - final double? clientRate; - final double? employeeWage; - final double? markupPercentage; - final double? vendorFeePercentage; - final bool? isActive; - final String? notes; - final Timestamp? createdAt; - final GetVendorRateByIdVendorRateVendor vendor; - GetVendorRateByIdVendorRate.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorId = nativeFromJson(json['vendorId']), - roleName = json['roleName'] == null ? null : nativeFromJson(json['roleName']), - category = json['category'] == null ? null : categoryTypeDeserializer(json['category']), - clientRate = json['clientRate'] == null ? null : nativeFromJson(json['clientRate']), - employeeWage = json['employeeWage'] == null ? null : nativeFromJson(json['employeeWage']), - markupPercentage = json['markupPercentage'] == null ? null : nativeFromJson(json['markupPercentage']), - vendorFeePercentage = json['vendorFeePercentage'] == null ? null : nativeFromJson(json['vendorFeePercentage']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - vendor = GetVendorRateByIdVendorRateVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetVendorRateByIdVendorRate otherTyped = other as GetVendorRateByIdVendorRate; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - roleName == otherTyped.roleName && - category == otherTyped.category && - clientRate == otherTyped.clientRate && - employeeWage == otherTyped.employeeWage && - markupPercentage == otherTyped.markupPercentage && - vendorFeePercentage == otherTyped.vendorFeePercentage && - isActive == otherTyped.isActive && - notes == otherTyped.notes && - createdAt == otherTyped.createdAt && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, roleName.hashCode, category.hashCode, clientRate.hashCode, employeeWage.hashCode, markupPercentage.hashCode, vendorFeePercentage.hashCode, isActive.hashCode, notes.hashCode, createdAt.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorId'] = nativeToJson(vendorId); - if (roleName != null) { - json['roleName'] = nativeToJson(roleName); - } - if (category != null) { - json['category'] = - categoryTypeSerializer(category!) - ; - } - if (clientRate != null) { - json['clientRate'] = nativeToJson(clientRate); - } - if (employeeWage != null) { - json['employeeWage'] = nativeToJson(employeeWage); - } - if (markupPercentage != null) { - json['markupPercentage'] = nativeToJson(markupPercentage); - } - if (vendorFeePercentage != null) { - json['vendorFeePercentage'] = nativeToJson(vendorFeePercentage); - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['vendor'] = vendor.toJson(); - return json; - } - - GetVendorRateByIdVendorRate({ - required this.id, - required this.vendorId, - this.roleName, - this.category, - this.clientRate, - this.employeeWage, - this.markupPercentage, - this.vendorFeePercentage, - this.isActive, - this.notes, - this.createdAt, - required this.vendor, - }); -} - -@immutable -class GetVendorRateByIdVendorRateVendor { - final String companyName; - final String? region; - GetVendorRateByIdVendorRateVendor.fromJson(dynamic json): - - companyName = nativeFromJson(json['companyName']), - region = json['region'] == null ? null : nativeFromJson(json['region']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetVendorRateByIdVendorRateVendor otherTyped = other as GetVendorRateByIdVendorRateVendor; - return companyName == otherTyped.companyName && - region == otherTyped.region; - - } - @override - int get hashCode => Object.hashAll([companyName.hashCode, region.hashCode]); - - - Map toJson() { - Map json = {}; - json['companyName'] = nativeToJson(companyName); - if (region != null) { - json['region'] = nativeToJson(region); - } - return json; - } - - GetVendorRateByIdVendorRateVendor({ - required this.companyName, - this.region, - }); -} - -@immutable -class GetVendorRateByIdData { - final GetVendorRateByIdVendorRate? vendorRate; - GetVendorRateByIdData.fromJson(dynamic json): - - vendorRate = json['vendorRate'] == null ? null : GetVendorRateByIdVendorRate.fromJson(json['vendorRate']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetVendorRateByIdData otherTyped = other as GetVendorRateByIdData; - return vendorRate == otherTyped.vendorRate; - - } - @override - int get hashCode => vendorRate.hashCode; - - - Map toJson() { - Map json = {}; - if (vendorRate != null) { - json['vendorRate'] = vendorRate!.toJson(); - } - return json; - } - - GetVendorRateByIdData({ - this.vendorRate, - }); -} - -@immutable -class GetVendorRateByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetVendorRateByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetVendorRateByIdVariables otherTyped = other as GetVendorRateByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetVendorRateByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_workforce_by_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_workforce_by_id.dart deleted file mode 100644 index 35a8862f..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_workforce_by_id.dart +++ /dev/null @@ -1,259 +0,0 @@ -part of 'generated.dart'; - -class GetWorkforceByIdVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - GetWorkforceByIdVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => GetWorkforceByIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetWorkforceByIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetWorkforceByIdVariables vars= GetWorkforceByIdVariables(id: id,); - return _dataConnect.query("getWorkforceById", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetWorkforceByIdWorkforce { - final String id; - final String vendorId; - final String staffId; - final String workforceNumber; - final EnumValue? employmentType; - final EnumValue? status; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final GetWorkforceByIdWorkforceStaff staff; - final GetWorkforceByIdWorkforceVendor vendor; - GetWorkforceByIdWorkforce.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorId = nativeFromJson(json['vendorId']), - staffId = nativeFromJson(json['staffId']), - workforceNumber = nativeFromJson(json['workforceNumber']), - employmentType = json['employmentType'] == null ? null : workforceEmploymentTypeDeserializer(json['employmentType']), - status = json['status'] == null ? null : workforceStatusDeserializer(json['status']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - staff = GetWorkforceByIdWorkforceStaff.fromJson(json['staff']), - vendor = GetWorkforceByIdWorkforceVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetWorkforceByIdWorkforce otherTyped = other as GetWorkforceByIdWorkforce; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - staffId == otherTyped.staffId && - workforceNumber == otherTyped.workforceNumber && - employmentType == otherTyped.employmentType && - status == otherTyped.status && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - staff == otherTyped.staff && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, staffId.hashCode, workforceNumber.hashCode, employmentType.hashCode, status.hashCode, createdAt.hashCode, updatedAt.hashCode, staff.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorId'] = nativeToJson(vendorId); - json['staffId'] = nativeToJson(staffId); - json['workforceNumber'] = nativeToJson(workforceNumber); - if (employmentType != null) { - json['employmentType'] = - workforceEmploymentTypeSerializer(employmentType!) - ; - } - if (status != null) { - json['status'] = - workforceStatusSerializer(status!) - ; - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - json['staff'] = staff.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetWorkforceByIdWorkforce({ - required this.id, - required this.vendorId, - required this.staffId, - required this.workforceNumber, - this.employmentType, - this.status, - this.createdAt, - this.updatedAt, - required this.staff, - required this.vendor, - }); -} - -@immutable -class GetWorkforceByIdWorkforceStaff { - final String id; - final String fullName; - GetWorkforceByIdWorkforceStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetWorkforceByIdWorkforceStaff otherTyped = other as GetWorkforceByIdWorkforceStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - GetWorkforceByIdWorkforceStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class GetWorkforceByIdWorkforceVendor { - final String id; - final String companyName; - GetWorkforceByIdWorkforceVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetWorkforceByIdWorkforceVendor otherTyped = other as GetWorkforceByIdWorkforceVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetWorkforceByIdWorkforceVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetWorkforceByIdData { - final GetWorkforceByIdWorkforce? workforce; - GetWorkforceByIdData.fromJson(dynamic json): - - workforce = json['workforce'] == null ? null : GetWorkforceByIdWorkforce.fromJson(json['workforce']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetWorkforceByIdData otherTyped = other as GetWorkforceByIdData; - return workforce == otherTyped.workforce; - - } - @override - int get hashCode => workforce.hashCode; - - - Map toJson() { - Map json = {}; - if (workforce != null) { - json['workforce'] = workforce!.toJson(); - } - return json; - } - - GetWorkforceByIdData({ - this.workforce, - }); -} - -@immutable -class GetWorkforceByIdVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetWorkforceByIdVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetWorkforceByIdVariables otherTyped = other as GetWorkforceByIdVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - GetWorkforceByIdVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_workforce_by_vendor_and_number.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_workforce_by_vendor_and_number.dart deleted file mode 100644 index 1f4ef4a0..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_workforce_by_vendor_and_number.dart +++ /dev/null @@ -1,149 +0,0 @@ -part of 'generated.dart'; - -class GetWorkforceByVendorAndNumberVariablesBuilder { - String vendorId; - String workforceNumber; - - final FirebaseDataConnect _dataConnect; - GetWorkforceByVendorAndNumberVariablesBuilder(this._dataConnect, {required this.vendorId,required this.workforceNumber,}); - Deserializer dataDeserializer = (dynamic json) => GetWorkforceByVendorAndNumberData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetWorkforceByVendorAndNumberVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetWorkforceByVendorAndNumberVariables vars= GetWorkforceByVendorAndNumberVariables(vendorId: vendorId,workforceNumber: workforceNumber,); - return _dataConnect.query("getWorkforceByVendorAndNumber", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetWorkforceByVendorAndNumberWorkforces { - final String id; - final String staffId; - final String workforceNumber; - final EnumValue? status; - GetWorkforceByVendorAndNumberWorkforces.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - workforceNumber = nativeFromJson(json['workforceNumber']), - status = json['status'] == null ? null : workforceStatusDeserializer(json['status']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetWorkforceByVendorAndNumberWorkforces otherTyped = other as GetWorkforceByVendorAndNumberWorkforces; - return id == otherTyped.id && - staffId == otherTyped.staffId && - workforceNumber == otherTyped.workforceNumber && - status == otherTyped.status; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, workforceNumber.hashCode, status.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['workforceNumber'] = nativeToJson(workforceNumber); - if (status != null) { - json['status'] = - workforceStatusSerializer(status!) - ; - } - return json; - } - - GetWorkforceByVendorAndNumberWorkforces({ - required this.id, - required this.staffId, - required this.workforceNumber, - this.status, - }); -} - -@immutable -class GetWorkforceByVendorAndNumberData { - final List workforces; - GetWorkforceByVendorAndNumberData.fromJson(dynamic json): - - workforces = (json['workforces'] as List) - .map((e) => GetWorkforceByVendorAndNumberWorkforces.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetWorkforceByVendorAndNumberData otherTyped = other as GetWorkforceByVendorAndNumberData; - return workforces == otherTyped.workforces; - - } - @override - int get hashCode => workforces.hashCode; - - - Map toJson() { - Map json = {}; - json['workforces'] = workforces.map((e) => e.toJson()).toList(); - return json; - } - - GetWorkforceByVendorAndNumberData({ - required this.workforces, - }); -} - -@immutable -class GetWorkforceByVendorAndNumberVariables { - final String vendorId; - final String workforceNumber; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetWorkforceByVendorAndNumberVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']), - workforceNumber = nativeFromJson(json['workforceNumber']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetWorkforceByVendorAndNumberVariables otherTyped = other as GetWorkforceByVendorAndNumberVariables; - return vendorId == otherTyped.vendorId && - workforceNumber == otherTyped.workforceNumber; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, workforceNumber.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - json['workforceNumber'] = nativeToJson(workforceNumber); - return json; - } - - GetWorkforceByVendorAndNumberVariables({ - required this.vendorId, - required this.workforceNumber, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/get_workforce_by_vendor_and_staff.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/get_workforce_by_vendor_and_staff.dart deleted file mode 100644 index 6505314b..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/get_workforce_by_vendor_and_staff.dart +++ /dev/null @@ -1,265 +0,0 @@ -part of 'generated.dart'; - -class GetWorkforceByVendorAndStaffVariablesBuilder { - String vendorId; - String staffId; - - final FirebaseDataConnect _dataConnect; - GetWorkforceByVendorAndStaffVariablesBuilder(this._dataConnect, {required this.vendorId,required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => GetWorkforceByVendorAndStaffData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (GetWorkforceByVendorAndStaffVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - GetWorkforceByVendorAndStaffVariables vars= GetWorkforceByVendorAndStaffVariables(vendorId: vendorId,staffId: staffId,); - return _dataConnect.query("getWorkforceByVendorAndStaff", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class GetWorkforceByVendorAndStaffWorkforces { - final String id; - final String vendorId; - final String staffId; - final String workforceNumber; - final EnumValue? employmentType; - final EnumValue? status; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final GetWorkforceByVendorAndStaffWorkforcesStaff staff; - final GetWorkforceByVendorAndStaffWorkforcesVendor vendor; - GetWorkforceByVendorAndStaffWorkforces.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorId = nativeFromJson(json['vendorId']), - staffId = nativeFromJson(json['staffId']), - workforceNumber = nativeFromJson(json['workforceNumber']), - employmentType = json['employmentType'] == null ? null : workforceEmploymentTypeDeserializer(json['employmentType']), - status = json['status'] == null ? null : workforceStatusDeserializer(json['status']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - staff = GetWorkforceByVendorAndStaffWorkforcesStaff.fromJson(json['staff']), - vendor = GetWorkforceByVendorAndStaffWorkforcesVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetWorkforceByVendorAndStaffWorkforces otherTyped = other as GetWorkforceByVendorAndStaffWorkforces; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - staffId == otherTyped.staffId && - workforceNumber == otherTyped.workforceNumber && - employmentType == otherTyped.employmentType && - status == otherTyped.status && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - staff == otherTyped.staff && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, staffId.hashCode, workforceNumber.hashCode, employmentType.hashCode, status.hashCode, createdAt.hashCode, updatedAt.hashCode, staff.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorId'] = nativeToJson(vendorId); - json['staffId'] = nativeToJson(staffId); - json['workforceNumber'] = nativeToJson(workforceNumber); - if (employmentType != null) { - json['employmentType'] = - workforceEmploymentTypeSerializer(employmentType!) - ; - } - if (status != null) { - json['status'] = - workforceStatusSerializer(status!) - ; - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - json['staff'] = staff.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - GetWorkforceByVendorAndStaffWorkforces({ - required this.id, - required this.vendorId, - required this.staffId, - required this.workforceNumber, - this.employmentType, - this.status, - this.createdAt, - this.updatedAt, - required this.staff, - required this.vendor, - }); -} - -@immutable -class GetWorkforceByVendorAndStaffWorkforcesStaff { - final String id; - final String fullName; - GetWorkforceByVendorAndStaffWorkforcesStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetWorkforceByVendorAndStaffWorkforcesStaff otherTyped = other as GetWorkforceByVendorAndStaffWorkforcesStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - GetWorkforceByVendorAndStaffWorkforcesStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class GetWorkforceByVendorAndStaffWorkforcesVendor { - final String id; - final String companyName; - GetWorkforceByVendorAndStaffWorkforcesVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetWorkforceByVendorAndStaffWorkforcesVendor otherTyped = other as GetWorkforceByVendorAndStaffWorkforcesVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - GetWorkforceByVendorAndStaffWorkforcesVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class GetWorkforceByVendorAndStaffData { - final List workforces; - GetWorkforceByVendorAndStaffData.fromJson(dynamic json): - - workforces = (json['workforces'] as List) - .map((e) => GetWorkforceByVendorAndStaffWorkforces.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetWorkforceByVendorAndStaffData otherTyped = other as GetWorkforceByVendorAndStaffData; - return workforces == otherTyped.workforces; - - } - @override - int get hashCode => workforces.hashCode; - - - Map toJson() { - Map json = {}; - json['workforces'] = workforces.map((e) => e.toJson()).toList(); - return json; - } - - GetWorkforceByVendorAndStaffData({ - required this.workforces, - }); -} - -@immutable -class GetWorkforceByVendorAndStaffVariables { - final String vendorId; - final String staffId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - GetWorkforceByVendorAndStaffVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']), - staffId = nativeFromJson(json['staffId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final GetWorkforceByVendorAndStaffVariables otherTyped = other as GetWorkforceByVendorAndStaffVariables; - return vendorId == otherTyped.vendorId && - staffId == otherTyped.staffId; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, staffId.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - json['staffId'] = nativeToJson(staffId); - return json; - } - - GetWorkforceByVendorAndStaffVariables({ - required this.vendorId, - required this.staffId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/increment_unread_for_user.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/increment_unread_for_user.dart deleted file mode 100644 index 559f4fb9..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/increment_unread_for_user.dart +++ /dev/null @@ -1,141 +0,0 @@ -part of 'generated.dart'; - -class IncrementUnreadForUserVariablesBuilder { - String conversationId; - String userId; - int unreadCount; - - final FirebaseDataConnect _dataConnect; - IncrementUnreadForUserVariablesBuilder(this._dataConnect, {required this.conversationId,required this.userId,required this.unreadCount,}); - Deserializer dataDeserializer = (dynamic json) => IncrementUnreadForUserData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (IncrementUnreadForUserVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - IncrementUnreadForUserVariables vars= IncrementUnreadForUserVariables(conversationId: conversationId,userId: userId,unreadCount: unreadCount,); - return _dataConnect.mutation("incrementUnreadForUser", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class IncrementUnreadForUserUserConversationUpdate { - final String conversationId; - final String userId; - IncrementUnreadForUserUserConversationUpdate.fromJson(dynamic json): - - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final IncrementUnreadForUserUserConversationUpdate otherTyped = other as IncrementUnreadForUserUserConversationUpdate; - return conversationId == otherTyped.conversationId && - userId == otherTyped.userId; - - } - @override - int get hashCode => Object.hashAll([conversationId.hashCode, userId.hashCode]); - - - Map toJson() { - Map json = {}; - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - return json; - } - - IncrementUnreadForUserUserConversationUpdate({ - required this.conversationId, - required this.userId, - }); -} - -@immutable -class IncrementUnreadForUserData { - final IncrementUnreadForUserUserConversationUpdate? userConversation_update; - IncrementUnreadForUserData.fromJson(dynamic json): - - userConversation_update = json['userConversation_update'] == null ? null : IncrementUnreadForUserUserConversationUpdate.fromJson(json['userConversation_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final IncrementUnreadForUserData otherTyped = other as IncrementUnreadForUserData; - return userConversation_update == otherTyped.userConversation_update; - - } - @override - int get hashCode => userConversation_update.hashCode; - - - Map toJson() { - Map json = {}; - if (userConversation_update != null) { - json['userConversation_update'] = userConversation_update!.toJson(); - } - return json; - } - - IncrementUnreadForUserData({ - this.userConversation_update, - }); -} - -@immutable -class IncrementUnreadForUserVariables { - final String conversationId; - final String userId; - final int unreadCount; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - IncrementUnreadForUserVariables.fromJson(Map json): - - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']), - unreadCount = nativeFromJson(json['unreadCount']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final IncrementUnreadForUserVariables otherTyped = other as IncrementUnreadForUserVariables; - return conversationId == otherTyped.conversationId && - userId == otherTyped.userId && - unreadCount == otherTyped.unreadCount; - - } - @override - int get hashCode => Object.hashAll([conversationId.hashCode, userId.hashCode, unreadCount.hashCode]); - - - Map toJson() { - Map json = {}; - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - json['unreadCount'] = nativeToJson(unreadCount); - return json; - } - - IncrementUnreadForUserVariables({ - required this.conversationId, - required this.userId, - required this.unreadCount, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_accounts.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_accounts.dart deleted file mode 100644 index cb6aa7ce..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_accounts.dart +++ /dev/null @@ -1,138 +0,0 @@ -part of 'generated.dart'; - -class ListAccountsVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListAccountsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListAccountsData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listAccounts", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListAccountsAccounts { - final String id; - final String bank; - final EnumValue type; - final String last4; - final bool? isPrimary; - final String ownerId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - ListAccountsAccounts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - bank = nativeFromJson(json['bank']), - type = accountTypeDeserializer(json['type']), - last4 = nativeFromJson(json['last4']), - isPrimary = json['isPrimary'] == null ? null : nativeFromJson(json['isPrimary']), - ownerId = nativeFromJson(json['ownerId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAccountsAccounts otherTyped = other as ListAccountsAccounts; - return id == otherTyped.id && - bank == otherTyped.bank && - type == otherTyped.type && - last4 == otherTyped.last4 && - isPrimary == otherTyped.isPrimary && - ownerId == otherTyped.ownerId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, bank.hashCode, type.hashCode, last4.hashCode, isPrimary.hashCode, ownerId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['bank'] = nativeToJson(bank); - json['type'] = - accountTypeSerializer(type) - ; - json['last4'] = nativeToJson(last4); - if (isPrimary != null) { - json['isPrimary'] = nativeToJson(isPrimary); - } - json['ownerId'] = nativeToJson(ownerId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - ListAccountsAccounts({ - required this.id, - required this.bank, - required this.type, - required this.last4, - this.isPrimary, - required this.ownerId, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class ListAccountsData { - final List accounts; - ListAccountsData.fromJson(dynamic json): - - accounts = (json['accounts'] as List) - .map((e) => ListAccountsAccounts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAccountsData otherTyped = other as ListAccountsData; - return accounts == otherTyped.accounts; - - } - @override - int get hashCode => accounts.hashCode; - - - Map toJson() { - Map json = {}; - json['accounts'] = accounts.map((e) => e.toJson()).toList(); - return json; - } - - ListAccountsData({ - required this.accounts, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_active_vendor_benefit_plans_by_vendor_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_active_vendor_benefit_plans_by_vendor_id.dart deleted file mode 100644 index 3497fae5..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_active_vendor_benefit_plans_by_vendor_id.dart +++ /dev/null @@ -1,255 +0,0 @@ -part of 'generated.dart'; - -class ListActiveVendorBenefitPlansByVendorIdVariablesBuilder { - String vendorId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListActiveVendorBenefitPlansByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListActiveVendorBenefitPlansByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListActiveVendorBenefitPlansByVendorIdVariablesBuilder(this._dataConnect, {required this.vendorId,}); - Deserializer dataDeserializer = (dynamic json) => ListActiveVendorBenefitPlansByVendorIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListActiveVendorBenefitPlansByVendorIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListActiveVendorBenefitPlansByVendorIdVariables vars= ListActiveVendorBenefitPlansByVendorIdVariables(vendorId: vendorId,offset: _offset,limit: _limit,); - return _dataConnect.query("listActiveVendorBenefitPlansByVendorId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListActiveVendorBenefitPlansByVendorIdVendorBenefitPlans { - final String id; - final String vendorId; - final String title; - final String? description; - final String? requestLabel; - final int? total; - final bool? isActive; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListActiveVendorBenefitPlansByVendorIdVendorBenefitPlansVendor vendor; - ListActiveVendorBenefitPlansByVendorIdVendorBenefitPlans.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorId = nativeFromJson(json['vendorId']), - title = nativeFromJson(json['title']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - requestLabel = json['requestLabel'] == null ? null : nativeFromJson(json['requestLabel']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - vendor = ListActiveVendorBenefitPlansByVendorIdVendorBenefitPlansVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListActiveVendorBenefitPlansByVendorIdVendorBenefitPlans otherTyped = other as ListActiveVendorBenefitPlansByVendorIdVendorBenefitPlans; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - title == otherTyped.title && - description == otherTyped.description && - requestLabel == otherTyped.requestLabel && - total == otherTyped.total && - isActive == otherTyped.isActive && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, title.hashCode, description.hashCode, requestLabel.hashCode, total.hashCode, isActive.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorId'] = nativeToJson(vendorId); - json['title'] = nativeToJson(title); - if (description != null) { - json['description'] = nativeToJson(description); - } - if (requestLabel != null) { - json['requestLabel'] = nativeToJson(requestLabel); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['vendor'] = vendor.toJson(); - return json; - } - - ListActiveVendorBenefitPlansByVendorIdVendorBenefitPlans({ - required this.id, - required this.vendorId, - required this.title, - this.description, - this.requestLabel, - this.total, - this.isActive, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.vendor, - }); -} - -@immutable -class ListActiveVendorBenefitPlansByVendorIdVendorBenefitPlansVendor { - final String companyName; - ListActiveVendorBenefitPlansByVendorIdVendorBenefitPlansVendor.fromJson(dynamic json): - - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListActiveVendorBenefitPlansByVendorIdVendorBenefitPlansVendor otherTyped = other as ListActiveVendorBenefitPlansByVendorIdVendorBenefitPlansVendor; - return companyName == otherTyped.companyName; - - } - @override - int get hashCode => companyName.hashCode; - - - Map toJson() { - Map json = {}; - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListActiveVendorBenefitPlansByVendorIdVendorBenefitPlansVendor({ - required this.companyName, - }); -} - -@immutable -class ListActiveVendorBenefitPlansByVendorIdData { - final List vendorBenefitPlans; - ListActiveVendorBenefitPlansByVendorIdData.fromJson(dynamic json): - - vendorBenefitPlans = (json['vendorBenefitPlans'] as List) - .map((e) => ListActiveVendorBenefitPlansByVendorIdVendorBenefitPlans.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListActiveVendorBenefitPlansByVendorIdData otherTyped = other as ListActiveVendorBenefitPlansByVendorIdData; - return vendorBenefitPlans == otherTyped.vendorBenefitPlans; - - } - @override - int get hashCode => vendorBenefitPlans.hashCode; - - - Map toJson() { - Map json = {}; - json['vendorBenefitPlans'] = vendorBenefitPlans.map((e) => e.toJson()).toList(); - return json; - } - - ListActiveVendorBenefitPlansByVendorIdData({ - required this.vendorBenefitPlans, - }); -} - -@immutable -class ListActiveVendorBenefitPlansByVendorIdVariables { - final String vendorId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListActiveVendorBenefitPlansByVendorIdVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListActiveVendorBenefitPlansByVendorIdVariables otherTyped = other as ListActiveVendorBenefitPlansByVendorIdVariables; - return vendorId == otherTyped.vendorId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListActiveVendorBenefitPlansByVendorIdVariables({ - required this.vendorId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_activity_logs.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_activity_logs.dart deleted file mode 100644 index 9d2feac5..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_activity_logs.dart +++ /dev/null @@ -1,242 +0,0 @@ -part of 'generated.dart'; - -class ListActivityLogsVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - ListActivityLogsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListActivityLogsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListActivityLogsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListActivityLogsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListActivityLogsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListActivityLogsVariables vars= ListActivityLogsVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("listActivityLogs", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListActivityLogsActivityLogs { - final String id; - final String userId; - final Timestamp date; - final String? hourStart; - final String? hourEnd; - final String? totalhours; - final EnumValue? iconType; - final String? iconColor; - final String title; - final String description; - final bool? isRead; - final EnumValue activityType; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - ListActivityLogsActivityLogs.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - userId = nativeFromJson(json['userId']), - date = Timestamp.fromJson(json['date']), - hourStart = json['hourStart'] == null ? null : nativeFromJson(json['hourStart']), - hourEnd = json['hourEnd'] == null ? null : nativeFromJson(json['hourEnd']), - totalhours = json['totalhours'] == null ? null : nativeFromJson(json['totalhours']), - iconType = json['iconType'] == null ? null : activityIconTypeDeserializer(json['iconType']), - iconColor = json['iconColor'] == null ? null : nativeFromJson(json['iconColor']), - title = nativeFromJson(json['title']), - description = nativeFromJson(json['description']), - isRead = json['isRead'] == null ? null : nativeFromJson(json['isRead']), - activityType = activityTypeDeserializer(json['activityType']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListActivityLogsActivityLogs otherTyped = other as ListActivityLogsActivityLogs; - return id == otherTyped.id && - userId == otherTyped.userId && - date == otherTyped.date && - hourStart == otherTyped.hourStart && - hourEnd == otherTyped.hourEnd && - totalhours == otherTyped.totalhours && - iconType == otherTyped.iconType && - iconColor == otherTyped.iconColor && - title == otherTyped.title && - description == otherTyped.description && - isRead == otherTyped.isRead && - activityType == otherTyped.activityType && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, userId.hashCode, date.hashCode, hourStart.hashCode, hourEnd.hashCode, totalhours.hashCode, iconType.hashCode, iconColor.hashCode, title.hashCode, description.hashCode, isRead.hashCode, activityType.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['userId'] = nativeToJson(userId); - json['date'] = date.toJson(); - if (hourStart != null) { - json['hourStart'] = nativeToJson(hourStart); - } - if (hourEnd != null) { - json['hourEnd'] = nativeToJson(hourEnd); - } - if (totalhours != null) { - json['totalhours'] = nativeToJson(totalhours); - } - if (iconType != null) { - json['iconType'] = - activityIconTypeSerializer(iconType!) - ; - } - if (iconColor != null) { - json['iconColor'] = nativeToJson(iconColor); - } - json['title'] = nativeToJson(title); - json['description'] = nativeToJson(description); - if (isRead != null) { - json['isRead'] = nativeToJson(isRead); - } - json['activityType'] = - activityTypeSerializer(activityType) - ; - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - ListActivityLogsActivityLogs({ - required this.id, - required this.userId, - required this.date, - this.hourStart, - this.hourEnd, - this.totalhours, - this.iconType, - this.iconColor, - required this.title, - required this.description, - this.isRead, - required this.activityType, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class ListActivityLogsData { - final List activityLogs; - ListActivityLogsData.fromJson(dynamic json): - - activityLogs = (json['activityLogs'] as List) - .map((e) => ListActivityLogsActivityLogs.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListActivityLogsData otherTyped = other as ListActivityLogsData; - return activityLogs == otherTyped.activityLogs; - - } - @override - int get hashCode => activityLogs.hashCode; - - - Map toJson() { - Map json = {}; - json['activityLogs'] = activityLogs.map((e) => e.toJson()).toList(); - return json; - } - - ListActivityLogsData({ - required this.activityLogs, - }); -} - -@immutable -class ListActivityLogsVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListActivityLogsVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListActivityLogsVariables otherTyped = other as ListActivityLogsVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListActivityLogsVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_activity_logs_by_user_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_activity_logs_by_user_id.dart deleted file mode 100644 index 4ef7eb46..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_activity_logs_by_user_id.dart +++ /dev/null @@ -1,249 +0,0 @@ -part of 'generated.dart'; - -class ListActivityLogsByUserIdVariablesBuilder { - String userId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListActivityLogsByUserIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListActivityLogsByUserIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListActivityLogsByUserIdVariablesBuilder(this._dataConnect, {required this.userId,}); - Deserializer dataDeserializer = (dynamic json) => ListActivityLogsByUserIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListActivityLogsByUserIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListActivityLogsByUserIdVariables vars= ListActivityLogsByUserIdVariables(userId: userId,offset: _offset,limit: _limit,); - return _dataConnect.query("listActivityLogsByUserId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListActivityLogsByUserIdActivityLogs { - final String id; - final String userId; - final Timestamp date; - final String? hourStart; - final String? hourEnd; - final String? totalhours; - final EnumValue? iconType; - final String? iconColor; - final String title; - final String description; - final bool? isRead; - final EnumValue activityType; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - ListActivityLogsByUserIdActivityLogs.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - userId = nativeFromJson(json['userId']), - date = Timestamp.fromJson(json['date']), - hourStart = json['hourStart'] == null ? null : nativeFromJson(json['hourStart']), - hourEnd = json['hourEnd'] == null ? null : nativeFromJson(json['hourEnd']), - totalhours = json['totalhours'] == null ? null : nativeFromJson(json['totalhours']), - iconType = json['iconType'] == null ? null : activityIconTypeDeserializer(json['iconType']), - iconColor = json['iconColor'] == null ? null : nativeFromJson(json['iconColor']), - title = nativeFromJson(json['title']), - description = nativeFromJson(json['description']), - isRead = json['isRead'] == null ? null : nativeFromJson(json['isRead']), - activityType = activityTypeDeserializer(json['activityType']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListActivityLogsByUserIdActivityLogs otherTyped = other as ListActivityLogsByUserIdActivityLogs; - return id == otherTyped.id && - userId == otherTyped.userId && - date == otherTyped.date && - hourStart == otherTyped.hourStart && - hourEnd == otherTyped.hourEnd && - totalhours == otherTyped.totalhours && - iconType == otherTyped.iconType && - iconColor == otherTyped.iconColor && - title == otherTyped.title && - description == otherTyped.description && - isRead == otherTyped.isRead && - activityType == otherTyped.activityType && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, userId.hashCode, date.hashCode, hourStart.hashCode, hourEnd.hashCode, totalhours.hashCode, iconType.hashCode, iconColor.hashCode, title.hashCode, description.hashCode, isRead.hashCode, activityType.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['userId'] = nativeToJson(userId); - json['date'] = date.toJson(); - if (hourStart != null) { - json['hourStart'] = nativeToJson(hourStart); - } - if (hourEnd != null) { - json['hourEnd'] = nativeToJson(hourEnd); - } - if (totalhours != null) { - json['totalhours'] = nativeToJson(totalhours); - } - if (iconType != null) { - json['iconType'] = - activityIconTypeSerializer(iconType!) - ; - } - if (iconColor != null) { - json['iconColor'] = nativeToJson(iconColor); - } - json['title'] = nativeToJson(title); - json['description'] = nativeToJson(description); - if (isRead != null) { - json['isRead'] = nativeToJson(isRead); - } - json['activityType'] = - activityTypeSerializer(activityType) - ; - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - ListActivityLogsByUserIdActivityLogs({ - required this.id, - required this.userId, - required this.date, - this.hourStart, - this.hourEnd, - this.totalhours, - this.iconType, - this.iconColor, - required this.title, - required this.description, - this.isRead, - required this.activityType, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class ListActivityLogsByUserIdData { - final List activityLogs; - ListActivityLogsByUserIdData.fromJson(dynamic json): - - activityLogs = (json['activityLogs'] as List) - .map((e) => ListActivityLogsByUserIdActivityLogs.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListActivityLogsByUserIdData otherTyped = other as ListActivityLogsByUserIdData; - return activityLogs == otherTyped.activityLogs; - - } - @override - int get hashCode => activityLogs.hashCode; - - - Map toJson() { - Map json = {}; - json['activityLogs'] = activityLogs.map((e) => e.toJson()).toList(); - return json; - } - - ListActivityLogsByUserIdData({ - required this.activityLogs, - }); -} - -@immutable -class ListActivityLogsByUserIdVariables { - final String userId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListActivityLogsByUserIdVariables.fromJson(Map json): - - userId = nativeFromJson(json['userId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListActivityLogsByUserIdVariables otherTyped = other as ListActivityLogsByUserIdVariables; - return userId == otherTyped.userId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([userId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['userId'] = nativeToJson(userId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListActivityLogsByUserIdVariables({ - required this.userId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_applications.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_applications.dart deleted file mode 100644 index f92a46c3..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_applications.dart +++ /dev/null @@ -1,509 +0,0 @@ -part of 'generated.dart'; - -class ListApplicationsVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListApplicationsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListApplicationsData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listApplications", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListApplicationsApplications { - final String id; - final String shiftId; - final String staffId; - final EnumValue status; - final Timestamp? appliedAt; - final Timestamp? checkInTime; - final Timestamp? checkOutTime; - final EnumValue origin; - final Timestamp? createdAt; - final ListApplicationsApplicationsShift shift; - final ListApplicationsApplicationsShiftRole shiftRole; - ListApplicationsApplications.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - shiftId = nativeFromJson(json['shiftId']), - staffId = nativeFromJson(json['staffId']), - status = applicationStatusDeserializer(json['status']), - appliedAt = json['appliedAt'] == null ? null : Timestamp.fromJson(json['appliedAt']), - checkInTime = json['checkInTime'] == null ? null : Timestamp.fromJson(json['checkInTime']), - checkOutTime = json['checkOutTime'] == null ? null : Timestamp.fromJson(json['checkOutTime']), - origin = applicationOriginDeserializer(json['origin']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - shift = ListApplicationsApplicationsShift.fromJson(json['shift']), - shiftRole = ListApplicationsApplicationsShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsApplications otherTyped = other as ListApplicationsApplications; - return id == otherTyped.id && - shiftId == otherTyped.shiftId && - staffId == otherTyped.staffId && - status == otherTyped.status && - appliedAt == otherTyped.appliedAt && - checkInTime == otherTyped.checkInTime && - checkOutTime == otherTyped.checkOutTime && - origin == otherTyped.origin && - createdAt == otherTyped.createdAt && - shift == otherTyped.shift && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftId.hashCode, staffId.hashCode, status.hashCode, appliedAt.hashCode, checkInTime.hashCode, checkOutTime.hashCode, origin.hashCode, createdAt.hashCode, shift.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['shiftId'] = nativeToJson(shiftId); - json['staffId'] = nativeToJson(staffId); - json['status'] = - applicationStatusSerializer(status) - ; - if (appliedAt != null) { - json['appliedAt'] = appliedAt!.toJson(); - } - if (checkInTime != null) { - json['checkInTime'] = checkInTime!.toJson(); - } - if (checkOutTime != null) { - json['checkOutTime'] = checkOutTime!.toJson(); - } - json['origin'] = - applicationOriginSerializer(origin) - ; - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['shift'] = shift.toJson(); - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - ListApplicationsApplications({ - required this.id, - required this.shiftId, - required this.staffId, - required this.status, - this.appliedAt, - this.checkInTime, - this.checkOutTime, - required this.origin, - this.createdAt, - required this.shift, - required this.shiftRole, - }); -} - -@immutable -class ListApplicationsApplicationsShift { - final String id; - final String title; - final Timestamp? date; - final Timestamp? startTime; - final Timestamp? endTime; - final String? location; - final EnumValue? status; - final ListApplicationsApplicationsShiftOrder order; - ListApplicationsApplicationsShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']), - order = ListApplicationsApplicationsShiftOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsApplicationsShift otherTyped = other as ListApplicationsApplicationsShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - location == otherTyped.location && - status == otherTyped.status && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, startTime.hashCode, endTime.hashCode, location.hashCode, status.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - json['order'] = order.toJson(); - return json; - } - - ListApplicationsApplicationsShift({ - required this.id, - required this.title, - this.date, - this.startTime, - this.endTime, - this.location, - this.status, - required this.order, - }); -} - -@immutable -class ListApplicationsApplicationsShiftOrder { - final String id; - final String? eventName; - final String? location; - final ListApplicationsApplicationsShiftOrderBusiness business; - final ListApplicationsApplicationsShiftOrderVendor vendor; - ListApplicationsApplicationsShiftOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - business = ListApplicationsApplicationsShiftOrderBusiness.fromJson(json['business']), - vendor = ListApplicationsApplicationsShiftOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsApplicationsShiftOrder otherTyped = other as ListApplicationsApplicationsShiftOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - location == otherTyped.location && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, location.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - ListApplicationsApplicationsShiftOrder({ - required this.id, - this.eventName, - this.location, - required this.business, - required this.vendor, - }); -} - -@immutable -class ListApplicationsApplicationsShiftOrderBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - ListApplicationsApplicationsShiftOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsApplicationsShiftOrderBusiness otherTyped = other as ListApplicationsApplicationsShiftOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - ListApplicationsApplicationsShiftOrderBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class ListApplicationsApplicationsShiftOrderVendor { - final String id; - final String companyName; - ListApplicationsApplicationsShiftOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsApplicationsShiftOrderVendor otherTyped = other as ListApplicationsApplicationsShiftOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListApplicationsApplicationsShiftOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListApplicationsApplicationsShiftRole { - final String id; - final String roleId; - final int count; - final int? assigned; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final double? totalValue; - final ListApplicationsApplicationsShiftRoleRole role; - ListApplicationsApplicationsShiftRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - roleId = nativeFromJson(json['roleId']), - count = nativeFromJson(json['count']), - assigned = json['assigned'] == null ? null : nativeFromJson(json['assigned']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - role = ListApplicationsApplicationsShiftRoleRole.fromJson(json['role']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsApplicationsShiftRole otherTyped = other as ListApplicationsApplicationsShiftRole; - return id == otherTyped.id && - roleId == otherTyped.roleId && - count == otherTyped.count && - assigned == otherTyped.assigned && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - role == otherTyped.role; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, roleId.hashCode, count.hashCode, assigned.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, totalValue.hashCode, role.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['roleId'] = nativeToJson(roleId); - json['count'] = nativeToJson(count); - if (assigned != null) { - json['assigned'] = nativeToJson(assigned); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - json['role'] = role.toJson(); - return json; - } - - ListApplicationsApplicationsShiftRole({ - required this.id, - required this.roleId, - required this.count, - this.assigned, - this.startTime, - this.endTime, - this.hours, - this.totalValue, - required this.role, - }); -} - -@immutable -class ListApplicationsApplicationsShiftRoleRole { - final String id; - final String name; - final double costPerHour; - ListApplicationsApplicationsShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsApplicationsShiftRoleRole otherTyped = other as ListApplicationsApplicationsShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListApplicationsApplicationsShiftRoleRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class ListApplicationsData { - final List applications; - ListApplicationsData.fromJson(dynamic json): - - applications = (json['applications'] as List) - .map((e) => ListApplicationsApplications.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsData otherTyped = other as ListApplicationsData; - return applications == otherTyped.applications; - - } - @override - int get hashCode => applications.hashCode; - - - Map toJson() { - Map json = {}; - json['applications'] = applications.map((e) => e.toJson()).toList(); - return json; - } - - ListApplicationsData({ - required this.applications, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_applications_for_coverage.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_applications_for_coverage.dart deleted file mode 100644 index 150fd861..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_applications_for_coverage.dart +++ /dev/null @@ -1,143 +0,0 @@ -part of 'generated.dart'; - -class ListApplicationsForCoverageVariablesBuilder { - List shiftIds; - - final FirebaseDataConnect _dataConnect; - ListApplicationsForCoverageVariablesBuilder(this._dataConnect, {required this.shiftIds,}); - Deserializer dataDeserializer = (dynamic json) => ListApplicationsForCoverageData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListApplicationsForCoverageVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListApplicationsForCoverageVariables vars= ListApplicationsForCoverageVariables(shiftIds: shiftIds,); - return _dataConnect.query("listApplicationsForCoverage", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListApplicationsForCoverageApplications { - final String id; - final String shiftId; - final String staffId; - final EnumValue status; - ListApplicationsForCoverageApplications.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - shiftId = nativeFromJson(json['shiftId']), - staffId = nativeFromJson(json['staffId']), - status = applicationStatusDeserializer(json['status']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsForCoverageApplications otherTyped = other as ListApplicationsForCoverageApplications; - return id == otherTyped.id && - shiftId == otherTyped.shiftId && - staffId == otherTyped.staffId && - status == otherTyped.status; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftId.hashCode, staffId.hashCode, status.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['shiftId'] = nativeToJson(shiftId); - json['staffId'] = nativeToJson(staffId); - json['status'] = - applicationStatusSerializer(status) - ; - return json; - } - - ListApplicationsForCoverageApplications({ - required this.id, - required this.shiftId, - required this.staffId, - required this.status, - }); -} - -@immutable -class ListApplicationsForCoverageData { - final List applications; - ListApplicationsForCoverageData.fromJson(dynamic json): - - applications = (json['applications'] as List) - .map((e) => ListApplicationsForCoverageApplications.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsForCoverageData otherTyped = other as ListApplicationsForCoverageData; - return applications == otherTyped.applications; - - } - @override - int get hashCode => applications.hashCode; - - - Map toJson() { - Map json = {}; - json['applications'] = applications.map((e) => e.toJson()).toList(); - return json; - } - - ListApplicationsForCoverageData({ - required this.applications, - }); -} - -@immutable -class ListApplicationsForCoverageVariables { - final List shiftIds; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListApplicationsForCoverageVariables.fromJson(Map json): - - shiftIds = (json['shiftIds'] as List) - .map((e) => nativeFromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsForCoverageVariables otherTyped = other as ListApplicationsForCoverageVariables; - return shiftIds == otherTyped.shiftIds; - - } - @override - int get hashCode => shiftIds.hashCode; - - - Map toJson() { - Map json = {}; - json['shiftIds'] = shiftIds.map((e) => nativeToJson(e)).toList(); - return json; - } - - ListApplicationsForCoverageVariables({ - required this.shiftIds, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_applications_for_daily_ops.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_applications_for_daily_ops.dart deleted file mode 100644 index c64a0110..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_applications_for_daily_ops.dart +++ /dev/null @@ -1,157 +0,0 @@ -part of 'generated.dart'; - -class ListApplicationsForDailyOpsVariablesBuilder { - List shiftIds; - - final FirebaseDataConnect _dataConnect; - ListApplicationsForDailyOpsVariablesBuilder(this._dataConnect, {required this.shiftIds,}); - Deserializer dataDeserializer = (dynamic json) => ListApplicationsForDailyOpsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListApplicationsForDailyOpsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListApplicationsForDailyOpsVariables vars= ListApplicationsForDailyOpsVariables(shiftIds: shiftIds,); - return _dataConnect.query("listApplicationsForDailyOps", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListApplicationsForDailyOpsApplications { - final String id; - final String shiftId; - final String staffId; - final EnumValue status; - final Timestamp? checkInTime; - final Timestamp? checkOutTime; - ListApplicationsForDailyOpsApplications.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - shiftId = nativeFromJson(json['shiftId']), - staffId = nativeFromJson(json['staffId']), - status = applicationStatusDeserializer(json['status']), - checkInTime = json['checkInTime'] == null ? null : Timestamp.fromJson(json['checkInTime']), - checkOutTime = json['checkOutTime'] == null ? null : Timestamp.fromJson(json['checkOutTime']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsForDailyOpsApplications otherTyped = other as ListApplicationsForDailyOpsApplications; - return id == otherTyped.id && - shiftId == otherTyped.shiftId && - staffId == otherTyped.staffId && - status == otherTyped.status && - checkInTime == otherTyped.checkInTime && - checkOutTime == otherTyped.checkOutTime; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftId.hashCode, staffId.hashCode, status.hashCode, checkInTime.hashCode, checkOutTime.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['shiftId'] = nativeToJson(shiftId); - json['staffId'] = nativeToJson(staffId); - json['status'] = - applicationStatusSerializer(status) - ; - if (checkInTime != null) { - json['checkInTime'] = checkInTime!.toJson(); - } - if (checkOutTime != null) { - json['checkOutTime'] = checkOutTime!.toJson(); - } - return json; - } - - ListApplicationsForDailyOpsApplications({ - required this.id, - required this.shiftId, - required this.staffId, - required this.status, - this.checkInTime, - this.checkOutTime, - }); -} - -@immutable -class ListApplicationsForDailyOpsData { - final List applications; - ListApplicationsForDailyOpsData.fromJson(dynamic json): - - applications = (json['applications'] as List) - .map((e) => ListApplicationsForDailyOpsApplications.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsForDailyOpsData otherTyped = other as ListApplicationsForDailyOpsData; - return applications == otherTyped.applications; - - } - @override - int get hashCode => applications.hashCode; - - - Map toJson() { - Map json = {}; - json['applications'] = applications.map((e) => e.toJson()).toList(); - return json; - } - - ListApplicationsForDailyOpsData({ - required this.applications, - }); -} - -@immutable -class ListApplicationsForDailyOpsVariables { - final List shiftIds; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListApplicationsForDailyOpsVariables.fromJson(Map json): - - shiftIds = (json['shiftIds'] as List) - .map((e) => nativeFromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsForDailyOpsVariables otherTyped = other as ListApplicationsForDailyOpsVariables; - return shiftIds == otherTyped.shiftIds; - - } - @override - int get hashCode => shiftIds.hashCode; - - - Map toJson() { - Map json = {}; - json['shiftIds'] = shiftIds.map((e) => nativeToJson(e)).toList(); - return json; - } - - ListApplicationsForDailyOpsVariables({ - required this.shiftIds, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_applications_for_no_show_range.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_applications_for_no_show_range.dart deleted file mode 100644 index e1c51a64..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_applications_for_no_show_range.dart +++ /dev/null @@ -1,143 +0,0 @@ -part of 'generated.dart'; - -class ListApplicationsForNoShowRangeVariablesBuilder { - List shiftIds; - - final FirebaseDataConnect _dataConnect; - ListApplicationsForNoShowRangeVariablesBuilder(this._dataConnect, {required this.shiftIds,}); - Deserializer dataDeserializer = (dynamic json) => ListApplicationsForNoShowRangeData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListApplicationsForNoShowRangeVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListApplicationsForNoShowRangeVariables vars= ListApplicationsForNoShowRangeVariables(shiftIds: shiftIds,); - return _dataConnect.query("listApplicationsForNoShowRange", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListApplicationsForNoShowRangeApplications { - final String id; - final String shiftId; - final String staffId; - final EnumValue status; - ListApplicationsForNoShowRangeApplications.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - shiftId = nativeFromJson(json['shiftId']), - staffId = nativeFromJson(json['staffId']), - status = applicationStatusDeserializer(json['status']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsForNoShowRangeApplications otherTyped = other as ListApplicationsForNoShowRangeApplications; - return id == otherTyped.id && - shiftId == otherTyped.shiftId && - staffId == otherTyped.staffId && - status == otherTyped.status; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftId.hashCode, staffId.hashCode, status.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['shiftId'] = nativeToJson(shiftId); - json['staffId'] = nativeToJson(staffId); - json['status'] = - applicationStatusSerializer(status) - ; - return json; - } - - ListApplicationsForNoShowRangeApplications({ - required this.id, - required this.shiftId, - required this.staffId, - required this.status, - }); -} - -@immutable -class ListApplicationsForNoShowRangeData { - final List applications; - ListApplicationsForNoShowRangeData.fromJson(dynamic json): - - applications = (json['applications'] as List) - .map((e) => ListApplicationsForNoShowRangeApplications.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsForNoShowRangeData otherTyped = other as ListApplicationsForNoShowRangeData; - return applications == otherTyped.applications; - - } - @override - int get hashCode => applications.hashCode; - - - Map toJson() { - Map json = {}; - json['applications'] = applications.map((e) => e.toJson()).toList(); - return json; - } - - ListApplicationsForNoShowRangeData({ - required this.applications, - }); -} - -@immutable -class ListApplicationsForNoShowRangeVariables { - final List shiftIds; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListApplicationsForNoShowRangeVariables.fromJson(Map json): - - shiftIds = (json['shiftIds'] as List) - .map((e) => nativeFromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsForNoShowRangeVariables otherTyped = other as ListApplicationsForNoShowRangeVariables; - return shiftIds == otherTyped.shiftIds; - - } - @override - int get hashCode => shiftIds.hashCode; - - - Map toJson() { - Map json = {}; - json['shiftIds'] = shiftIds.map((e) => nativeToJson(e)).toList(); - return json; - } - - ListApplicationsForNoShowRangeVariables({ - required this.shiftIds, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_applications_for_performance.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_applications_for_performance.dart deleted file mode 100644 index 6a2c7d27..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_applications_for_performance.dart +++ /dev/null @@ -1,157 +0,0 @@ -part of 'generated.dart'; - -class ListApplicationsForPerformanceVariablesBuilder { - List shiftIds; - - final FirebaseDataConnect _dataConnect; - ListApplicationsForPerformanceVariablesBuilder(this._dataConnect, {required this.shiftIds,}); - Deserializer dataDeserializer = (dynamic json) => ListApplicationsForPerformanceData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListApplicationsForPerformanceVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListApplicationsForPerformanceVariables vars= ListApplicationsForPerformanceVariables(shiftIds: shiftIds,); - return _dataConnect.query("listApplicationsForPerformance", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListApplicationsForPerformanceApplications { - final String id; - final String shiftId; - final String staffId; - final EnumValue status; - final Timestamp? checkInTime; - final Timestamp? checkOutTime; - ListApplicationsForPerformanceApplications.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - shiftId = nativeFromJson(json['shiftId']), - staffId = nativeFromJson(json['staffId']), - status = applicationStatusDeserializer(json['status']), - checkInTime = json['checkInTime'] == null ? null : Timestamp.fromJson(json['checkInTime']), - checkOutTime = json['checkOutTime'] == null ? null : Timestamp.fromJson(json['checkOutTime']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsForPerformanceApplications otherTyped = other as ListApplicationsForPerformanceApplications; - return id == otherTyped.id && - shiftId == otherTyped.shiftId && - staffId == otherTyped.staffId && - status == otherTyped.status && - checkInTime == otherTyped.checkInTime && - checkOutTime == otherTyped.checkOutTime; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftId.hashCode, staffId.hashCode, status.hashCode, checkInTime.hashCode, checkOutTime.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['shiftId'] = nativeToJson(shiftId); - json['staffId'] = nativeToJson(staffId); - json['status'] = - applicationStatusSerializer(status) - ; - if (checkInTime != null) { - json['checkInTime'] = checkInTime!.toJson(); - } - if (checkOutTime != null) { - json['checkOutTime'] = checkOutTime!.toJson(); - } - return json; - } - - ListApplicationsForPerformanceApplications({ - required this.id, - required this.shiftId, - required this.staffId, - required this.status, - this.checkInTime, - this.checkOutTime, - }); -} - -@immutable -class ListApplicationsForPerformanceData { - final List applications; - ListApplicationsForPerformanceData.fromJson(dynamic json): - - applications = (json['applications'] as List) - .map((e) => ListApplicationsForPerformanceApplications.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsForPerformanceData otherTyped = other as ListApplicationsForPerformanceData; - return applications == otherTyped.applications; - - } - @override - int get hashCode => applications.hashCode; - - - Map toJson() { - Map json = {}; - json['applications'] = applications.map((e) => e.toJson()).toList(); - return json; - } - - ListApplicationsForPerformanceData({ - required this.applications, - }); -} - -@immutable -class ListApplicationsForPerformanceVariables { - final List shiftIds; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListApplicationsForPerformanceVariables.fromJson(Map json): - - shiftIds = (json['shiftIds'] as List) - .map((e) => nativeFromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListApplicationsForPerformanceVariables otherTyped = other as ListApplicationsForPerformanceVariables; - return shiftIds == otherTyped.shiftIds; - - } - @override - int get hashCode => shiftIds.hashCode; - - - Map toJson() { - Map json = {}; - json['shiftIds'] = shiftIds.map((e) => nativeToJson(e)).toList(); - return json; - } - - ListApplicationsForPerformanceVariables({ - required this.shiftIds, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_assignments.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_assignments.dart deleted file mode 100644 index 71c2f662..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_assignments.dart +++ /dev/null @@ -1,625 +0,0 @@ -part of 'generated.dart'; - -class ListAssignmentsVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - ListAssignmentsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListAssignmentsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListAssignmentsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListAssignmentsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListAssignmentsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListAssignmentsVariables vars= ListAssignmentsVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("listAssignments", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListAssignmentsAssignments { - final String id; - final String? title; - final EnumValue? status; - final Timestamp? createdAt; - final ListAssignmentsAssignmentsWorkforce workforce; - final ListAssignmentsAssignmentsShiftRole shiftRole; - ListAssignmentsAssignments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = json['title'] == null ? null : nativeFromJson(json['title']), - status = json['status'] == null ? null : assignmentStatusDeserializer(json['status']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - workforce = ListAssignmentsAssignmentsWorkforce.fromJson(json['workforce']), - shiftRole = ListAssignmentsAssignmentsShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsAssignments otherTyped = other as ListAssignmentsAssignments; - return id == otherTyped.id && - title == otherTyped.title && - status == otherTyped.status && - createdAt == otherTyped.createdAt && - workforce == otherTyped.workforce && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, status.hashCode, createdAt.hashCode, workforce.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (title != null) { - json['title'] = nativeToJson(title); - } - if (status != null) { - json['status'] = - assignmentStatusSerializer(status!) - ; - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['workforce'] = workforce.toJson(); - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - ListAssignmentsAssignments({ - required this.id, - this.title, - this.status, - this.createdAt, - required this.workforce, - required this.shiftRole, - }); -} - -@immutable -class ListAssignmentsAssignmentsWorkforce { - final String id; - final String workforceNumber; - final ListAssignmentsAssignmentsWorkforceStaff staff; - ListAssignmentsAssignmentsWorkforce.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - workforceNumber = nativeFromJson(json['workforceNumber']), - staff = ListAssignmentsAssignmentsWorkforceStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsAssignmentsWorkforce otherTyped = other as ListAssignmentsAssignmentsWorkforce; - return id == otherTyped.id && - workforceNumber == otherTyped.workforceNumber && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workforceNumber.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['workforceNumber'] = nativeToJson(workforceNumber); - json['staff'] = staff.toJson(); - return json; - } - - ListAssignmentsAssignmentsWorkforce({ - required this.id, - required this.workforceNumber, - required this.staff, - }); -} - -@immutable -class ListAssignmentsAssignmentsWorkforceStaff { - final String id; - final String fullName; - ListAssignmentsAssignmentsWorkforceStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsAssignmentsWorkforceStaff otherTyped = other as ListAssignmentsAssignmentsWorkforceStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - ListAssignmentsAssignmentsWorkforceStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class ListAssignmentsAssignmentsShiftRole { - final String id; - final int count; - final int? assigned; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final double? totalValue; - final ListAssignmentsAssignmentsShiftRoleRole role; - final ListAssignmentsAssignmentsShiftRoleShift shift; - ListAssignmentsAssignmentsShiftRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - count = nativeFromJson(json['count']), - assigned = json['assigned'] == null ? null : nativeFromJson(json['assigned']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - role = ListAssignmentsAssignmentsShiftRoleRole.fromJson(json['role']), - shift = ListAssignmentsAssignmentsShiftRoleShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsAssignmentsShiftRole otherTyped = other as ListAssignmentsAssignmentsShiftRole; - return id == otherTyped.id && - count == otherTyped.count && - assigned == otherTyped.assigned && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, count.hashCode, assigned.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, totalValue.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['count'] = nativeToJson(count); - if (assigned != null) { - json['assigned'] = nativeToJson(assigned); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - ListAssignmentsAssignmentsShiftRole({ - required this.id, - required this.count, - this.assigned, - this.startTime, - this.endTime, - this.hours, - this.totalValue, - required this.role, - required this.shift, - }); -} - -@immutable -class ListAssignmentsAssignmentsShiftRoleRole { - final String id; - final String name; - final double costPerHour; - ListAssignmentsAssignmentsShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsAssignmentsShiftRoleRole otherTyped = other as ListAssignmentsAssignmentsShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListAssignmentsAssignmentsShiftRoleRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class ListAssignmentsAssignmentsShiftRoleShift { - final String id; - final String title; - final Timestamp? date; - final String? location; - final String? locationAddress; - final double? latitude; - final double? longitude; - final EnumValue? status; - final ListAssignmentsAssignmentsShiftRoleShiftOrder order; - ListAssignmentsAssignmentsShiftRoleShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']), - latitude = json['latitude'] == null ? null : nativeFromJson(json['latitude']), - longitude = json['longitude'] == null ? null : nativeFromJson(json['longitude']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']), - order = ListAssignmentsAssignmentsShiftRoleShiftOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsAssignmentsShiftRoleShift otherTyped = other as ListAssignmentsAssignmentsShiftRoleShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - latitude == otherTyped.latitude && - longitude == otherTyped.longitude && - status == otherTyped.status && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, location.hashCode, locationAddress.hashCode, latitude.hashCode, longitude.hashCode, status.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - if (latitude != null) { - json['latitude'] = nativeToJson(latitude); - } - if (longitude != null) { - json['longitude'] = nativeToJson(longitude); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - json['order'] = order.toJson(); - return json; - } - - ListAssignmentsAssignmentsShiftRoleShift({ - required this.id, - required this.title, - this.date, - this.location, - this.locationAddress, - this.latitude, - this.longitude, - this.status, - required this.order, - }); -} - -@immutable -class ListAssignmentsAssignmentsShiftRoleShiftOrder { - final String id; - final String? eventName; - final ListAssignmentsAssignmentsShiftRoleShiftOrderBusiness business; - final ListAssignmentsAssignmentsShiftRoleShiftOrderVendor vendor; - ListAssignmentsAssignmentsShiftRoleShiftOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - business = ListAssignmentsAssignmentsShiftRoleShiftOrderBusiness.fromJson(json['business']), - vendor = ListAssignmentsAssignmentsShiftRoleShiftOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsAssignmentsShiftRoleShiftOrder otherTyped = other as ListAssignmentsAssignmentsShiftRoleShiftOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - ListAssignmentsAssignmentsShiftRoleShiftOrder({ - required this.id, - this.eventName, - required this.business, - required this.vendor, - }); -} - -@immutable -class ListAssignmentsAssignmentsShiftRoleShiftOrderBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - ListAssignmentsAssignmentsShiftRoleShiftOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsAssignmentsShiftRoleShiftOrderBusiness otherTyped = other as ListAssignmentsAssignmentsShiftRoleShiftOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - ListAssignmentsAssignmentsShiftRoleShiftOrderBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class ListAssignmentsAssignmentsShiftRoleShiftOrderVendor { - final String id; - final String companyName; - ListAssignmentsAssignmentsShiftRoleShiftOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsAssignmentsShiftRoleShiftOrderVendor otherTyped = other as ListAssignmentsAssignmentsShiftRoleShiftOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListAssignmentsAssignmentsShiftRoleShiftOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListAssignmentsData { - final List assignments; - ListAssignmentsData.fromJson(dynamic json): - - assignments = (json['assignments'] as List) - .map((e) => ListAssignmentsAssignments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsData otherTyped = other as ListAssignmentsData; - return assignments == otherTyped.assignments; - - } - @override - int get hashCode => assignments.hashCode; - - - Map toJson() { - Map json = {}; - json['assignments'] = assignments.map((e) => e.toJson()).toList(); - return json; - } - - ListAssignmentsData({ - required this.assignments, - }); -} - -@immutable -class ListAssignmentsVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListAssignmentsVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsVariables otherTyped = other as ListAssignmentsVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListAssignmentsVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_assignments_by_shift_role.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_assignments_by_shift_role.dart deleted file mode 100644 index 8c057dab..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_assignments_by_shift_role.dart +++ /dev/null @@ -1,275 +0,0 @@ -part of 'generated.dart'; - -class ListAssignmentsByShiftRoleVariablesBuilder { - String shiftId; - String roleId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListAssignmentsByShiftRoleVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListAssignmentsByShiftRoleVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListAssignmentsByShiftRoleVariablesBuilder(this._dataConnect, {required this.shiftId,required this.roleId,}); - Deserializer dataDeserializer = (dynamic json) => ListAssignmentsByShiftRoleData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListAssignmentsByShiftRoleVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListAssignmentsByShiftRoleVariables vars= ListAssignmentsByShiftRoleVariables(shiftId: shiftId,roleId: roleId,offset: _offset,limit: _limit,); - return _dataConnect.query("listAssignmentsByShiftRole", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListAssignmentsByShiftRoleAssignments { - final String id; - final String? title; - final EnumValue? status; - final Timestamp? createdAt; - final ListAssignmentsByShiftRoleAssignmentsWorkforce workforce; - ListAssignmentsByShiftRoleAssignments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = json['title'] == null ? null : nativeFromJson(json['title']), - status = json['status'] == null ? null : assignmentStatusDeserializer(json['status']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - workforce = ListAssignmentsByShiftRoleAssignmentsWorkforce.fromJson(json['workforce']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByShiftRoleAssignments otherTyped = other as ListAssignmentsByShiftRoleAssignments; - return id == otherTyped.id && - title == otherTyped.title && - status == otherTyped.status && - createdAt == otherTyped.createdAt && - workforce == otherTyped.workforce; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, status.hashCode, createdAt.hashCode, workforce.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (title != null) { - json['title'] = nativeToJson(title); - } - if (status != null) { - json['status'] = - assignmentStatusSerializer(status!) - ; - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['workforce'] = workforce.toJson(); - return json; - } - - ListAssignmentsByShiftRoleAssignments({ - required this.id, - this.title, - this.status, - this.createdAt, - required this.workforce, - }); -} - -@immutable -class ListAssignmentsByShiftRoleAssignmentsWorkforce { - final String id; - final String workforceNumber; - final ListAssignmentsByShiftRoleAssignmentsWorkforceStaff staff; - ListAssignmentsByShiftRoleAssignmentsWorkforce.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - workforceNumber = nativeFromJson(json['workforceNumber']), - staff = ListAssignmentsByShiftRoleAssignmentsWorkforceStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByShiftRoleAssignmentsWorkforce otherTyped = other as ListAssignmentsByShiftRoleAssignmentsWorkforce; - return id == otherTyped.id && - workforceNumber == otherTyped.workforceNumber && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workforceNumber.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['workforceNumber'] = nativeToJson(workforceNumber); - json['staff'] = staff.toJson(); - return json; - } - - ListAssignmentsByShiftRoleAssignmentsWorkforce({ - required this.id, - required this.workforceNumber, - required this.staff, - }); -} - -@immutable -class ListAssignmentsByShiftRoleAssignmentsWorkforceStaff { - final String id; - final String fullName; - ListAssignmentsByShiftRoleAssignmentsWorkforceStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByShiftRoleAssignmentsWorkforceStaff otherTyped = other as ListAssignmentsByShiftRoleAssignmentsWorkforceStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - ListAssignmentsByShiftRoleAssignmentsWorkforceStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class ListAssignmentsByShiftRoleData { - final List assignments; - ListAssignmentsByShiftRoleData.fromJson(dynamic json): - - assignments = (json['assignments'] as List) - .map((e) => ListAssignmentsByShiftRoleAssignments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByShiftRoleData otherTyped = other as ListAssignmentsByShiftRoleData; - return assignments == otherTyped.assignments; - - } - @override - int get hashCode => assignments.hashCode; - - - Map toJson() { - Map json = {}; - json['assignments'] = assignments.map((e) => e.toJson()).toList(); - return json; - } - - ListAssignmentsByShiftRoleData({ - required this.assignments, - }); -} - -@immutable -class ListAssignmentsByShiftRoleVariables { - final String shiftId; - final String roleId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListAssignmentsByShiftRoleVariables.fromJson(Map json): - - shiftId = nativeFromJson(json['shiftId']), - roleId = nativeFromJson(json['roleId']) { - - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByShiftRoleVariables otherTyped = other as ListAssignmentsByShiftRoleVariables; - return shiftId == otherTyped.shiftId && - roleId == otherTyped.roleId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([shiftId.hashCode, roleId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['shiftId'] = nativeToJson(shiftId); - json['roleId'] = nativeToJson(roleId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListAssignmentsByShiftRoleVariables({ - required this.shiftId, - required this.roleId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_assignments_by_workforce_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_assignments_by_workforce_id.dart deleted file mode 100644 index 85eb0fb5..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_assignments_by_workforce_id.dart +++ /dev/null @@ -1,585 +0,0 @@ -part of 'generated.dart'; - -class ListAssignmentsByWorkforceIdVariablesBuilder { - String workforceId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListAssignmentsByWorkforceIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListAssignmentsByWorkforceIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListAssignmentsByWorkforceIdVariablesBuilder(this._dataConnect, {required this.workforceId,}); - Deserializer dataDeserializer = (dynamic json) => ListAssignmentsByWorkforceIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListAssignmentsByWorkforceIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListAssignmentsByWorkforceIdVariables vars= ListAssignmentsByWorkforceIdVariables(workforceId: workforceId,offset: _offset,limit: _limit,); - return _dataConnect.query("listAssignmentsByWorkforceId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListAssignmentsByWorkforceIdAssignments { - final String id; - final String? title; - final EnumValue? status; - final Timestamp? createdAt; - final ListAssignmentsByWorkforceIdAssignmentsWorkforce workforce; - final ListAssignmentsByWorkforceIdAssignmentsShiftRole shiftRole; - ListAssignmentsByWorkforceIdAssignments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = json['title'] == null ? null : nativeFromJson(json['title']), - status = json['status'] == null ? null : assignmentStatusDeserializer(json['status']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - workforce = ListAssignmentsByWorkforceIdAssignmentsWorkforce.fromJson(json['workforce']), - shiftRole = ListAssignmentsByWorkforceIdAssignmentsShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdAssignments otherTyped = other as ListAssignmentsByWorkforceIdAssignments; - return id == otherTyped.id && - title == otherTyped.title && - status == otherTyped.status && - createdAt == otherTyped.createdAt && - workforce == otherTyped.workforce && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, status.hashCode, createdAt.hashCode, workforce.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (title != null) { - json['title'] = nativeToJson(title); - } - if (status != null) { - json['status'] = - assignmentStatusSerializer(status!) - ; - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['workforce'] = workforce.toJson(); - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - ListAssignmentsByWorkforceIdAssignments({ - required this.id, - this.title, - this.status, - this.createdAt, - required this.workforce, - required this.shiftRole, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdAssignmentsWorkforce { - final String id; - final String workforceNumber; - final ListAssignmentsByWorkforceIdAssignmentsWorkforceStaff staff; - ListAssignmentsByWorkforceIdAssignmentsWorkforce.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - workforceNumber = nativeFromJson(json['workforceNumber']), - staff = ListAssignmentsByWorkforceIdAssignmentsWorkforceStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdAssignmentsWorkforce otherTyped = other as ListAssignmentsByWorkforceIdAssignmentsWorkforce; - return id == otherTyped.id && - workforceNumber == otherTyped.workforceNumber && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workforceNumber.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['workforceNumber'] = nativeToJson(workforceNumber); - json['staff'] = staff.toJson(); - return json; - } - - ListAssignmentsByWorkforceIdAssignmentsWorkforce({ - required this.id, - required this.workforceNumber, - required this.staff, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdAssignmentsWorkforceStaff { - final String id; - final String fullName; - ListAssignmentsByWorkforceIdAssignmentsWorkforceStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdAssignmentsWorkforceStaff otherTyped = other as ListAssignmentsByWorkforceIdAssignmentsWorkforceStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - ListAssignmentsByWorkforceIdAssignmentsWorkforceStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdAssignmentsShiftRole { - final String id; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final double? totalValue; - final ListAssignmentsByWorkforceIdAssignmentsShiftRoleRole role; - final ListAssignmentsByWorkforceIdAssignmentsShiftRoleShift shift; - ListAssignmentsByWorkforceIdAssignmentsShiftRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - role = ListAssignmentsByWorkforceIdAssignmentsShiftRoleRole.fromJson(json['role']), - shift = ListAssignmentsByWorkforceIdAssignmentsShiftRoleShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdAssignmentsShiftRole otherTyped = other as ListAssignmentsByWorkforceIdAssignmentsShiftRole; - return id == otherTyped.id && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, totalValue.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - ListAssignmentsByWorkforceIdAssignmentsShiftRole({ - required this.id, - this.startTime, - this.endTime, - this.hours, - this.totalValue, - required this.role, - required this.shift, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdAssignmentsShiftRoleRole { - final String id; - final String name; - final double costPerHour; - ListAssignmentsByWorkforceIdAssignmentsShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdAssignmentsShiftRoleRole otherTyped = other as ListAssignmentsByWorkforceIdAssignmentsShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListAssignmentsByWorkforceIdAssignmentsShiftRoleRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdAssignmentsShiftRoleShift { - final String id; - final String title; - final Timestamp? date; - final String? location; - final EnumValue? status; - final ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrder order; - ListAssignmentsByWorkforceIdAssignmentsShiftRoleShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']), - order = ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdAssignmentsShiftRoleShift otherTyped = other as ListAssignmentsByWorkforceIdAssignmentsShiftRoleShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - location == otherTyped.location && - status == otherTyped.status && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, location.hashCode, status.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - json['order'] = order.toJson(); - return json; - } - - ListAssignmentsByWorkforceIdAssignmentsShiftRoleShift({ - required this.id, - required this.title, - this.date, - this.location, - this.status, - required this.order, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrder { - final String id; - final String? eventName; - final ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrderBusiness business; - final ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrderVendor vendor; - ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - business = ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrderBusiness.fromJson(json['business']), - vendor = ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrder otherTyped = other as ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrder({ - required this.id, - this.eventName, - required this.business, - required this.vendor, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrderBusiness { - final String id; - final String businessName; - ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrderBusiness otherTyped = other as ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrderBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrderVendor { - final String id; - final String companyName; - ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrderVendor otherTyped = other as ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListAssignmentsByWorkforceIdAssignmentsShiftRoleShiftOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdData { - final List assignments; - ListAssignmentsByWorkforceIdData.fromJson(dynamic json): - - assignments = (json['assignments'] as List) - .map((e) => ListAssignmentsByWorkforceIdAssignments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdData otherTyped = other as ListAssignmentsByWorkforceIdData; - return assignments == otherTyped.assignments; - - } - @override - int get hashCode => assignments.hashCode; - - - Map toJson() { - Map json = {}; - json['assignments'] = assignments.map((e) => e.toJson()).toList(); - return json; - } - - ListAssignmentsByWorkforceIdData({ - required this.assignments, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdVariables { - final String workforceId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListAssignmentsByWorkforceIdVariables.fromJson(Map json): - - workforceId = nativeFromJson(json['workforceId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdVariables otherTyped = other as ListAssignmentsByWorkforceIdVariables; - return workforceId == otherTyped.workforceId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([workforceId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['workforceId'] = nativeToJson(workforceId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListAssignmentsByWorkforceIdVariables({ - required this.workforceId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_assignments_by_workforce_ids.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_assignments_by_workforce_ids.dart deleted file mode 100644 index 41b688bc..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_assignments_by_workforce_ids.dart +++ /dev/null @@ -1,538 +0,0 @@ -part of 'generated.dart'; - -class ListAssignmentsByWorkforceIdsVariablesBuilder { - List workforceIds; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListAssignmentsByWorkforceIdsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListAssignmentsByWorkforceIdsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListAssignmentsByWorkforceIdsVariablesBuilder(this._dataConnect, {required this.workforceIds,}); - Deserializer dataDeserializer = (dynamic json) => ListAssignmentsByWorkforceIdsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListAssignmentsByWorkforceIdsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListAssignmentsByWorkforceIdsVariables vars= ListAssignmentsByWorkforceIdsVariables(workforceIds: workforceIds,offset: _offset,limit: _limit,); - return _dataConnect.query("listAssignmentsByWorkforceIds", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListAssignmentsByWorkforceIdsAssignments { - final String id; - final String? title; - final EnumValue? status; - final Timestamp? createdAt; - final ListAssignmentsByWorkforceIdsAssignmentsWorkforce workforce; - final ListAssignmentsByWorkforceIdsAssignmentsShiftRole shiftRole; - ListAssignmentsByWorkforceIdsAssignments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = json['title'] == null ? null : nativeFromJson(json['title']), - status = json['status'] == null ? null : assignmentStatusDeserializer(json['status']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - workforce = ListAssignmentsByWorkforceIdsAssignmentsWorkforce.fromJson(json['workforce']), - shiftRole = ListAssignmentsByWorkforceIdsAssignmentsShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdsAssignments otherTyped = other as ListAssignmentsByWorkforceIdsAssignments; - return id == otherTyped.id && - title == otherTyped.title && - status == otherTyped.status && - createdAt == otherTyped.createdAt && - workforce == otherTyped.workforce && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, status.hashCode, createdAt.hashCode, workforce.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (title != null) { - json['title'] = nativeToJson(title); - } - if (status != null) { - json['status'] = - assignmentStatusSerializer(status!) - ; - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['workforce'] = workforce.toJson(); - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - ListAssignmentsByWorkforceIdsAssignments({ - required this.id, - this.title, - this.status, - this.createdAt, - required this.workforce, - required this.shiftRole, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdsAssignmentsWorkforce { - final String id; - final String workforceNumber; - final ListAssignmentsByWorkforceIdsAssignmentsWorkforceStaff staff; - ListAssignmentsByWorkforceIdsAssignmentsWorkforce.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - workforceNumber = nativeFromJson(json['workforceNumber']), - staff = ListAssignmentsByWorkforceIdsAssignmentsWorkforceStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdsAssignmentsWorkforce otherTyped = other as ListAssignmentsByWorkforceIdsAssignmentsWorkforce; - return id == otherTyped.id && - workforceNumber == otherTyped.workforceNumber && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workforceNumber.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['workforceNumber'] = nativeToJson(workforceNumber); - json['staff'] = staff.toJson(); - return json; - } - - ListAssignmentsByWorkforceIdsAssignmentsWorkforce({ - required this.id, - required this.workforceNumber, - required this.staff, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdsAssignmentsWorkforceStaff { - final String id; - final String fullName; - ListAssignmentsByWorkforceIdsAssignmentsWorkforceStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdsAssignmentsWorkforceStaff otherTyped = other as ListAssignmentsByWorkforceIdsAssignmentsWorkforceStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - ListAssignmentsByWorkforceIdsAssignmentsWorkforceStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdsAssignmentsShiftRole { - final String id; - final ListAssignmentsByWorkforceIdsAssignmentsShiftRoleRole role; - final ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShift shift; - ListAssignmentsByWorkforceIdsAssignmentsShiftRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - role = ListAssignmentsByWorkforceIdsAssignmentsShiftRoleRole.fromJson(json['role']), - shift = ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdsAssignmentsShiftRole otherTyped = other as ListAssignmentsByWorkforceIdsAssignmentsShiftRole; - return id == otherTyped.id && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - ListAssignmentsByWorkforceIdsAssignmentsShiftRole({ - required this.id, - required this.role, - required this.shift, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdsAssignmentsShiftRoleRole { - final String id; - final String name; - ListAssignmentsByWorkforceIdsAssignmentsShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdsAssignmentsShiftRoleRole otherTyped = other as ListAssignmentsByWorkforceIdsAssignmentsShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - return json; - } - - ListAssignmentsByWorkforceIdsAssignmentsShiftRoleRole({ - required this.id, - required this.name, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShift { - final String id; - final String title; - final Timestamp? date; - final ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrder order; - ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - order = ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShift otherTyped = other as ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - json['order'] = order.toJson(); - return json; - } - - ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShift({ - required this.id, - required this.title, - this.date, - required this.order, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrder { - final String id; - final String? eventName; - final ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrderBusiness business; - final ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrderVendor vendor; - ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - business = ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrderBusiness.fromJson(json['business']), - vendor = ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrder otherTyped = other as ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrder({ - required this.id, - this.eventName, - required this.business, - required this.vendor, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrderBusiness { - final String id; - final String businessName; - ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrderBusiness otherTyped = other as ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrderBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrderVendor { - final String id; - final String companyName; - ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrderVendor otherTyped = other as ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListAssignmentsByWorkforceIdsAssignmentsShiftRoleShiftOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdsData { - final List assignments; - ListAssignmentsByWorkforceIdsData.fromJson(dynamic json): - - assignments = (json['assignments'] as List) - .map((e) => ListAssignmentsByWorkforceIdsAssignments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdsData otherTyped = other as ListAssignmentsByWorkforceIdsData; - return assignments == otherTyped.assignments; - - } - @override - int get hashCode => assignments.hashCode; - - - Map toJson() { - Map json = {}; - json['assignments'] = assignments.map((e) => e.toJson()).toList(); - return json; - } - - ListAssignmentsByWorkforceIdsData({ - required this.assignments, - }); -} - -@immutable -class ListAssignmentsByWorkforceIdsVariables { - final List workforceIds; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListAssignmentsByWorkforceIdsVariables.fromJson(Map json): - - workforceIds = (json['workforceIds'] as List) - .map((e) => nativeFromJson(e)) - .toList() { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAssignmentsByWorkforceIdsVariables otherTyped = other as ListAssignmentsByWorkforceIdsVariables; - return workforceIds == otherTyped.workforceIds && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([workforceIds.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['workforceIds'] = workforceIds.map((e) => nativeToJson(e)).toList(); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListAssignmentsByWorkforceIdsVariables({ - required this.workforceIds, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_attire_options.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_attire_options.dart deleted file mode 100644 index ca615c26..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_attire_options.dart +++ /dev/null @@ -1,133 +0,0 @@ -part of 'generated.dart'; - -class ListAttireOptionsVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListAttireOptionsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListAttireOptionsData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listAttireOptions", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListAttireOptionsAttireOptions { - final String id; - final String itemId; - final String label; - final String? icon; - final String? imageUrl; - final bool? isMandatory; - final String? vendorId; - final Timestamp? createdAt; - ListAttireOptionsAttireOptions.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - itemId = nativeFromJson(json['itemId']), - label = nativeFromJson(json['label']), - icon = json['icon'] == null ? null : nativeFromJson(json['icon']), - imageUrl = json['imageUrl'] == null ? null : nativeFromJson(json['imageUrl']), - isMandatory = json['isMandatory'] == null ? null : nativeFromJson(json['isMandatory']), - vendorId = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAttireOptionsAttireOptions otherTyped = other as ListAttireOptionsAttireOptions; - return id == otherTyped.id && - itemId == otherTyped.itemId && - label == otherTyped.label && - icon == otherTyped.icon && - imageUrl == otherTyped.imageUrl && - isMandatory == otherTyped.isMandatory && - vendorId == otherTyped.vendorId && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, itemId.hashCode, label.hashCode, icon.hashCode, imageUrl.hashCode, isMandatory.hashCode, vendorId.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['itemId'] = nativeToJson(itemId); - json['label'] = nativeToJson(label); - if (icon != null) { - json['icon'] = nativeToJson(icon); - } - if (imageUrl != null) { - json['imageUrl'] = nativeToJson(imageUrl); - } - if (isMandatory != null) { - json['isMandatory'] = nativeToJson(isMandatory); - } - if (vendorId != null) { - json['vendorId'] = nativeToJson(vendorId); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - ListAttireOptionsAttireOptions({ - required this.id, - required this.itemId, - required this.label, - this.icon, - this.imageUrl, - this.isMandatory, - this.vendorId, - this.createdAt, - }); -} - -@immutable -class ListAttireOptionsData { - final List attireOptions; - ListAttireOptionsData.fromJson(dynamic json): - - attireOptions = (json['attireOptions'] as List) - .map((e) => ListAttireOptionsAttireOptions.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListAttireOptionsData otherTyped = other as ListAttireOptionsData; - return attireOptions == otherTyped.attireOptions; - - } - @override - int get hashCode => attireOptions.hashCode; - - - Map toJson() { - Map json = {}; - json['attireOptions'] = attireOptions.map((e) => e.toJson()).toList(); - return json; - } - - ListAttireOptionsData({ - required this.attireOptions, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_benefits_data.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_benefits_data.dart deleted file mode 100644 index 6ba3c923..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_benefits_data.dart +++ /dev/null @@ -1,286 +0,0 @@ -part of 'generated.dart'; - -class ListBenefitsDataVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - ListBenefitsDataVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListBenefitsDataVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListBenefitsDataVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListBenefitsDataData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListBenefitsDataVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListBenefitsDataVariables vars= ListBenefitsDataVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("listBenefitsData", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListBenefitsDataBenefitsDatas { - final String id; - final String vendorBenefitPlanId; - final int current; - final String staffId; - final ListBenefitsDataBenefitsDatasStaff staff; - final ListBenefitsDataBenefitsDatasVendorBenefitPlan vendorBenefitPlan; - ListBenefitsDataBenefitsDatas.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorBenefitPlanId = nativeFromJson(json['vendorBenefitPlanId']), - current = nativeFromJson(json['current']), - staffId = nativeFromJson(json['staffId']), - staff = ListBenefitsDataBenefitsDatasStaff.fromJson(json['staff']), - vendorBenefitPlan = ListBenefitsDataBenefitsDatasVendorBenefitPlan.fromJson(json['vendorBenefitPlan']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataBenefitsDatas otherTyped = other as ListBenefitsDataBenefitsDatas; - return id == otherTyped.id && - vendorBenefitPlanId == otherTyped.vendorBenefitPlanId && - current == otherTyped.current && - staffId == otherTyped.staffId && - staff == otherTyped.staff && - vendorBenefitPlan == otherTyped.vendorBenefitPlan; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorBenefitPlanId.hashCode, current.hashCode, staffId.hashCode, staff.hashCode, vendorBenefitPlan.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorBenefitPlanId'] = nativeToJson(vendorBenefitPlanId); - json['current'] = nativeToJson(current); - json['staffId'] = nativeToJson(staffId); - json['staff'] = staff.toJson(); - json['vendorBenefitPlan'] = vendorBenefitPlan.toJson(); - return json; - } - - ListBenefitsDataBenefitsDatas({ - required this.id, - required this.vendorBenefitPlanId, - required this.current, - required this.staffId, - required this.staff, - required this.vendorBenefitPlan, - }); -} - -@immutable -class ListBenefitsDataBenefitsDatasStaff { - final String id; - final String fullName; - ListBenefitsDataBenefitsDatasStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataBenefitsDatasStaff otherTyped = other as ListBenefitsDataBenefitsDatasStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - ListBenefitsDataBenefitsDatasStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class ListBenefitsDataBenefitsDatasVendorBenefitPlan { - final String id; - final String vendorId; - final String title; - final String? description; - final String? requestLabel; - final int? total; - final bool? isActive; - ListBenefitsDataBenefitsDatasVendorBenefitPlan.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorId = nativeFromJson(json['vendorId']), - title = nativeFromJson(json['title']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - requestLabel = json['requestLabel'] == null ? null : nativeFromJson(json['requestLabel']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataBenefitsDatasVendorBenefitPlan otherTyped = other as ListBenefitsDataBenefitsDatasVendorBenefitPlan; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - title == otherTyped.title && - description == otherTyped.description && - requestLabel == otherTyped.requestLabel && - total == otherTyped.total && - isActive == otherTyped.isActive; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, title.hashCode, description.hashCode, requestLabel.hashCode, total.hashCode, isActive.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorId'] = nativeToJson(vendorId); - json['title'] = nativeToJson(title); - if (description != null) { - json['description'] = nativeToJson(description); - } - if (requestLabel != null) { - json['requestLabel'] = nativeToJson(requestLabel); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - return json; - } - - ListBenefitsDataBenefitsDatasVendorBenefitPlan({ - required this.id, - required this.vendorId, - required this.title, - this.description, - this.requestLabel, - this.total, - this.isActive, - }); -} - -@immutable -class ListBenefitsDataData { - final List benefitsDatas; - ListBenefitsDataData.fromJson(dynamic json): - - benefitsDatas = (json['benefitsDatas'] as List) - .map((e) => ListBenefitsDataBenefitsDatas.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataData otherTyped = other as ListBenefitsDataData; - return benefitsDatas == otherTyped.benefitsDatas; - - } - @override - int get hashCode => benefitsDatas.hashCode; - - - Map toJson() { - Map json = {}; - json['benefitsDatas'] = benefitsDatas.map((e) => e.toJson()).toList(); - return json; - } - - ListBenefitsDataData({ - required this.benefitsDatas, - }); -} - -@immutable -class ListBenefitsDataVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListBenefitsDataVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataVariables otherTyped = other as ListBenefitsDataVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListBenefitsDataVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_benefits_data_by_staff_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_benefits_data_by_staff_id.dart deleted file mode 100644 index dcb5e7b5..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_benefits_data_by_staff_id.dart +++ /dev/null @@ -1,293 +0,0 @@ -part of 'generated.dart'; - -class ListBenefitsDataByStaffIdVariablesBuilder { - String staffId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListBenefitsDataByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListBenefitsDataByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListBenefitsDataByStaffIdVariablesBuilder(this._dataConnect, {required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => ListBenefitsDataByStaffIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListBenefitsDataByStaffIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListBenefitsDataByStaffIdVariables vars= ListBenefitsDataByStaffIdVariables(staffId: staffId,offset: _offset,limit: _limit,); - return _dataConnect.query("listBenefitsDataByStaffId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListBenefitsDataByStaffIdBenefitsDatas { - final String id; - final String vendorBenefitPlanId; - final int current; - final String staffId; - final ListBenefitsDataByStaffIdBenefitsDatasStaff staff; - final ListBenefitsDataByStaffIdBenefitsDatasVendorBenefitPlan vendorBenefitPlan; - ListBenefitsDataByStaffIdBenefitsDatas.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorBenefitPlanId = nativeFromJson(json['vendorBenefitPlanId']), - current = nativeFromJson(json['current']), - staffId = nativeFromJson(json['staffId']), - staff = ListBenefitsDataByStaffIdBenefitsDatasStaff.fromJson(json['staff']), - vendorBenefitPlan = ListBenefitsDataByStaffIdBenefitsDatasVendorBenefitPlan.fromJson(json['vendorBenefitPlan']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataByStaffIdBenefitsDatas otherTyped = other as ListBenefitsDataByStaffIdBenefitsDatas; - return id == otherTyped.id && - vendorBenefitPlanId == otherTyped.vendorBenefitPlanId && - current == otherTyped.current && - staffId == otherTyped.staffId && - staff == otherTyped.staff && - vendorBenefitPlan == otherTyped.vendorBenefitPlan; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorBenefitPlanId.hashCode, current.hashCode, staffId.hashCode, staff.hashCode, vendorBenefitPlan.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorBenefitPlanId'] = nativeToJson(vendorBenefitPlanId); - json['current'] = nativeToJson(current); - json['staffId'] = nativeToJson(staffId); - json['staff'] = staff.toJson(); - json['vendorBenefitPlan'] = vendorBenefitPlan.toJson(); - return json; - } - - ListBenefitsDataByStaffIdBenefitsDatas({ - required this.id, - required this.vendorBenefitPlanId, - required this.current, - required this.staffId, - required this.staff, - required this.vendorBenefitPlan, - }); -} - -@immutable -class ListBenefitsDataByStaffIdBenefitsDatasStaff { - final String id; - final String fullName; - ListBenefitsDataByStaffIdBenefitsDatasStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataByStaffIdBenefitsDatasStaff otherTyped = other as ListBenefitsDataByStaffIdBenefitsDatasStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - ListBenefitsDataByStaffIdBenefitsDatasStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class ListBenefitsDataByStaffIdBenefitsDatasVendorBenefitPlan { - final String id; - final String vendorId; - final String title; - final String? description; - final String? requestLabel; - final int? total; - final bool? isActive; - ListBenefitsDataByStaffIdBenefitsDatasVendorBenefitPlan.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorId = nativeFromJson(json['vendorId']), - title = nativeFromJson(json['title']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - requestLabel = json['requestLabel'] == null ? null : nativeFromJson(json['requestLabel']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataByStaffIdBenefitsDatasVendorBenefitPlan otherTyped = other as ListBenefitsDataByStaffIdBenefitsDatasVendorBenefitPlan; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - title == otherTyped.title && - description == otherTyped.description && - requestLabel == otherTyped.requestLabel && - total == otherTyped.total && - isActive == otherTyped.isActive; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, title.hashCode, description.hashCode, requestLabel.hashCode, total.hashCode, isActive.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorId'] = nativeToJson(vendorId); - json['title'] = nativeToJson(title); - if (description != null) { - json['description'] = nativeToJson(description); - } - if (requestLabel != null) { - json['requestLabel'] = nativeToJson(requestLabel); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - return json; - } - - ListBenefitsDataByStaffIdBenefitsDatasVendorBenefitPlan({ - required this.id, - required this.vendorId, - required this.title, - this.description, - this.requestLabel, - this.total, - this.isActive, - }); -} - -@immutable -class ListBenefitsDataByStaffIdData { - final List benefitsDatas; - ListBenefitsDataByStaffIdData.fromJson(dynamic json): - - benefitsDatas = (json['benefitsDatas'] as List) - .map((e) => ListBenefitsDataByStaffIdBenefitsDatas.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataByStaffIdData otherTyped = other as ListBenefitsDataByStaffIdData; - return benefitsDatas == otherTyped.benefitsDatas; - - } - @override - int get hashCode => benefitsDatas.hashCode; - - - Map toJson() { - Map json = {}; - json['benefitsDatas'] = benefitsDatas.map((e) => e.toJson()).toList(); - return json; - } - - ListBenefitsDataByStaffIdData({ - required this.benefitsDatas, - }); -} - -@immutable -class ListBenefitsDataByStaffIdVariables { - final String staffId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListBenefitsDataByStaffIdVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataByStaffIdVariables otherTyped = other as ListBenefitsDataByStaffIdVariables; - return staffId == otherTyped.staffId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListBenefitsDataByStaffIdVariables({ - required this.staffId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_benefits_data_by_vendor_benefit_plan_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_benefits_data_by_vendor_benefit_plan_id.dart deleted file mode 100644 index c0e6d452..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_benefits_data_by_vendor_benefit_plan_id.dart +++ /dev/null @@ -1,293 +0,0 @@ -part of 'generated.dart'; - -class ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder { - String vendorBenefitPlanId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder(this._dataConnect, {required this.vendorBenefitPlanId,}); - Deserializer dataDeserializer = (dynamic json) => ListBenefitsDataByVendorBenefitPlanIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListBenefitsDataByVendorBenefitPlanIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListBenefitsDataByVendorBenefitPlanIdVariables vars= ListBenefitsDataByVendorBenefitPlanIdVariables(vendorBenefitPlanId: vendorBenefitPlanId,offset: _offset,limit: _limit,); - return _dataConnect.query("listBenefitsDataByVendorBenefitPlanId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListBenefitsDataByVendorBenefitPlanIdBenefitsDatas { - final String id; - final String vendorBenefitPlanId; - final int current; - final String staffId; - final ListBenefitsDataByVendorBenefitPlanIdBenefitsDatasStaff staff; - final ListBenefitsDataByVendorBenefitPlanIdBenefitsDatasVendorBenefitPlan vendorBenefitPlan; - ListBenefitsDataByVendorBenefitPlanIdBenefitsDatas.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorBenefitPlanId = nativeFromJson(json['vendorBenefitPlanId']), - current = nativeFromJson(json['current']), - staffId = nativeFromJson(json['staffId']), - staff = ListBenefitsDataByVendorBenefitPlanIdBenefitsDatasStaff.fromJson(json['staff']), - vendorBenefitPlan = ListBenefitsDataByVendorBenefitPlanIdBenefitsDatasVendorBenefitPlan.fromJson(json['vendorBenefitPlan']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataByVendorBenefitPlanIdBenefitsDatas otherTyped = other as ListBenefitsDataByVendorBenefitPlanIdBenefitsDatas; - return id == otherTyped.id && - vendorBenefitPlanId == otherTyped.vendorBenefitPlanId && - current == otherTyped.current && - staffId == otherTyped.staffId && - staff == otherTyped.staff && - vendorBenefitPlan == otherTyped.vendorBenefitPlan; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorBenefitPlanId.hashCode, current.hashCode, staffId.hashCode, staff.hashCode, vendorBenefitPlan.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorBenefitPlanId'] = nativeToJson(vendorBenefitPlanId); - json['current'] = nativeToJson(current); - json['staffId'] = nativeToJson(staffId); - json['staff'] = staff.toJson(); - json['vendorBenefitPlan'] = vendorBenefitPlan.toJson(); - return json; - } - - ListBenefitsDataByVendorBenefitPlanIdBenefitsDatas({ - required this.id, - required this.vendorBenefitPlanId, - required this.current, - required this.staffId, - required this.staff, - required this.vendorBenefitPlan, - }); -} - -@immutable -class ListBenefitsDataByVendorBenefitPlanIdBenefitsDatasStaff { - final String id; - final String fullName; - ListBenefitsDataByVendorBenefitPlanIdBenefitsDatasStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataByVendorBenefitPlanIdBenefitsDatasStaff otherTyped = other as ListBenefitsDataByVendorBenefitPlanIdBenefitsDatasStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - ListBenefitsDataByVendorBenefitPlanIdBenefitsDatasStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class ListBenefitsDataByVendorBenefitPlanIdBenefitsDatasVendorBenefitPlan { - final String id; - final String vendorId; - final String title; - final String? description; - final String? requestLabel; - final int? total; - final bool? isActive; - ListBenefitsDataByVendorBenefitPlanIdBenefitsDatasVendorBenefitPlan.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorId = nativeFromJson(json['vendorId']), - title = nativeFromJson(json['title']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - requestLabel = json['requestLabel'] == null ? null : nativeFromJson(json['requestLabel']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataByVendorBenefitPlanIdBenefitsDatasVendorBenefitPlan otherTyped = other as ListBenefitsDataByVendorBenefitPlanIdBenefitsDatasVendorBenefitPlan; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - title == otherTyped.title && - description == otherTyped.description && - requestLabel == otherTyped.requestLabel && - total == otherTyped.total && - isActive == otherTyped.isActive; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, title.hashCode, description.hashCode, requestLabel.hashCode, total.hashCode, isActive.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorId'] = nativeToJson(vendorId); - json['title'] = nativeToJson(title); - if (description != null) { - json['description'] = nativeToJson(description); - } - if (requestLabel != null) { - json['requestLabel'] = nativeToJson(requestLabel); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - return json; - } - - ListBenefitsDataByVendorBenefitPlanIdBenefitsDatasVendorBenefitPlan({ - required this.id, - required this.vendorId, - required this.title, - this.description, - this.requestLabel, - this.total, - this.isActive, - }); -} - -@immutable -class ListBenefitsDataByVendorBenefitPlanIdData { - final List benefitsDatas; - ListBenefitsDataByVendorBenefitPlanIdData.fromJson(dynamic json): - - benefitsDatas = (json['benefitsDatas'] as List) - .map((e) => ListBenefitsDataByVendorBenefitPlanIdBenefitsDatas.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataByVendorBenefitPlanIdData otherTyped = other as ListBenefitsDataByVendorBenefitPlanIdData; - return benefitsDatas == otherTyped.benefitsDatas; - - } - @override - int get hashCode => benefitsDatas.hashCode; - - - Map toJson() { - Map json = {}; - json['benefitsDatas'] = benefitsDatas.map((e) => e.toJson()).toList(); - return json; - } - - ListBenefitsDataByVendorBenefitPlanIdData({ - required this.benefitsDatas, - }); -} - -@immutable -class ListBenefitsDataByVendorBenefitPlanIdVariables { - final String vendorBenefitPlanId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListBenefitsDataByVendorBenefitPlanIdVariables.fromJson(Map json): - - vendorBenefitPlanId = nativeFromJson(json['vendorBenefitPlanId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataByVendorBenefitPlanIdVariables otherTyped = other as ListBenefitsDataByVendorBenefitPlanIdVariables; - return vendorBenefitPlanId == otherTyped.vendorBenefitPlanId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([vendorBenefitPlanId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorBenefitPlanId'] = nativeToJson(vendorBenefitPlanId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListBenefitsDataByVendorBenefitPlanIdVariables({ - required this.vendorBenefitPlanId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_benefits_data_by_vendor_benefit_plan_ids.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_benefits_data_by_vendor_benefit_plan_ids.dart deleted file mode 100644 index de055ed1..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_benefits_data_by_vendor_benefit_plan_ids.dart +++ /dev/null @@ -1,295 +0,0 @@ -part of 'generated.dart'; - -class ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder { - List vendorBenefitPlanIds; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder(this._dataConnect, {required this.vendorBenefitPlanIds,}); - Deserializer dataDeserializer = (dynamic json) => ListBenefitsDataByVendorBenefitPlanIdsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListBenefitsDataByVendorBenefitPlanIdsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListBenefitsDataByVendorBenefitPlanIdsVariables vars= ListBenefitsDataByVendorBenefitPlanIdsVariables(vendorBenefitPlanIds: vendorBenefitPlanIds,offset: _offset,limit: _limit,); - return _dataConnect.query("listBenefitsDataByVendorBenefitPlanIds", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatas { - final String id; - final String vendorBenefitPlanId; - final int current; - final String staffId; - final ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatasStaff staff; - final ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatasVendorBenefitPlan vendorBenefitPlan; - ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatas.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorBenefitPlanId = nativeFromJson(json['vendorBenefitPlanId']), - current = nativeFromJson(json['current']), - staffId = nativeFromJson(json['staffId']), - staff = ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatasStaff.fromJson(json['staff']), - vendorBenefitPlan = ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatasVendorBenefitPlan.fromJson(json['vendorBenefitPlan']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatas otherTyped = other as ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatas; - return id == otherTyped.id && - vendorBenefitPlanId == otherTyped.vendorBenefitPlanId && - current == otherTyped.current && - staffId == otherTyped.staffId && - staff == otherTyped.staff && - vendorBenefitPlan == otherTyped.vendorBenefitPlan; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorBenefitPlanId.hashCode, current.hashCode, staffId.hashCode, staff.hashCode, vendorBenefitPlan.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorBenefitPlanId'] = nativeToJson(vendorBenefitPlanId); - json['current'] = nativeToJson(current); - json['staffId'] = nativeToJson(staffId); - json['staff'] = staff.toJson(); - json['vendorBenefitPlan'] = vendorBenefitPlan.toJson(); - return json; - } - - ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatas({ - required this.id, - required this.vendorBenefitPlanId, - required this.current, - required this.staffId, - required this.staff, - required this.vendorBenefitPlan, - }); -} - -@immutable -class ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatasStaff { - final String id; - final String fullName; - ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatasStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatasStaff otherTyped = other as ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatasStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatasStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatasVendorBenefitPlan { - final String id; - final String vendorId; - final String title; - final String? description; - final String? requestLabel; - final int? total; - final bool? isActive; - ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatasVendorBenefitPlan.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorId = nativeFromJson(json['vendorId']), - title = nativeFromJson(json['title']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - requestLabel = json['requestLabel'] == null ? null : nativeFromJson(json['requestLabel']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatasVendorBenefitPlan otherTyped = other as ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatasVendorBenefitPlan; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - title == otherTyped.title && - description == otherTyped.description && - requestLabel == otherTyped.requestLabel && - total == otherTyped.total && - isActive == otherTyped.isActive; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, title.hashCode, description.hashCode, requestLabel.hashCode, total.hashCode, isActive.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorId'] = nativeToJson(vendorId); - json['title'] = nativeToJson(title); - if (description != null) { - json['description'] = nativeToJson(description); - } - if (requestLabel != null) { - json['requestLabel'] = nativeToJson(requestLabel); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - return json; - } - - ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatasVendorBenefitPlan({ - required this.id, - required this.vendorId, - required this.title, - this.description, - this.requestLabel, - this.total, - this.isActive, - }); -} - -@immutable -class ListBenefitsDataByVendorBenefitPlanIdsData { - final List benefitsDatas; - ListBenefitsDataByVendorBenefitPlanIdsData.fromJson(dynamic json): - - benefitsDatas = (json['benefitsDatas'] as List) - .map((e) => ListBenefitsDataByVendorBenefitPlanIdsBenefitsDatas.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataByVendorBenefitPlanIdsData otherTyped = other as ListBenefitsDataByVendorBenefitPlanIdsData; - return benefitsDatas == otherTyped.benefitsDatas; - - } - @override - int get hashCode => benefitsDatas.hashCode; - - - Map toJson() { - Map json = {}; - json['benefitsDatas'] = benefitsDatas.map((e) => e.toJson()).toList(); - return json; - } - - ListBenefitsDataByVendorBenefitPlanIdsData({ - required this.benefitsDatas, - }); -} - -@immutable -class ListBenefitsDataByVendorBenefitPlanIdsVariables { - final List vendorBenefitPlanIds; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListBenefitsDataByVendorBenefitPlanIdsVariables.fromJson(Map json): - - vendorBenefitPlanIds = (json['vendorBenefitPlanIds'] as List) - .map((e) => nativeFromJson(e)) - .toList() { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBenefitsDataByVendorBenefitPlanIdsVariables otherTyped = other as ListBenefitsDataByVendorBenefitPlanIdsVariables; - return vendorBenefitPlanIds == otherTyped.vendorBenefitPlanIds && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([vendorBenefitPlanIds.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorBenefitPlanIds'] = vendorBenefitPlanIds.map((e) => nativeToJson(e)).toList(); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListBenefitsDataByVendorBenefitPlanIdsVariables({ - required this.vendorBenefitPlanIds, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_businesses.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_businesses.dart deleted file mode 100644 index 146298ef..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_businesses.dart +++ /dev/null @@ -1,200 +0,0 @@ -part of 'generated.dart'; - -class ListBusinessesVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListBusinessesVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListBusinessesData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listBusinesses", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListBusinessesBusinesses { - final String id; - final String businessName; - final String? contactName; - final String userId; - final String? companyLogoUrl; - final String? phone; - final String? email; - final String? hubBuilding; - final String? address; - final String? city; - final EnumValue? area; - final EnumValue? sector; - final EnumValue rateGroup; - final EnumValue status; - final String? notes; - final Timestamp? createdAt; - final Timestamp? updatedAt; - ListBusinessesBusinesses.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']), - userId = nativeFromJson(json['userId']), - companyLogoUrl = json['companyLogoUrl'] == null ? null : nativeFromJson(json['companyLogoUrl']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - hubBuilding = json['hubBuilding'] == null ? null : nativeFromJson(json['hubBuilding']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - city = json['city'] == null ? null : nativeFromJson(json['city']), - area = json['area'] == null ? null : businessAreaDeserializer(json['area']), - sector = json['sector'] == null ? null : businessSectorDeserializer(json['sector']), - rateGroup = businessRateGroupDeserializer(json['rateGroup']), - status = businessStatusDeserializer(json['status']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBusinessesBusinesses otherTyped = other as ListBusinessesBusinesses; - return id == otherTyped.id && - businessName == otherTyped.businessName && - contactName == otherTyped.contactName && - userId == otherTyped.userId && - companyLogoUrl == otherTyped.companyLogoUrl && - phone == otherTyped.phone && - email == otherTyped.email && - hubBuilding == otherTyped.hubBuilding && - address == otherTyped.address && - city == otherTyped.city && - area == otherTyped.area && - sector == otherTyped.sector && - rateGroup == otherTyped.rateGroup && - status == otherTyped.status && - notes == otherTyped.notes && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, contactName.hashCode, userId.hashCode, companyLogoUrl.hashCode, phone.hashCode, email.hashCode, hubBuilding.hashCode, address.hashCode, city.hashCode, area.hashCode, sector.hashCode, rateGroup.hashCode, status.hashCode, notes.hashCode, createdAt.hashCode, updatedAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - json['userId'] = nativeToJson(userId); - if (companyLogoUrl != null) { - json['companyLogoUrl'] = nativeToJson(companyLogoUrl); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - if (hubBuilding != null) { - json['hubBuilding'] = nativeToJson(hubBuilding); - } - if (address != null) { - json['address'] = nativeToJson(address); - } - if (city != null) { - json['city'] = nativeToJson(city); - } - if (area != null) { - json['area'] = - businessAreaSerializer(area!) - ; - } - if (sector != null) { - json['sector'] = - businessSectorSerializer(sector!) - ; - } - json['rateGroup'] = - businessRateGroupSerializer(rateGroup) - ; - json['status'] = - businessStatusSerializer(status) - ; - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - return json; - } - - ListBusinessesBusinesses({ - required this.id, - required this.businessName, - this.contactName, - required this.userId, - this.companyLogoUrl, - this.phone, - this.email, - this.hubBuilding, - this.address, - this.city, - this.area, - this.sector, - required this.rateGroup, - required this.status, - this.notes, - this.createdAt, - this.updatedAt, - }); -} - -@immutable -class ListBusinessesData { - final List businesses; - ListBusinessesData.fromJson(dynamic json): - - businesses = (json['businesses'] as List) - .map((e) => ListBusinessesBusinesses.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListBusinessesData otherTyped = other as ListBusinessesData; - return businesses == otherTyped.businesses; - - } - @override - int get hashCode => businesses.hashCode; - - - Map toJson() { - Map json = {}; - json['businesses'] = businesses.map((e) => e.toJson()).toList(); - return json; - } - - ListBusinessesData({ - required this.businesses, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_categories.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_categories.dart deleted file mode 100644 index 363c245e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_categories.dart +++ /dev/null @@ -1,126 +0,0 @@ -part of 'generated.dart'; - -class ListCategoriesVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListCategoriesVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListCategoriesData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listCategories", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListCategoriesCategories { - final String id; - final String categoryId; - final String label; - final String? icon; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - ListCategoriesCategories.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - categoryId = nativeFromJson(json['categoryId']), - label = nativeFromJson(json['label']), - icon = json['icon'] == null ? null : nativeFromJson(json['icon']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListCategoriesCategories otherTyped = other as ListCategoriesCategories; - return id == otherTyped.id && - categoryId == otherTyped.categoryId && - label == otherTyped.label && - icon == otherTyped.icon && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, categoryId.hashCode, label.hashCode, icon.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['categoryId'] = nativeToJson(categoryId); - json['label'] = nativeToJson(label); - if (icon != null) { - json['icon'] = nativeToJson(icon); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - ListCategoriesCategories({ - required this.id, - required this.categoryId, - required this.label, - this.icon, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class ListCategoriesData { - final List categories; - ListCategoriesData.fromJson(dynamic json): - - categories = (json['categories'] as List) - .map((e) => ListCategoriesCategories.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListCategoriesData otherTyped = other as ListCategoriesData; - return categories == otherTyped.categories; - - } - @override - int get hashCode => categories.hashCode; - - - Map toJson() { - Map json = {}; - json['categories'] = categories.map((e) => e.toJson()).toList(); - return json; - } - - ListCategoriesData({ - required this.categories, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_certificates.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_certificates.dart deleted file mode 100644 index 037c7c39..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_certificates.dart +++ /dev/null @@ -1,216 +0,0 @@ -part of 'generated.dart'; - -class ListCertificatesVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListCertificatesVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListCertificatesData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listCertificates", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListCertificatesCertificates { - final String id; - final String name; - final String? description; - final Timestamp? expiry; - final EnumValue status; - final String? fileUrl; - final String? icon; - final String staffId; - final EnumValue? certificationType; - final String? issuer; - final EnumValue? validationStatus; - final String? certificateNumber; - final Timestamp? createdAt; - final ListCertificatesCertificatesStaff staff; - ListCertificatesCertificates.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - expiry = json['expiry'] == null ? null : Timestamp.fromJson(json['expiry']), - status = certificateStatusDeserializer(json['status']), - fileUrl = json['fileUrl'] == null ? null : nativeFromJson(json['fileUrl']), - icon = json['icon'] == null ? null : nativeFromJson(json['icon']), - staffId = nativeFromJson(json['staffId']), - certificationType = json['certificationType'] == null ? null : complianceTypeDeserializer(json['certificationType']), - issuer = json['issuer'] == null ? null : nativeFromJson(json['issuer']), - validationStatus = json['validationStatus'] == null ? null : validationStatusDeserializer(json['validationStatus']), - certificateNumber = json['certificateNumber'] == null ? null : nativeFromJson(json['certificateNumber']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - staff = ListCertificatesCertificatesStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListCertificatesCertificates otherTyped = other as ListCertificatesCertificates; - return id == otherTyped.id && - name == otherTyped.name && - description == otherTyped.description && - expiry == otherTyped.expiry && - status == otherTyped.status && - fileUrl == otherTyped.fileUrl && - icon == otherTyped.icon && - staffId == otherTyped.staffId && - certificationType == otherTyped.certificationType && - issuer == otherTyped.issuer && - validationStatus == otherTyped.validationStatus && - certificateNumber == otherTyped.certificateNumber && - createdAt == otherTyped.createdAt && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, description.hashCode, expiry.hashCode, status.hashCode, fileUrl.hashCode, icon.hashCode, staffId.hashCode, certificationType.hashCode, issuer.hashCode, validationStatus.hashCode, certificateNumber.hashCode, createdAt.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - if (description != null) { - json['description'] = nativeToJson(description); - } - if (expiry != null) { - json['expiry'] = expiry!.toJson(); - } - json['status'] = - certificateStatusSerializer(status) - ; - if (fileUrl != null) { - json['fileUrl'] = nativeToJson(fileUrl); - } - if (icon != null) { - json['icon'] = nativeToJson(icon); - } - json['staffId'] = nativeToJson(staffId); - if (certificationType != null) { - json['certificationType'] = - complianceTypeSerializer(certificationType!) - ; - } - if (issuer != null) { - json['issuer'] = nativeToJson(issuer); - } - if (validationStatus != null) { - json['validationStatus'] = - validationStatusSerializer(validationStatus!) - ; - } - if (certificateNumber != null) { - json['certificateNumber'] = nativeToJson(certificateNumber); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['staff'] = staff.toJson(); - return json; - } - - ListCertificatesCertificates({ - required this.id, - required this.name, - this.description, - this.expiry, - required this.status, - this.fileUrl, - this.icon, - required this.staffId, - this.certificationType, - this.issuer, - this.validationStatus, - this.certificateNumber, - this.createdAt, - required this.staff, - }); -} - -@immutable -class ListCertificatesCertificatesStaff { - final String id; - final String fullName; - ListCertificatesCertificatesStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListCertificatesCertificatesStaff otherTyped = other as ListCertificatesCertificatesStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - ListCertificatesCertificatesStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class ListCertificatesData { - final List certificates; - ListCertificatesData.fromJson(dynamic json): - - certificates = (json['certificates'] as List) - .map((e) => ListCertificatesCertificates.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListCertificatesData otherTyped = other as ListCertificatesData; - return certificates == otherTyped.certificates; - - } - @override - int get hashCode => certificates.hashCode; - - - Map toJson() { - Map json = {}; - json['certificates'] = certificates.map((e) => e.toJson()).toList(); - return json; - } - - ListCertificatesData({ - required this.certificates, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_certificates_by_staff_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_certificates_by_staff_id.dart deleted file mode 100644 index fb63414f..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_certificates_by_staff_id.dart +++ /dev/null @@ -1,252 +0,0 @@ -part of 'generated.dart'; - -class ListCertificatesByStaffIdVariablesBuilder { - String staffId; - - final FirebaseDataConnect _dataConnect; - ListCertificatesByStaffIdVariablesBuilder(this._dataConnect, {required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => ListCertificatesByStaffIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListCertificatesByStaffIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListCertificatesByStaffIdVariables vars= ListCertificatesByStaffIdVariables(staffId: staffId,); - return _dataConnect.query("listCertificatesByStaffId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListCertificatesByStaffIdCertificates { - final String id; - final String name; - final String? description; - final Timestamp? expiry; - final EnumValue status; - final String? fileUrl; - final String? icon; - final String staffId; - final EnumValue? certificationType; - final String? issuer; - final EnumValue? validationStatus; - final String? certificateNumber; - final Timestamp? createdAt; - final ListCertificatesByStaffIdCertificatesStaff staff; - ListCertificatesByStaffIdCertificates.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - expiry = json['expiry'] == null ? null : Timestamp.fromJson(json['expiry']), - status = certificateStatusDeserializer(json['status']), - fileUrl = json['fileUrl'] == null ? null : nativeFromJson(json['fileUrl']), - icon = json['icon'] == null ? null : nativeFromJson(json['icon']), - staffId = nativeFromJson(json['staffId']), - certificationType = json['certificationType'] == null ? null : complianceTypeDeserializer(json['certificationType']), - issuer = json['issuer'] == null ? null : nativeFromJson(json['issuer']), - validationStatus = json['validationStatus'] == null ? null : validationStatusDeserializer(json['validationStatus']), - certificateNumber = json['certificateNumber'] == null ? null : nativeFromJson(json['certificateNumber']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - staff = ListCertificatesByStaffIdCertificatesStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListCertificatesByStaffIdCertificates otherTyped = other as ListCertificatesByStaffIdCertificates; - return id == otherTyped.id && - name == otherTyped.name && - description == otherTyped.description && - expiry == otherTyped.expiry && - status == otherTyped.status && - fileUrl == otherTyped.fileUrl && - icon == otherTyped.icon && - staffId == otherTyped.staffId && - certificationType == otherTyped.certificationType && - issuer == otherTyped.issuer && - validationStatus == otherTyped.validationStatus && - certificateNumber == otherTyped.certificateNumber && - createdAt == otherTyped.createdAt && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, description.hashCode, expiry.hashCode, status.hashCode, fileUrl.hashCode, icon.hashCode, staffId.hashCode, certificationType.hashCode, issuer.hashCode, validationStatus.hashCode, certificateNumber.hashCode, createdAt.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - if (description != null) { - json['description'] = nativeToJson(description); - } - if (expiry != null) { - json['expiry'] = expiry!.toJson(); - } - json['status'] = - certificateStatusSerializer(status) - ; - if (fileUrl != null) { - json['fileUrl'] = nativeToJson(fileUrl); - } - if (icon != null) { - json['icon'] = nativeToJson(icon); - } - json['staffId'] = nativeToJson(staffId); - if (certificationType != null) { - json['certificationType'] = - complianceTypeSerializer(certificationType!) - ; - } - if (issuer != null) { - json['issuer'] = nativeToJson(issuer); - } - if (validationStatus != null) { - json['validationStatus'] = - validationStatusSerializer(validationStatus!) - ; - } - if (certificateNumber != null) { - json['certificateNumber'] = nativeToJson(certificateNumber); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['staff'] = staff.toJson(); - return json; - } - - ListCertificatesByStaffIdCertificates({ - required this.id, - required this.name, - this.description, - this.expiry, - required this.status, - this.fileUrl, - this.icon, - required this.staffId, - this.certificationType, - this.issuer, - this.validationStatus, - this.certificateNumber, - this.createdAt, - required this.staff, - }); -} - -@immutable -class ListCertificatesByStaffIdCertificatesStaff { - final String id; - final String fullName; - ListCertificatesByStaffIdCertificatesStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListCertificatesByStaffIdCertificatesStaff otherTyped = other as ListCertificatesByStaffIdCertificatesStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - ListCertificatesByStaffIdCertificatesStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class ListCertificatesByStaffIdData { - final List certificates; - ListCertificatesByStaffIdData.fromJson(dynamic json): - - certificates = (json['certificates'] as List) - .map((e) => ListCertificatesByStaffIdCertificates.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListCertificatesByStaffIdData otherTyped = other as ListCertificatesByStaffIdData; - return certificates == otherTyped.certificates; - - } - @override - int get hashCode => certificates.hashCode; - - - Map toJson() { - Map json = {}; - json['certificates'] = certificates.map((e) => e.toJson()).toList(); - return json; - } - - ListCertificatesByStaffIdData({ - required this.certificates, - }); -} - -@immutable -class ListCertificatesByStaffIdVariables { - final String staffId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListCertificatesByStaffIdVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListCertificatesByStaffIdVariables otherTyped = other as ListCertificatesByStaffIdVariables; - return staffId == otherTyped.staffId; - - } - @override - int get hashCode => staffId.hashCode; - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - return json; - } - - ListCertificatesByStaffIdVariables({ - required this.staffId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedback_ratings_by_vendor_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedback_ratings_by_vendor_id.dart deleted file mode 100644 index d8d6a5e9..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedback_ratings_by_vendor_id.dart +++ /dev/null @@ -1,266 +0,0 @@ -part of 'generated.dart'; - -class ListClientFeedbackRatingsByVendorIdVariablesBuilder { - String vendorId; - Optional _dateFrom = Optional.optional((json) => json['dateFrom'] = Timestamp.fromJson(json['dateFrom']), defaultSerializer); - Optional _dateTo = Optional.optional((json) => json['dateTo'] = Timestamp.fromJson(json['dateTo']), defaultSerializer); - - final FirebaseDataConnect _dataConnect; ListClientFeedbackRatingsByVendorIdVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - ListClientFeedbackRatingsByVendorIdVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - - ListClientFeedbackRatingsByVendorIdVariablesBuilder(this._dataConnect, {required this.vendorId,}); - Deserializer dataDeserializer = (dynamic json) => ListClientFeedbackRatingsByVendorIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListClientFeedbackRatingsByVendorIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListClientFeedbackRatingsByVendorIdVariables vars= ListClientFeedbackRatingsByVendorIdVariables(vendorId: vendorId,dateFrom: _dateFrom,dateTo: _dateTo,); - return _dataConnect.query("listClientFeedbackRatingsByVendorId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListClientFeedbackRatingsByVendorIdClientFeedbacks { - final String id; - final int? rating; - final String? comment; - final Timestamp? date; - final ListClientFeedbackRatingsByVendorIdClientFeedbacksBusiness business; - final ListClientFeedbackRatingsByVendorIdClientFeedbacksVendor vendor; - ListClientFeedbackRatingsByVendorIdClientFeedbacks.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - rating = json['rating'] == null ? null : nativeFromJson(json['rating']), - comment = json['comment'] == null ? null : nativeFromJson(json['comment']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - business = ListClientFeedbackRatingsByVendorIdClientFeedbacksBusiness.fromJson(json['business']), - vendor = ListClientFeedbackRatingsByVendorIdClientFeedbacksVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbackRatingsByVendorIdClientFeedbacks otherTyped = other as ListClientFeedbackRatingsByVendorIdClientFeedbacks; - return id == otherTyped.id && - rating == otherTyped.rating && - comment == otherTyped.comment && - date == otherTyped.date && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, rating.hashCode, comment.hashCode, date.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (rating != null) { - json['rating'] = nativeToJson(rating); - } - if (comment != null) { - json['comment'] = nativeToJson(comment); - } - if (date != null) { - json['date'] = date!.toJson(); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - ListClientFeedbackRatingsByVendorIdClientFeedbacks({ - required this.id, - this.rating, - this.comment, - this.date, - required this.business, - required this.vendor, - }); -} - -@immutable -class ListClientFeedbackRatingsByVendorIdClientFeedbacksBusiness { - final String id; - final String businessName; - ListClientFeedbackRatingsByVendorIdClientFeedbacksBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbackRatingsByVendorIdClientFeedbacksBusiness otherTyped = other as ListClientFeedbackRatingsByVendorIdClientFeedbacksBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListClientFeedbackRatingsByVendorIdClientFeedbacksBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListClientFeedbackRatingsByVendorIdClientFeedbacksVendor { - final String id; - final String companyName; - ListClientFeedbackRatingsByVendorIdClientFeedbacksVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbackRatingsByVendorIdClientFeedbacksVendor otherTyped = other as ListClientFeedbackRatingsByVendorIdClientFeedbacksVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListClientFeedbackRatingsByVendorIdClientFeedbacksVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListClientFeedbackRatingsByVendorIdData { - final List clientFeedbacks; - ListClientFeedbackRatingsByVendorIdData.fromJson(dynamic json): - - clientFeedbacks = (json['clientFeedbacks'] as List) - .map((e) => ListClientFeedbackRatingsByVendorIdClientFeedbacks.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbackRatingsByVendorIdData otherTyped = other as ListClientFeedbackRatingsByVendorIdData; - return clientFeedbacks == otherTyped.clientFeedbacks; - - } - @override - int get hashCode => clientFeedbacks.hashCode; - - - Map toJson() { - Map json = {}; - json['clientFeedbacks'] = clientFeedbacks.map((e) => e.toJson()).toList(); - return json; - } - - ListClientFeedbackRatingsByVendorIdData({ - required this.clientFeedbacks, - }); -} - -@immutable -class ListClientFeedbackRatingsByVendorIdVariables { - final String vendorId; - late final OptionaldateFrom; - late final OptionaldateTo; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListClientFeedbackRatingsByVendorIdVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']) { - - - - dateFrom = Optional.optional((json) => json['dateFrom'] = Timestamp.fromJson(json['dateFrom']), defaultSerializer); - dateFrom.value = json['dateFrom'] == null ? null : Timestamp.fromJson(json['dateFrom']); - - - dateTo = Optional.optional((json) => json['dateTo'] = Timestamp.fromJson(json['dateTo']), defaultSerializer); - dateTo.value = json['dateTo'] == null ? null : Timestamp.fromJson(json['dateTo']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbackRatingsByVendorIdVariables otherTyped = other as ListClientFeedbackRatingsByVendorIdVariables; - return vendorId == otherTyped.vendorId && - dateFrom == otherTyped.dateFrom && - dateTo == otherTyped.dateTo; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, dateFrom.hashCode, dateTo.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - if(dateFrom.state == OptionalState.set) { - json['dateFrom'] = dateFrom.toJson(); - } - if(dateTo.state == OptionalState.set) { - json['dateTo'] = dateTo.toJson(); - } - return json; - } - - ListClientFeedbackRatingsByVendorIdVariables({ - required this.vendorId, - required this.dateFrom, - required this.dateTo, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedbacks.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedbacks.dart deleted file mode 100644 index 6d119685..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedbacks.dart +++ /dev/null @@ -1,276 +0,0 @@ -part of 'generated.dart'; - -class ListClientFeedbacksVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - ListClientFeedbacksVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListClientFeedbacksVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListClientFeedbacksVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListClientFeedbacksData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListClientFeedbacksVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListClientFeedbacksVariables vars= ListClientFeedbacksVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("listClientFeedbacks", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListClientFeedbacksClientFeedbacks { - final String id; - final String businessId; - final String vendorId; - final int? rating; - final String? comment; - final Timestamp? date; - final Timestamp? createdAt; - final ListClientFeedbacksClientFeedbacksBusiness business; - final ListClientFeedbacksClientFeedbacksVendor vendor; - ListClientFeedbacksClientFeedbacks.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessId = nativeFromJson(json['businessId']), - vendorId = nativeFromJson(json['vendorId']), - rating = json['rating'] == null ? null : nativeFromJson(json['rating']), - comment = json['comment'] == null ? null : nativeFromJson(json['comment']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - business = ListClientFeedbacksClientFeedbacksBusiness.fromJson(json['business']), - vendor = ListClientFeedbacksClientFeedbacksVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksClientFeedbacks otherTyped = other as ListClientFeedbacksClientFeedbacks; - return id == otherTyped.id && - businessId == otherTyped.businessId && - vendorId == otherTyped.vendorId && - rating == otherTyped.rating && - comment == otherTyped.comment && - date == otherTyped.date && - createdAt == otherTyped.createdAt && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessId.hashCode, vendorId.hashCode, rating.hashCode, comment.hashCode, date.hashCode, createdAt.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessId'] = nativeToJson(businessId); - json['vendorId'] = nativeToJson(vendorId); - if (rating != null) { - json['rating'] = nativeToJson(rating); - } - if (comment != null) { - json['comment'] = nativeToJson(comment); - } - if (date != null) { - json['date'] = date!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - ListClientFeedbacksClientFeedbacks({ - required this.id, - required this.businessId, - required this.vendorId, - this.rating, - this.comment, - this.date, - this.createdAt, - required this.business, - required this.vendor, - }); -} - -@immutable -class ListClientFeedbacksClientFeedbacksBusiness { - final String id; - final String businessName; - ListClientFeedbacksClientFeedbacksBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksClientFeedbacksBusiness otherTyped = other as ListClientFeedbacksClientFeedbacksBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListClientFeedbacksClientFeedbacksBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListClientFeedbacksClientFeedbacksVendor { - final String id; - final String companyName; - ListClientFeedbacksClientFeedbacksVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksClientFeedbacksVendor otherTyped = other as ListClientFeedbacksClientFeedbacksVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListClientFeedbacksClientFeedbacksVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListClientFeedbacksData { - final List clientFeedbacks; - ListClientFeedbacksData.fromJson(dynamic json): - - clientFeedbacks = (json['clientFeedbacks'] as List) - .map((e) => ListClientFeedbacksClientFeedbacks.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksData otherTyped = other as ListClientFeedbacksData; - return clientFeedbacks == otherTyped.clientFeedbacks; - - } - @override - int get hashCode => clientFeedbacks.hashCode; - - - Map toJson() { - Map json = {}; - json['clientFeedbacks'] = clientFeedbacks.map((e) => e.toJson()).toList(); - return json; - } - - ListClientFeedbacksData({ - required this.clientFeedbacks, - }); -} - -@immutable -class ListClientFeedbacksVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListClientFeedbacksVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksVariables otherTyped = other as ListClientFeedbacksVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListClientFeedbacksVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedbacks_by_business_and_vendor.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedbacks_by_business_and_vendor.dart deleted file mode 100644 index 33e2a3c3..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedbacks_by_business_and_vendor.dart +++ /dev/null @@ -1,290 +0,0 @@ -part of 'generated.dart'; - -class ListClientFeedbacksByBusinessAndVendorVariablesBuilder { - String businessId; - String vendorId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListClientFeedbacksByBusinessAndVendorVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListClientFeedbacksByBusinessAndVendorVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListClientFeedbacksByBusinessAndVendorVariablesBuilder(this._dataConnect, {required this.businessId,required this.vendorId,}); - Deserializer dataDeserializer = (dynamic json) => ListClientFeedbacksByBusinessAndVendorData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListClientFeedbacksByBusinessAndVendorVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListClientFeedbacksByBusinessAndVendorVariables vars= ListClientFeedbacksByBusinessAndVendorVariables(businessId: businessId,vendorId: vendorId,offset: _offset,limit: _limit,); - return _dataConnect.query("listClientFeedbacksByBusinessAndVendor", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListClientFeedbacksByBusinessAndVendorClientFeedbacks { - final String id; - final String businessId; - final String vendorId; - final int? rating; - final String? comment; - final Timestamp? date; - final Timestamp? createdAt; - final ListClientFeedbacksByBusinessAndVendorClientFeedbacksBusiness business; - final ListClientFeedbacksByBusinessAndVendorClientFeedbacksVendor vendor; - ListClientFeedbacksByBusinessAndVendorClientFeedbacks.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessId = nativeFromJson(json['businessId']), - vendorId = nativeFromJson(json['vendorId']), - rating = json['rating'] == null ? null : nativeFromJson(json['rating']), - comment = json['comment'] == null ? null : nativeFromJson(json['comment']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - business = ListClientFeedbacksByBusinessAndVendorClientFeedbacksBusiness.fromJson(json['business']), - vendor = ListClientFeedbacksByBusinessAndVendorClientFeedbacksVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksByBusinessAndVendorClientFeedbacks otherTyped = other as ListClientFeedbacksByBusinessAndVendorClientFeedbacks; - return id == otherTyped.id && - businessId == otherTyped.businessId && - vendorId == otherTyped.vendorId && - rating == otherTyped.rating && - comment == otherTyped.comment && - date == otherTyped.date && - createdAt == otherTyped.createdAt && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessId.hashCode, vendorId.hashCode, rating.hashCode, comment.hashCode, date.hashCode, createdAt.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessId'] = nativeToJson(businessId); - json['vendorId'] = nativeToJson(vendorId); - if (rating != null) { - json['rating'] = nativeToJson(rating); - } - if (comment != null) { - json['comment'] = nativeToJson(comment); - } - if (date != null) { - json['date'] = date!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - ListClientFeedbacksByBusinessAndVendorClientFeedbacks({ - required this.id, - required this.businessId, - required this.vendorId, - this.rating, - this.comment, - this.date, - this.createdAt, - required this.business, - required this.vendor, - }); -} - -@immutable -class ListClientFeedbacksByBusinessAndVendorClientFeedbacksBusiness { - final String id; - final String businessName; - ListClientFeedbacksByBusinessAndVendorClientFeedbacksBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksByBusinessAndVendorClientFeedbacksBusiness otherTyped = other as ListClientFeedbacksByBusinessAndVendorClientFeedbacksBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListClientFeedbacksByBusinessAndVendorClientFeedbacksBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListClientFeedbacksByBusinessAndVendorClientFeedbacksVendor { - final String id; - final String companyName; - ListClientFeedbacksByBusinessAndVendorClientFeedbacksVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksByBusinessAndVendorClientFeedbacksVendor otherTyped = other as ListClientFeedbacksByBusinessAndVendorClientFeedbacksVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListClientFeedbacksByBusinessAndVendorClientFeedbacksVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListClientFeedbacksByBusinessAndVendorData { - final List clientFeedbacks; - ListClientFeedbacksByBusinessAndVendorData.fromJson(dynamic json): - - clientFeedbacks = (json['clientFeedbacks'] as List) - .map((e) => ListClientFeedbacksByBusinessAndVendorClientFeedbacks.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksByBusinessAndVendorData otherTyped = other as ListClientFeedbacksByBusinessAndVendorData; - return clientFeedbacks == otherTyped.clientFeedbacks; - - } - @override - int get hashCode => clientFeedbacks.hashCode; - - - Map toJson() { - Map json = {}; - json['clientFeedbacks'] = clientFeedbacks.map((e) => e.toJson()).toList(); - return json; - } - - ListClientFeedbacksByBusinessAndVendorData({ - required this.clientFeedbacks, - }); -} - -@immutable -class ListClientFeedbacksByBusinessAndVendorVariables { - final String businessId; - final String vendorId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListClientFeedbacksByBusinessAndVendorVariables.fromJson(Map json): - - businessId = nativeFromJson(json['businessId']), - vendorId = nativeFromJson(json['vendorId']) { - - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksByBusinessAndVendorVariables otherTyped = other as ListClientFeedbacksByBusinessAndVendorVariables; - return businessId == otherTyped.businessId && - vendorId == otherTyped.vendorId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([businessId.hashCode, vendorId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessId'] = nativeToJson(businessId); - json['vendorId'] = nativeToJson(vendorId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListClientFeedbacksByBusinessAndVendorVariables({ - required this.businessId, - required this.vendorId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedbacks_by_business_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedbacks_by_business_id.dart deleted file mode 100644 index 7a2165d9..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedbacks_by_business_id.dart +++ /dev/null @@ -1,283 +0,0 @@ -part of 'generated.dart'; - -class ListClientFeedbacksByBusinessIdVariablesBuilder { - String businessId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListClientFeedbacksByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListClientFeedbacksByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListClientFeedbacksByBusinessIdVariablesBuilder(this._dataConnect, {required this.businessId,}); - Deserializer dataDeserializer = (dynamic json) => ListClientFeedbacksByBusinessIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListClientFeedbacksByBusinessIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListClientFeedbacksByBusinessIdVariables vars= ListClientFeedbacksByBusinessIdVariables(businessId: businessId,offset: _offset,limit: _limit,); - return _dataConnect.query("listClientFeedbacksByBusinessId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListClientFeedbacksByBusinessIdClientFeedbacks { - final String id; - final String businessId; - final String vendorId; - final int? rating; - final String? comment; - final Timestamp? date; - final Timestamp? createdAt; - final ListClientFeedbacksByBusinessIdClientFeedbacksBusiness business; - final ListClientFeedbacksByBusinessIdClientFeedbacksVendor vendor; - ListClientFeedbacksByBusinessIdClientFeedbacks.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessId = nativeFromJson(json['businessId']), - vendorId = nativeFromJson(json['vendorId']), - rating = json['rating'] == null ? null : nativeFromJson(json['rating']), - comment = json['comment'] == null ? null : nativeFromJson(json['comment']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - business = ListClientFeedbacksByBusinessIdClientFeedbacksBusiness.fromJson(json['business']), - vendor = ListClientFeedbacksByBusinessIdClientFeedbacksVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksByBusinessIdClientFeedbacks otherTyped = other as ListClientFeedbacksByBusinessIdClientFeedbacks; - return id == otherTyped.id && - businessId == otherTyped.businessId && - vendorId == otherTyped.vendorId && - rating == otherTyped.rating && - comment == otherTyped.comment && - date == otherTyped.date && - createdAt == otherTyped.createdAt && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessId.hashCode, vendorId.hashCode, rating.hashCode, comment.hashCode, date.hashCode, createdAt.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessId'] = nativeToJson(businessId); - json['vendorId'] = nativeToJson(vendorId); - if (rating != null) { - json['rating'] = nativeToJson(rating); - } - if (comment != null) { - json['comment'] = nativeToJson(comment); - } - if (date != null) { - json['date'] = date!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - ListClientFeedbacksByBusinessIdClientFeedbacks({ - required this.id, - required this.businessId, - required this.vendorId, - this.rating, - this.comment, - this.date, - this.createdAt, - required this.business, - required this.vendor, - }); -} - -@immutable -class ListClientFeedbacksByBusinessIdClientFeedbacksBusiness { - final String id; - final String businessName; - ListClientFeedbacksByBusinessIdClientFeedbacksBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksByBusinessIdClientFeedbacksBusiness otherTyped = other as ListClientFeedbacksByBusinessIdClientFeedbacksBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListClientFeedbacksByBusinessIdClientFeedbacksBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListClientFeedbacksByBusinessIdClientFeedbacksVendor { - final String id; - final String companyName; - ListClientFeedbacksByBusinessIdClientFeedbacksVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksByBusinessIdClientFeedbacksVendor otherTyped = other as ListClientFeedbacksByBusinessIdClientFeedbacksVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListClientFeedbacksByBusinessIdClientFeedbacksVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListClientFeedbacksByBusinessIdData { - final List clientFeedbacks; - ListClientFeedbacksByBusinessIdData.fromJson(dynamic json): - - clientFeedbacks = (json['clientFeedbacks'] as List) - .map((e) => ListClientFeedbacksByBusinessIdClientFeedbacks.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksByBusinessIdData otherTyped = other as ListClientFeedbacksByBusinessIdData; - return clientFeedbacks == otherTyped.clientFeedbacks; - - } - @override - int get hashCode => clientFeedbacks.hashCode; - - - Map toJson() { - Map json = {}; - json['clientFeedbacks'] = clientFeedbacks.map((e) => e.toJson()).toList(); - return json; - } - - ListClientFeedbacksByBusinessIdData({ - required this.clientFeedbacks, - }); -} - -@immutable -class ListClientFeedbacksByBusinessIdVariables { - final String businessId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListClientFeedbacksByBusinessIdVariables.fromJson(Map json): - - businessId = nativeFromJson(json['businessId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksByBusinessIdVariables otherTyped = other as ListClientFeedbacksByBusinessIdVariables; - return businessId == otherTyped.businessId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([businessId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessId'] = nativeToJson(businessId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListClientFeedbacksByBusinessIdVariables({ - required this.businessId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedbacks_by_vendor_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedbacks_by_vendor_id.dart deleted file mode 100644 index 25eb54d6..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_client_feedbacks_by_vendor_id.dart +++ /dev/null @@ -1,283 +0,0 @@ -part of 'generated.dart'; - -class ListClientFeedbacksByVendorIdVariablesBuilder { - String vendorId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListClientFeedbacksByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListClientFeedbacksByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListClientFeedbacksByVendorIdVariablesBuilder(this._dataConnect, {required this.vendorId,}); - Deserializer dataDeserializer = (dynamic json) => ListClientFeedbacksByVendorIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListClientFeedbacksByVendorIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListClientFeedbacksByVendorIdVariables vars= ListClientFeedbacksByVendorIdVariables(vendorId: vendorId,offset: _offset,limit: _limit,); - return _dataConnect.query("listClientFeedbacksByVendorId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListClientFeedbacksByVendorIdClientFeedbacks { - final String id; - final String businessId; - final String vendorId; - final int? rating; - final String? comment; - final Timestamp? date; - final Timestamp? createdAt; - final ListClientFeedbacksByVendorIdClientFeedbacksBusiness business; - final ListClientFeedbacksByVendorIdClientFeedbacksVendor vendor; - ListClientFeedbacksByVendorIdClientFeedbacks.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessId = nativeFromJson(json['businessId']), - vendorId = nativeFromJson(json['vendorId']), - rating = json['rating'] == null ? null : nativeFromJson(json['rating']), - comment = json['comment'] == null ? null : nativeFromJson(json['comment']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - business = ListClientFeedbacksByVendorIdClientFeedbacksBusiness.fromJson(json['business']), - vendor = ListClientFeedbacksByVendorIdClientFeedbacksVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksByVendorIdClientFeedbacks otherTyped = other as ListClientFeedbacksByVendorIdClientFeedbacks; - return id == otherTyped.id && - businessId == otherTyped.businessId && - vendorId == otherTyped.vendorId && - rating == otherTyped.rating && - comment == otherTyped.comment && - date == otherTyped.date && - createdAt == otherTyped.createdAt && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessId.hashCode, vendorId.hashCode, rating.hashCode, comment.hashCode, date.hashCode, createdAt.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessId'] = nativeToJson(businessId); - json['vendorId'] = nativeToJson(vendorId); - if (rating != null) { - json['rating'] = nativeToJson(rating); - } - if (comment != null) { - json['comment'] = nativeToJson(comment); - } - if (date != null) { - json['date'] = date!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - ListClientFeedbacksByVendorIdClientFeedbacks({ - required this.id, - required this.businessId, - required this.vendorId, - this.rating, - this.comment, - this.date, - this.createdAt, - required this.business, - required this.vendor, - }); -} - -@immutable -class ListClientFeedbacksByVendorIdClientFeedbacksBusiness { - final String id; - final String businessName; - ListClientFeedbacksByVendorIdClientFeedbacksBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksByVendorIdClientFeedbacksBusiness otherTyped = other as ListClientFeedbacksByVendorIdClientFeedbacksBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListClientFeedbacksByVendorIdClientFeedbacksBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListClientFeedbacksByVendorIdClientFeedbacksVendor { - final String id; - final String companyName; - ListClientFeedbacksByVendorIdClientFeedbacksVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksByVendorIdClientFeedbacksVendor otherTyped = other as ListClientFeedbacksByVendorIdClientFeedbacksVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListClientFeedbacksByVendorIdClientFeedbacksVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListClientFeedbacksByVendorIdData { - final List clientFeedbacks; - ListClientFeedbacksByVendorIdData.fromJson(dynamic json): - - clientFeedbacks = (json['clientFeedbacks'] as List) - .map((e) => ListClientFeedbacksByVendorIdClientFeedbacks.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksByVendorIdData otherTyped = other as ListClientFeedbacksByVendorIdData; - return clientFeedbacks == otherTyped.clientFeedbacks; - - } - @override - int get hashCode => clientFeedbacks.hashCode; - - - Map toJson() { - Map json = {}; - json['clientFeedbacks'] = clientFeedbacks.map((e) => e.toJson()).toList(); - return json; - } - - ListClientFeedbacksByVendorIdData({ - required this.clientFeedbacks, - }); -} - -@immutable -class ListClientFeedbacksByVendorIdVariables { - final String vendorId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListClientFeedbacksByVendorIdVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListClientFeedbacksByVendorIdVariables otherTyped = other as ListClientFeedbacksByVendorIdVariables; - return vendorId == otherTyped.vendorId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListClientFeedbacksByVendorIdVariables({ - required this.vendorId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_conversations.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_conversations.dart deleted file mode 100644 index 0cb1336c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_conversations.dart +++ /dev/null @@ -1,210 +0,0 @@ -part of 'generated.dart'; - -class ListConversationsVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - ListConversationsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListConversationsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListConversationsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListConversationsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListConversationsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListConversationsVariables vars= ListConversationsVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("listConversations", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListConversationsConversations { - final String id; - final String? subject; - final EnumValue? status; - final EnumValue? conversationType; - final bool? isGroup; - final String? groupName; - final String? lastMessage; - final Timestamp? lastMessageAt; - final Timestamp? createdAt; - ListConversationsConversations.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - subject = json['subject'] == null ? null : nativeFromJson(json['subject']), - status = json['status'] == null ? null : conversationStatusDeserializer(json['status']), - conversationType = json['conversationType'] == null ? null : conversationTypeDeserializer(json['conversationType']), - isGroup = json['isGroup'] == null ? null : nativeFromJson(json['isGroup']), - groupName = json['groupName'] == null ? null : nativeFromJson(json['groupName']), - lastMessage = json['lastMessage'] == null ? null : nativeFromJson(json['lastMessage']), - lastMessageAt = json['lastMessageAt'] == null ? null : Timestamp.fromJson(json['lastMessageAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListConversationsConversations otherTyped = other as ListConversationsConversations; - return id == otherTyped.id && - subject == otherTyped.subject && - status == otherTyped.status && - conversationType == otherTyped.conversationType && - isGroup == otherTyped.isGroup && - groupName == otherTyped.groupName && - lastMessage == otherTyped.lastMessage && - lastMessageAt == otherTyped.lastMessageAt && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, subject.hashCode, status.hashCode, conversationType.hashCode, isGroup.hashCode, groupName.hashCode, lastMessage.hashCode, lastMessageAt.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (subject != null) { - json['subject'] = nativeToJson(subject); - } - if (status != null) { - json['status'] = - conversationStatusSerializer(status!) - ; - } - if (conversationType != null) { - json['conversationType'] = - conversationTypeSerializer(conversationType!) - ; - } - if (isGroup != null) { - json['isGroup'] = nativeToJson(isGroup); - } - if (groupName != null) { - json['groupName'] = nativeToJson(groupName); - } - if (lastMessage != null) { - json['lastMessage'] = nativeToJson(lastMessage); - } - if (lastMessageAt != null) { - json['lastMessageAt'] = lastMessageAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - ListConversationsConversations({ - required this.id, - this.subject, - this.status, - this.conversationType, - this.isGroup, - this.groupName, - this.lastMessage, - this.lastMessageAt, - this.createdAt, - }); -} - -@immutable -class ListConversationsData { - final List conversations; - ListConversationsData.fromJson(dynamic json): - - conversations = (json['conversations'] as List) - .map((e) => ListConversationsConversations.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListConversationsData otherTyped = other as ListConversationsData; - return conversations == otherTyped.conversations; - - } - @override - int get hashCode => conversations.hashCode; - - - Map toJson() { - Map json = {}; - json['conversations'] = conversations.map((e) => e.toJson()).toList(); - return json; - } - - ListConversationsData({ - required this.conversations, - }); -} - -@immutable -class ListConversationsVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListConversationsVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListConversationsVariables otherTyped = other as ListConversationsVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListConversationsVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_conversations_by_status.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_conversations_by_status.dart deleted file mode 100644 index 9ee20ec4..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_conversations_by_status.dart +++ /dev/null @@ -1,219 +0,0 @@ -part of 'generated.dart'; - -class ListConversationsByStatusVariablesBuilder { - ConversationStatus status; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListConversationsByStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListConversationsByStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListConversationsByStatusVariablesBuilder(this._dataConnect, {required this.status,}); - Deserializer dataDeserializer = (dynamic json) => ListConversationsByStatusData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListConversationsByStatusVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListConversationsByStatusVariables vars= ListConversationsByStatusVariables(status: status,offset: _offset,limit: _limit,); - return _dataConnect.query("listConversationsByStatus", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListConversationsByStatusConversations { - final String id; - final String? subject; - final EnumValue? status; - final EnumValue? conversationType; - final bool? isGroup; - final String? groupName; - final String? lastMessage; - final Timestamp? lastMessageAt; - final Timestamp? createdAt; - ListConversationsByStatusConversations.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - subject = json['subject'] == null ? null : nativeFromJson(json['subject']), - status = json['status'] == null ? null : conversationStatusDeserializer(json['status']), - conversationType = json['conversationType'] == null ? null : conversationTypeDeserializer(json['conversationType']), - isGroup = json['isGroup'] == null ? null : nativeFromJson(json['isGroup']), - groupName = json['groupName'] == null ? null : nativeFromJson(json['groupName']), - lastMessage = json['lastMessage'] == null ? null : nativeFromJson(json['lastMessage']), - lastMessageAt = json['lastMessageAt'] == null ? null : Timestamp.fromJson(json['lastMessageAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListConversationsByStatusConversations otherTyped = other as ListConversationsByStatusConversations; - return id == otherTyped.id && - subject == otherTyped.subject && - status == otherTyped.status && - conversationType == otherTyped.conversationType && - isGroup == otherTyped.isGroup && - groupName == otherTyped.groupName && - lastMessage == otherTyped.lastMessage && - lastMessageAt == otherTyped.lastMessageAt && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, subject.hashCode, status.hashCode, conversationType.hashCode, isGroup.hashCode, groupName.hashCode, lastMessage.hashCode, lastMessageAt.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (subject != null) { - json['subject'] = nativeToJson(subject); - } - if (status != null) { - json['status'] = - conversationStatusSerializer(status!) - ; - } - if (conversationType != null) { - json['conversationType'] = - conversationTypeSerializer(conversationType!) - ; - } - if (isGroup != null) { - json['isGroup'] = nativeToJson(isGroup); - } - if (groupName != null) { - json['groupName'] = nativeToJson(groupName); - } - if (lastMessage != null) { - json['lastMessage'] = nativeToJson(lastMessage); - } - if (lastMessageAt != null) { - json['lastMessageAt'] = lastMessageAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - ListConversationsByStatusConversations({ - required this.id, - this.subject, - this.status, - this.conversationType, - this.isGroup, - this.groupName, - this.lastMessage, - this.lastMessageAt, - this.createdAt, - }); -} - -@immutable -class ListConversationsByStatusData { - final List conversations; - ListConversationsByStatusData.fromJson(dynamic json): - - conversations = (json['conversations'] as List) - .map((e) => ListConversationsByStatusConversations.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListConversationsByStatusData otherTyped = other as ListConversationsByStatusData; - return conversations == otherTyped.conversations; - - } - @override - int get hashCode => conversations.hashCode; - - - Map toJson() { - Map json = {}; - json['conversations'] = conversations.map((e) => e.toJson()).toList(); - return json; - } - - ListConversationsByStatusData({ - required this.conversations, - }); -} - -@immutable -class ListConversationsByStatusVariables { - final ConversationStatus status; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListConversationsByStatusVariables.fromJson(Map json): - - status = ConversationStatus.values.byName(json['status']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListConversationsByStatusVariables otherTyped = other as ListConversationsByStatusVariables; - return status == otherTyped.status && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([status.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['status'] = - status.name - ; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListConversationsByStatusVariables({ - required this.status, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_conversations_by_type.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_conversations_by_type.dart deleted file mode 100644 index 8ffb4682..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_conversations_by_type.dart +++ /dev/null @@ -1,219 +0,0 @@ -part of 'generated.dart'; - -class ListConversationsByTypeVariablesBuilder { - ConversationType conversationType; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListConversationsByTypeVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListConversationsByTypeVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListConversationsByTypeVariablesBuilder(this._dataConnect, {required this.conversationType,}); - Deserializer dataDeserializer = (dynamic json) => ListConversationsByTypeData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListConversationsByTypeVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListConversationsByTypeVariables vars= ListConversationsByTypeVariables(conversationType: conversationType,offset: _offset,limit: _limit,); - return _dataConnect.query("listConversationsByType", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListConversationsByTypeConversations { - final String id; - final String? subject; - final EnumValue? status; - final EnumValue? conversationType; - final bool? isGroup; - final String? groupName; - final String? lastMessage; - final Timestamp? lastMessageAt; - final Timestamp? createdAt; - ListConversationsByTypeConversations.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - subject = json['subject'] == null ? null : nativeFromJson(json['subject']), - status = json['status'] == null ? null : conversationStatusDeserializer(json['status']), - conversationType = json['conversationType'] == null ? null : conversationTypeDeserializer(json['conversationType']), - isGroup = json['isGroup'] == null ? null : nativeFromJson(json['isGroup']), - groupName = json['groupName'] == null ? null : nativeFromJson(json['groupName']), - lastMessage = json['lastMessage'] == null ? null : nativeFromJson(json['lastMessage']), - lastMessageAt = json['lastMessageAt'] == null ? null : Timestamp.fromJson(json['lastMessageAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListConversationsByTypeConversations otherTyped = other as ListConversationsByTypeConversations; - return id == otherTyped.id && - subject == otherTyped.subject && - status == otherTyped.status && - conversationType == otherTyped.conversationType && - isGroup == otherTyped.isGroup && - groupName == otherTyped.groupName && - lastMessage == otherTyped.lastMessage && - lastMessageAt == otherTyped.lastMessageAt && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, subject.hashCode, status.hashCode, conversationType.hashCode, isGroup.hashCode, groupName.hashCode, lastMessage.hashCode, lastMessageAt.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (subject != null) { - json['subject'] = nativeToJson(subject); - } - if (status != null) { - json['status'] = - conversationStatusSerializer(status!) - ; - } - if (conversationType != null) { - json['conversationType'] = - conversationTypeSerializer(conversationType!) - ; - } - if (isGroup != null) { - json['isGroup'] = nativeToJson(isGroup); - } - if (groupName != null) { - json['groupName'] = nativeToJson(groupName); - } - if (lastMessage != null) { - json['lastMessage'] = nativeToJson(lastMessage); - } - if (lastMessageAt != null) { - json['lastMessageAt'] = lastMessageAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - ListConversationsByTypeConversations({ - required this.id, - this.subject, - this.status, - this.conversationType, - this.isGroup, - this.groupName, - this.lastMessage, - this.lastMessageAt, - this.createdAt, - }); -} - -@immutable -class ListConversationsByTypeData { - final List conversations; - ListConversationsByTypeData.fromJson(dynamic json): - - conversations = (json['conversations'] as List) - .map((e) => ListConversationsByTypeConversations.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListConversationsByTypeData otherTyped = other as ListConversationsByTypeData; - return conversations == otherTyped.conversations; - - } - @override - int get hashCode => conversations.hashCode; - - - Map toJson() { - Map json = {}; - json['conversations'] = conversations.map((e) => e.toJson()).toList(); - return json; - } - - ListConversationsByTypeData({ - required this.conversations, - }); -} - -@immutable -class ListConversationsByTypeVariables { - final ConversationType conversationType; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListConversationsByTypeVariables.fromJson(Map json): - - conversationType = ConversationType.values.byName(json['conversationType']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListConversationsByTypeVariables otherTyped = other as ListConversationsByTypeVariables; - return conversationType == otherTyped.conversationType && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([conversationType.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['conversationType'] = - conversationType.name - ; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListConversationsByTypeVariables({ - required this.conversationType, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_courses.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_courses.dart deleted file mode 100644 index ddf27479..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_courses.dart +++ /dev/null @@ -1,193 +0,0 @@ -part of 'generated.dart'; - -class ListCoursesVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListCoursesVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListCoursesData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listCourses", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListCoursesCourses { - final String id; - final String? title; - final String? description; - final String? thumbnailUrl; - final int? durationMinutes; - final int? xpReward; - final String categoryId; - final String? levelRequired; - final bool? isCertification; - final Timestamp? createdAt; - final ListCoursesCoursesCategory category; - ListCoursesCourses.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = json['title'] == null ? null : nativeFromJson(json['title']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - thumbnailUrl = json['thumbnailUrl'] == null ? null : nativeFromJson(json['thumbnailUrl']), - durationMinutes = json['durationMinutes'] == null ? null : nativeFromJson(json['durationMinutes']), - xpReward = json['xpReward'] == null ? null : nativeFromJson(json['xpReward']), - categoryId = nativeFromJson(json['categoryId']), - levelRequired = json['levelRequired'] == null ? null : nativeFromJson(json['levelRequired']), - isCertification = json['isCertification'] == null ? null : nativeFromJson(json['isCertification']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - category = ListCoursesCoursesCategory.fromJson(json['category']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListCoursesCourses otherTyped = other as ListCoursesCourses; - return id == otherTyped.id && - title == otherTyped.title && - description == otherTyped.description && - thumbnailUrl == otherTyped.thumbnailUrl && - durationMinutes == otherTyped.durationMinutes && - xpReward == otherTyped.xpReward && - categoryId == otherTyped.categoryId && - levelRequired == otherTyped.levelRequired && - isCertification == otherTyped.isCertification && - createdAt == otherTyped.createdAt && - category == otherTyped.category; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, description.hashCode, thumbnailUrl.hashCode, durationMinutes.hashCode, xpReward.hashCode, categoryId.hashCode, levelRequired.hashCode, isCertification.hashCode, createdAt.hashCode, category.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (title != null) { - json['title'] = nativeToJson(title); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - if (thumbnailUrl != null) { - json['thumbnailUrl'] = nativeToJson(thumbnailUrl); - } - if (durationMinutes != null) { - json['durationMinutes'] = nativeToJson(durationMinutes); - } - if (xpReward != null) { - json['xpReward'] = nativeToJson(xpReward); - } - json['categoryId'] = nativeToJson(categoryId); - if (levelRequired != null) { - json['levelRequired'] = nativeToJson(levelRequired); - } - if (isCertification != null) { - json['isCertification'] = nativeToJson(isCertification); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['category'] = category.toJson(); - return json; - } - - ListCoursesCourses({ - required this.id, - this.title, - this.description, - this.thumbnailUrl, - this.durationMinutes, - this.xpReward, - required this.categoryId, - this.levelRequired, - this.isCertification, - this.createdAt, - required this.category, - }); -} - -@immutable -class ListCoursesCoursesCategory { - final String id; - final String label; - ListCoursesCoursesCategory.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - label = nativeFromJson(json['label']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListCoursesCoursesCategory otherTyped = other as ListCoursesCoursesCategory; - return id == otherTyped.id && - label == otherTyped.label; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, label.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['label'] = nativeToJson(label); - return json; - } - - ListCoursesCoursesCategory({ - required this.id, - required this.label, - }); -} - -@immutable -class ListCoursesData { - final List courses; - ListCoursesData.fromJson(dynamic json): - - courses = (json['courses'] as List) - .map((e) => ListCoursesCourses.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListCoursesData otherTyped = other as ListCoursesData; - return courses == otherTyped.courses; - - } - @override - int get hashCode => courses.hashCode; - - - Map toJson() { - Map json = {}; - json['courses'] = courses.map((e) => e.toJson()).toList(); - return json; - } - - ListCoursesData({ - required this.courses, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_custom_rate_cards.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_custom_rate_cards.dart deleted file mode 100644 index e5dcbc90..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_custom_rate_cards.dart +++ /dev/null @@ -1,128 +0,0 @@ -part of 'generated.dart'; - -class ListCustomRateCardsVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListCustomRateCardsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListCustomRateCardsData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listCustomRateCards", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListCustomRateCardsCustomRateCards { - final String id; - final String name; - final String? baseBook; - final double? discount; - final bool? isDefault; - final Timestamp? createdAt; - final Timestamp? updatedAt; - ListCustomRateCardsCustomRateCards.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - baseBook = json['baseBook'] == null ? null : nativeFromJson(json['baseBook']), - discount = json['discount'] == null ? null : nativeFromJson(json['discount']), - isDefault = json['isDefault'] == null ? null : nativeFromJson(json['isDefault']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListCustomRateCardsCustomRateCards otherTyped = other as ListCustomRateCardsCustomRateCards; - return id == otherTyped.id && - name == otherTyped.name && - baseBook == otherTyped.baseBook && - discount == otherTyped.discount && - isDefault == otherTyped.isDefault && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, baseBook.hashCode, discount.hashCode, isDefault.hashCode, createdAt.hashCode, updatedAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - if (baseBook != null) { - json['baseBook'] = nativeToJson(baseBook); - } - if (discount != null) { - json['discount'] = nativeToJson(discount); - } - if (isDefault != null) { - json['isDefault'] = nativeToJson(isDefault); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - return json; - } - - ListCustomRateCardsCustomRateCards({ - required this.id, - required this.name, - this.baseBook, - this.discount, - this.isDefault, - this.createdAt, - this.updatedAt, - }); -} - -@immutable -class ListCustomRateCardsData { - final List customRateCards; - ListCustomRateCardsData.fromJson(dynamic json): - - customRateCards = (json['customRateCards'] as List) - .map((e) => ListCustomRateCardsCustomRateCards.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListCustomRateCardsData otherTyped = other as ListCustomRateCardsData; - return customRateCards == otherTyped.customRateCards; - - } - @override - int get hashCode => customRateCards.hashCode; - - - Map toJson() { - Map json = {}; - json['customRateCards'] = customRateCards.map((e) => e.toJson()).toList(); - return json; - } - - ListCustomRateCardsData({ - required this.customRateCards, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_documents.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_documents.dart deleted file mode 100644 index 8960c342..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_documents.dart +++ /dev/null @@ -1,114 +0,0 @@ -part of 'generated.dart'; - -class ListDocumentsVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListDocumentsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListDocumentsData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listDocuments", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListDocumentsDocuments { - final String id; - final EnumValue documentType; - final String name; - final String? description; - final Timestamp? createdAt; - ListDocumentsDocuments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - documentType = documentTypeDeserializer(json['documentType']), - name = nativeFromJson(json['name']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListDocumentsDocuments otherTyped = other as ListDocumentsDocuments; - return id == otherTyped.id && - documentType == otherTyped.documentType && - name == otherTyped.name && - description == otherTyped.description && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, documentType.hashCode, name.hashCode, description.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['documentType'] = - documentTypeSerializer(documentType) - ; - json['name'] = nativeToJson(name); - if (description != null) { - json['description'] = nativeToJson(description); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - ListDocumentsDocuments({ - required this.id, - required this.documentType, - required this.name, - this.description, - this.createdAt, - }); -} - -@immutable -class ListDocumentsData { - final List documents; - ListDocumentsData.fromJson(dynamic json): - - documents = (json['documents'] as List) - .map((e) => ListDocumentsDocuments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListDocumentsData otherTyped = other as ListDocumentsData; - return documents == otherTyped.documents; - - } - @override - int get hashCode => documents.hashCode; - - - Map toJson() { - Map json = {}; - json['documents'] = documents.map((e) => e.toJson()).toList(); - return json; - } - - ListDocumentsData({ - required this.documents, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_emergency_contacts.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_emergency_contacts.dart deleted file mode 100644 index ea448d2b..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_emergency_contacts.dart +++ /dev/null @@ -1,131 +0,0 @@ -part of 'generated.dart'; - -class ListEmergencyContactsVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListEmergencyContactsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListEmergencyContactsData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listEmergencyContacts", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListEmergencyContactsEmergencyContacts { - final String id; - final String name; - final String phone; - final EnumValue relationship; - final String staffId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - ListEmergencyContactsEmergencyContacts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - phone = nativeFromJson(json['phone']), - relationship = relationshipTypeDeserializer(json['relationship']), - staffId = nativeFromJson(json['staffId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListEmergencyContactsEmergencyContacts otherTyped = other as ListEmergencyContactsEmergencyContacts; - return id == otherTyped.id && - name == otherTyped.name && - phone == otherTyped.phone && - relationship == otherTyped.relationship && - staffId == otherTyped.staffId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, phone.hashCode, relationship.hashCode, staffId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['phone'] = nativeToJson(phone); - json['relationship'] = - relationshipTypeSerializer(relationship) - ; - json['staffId'] = nativeToJson(staffId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - ListEmergencyContactsEmergencyContacts({ - required this.id, - required this.name, - required this.phone, - required this.relationship, - required this.staffId, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class ListEmergencyContactsData { - final List emergencyContacts; - ListEmergencyContactsData.fromJson(dynamic json): - - emergencyContacts = (json['emergencyContacts'] as List) - .map((e) => ListEmergencyContactsEmergencyContacts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListEmergencyContactsData otherTyped = other as ListEmergencyContactsData; - return emergencyContacts == otherTyped.emergencyContacts; - - } - @override - int get hashCode => emergencyContacts.hashCode; - - - Map toJson() { - Map json = {}; - json['emergencyContacts'] = emergencyContacts.map((e) => e.toJson()).toList(); - return json; - } - - ListEmergencyContactsData({ - required this.emergencyContacts, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_faq_datas.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_faq_datas.dart deleted file mode 100644 index 3c4366d7..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_faq_datas.dart +++ /dev/null @@ -1,123 +0,0 @@ -part of 'generated.dart'; - -class ListFaqDatasVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListFaqDatasVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListFaqDatasData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listFaqDatas", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListFaqDatasFaqDatas { - final String id; - final String category; - final List? questions; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - ListFaqDatasFaqDatas.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - category = nativeFromJson(json['category']), - questions = json['questions'] == null ? null : (json['questions'] as List) - .map((e) => AnyValue.fromJson(e)) - .toList(), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListFaqDatasFaqDatas otherTyped = other as ListFaqDatasFaqDatas; - return id == otherTyped.id && - category == otherTyped.category && - questions == otherTyped.questions && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, category.hashCode, questions.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['category'] = nativeToJson(category); - if (questions != null) { - json['questions'] = questions?.map((e) => e!.toJson()).toList(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - ListFaqDatasFaqDatas({ - required this.id, - required this.category, - this.questions, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class ListFaqDatasData { - final List faqDatas; - ListFaqDatasData.fromJson(dynamic json): - - faqDatas = (json['faqDatas'] as List) - .map((e) => ListFaqDatasFaqDatas.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListFaqDatasData otherTyped = other as ListFaqDatasData; - return faqDatas == otherTyped.faqDatas; - - } - @override - int get hashCode => faqDatas.hashCode; - - - Map toJson() { - Map json = {}; - json['faqDatas'] = faqDatas.map((e) => e.toJson()).toList(); - return json; - } - - ListFaqDatasData({ - required this.faqDatas, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_hubs.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_hubs.dart deleted file mode 100644 index e8b694f7..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_hubs.dart +++ /dev/null @@ -1,140 +0,0 @@ -part of 'generated.dart'; - -class ListHubsVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListHubsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListHubsData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listHubs", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListHubsHubs { - final String id; - final String name; - final String? locationName; - final String? address; - final String? nfcTagId; - final String ownerId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - ListHubsHubs.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - locationName = json['locationName'] == null ? null : nativeFromJson(json['locationName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - nfcTagId = json['nfcTagId'] == null ? null : nativeFromJson(json['nfcTagId']), - ownerId = nativeFromJson(json['ownerId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListHubsHubs otherTyped = other as ListHubsHubs; - return id == otherTyped.id && - name == otherTyped.name && - locationName == otherTyped.locationName && - address == otherTyped.address && - nfcTagId == otherTyped.nfcTagId && - ownerId == otherTyped.ownerId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, locationName.hashCode, address.hashCode, nfcTagId.hashCode, ownerId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - if (locationName != null) { - json['locationName'] = nativeToJson(locationName); - } - if (address != null) { - json['address'] = nativeToJson(address); - } - if (nfcTagId != null) { - json['nfcTagId'] = nativeToJson(nfcTagId); - } - json['ownerId'] = nativeToJson(ownerId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - ListHubsHubs({ - required this.id, - required this.name, - this.locationName, - this.address, - this.nfcTagId, - required this.ownerId, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class ListHubsData { - final List hubs; - ListHubsData.fromJson(dynamic json): - - hubs = (json['hubs'] as List) - .map((e) => ListHubsHubs.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListHubsData otherTyped = other as ListHubsData; - return hubs == otherTyped.hubs; - - } - @override - int get hashCode => hubs.hashCode; - - - Map toJson() { - Map json = {}; - json['hubs'] = hubs.map((e) => e.toJson()).toList(); - return json; - } - - ListHubsData({ - required this.hubs, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates.dart deleted file mode 100644 index a532cfa7..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates.dart +++ /dev/null @@ -1,477 +0,0 @@ -part of 'generated.dart'; - -class ListInvoiceTemplatesVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - ListInvoiceTemplatesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListInvoiceTemplatesVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListInvoiceTemplatesData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListInvoiceTemplatesVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListInvoiceTemplatesVariables vars= ListInvoiceTemplatesVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("listInvoiceTemplates", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListInvoiceTemplatesInvoiceTemplates { - final String id; - final String name; - final String ownerId; - final String? vendorId; - final String? businessId; - final String? orderId; - final EnumValue? paymentTerms; - final String? invoiceNumber; - final Timestamp? issueDate; - final Timestamp? dueDate; - final String? hub; - final String? managerName; - final String? vendorNumber; - final AnyValue? roles; - final AnyValue? charges; - final double? otherCharges; - final double? subtotal; - final double? amount; - final String? notes; - final int? staffCount; - final int? chargesCount; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListInvoiceTemplatesInvoiceTemplatesVendor? vendor; - final ListInvoiceTemplatesInvoiceTemplatesBusiness? business; - final ListInvoiceTemplatesInvoiceTemplatesOrder? order; - ListInvoiceTemplatesInvoiceTemplates.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - ownerId = nativeFromJson(json['ownerId']), - vendorId = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']), - businessId = json['businessId'] == null ? null : nativeFromJson(json['businessId']), - orderId = json['orderId'] == null ? null : nativeFromJson(json['orderId']), - paymentTerms = json['paymentTerms'] == null ? null : inovicePaymentTermsTempDeserializer(json['paymentTerms']), - invoiceNumber = json['invoiceNumber'] == null ? null : nativeFromJson(json['invoiceNumber']), - issueDate = json['issueDate'] == null ? null : Timestamp.fromJson(json['issueDate']), - dueDate = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), - vendorNumber = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']), - roles = json['roles'] == null ? null : AnyValue.fromJson(json['roles']), - charges = json['charges'] == null ? null : AnyValue.fromJson(json['charges']), - otherCharges = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']), - subtotal = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']), - amount = json['amount'] == null ? null : nativeFromJson(json['amount']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - staffCount = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']), - chargesCount = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - vendor = json['vendor'] == null ? null : ListInvoiceTemplatesInvoiceTemplatesVendor.fromJson(json['vendor']), - business = json['business'] == null ? null : ListInvoiceTemplatesInvoiceTemplatesBusiness.fromJson(json['business']), - order = json['order'] == null ? null : ListInvoiceTemplatesInvoiceTemplatesOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesInvoiceTemplates otherTyped = other as ListInvoiceTemplatesInvoiceTemplates; - return id == otherTyped.id && - name == otherTyped.name && - ownerId == otherTyped.ownerId && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, ownerId.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['ownerId'] = nativeToJson(ownerId); - if (vendorId != null) { - json['vendorId'] = nativeToJson(vendorId); - } - if (businessId != null) { - json['businessId'] = nativeToJson(businessId); - } - if (orderId != null) { - json['orderId'] = nativeToJson(orderId); - } - if (paymentTerms != null) { - json['paymentTerms'] = - inovicePaymentTermsTempSerializer(paymentTerms!) - ; - } - if (invoiceNumber != null) { - json['invoiceNumber'] = nativeToJson(invoiceNumber); - } - if (issueDate != null) { - json['issueDate'] = issueDate!.toJson(); - } - if (dueDate != null) { - json['dueDate'] = dueDate!.toJson(); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (managerName != null) { - json['managerName'] = nativeToJson(managerName); - } - if (vendorNumber != null) { - json['vendorNumber'] = nativeToJson(vendorNumber); - } - if (roles != null) { - json['roles'] = roles!.toJson(); - } - if (charges != null) { - json['charges'] = charges!.toJson(); - } - if (otherCharges != null) { - json['otherCharges'] = nativeToJson(otherCharges); - } - if (subtotal != null) { - json['subtotal'] = nativeToJson(subtotal); - } - if (amount != null) { - json['amount'] = nativeToJson(amount); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (staffCount != null) { - json['staffCount'] = nativeToJson(staffCount); - } - if (chargesCount != null) { - json['chargesCount'] = nativeToJson(chargesCount); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - if (vendor != null) { - json['vendor'] = vendor!.toJson(); - } - if (business != null) { - json['business'] = business!.toJson(); - } - if (order != null) { - json['order'] = order!.toJson(); - } - return json; - } - - ListInvoiceTemplatesInvoiceTemplates({ - required this.id, - required this.name, - required this.ownerId, - this.vendorId, - this.businessId, - this.orderId, - this.paymentTerms, - this.invoiceNumber, - this.issueDate, - this.dueDate, - this.hub, - this.managerName, - this.vendorNumber, - this.roles, - this.charges, - this.otherCharges, - this.subtotal, - this.amount, - this.notes, - this.staffCount, - this.chargesCount, - this.createdAt, - this.updatedAt, - this.createdBy, - this.vendor, - this.business, - this.order, - }); -} - -@immutable -class ListInvoiceTemplatesInvoiceTemplatesVendor { - final String id; - final String companyName; - ListInvoiceTemplatesInvoiceTemplatesVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesInvoiceTemplatesVendor otherTyped = other as ListInvoiceTemplatesInvoiceTemplatesVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListInvoiceTemplatesInvoiceTemplatesVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListInvoiceTemplatesInvoiceTemplatesBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - ListInvoiceTemplatesInvoiceTemplatesBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesInvoiceTemplatesBusiness otherTyped = other as ListInvoiceTemplatesInvoiceTemplatesBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - ListInvoiceTemplatesInvoiceTemplatesBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class ListInvoiceTemplatesInvoiceTemplatesOrder { - final String id; - final String? eventName; - final EnumValue status; - final EnumValue orderType; - ListInvoiceTemplatesInvoiceTemplatesOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - status = orderStatusDeserializer(json['status']), - orderType = orderTypeDeserializer(json['orderType']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesInvoiceTemplatesOrder otherTyped = other as ListInvoiceTemplatesInvoiceTemplatesOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - status == otherTyped.status && - orderType == otherTyped.orderType; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, status.hashCode, orderType.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['status'] = - orderStatusSerializer(status) - ; - json['orderType'] = - orderTypeSerializer(orderType) - ; - return json; - } - - ListInvoiceTemplatesInvoiceTemplatesOrder({ - required this.id, - this.eventName, - required this.status, - required this.orderType, - }); -} - -@immutable -class ListInvoiceTemplatesData { - final List invoiceTemplates; - ListInvoiceTemplatesData.fromJson(dynamic json): - - invoiceTemplates = (json['invoiceTemplates'] as List) - .map((e) => ListInvoiceTemplatesInvoiceTemplates.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesData otherTyped = other as ListInvoiceTemplatesData; - return invoiceTemplates == otherTyped.invoiceTemplates; - - } - @override - int get hashCode => invoiceTemplates.hashCode; - - - Map toJson() { - Map json = {}; - json['invoiceTemplates'] = invoiceTemplates.map((e) => e.toJson()).toList(); - return json; - } - - ListInvoiceTemplatesData({ - required this.invoiceTemplates, - }); -} - -@immutable -class ListInvoiceTemplatesVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListInvoiceTemplatesVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesVariables otherTyped = other as ListInvoiceTemplatesVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListInvoiceTemplatesVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates_by_business_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates_by_business_id.dart deleted file mode 100644 index 00c92572..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates_by_business_id.dart +++ /dev/null @@ -1,484 +0,0 @@ -part of 'generated.dart'; - -class ListInvoiceTemplatesByBusinessIdVariablesBuilder { - String businessId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListInvoiceTemplatesByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListInvoiceTemplatesByBusinessIdVariablesBuilder(this._dataConnect, {required this.businessId,}); - Deserializer dataDeserializer = (dynamic json) => ListInvoiceTemplatesByBusinessIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListInvoiceTemplatesByBusinessIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListInvoiceTemplatesByBusinessIdVariables vars= ListInvoiceTemplatesByBusinessIdVariables(businessId: businessId,offset: _offset,limit: _limit,); - return _dataConnect.query("listInvoiceTemplatesByBusinessId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListInvoiceTemplatesByBusinessIdInvoiceTemplates { - final String id; - final String name; - final String ownerId; - final String? vendorId; - final String? businessId; - final String? orderId; - final EnumValue? paymentTerms; - final String? invoiceNumber; - final Timestamp? issueDate; - final Timestamp? dueDate; - final String? hub; - final String? managerName; - final String? vendorNumber; - final AnyValue? roles; - final AnyValue? charges; - final double? otherCharges; - final double? subtotal; - final double? amount; - final String? notes; - final int? staffCount; - final int? chargesCount; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListInvoiceTemplatesByBusinessIdInvoiceTemplatesVendor? vendor; - final ListInvoiceTemplatesByBusinessIdInvoiceTemplatesBusiness? business; - final ListInvoiceTemplatesByBusinessIdInvoiceTemplatesOrder? order; - ListInvoiceTemplatesByBusinessIdInvoiceTemplates.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - ownerId = nativeFromJson(json['ownerId']), - vendorId = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']), - businessId = json['businessId'] == null ? null : nativeFromJson(json['businessId']), - orderId = json['orderId'] == null ? null : nativeFromJson(json['orderId']), - paymentTerms = json['paymentTerms'] == null ? null : inovicePaymentTermsTempDeserializer(json['paymentTerms']), - invoiceNumber = json['invoiceNumber'] == null ? null : nativeFromJson(json['invoiceNumber']), - issueDate = json['issueDate'] == null ? null : Timestamp.fromJson(json['issueDate']), - dueDate = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), - vendorNumber = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']), - roles = json['roles'] == null ? null : AnyValue.fromJson(json['roles']), - charges = json['charges'] == null ? null : AnyValue.fromJson(json['charges']), - otherCharges = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']), - subtotal = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']), - amount = json['amount'] == null ? null : nativeFromJson(json['amount']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - staffCount = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']), - chargesCount = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - vendor = json['vendor'] == null ? null : ListInvoiceTemplatesByBusinessIdInvoiceTemplatesVendor.fromJson(json['vendor']), - business = json['business'] == null ? null : ListInvoiceTemplatesByBusinessIdInvoiceTemplatesBusiness.fromJson(json['business']), - order = json['order'] == null ? null : ListInvoiceTemplatesByBusinessIdInvoiceTemplatesOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByBusinessIdInvoiceTemplates otherTyped = other as ListInvoiceTemplatesByBusinessIdInvoiceTemplates; - return id == otherTyped.id && - name == otherTyped.name && - ownerId == otherTyped.ownerId && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, ownerId.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['ownerId'] = nativeToJson(ownerId); - if (vendorId != null) { - json['vendorId'] = nativeToJson(vendorId); - } - if (businessId != null) { - json['businessId'] = nativeToJson(businessId); - } - if (orderId != null) { - json['orderId'] = nativeToJson(orderId); - } - if (paymentTerms != null) { - json['paymentTerms'] = - inovicePaymentTermsTempSerializer(paymentTerms!) - ; - } - if (invoiceNumber != null) { - json['invoiceNumber'] = nativeToJson(invoiceNumber); - } - if (issueDate != null) { - json['issueDate'] = issueDate!.toJson(); - } - if (dueDate != null) { - json['dueDate'] = dueDate!.toJson(); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (managerName != null) { - json['managerName'] = nativeToJson(managerName); - } - if (vendorNumber != null) { - json['vendorNumber'] = nativeToJson(vendorNumber); - } - if (roles != null) { - json['roles'] = roles!.toJson(); - } - if (charges != null) { - json['charges'] = charges!.toJson(); - } - if (otherCharges != null) { - json['otherCharges'] = nativeToJson(otherCharges); - } - if (subtotal != null) { - json['subtotal'] = nativeToJson(subtotal); - } - if (amount != null) { - json['amount'] = nativeToJson(amount); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (staffCount != null) { - json['staffCount'] = nativeToJson(staffCount); - } - if (chargesCount != null) { - json['chargesCount'] = nativeToJson(chargesCount); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - if (vendor != null) { - json['vendor'] = vendor!.toJson(); - } - if (business != null) { - json['business'] = business!.toJson(); - } - if (order != null) { - json['order'] = order!.toJson(); - } - return json; - } - - ListInvoiceTemplatesByBusinessIdInvoiceTemplates({ - required this.id, - required this.name, - required this.ownerId, - this.vendorId, - this.businessId, - this.orderId, - this.paymentTerms, - this.invoiceNumber, - this.issueDate, - this.dueDate, - this.hub, - this.managerName, - this.vendorNumber, - this.roles, - this.charges, - this.otherCharges, - this.subtotal, - this.amount, - this.notes, - this.staffCount, - this.chargesCount, - this.createdAt, - this.updatedAt, - this.createdBy, - this.vendor, - this.business, - this.order, - }); -} - -@immutable -class ListInvoiceTemplatesByBusinessIdInvoiceTemplatesVendor { - final String id; - final String companyName; - ListInvoiceTemplatesByBusinessIdInvoiceTemplatesVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByBusinessIdInvoiceTemplatesVendor otherTyped = other as ListInvoiceTemplatesByBusinessIdInvoiceTemplatesVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListInvoiceTemplatesByBusinessIdInvoiceTemplatesVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListInvoiceTemplatesByBusinessIdInvoiceTemplatesBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - ListInvoiceTemplatesByBusinessIdInvoiceTemplatesBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByBusinessIdInvoiceTemplatesBusiness otherTyped = other as ListInvoiceTemplatesByBusinessIdInvoiceTemplatesBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - ListInvoiceTemplatesByBusinessIdInvoiceTemplatesBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class ListInvoiceTemplatesByBusinessIdInvoiceTemplatesOrder { - final String id; - final String? eventName; - final EnumValue status; - final EnumValue orderType; - ListInvoiceTemplatesByBusinessIdInvoiceTemplatesOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - status = orderStatusDeserializer(json['status']), - orderType = orderTypeDeserializer(json['orderType']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByBusinessIdInvoiceTemplatesOrder otherTyped = other as ListInvoiceTemplatesByBusinessIdInvoiceTemplatesOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - status == otherTyped.status && - orderType == otherTyped.orderType; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, status.hashCode, orderType.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['status'] = - orderStatusSerializer(status) - ; - json['orderType'] = - orderTypeSerializer(orderType) - ; - return json; - } - - ListInvoiceTemplatesByBusinessIdInvoiceTemplatesOrder({ - required this.id, - this.eventName, - required this.status, - required this.orderType, - }); -} - -@immutable -class ListInvoiceTemplatesByBusinessIdData { - final List invoiceTemplates; - ListInvoiceTemplatesByBusinessIdData.fromJson(dynamic json): - - invoiceTemplates = (json['invoiceTemplates'] as List) - .map((e) => ListInvoiceTemplatesByBusinessIdInvoiceTemplates.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByBusinessIdData otherTyped = other as ListInvoiceTemplatesByBusinessIdData; - return invoiceTemplates == otherTyped.invoiceTemplates; - - } - @override - int get hashCode => invoiceTemplates.hashCode; - - - Map toJson() { - Map json = {}; - json['invoiceTemplates'] = invoiceTemplates.map((e) => e.toJson()).toList(); - return json; - } - - ListInvoiceTemplatesByBusinessIdData({ - required this.invoiceTemplates, - }); -} - -@immutable -class ListInvoiceTemplatesByBusinessIdVariables { - final String businessId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListInvoiceTemplatesByBusinessIdVariables.fromJson(Map json): - - businessId = nativeFromJson(json['businessId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByBusinessIdVariables otherTyped = other as ListInvoiceTemplatesByBusinessIdVariables; - return businessId == otherTyped.businessId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([businessId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessId'] = nativeToJson(businessId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListInvoiceTemplatesByBusinessIdVariables({ - required this.businessId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates_by_order_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates_by_order_id.dart deleted file mode 100644 index c8538655..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates_by_order_id.dart +++ /dev/null @@ -1,484 +0,0 @@ -part of 'generated.dart'; - -class ListInvoiceTemplatesByOrderIdVariablesBuilder { - String orderId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListInvoiceTemplatesByOrderIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesByOrderIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListInvoiceTemplatesByOrderIdVariablesBuilder(this._dataConnect, {required this.orderId,}); - Deserializer dataDeserializer = (dynamic json) => ListInvoiceTemplatesByOrderIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListInvoiceTemplatesByOrderIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListInvoiceTemplatesByOrderIdVariables vars= ListInvoiceTemplatesByOrderIdVariables(orderId: orderId,offset: _offset,limit: _limit,); - return _dataConnect.query("listInvoiceTemplatesByOrderId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListInvoiceTemplatesByOrderIdInvoiceTemplates { - final String id; - final String name; - final String ownerId; - final String? vendorId; - final String? businessId; - final String? orderId; - final EnumValue? paymentTerms; - final String? invoiceNumber; - final Timestamp? issueDate; - final Timestamp? dueDate; - final String? hub; - final String? managerName; - final String? vendorNumber; - final AnyValue? roles; - final AnyValue? charges; - final double? otherCharges; - final double? subtotal; - final double? amount; - final String? notes; - final int? staffCount; - final int? chargesCount; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListInvoiceTemplatesByOrderIdInvoiceTemplatesVendor? vendor; - final ListInvoiceTemplatesByOrderIdInvoiceTemplatesBusiness? business; - final ListInvoiceTemplatesByOrderIdInvoiceTemplatesOrder? order; - ListInvoiceTemplatesByOrderIdInvoiceTemplates.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - ownerId = nativeFromJson(json['ownerId']), - vendorId = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']), - businessId = json['businessId'] == null ? null : nativeFromJson(json['businessId']), - orderId = json['orderId'] == null ? null : nativeFromJson(json['orderId']), - paymentTerms = json['paymentTerms'] == null ? null : inovicePaymentTermsTempDeserializer(json['paymentTerms']), - invoiceNumber = json['invoiceNumber'] == null ? null : nativeFromJson(json['invoiceNumber']), - issueDate = json['issueDate'] == null ? null : Timestamp.fromJson(json['issueDate']), - dueDate = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), - vendorNumber = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']), - roles = json['roles'] == null ? null : AnyValue.fromJson(json['roles']), - charges = json['charges'] == null ? null : AnyValue.fromJson(json['charges']), - otherCharges = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']), - subtotal = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']), - amount = json['amount'] == null ? null : nativeFromJson(json['amount']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - staffCount = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']), - chargesCount = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - vendor = json['vendor'] == null ? null : ListInvoiceTemplatesByOrderIdInvoiceTemplatesVendor.fromJson(json['vendor']), - business = json['business'] == null ? null : ListInvoiceTemplatesByOrderIdInvoiceTemplatesBusiness.fromJson(json['business']), - order = json['order'] == null ? null : ListInvoiceTemplatesByOrderIdInvoiceTemplatesOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByOrderIdInvoiceTemplates otherTyped = other as ListInvoiceTemplatesByOrderIdInvoiceTemplates; - return id == otherTyped.id && - name == otherTyped.name && - ownerId == otherTyped.ownerId && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, ownerId.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['ownerId'] = nativeToJson(ownerId); - if (vendorId != null) { - json['vendorId'] = nativeToJson(vendorId); - } - if (businessId != null) { - json['businessId'] = nativeToJson(businessId); - } - if (orderId != null) { - json['orderId'] = nativeToJson(orderId); - } - if (paymentTerms != null) { - json['paymentTerms'] = - inovicePaymentTermsTempSerializer(paymentTerms!) - ; - } - if (invoiceNumber != null) { - json['invoiceNumber'] = nativeToJson(invoiceNumber); - } - if (issueDate != null) { - json['issueDate'] = issueDate!.toJson(); - } - if (dueDate != null) { - json['dueDate'] = dueDate!.toJson(); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (managerName != null) { - json['managerName'] = nativeToJson(managerName); - } - if (vendorNumber != null) { - json['vendorNumber'] = nativeToJson(vendorNumber); - } - if (roles != null) { - json['roles'] = roles!.toJson(); - } - if (charges != null) { - json['charges'] = charges!.toJson(); - } - if (otherCharges != null) { - json['otherCharges'] = nativeToJson(otherCharges); - } - if (subtotal != null) { - json['subtotal'] = nativeToJson(subtotal); - } - if (amount != null) { - json['amount'] = nativeToJson(amount); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (staffCount != null) { - json['staffCount'] = nativeToJson(staffCount); - } - if (chargesCount != null) { - json['chargesCount'] = nativeToJson(chargesCount); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - if (vendor != null) { - json['vendor'] = vendor!.toJson(); - } - if (business != null) { - json['business'] = business!.toJson(); - } - if (order != null) { - json['order'] = order!.toJson(); - } - return json; - } - - ListInvoiceTemplatesByOrderIdInvoiceTemplates({ - required this.id, - required this.name, - required this.ownerId, - this.vendorId, - this.businessId, - this.orderId, - this.paymentTerms, - this.invoiceNumber, - this.issueDate, - this.dueDate, - this.hub, - this.managerName, - this.vendorNumber, - this.roles, - this.charges, - this.otherCharges, - this.subtotal, - this.amount, - this.notes, - this.staffCount, - this.chargesCount, - this.createdAt, - this.updatedAt, - this.createdBy, - this.vendor, - this.business, - this.order, - }); -} - -@immutable -class ListInvoiceTemplatesByOrderIdInvoiceTemplatesVendor { - final String id; - final String companyName; - ListInvoiceTemplatesByOrderIdInvoiceTemplatesVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByOrderIdInvoiceTemplatesVendor otherTyped = other as ListInvoiceTemplatesByOrderIdInvoiceTemplatesVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListInvoiceTemplatesByOrderIdInvoiceTemplatesVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListInvoiceTemplatesByOrderIdInvoiceTemplatesBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - ListInvoiceTemplatesByOrderIdInvoiceTemplatesBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByOrderIdInvoiceTemplatesBusiness otherTyped = other as ListInvoiceTemplatesByOrderIdInvoiceTemplatesBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - ListInvoiceTemplatesByOrderIdInvoiceTemplatesBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class ListInvoiceTemplatesByOrderIdInvoiceTemplatesOrder { - final String id; - final String? eventName; - final EnumValue status; - final EnumValue orderType; - ListInvoiceTemplatesByOrderIdInvoiceTemplatesOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - status = orderStatusDeserializer(json['status']), - orderType = orderTypeDeserializer(json['orderType']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByOrderIdInvoiceTemplatesOrder otherTyped = other as ListInvoiceTemplatesByOrderIdInvoiceTemplatesOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - status == otherTyped.status && - orderType == otherTyped.orderType; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, status.hashCode, orderType.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['status'] = - orderStatusSerializer(status) - ; - json['orderType'] = - orderTypeSerializer(orderType) - ; - return json; - } - - ListInvoiceTemplatesByOrderIdInvoiceTemplatesOrder({ - required this.id, - this.eventName, - required this.status, - required this.orderType, - }); -} - -@immutable -class ListInvoiceTemplatesByOrderIdData { - final List invoiceTemplates; - ListInvoiceTemplatesByOrderIdData.fromJson(dynamic json): - - invoiceTemplates = (json['invoiceTemplates'] as List) - .map((e) => ListInvoiceTemplatesByOrderIdInvoiceTemplates.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByOrderIdData otherTyped = other as ListInvoiceTemplatesByOrderIdData; - return invoiceTemplates == otherTyped.invoiceTemplates; - - } - @override - int get hashCode => invoiceTemplates.hashCode; - - - Map toJson() { - Map json = {}; - json['invoiceTemplates'] = invoiceTemplates.map((e) => e.toJson()).toList(); - return json; - } - - ListInvoiceTemplatesByOrderIdData({ - required this.invoiceTemplates, - }); -} - -@immutable -class ListInvoiceTemplatesByOrderIdVariables { - final String orderId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListInvoiceTemplatesByOrderIdVariables.fromJson(Map json): - - orderId = nativeFromJson(json['orderId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByOrderIdVariables otherTyped = other as ListInvoiceTemplatesByOrderIdVariables; - return orderId == otherTyped.orderId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([orderId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['orderId'] = nativeToJson(orderId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListInvoiceTemplatesByOrderIdVariables({ - required this.orderId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates_by_owner_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates_by_owner_id.dart deleted file mode 100644 index 205eeae8..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates_by_owner_id.dart +++ /dev/null @@ -1,484 +0,0 @@ -part of 'generated.dart'; - -class ListInvoiceTemplatesByOwnerIdVariablesBuilder { - String ownerId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListInvoiceTemplatesByOwnerIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesByOwnerIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListInvoiceTemplatesByOwnerIdVariablesBuilder(this._dataConnect, {required this.ownerId,}); - Deserializer dataDeserializer = (dynamic json) => ListInvoiceTemplatesByOwnerIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListInvoiceTemplatesByOwnerIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListInvoiceTemplatesByOwnerIdVariables vars= ListInvoiceTemplatesByOwnerIdVariables(ownerId: ownerId,offset: _offset,limit: _limit,); - return _dataConnect.query("listInvoiceTemplatesByOwnerId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListInvoiceTemplatesByOwnerIdInvoiceTemplates { - final String id; - final String name; - final String ownerId; - final String? vendorId; - final String? businessId; - final String? orderId; - final EnumValue? paymentTerms; - final String? invoiceNumber; - final Timestamp? issueDate; - final Timestamp? dueDate; - final String? hub; - final String? managerName; - final String? vendorNumber; - final AnyValue? roles; - final AnyValue? charges; - final double? otherCharges; - final double? subtotal; - final double? amount; - final String? notes; - final int? staffCount; - final int? chargesCount; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListInvoiceTemplatesByOwnerIdInvoiceTemplatesVendor? vendor; - final ListInvoiceTemplatesByOwnerIdInvoiceTemplatesBusiness? business; - final ListInvoiceTemplatesByOwnerIdInvoiceTemplatesOrder? order; - ListInvoiceTemplatesByOwnerIdInvoiceTemplates.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - ownerId = nativeFromJson(json['ownerId']), - vendorId = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']), - businessId = json['businessId'] == null ? null : nativeFromJson(json['businessId']), - orderId = json['orderId'] == null ? null : nativeFromJson(json['orderId']), - paymentTerms = json['paymentTerms'] == null ? null : inovicePaymentTermsTempDeserializer(json['paymentTerms']), - invoiceNumber = json['invoiceNumber'] == null ? null : nativeFromJson(json['invoiceNumber']), - issueDate = json['issueDate'] == null ? null : Timestamp.fromJson(json['issueDate']), - dueDate = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), - vendorNumber = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']), - roles = json['roles'] == null ? null : AnyValue.fromJson(json['roles']), - charges = json['charges'] == null ? null : AnyValue.fromJson(json['charges']), - otherCharges = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']), - subtotal = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']), - amount = json['amount'] == null ? null : nativeFromJson(json['amount']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - staffCount = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']), - chargesCount = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - vendor = json['vendor'] == null ? null : ListInvoiceTemplatesByOwnerIdInvoiceTemplatesVendor.fromJson(json['vendor']), - business = json['business'] == null ? null : ListInvoiceTemplatesByOwnerIdInvoiceTemplatesBusiness.fromJson(json['business']), - order = json['order'] == null ? null : ListInvoiceTemplatesByOwnerIdInvoiceTemplatesOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByOwnerIdInvoiceTemplates otherTyped = other as ListInvoiceTemplatesByOwnerIdInvoiceTemplates; - return id == otherTyped.id && - name == otherTyped.name && - ownerId == otherTyped.ownerId && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, ownerId.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['ownerId'] = nativeToJson(ownerId); - if (vendorId != null) { - json['vendorId'] = nativeToJson(vendorId); - } - if (businessId != null) { - json['businessId'] = nativeToJson(businessId); - } - if (orderId != null) { - json['orderId'] = nativeToJson(orderId); - } - if (paymentTerms != null) { - json['paymentTerms'] = - inovicePaymentTermsTempSerializer(paymentTerms!) - ; - } - if (invoiceNumber != null) { - json['invoiceNumber'] = nativeToJson(invoiceNumber); - } - if (issueDate != null) { - json['issueDate'] = issueDate!.toJson(); - } - if (dueDate != null) { - json['dueDate'] = dueDate!.toJson(); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (managerName != null) { - json['managerName'] = nativeToJson(managerName); - } - if (vendorNumber != null) { - json['vendorNumber'] = nativeToJson(vendorNumber); - } - if (roles != null) { - json['roles'] = roles!.toJson(); - } - if (charges != null) { - json['charges'] = charges!.toJson(); - } - if (otherCharges != null) { - json['otherCharges'] = nativeToJson(otherCharges); - } - if (subtotal != null) { - json['subtotal'] = nativeToJson(subtotal); - } - if (amount != null) { - json['amount'] = nativeToJson(amount); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (staffCount != null) { - json['staffCount'] = nativeToJson(staffCount); - } - if (chargesCount != null) { - json['chargesCount'] = nativeToJson(chargesCount); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - if (vendor != null) { - json['vendor'] = vendor!.toJson(); - } - if (business != null) { - json['business'] = business!.toJson(); - } - if (order != null) { - json['order'] = order!.toJson(); - } - return json; - } - - ListInvoiceTemplatesByOwnerIdInvoiceTemplates({ - required this.id, - required this.name, - required this.ownerId, - this.vendorId, - this.businessId, - this.orderId, - this.paymentTerms, - this.invoiceNumber, - this.issueDate, - this.dueDate, - this.hub, - this.managerName, - this.vendorNumber, - this.roles, - this.charges, - this.otherCharges, - this.subtotal, - this.amount, - this.notes, - this.staffCount, - this.chargesCount, - this.createdAt, - this.updatedAt, - this.createdBy, - this.vendor, - this.business, - this.order, - }); -} - -@immutable -class ListInvoiceTemplatesByOwnerIdInvoiceTemplatesVendor { - final String id; - final String companyName; - ListInvoiceTemplatesByOwnerIdInvoiceTemplatesVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByOwnerIdInvoiceTemplatesVendor otherTyped = other as ListInvoiceTemplatesByOwnerIdInvoiceTemplatesVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListInvoiceTemplatesByOwnerIdInvoiceTemplatesVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListInvoiceTemplatesByOwnerIdInvoiceTemplatesBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - ListInvoiceTemplatesByOwnerIdInvoiceTemplatesBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByOwnerIdInvoiceTemplatesBusiness otherTyped = other as ListInvoiceTemplatesByOwnerIdInvoiceTemplatesBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - ListInvoiceTemplatesByOwnerIdInvoiceTemplatesBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class ListInvoiceTemplatesByOwnerIdInvoiceTemplatesOrder { - final String id; - final String? eventName; - final EnumValue status; - final EnumValue orderType; - ListInvoiceTemplatesByOwnerIdInvoiceTemplatesOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - status = orderStatusDeserializer(json['status']), - orderType = orderTypeDeserializer(json['orderType']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByOwnerIdInvoiceTemplatesOrder otherTyped = other as ListInvoiceTemplatesByOwnerIdInvoiceTemplatesOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - status == otherTyped.status && - orderType == otherTyped.orderType; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, status.hashCode, orderType.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['status'] = - orderStatusSerializer(status) - ; - json['orderType'] = - orderTypeSerializer(orderType) - ; - return json; - } - - ListInvoiceTemplatesByOwnerIdInvoiceTemplatesOrder({ - required this.id, - this.eventName, - required this.status, - required this.orderType, - }); -} - -@immutable -class ListInvoiceTemplatesByOwnerIdData { - final List invoiceTemplates; - ListInvoiceTemplatesByOwnerIdData.fromJson(dynamic json): - - invoiceTemplates = (json['invoiceTemplates'] as List) - .map((e) => ListInvoiceTemplatesByOwnerIdInvoiceTemplates.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByOwnerIdData otherTyped = other as ListInvoiceTemplatesByOwnerIdData; - return invoiceTemplates == otherTyped.invoiceTemplates; - - } - @override - int get hashCode => invoiceTemplates.hashCode; - - - Map toJson() { - Map json = {}; - json['invoiceTemplates'] = invoiceTemplates.map((e) => e.toJson()).toList(); - return json; - } - - ListInvoiceTemplatesByOwnerIdData({ - required this.invoiceTemplates, - }); -} - -@immutable -class ListInvoiceTemplatesByOwnerIdVariables { - final String ownerId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListInvoiceTemplatesByOwnerIdVariables.fromJson(Map json): - - ownerId = nativeFromJson(json['ownerId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByOwnerIdVariables otherTyped = other as ListInvoiceTemplatesByOwnerIdVariables; - return ownerId == otherTyped.ownerId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([ownerId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['ownerId'] = nativeToJson(ownerId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListInvoiceTemplatesByOwnerIdVariables({ - required this.ownerId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates_by_vendor_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates_by_vendor_id.dart deleted file mode 100644 index aae5f57f..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoice_templates_by_vendor_id.dart +++ /dev/null @@ -1,484 +0,0 @@ -part of 'generated.dart'; - -class ListInvoiceTemplatesByVendorIdVariablesBuilder { - String vendorId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListInvoiceTemplatesByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListInvoiceTemplatesByVendorIdVariablesBuilder(this._dataConnect, {required this.vendorId,}); - Deserializer dataDeserializer = (dynamic json) => ListInvoiceTemplatesByVendorIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListInvoiceTemplatesByVendorIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListInvoiceTemplatesByVendorIdVariables vars= ListInvoiceTemplatesByVendorIdVariables(vendorId: vendorId,offset: _offset,limit: _limit,); - return _dataConnect.query("listInvoiceTemplatesByVendorId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListInvoiceTemplatesByVendorIdInvoiceTemplates { - final String id; - final String name; - final String ownerId; - final String? vendorId; - final String? businessId; - final String? orderId; - final EnumValue? paymentTerms; - final String? invoiceNumber; - final Timestamp? issueDate; - final Timestamp? dueDate; - final String? hub; - final String? managerName; - final String? vendorNumber; - final AnyValue? roles; - final AnyValue? charges; - final double? otherCharges; - final double? subtotal; - final double? amount; - final String? notes; - final int? staffCount; - final int? chargesCount; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListInvoiceTemplatesByVendorIdInvoiceTemplatesVendor? vendor; - final ListInvoiceTemplatesByVendorIdInvoiceTemplatesBusiness? business; - final ListInvoiceTemplatesByVendorIdInvoiceTemplatesOrder? order; - ListInvoiceTemplatesByVendorIdInvoiceTemplates.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - ownerId = nativeFromJson(json['ownerId']), - vendorId = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']), - businessId = json['businessId'] == null ? null : nativeFromJson(json['businessId']), - orderId = json['orderId'] == null ? null : nativeFromJson(json['orderId']), - paymentTerms = json['paymentTerms'] == null ? null : inovicePaymentTermsTempDeserializer(json['paymentTerms']), - invoiceNumber = json['invoiceNumber'] == null ? null : nativeFromJson(json['invoiceNumber']), - issueDate = json['issueDate'] == null ? null : Timestamp.fromJson(json['issueDate']), - dueDate = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), - vendorNumber = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']), - roles = json['roles'] == null ? null : AnyValue.fromJson(json['roles']), - charges = json['charges'] == null ? null : AnyValue.fromJson(json['charges']), - otherCharges = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']), - subtotal = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']), - amount = json['amount'] == null ? null : nativeFromJson(json['amount']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - staffCount = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']), - chargesCount = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - vendor = json['vendor'] == null ? null : ListInvoiceTemplatesByVendorIdInvoiceTemplatesVendor.fromJson(json['vendor']), - business = json['business'] == null ? null : ListInvoiceTemplatesByVendorIdInvoiceTemplatesBusiness.fromJson(json['business']), - order = json['order'] == null ? null : ListInvoiceTemplatesByVendorIdInvoiceTemplatesOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByVendorIdInvoiceTemplates otherTyped = other as ListInvoiceTemplatesByVendorIdInvoiceTemplates; - return id == otherTyped.id && - name == otherTyped.name && - ownerId == otherTyped.ownerId && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, ownerId.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['ownerId'] = nativeToJson(ownerId); - if (vendorId != null) { - json['vendorId'] = nativeToJson(vendorId); - } - if (businessId != null) { - json['businessId'] = nativeToJson(businessId); - } - if (orderId != null) { - json['orderId'] = nativeToJson(orderId); - } - if (paymentTerms != null) { - json['paymentTerms'] = - inovicePaymentTermsTempSerializer(paymentTerms!) - ; - } - if (invoiceNumber != null) { - json['invoiceNumber'] = nativeToJson(invoiceNumber); - } - if (issueDate != null) { - json['issueDate'] = issueDate!.toJson(); - } - if (dueDate != null) { - json['dueDate'] = dueDate!.toJson(); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (managerName != null) { - json['managerName'] = nativeToJson(managerName); - } - if (vendorNumber != null) { - json['vendorNumber'] = nativeToJson(vendorNumber); - } - if (roles != null) { - json['roles'] = roles!.toJson(); - } - if (charges != null) { - json['charges'] = charges!.toJson(); - } - if (otherCharges != null) { - json['otherCharges'] = nativeToJson(otherCharges); - } - if (subtotal != null) { - json['subtotal'] = nativeToJson(subtotal); - } - if (amount != null) { - json['amount'] = nativeToJson(amount); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (staffCount != null) { - json['staffCount'] = nativeToJson(staffCount); - } - if (chargesCount != null) { - json['chargesCount'] = nativeToJson(chargesCount); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - if (vendor != null) { - json['vendor'] = vendor!.toJson(); - } - if (business != null) { - json['business'] = business!.toJson(); - } - if (order != null) { - json['order'] = order!.toJson(); - } - return json; - } - - ListInvoiceTemplatesByVendorIdInvoiceTemplates({ - required this.id, - required this.name, - required this.ownerId, - this.vendorId, - this.businessId, - this.orderId, - this.paymentTerms, - this.invoiceNumber, - this.issueDate, - this.dueDate, - this.hub, - this.managerName, - this.vendorNumber, - this.roles, - this.charges, - this.otherCharges, - this.subtotal, - this.amount, - this.notes, - this.staffCount, - this.chargesCount, - this.createdAt, - this.updatedAt, - this.createdBy, - this.vendor, - this.business, - this.order, - }); -} - -@immutable -class ListInvoiceTemplatesByVendorIdInvoiceTemplatesVendor { - final String id; - final String companyName; - ListInvoiceTemplatesByVendorIdInvoiceTemplatesVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByVendorIdInvoiceTemplatesVendor otherTyped = other as ListInvoiceTemplatesByVendorIdInvoiceTemplatesVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListInvoiceTemplatesByVendorIdInvoiceTemplatesVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListInvoiceTemplatesByVendorIdInvoiceTemplatesBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - ListInvoiceTemplatesByVendorIdInvoiceTemplatesBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByVendorIdInvoiceTemplatesBusiness otherTyped = other as ListInvoiceTemplatesByVendorIdInvoiceTemplatesBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - ListInvoiceTemplatesByVendorIdInvoiceTemplatesBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class ListInvoiceTemplatesByVendorIdInvoiceTemplatesOrder { - final String id; - final String? eventName; - final EnumValue status; - final EnumValue orderType; - ListInvoiceTemplatesByVendorIdInvoiceTemplatesOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - status = orderStatusDeserializer(json['status']), - orderType = orderTypeDeserializer(json['orderType']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByVendorIdInvoiceTemplatesOrder otherTyped = other as ListInvoiceTemplatesByVendorIdInvoiceTemplatesOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - status == otherTyped.status && - orderType == otherTyped.orderType; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, status.hashCode, orderType.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['status'] = - orderStatusSerializer(status) - ; - json['orderType'] = - orderTypeSerializer(orderType) - ; - return json; - } - - ListInvoiceTemplatesByVendorIdInvoiceTemplatesOrder({ - required this.id, - this.eventName, - required this.status, - required this.orderType, - }); -} - -@immutable -class ListInvoiceTemplatesByVendorIdData { - final List invoiceTemplates; - ListInvoiceTemplatesByVendorIdData.fromJson(dynamic json): - - invoiceTemplates = (json['invoiceTemplates'] as List) - .map((e) => ListInvoiceTemplatesByVendorIdInvoiceTemplates.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByVendorIdData otherTyped = other as ListInvoiceTemplatesByVendorIdData; - return invoiceTemplates == otherTyped.invoiceTemplates; - - } - @override - int get hashCode => invoiceTemplates.hashCode; - - - Map toJson() { - Map json = {}; - json['invoiceTemplates'] = invoiceTemplates.map((e) => e.toJson()).toList(); - return json; - } - - ListInvoiceTemplatesByVendorIdData({ - required this.invoiceTemplates, - }); -} - -@immutable -class ListInvoiceTemplatesByVendorIdVariables { - final String vendorId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListInvoiceTemplatesByVendorIdVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoiceTemplatesByVendorIdVariables otherTyped = other as ListInvoiceTemplatesByVendorIdVariables; - return vendorId == otherTyped.vendorId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListInvoiceTemplatesByVendorIdVariables({ - required this.vendorId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices.dart deleted file mode 100644 index 74c1ebe9..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices.dart +++ /dev/null @@ -1,474 +0,0 @@ -part of 'generated.dart'; - -class ListInvoicesVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - ListInvoicesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoicesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListInvoicesVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListInvoicesData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListInvoicesVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListInvoicesVariables vars= ListInvoicesVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("listInvoices", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListInvoicesInvoices { - final String id; - final EnumValue status; - final String vendorId; - final String businessId; - final String orderId; - final EnumValue? paymentTerms; - final String invoiceNumber; - final Timestamp issueDate; - final Timestamp dueDate; - final String? hub; - final String? managerName; - final String? vendorNumber; - final AnyValue? roles; - final AnyValue? charges; - final double? otherCharges; - final double? subtotal; - final double amount; - final String? notes; - final int? staffCount; - final int? chargesCount; - final AnyValue? disputedItems; - final String? disputeReason; - final String? disputeDetails; - final ListInvoicesInvoicesVendor vendor; - final ListInvoicesInvoicesBusiness business; - final ListInvoicesInvoicesOrder order; - ListInvoicesInvoices.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - status = invoiceStatusDeserializer(json['status']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderId = nativeFromJson(json['orderId']), - paymentTerms = json['paymentTerms'] == null ? null : inovicePaymentTermsDeserializer(json['paymentTerms']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - issueDate = Timestamp.fromJson(json['issueDate']), - dueDate = Timestamp.fromJson(json['dueDate']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), - vendorNumber = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']), - roles = json['roles'] == null ? null : AnyValue.fromJson(json['roles']), - charges = json['charges'] == null ? null : AnyValue.fromJson(json['charges']), - otherCharges = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']), - subtotal = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']), - amount = nativeFromJson(json['amount']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - staffCount = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']), - chargesCount = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']), - disputedItems = json['disputedItems'] == null ? null : AnyValue.fromJson(json['disputedItems']), - disputeReason = json['disputeReason'] == null ? null : nativeFromJson(json['disputeReason']), - disputeDetails = json['disputeDetails'] == null ? null : nativeFromJson(json['disputeDetails']), - vendor = ListInvoicesInvoicesVendor.fromJson(json['vendor']), - business = ListInvoicesInvoicesBusiness.fromJson(json['business']), - order = ListInvoicesInvoicesOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesInvoices otherTyped = other as ListInvoicesInvoices; - return id == otherTyped.id && - status == otherTyped.status && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount && - disputedItems == otherTyped.disputedItems && - disputeReason == otherTyped.disputeReason && - disputeDetails == otherTyped.disputeDetails && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, status.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode, disputedItems.hashCode, disputeReason.hashCode, disputeDetails.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['status'] = - invoiceStatusSerializer(status) - ; - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderId'] = nativeToJson(orderId); - if (paymentTerms != null) { - json['paymentTerms'] = - inovicePaymentTermsSerializer(paymentTerms!) - ; - } - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['issueDate'] = issueDate.toJson(); - json['dueDate'] = dueDate.toJson(); - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (managerName != null) { - json['managerName'] = nativeToJson(managerName); - } - if (vendorNumber != null) { - json['vendorNumber'] = nativeToJson(vendorNumber); - } - if (roles != null) { - json['roles'] = roles!.toJson(); - } - if (charges != null) { - json['charges'] = charges!.toJson(); - } - if (otherCharges != null) { - json['otherCharges'] = nativeToJson(otherCharges); - } - if (subtotal != null) { - json['subtotal'] = nativeToJson(subtotal); - } - json['amount'] = nativeToJson(amount); - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (staffCount != null) { - json['staffCount'] = nativeToJson(staffCount); - } - if (chargesCount != null) { - json['chargesCount'] = nativeToJson(chargesCount); - } - if (disputedItems != null) { - json['disputedItems'] = disputedItems!.toJson(); - } - if (disputeReason != null) { - json['disputeReason'] = nativeToJson(disputeReason); - } - if (disputeDetails != null) { - json['disputeDetails'] = nativeToJson(disputeDetails); - } - json['vendor'] = vendor.toJson(); - json['business'] = business.toJson(); - json['order'] = order.toJson(); - return json; - } - - ListInvoicesInvoices({ - required this.id, - required this.status, - required this.vendorId, - required this.businessId, - required this.orderId, - this.paymentTerms, - required this.invoiceNumber, - required this.issueDate, - required this.dueDate, - this.hub, - this.managerName, - this.vendorNumber, - this.roles, - this.charges, - this.otherCharges, - this.subtotal, - required this.amount, - this.notes, - this.staffCount, - this.chargesCount, - this.disputedItems, - this.disputeReason, - this.disputeDetails, - required this.vendor, - required this.business, - required this.order, - }); -} - -@immutable -class ListInvoicesInvoicesVendor { - final String companyName; - final String? address; - final String? email; - final String? phone; - ListInvoicesInvoicesVendor.fromJson(dynamic json): - - companyName = nativeFromJson(json['companyName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesInvoicesVendor otherTyped = other as ListInvoicesInvoicesVendor; - return companyName == otherTyped.companyName && - address == otherTyped.address && - email == otherTyped.email && - phone == otherTyped.phone; - - } - @override - int get hashCode => Object.hashAll([companyName.hashCode, address.hashCode, email.hashCode, phone.hashCode]); - - - Map toJson() { - Map json = {}; - json['companyName'] = nativeToJson(companyName); - if (address != null) { - json['address'] = nativeToJson(address); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - return json; - } - - ListInvoicesInvoicesVendor({ - required this.companyName, - this.address, - this.email, - this.phone, - }); -} - -@immutable -class ListInvoicesInvoicesBusiness { - final String businessName; - final String? address; - final String? phone; - final String? email; - ListInvoicesInvoicesBusiness.fromJson(dynamic json): - - businessName = nativeFromJson(json['businessName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesInvoicesBusiness otherTyped = other as ListInvoicesInvoicesBusiness; - return businessName == otherTyped.businessName && - address == otherTyped.address && - phone == otherTyped.phone && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([businessName.hashCode, address.hashCode, phone.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessName'] = nativeToJson(businessName); - if (address != null) { - json['address'] = nativeToJson(address); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - ListInvoicesInvoicesBusiness({ - required this.businessName, - this.address, - this.phone, - this.email, - }); -} - -@immutable -class ListInvoicesInvoicesOrder { - final String? eventName; - final String? hub; - final String? deparment; - final String? poReference; - ListInvoicesInvoicesOrder.fromJson(dynamic json): - - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - deparment = json['deparment'] == null ? null : nativeFromJson(json['deparment']), - poReference = json['poReference'] == null ? null : nativeFromJson(json['poReference']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesInvoicesOrder otherTyped = other as ListInvoicesInvoicesOrder; - return eventName == otherTyped.eventName && - hub == otherTyped.hub && - deparment == otherTyped.deparment && - poReference == otherTyped.poReference; - - } - @override - int get hashCode => Object.hashAll([eventName.hashCode, hub.hashCode, deparment.hashCode, poReference.hashCode]); - - - Map toJson() { - Map json = {}; - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (deparment != null) { - json['deparment'] = nativeToJson(deparment); - } - if (poReference != null) { - json['poReference'] = nativeToJson(poReference); - } - return json; - } - - ListInvoicesInvoicesOrder({ - this.eventName, - this.hub, - this.deparment, - this.poReference, - }); -} - -@immutable -class ListInvoicesData { - final List invoices; - ListInvoicesData.fromJson(dynamic json): - - invoices = (json['invoices'] as List) - .map((e) => ListInvoicesInvoices.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesData otherTyped = other as ListInvoicesData; - return invoices == otherTyped.invoices; - - } - @override - int get hashCode => invoices.hashCode; - - - Map toJson() { - Map json = {}; - json['invoices'] = invoices.map((e) => e.toJson()).toList(); - return json; - } - - ListInvoicesData({ - required this.invoices, - }); -} - -@immutable -class ListInvoicesVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListInvoicesVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesVariables otherTyped = other as ListInvoicesVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListInvoicesVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_by_business_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_by_business_id.dart deleted file mode 100644 index 0b3dd14c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_by_business_id.dart +++ /dev/null @@ -1,481 +0,0 @@ -part of 'generated.dart'; - -class ListInvoicesByBusinessIdVariablesBuilder { - String businessId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListInvoicesByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoicesByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListInvoicesByBusinessIdVariablesBuilder(this._dataConnect, {required this.businessId,}); - Deserializer dataDeserializer = (dynamic json) => ListInvoicesByBusinessIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListInvoicesByBusinessIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListInvoicesByBusinessIdVariables vars= ListInvoicesByBusinessIdVariables(businessId: businessId,offset: _offset,limit: _limit,); - return _dataConnect.query("listInvoicesByBusinessId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListInvoicesByBusinessIdInvoices { - final String id; - final EnumValue status; - final String vendorId; - final String businessId; - final String orderId; - final EnumValue? paymentTerms; - final String invoiceNumber; - final Timestamp issueDate; - final Timestamp dueDate; - final String? hub; - final String? managerName; - final String? vendorNumber; - final AnyValue? roles; - final AnyValue? charges; - final double? otherCharges; - final double? subtotal; - final double amount; - final String? notes; - final int? staffCount; - final int? chargesCount; - final AnyValue? disputedItems; - final String? disputeReason; - final String? disputeDetails; - final ListInvoicesByBusinessIdInvoicesVendor vendor; - final ListInvoicesByBusinessIdInvoicesBusiness business; - final ListInvoicesByBusinessIdInvoicesOrder order; - ListInvoicesByBusinessIdInvoices.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - status = invoiceStatusDeserializer(json['status']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderId = nativeFromJson(json['orderId']), - paymentTerms = json['paymentTerms'] == null ? null : inovicePaymentTermsDeserializer(json['paymentTerms']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - issueDate = Timestamp.fromJson(json['issueDate']), - dueDate = Timestamp.fromJson(json['dueDate']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), - vendorNumber = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']), - roles = json['roles'] == null ? null : AnyValue.fromJson(json['roles']), - charges = json['charges'] == null ? null : AnyValue.fromJson(json['charges']), - otherCharges = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']), - subtotal = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']), - amount = nativeFromJson(json['amount']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - staffCount = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']), - chargesCount = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']), - disputedItems = json['disputedItems'] == null ? null : AnyValue.fromJson(json['disputedItems']), - disputeReason = json['disputeReason'] == null ? null : nativeFromJson(json['disputeReason']), - disputeDetails = json['disputeDetails'] == null ? null : nativeFromJson(json['disputeDetails']), - vendor = ListInvoicesByBusinessIdInvoicesVendor.fromJson(json['vendor']), - business = ListInvoicesByBusinessIdInvoicesBusiness.fromJson(json['business']), - order = ListInvoicesByBusinessIdInvoicesOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByBusinessIdInvoices otherTyped = other as ListInvoicesByBusinessIdInvoices; - return id == otherTyped.id && - status == otherTyped.status && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount && - disputedItems == otherTyped.disputedItems && - disputeReason == otherTyped.disputeReason && - disputeDetails == otherTyped.disputeDetails && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, status.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode, disputedItems.hashCode, disputeReason.hashCode, disputeDetails.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['status'] = - invoiceStatusSerializer(status) - ; - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderId'] = nativeToJson(orderId); - if (paymentTerms != null) { - json['paymentTerms'] = - inovicePaymentTermsSerializer(paymentTerms!) - ; - } - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['issueDate'] = issueDate.toJson(); - json['dueDate'] = dueDate.toJson(); - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (managerName != null) { - json['managerName'] = nativeToJson(managerName); - } - if (vendorNumber != null) { - json['vendorNumber'] = nativeToJson(vendorNumber); - } - if (roles != null) { - json['roles'] = roles!.toJson(); - } - if (charges != null) { - json['charges'] = charges!.toJson(); - } - if (otherCharges != null) { - json['otherCharges'] = nativeToJson(otherCharges); - } - if (subtotal != null) { - json['subtotal'] = nativeToJson(subtotal); - } - json['amount'] = nativeToJson(amount); - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (staffCount != null) { - json['staffCount'] = nativeToJson(staffCount); - } - if (chargesCount != null) { - json['chargesCount'] = nativeToJson(chargesCount); - } - if (disputedItems != null) { - json['disputedItems'] = disputedItems!.toJson(); - } - if (disputeReason != null) { - json['disputeReason'] = nativeToJson(disputeReason); - } - if (disputeDetails != null) { - json['disputeDetails'] = nativeToJson(disputeDetails); - } - json['vendor'] = vendor.toJson(); - json['business'] = business.toJson(); - json['order'] = order.toJson(); - return json; - } - - ListInvoicesByBusinessIdInvoices({ - required this.id, - required this.status, - required this.vendorId, - required this.businessId, - required this.orderId, - this.paymentTerms, - required this.invoiceNumber, - required this.issueDate, - required this.dueDate, - this.hub, - this.managerName, - this.vendorNumber, - this.roles, - this.charges, - this.otherCharges, - this.subtotal, - required this.amount, - this.notes, - this.staffCount, - this.chargesCount, - this.disputedItems, - this.disputeReason, - this.disputeDetails, - required this.vendor, - required this.business, - required this.order, - }); -} - -@immutable -class ListInvoicesByBusinessIdInvoicesVendor { - final String companyName; - final String? address; - final String? email; - final String? phone; - ListInvoicesByBusinessIdInvoicesVendor.fromJson(dynamic json): - - companyName = nativeFromJson(json['companyName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByBusinessIdInvoicesVendor otherTyped = other as ListInvoicesByBusinessIdInvoicesVendor; - return companyName == otherTyped.companyName && - address == otherTyped.address && - email == otherTyped.email && - phone == otherTyped.phone; - - } - @override - int get hashCode => Object.hashAll([companyName.hashCode, address.hashCode, email.hashCode, phone.hashCode]); - - - Map toJson() { - Map json = {}; - json['companyName'] = nativeToJson(companyName); - if (address != null) { - json['address'] = nativeToJson(address); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - return json; - } - - ListInvoicesByBusinessIdInvoicesVendor({ - required this.companyName, - this.address, - this.email, - this.phone, - }); -} - -@immutable -class ListInvoicesByBusinessIdInvoicesBusiness { - final String businessName; - final String? address; - final String? phone; - final String? email; - ListInvoicesByBusinessIdInvoicesBusiness.fromJson(dynamic json): - - businessName = nativeFromJson(json['businessName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByBusinessIdInvoicesBusiness otherTyped = other as ListInvoicesByBusinessIdInvoicesBusiness; - return businessName == otherTyped.businessName && - address == otherTyped.address && - phone == otherTyped.phone && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([businessName.hashCode, address.hashCode, phone.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessName'] = nativeToJson(businessName); - if (address != null) { - json['address'] = nativeToJson(address); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - ListInvoicesByBusinessIdInvoicesBusiness({ - required this.businessName, - this.address, - this.phone, - this.email, - }); -} - -@immutable -class ListInvoicesByBusinessIdInvoicesOrder { - final String? eventName; - final String? hub; - final String? deparment; - final String? poReference; - ListInvoicesByBusinessIdInvoicesOrder.fromJson(dynamic json): - - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - deparment = json['deparment'] == null ? null : nativeFromJson(json['deparment']), - poReference = json['poReference'] == null ? null : nativeFromJson(json['poReference']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByBusinessIdInvoicesOrder otherTyped = other as ListInvoicesByBusinessIdInvoicesOrder; - return eventName == otherTyped.eventName && - hub == otherTyped.hub && - deparment == otherTyped.deparment && - poReference == otherTyped.poReference; - - } - @override - int get hashCode => Object.hashAll([eventName.hashCode, hub.hashCode, deparment.hashCode, poReference.hashCode]); - - - Map toJson() { - Map json = {}; - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (deparment != null) { - json['deparment'] = nativeToJson(deparment); - } - if (poReference != null) { - json['poReference'] = nativeToJson(poReference); - } - return json; - } - - ListInvoicesByBusinessIdInvoicesOrder({ - this.eventName, - this.hub, - this.deparment, - this.poReference, - }); -} - -@immutable -class ListInvoicesByBusinessIdData { - final List invoices; - ListInvoicesByBusinessIdData.fromJson(dynamic json): - - invoices = (json['invoices'] as List) - .map((e) => ListInvoicesByBusinessIdInvoices.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByBusinessIdData otherTyped = other as ListInvoicesByBusinessIdData; - return invoices == otherTyped.invoices; - - } - @override - int get hashCode => invoices.hashCode; - - - Map toJson() { - Map json = {}; - json['invoices'] = invoices.map((e) => e.toJson()).toList(); - return json; - } - - ListInvoicesByBusinessIdData({ - required this.invoices, - }); -} - -@immutable -class ListInvoicesByBusinessIdVariables { - final String businessId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListInvoicesByBusinessIdVariables.fromJson(Map json): - - businessId = nativeFromJson(json['businessId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByBusinessIdVariables otherTyped = other as ListInvoicesByBusinessIdVariables; - return businessId == otherTyped.businessId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([businessId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessId'] = nativeToJson(businessId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListInvoicesByBusinessIdVariables({ - required this.businessId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_by_order_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_by_order_id.dart deleted file mode 100644 index 6217a941..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_by_order_id.dart +++ /dev/null @@ -1,481 +0,0 @@ -part of 'generated.dart'; - -class ListInvoicesByOrderIdVariablesBuilder { - String orderId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListInvoicesByOrderIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoicesByOrderIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListInvoicesByOrderIdVariablesBuilder(this._dataConnect, {required this.orderId,}); - Deserializer dataDeserializer = (dynamic json) => ListInvoicesByOrderIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListInvoicesByOrderIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListInvoicesByOrderIdVariables vars= ListInvoicesByOrderIdVariables(orderId: orderId,offset: _offset,limit: _limit,); - return _dataConnect.query("listInvoicesByOrderId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListInvoicesByOrderIdInvoices { - final String id; - final EnumValue status; - final String vendorId; - final String businessId; - final String orderId; - final EnumValue? paymentTerms; - final String invoiceNumber; - final Timestamp issueDate; - final Timestamp dueDate; - final String? hub; - final String? managerName; - final String? vendorNumber; - final AnyValue? roles; - final AnyValue? charges; - final double? otherCharges; - final double? subtotal; - final double amount; - final String? notes; - final int? staffCount; - final int? chargesCount; - final AnyValue? disputedItems; - final String? disputeReason; - final String? disputeDetails; - final ListInvoicesByOrderIdInvoicesVendor vendor; - final ListInvoicesByOrderIdInvoicesBusiness business; - final ListInvoicesByOrderIdInvoicesOrder order; - ListInvoicesByOrderIdInvoices.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - status = invoiceStatusDeserializer(json['status']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderId = nativeFromJson(json['orderId']), - paymentTerms = json['paymentTerms'] == null ? null : inovicePaymentTermsDeserializer(json['paymentTerms']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - issueDate = Timestamp.fromJson(json['issueDate']), - dueDate = Timestamp.fromJson(json['dueDate']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), - vendorNumber = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']), - roles = json['roles'] == null ? null : AnyValue.fromJson(json['roles']), - charges = json['charges'] == null ? null : AnyValue.fromJson(json['charges']), - otherCharges = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']), - subtotal = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']), - amount = nativeFromJson(json['amount']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - staffCount = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']), - chargesCount = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']), - disputedItems = json['disputedItems'] == null ? null : AnyValue.fromJson(json['disputedItems']), - disputeReason = json['disputeReason'] == null ? null : nativeFromJson(json['disputeReason']), - disputeDetails = json['disputeDetails'] == null ? null : nativeFromJson(json['disputeDetails']), - vendor = ListInvoicesByOrderIdInvoicesVendor.fromJson(json['vendor']), - business = ListInvoicesByOrderIdInvoicesBusiness.fromJson(json['business']), - order = ListInvoicesByOrderIdInvoicesOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByOrderIdInvoices otherTyped = other as ListInvoicesByOrderIdInvoices; - return id == otherTyped.id && - status == otherTyped.status && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount && - disputedItems == otherTyped.disputedItems && - disputeReason == otherTyped.disputeReason && - disputeDetails == otherTyped.disputeDetails && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, status.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode, disputedItems.hashCode, disputeReason.hashCode, disputeDetails.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['status'] = - invoiceStatusSerializer(status) - ; - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderId'] = nativeToJson(orderId); - if (paymentTerms != null) { - json['paymentTerms'] = - inovicePaymentTermsSerializer(paymentTerms!) - ; - } - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['issueDate'] = issueDate.toJson(); - json['dueDate'] = dueDate.toJson(); - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (managerName != null) { - json['managerName'] = nativeToJson(managerName); - } - if (vendorNumber != null) { - json['vendorNumber'] = nativeToJson(vendorNumber); - } - if (roles != null) { - json['roles'] = roles!.toJson(); - } - if (charges != null) { - json['charges'] = charges!.toJson(); - } - if (otherCharges != null) { - json['otherCharges'] = nativeToJson(otherCharges); - } - if (subtotal != null) { - json['subtotal'] = nativeToJson(subtotal); - } - json['amount'] = nativeToJson(amount); - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (staffCount != null) { - json['staffCount'] = nativeToJson(staffCount); - } - if (chargesCount != null) { - json['chargesCount'] = nativeToJson(chargesCount); - } - if (disputedItems != null) { - json['disputedItems'] = disputedItems!.toJson(); - } - if (disputeReason != null) { - json['disputeReason'] = nativeToJson(disputeReason); - } - if (disputeDetails != null) { - json['disputeDetails'] = nativeToJson(disputeDetails); - } - json['vendor'] = vendor.toJson(); - json['business'] = business.toJson(); - json['order'] = order.toJson(); - return json; - } - - ListInvoicesByOrderIdInvoices({ - required this.id, - required this.status, - required this.vendorId, - required this.businessId, - required this.orderId, - this.paymentTerms, - required this.invoiceNumber, - required this.issueDate, - required this.dueDate, - this.hub, - this.managerName, - this.vendorNumber, - this.roles, - this.charges, - this.otherCharges, - this.subtotal, - required this.amount, - this.notes, - this.staffCount, - this.chargesCount, - this.disputedItems, - this.disputeReason, - this.disputeDetails, - required this.vendor, - required this.business, - required this.order, - }); -} - -@immutable -class ListInvoicesByOrderIdInvoicesVendor { - final String companyName; - final String? address; - final String? email; - final String? phone; - ListInvoicesByOrderIdInvoicesVendor.fromJson(dynamic json): - - companyName = nativeFromJson(json['companyName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByOrderIdInvoicesVendor otherTyped = other as ListInvoicesByOrderIdInvoicesVendor; - return companyName == otherTyped.companyName && - address == otherTyped.address && - email == otherTyped.email && - phone == otherTyped.phone; - - } - @override - int get hashCode => Object.hashAll([companyName.hashCode, address.hashCode, email.hashCode, phone.hashCode]); - - - Map toJson() { - Map json = {}; - json['companyName'] = nativeToJson(companyName); - if (address != null) { - json['address'] = nativeToJson(address); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - return json; - } - - ListInvoicesByOrderIdInvoicesVendor({ - required this.companyName, - this.address, - this.email, - this.phone, - }); -} - -@immutable -class ListInvoicesByOrderIdInvoicesBusiness { - final String businessName; - final String? address; - final String? phone; - final String? email; - ListInvoicesByOrderIdInvoicesBusiness.fromJson(dynamic json): - - businessName = nativeFromJson(json['businessName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByOrderIdInvoicesBusiness otherTyped = other as ListInvoicesByOrderIdInvoicesBusiness; - return businessName == otherTyped.businessName && - address == otherTyped.address && - phone == otherTyped.phone && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([businessName.hashCode, address.hashCode, phone.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessName'] = nativeToJson(businessName); - if (address != null) { - json['address'] = nativeToJson(address); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - ListInvoicesByOrderIdInvoicesBusiness({ - required this.businessName, - this.address, - this.phone, - this.email, - }); -} - -@immutable -class ListInvoicesByOrderIdInvoicesOrder { - final String? eventName; - final String? hub; - final String? deparment; - final String? poReference; - ListInvoicesByOrderIdInvoicesOrder.fromJson(dynamic json): - - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - deparment = json['deparment'] == null ? null : nativeFromJson(json['deparment']), - poReference = json['poReference'] == null ? null : nativeFromJson(json['poReference']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByOrderIdInvoicesOrder otherTyped = other as ListInvoicesByOrderIdInvoicesOrder; - return eventName == otherTyped.eventName && - hub == otherTyped.hub && - deparment == otherTyped.deparment && - poReference == otherTyped.poReference; - - } - @override - int get hashCode => Object.hashAll([eventName.hashCode, hub.hashCode, deparment.hashCode, poReference.hashCode]); - - - Map toJson() { - Map json = {}; - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (deparment != null) { - json['deparment'] = nativeToJson(deparment); - } - if (poReference != null) { - json['poReference'] = nativeToJson(poReference); - } - return json; - } - - ListInvoicesByOrderIdInvoicesOrder({ - this.eventName, - this.hub, - this.deparment, - this.poReference, - }); -} - -@immutable -class ListInvoicesByOrderIdData { - final List invoices; - ListInvoicesByOrderIdData.fromJson(dynamic json): - - invoices = (json['invoices'] as List) - .map((e) => ListInvoicesByOrderIdInvoices.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByOrderIdData otherTyped = other as ListInvoicesByOrderIdData; - return invoices == otherTyped.invoices; - - } - @override - int get hashCode => invoices.hashCode; - - - Map toJson() { - Map json = {}; - json['invoices'] = invoices.map((e) => e.toJson()).toList(); - return json; - } - - ListInvoicesByOrderIdData({ - required this.invoices, - }); -} - -@immutable -class ListInvoicesByOrderIdVariables { - final String orderId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListInvoicesByOrderIdVariables.fromJson(Map json): - - orderId = nativeFromJson(json['orderId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByOrderIdVariables otherTyped = other as ListInvoicesByOrderIdVariables; - return orderId == otherTyped.orderId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([orderId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['orderId'] = nativeToJson(orderId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListInvoicesByOrderIdVariables({ - required this.orderId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_by_status.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_by_status.dart deleted file mode 100644 index 7a04a11e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_by_status.dart +++ /dev/null @@ -1,483 +0,0 @@ -part of 'generated.dart'; - -class ListInvoicesByStatusVariablesBuilder { - InvoiceStatus status; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListInvoicesByStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoicesByStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListInvoicesByStatusVariablesBuilder(this._dataConnect, {required this.status,}); - Deserializer dataDeserializer = (dynamic json) => ListInvoicesByStatusData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListInvoicesByStatusVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListInvoicesByStatusVariables vars= ListInvoicesByStatusVariables(status: status,offset: _offset,limit: _limit,); - return _dataConnect.query("listInvoicesByStatus", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListInvoicesByStatusInvoices { - final String id; - final EnumValue status; - final String vendorId; - final String businessId; - final String orderId; - final EnumValue? paymentTerms; - final String invoiceNumber; - final Timestamp issueDate; - final Timestamp dueDate; - final String? hub; - final String? managerName; - final String? vendorNumber; - final AnyValue? roles; - final AnyValue? charges; - final double? otherCharges; - final double? subtotal; - final double amount; - final String? notes; - final int? staffCount; - final int? chargesCount; - final AnyValue? disputedItems; - final String? disputeReason; - final String? disputeDetails; - final ListInvoicesByStatusInvoicesVendor vendor; - final ListInvoicesByStatusInvoicesBusiness business; - final ListInvoicesByStatusInvoicesOrder order; - ListInvoicesByStatusInvoices.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - status = invoiceStatusDeserializer(json['status']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderId = nativeFromJson(json['orderId']), - paymentTerms = json['paymentTerms'] == null ? null : inovicePaymentTermsDeserializer(json['paymentTerms']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - issueDate = Timestamp.fromJson(json['issueDate']), - dueDate = Timestamp.fromJson(json['dueDate']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), - vendorNumber = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']), - roles = json['roles'] == null ? null : AnyValue.fromJson(json['roles']), - charges = json['charges'] == null ? null : AnyValue.fromJson(json['charges']), - otherCharges = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']), - subtotal = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']), - amount = nativeFromJson(json['amount']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - staffCount = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']), - chargesCount = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']), - disputedItems = json['disputedItems'] == null ? null : AnyValue.fromJson(json['disputedItems']), - disputeReason = json['disputeReason'] == null ? null : nativeFromJson(json['disputeReason']), - disputeDetails = json['disputeDetails'] == null ? null : nativeFromJson(json['disputeDetails']), - vendor = ListInvoicesByStatusInvoicesVendor.fromJson(json['vendor']), - business = ListInvoicesByStatusInvoicesBusiness.fromJson(json['business']), - order = ListInvoicesByStatusInvoicesOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByStatusInvoices otherTyped = other as ListInvoicesByStatusInvoices; - return id == otherTyped.id && - status == otherTyped.status && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount && - disputedItems == otherTyped.disputedItems && - disputeReason == otherTyped.disputeReason && - disputeDetails == otherTyped.disputeDetails && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, status.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode, disputedItems.hashCode, disputeReason.hashCode, disputeDetails.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['status'] = - invoiceStatusSerializer(status) - ; - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderId'] = nativeToJson(orderId); - if (paymentTerms != null) { - json['paymentTerms'] = - inovicePaymentTermsSerializer(paymentTerms!) - ; - } - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['issueDate'] = issueDate.toJson(); - json['dueDate'] = dueDate.toJson(); - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (managerName != null) { - json['managerName'] = nativeToJson(managerName); - } - if (vendorNumber != null) { - json['vendorNumber'] = nativeToJson(vendorNumber); - } - if (roles != null) { - json['roles'] = roles!.toJson(); - } - if (charges != null) { - json['charges'] = charges!.toJson(); - } - if (otherCharges != null) { - json['otherCharges'] = nativeToJson(otherCharges); - } - if (subtotal != null) { - json['subtotal'] = nativeToJson(subtotal); - } - json['amount'] = nativeToJson(amount); - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (staffCount != null) { - json['staffCount'] = nativeToJson(staffCount); - } - if (chargesCount != null) { - json['chargesCount'] = nativeToJson(chargesCount); - } - if (disputedItems != null) { - json['disputedItems'] = disputedItems!.toJson(); - } - if (disputeReason != null) { - json['disputeReason'] = nativeToJson(disputeReason); - } - if (disputeDetails != null) { - json['disputeDetails'] = nativeToJson(disputeDetails); - } - json['vendor'] = vendor.toJson(); - json['business'] = business.toJson(); - json['order'] = order.toJson(); - return json; - } - - ListInvoicesByStatusInvoices({ - required this.id, - required this.status, - required this.vendorId, - required this.businessId, - required this.orderId, - this.paymentTerms, - required this.invoiceNumber, - required this.issueDate, - required this.dueDate, - this.hub, - this.managerName, - this.vendorNumber, - this.roles, - this.charges, - this.otherCharges, - this.subtotal, - required this.amount, - this.notes, - this.staffCount, - this.chargesCount, - this.disputedItems, - this.disputeReason, - this.disputeDetails, - required this.vendor, - required this.business, - required this.order, - }); -} - -@immutable -class ListInvoicesByStatusInvoicesVendor { - final String companyName; - final String? address; - final String? email; - final String? phone; - ListInvoicesByStatusInvoicesVendor.fromJson(dynamic json): - - companyName = nativeFromJson(json['companyName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByStatusInvoicesVendor otherTyped = other as ListInvoicesByStatusInvoicesVendor; - return companyName == otherTyped.companyName && - address == otherTyped.address && - email == otherTyped.email && - phone == otherTyped.phone; - - } - @override - int get hashCode => Object.hashAll([companyName.hashCode, address.hashCode, email.hashCode, phone.hashCode]); - - - Map toJson() { - Map json = {}; - json['companyName'] = nativeToJson(companyName); - if (address != null) { - json['address'] = nativeToJson(address); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - return json; - } - - ListInvoicesByStatusInvoicesVendor({ - required this.companyName, - this.address, - this.email, - this.phone, - }); -} - -@immutable -class ListInvoicesByStatusInvoicesBusiness { - final String businessName; - final String? address; - final String? phone; - final String? email; - ListInvoicesByStatusInvoicesBusiness.fromJson(dynamic json): - - businessName = nativeFromJson(json['businessName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByStatusInvoicesBusiness otherTyped = other as ListInvoicesByStatusInvoicesBusiness; - return businessName == otherTyped.businessName && - address == otherTyped.address && - phone == otherTyped.phone && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([businessName.hashCode, address.hashCode, phone.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessName'] = nativeToJson(businessName); - if (address != null) { - json['address'] = nativeToJson(address); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - ListInvoicesByStatusInvoicesBusiness({ - required this.businessName, - this.address, - this.phone, - this.email, - }); -} - -@immutable -class ListInvoicesByStatusInvoicesOrder { - final String? eventName; - final String? hub; - final String? deparment; - final String? poReference; - ListInvoicesByStatusInvoicesOrder.fromJson(dynamic json): - - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - deparment = json['deparment'] == null ? null : nativeFromJson(json['deparment']), - poReference = json['poReference'] == null ? null : nativeFromJson(json['poReference']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByStatusInvoicesOrder otherTyped = other as ListInvoicesByStatusInvoicesOrder; - return eventName == otherTyped.eventName && - hub == otherTyped.hub && - deparment == otherTyped.deparment && - poReference == otherTyped.poReference; - - } - @override - int get hashCode => Object.hashAll([eventName.hashCode, hub.hashCode, deparment.hashCode, poReference.hashCode]); - - - Map toJson() { - Map json = {}; - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (deparment != null) { - json['deparment'] = nativeToJson(deparment); - } - if (poReference != null) { - json['poReference'] = nativeToJson(poReference); - } - return json; - } - - ListInvoicesByStatusInvoicesOrder({ - this.eventName, - this.hub, - this.deparment, - this.poReference, - }); -} - -@immutable -class ListInvoicesByStatusData { - final List invoices; - ListInvoicesByStatusData.fromJson(dynamic json): - - invoices = (json['invoices'] as List) - .map((e) => ListInvoicesByStatusInvoices.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByStatusData otherTyped = other as ListInvoicesByStatusData; - return invoices == otherTyped.invoices; - - } - @override - int get hashCode => invoices.hashCode; - - - Map toJson() { - Map json = {}; - json['invoices'] = invoices.map((e) => e.toJson()).toList(); - return json; - } - - ListInvoicesByStatusData({ - required this.invoices, - }); -} - -@immutable -class ListInvoicesByStatusVariables { - final InvoiceStatus status; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListInvoicesByStatusVariables.fromJson(Map json): - - status = InvoiceStatus.values.byName(json['status']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByStatusVariables otherTyped = other as ListInvoicesByStatusVariables; - return status == otherTyped.status && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([status.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['status'] = - status.name - ; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListInvoicesByStatusVariables({ - required this.status, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_by_vendor_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_by_vendor_id.dart deleted file mode 100644 index 373c5622..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_by_vendor_id.dart +++ /dev/null @@ -1,481 +0,0 @@ -part of 'generated.dart'; - -class ListInvoicesByVendorIdVariablesBuilder { - String vendorId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListInvoicesByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoicesByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListInvoicesByVendorIdVariablesBuilder(this._dataConnect, {required this.vendorId,}); - Deserializer dataDeserializer = (dynamic json) => ListInvoicesByVendorIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListInvoicesByVendorIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListInvoicesByVendorIdVariables vars= ListInvoicesByVendorIdVariables(vendorId: vendorId,offset: _offset,limit: _limit,); - return _dataConnect.query("listInvoicesByVendorId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListInvoicesByVendorIdInvoices { - final String id; - final EnumValue status; - final String vendorId; - final String businessId; - final String orderId; - final EnumValue? paymentTerms; - final String invoiceNumber; - final Timestamp issueDate; - final Timestamp dueDate; - final String? hub; - final String? managerName; - final String? vendorNumber; - final AnyValue? roles; - final AnyValue? charges; - final double? otherCharges; - final double? subtotal; - final double amount; - final String? notes; - final int? staffCount; - final int? chargesCount; - final AnyValue? disputedItems; - final String? disputeReason; - final String? disputeDetails; - final ListInvoicesByVendorIdInvoicesVendor vendor; - final ListInvoicesByVendorIdInvoicesBusiness business; - final ListInvoicesByVendorIdInvoicesOrder order; - ListInvoicesByVendorIdInvoices.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - status = invoiceStatusDeserializer(json['status']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderId = nativeFromJson(json['orderId']), - paymentTerms = json['paymentTerms'] == null ? null : inovicePaymentTermsDeserializer(json['paymentTerms']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - issueDate = Timestamp.fromJson(json['issueDate']), - dueDate = Timestamp.fromJson(json['dueDate']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), - vendorNumber = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']), - roles = json['roles'] == null ? null : AnyValue.fromJson(json['roles']), - charges = json['charges'] == null ? null : AnyValue.fromJson(json['charges']), - otherCharges = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']), - subtotal = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']), - amount = nativeFromJson(json['amount']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - staffCount = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']), - chargesCount = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']), - disputedItems = json['disputedItems'] == null ? null : AnyValue.fromJson(json['disputedItems']), - disputeReason = json['disputeReason'] == null ? null : nativeFromJson(json['disputeReason']), - disputeDetails = json['disputeDetails'] == null ? null : nativeFromJson(json['disputeDetails']), - vendor = ListInvoicesByVendorIdInvoicesVendor.fromJson(json['vendor']), - business = ListInvoicesByVendorIdInvoicesBusiness.fromJson(json['business']), - order = ListInvoicesByVendorIdInvoicesOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByVendorIdInvoices otherTyped = other as ListInvoicesByVendorIdInvoices; - return id == otherTyped.id && - status == otherTyped.status && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount && - disputedItems == otherTyped.disputedItems && - disputeReason == otherTyped.disputeReason && - disputeDetails == otherTyped.disputeDetails && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, status.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode, disputedItems.hashCode, disputeReason.hashCode, disputeDetails.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['status'] = - invoiceStatusSerializer(status) - ; - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderId'] = nativeToJson(orderId); - if (paymentTerms != null) { - json['paymentTerms'] = - inovicePaymentTermsSerializer(paymentTerms!) - ; - } - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['issueDate'] = issueDate.toJson(); - json['dueDate'] = dueDate.toJson(); - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (managerName != null) { - json['managerName'] = nativeToJson(managerName); - } - if (vendorNumber != null) { - json['vendorNumber'] = nativeToJson(vendorNumber); - } - if (roles != null) { - json['roles'] = roles!.toJson(); - } - if (charges != null) { - json['charges'] = charges!.toJson(); - } - if (otherCharges != null) { - json['otherCharges'] = nativeToJson(otherCharges); - } - if (subtotal != null) { - json['subtotal'] = nativeToJson(subtotal); - } - json['amount'] = nativeToJson(amount); - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (staffCount != null) { - json['staffCount'] = nativeToJson(staffCount); - } - if (chargesCount != null) { - json['chargesCount'] = nativeToJson(chargesCount); - } - if (disputedItems != null) { - json['disputedItems'] = disputedItems!.toJson(); - } - if (disputeReason != null) { - json['disputeReason'] = nativeToJson(disputeReason); - } - if (disputeDetails != null) { - json['disputeDetails'] = nativeToJson(disputeDetails); - } - json['vendor'] = vendor.toJson(); - json['business'] = business.toJson(); - json['order'] = order.toJson(); - return json; - } - - ListInvoicesByVendorIdInvoices({ - required this.id, - required this.status, - required this.vendorId, - required this.businessId, - required this.orderId, - this.paymentTerms, - required this.invoiceNumber, - required this.issueDate, - required this.dueDate, - this.hub, - this.managerName, - this.vendorNumber, - this.roles, - this.charges, - this.otherCharges, - this.subtotal, - required this.amount, - this.notes, - this.staffCount, - this.chargesCount, - this.disputedItems, - this.disputeReason, - this.disputeDetails, - required this.vendor, - required this.business, - required this.order, - }); -} - -@immutable -class ListInvoicesByVendorIdInvoicesVendor { - final String companyName; - final String? address; - final String? email; - final String? phone; - ListInvoicesByVendorIdInvoicesVendor.fromJson(dynamic json): - - companyName = nativeFromJson(json['companyName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByVendorIdInvoicesVendor otherTyped = other as ListInvoicesByVendorIdInvoicesVendor; - return companyName == otherTyped.companyName && - address == otherTyped.address && - email == otherTyped.email && - phone == otherTyped.phone; - - } - @override - int get hashCode => Object.hashAll([companyName.hashCode, address.hashCode, email.hashCode, phone.hashCode]); - - - Map toJson() { - Map json = {}; - json['companyName'] = nativeToJson(companyName); - if (address != null) { - json['address'] = nativeToJson(address); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - return json; - } - - ListInvoicesByVendorIdInvoicesVendor({ - required this.companyName, - this.address, - this.email, - this.phone, - }); -} - -@immutable -class ListInvoicesByVendorIdInvoicesBusiness { - final String businessName; - final String? address; - final String? phone; - final String? email; - ListInvoicesByVendorIdInvoicesBusiness.fromJson(dynamic json): - - businessName = nativeFromJson(json['businessName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByVendorIdInvoicesBusiness otherTyped = other as ListInvoicesByVendorIdInvoicesBusiness; - return businessName == otherTyped.businessName && - address == otherTyped.address && - phone == otherTyped.phone && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([businessName.hashCode, address.hashCode, phone.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessName'] = nativeToJson(businessName); - if (address != null) { - json['address'] = nativeToJson(address); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - ListInvoicesByVendorIdInvoicesBusiness({ - required this.businessName, - this.address, - this.phone, - this.email, - }); -} - -@immutable -class ListInvoicesByVendorIdInvoicesOrder { - final String? eventName; - final String? hub; - final String? deparment; - final String? poReference; - ListInvoicesByVendorIdInvoicesOrder.fromJson(dynamic json): - - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - deparment = json['deparment'] == null ? null : nativeFromJson(json['deparment']), - poReference = json['poReference'] == null ? null : nativeFromJson(json['poReference']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByVendorIdInvoicesOrder otherTyped = other as ListInvoicesByVendorIdInvoicesOrder; - return eventName == otherTyped.eventName && - hub == otherTyped.hub && - deparment == otherTyped.deparment && - poReference == otherTyped.poReference; - - } - @override - int get hashCode => Object.hashAll([eventName.hashCode, hub.hashCode, deparment.hashCode, poReference.hashCode]); - - - Map toJson() { - Map json = {}; - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (deparment != null) { - json['deparment'] = nativeToJson(deparment); - } - if (poReference != null) { - json['poReference'] = nativeToJson(poReference); - } - return json; - } - - ListInvoicesByVendorIdInvoicesOrder({ - this.eventName, - this.hub, - this.deparment, - this.poReference, - }); -} - -@immutable -class ListInvoicesByVendorIdData { - final List invoices; - ListInvoicesByVendorIdData.fromJson(dynamic json): - - invoices = (json['invoices'] as List) - .map((e) => ListInvoicesByVendorIdInvoices.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByVendorIdData otherTyped = other as ListInvoicesByVendorIdData; - return invoices == otherTyped.invoices; - - } - @override - int get hashCode => invoices.hashCode; - - - Map toJson() { - Map json = {}; - json['invoices'] = invoices.map((e) => e.toJson()).toList(); - return json; - } - - ListInvoicesByVendorIdData({ - required this.invoices, - }); -} - -@immutable -class ListInvoicesByVendorIdVariables { - final String vendorId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListInvoicesByVendorIdVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesByVendorIdVariables otherTyped = other as ListInvoicesByVendorIdVariables; - return vendorId == otherTyped.vendorId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListInvoicesByVendorIdVariables({ - required this.vendorId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_for_spend_by_business.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_for_spend_by_business.dart deleted file mode 100644 index 1cc05b81..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_for_spend_by_business.dart +++ /dev/null @@ -1,297 +0,0 @@ -part of 'generated.dart'; - -class ListInvoicesForSpendByBusinessVariablesBuilder { - String businessId; - Timestamp startDate; - Timestamp endDate; - - final FirebaseDataConnect _dataConnect; - ListInvoicesForSpendByBusinessVariablesBuilder(this._dataConnect, {required this.businessId,required this.startDate,required this.endDate,}); - Deserializer dataDeserializer = (dynamic json) => ListInvoicesForSpendByBusinessData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListInvoicesForSpendByBusinessVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListInvoicesForSpendByBusinessVariables vars= ListInvoicesForSpendByBusinessVariables(businessId: businessId,startDate: startDate,endDate: endDate,); - return _dataConnect.query("listInvoicesForSpendByBusiness", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListInvoicesForSpendByBusinessInvoices { - final String id; - final Timestamp issueDate; - final Timestamp dueDate; - final double amount; - final EnumValue status; - final String invoiceNumber; - final ListInvoicesForSpendByBusinessInvoicesVendor vendor; - final ListInvoicesForSpendByBusinessInvoicesBusiness business; - final ListInvoicesForSpendByBusinessInvoicesOrder order; - ListInvoicesForSpendByBusinessInvoices.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - issueDate = Timestamp.fromJson(json['issueDate']), - dueDate = Timestamp.fromJson(json['dueDate']), - amount = nativeFromJson(json['amount']), - status = invoiceStatusDeserializer(json['status']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - vendor = ListInvoicesForSpendByBusinessInvoicesVendor.fromJson(json['vendor']), - business = ListInvoicesForSpendByBusinessInvoicesBusiness.fromJson(json['business']), - order = ListInvoicesForSpendByBusinessInvoicesOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByBusinessInvoices otherTyped = other as ListInvoicesForSpendByBusinessInvoices; - return id == otherTyped.id && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - amount == otherTyped.amount && - status == otherTyped.status && - invoiceNumber == otherTyped.invoiceNumber && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, issueDate.hashCode, dueDate.hashCode, amount.hashCode, status.hashCode, invoiceNumber.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['issueDate'] = issueDate.toJson(); - json['dueDate'] = dueDate.toJson(); - json['amount'] = nativeToJson(amount); - json['status'] = - invoiceStatusSerializer(status) - ; - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['vendor'] = vendor.toJson(); - json['business'] = business.toJson(); - json['order'] = order.toJson(); - return json; - } - - ListInvoicesForSpendByBusinessInvoices({ - required this.id, - required this.issueDate, - required this.dueDate, - required this.amount, - required this.status, - required this.invoiceNumber, - required this.vendor, - required this.business, - required this.order, - }); -} - -@immutable -class ListInvoicesForSpendByBusinessInvoicesVendor { - final String id; - final String companyName; - ListInvoicesForSpendByBusinessInvoicesVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByBusinessInvoicesVendor otherTyped = other as ListInvoicesForSpendByBusinessInvoicesVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListInvoicesForSpendByBusinessInvoicesVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListInvoicesForSpendByBusinessInvoicesBusiness { - final String id; - final String businessName; - ListInvoicesForSpendByBusinessInvoicesBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByBusinessInvoicesBusiness otherTyped = other as ListInvoicesForSpendByBusinessInvoicesBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListInvoicesForSpendByBusinessInvoicesBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListInvoicesForSpendByBusinessInvoicesOrder { - final String id; - final String? eventName; - ListInvoicesForSpendByBusinessInvoicesOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByBusinessInvoicesOrder otherTyped = other as ListInvoicesForSpendByBusinessInvoicesOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - return json; - } - - ListInvoicesForSpendByBusinessInvoicesOrder({ - required this.id, - this.eventName, - }); -} - -@immutable -class ListInvoicesForSpendByBusinessData { - final List invoices; - ListInvoicesForSpendByBusinessData.fromJson(dynamic json): - - invoices = (json['invoices'] as List) - .map((e) => ListInvoicesForSpendByBusinessInvoices.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByBusinessData otherTyped = other as ListInvoicesForSpendByBusinessData; - return invoices == otherTyped.invoices; - - } - @override - int get hashCode => invoices.hashCode; - - - Map toJson() { - Map json = {}; - json['invoices'] = invoices.map((e) => e.toJson()).toList(); - return json; - } - - ListInvoicesForSpendByBusinessData({ - required this.invoices, - }); -} - -@immutable -class ListInvoicesForSpendByBusinessVariables { - final String businessId; - final Timestamp startDate; - final Timestamp endDate; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListInvoicesForSpendByBusinessVariables.fromJson(Map json): - - businessId = nativeFromJson(json['businessId']), - startDate = Timestamp.fromJson(json['startDate']), - endDate = Timestamp.fromJson(json['endDate']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByBusinessVariables otherTyped = other as ListInvoicesForSpendByBusinessVariables; - return businessId == otherTyped.businessId && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate; - - } - @override - int get hashCode => Object.hashAll([businessId.hashCode, startDate.hashCode, endDate.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessId'] = nativeToJson(businessId); - json['startDate'] = startDate.toJson(); - json['endDate'] = endDate.toJson(); - return json; - } - - ListInvoicesForSpendByBusinessVariables({ - required this.businessId, - required this.startDate, - required this.endDate, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_for_spend_by_order.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_for_spend_by_order.dart deleted file mode 100644 index d8c0f580..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_for_spend_by_order.dart +++ /dev/null @@ -1,297 +0,0 @@ -part of 'generated.dart'; - -class ListInvoicesForSpendByOrderVariablesBuilder { - String orderId; - Timestamp startDate; - Timestamp endDate; - - final FirebaseDataConnect _dataConnect; - ListInvoicesForSpendByOrderVariablesBuilder(this._dataConnect, {required this.orderId,required this.startDate,required this.endDate,}); - Deserializer dataDeserializer = (dynamic json) => ListInvoicesForSpendByOrderData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListInvoicesForSpendByOrderVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListInvoicesForSpendByOrderVariables vars= ListInvoicesForSpendByOrderVariables(orderId: orderId,startDate: startDate,endDate: endDate,); - return _dataConnect.query("listInvoicesForSpendByOrder", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListInvoicesForSpendByOrderInvoices { - final String id; - final Timestamp issueDate; - final Timestamp dueDate; - final double amount; - final EnumValue status; - final String invoiceNumber; - final ListInvoicesForSpendByOrderInvoicesVendor vendor; - final ListInvoicesForSpendByOrderInvoicesBusiness business; - final ListInvoicesForSpendByOrderInvoicesOrder order; - ListInvoicesForSpendByOrderInvoices.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - issueDate = Timestamp.fromJson(json['issueDate']), - dueDate = Timestamp.fromJson(json['dueDate']), - amount = nativeFromJson(json['amount']), - status = invoiceStatusDeserializer(json['status']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - vendor = ListInvoicesForSpendByOrderInvoicesVendor.fromJson(json['vendor']), - business = ListInvoicesForSpendByOrderInvoicesBusiness.fromJson(json['business']), - order = ListInvoicesForSpendByOrderInvoicesOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByOrderInvoices otherTyped = other as ListInvoicesForSpendByOrderInvoices; - return id == otherTyped.id && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - amount == otherTyped.amount && - status == otherTyped.status && - invoiceNumber == otherTyped.invoiceNumber && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, issueDate.hashCode, dueDate.hashCode, amount.hashCode, status.hashCode, invoiceNumber.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['issueDate'] = issueDate.toJson(); - json['dueDate'] = dueDate.toJson(); - json['amount'] = nativeToJson(amount); - json['status'] = - invoiceStatusSerializer(status) - ; - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['vendor'] = vendor.toJson(); - json['business'] = business.toJson(); - json['order'] = order.toJson(); - return json; - } - - ListInvoicesForSpendByOrderInvoices({ - required this.id, - required this.issueDate, - required this.dueDate, - required this.amount, - required this.status, - required this.invoiceNumber, - required this.vendor, - required this.business, - required this.order, - }); -} - -@immutable -class ListInvoicesForSpendByOrderInvoicesVendor { - final String id; - final String companyName; - ListInvoicesForSpendByOrderInvoicesVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByOrderInvoicesVendor otherTyped = other as ListInvoicesForSpendByOrderInvoicesVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListInvoicesForSpendByOrderInvoicesVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListInvoicesForSpendByOrderInvoicesBusiness { - final String id; - final String businessName; - ListInvoicesForSpendByOrderInvoicesBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByOrderInvoicesBusiness otherTyped = other as ListInvoicesForSpendByOrderInvoicesBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListInvoicesForSpendByOrderInvoicesBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListInvoicesForSpendByOrderInvoicesOrder { - final String id; - final String? eventName; - ListInvoicesForSpendByOrderInvoicesOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByOrderInvoicesOrder otherTyped = other as ListInvoicesForSpendByOrderInvoicesOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - return json; - } - - ListInvoicesForSpendByOrderInvoicesOrder({ - required this.id, - this.eventName, - }); -} - -@immutable -class ListInvoicesForSpendByOrderData { - final List invoices; - ListInvoicesForSpendByOrderData.fromJson(dynamic json): - - invoices = (json['invoices'] as List) - .map((e) => ListInvoicesForSpendByOrderInvoices.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByOrderData otherTyped = other as ListInvoicesForSpendByOrderData; - return invoices == otherTyped.invoices; - - } - @override - int get hashCode => invoices.hashCode; - - - Map toJson() { - Map json = {}; - json['invoices'] = invoices.map((e) => e.toJson()).toList(); - return json; - } - - ListInvoicesForSpendByOrderData({ - required this.invoices, - }); -} - -@immutable -class ListInvoicesForSpendByOrderVariables { - final String orderId; - final Timestamp startDate; - final Timestamp endDate; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListInvoicesForSpendByOrderVariables.fromJson(Map json): - - orderId = nativeFromJson(json['orderId']), - startDate = Timestamp.fromJson(json['startDate']), - endDate = Timestamp.fromJson(json['endDate']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByOrderVariables otherTyped = other as ListInvoicesForSpendByOrderVariables; - return orderId == otherTyped.orderId && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate; - - } - @override - int get hashCode => Object.hashAll([orderId.hashCode, startDate.hashCode, endDate.hashCode]); - - - Map toJson() { - Map json = {}; - json['orderId'] = nativeToJson(orderId); - json['startDate'] = startDate.toJson(); - json['endDate'] = endDate.toJson(); - return json; - } - - ListInvoicesForSpendByOrderVariables({ - required this.orderId, - required this.startDate, - required this.endDate, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_for_spend_by_vendor.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_for_spend_by_vendor.dart deleted file mode 100644 index a3d2f7fa..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_invoices_for_spend_by_vendor.dart +++ /dev/null @@ -1,297 +0,0 @@ -part of 'generated.dart'; - -class ListInvoicesForSpendByVendorVariablesBuilder { - String vendorId; - Timestamp startDate; - Timestamp endDate; - - final FirebaseDataConnect _dataConnect; - ListInvoicesForSpendByVendorVariablesBuilder(this._dataConnect, {required this.vendorId,required this.startDate,required this.endDate,}); - Deserializer dataDeserializer = (dynamic json) => ListInvoicesForSpendByVendorData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListInvoicesForSpendByVendorVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListInvoicesForSpendByVendorVariables vars= ListInvoicesForSpendByVendorVariables(vendorId: vendorId,startDate: startDate,endDate: endDate,); - return _dataConnect.query("listInvoicesForSpendByVendor", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListInvoicesForSpendByVendorInvoices { - final String id; - final Timestamp issueDate; - final Timestamp dueDate; - final double amount; - final EnumValue status; - final String invoiceNumber; - final ListInvoicesForSpendByVendorInvoicesVendor vendor; - final ListInvoicesForSpendByVendorInvoicesBusiness business; - final ListInvoicesForSpendByVendorInvoicesOrder order; - ListInvoicesForSpendByVendorInvoices.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - issueDate = Timestamp.fromJson(json['issueDate']), - dueDate = Timestamp.fromJson(json['dueDate']), - amount = nativeFromJson(json['amount']), - status = invoiceStatusDeserializer(json['status']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - vendor = ListInvoicesForSpendByVendorInvoicesVendor.fromJson(json['vendor']), - business = ListInvoicesForSpendByVendorInvoicesBusiness.fromJson(json['business']), - order = ListInvoicesForSpendByVendorInvoicesOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByVendorInvoices otherTyped = other as ListInvoicesForSpendByVendorInvoices; - return id == otherTyped.id && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - amount == otherTyped.amount && - status == otherTyped.status && - invoiceNumber == otherTyped.invoiceNumber && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, issueDate.hashCode, dueDate.hashCode, amount.hashCode, status.hashCode, invoiceNumber.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['issueDate'] = issueDate.toJson(); - json['dueDate'] = dueDate.toJson(); - json['amount'] = nativeToJson(amount); - json['status'] = - invoiceStatusSerializer(status) - ; - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['vendor'] = vendor.toJson(); - json['business'] = business.toJson(); - json['order'] = order.toJson(); - return json; - } - - ListInvoicesForSpendByVendorInvoices({ - required this.id, - required this.issueDate, - required this.dueDate, - required this.amount, - required this.status, - required this.invoiceNumber, - required this.vendor, - required this.business, - required this.order, - }); -} - -@immutable -class ListInvoicesForSpendByVendorInvoicesVendor { - final String id; - final String companyName; - ListInvoicesForSpendByVendorInvoicesVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByVendorInvoicesVendor otherTyped = other as ListInvoicesForSpendByVendorInvoicesVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListInvoicesForSpendByVendorInvoicesVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListInvoicesForSpendByVendorInvoicesBusiness { - final String id; - final String businessName; - ListInvoicesForSpendByVendorInvoicesBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByVendorInvoicesBusiness otherTyped = other as ListInvoicesForSpendByVendorInvoicesBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListInvoicesForSpendByVendorInvoicesBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListInvoicesForSpendByVendorInvoicesOrder { - final String id; - final String? eventName; - ListInvoicesForSpendByVendorInvoicesOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByVendorInvoicesOrder otherTyped = other as ListInvoicesForSpendByVendorInvoicesOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - return json; - } - - ListInvoicesForSpendByVendorInvoicesOrder({ - required this.id, - this.eventName, - }); -} - -@immutable -class ListInvoicesForSpendByVendorData { - final List invoices; - ListInvoicesForSpendByVendorData.fromJson(dynamic json): - - invoices = (json['invoices'] as List) - .map((e) => ListInvoicesForSpendByVendorInvoices.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByVendorData otherTyped = other as ListInvoicesForSpendByVendorData; - return invoices == otherTyped.invoices; - - } - @override - int get hashCode => invoices.hashCode; - - - Map toJson() { - Map json = {}; - json['invoices'] = invoices.map((e) => e.toJson()).toList(); - return json; - } - - ListInvoicesForSpendByVendorData({ - required this.invoices, - }); -} - -@immutable -class ListInvoicesForSpendByVendorVariables { - final String vendorId; - final Timestamp startDate; - final Timestamp endDate; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListInvoicesForSpendByVendorVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']), - startDate = Timestamp.fromJson(json['startDate']), - endDate = Timestamp.fromJson(json['endDate']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListInvoicesForSpendByVendorVariables otherTyped = other as ListInvoicesForSpendByVendorVariables; - return vendorId == otherTyped.vendorId && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, startDate.hashCode, endDate.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - json['startDate'] = startDate.toJson(); - json['endDate'] = endDate.toJson(); - return json; - } - - ListInvoicesForSpendByVendorVariables({ - required this.vendorId, - required this.startDate, - required this.endDate, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_levels.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_levels.dart deleted file mode 100644 index f431c5a2..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_levels.dart +++ /dev/null @@ -1,133 +0,0 @@ -part of 'generated.dart'; - -class ListLevelsVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListLevelsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListLevelsData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listLevels", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListLevelsLevels { - final String id; - final String name; - final int xpRequired; - final String? icon; - final AnyValue? colors; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - ListLevelsLevels.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - xpRequired = nativeFromJson(json['xpRequired']), - icon = json['icon'] == null ? null : nativeFromJson(json['icon']), - colors = json['colors'] == null ? null : AnyValue.fromJson(json['colors']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListLevelsLevels otherTyped = other as ListLevelsLevels; - return id == otherTyped.id && - name == otherTyped.name && - xpRequired == otherTyped.xpRequired && - icon == otherTyped.icon && - colors == otherTyped.colors && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, xpRequired.hashCode, icon.hashCode, colors.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['xpRequired'] = nativeToJson(xpRequired); - if (icon != null) { - json['icon'] = nativeToJson(icon); - } - if (colors != null) { - json['colors'] = colors!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - ListLevelsLevels({ - required this.id, - required this.name, - required this.xpRequired, - this.icon, - this.colors, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class ListLevelsData { - final List levels; - ListLevelsData.fromJson(dynamic json): - - levels = (json['levels'] as List) - .map((e) => ListLevelsLevels.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListLevelsData otherTyped = other as ListLevelsData; - return levels == otherTyped.levels; - - } - @override - int get hashCode => levels.hashCode; - - - Map toJson() { - Map json = {}; - json['levels'] = levels.map((e) => e.toJson()).toList(); - return json; - } - - ListLevelsData({ - required this.levels, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_messages.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_messages.dart deleted file mode 100644 index 0f842596..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_messages.dart +++ /dev/null @@ -1,158 +0,0 @@ -part of 'generated.dart'; - -class ListMessagesVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListMessagesVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListMessagesData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listMessages", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListMessagesMessages { - final String id; - final String conversationId; - final String senderId; - final String content; - final bool? isSystem; - final Timestamp? createdAt; - final ListMessagesMessagesUser user; - ListMessagesMessages.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - conversationId = nativeFromJson(json['conversationId']), - senderId = nativeFromJson(json['senderId']), - content = nativeFromJson(json['content']), - isSystem = json['isSystem'] == null ? null : nativeFromJson(json['isSystem']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - user = ListMessagesMessagesUser.fromJson(json['user']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListMessagesMessages otherTyped = other as ListMessagesMessages; - return id == otherTyped.id && - conversationId == otherTyped.conversationId && - senderId == otherTyped.senderId && - content == otherTyped.content && - isSystem == otherTyped.isSystem && - createdAt == otherTyped.createdAt && - user == otherTyped.user; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, conversationId.hashCode, senderId.hashCode, content.hashCode, isSystem.hashCode, createdAt.hashCode, user.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['conversationId'] = nativeToJson(conversationId); - json['senderId'] = nativeToJson(senderId); - json['content'] = nativeToJson(content); - if (isSystem != null) { - json['isSystem'] = nativeToJson(isSystem); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['user'] = user.toJson(); - return json; - } - - ListMessagesMessages({ - required this.id, - required this.conversationId, - required this.senderId, - required this.content, - this.isSystem, - this.createdAt, - required this.user, - }); -} - -@immutable -class ListMessagesMessagesUser { - final String? fullName; - ListMessagesMessagesUser.fromJson(dynamic json): - - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListMessagesMessagesUser otherTyped = other as ListMessagesMessagesUser; - return fullName == otherTyped.fullName; - - } - @override - int get hashCode => fullName.hashCode; - - - Map toJson() { - Map json = {}; - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - return json; - } - - ListMessagesMessagesUser({ - this.fullName, - }); -} - -@immutable -class ListMessagesData { - final List messages; - ListMessagesData.fromJson(dynamic json): - - messages = (json['messages'] as List) - .map((e) => ListMessagesMessages.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListMessagesData otherTyped = other as ListMessagesData; - return messages == otherTyped.messages; - - } - @override - int get hashCode => messages.hashCode; - - - Map toJson() { - Map json = {}; - json['messages'] = messages.map((e) => e.toJson()).toList(); - return json; - } - - ListMessagesData({ - required this.messages, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_orders.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_orders.dart deleted file mode 100644 index 6c62ce5a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_orders.dart +++ /dev/null @@ -1,404 +0,0 @@ -part of 'generated.dart'; - -class ListOrdersVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - ListOrdersVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListOrdersVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListOrdersVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListOrdersData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListOrdersVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListOrdersVariables vars= ListOrdersVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("listOrders", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListOrdersOrders { - final String id; - final String? eventName; - final String vendorId; - final String businessId; - final EnumValue orderType; - final String? location; - final EnumValue status; - final Timestamp? date; - final Timestamp? startDate; - final Timestamp? endDate; - final EnumValue? duration; - final int? lunchBreak; - final double? total; - final AnyValue? assignedStaff; - final AnyValue? shifts; - final int? requested; - final String? hub; - final AnyValue? recurringDays; - final AnyValue? permanentDays; - final String? poReference; - final AnyValue? detectedConflicts; - final String? notes; - final Timestamp? createdAt; - final ListOrdersOrdersBusiness business; - final ListOrdersOrdersVendor vendor; - ListOrdersOrders.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderType = orderTypeDeserializer(json['orderType']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - status = orderStatusDeserializer(json['status']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startDate = json['startDate'] == null ? null : Timestamp.fromJson(json['startDate']), - endDate = json['endDate'] == null ? null : Timestamp.fromJson(json['endDate']), - duration = json['duration'] == null ? null : orderDurationDeserializer(json['duration']), - lunchBreak = json['lunchBreak'] == null ? null : nativeFromJson(json['lunchBreak']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - assignedStaff = json['assignedStaff'] == null ? null : AnyValue.fromJson(json['assignedStaff']), - shifts = json['shifts'] == null ? null : AnyValue.fromJson(json['shifts']), - requested = json['requested'] == null ? null : nativeFromJson(json['requested']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - recurringDays = json['recurringDays'] == null ? null : AnyValue.fromJson(json['recurringDays']), - permanentDays = json['permanentDays'] == null ? null : AnyValue.fromJson(json['permanentDays']), - poReference = json['poReference'] == null ? null : nativeFromJson(json['poReference']), - detectedConflicts = json['detectedConflicts'] == null ? null : AnyValue.fromJson(json['detectedConflicts']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - business = ListOrdersOrdersBusiness.fromJson(json['business']), - vendor = ListOrdersOrdersVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListOrdersOrders otherTyped = other as ListOrdersOrders; - return id == otherTyped.id && - eventName == otherTyped.eventName && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderType == otherTyped.orderType && - location == otherTyped.location && - status == otherTyped.status && - date == otherTyped.date && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate && - duration == otherTyped.duration && - lunchBreak == otherTyped.lunchBreak && - total == otherTyped.total && - assignedStaff == otherTyped.assignedStaff && - shifts == otherTyped.shifts && - requested == otherTyped.requested && - hub == otherTyped.hub && - recurringDays == otherTyped.recurringDays && - permanentDays == otherTyped.permanentDays && - poReference == otherTyped.poReference && - detectedConflicts == otherTyped.detectedConflicts && - notes == otherTyped.notes && - createdAt == otherTyped.createdAt && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, vendorId.hashCode, businessId.hashCode, orderType.hashCode, location.hashCode, status.hashCode, date.hashCode, startDate.hashCode, endDate.hashCode, duration.hashCode, lunchBreak.hashCode, total.hashCode, assignedStaff.hashCode, shifts.hashCode, requested.hashCode, hub.hashCode, recurringDays.hashCode, permanentDays.hashCode, poReference.hashCode, detectedConflicts.hashCode, notes.hashCode, createdAt.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderType'] = - orderTypeSerializer(orderType) - ; - if (location != null) { - json['location'] = nativeToJson(location); - } - json['status'] = - orderStatusSerializer(status) - ; - if (date != null) { - json['date'] = date!.toJson(); - } - if (startDate != null) { - json['startDate'] = startDate!.toJson(); - } - if (endDate != null) { - json['endDate'] = endDate!.toJson(); - } - if (duration != null) { - json['duration'] = - orderDurationSerializer(duration!) - ; - } - if (lunchBreak != null) { - json['lunchBreak'] = nativeToJson(lunchBreak); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (assignedStaff != null) { - json['assignedStaff'] = assignedStaff!.toJson(); - } - if (shifts != null) { - json['shifts'] = shifts!.toJson(); - } - if (requested != null) { - json['requested'] = nativeToJson(requested); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (recurringDays != null) { - json['recurringDays'] = recurringDays!.toJson(); - } - if (permanentDays != null) { - json['permanentDays'] = permanentDays!.toJson(); - } - if (poReference != null) { - json['poReference'] = nativeToJson(poReference); - } - if (detectedConflicts != null) { - json['detectedConflicts'] = detectedConflicts!.toJson(); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - ListOrdersOrders({ - required this.id, - this.eventName, - required this.vendorId, - required this.businessId, - required this.orderType, - this.location, - required this.status, - this.date, - this.startDate, - this.endDate, - this.duration, - this.lunchBreak, - this.total, - this.assignedStaff, - this.shifts, - this.requested, - this.hub, - this.recurringDays, - this.permanentDays, - this.poReference, - this.detectedConflicts, - this.notes, - this.createdAt, - required this.business, - required this.vendor, - }); -} - -@immutable -class ListOrdersOrdersBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - ListOrdersOrdersBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListOrdersOrdersBusiness otherTyped = other as ListOrdersOrdersBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - ListOrdersOrdersBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class ListOrdersOrdersVendor { - final String id; - final String companyName; - ListOrdersOrdersVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListOrdersOrdersVendor otherTyped = other as ListOrdersOrdersVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListOrdersOrdersVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListOrdersData { - final List orders; - ListOrdersData.fromJson(dynamic json): - - orders = (json['orders'] as List) - .map((e) => ListOrdersOrders.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListOrdersData otherTyped = other as ListOrdersData; - return orders == otherTyped.orders; - - } - @override - int get hashCode => orders.hashCode; - - - Map toJson() { - Map json = {}; - json['orders'] = orders.map((e) => e.toJson()).toList(); - return json; - } - - ListOrdersData({ - required this.orders, - }); -} - -@immutable -class ListOrdersVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListOrdersVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListOrdersVariables otherTyped = other as ListOrdersVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListOrdersVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_overdue_invoices.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_overdue_invoices.dart deleted file mode 100644 index 6c439434..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_overdue_invoices.dart +++ /dev/null @@ -1,481 +0,0 @@ -part of 'generated.dart'; - -class ListOverdueInvoicesVariablesBuilder { - Timestamp now; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListOverdueInvoicesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListOverdueInvoicesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListOverdueInvoicesVariablesBuilder(this._dataConnect, {required this.now,}); - Deserializer dataDeserializer = (dynamic json) => ListOverdueInvoicesData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListOverdueInvoicesVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListOverdueInvoicesVariables vars= ListOverdueInvoicesVariables(now: now,offset: _offset,limit: _limit,); - return _dataConnect.query("listOverdueInvoices", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListOverdueInvoicesInvoices { - final String id; - final EnumValue status; - final String vendorId; - final String businessId; - final String orderId; - final EnumValue? paymentTerms; - final String invoiceNumber; - final Timestamp issueDate; - final Timestamp dueDate; - final String? hub; - final String? managerName; - final String? vendorNumber; - final AnyValue? roles; - final AnyValue? charges; - final double? otherCharges; - final double? subtotal; - final double amount; - final String? notes; - final int? staffCount; - final int? chargesCount; - final AnyValue? disputedItems; - final String? disputeReason; - final String? disputeDetails; - final ListOverdueInvoicesInvoicesVendor vendor; - final ListOverdueInvoicesInvoicesBusiness business; - final ListOverdueInvoicesInvoicesOrder order; - ListOverdueInvoicesInvoices.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - status = invoiceStatusDeserializer(json['status']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderId = nativeFromJson(json['orderId']), - paymentTerms = json['paymentTerms'] == null ? null : inovicePaymentTermsDeserializer(json['paymentTerms']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - issueDate = Timestamp.fromJson(json['issueDate']), - dueDate = Timestamp.fromJson(json['dueDate']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), - vendorNumber = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']), - roles = json['roles'] == null ? null : AnyValue.fromJson(json['roles']), - charges = json['charges'] == null ? null : AnyValue.fromJson(json['charges']), - otherCharges = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']), - subtotal = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']), - amount = nativeFromJson(json['amount']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - staffCount = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']), - chargesCount = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']), - disputedItems = json['disputedItems'] == null ? null : AnyValue.fromJson(json['disputedItems']), - disputeReason = json['disputeReason'] == null ? null : nativeFromJson(json['disputeReason']), - disputeDetails = json['disputeDetails'] == null ? null : nativeFromJson(json['disputeDetails']), - vendor = ListOverdueInvoicesInvoicesVendor.fromJson(json['vendor']), - business = ListOverdueInvoicesInvoicesBusiness.fromJson(json['business']), - order = ListOverdueInvoicesInvoicesOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListOverdueInvoicesInvoices otherTyped = other as ListOverdueInvoicesInvoices; - return id == otherTyped.id && - status == otherTyped.status && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount && - disputedItems == otherTyped.disputedItems && - disputeReason == otherTyped.disputeReason && - disputeDetails == otherTyped.disputeDetails && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, status.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode, disputedItems.hashCode, disputeReason.hashCode, disputeDetails.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['status'] = - invoiceStatusSerializer(status) - ; - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderId'] = nativeToJson(orderId); - if (paymentTerms != null) { - json['paymentTerms'] = - inovicePaymentTermsSerializer(paymentTerms!) - ; - } - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['issueDate'] = issueDate.toJson(); - json['dueDate'] = dueDate.toJson(); - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (managerName != null) { - json['managerName'] = nativeToJson(managerName); - } - if (vendorNumber != null) { - json['vendorNumber'] = nativeToJson(vendorNumber); - } - if (roles != null) { - json['roles'] = roles!.toJson(); - } - if (charges != null) { - json['charges'] = charges!.toJson(); - } - if (otherCharges != null) { - json['otherCharges'] = nativeToJson(otherCharges); - } - if (subtotal != null) { - json['subtotal'] = nativeToJson(subtotal); - } - json['amount'] = nativeToJson(amount); - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (staffCount != null) { - json['staffCount'] = nativeToJson(staffCount); - } - if (chargesCount != null) { - json['chargesCount'] = nativeToJson(chargesCount); - } - if (disputedItems != null) { - json['disputedItems'] = disputedItems!.toJson(); - } - if (disputeReason != null) { - json['disputeReason'] = nativeToJson(disputeReason); - } - if (disputeDetails != null) { - json['disputeDetails'] = nativeToJson(disputeDetails); - } - json['vendor'] = vendor.toJson(); - json['business'] = business.toJson(); - json['order'] = order.toJson(); - return json; - } - - ListOverdueInvoicesInvoices({ - required this.id, - required this.status, - required this.vendorId, - required this.businessId, - required this.orderId, - this.paymentTerms, - required this.invoiceNumber, - required this.issueDate, - required this.dueDate, - this.hub, - this.managerName, - this.vendorNumber, - this.roles, - this.charges, - this.otherCharges, - this.subtotal, - required this.amount, - this.notes, - this.staffCount, - this.chargesCount, - this.disputedItems, - this.disputeReason, - this.disputeDetails, - required this.vendor, - required this.business, - required this.order, - }); -} - -@immutable -class ListOverdueInvoicesInvoicesVendor { - final String companyName; - final String? address; - final String? email; - final String? phone; - ListOverdueInvoicesInvoicesVendor.fromJson(dynamic json): - - companyName = nativeFromJson(json['companyName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListOverdueInvoicesInvoicesVendor otherTyped = other as ListOverdueInvoicesInvoicesVendor; - return companyName == otherTyped.companyName && - address == otherTyped.address && - email == otherTyped.email && - phone == otherTyped.phone; - - } - @override - int get hashCode => Object.hashAll([companyName.hashCode, address.hashCode, email.hashCode, phone.hashCode]); - - - Map toJson() { - Map json = {}; - json['companyName'] = nativeToJson(companyName); - if (address != null) { - json['address'] = nativeToJson(address); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - return json; - } - - ListOverdueInvoicesInvoicesVendor({ - required this.companyName, - this.address, - this.email, - this.phone, - }); -} - -@immutable -class ListOverdueInvoicesInvoicesBusiness { - final String businessName; - final String? address; - final String? phone; - final String? email; - ListOverdueInvoicesInvoicesBusiness.fromJson(dynamic json): - - businessName = nativeFromJson(json['businessName']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListOverdueInvoicesInvoicesBusiness otherTyped = other as ListOverdueInvoicesInvoicesBusiness; - return businessName == otherTyped.businessName && - address == otherTyped.address && - phone == otherTyped.phone && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([businessName.hashCode, address.hashCode, phone.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessName'] = nativeToJson(businessName); - if (address != null) { - json['address'] = nativeToJson(address); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - ListOverdueInvoicesInvoicesBusiness({ - required this.businessName, - this.address, - this.phone, - this.email, - }); -} - -@immutable -class ListOverdueInvoicesInvoicesOrder { - final String? eventName; - final String? hub; - final String? deparment; - final String? poReference; - ListOverdueInvoicesInvoicesOrder.fromJson(dynamic json): - - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - deparment = json['deparment'] == null ? null : nativeFromJson(json['deparment']), - poReference = json['poReference'] == null ? null : nativeFromJson(json['poReference']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListOverdueInvoicesInvoicesOrder otherTyped = other as ListOverdueInvoicesInvoicesOrder; - return eventName == otherTyped.eventName && - hub == otherTyped.hub && - deparment == otherTyped.deparment && - poReference == otherTyped.poReference; - - } - @override - int get hashCode => Object.hashAll([eventName.hashCode, hub.hashCode, deparment.hashCode, poReference.hashCode]); - - - Map toJson() { - Map json = {}; - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (deparment != null) { - json['deparment'] = nativeToJson(deparment); - } - if (poReference != null) { - json['poReference'] = nativeToJson(poReference); - } - return json; - } - - ListOverdueInvoicesInvoicesOrder({ - this.eventName, - this.hub, - this.deparment, - this.poReference, - }); -} - -@immutable -class ListOverdueInvoicesData { - final List invoices; - ListOverdueInvoicesData.fromJson(dynamic json): - - invoices = (json['invoices'] as List) - .map((e) => ListOverdueInvoicesInvoices.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListOverdueInvoicesData otherTyped = other as ListOverdueInvoicesData; - return invoices == otherTyped.invoices; - - } - @override - int get hashCode => invoices.hashCode; - - - Map toJson() { - Map json = {}; - json['invoices'] = invoices.map((e) => e.toJson()).toList(); - return json; - } - - ListOverdueInvoicesData({ - required this.invoices, - }); -} - -@immutable -class ListOverdueInvoicesVariables { - final Timestamp now; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListOverdueInvoicesVariables.fromJson(Map json): - - now = Timestamp.fromJson(json['now']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListOverdueInvoicesVariables otherTyped = other as ListOverdueInvoicesVariables; - return now == otherTyped.now && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([now.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['now'] = now.toJson(); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListOverdueInvoicesVariables({ - required this.now, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments.dart deleted file mode 100644 index 511a08c5..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments.dart +++ /dev/null @@ -1,608 +0,0 @@ -part of 'generated.dart'; - -class ListRecentPaymentsVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - ListRecentPaymentsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListRecentPaymentsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListRecentPaymentsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListRecentPaymentsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListRecentPaymentsVariables vars= ListRecentPaymentsVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("listRecentPayments", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListRecentPaymentsRecentPayments { - final String id; - final String? workedTime; - final EnumValue? status; - final String staffId; - final String applicationId; - final String invoiceId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListRecentPaymentsRecentPaymentsApplication application; - final ListRecentPaymentsRecentPaymentsInvoice invoice; - ListRecentPaymentsRecentPayments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - workedTime = json['workedTime'] == null ? null : nativeFromJson(json['workedTime']), - status = json['status'] == null ? null : recentPaymentStatusDeserializer(json['status']), - staffId = nativeFromJson(json['staffId']), - applicationId = nativeFromJson(json['applicationId']), - invoiceId = nativeFromJson(json['invoiceId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - application = ListRecentPaymentsRecentPaymentsApplication.fromJson(json['application']), - invoice = ListRecentPaymentsRecentPaymentsInvoice.fromJson(json['invoice']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsRecentPayments otherTyped = other as ListRecentPaymentsRecentPayments; - return id == otherTyped.id && - workedTime == otherTyped.workedTime && - status == otherTyped.status && - staffId == otherTyped.staffId && - applicationId == otherTyped.applicationId && - invoiceId == otherTyped.invoiceId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - application == otherTyped.application && - invoice == otherTyped.invoice; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workedTime.hashCode, status.hashCode, staffId.hashCode, applicationId.hashCode, invoiceId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, application.hashCode, invoice.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (workedTime != null) { - json['workedTime'] = nativeToJson(workedTime); - } - if (status != null) { - json['status'] = - recentPaymentStatusSerializer(status!) - ; - } - json['staffId'] = nativeToJson(staffId); - json['applicationId'] = nativeToJson(applicationId); - json['invoiceId'] = nativeToJson(invoiceId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['application'] = application.toJson(); - json['invoice'] = invoice.toJson(); - return json; - } - - ListRecentPaymentsRecentPayments({ - required this.id, - this.workedTime, - this.status, - required this.staffId, - required this.applicationId, - required this.invoiceId, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.application, - required this.invoice, - }); -} - -@immutable -class ListRecentPaymentsRecentPaymentsApplication { - final Timestamp? checkInTime; - final Timestamp? checkOutTime; - final ListRecentPaymentsRecentPaymentsApplicationShiftRole shiftRole; - ListRecentPaymentsRecentPaymentsApplication.fromJson(dynamic json): - - checkInTime = json['checkInTime'] == null ? null : Timestamp.fromJson(json['checkInTime']), - checkOutTime = json['checkOutTime'] == null ? null : Timestamp.fromJson(json['checkOutTime']), - shiftRole = ListRecentPaymentsRecentPaymentsApplicationShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsRecentPaymentsApplication otherTyped = other as ListRecentPaymentsRecentPaymentsApplication; - return checkInTime == otherTyped.checkInTime && - checkOutTime == otherTyped.checkOutTime && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([checkInTime.hashCode, checkOutTime.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - if (checkInTime != null) { - json['checkInTime'] = checkInTime!.toJson(); - } - if (checkOutTime != null) { - json['checkOutTime'] = checkOutTime!.toJson(); - } - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - ListRecentPaymentsRecentPaymentsApplication({ - this.checkInTime, - this.checkOutTime, - required this.shiftRole, - }); -} - -@immutable -class ListRecentPaymentsRecentPaymentsApplicationShiftRole { - final double? hours; - final double? totalValue; - final Timestamp? startTime; - final Timestamp? endTime; - final ListRecentPaymentsRecentPaymentsApplicationShiftRoleRole role; - final ListRecentPaymentsRecentPaymentsApplicationShiftRoleShift shift; - ListRecentPaymentsRecentPaymentsApplicationShiftRole.fromJson(dynamic json): - - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - role = ListRecentPaymentsRecentPaymentsApplicationShiftRoleRole.fromJson(json['role']), - shift = ListRecentPaymentsRecentPaymentsApplicationShiftRoleShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsRecentPaymentsApplicationShiftRole otherTyped = other as ListRecentPaymentsRecentPaymentsApplicationShiftRole; - return hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([hours.hashCode, totalValue.hashCode, startTime.hashCode, endTime.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - ListRecentPaymentsRecentPaymentsApplicationShiftRole({ - this.hours, - this.totalValue, - this.startTime, - this.endTime, - required this.role, - required this.shift, - }); -} - -@immutable -class ListRecentPaymentsRecentPaymentsApplicationShiftRoleRole { - final String name; - final double costPerHour; - ListRecentPaymentsRecentPaymentsApplicationShiftRoleRole.fromJson(dynamic json): - - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsRecentPaymentsApplicationShiftRoleRole otherTyped = other as ListRecentPaymentsRecentPaymentsApplicationShiftRoleRole; - return name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListRecentPaymentsRecentPaymentsApplicationShiftRoleRole({ - required this.name, - required this.costPerHour, - }); -} - -@immutable -class ListRecentPaymentsRecentPaymentsApplicationShiftRoleShift { - final String title; - final Timestamp? date; - final String? location; - final String? locationAddress; - final String? description; - ListRecentPaymentsRecentPaymentsApplicationShiftRoleShift.fromJson(dynamic json): - - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']), - description = json['description'] == null ? null : nativeFromJson(json['description']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsRecentPaymentsApplicationShiftRoleShift otherTyped = other as ListRecentPaymentsRecentPaymentsApplicationShiftRoleShift; - return title == otherTyped.title && - date == otherTyped.date && - location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - description == otherTyped.description; - - } - @override - int get hashCode => Object.hashAll([title.hashCode, date.hashCode, location.hashCode, locationAddress.hashCode, description.hashCode]); - - - Map toJson() { - Map json = {}; - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - return json; - } - - ListRecentPaymentsRecentPaymentsApplicationShiftRoleShift({ - required this.title, - this.date, - this.location, - this.locationAddress, - this.description, - }); -} - -@immutable -class ListRecentPaymentsRecentPaymentsInvoice { - final EnumValue status; - final String invoiceNumber; - final Timestamp issueDate; - final ListRecentPaymentsRecentPaymentsInvoiceBusiness business; - final ListRecentPaymentsRecentPaymentsInvoiceVendor vendor; - final ListRecentPaymentsRecentPaymentsInvoiceOrder order; - ListRecentPaymentsRecentPaymentsInvoice.fromJson(dynamic json): - - status = invoiceStatusDeserializer(json['status']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - issueDate = Timestamp.fromJson(json['issueDate']), - business = ListRecentPaymentsRecentPaymentsInvoiceBusiness.fromJson(json['business']), - vendor = ListRecentPaymentsRecentPaymentsInvoiceVendor.fromJson(json['vendor']), - order = ListRecentPaymentsRecentPaymentsInvoiceOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsRecentPaymentsInvoice otherTyped = other as ListRecentPaymentsRecentPaymentsInvoice; - return status == otherTyped.status && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - business == otherTyped.business && - vendor == otherTyped.vendor && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([status.hashCode, invoiceNumber.hashCode, issueDate.hashCode, business.hashCode, vendor.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['status'] = - invoiceStatusSerializer(status) - ; - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['issueDate'] = issueDate.toJson(); - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - json['order'] = order.toJson(); - return json; - } - - ListRecentPaymentsRecentPaymentsInvoice({ - required this.status, - required this.invoiceNumber, - required this.issueDate, - required this.business, - required this.vendor, - required this.order, - }); -} - -@immutable -class ListRecentPaymentsRecentPaymentsInvoiceBusiness { - final String id; - final String businessName; - ListRecentPaymentsRecentPaymentsInvoiceBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsRecentPaymentsInvoiceBusiness otherTyped = other as ListRecentPaymentsRecentPaymentsInvoiceBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListRecentPaymentsRecentPaymentsInvoiceBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListRecentPaymentsRecentPaymentsInvoiceVendor { - final String id; - final String companyName; - ListRecentPaymentsRecentPaymentsInvoiceVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsRecentPaymentsInvoiceVendor otherTyped = other as ListRecentPaymentsRecentPaymentsInvoiceVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListRecentPaymentsRecentPaymentsInvoiceVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListRecentPaymentsRecentPaymentsInvoiceOrder { - final String id; - final String? eventName; - ListRecentPaymentsRecentPaymentsInvoiceOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsRecentPaymentsInvoiceOrder otherTyped = other as ListRecentPaymentsRecentPaymentsInvoiceOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - return json; - } - - ListRecentPaymentsRecentPaymentsInvoiceOrder({ - required this.id, - this.eventName, - }); -} - -@immutable -class ListRecentPaymentsData { - final List recentPayments; - ListRecentPaymentsData.fromJson(dynamic json): - - recentPayments = (json['recentPayments'] as List) - .map((e) => ListRecentPaymentsRecentPayments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsData otherTyped = other as ListRecentPaymentsData; - return recentPayments == otherTyped.recentPayments; - - } - @override - int get hashCode => recentPayments.hashCode; - - - Map toJson() { - Map json = {}; - json['recentPayments'] = recentPayments.map((e) => e.toJson()).toList(); - return json; - } - - ListRecentPaymentsData({ - required this.recentPayments, - }); -} - -@immutable -class ListRecentPaymentsVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListRecentPaymentsVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsVariables otherTyped = other as ListRecentPaymentsVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListRecentPaymentsVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_application_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_application_id.dart deleted file mode 100644 index da902a94..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_application_id.dart +++ /dev/null @@ -1,607 +0,0 @@ -part of 'generated.dart'; - -class ListRecentPaymentsByApplicationIdVariablesBuilder { - String applicationId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListRecentPaymentsByApplicationIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByApplicationIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListRecentPaymentsByApplicationIdVariablesBuilder(this._dataConnect, {required this.applicationId,}); - Deserializer dataDeserializer = (dynamic json) => ListRecentPaymentsByApplicationIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListRecentPaymentsByApplicationIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListRecentPaymentsByApplicationIdVariables vars= ListRecentPaymentsByApplicationIdVariables(applicationId: applicationId,offset: _offset,limit: _limit,); - return _dataConnect.query("listRecentPaymentsByApplicationId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListRecentPaymentsByApplicationIdRecentPayments { - final String id; - final String? workedTime; - final EnumValue? status; - final String staffId; - final String applicationId; - final String invoiceId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListRecentPaymentsByApplicationIdRecentPaymentsApplication application; - final ListRecentPaymentsByApplicationIdRecentPaymentsInvoice invoice; - ListRecentPaymentsByApplicationIdRecentPayments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - workedTime = json['workedTime'] == null ? null : nativeFromJson(json['workedTime']), - status = json['status'] == null ? null : recentPaymentStatusDeserializer(json['status']), - staffId = nativeFromJson(json['staffId']), - applicationId = nativeFromJson(json['applicationId']), - invoiceId = nativeFromJson(json['invoiceId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - application = ListRecentPaymentsByApplicationIdRecentPaymentsApplication.fromJson(json['application']), - invoice = ListRecentPaymentsByApplicationIdRecentPaymentsInvoice.fromJson(json['invoice']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByApplicationIdRecentPayments otherTyped = other as ListRecentPaymentsByApplicationIdRecentPayments; - return id == otherTyped.id && - workedTime == otherTyped.workedTime && - status == otherTyped.status && - staffId == otherTyped.staffId && - applicationId == otherTyped.applicationId && - invoiceId == otherTyped.invoiceId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - application == otherTyped.application && - invoice == otherTyped.invoice; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workedTime.hashCode, status.hashCode, staffId.hashCode, applicationId.hashCode, invoiceId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, application.hashCode, invoice.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (workedTime != null) { - json['workedTime'] = nativeToJson(workedTime); - } - if (status != null) { - json['status'] = - recentPaymentStatusSerializer(status!) - ; - } - json['staffId'] = nativeToJson(staffId); - json['applicationId'] = nativeToJson(applicationId); - json['invoiceId'] = nativeToJson(invoiceId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['application'] = application.toJson(); - json['invoice'] = invoice.toJson(); - return json; - } - - ListRecentPaymentsByApplicationIdRecentPayments({ - required this.id, - this.workedTime, - this.status, - required this.staffId, - required this.applicationId, - required this.invoiceId, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.application, - required this.invoice, - }); -} - -@immutable -class ListRecentPaymentsByApplicationIdRecentPaymentsApplication { - final String id; - final EnumValue status; - final ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRole shiftRole; - ListRecentPaymentsByApplicationIdRecentPaymentsApplication.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - status = applicationStatusDeserializer(json['status']), - shiftRole = ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByApplicationIdRecentPaymentsApplication otherTyped = other as ListRecentPaymentsByApplicationIdRecentPaymentsApplication; - return id == otherTyped.id && - status == otherTyped.status && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, status.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['status'] = - applicationStatusSerializer(status) - ; - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - ListRecentPaymentsByApplicationIdRecentPaymentsApplication({ - required this.id, - required this.status, - required this.shiftRole, - }); -} - -@immutable -class ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRole { - final double? hours; - final double? totalValue; - final ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRoleRole role; - final ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRoleShift shift; - ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRole.fromJson(dynamic json): - - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - role = ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRoleRole.fromJson(json['role']), - shift = ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRoleShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRole otherTyped = other as ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRole; - return hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([hours.hashCode, totalValue.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRole({ - this.hours, - this.totalValue, - required this.role, - required this.shift, - }); -} - -@immutable -class ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRoleRole { - final String id; - final String name; - final double costPerHour; - ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRoleRole otherTyped = other as ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRoleRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRoleShift { - final String id; - final String title; - final Timestamp? date; - final String? locationAddress; - ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRoleShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRoleShift otherTyped = other as ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRoleShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - locationAddress == otherTyped.locationAddress; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, locationAddress.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - return json; - } - - ListRecentPaymentsByApplicationIdRecentPaymentsApplicationShiftRoleShift({ - required this.id, - required this.title, - this.date, - this.locationAddress, - }); -} - -@immutable -class ListRecentPaymentsByApplicationIdRecentPaymentsInvoice { - final String id; - final String invoiceNumber; - final EnumValue status; - final double amount; - final ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceBusiness business; - final ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceVendor vendor; - final ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceOrder order; - ListRecentPaymentsByApplicationIdRecentPaymentsInvoice.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - status = invoiceStatusDeserializer(json['status']), - amount = nativeFromJson(json['amount']), - business = ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceBusiness.fromJson(json['business']), - vendor = ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceVendor.fromJson(json['vendor']), - order = ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByApplicationIdRecentPaymentsInvoice otherTyped = other as ListRecentPaymentsByApplicationIdRecentPaymentsInvoice; - return id == otherTyped.id && - invoiceNumber == otherTyped.invoiceNumber && - status == otherTyped.status && - amount == otherTyped.amount && - business == otherTyped.business && - vendor == otherTyped.vendor && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, invoiceNumber.hashCode, status.hashCode, amount.hashCode, business.hashCode, vendor.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['status'] = - invoiceStatusSerializer(status) - ; - json['amount'] = nativeToJson(amount); - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - json['order'] = order.toJson(); - return json; - } - - ListRecentPaymentsByApplicationIdRecentPaymentsInvoice({ - required this.id, - required this.invoiceNumber, - required this.status, - required this.amount, - required this.business, - required this.vendor, - required this.order, - }); -} - -@immutable -class ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceBusiness { - final String id; - final String businessName; - ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceBusiness otherTyped = other as ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceVendor { - final String id; - final String companyName; - ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceVendor otherTyped = other as ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceOrder { - final String id; - final String? eventName; - final String? location; - ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - location = json['location'] == null ? null : nativeFromJson(json['location']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceOrder otherTyped = other as ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - location == otherTyped.location; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, location.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - return json; - } - - ListRecentPaymentsByApplicationIdRecentPaymentsInvoiceOrder({ - required this.id, - this.eventName, - this.location, - }); -} - -@immutable -class ListRecentPaymentsByApplicationIdData { - final List recentPayments; - ListRecentPaymentsByApplicationIdData.fromJson(dynamic json): - - recentPayments = (json['recentPayments'] as List) - .map((e) => ListRecentPaymentsByApplicationIdRecentPayments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByApplicationIdData otherTyped = other as ListRecentPaymentsByApplicationIdData; - return recentPayments == otherTyped.recentPayments; - - } - @override - int get hashCode => recentPayments.hashCode; - - - Map toJson() { - Map json = {}; - json['recentPayments'] = recentPayments.map((e) => e.toJson()).toList(); - return json; - } - - ListRecentPaymentsByApplicationIdData({ - required this.recentPayments, - }); -} - -@immutable -class ListRecentPaymentsByApplicationIdVariables { - final String applicationId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListRecentPaymentsByApplicationIdVariables.fromJson(Map json): - - applicationId = nativeFromJson(json['applicationId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByApplicationIdVariables otherTyped = other as ListRecentPaymentsByApplicationIdVariables; - return applicationId == otherTyped.applicationId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([applicationId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['applicationId'] = nativeToJson(applicationId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListRecentPaymentsByApplicationIdVariables({ - required this.applicationId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_business_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_business_id.dart deleted file mode 100644 index bbe69db2..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_business_id.dart +++ /dev/null @@ -1,657 +0,0 @@ -part of 'generated.dart'; - -class ListRecentPaymentsByBusinessIdVariablesBuilder { - String businessId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListRecentPaymentsByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListRecentPaymentsByBusinessIdVariablesBuilder(this._dataConnect, {required this.businessId,}); - Deserializer dataDeserializer = (dynamic json) => ListRecentPaymentsByBusinessIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListRecentPaymentsByBusinessIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListRecentPaymentsByBusinessIdVariables vars= ListRecentPaymentsByBusinessIdVariables(businessId: businessId,offset: _offset,limit: _limit,); - return _dataConnect.query("listRecentPaymentsByBusinessId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListRecentPaymentsByBusinessIdRecentPayments { - final String id; - final String? workedTime; - final EnumValue? status; - final String staffId; - final String applicationId; - final String invoiceId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListRecentPaymentsByBusinessIdRecentPaymentsApplication application; - final ListRecentPaymentsByBusinessIdRecentPaymentsInvoice invoice; - ListRecentPaymentsByBusinessIdRecentPayments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - workedTime = json['workedTime'] == null ? null : nativeFromJson(json['workedTime']), - status = json['status'] == null ? null : recentPaymentStatusDeserializer(json['status']), - staffId = nativeFromJson(json['staffId']), - applicationId = nativeFromJson(json['applicationId']), - invoiceId = nativeFromJson(json['invoiceId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - application = ListRecentPaymentsByBusinessIdRecentPaymentsApplication.fromJson(json['application']), - invoice = ListRecentPaymentsByBusinessIdRecentPaymentsInvoice.fromJson(json['invoice']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByBusinessIdRecentPayments otherTyped = other as ListRecentPaymentsByBusinessIdRecentPayments; - return id == otherTyped.id && - workedTime == otherTyped.workedTime && - status == otherTyped.status && - staffId == otherTyped.staffId && - applicationId == otherTyped.applicationId && - invoiceId == otherTyped.invoiceId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - application == otherTyped.application && - invoice == otherTyped.invoice; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workedTime.hashCode, status.hashCode, staffId.hashCode, applicationId.hashCode, invoiceId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, application.hashCode, invoice.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (workedTime != null) { - json['workedTime'] = nativeToJson(workedTime); - } - if (status != null) { - json['status'] = - recentPaymentStatusSerializer(status!) - ; - } - json['staffId'] = nativeToJson(staffId); - json['applicationId'] = nativeToJson(applicationId); - json['invoiceId'] = nativeToJson(invoiceId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['application'] = application.toJson(); - json['invoice'] = invoice.toJson(); - return json; - } - - ListRecentPaymentsByBusinessIdRecentPayments({ - required this.id, - this.workedTime, - this.status, - required this.staffId, - required this.applicationId, - required this.invoiceId, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.application, - required this.invoice, - }); -} - -@immutable -class ListRecentPaymentsByBusinessIdRecentPaymentsApplication { - final String id; - final String staffId; - final Timestamp? checkInTime; - final Timestamp? checkOutTime; - final ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRole shiftRole; - ListRecentPaymentsByBusinessIdRecentPaymentsApplication.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - checkInTime = json['checkInTime'] == null ? null : Timestamp.fromJson(json['checkInTime']), - checkOutTime = json['checkOutTime'] == null ? null : Timestamp.fromJson(json['checkOutTime']), - shiftRole = ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByBusinessIdRecentPaymentsApplication otherTyped = other as ListRecentPaymentsByBusinessIdRecentPaymentsApplication; - return id == otherTyped.id && - staffId == otherTyped.staffId && - checkInTime == otherTyped.checkInTime && - checkOutTime == otherTyped.checkOutTime && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, checkInTime.hashCode, checkOutTime.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - if (checkInTime != null) { - json['checkInTime'] = checkInTime!.toJson(); - } - if (checkOutTime != null) { - json['checkOutTime'] = checkOutTime!.toJson(); - } - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - ListRecentPaymentsByBusinessIdRecentPaymentsApplication({ - required this.id, - required this.staffId, - this.checkInTime, - this.checkOutTime, - required this.shiftRole, - }); -} - -@immutable -class ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRole { - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final double? totalValue; - final ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRoleRole role; - final ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRoleShift shift; - ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRole.fromJson(dynamic json): - - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - role = ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRoleRole.fromJson(json['role']), - shift = ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRoleShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRole otherTyped = other as ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRole; - return startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([startTime.hashCode, endTime.hashCode, hours.hashCode, totalValue.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRole({ - this.startTime, - this.endTime, - this.hours, - this.totalValue, - required this.role, - required this.shift, - }); -} - -@immutable -class ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRoleRole { - final String id; - final String name; - final double costPerHour; - ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRoleRole otherTyped = other as ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRoleRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRoleShift { - final String id; - final String title; - final Timestamp? date; - final String? location; - final String? locationAddress; - final String? description; - ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRoleShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']), - description = json['description'] == null ? null : nativeFromJson(json['description']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRoleShift otherTyped = other as ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRoleShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - description == otherTyped.description; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, location.hashCode, locationAddress.hashCode, description.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - return json; - } - - ListRecentPaymentsByBusinessIdRecentPaymentsApplicationShiftRoleShift({ - required this.id, - required this.title, - this.date, - this.location, - this.locationAddress, - this.description, - }); -} - -@immutable -class ListRecentPaymentsByBusinessIdRecentPaymentsInvoice { - final String id; - final String invoiceNumber; - final EnumValue status; - final Timestamp issueDate; - final Timestamp dueDate; - final double amount; - final ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceBusiness business; - final ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceVendor vendor; - final ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceOrder order; - ListRecentPaymentsByBusinessIdRecentPaymentsInvoice.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - status = invoiceStatusDeserializer(json['status']), - issueDate = Timestamp.fromJson(json['issueDate']), - dueDate = Timestamp.fromJson(json['dueDate']), - amount = nativeFromJson(json['amount']), - business = ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceBusiness.fromJson(json['business']), - vendor = ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceVendor.fromJson(json['vendor']), - order = ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByBusinessIdRecentPaymentsInvoice otherTyped = other as ListRecentPaymentsByBusinessIdRecentPaymentsInvoice; - return id == otherTyped.id && - invoiceNumber == otherTyped.invoiceNumber && - status == otherTyped.status && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - amount == otherTyped.amount && - business == otherTyped.business && - vendor == otherTyped.vendor && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, invoiceNumber.hashCode, status.hashCode, issueDate.hashCode, dueDate.hashCode, amount.hashCode, business.hashCode, vendor.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['status'] = - invoiceStatusSerializer(status) - ; - json['issueDate'] = issueDate.toJson(); - json['dueDate'] = dueDate.toJson(); - json['amount'] = nativeToJson(amount); - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - json['order'] = order.toJson(); - return json; - } - - ListRecentPaymentsByBusinessIdRecentPaymentsInvoice({ - required this.id, - required this.invoiceNumber, - required this.status, - required this.issueDate, - required this.dueDate, - required this.amount, - required this.business, - required this.vendor, - required this.order, - }); -} - -@immutable -class ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceBusiness { - final String id; - final String businessName; - ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceBusiness otherTyped = other as ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceVendor { - final String id; - final String companyName; - ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceVendor otherTyped = other as ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceOrder { - final String id; - final String? eventName; - final String? location; - ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - location = json['location'] == null ? null : nativeFromJson(json['location']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceOrder otherTyped = other as ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - location == otherTyped.location; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, location.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - return json; - } - - ListRecentPaymentsByBusinessIdRecentPaymentsInvoiceOrder({ - required this.id, - this.eventName, - this.location, - }); -} - -@immutable -class ListRecentPaymentsByBusinessIdData { - final List recentPayments; - ListRecentPaymentsByBusinessIdData.fromJson(dynamic json): - - recentPayments = (json['recentPayments'] as List) - .map((e) => ListRecentPaymentsByBusinessIdRecentPayments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByBusinessIdData otherTyped = other as ListRecentPaymentsByBusinessIdData; - return recentPayments == otherTyped.recentPayments; - - } - @override - int get hashCode => recentPayments.hashCode; - - - Map toJson() { - Map json = {}; - json['recentPayments'] = recentPayments.map((e) => e.toJson()).toList(); - return json; - } - - ListRecentPaymentsByBusinessIdData({ - required this.recentPayments, - }); -} - -@immutable -class ListRecentPaymentsByBusinessIdVariables { - final String businessId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListRecentPaymentsByBusinessIdVariables.fromJson(Map json): - - businessId = nativeFromJson(json['businessId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByBusinessIdVariables otherTyped = other as ListRecentPaymentsByBusinessIdVariables; - return businessId == otherTyped.businessId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([businessId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessId'] = nativeToJson(businessId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListRecentPaymentsByBusinessIdVariables({ - required this.businessId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_invoice_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_invoice_id.dart deleted file mode 100644 index 2989392a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_invoice_id.dart +++ /dev/null @@ -1,605 +0,0 @@ -part of 'generated.dart'; - -class ListRecentPaymentsByInvoiceIdVariablesBuilder { - String invoiceId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListRecentPaymentsByInvoiceIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByInvoiceIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListRecentPaymentsByInvoiceIdVariablesBuilder(this._dataConnect, {required this.invoiceId,}); - Deserializer dataDeserializer = (dynamic json) => ListRecentPaymentsByInvoiceIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListRecentPaymentsByInvoiceIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListRecentPaymentsByInvoiceIdVariables vars= ListRecentPaymentsByInvoiceIdVariables(invoiceId: invoiceId,offset: _offset,limit: _limit,); - return _dataConnect.query("listRecentPaymentsByInvoiceId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListRecentPaymentsByInvoiceIdRecentPayments { - final String id; - final String? workedTime; - final EnumValue? status; - final String staffId; - final String applicationId; - final String invoiceId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListRecentPaymentsByInvoiceIdRecentPaymentsApplication application; - final ListRecentPaymentsByInvoiceIdRecentPaymentsInvoice invoice; - ListRecentPaymentsByInvoiceIdRecentPayments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - workedTime = json['workedTime'] == null ? null : nativeFromJson(json['workedTime']), - status = json['status'] == null ? null : recentPaymentStatusDeserializer(json['status']), - staffId = nativeFromJson(json['staffId']), - applicationId = nativeFromJson(json['applicationId']), - invoiceId = nativeFromJson(json['invoiceId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - application = ListRecentPaymentsByInvoiceIdRecentPaymentsApplication.fromJson(json['application']), - invoice = ListRecentPaymentsByInvoiceIdRecentPaymentsInvoice.fromJson(json['invoice']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdRecentPayments otherTyped = other as ListRecentPaymentsByInvoiceIdRecentPayments; - return id == otherTyped.id && - workedTime == otherTyped.workedTime && - status == otherTyped.status && - staffId == otherTyped.staffId && - applicationId == otherTyped.applicationId && - invoiceId == otherTyped.invoiceId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - application == otherTyped.application && - invoice == otherTyped.invoice; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workedTime.hashCode, status.hashCode, staffId.hashCode, applicationId.hashCode, invoiceId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, application.hashCode, invoice.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (workedTime != null) { - json['workedTime'] = nativeToJson(workedTime); - } - if (status != null) { - json['status'] = - recentPaymentStatusSerializer(status!) - ; - } - json['staffId'] = nativeToJson(staffId); - json['applicationId'] = nativeToJson(applicationId); - json['invoiceId'] = nativeToJson(invoiceId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['application'] = application.toJson(); - json['invoice'] = invoice.toJson(); - return json; - } - - ListRecentPaymentsByInvoiceIdRecentPayments({ - required this.id, - this.workedTime, - this.status, - required this.staffId, - required this.applicationId, - required this.invoiceId, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.application, - required this.invoice, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdRecentPaymentsApplication { - final String id; - final String staffId; - final ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRole shiftRole; - ListRecentPaymentsByInvoiceIdRecentPaymentsApplication.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - shiftRole = ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdRecentPaymentsApplication otherTyped = other as ListRecentPaymentsByInvoiceIdRecentPaymentsApplication; - return id == otherTyped.id && - staffId == otherTyped.staffId && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - ListRecentPaymentsByInvoiceIdRecentPaymentsApplication({ - required this.id, - required this.staffId, - required this.shiftRole, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRole { - final double? hours; - final double? totalValue; - final ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRoleRole role; - final ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRoleShift shift; - ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRole.fromJson(dynamic json): - - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - role = ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRoleRole.fromJson(json['role']), - shift = ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRoleShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRole otherTyped = other as ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRole; - return hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([hours.hashCode, totalValue.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRole({ - this.hours, - this.totalValue, - required this.role, - required this.shift, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRoleRole { - final String id; - final String name; - final double costPerHour; - ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRoleRole otherTyped = other as ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRoleRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRoleShift { - final String id; - final String title; - final Timestamp? date; - final String? locationAddress; - ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRoleShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRoleShift otherTyped = other as ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRoleShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - locationAddress == otherTyped.locationAddress; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, locationAddress.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - return json; - } - - ListRecentPaymentsByInvoiceIdRecentPaymentsApplicationShiftRoleShift({ - required this.id, - required this.title, - this.date, - this.locationAddress, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdRecentPaymentsInvoice { - final String id; - final String invoiceNumber; - final EnumValue status; - final double amount; - final ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceBusiness business; - final ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceVendor vendor; - final ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceOrder order; - ListRecentPaymentsByInvoiceIdRecentPaymentsInvoice.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - status = invoiceStatusDeserializer(json['status']), - amount = nativeFromJson(json['amount']), - business = ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceBusiness.fromJson(json['business']), - vendor = ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceVendor.fromJson(json['vendor']), - order = ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdRecentPaymentsInvoice otherTyped = other as ListRecentPaymentsByInvoiceIdRecentPaymentsInvoice; - return id == otherTyped.id && - invoiceNumber == otherTyped.invoiceNumber && - status == otherTyped.status && - amount == otherTyped.amount && - business == otherTyped.business && - vendor == otherTyped.vendor && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, invoiceNumber.hashCode, status.hashCode, amount.hashCode, business.hashCode, vendor.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['status'] = - invoiceStatusSerializer(status) - ; - json['amount'] = nativeToJson(amount); - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - json['order'] = order.toJson(); - return json; - } - - ListRecentPaymentsByInvoiceIdRecentPaymentsInvoice({ - required this.id, - required this.invoiceNumber, - required this.status, - required this.amount, - required this.business, - required this.vendor, - required this.order, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceBusiness { - final String id; - final String businessName; - ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceBusiness otherTyped = other as ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceVendor { - final String id; - final String companyName; - ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceVendor otherTyped = other as ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceOrder { - final String id; - final String? eventName; - final String? location; - ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - location = json['location'] == null ? null : nativeFromJson(json['location']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceOrder otherTyped = other as ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - location == otherTyped.location; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, location.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - return json; - } - - ListRecentPaymentsByInvoiceIdRecentPaymentsInvoiceOrder({ - required this.id, - this.eventName, - this.location, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdData { - final List recentPayments; - ListRecentPaymentsByInvoiceIdData.fromJson(dynamic json): - - recentPayments = (json['recentPayments'] as List) - .map((e) => ListRecentPaymentsByInvoiceIdRecentPayments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdData otherTyped = other as ListRecentPaymentsByInvoiceIdData; - return recentPayments == otherTyped.recentPayments; - - } - @override - int get hashCode => recentPayments.hashCode; - - - Map toJson() { - Map json = {}; - json['recentPayments'] = recentPayments.map((e) => e.toJson()).toList(); - return json; - } - - ListRecentPaymentsByInvoiceIdData({ - required this.recentPayments, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdVariables { - final String invoiceId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListRecentPaymentsByInvoiceIdVariables.fromJson(Map json): - - invoiceId = nativeFromJson(json['invoiceId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdVariables otherTyped = other as ListRecentPaymentsByInvoiceIdVariables; - return invoiceId == otherTyped.invoiceId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([invoiceId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['invoiceId'] = nativeToJson(invoiceId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListRecentPaymentsByInvoiceIdVariables({ - required this.invoiceId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_invoice_ids.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_invoice_ids.dart deleted file mode 100644 index 4bb711d1..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_invoice_ids.dart +++ /dev/null @@ -1,602 +0,0 @@ -part of 'generated.dart'; - -class ListRecentPaymentsByInvoiceIdsVariablesBuilder { - List invoiceIds; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListRecentPaymentsByInvoiceIdsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByInvoiceIdsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListRecentPaymentsByInvoiceIdsVariablesBuilder(this._dataConnect, {required this.invoiceIds,}); - Deserializer dataDeserializer = (dynamic json) => ListRecentPaymentsByInvoiceIdsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListRecentPaymentsByInvoiceIdsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListRecentPaymentsByInvoiceIdsVariables vars= ListRecentPaymentsByInvoiceIdsVariables(invoiceIds: invoiceIds,offset: _offset,limit: _limit,); - return _dataConnect.query("listRecentPaymentsByInvoiceIds", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListRecentPaymentsByInvoiceIdsRecentPayments { - final String id; - final String? workedTime; - final EnumValue? status; - final String staffId; - final String applicationId; - final String invoiceId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListRecentPaymentsByInvoiceIdsRecentPaymentsApplication application; - final ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoice invoice; - ListRecentPaymentsByInvoiceIdsRecentPayments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - workedTime = json['workedTime'] == null ? null : nativeFromJson(json['workedTime']), - status = json['status'] == null ? null : recentPaymentStatusDeserializer(json['status']), - staffId = nativeFromJson(json['staffId']), - applicationId = nativeFromJson(json['applicationId']), - invoiceId = nativeFromJson(json['invoiceId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - application = ListRecentPaymentsByInvoiceIdsRecentPaymentsApplication.fromJson(json['application']), - invoice = ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoice.fromJson(json['invoice']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdsRecentPayments otherTyped = other as ListRecentPaymentsByInvoiceIdsRecentPayments; - return id == otherTyped.id && - workedTime == otherTyped.workedTime && - status == otherTyped.status && - staffId == otherTyped.staffId && - applicationId == otherTyped.applicationId && - invoiceId == otherTyped.invoiceId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - application == otherTyped.application && - invoice == otherTyped.invoice; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workedTime.hashCode, status.hashCode, staffId.hashCode, applicationId.hashCode, invoiceId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, application.hashCode, invoice.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (workedTime != null) { - json['workedTime'] = nativeToJson(workedTime); - } - if (status != null) { - json['status'] = - recentPaymentStatusSerializer(status!) - ; - } - json['staffId'] = nativeToJson(staffId); - json['applicationId'] = nativeToJson(applicationId); - json['invoiceId'] = nativeToJson(invoiceId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['application'] = application.toJson(); - json['invoice'] = invoice.toJson(); - return json; - } - - ListRecentPaymentsByInvoiceIdsRecentPayments({ - required this.id, - this.workedTime, - this.status, - required this.staffId, - required this.applicationId, - required this.invoiceId, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.application, - required this.invoice, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdsRecentPaymentsApplication { - final String id; - final ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRole shiftRole; - ListRecentPaymentsByInvoiceIdsRecentPaymentsApplication.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - shiftRole = ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdsRecentPaymentsApplication otherTyped = other as ListRecentPaymentsByInvoiceIdsRecentPaymentsApplication; - return id == otherTyped.id && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - ListRecentPaymentsByInvoiceIdsRecentPaymentsApplication({ - required this.id, - required this.shiftRole, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRole { - final double? hours; - final double? totalValue; - final ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRoleRole role; - final ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRoleShift shift; - ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRole.fromJson(dynamic json): - - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - role = ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRoleRole.fromJson(json['role']), - shift = ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRoleShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRole otherTyped = other as ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRole; - return hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([hours.hashCode, totalValue.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRole({ - this.hours, - this.totalValue, - required this.role, - required this.shift, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRoleRole { - final String id; - final String name; - final double costPerHour; - ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRoleRole otherTyped = other as ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRoleRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRoleShift { - final String id; - final String title; - final Timestamp? date; - final String? locationAddress; - ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRoleShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRoleShift otherTyped = other as ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRoleShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - locationAddress == otherTyped.locationAddress; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, locationAddress.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - return json; - } - - ListRecentPaymentsByInvoiceIdsRecentPaymentsApplicationShiftRoleShift({ - required this.id, - required this.title, - this.date, - this.locationAddress, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoice { - final String id; - final String invoiceNumber; - final EnumValue status; - final double amount; - final ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceBusiness business; - final ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceVendor vendor; - final ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceOrder order; - ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoice.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - status = invoiceStatusDeserializer(json['status']), - amount = nativeFromJson(json['amount']), - business = ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceBusiness.fromJson(json['business']), - vendor = ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceVendor.fromJson(json['vendor']), - order = ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoice otherTyped = other as ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoice; - return id == otherTyped.id && - invoiceNumber == otherTyped.invoiceNumber && - status == otherTyped.status && - amount == otherTyped.amount && - business == otherTyped.business && - vendor == otherTyped.vendor && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, invoiceNumber.hashCode, status.hashCode, amount.hashCode, business.hashCode, vendor.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['status'] = - invoiceStatusSerializer(status) - ; - json['amount'] = nativeToJson(amount); - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - json['order'] = order.toJson(); - return json; - } - - ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoice({ - required this.id, - required this.invoiceNumber, - required this.status, - required this.amount, - required this.business, - required this.vendor, - required this.order, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceBusiness { - final String id; - final String businessName; - ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceBusiness otherTyped = other as ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceVendor { - final String id; - final String companyName; - ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceVendor otherTyped = other as ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceOrder { - final String id; - final String? eventName; - final String? location; - ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - location = json['location'] == null ? null : nativeFromJson(json['location']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceOrder otherTyped = other as ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - location == otherTyped.location; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, location.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - return json; - } - - ListRecentPaymentsByInvoiceIdsRecentPaymentsInvoiceOrder({ - required this.id, - this.eventName, - this.location, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdsData { - final List recentPayments; - ListRecentPaymentsByInvoiceIdsData.fromJson(dynamic json): - - recentPayments = (json['recentPayments'] as List) - .map((e) => ListRecentPaymentsByInvoiceIdsRecentPayments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdsData otherTyped = other as ListRecentPaymentsByInvoiceIdsData; - return recentPayments == otherTyped.recentPayments; - - } - @override - int get hashCode => recentPayments.hashCode; - - - Map toJson() { - Map json = {}; - json['recentPayments'] = recentPayments.map((e) => e.toJson()).toList(); - return json; - } - - ListRecentPaymentsByInvoiceIdsData({ - required this.recentPayments, - }); -} - -@immutable -class ListRecentPaymentsByInvoiceIdsVariables { - final List invoiceIds; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListRecentPaymentsByInvoiceIdsVariables.fromJson(Map json): - - invoiceIds = (json['invoiceIds'] as List) - .map((e) => nativeFromJson(e)) - .toList() { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByInvoiceIdsVariables otherTyped = other as ListRecentPaymentsByInvoiceIdsVariables; - return invoiceIds == otherTyped.invoiceIds && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([invoiceIds.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['invoiceIds'] = invoiceIds.map((e) => nativeToJson(e)).toList(); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListRecentPaymentsByInvoiceIdsVariables({ - required this.invoiceIds, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_staff_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_staff_id.dart deleted file mode 100644 index de171230..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_staff_id.dart +++ /dev/null @@ -1,631 +0,0 @@ -part of 'generated.dart'; - -class ListRecentPaymentsByStaffIdVariablesBuilder { - String staffId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListRecentPaymentsByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListRecentPaymentsByStaffIdVariablesBuilder(this._dataConnect, {required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => ListRecentPaymentsByStaffIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListRecentPaymentsByStaffIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListRecentPaymentsByStaffIdVariables vars= ListRecentPaymentsByStaffIdVariables(staffId: staffId,offset: _offset,limit: _limit,); - return _dataConnect.query("listRecentPaymentsByStaffId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListRecentPaymentsByStaffIdRecentPayments { - final String id; - final String? workedTime; - final EnumValue? status; - final String staffId; - final String applicationId; - final String invoiceId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListRecentPaymentsByStaffIdRecentPaymentsApplication application; - final ListRecentPaymentsByStaffIdRecentPaymentsInvoice invoice; - ListRecentPaymentsByStaffIdRecentPayments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - workedTime = json['workedTime'] == null ? null : nativeFromJson(json['workedTime']), - status = json['status'] == null ? null : recentPaymentStatusDeserializer(json['status']), - staffId = nativeFromJson(json['staffId']), - applicationId = nativeFromJson(json['applicationId']), - invoiceId = nativeFromJson(json['invoiceId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - application = ListRecentPaymentsByStaffIdRecentPaymentsApplication.fromJson(json['application']), - invoice = ListRecentPaymentsByStaffIdRecentPaymentsInvoice.fromJson(json['invoice']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStaffIdRecentPayments otherTyped = other as ListRecentPaymentsByStaffIdRecentPayments; - return id == otherTyped.id && - workedTime == otherTyped.workedTime && - status == otherTyped.status && - staffId == otherTyped.staffId && - applicationId == otherTyped.applicationId && - invoiceId == otherTyped.invoiceId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - application == otherTyped.application && - invoice == otherTyped.invoice; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workedTime.hashCode, status.hashCode, staffId.hashCode, applicationId.hashCode, invoiceId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, application.hashCode, invoice.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (workedTime != null) { - json['workedTime'] = nativeToJson(workedTime); - } - if (status != null) { - json['status'] = - recentPaymentStatusSerializer(status!) - ; - } - json['staffId'] = nativeToJson(staffId); - json['applicationId'] = nativeToJson(applicationId); - json['invoiceId'] = nativeToJson(invoiceId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['application'] = application.toJson(); - json['invoice'] = invoice.toJson(); - return json; - } - - ListRecentPaymentsByStaffIdRecentPayments({ - required this.id, - this.workedTime, - this.status, - required this.staffId, - required this.applicationId, - required this.invoiceId, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.application, - required this.invoice, - }); -} - -@immutable -class ListRecentPaymentsByStaffIdRecentPaymentsApplication { - final String id; - final EnumValue status; - final ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRole shiftRole; - ListRecentPaymentsByStaffIdRecentPaymentsApplication.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - status = applicationStatusDeserializer(json['status']), - shiftRole = ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStaffIdRecentPaymentsApplication otherTyped = other as ListRecentPaymentsByStaffIdRecentPaymentsApplication; - return id == otherTyped.id && - status == otherTyped.status && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, status.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['status'] = - applicationStatusSerializer(status) - ; - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - ListRecentPaymentsByStaffIdRecentPaymentsApplication({ - required this.id, - required this.status, - required this.shiftRole, - }); -} - -@immutable -class ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRole { - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final double? totalValue; - final ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRoleRole role; - final ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRoleShift shift; - ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRole.fromJson(dynamic json): - - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - role = ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRoleRole.fromJson(json['role']), - shift = ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRoleShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRole otherTyped = other as ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRole; - return startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([startTime.hashCode, endTime.hashCode, hours.hashCode, totalValue.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRole({ - this.startTime, - this.endTime, - this.hours, - this.totalValue, - required this.role, - required this.shift, - }); -} - -@immutable -class ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRoleRole { - final String id; - final String name; - final double costPerHour; - ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRoleRole otherTyped = other as ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRoleRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRoleShift { - final String id; - final String title; - final Timestamp? date; - final String? locationAddress; - ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRoleShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRoleShift otherTyped = other as ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRoleShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - locationAddress == otherTyped.locationAddress; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, locationAddress.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - return json; - } - - ListRecentPaymentsByStaffIdRecentPaymentsApplicationShiftRoleShift({ - required this.id, - required this.title, - this.date, - this.locationAddress, - }); -} - -@immutable -class ListRecentPaymentsByStaffIdRecentPaymentsInvoice { - final String id; - final String invoiceNumber; - final EnumValue status; - final Timestamp issueDate; - final Timestamp dueDate; - final double amount; - final ListRecentPaymentsByStaffIdRecentPaymentsInvoiceBusiness business; - final ListRecentPaymentsByStaffIdRecentPaymentsInvoiceVendor vendor; - final ListRecentPaymentsByStaffIdRecentPaymentsInvoiceOrder order; - ListRecentPaymentsByStaffIdRecentPaymentsInvoice.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - status = invoiceStatusDeserializer(json['status']), - issueDate = Timestamp.fromJson(json['issueDate']), - dueDate = Timestamp.fromJson(json['dueDate']), - amount = nativeFromJson(json['amount']), - business = ListRecentPaymentsByStaffIdRecentPaymentsInvoiceBusiness.fromJson(json['business']), - vendor = ListRecentPaymentsByStaffIdRecentPaymentsInvoiceVendor.fromJson(json['vendor']), - order = ListRecentPaymentsByStaffIdRecentPaymentsInvoiceOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStaffIdRecentPaymentsInvoice otherTyped = other as ListRecentPaymentsByStaffIdRecentPaymentsInvoice; - return id == otherTyped.id && - invoiceNumber == otherTyped.invoiceNumber && - status == otherTyped.status && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - amount == otherTyped.amount && - business == otherTyped.business && - vendor == otherTyped.vendor && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, invoiceNumber.hashCode, status.hashCode, issueDate.hashCode, dueDate.hashCode, amount.hashCode, business.hashCode, vendor.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['status'] = - invoiceStatusSerializer(status) - ; - json['issueDate'] = issueDate.toJson(); - json['dueDate'] = dueDate.toJson(); - json['amount'] = nativeToJson(amount); - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - json['order'] = order.toJson(); - return json; - } - - ListRecentPaymentsByStaffIdRecentPaymentsInvoice({ - required this.id, - required this.invoiceNumber, - required this.status, - required this.issueDate, - required this.dueDate, - required this.amount, - required this.business, - required this.vendor, - required this.order, - }); -} - -@immutable -class ListRecentPaymentsByStaffIdRecentPaymentsInvoiceBusiness { - final String id; - final String businessName; - ListRecentPaymentsByStaffIdRecentPaymentsInvoiceBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStaffIdRecentPaymentsInvoiceBusiness otherTyped = other as ListRecentPaymentsByStaffIdRecentPaymentsInvoiceBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListRecentPaymentsByStaffIdRecentPaymentsInvoiceBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListRecentPaymentsByStaffIdRecentPaymentsInvoiceVendor { - final String id; - final String companyName; - ListRecentPaymentsByStaffIdRecentPaymentsInvoiceVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStaffIdRecentPaymentsInvoiceVendor otherTyped = other as ListRecentPaymentsByStaffIdRecentPaymentsInvoiceVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListRecentPaymentsByStaffIdRecentPaymentsInvoiceVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListRecentPaymentsByStaffIdRecentPaymentsInvoiceOrder { - final String id; - final String? eventName; - final String? location; - ListRecentPaymentsByStaffIdRecentPaymentsInvoiceOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - location = json['location'] == null ? null : nativeFromJson(json['location']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStaffIdRecentPaymentsInvoiceOrder otherTyped = other as ListRecentPaymentsByStaffIdRecentPaymentsInvoiceOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - location == otherTyped.location; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, location.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - return json; - } - - ListRecentPaymentsByStaffIdRecentPaymentsInvoiceOrder({ - required this.id, - this.eventName, - this.location, - }); -} - -@immutable -class ListRecentPaymentsByStaffIdData { - final List recentPayments; - ListRecentPaymentsByStaffIdData.fromJson(dynamic json): - - recentPayments = (json['recentPayments'] as List) - .map((e) => ListRecentPaymentsByStaffIdRecentPayments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStaffIdData otherTyped = other as ListRecentPaymentsByStaffIdData; - return recentPayments == otherTyped.recentPayments; - - } - @override - int get hashCode => recentPayments.hashCode; - - - Map toJson() { - Map json = {}; - json['recentPayments'] = recentPayments.map((e) => e.toJson()).toList(); - return json; - } - - ListRecentPaymentsByStaffIdData({ - required this.recentPayments, - }); -} - -@immutable -class ListRecentPaymentsByStaffIdVariables { - final String staffId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListRecentPaymentsByStaffIdVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStaffIdVariables otherTyped = other as ListRecentPaymentsByStaffIdVariables; - return staffId == otherTyped.staffId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListRecentPaymentsByStaffIdVariables({ - required this.staffId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_status.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_status.dart deleted file mode 100644 index 716e335e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_recent_payments_by_status.dart +++ /dev/null @@ -1,602 +0,0 @@ -part of 'generated.dart'; - -class ListRecentPaymentsByStatusVariablesBuilder { - RecentPaymentStatus status; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListRecentPaymentsByStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListRecentPaymentsByStatusVariablesBuilder(this._dataConnect, {required this.status,}); - Deserializer dataDeserializer = (dynamic json) => ListRecentPaymentsByStatusData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListRecentPaymentsByStatusVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListRecentPaymentsByStatusVariables vars= ListRecentPaymentsByStatusVariables(status: status,offset: _offset,limit: _limit,); - return _dataConnect.query("listRecentPaymentsByStatus", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListRecentPaymentsByStatusRecentPayments { - final String id; - final String? workedTime; - final EnumValue? status; - final String staffId; - final String applicationId; - final String invoiceId; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListRecentPaymentsByStatusRecentPaymentsApplication application; - final ListRecentPaymentsByStatusRecentPaymentsInvoice invoice; - ListRecentPaymentsByStatusRecentPayments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - workedTime = json['workedTime'] == null ? null : nativeFromJson(json['workedTime']), - status = json['status'] == null ? null : recentPaymentStatusDeserializer(json['status']), - staffId = nativeFromJson(json['staffId']), - applicationId = nativeFromJson(json['applicationId']), - invoiceId = nativeFromJson(json['invoiceId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - application = ListRecentPaymentsByStatusRecentPaymentsApplication.fromJson(json['application']), - invoice = ListRecentPaymentsByStatusRecentPaymentsInvoice.fromJson(json['invoice']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStatusRecentPayments otherTyped = other as ListRecentPaymentsByStatusRecentPayments; - return id == otherTyped.id && - workedTime == otherTyped.workedTime && - status == otherTyped.status && - staffId == otherTyped.staffId && - applicationId == otherTyped.applicationId && - invoiceId == otherTyped.invoiceId && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - application == otherTyped.application && - invoice == otherTyped.invoice; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workedTime.hashCode, status.hashCode, staffId.hashCode, applicationId.hashCode, invoiceId.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, application.hashCode, invoice.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (workedTime != null) { - json['workedTime'] = nativeToJson(workedTime); - } - if (status != null) { - json['status'] = - recentPaymentStatusSerializer(status!) - ; - } - json['staffId'] = nativeToJson(staffId); - json['applicationId'] = nativeToJson(applicationId); - json['invoiceId'] = nativeToJson(invoiceId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['application'] = application.toJson(); - json['invoice'] = invoice.toJson(); - return json; - } - - ListRecentPaymentsByStatusRecentPayments({ - required this.id, - this.workedTime, - this.status, - required this.staffId, - required this.applicationId, - required this.invoiceId, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.application, - required this.invoice, - }); -} - -@immutable -class ListRecentPaymentsByStatusRecentPaymentsApplication { - final String id; - final ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRole shiftRole; - ListRecentPaymentsByStatusRecentPaymentsApplication.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - shiftRole = ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRole.fromJson(json['shiftRole']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStatusRecentPaymentsApplication otherTyped = other as ListRecentPaymentsByStatusRecentPaymentsApplication; - return id == otherTyped.id && - shiftRole == otherTyped.shiftRole; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftRole.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['shiftRole'] = shiftRole.toJson(); - return json; - } - - ListRecentPaymentsByStatusRecentPaymentsApplication({ - required this.id, - required this.shiftRole, - }); -} - -@immutable -class ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRole { - final double? hours; - final double? totalValue; - final ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRoleRole role; - final ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRoleShift shift; - ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRole.fromJson(dynamic json): - - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - role = ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRoleRole.fromJson(json['role']), - shift = ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRoleShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRole otherTyped = other as ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRole; - return hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([hours.hashCode, totalValue.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRole({ - this.hours, - this.totalValue, - required this.role, - required this.shift, - }); -} - -@immutable -class ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRoleRole { - final String id; - final String name; - final double costPerHour; - ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRoleRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRoleRole otherTyped = other as ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRoleRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRoleRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRoleShift { - final String id; - final String title; - final Timestamp? date; - final String? locationAddress; - ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRoleShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRoleShift otherTyped = other as ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRoleShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - locationAddress == otherTyped.locationAddress; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, locationAddress.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - return json; - } - - ListRecentPaymentsByStatusRecentPaymentsApplicationShiftRoleShift({ - required this.id, - required this.title, - this.date, - this.locationAddress, - }); -} - -@immutable -class ListRecentPaymentsByStatusRecentPaymentsInvoice { - final String id; - final String invoiceNumber; - final EnumValue status; - final double amount; - final ListRecentPaymentsByStatusRecentPaymentsInvoiceBusiness business; - final ListRecentPaymentsByStatusRecentPaymentsInvoiceVendor vendor; - final ListRecentPaymentsByStatusRecentPaymentsInvoiceOrder order; - ListRecentPaymentsByStatusRecentPaymentsInvoice.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - invoiceNumber = nativeFromJson(json['invoiceNumber']), - status = invoiceStatusDeserializer(json['status']), - amount = nativeFromJson(json['amount']), - business = ListRecentPaymentsByStatusRecentPaymentsInvoiceBusiness.fromJson(json['business']), - vendor = ListRecentPaymentsByStatusRecentPaymentsInvoiceVendor.fromJson(json['vendor']), - order = ListRecentPaymentsByStatusRecentPaymentsInvoiceOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStatusRecentPaymentsInvoice otherTyped = other as ListRecentPaymentsByStatusRecentPaymentsInvoice; - return id == otherTyped.id && - invoiceNumber == otherTyped.invoiceNumber && - status == otherTyped.status && - amount == otherTyped.amount && - business == otherTyped.business && - vendor == otherTyped.vendor && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, invoiceNumber.hashCode, status.hashCode, amount.hashCode, business.hashCode, vendor.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['invoiceNumber'] = nativeToJson(invoiceNumber); - json['status'] = - invoiceStatusSerializer(status) - ; - json['amount'] = nativeToJson(amount); - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - json['order'] = order.toJson(); - return json; - } - - ListRecentPaymentsByStatusRecentPaymentsInvoice({ - required this.id, - required this.invoiceNumber, - required this.status, - required this.amount, - required this.business, - required this.vendor, - required this.order, - }); -} - -@immutable -class ListRecentPaymentsByStatusRecentPaymentsInvoiceBusiness { - final String id; - final String businessName; - ListRecentPaymentsByStatusRecentPaymentsInvoiceBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStatusRecentPaymentsInvoiceBusiness otherTyped = other as ListRecentPaymentsByStatusRecentPaymentsInvoiceBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListRecentPaymentsByStatusRecentPaymentsInvoiceBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListRecentPaymentsByStatusRecentPaymentsInvoiceVendor { - final String id; - final String companyName; - ListRecentPaymentsByStatusRecentPaymentsInvoiceVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStatusRecentPaymentsInvoiceVendor otherTyped = other as ListRecentPaymentsByStatusRecentPaymentsInvoiceVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListRecentPaymentsByStatusRecentPaymentsInvoiceVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListRecentPaymentsByStatusRecentPaymentsInvoiceOrder { - final String id; - final String? eventName; - final String? location; - ListRecentPaymentsByStatusRecentPaymentsInvoiceOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - location = json['location'] == null ? null : nativeFromJson(json['location']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStatusRecentPaymentsInvoiceOrder otherTyped = other as ListRecentPaymentsByStatusRecentPaymentsInvoiceOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - location == otherTyped.location; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, location.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - return json; - } - - ListRecentPaymentsByStatusRecentPaymentsInvoiceOrder({ - required this.id, - this.eventName, - this.location, - }); -} - -@immutable -class ListRecentPaymentsByStatusData { - final List recentPayments; - ListRecentPaymentsByStatusData.fromJson(dynamic json): - - recentPayments = (json['recentPayments'] as List) - .map((e) => ListRecentPaymentsByStatusRecentPayments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStatusData otherTyped = other as ListRecentPaymentsByStatusData; - return recentPayments == otherTyped.recentPayments; - - } - @override - int get hashCode => recentPayments.hashCode; - - - Map toJson() { - Map json = {}; - json['recentPayments'] = recentPayments.map((e) => e.toJson()).toList(); - return json; - } - - ListRecentPaymentsByStatusData({ - required this.recentPayments, - }); -} - -@immutable -class ListRecentPaymentsByStatusVariables { - final RecentPaymentStatus status; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListRecentPaymentsByStatusVariables.fromJson(Map json): - - status = RecentPaymentStatus.values.byName(json['status']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRecentPaymentsByStatusVariables otherTyped = other as ListRecentPaymentsByStatusVariables; - return status == otherTyped.status && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([status.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['status'] = - status.name - ; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListRecentPaymentsByStatusVariables({ - required this.status, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_role_categories.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_role_categories.dart deleted file mode 100644 index 2f24fe12..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_role_categories.dart +++ /dev/null @@ -1,114 +0,0 @@ -part of 'generated.dart'; - -class ListRoleCategoriesVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListRoleCategoriesVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListRoleCategoriesData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listRoleCategories", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListRoleCategoriesRoleCategories { - final String id; - final String roleName; - final EnumValue category; - final Timestamp? createdAt; - final Timestamp? updatedAt; - ListRoleCategoriesRoleCategories.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - roleName = nativeFromJson(json['roleName']), - category = roleCategoryTypeDeserializer(json['category']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRoleCategoriesRoleCategories otherTyped = other as ListRoleCategoriesRoleCategories; - return id == otherTyped.id && - roleName == otherTyped.roleName && - category == otherTyped.category && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, roleName.hashCode, category.hashCode, createdAt.hashCode, updatedAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['roleName'] = nativeToJson(roleName); - json['category'] = - roleCategoryTypeSerializer(category) - ; - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - return json; - } - - ListRoleCategoriesRoleCategories({ - required this.id, - required this.roleName, - required this.category, - this.createdAt, - this.updatedAt, - }); -} - -@immutable -class ListRoleCategoriesData { - final List roleCategories; - ListRoleCategoriesData.fromJson(dynamic json): - - roleCategories = (json['roleCategories'] as List) - .map((e) => ListRoleCategoriesRoleCategories.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRoleCategoriesData otherTyped = other as ListRoleCategoriesData; - return roleCategories == otherTyped.roleCategories; - - } - @override - int get hashCode => roleCategories.hashCode; - - - Map toJson() { - Map json = {}; - json['roleCategories'] = roleCategories.map((e) => e.toJson()).toList(); - return json; - } - - ListRoleCategoriesData({ - required this.roleCategories, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_roles.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_roles.dart deleted file mode 100644 index 7a3f4f6e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_roles.dart +++ /dev/null @@ -1,115 +0,0 @@ -part of 'generated.dart'; - -class ListRolesVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListRolesVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListRolesData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listRoles", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListRolesRoles { - final String id; - final String name; - final double costPerHour; - final String vendorId; - final String roleCategoryId; - final Timestamp? createdAt; - ListRolesRoles.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']), - vendorId = nativeFromJson(json['vendorId']), - roleCategoryId = nativeFromJson(json['roleCategoryId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRolesRoles otherTyped = other as ListRolesRoles; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour && - vendorId == otherTyped.vendorId && - roleCategoryId == otherTyped.roleCategoryId && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode, vendorId.hashCode, roleCategoryId.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - json['vendorId'] = nativeToJson(vendorId); - json['roleCategoryId'] = nativeToJson(roleCategoryId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - ListRolesRoles({ - required this.id, - required this.name, - required this.costPerHour, - required this.vendorId, - required this.roleCategoryId, - this.createdAt, - }); -} - -@immutable -class ListRolesData { - final List roles; - ListRolesData.fromJson(dynamic json): - - roles = (json['roles'] as List) - .map((e) => ListRolesRoles.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRolesData otherTyped = other as ListRolesData; - return roles == otherTyped.roles; - - } - @override - int get hashCode => roles.hashCode; - - - Map toJson() { - Map json = {}; - json['roles'] = roles.map((e) => e.toJson()).toList(); - return json; - } - - ListRolesData({ - required this.roles, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_roles_by_vendor_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_roles_by_vendor_id.dart deleted file mode 100644 index cc651fa5..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_roles_by_vendor_id.dart +++ /dev/null @@ -1,151 +0,0 @@ -part of 'generated.dart'; - -class ListRolesByVendorIdVariablesBuilder { - String vendorId; - - final FirebaseDataConnect _dataConnect; - ListRolesByVendorIdVariablesBuilder(this._dataConnect, {required this.vendorId,}); - Deserializer dataDeserializer = (dynamic json) => ListRolesByVendorIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListRolesByVendorIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListRolesByVendorIdVariables vars= ListRolesByVendorIdVariables(vendorId: vendorId,); - return _dataConnect.query("listRolesByVendorId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListRolesByVendorIdRoles { - final String id; - final String name; - final double costPerHour; - final String vendorId; - final String roleCategoryId; - final Timestamp? createdAt; - ListRolesByVendorIdRoles.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']), - vendorId = nativeFromJson(json['vendorId']), - roleCategoryId = nativeFromJson(json['roleCategoryId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRolesByVendorIdRoles otherTyped = other as ListRolesByVendorIdRoles; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour && - vendorId == otherTyped.vendorId && - roleCategoryId == otherTyped.roleCategoryId && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode, vendorId.hashCode, roleCategoryId.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - json['vendorId'] = nativeToJson(vendorId); - json['roleCategoryId'] = nativeToJson(roleCategoryId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - ListRolesByVendorIdRoles({ - required this.id, - required this.name, - required this.costPerHour, - required this.vendorId, - required this.roleCategoryId, - this.createdAt, - }); -} - -@immutable -class ListRolesByVendorIdData { - final List roles; - ListRolesByVendorIdData.fromJson(dynamic json): - - roles = (json['roles'] as List) - .map((e) => ListRolesByVendorIdRoles.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRolesByVendorIdData otherTyped = other as ListRolesByVendorIdData; - return roles == otherTyped.roles; - - } - @override - int get hashCode => roles.hashCode; - - - Map toJson() { - Map json = {}; - json['roles'] = roles.map((e) => e.toJson()).toList(); - return json; - } - - ListRolesByVendorIdData({ - required this.roles, - }); -} - -@immutable -class ListRolesByVendorIdVariables { - final String vendorId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListRolesByVendorIdVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRolesByVendorIdVariables otherTyped = other as ListRolesByVendorIdVariables; - return vendorId == otherTyped.vendorId; - - } - @override - int get hashCode => vendorId.hashCode; - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - return json; - } - - ListRolesByVendorIdVariables({ - required this.vendorId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_roles_byrole_category_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_roles_byrole_category_id.dart deleted file mode 100644 index 518fec18..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_roles_byrole_category_id.dart +++ /dev/null @@ -1,151 +0,0 @@ -part of 'generated.dart'; - -class ListRolesByroleCategoryIdVariablesBuilder { - String roleCategoryId; - - final FirebaseDataConnect _dataConnect; - ListRolesByroleCategoryIdVariablesBuilder(this._dataConnect, {required this.roleCategoryId,}); - Deserializer dataDeserializer = (dynamic json) => ListRolesByroleCategoryIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListRolesByroleCategoryIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListRolesByroleCategoryIdVariables vars= ListRolesByroleCategoryIdVariables(roleCategoryId: roleCategoryId,); - return _dataConnect.query("listRolesByroleCategoryId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListRolesByroleCategoryIdRoles { - final String id; - final String name; - final double costPerHour; - final String vendorId; - final String roleCategoryId; - final Timestamp? createdAt; - ListRolesByroleCategoryIdRoles.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']), - vendorId = nativeFromJson(json['vendorId']), - roleCategoryId = nativeFromJson(json['roleCategoryId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRolesByroleCategoryIdRoles otherTyped = other as ListRolesByroleCategoryIdRoles; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour && - vendorId == otherTyped.vendorId && - roleCategoryId == otherTyped.roleCategoryId && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode, vendorId.hashCode, roleCategoryId.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - json['vendorId'] = nativeToJson(vendorId); - json['roleCategoryId'] = nativeToJson(roleCategoryId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - ListRolesByroleCategoryIdRoles({ - required this.id, - required this.name, - required this.costPerHour, - required this.vendorId, - required this.roleCategoryId, - this.createdAt, - }); -} - -@immutable -class ListRolesByroleCategoryIdData { - final List roles; - ListRolesByroleCategoryIdData.fromJson(dynamic json): - - roles = (json['roles'] as List) - .map((e) => ListRolesByroleCategoryIdRoles.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRolesByroleCategoryIdData otherTyped = other as ListRolesByroleCategoryIdData; - return roles == otherTyped.roles; - - } - @override - int get hashCode => roles.hashCode; - - - Map toJson() { - Map json = {}; - json['roles'] = roles.map((e) => e.toJson()).toList(); - return json; - } - - ListRolesByroleCategoryIdData({ - required this.roles, - }); -} - -@immutable -class ListRolesByroleCategoryIdVariables { - final String roleCategoryId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListRolesByroleCategoryIdVariables.fromJson(Map json): - - roleCategoryId = nativeFromJson(json['roleCategoryId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListRolesByroleCategoryIdVariables otherTyped = other as ListRolesByroleCategoryIdVariables; - return roleCategoryId == otherTyped.roleCategoryId; - - } - @override - int get hashCode => roleCategoryId.hashCode; - - - Map toJson() { - Map json = {}; - json['roleCategoryId'] = nativeToJson(roleCategoryId); - return json; - } - - ListRolesByroleCategoryIdVariables({ - required this.roleCategoryId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shift_roles_by_role_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_shift_roles_by_role_id.dart deleted file mode 100644 index e7a321ec..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shift_roles_by_role_id.dart +++ /dev/null @@ -1,489 +0,0 @@ -part of 'generated.dart'; - -class ListShiftRolesByRoleIdVariablesBuilder { - String roleId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListShiftRolesByRoleIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListShiftRolesByRoleIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListShiftRolesByRoleIdVariablesBuilder(this._dataConnect, {required this.roleId,}); - Deserializer dataDeserializer = (dynamic json) => ListShiftRolesByRoleIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListShiftRolesByRoleIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListShiftRolesByRoleIdVariables vars= ListShiftRolesByRoleIdVariables(roleId: roleId,offset: _offset,limit: _limit,); - return _dataConnect.query("listShiftRolesByRoleId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListShiftRolesByRoleIdShiftRoles { - final String id; - final String shiftId; - final String roleId; - final int count; - final int? assigned; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final String? department; - final String? uniform; - final EnumValue? breakType; - final double? totalValue; - final Timestamp? createdAt; - final ListShiftRolesByRoleIdShiftRolesRole role; - final ListShiftRolesByRoleIdShiftRolesShift shift; - ListShiftRolesByRoleIdShiftRoles.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - shiftId = nativeFromJson(json['shiftId']), - roleId = nativeFromJson(json['roleId']), - count = nativeFromJson(json['count']), - assigned = json['assigned'] == null ? null : nativeFromJson(json['assigned']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - department = json['department'] == null ? null : nativeFromJson(json['department']), - uniform = json['uniform'] == null ? null : nativeFromJson(json['uniform']), - breakType = json['breakType'] == null ? null : breakDurationDeserializer(json['breakType']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - role = ListShiftRolesByRoleIdShiftRolesRole.fromJson(json['role']), - shift = ListShiftRolesByRoleIdShiftRolesShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByRoleIdShiftRoles otherTyped = other as ListShiftRolesByRoleIdShiftRoles; - return id == otherTyped.id && - shiftId == otherTyped.shiftId && - roleId == otherTyped.roleId && - count == otherTyped.count && - assigned == otherTyped.assigned && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - department == otherTyped.department && - uniform == otherTyped.uniform && - breakType == otherTyped.breakType && - totalValue == otherTyped.totalValue && - createdAt == otherTyped.createdAt && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftId.hashCode, roleId.hashCode, count.hashCode, assigned.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, department.hashCode, uniform.hashCode, breakType.hashCode, totalValue.hashCode, createdAt.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['shiftId'] = nativeToJson(shiftId); - json['roleId'] = nativeToJson(roleId); - json['count'] = nativeToJson(count); - if (assigned != null) { - json['assigned'] = nativeToJson(assigned); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (department != null) { - json['department'] = nativeToJson(department); - } - if (uniform != null) { - json['uniform'] = nativeToJson(uniform); - } - if (breakType != null) { - json['breakType'] = - breakDurationSerializer(breakType!) - ; - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - ListShiftRolesByRoleIdShiftRoles({ - required this.id, - required this.shiftId, - required this.roleId, - required this.count, - this.assigned, - this.startTime, - this.endTime, - this.hours, - this.department, - this.uniform, - this.breakType, - this.totalValue, - this.createdAt, - required this.role, - required this.shift, - }); -} - -@immutable -class ListShiftRolesByRoleIdShiftRolesRole { - final String id; - final String name; - final double costPerHour; - ListShiftRolesByRoleIdShiftRolesRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByRoleIdShiftRolesRole otherTyped = other as ListShiftRolesByRoleIdShiftRolesRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListShiftRolesByRoleIdShiftRolesRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class ListShiftRolesByRoleIdShiftRolesShift { - final String? location; - final String? locationAddress; - final String? description; - final String orderId; - final ListShiftRolesByRoleIdShiftRolesShiftOrder order; - ListShiftRolesByRoleIdShiftRolesShift.fromJson(dynamic json): - - location = json['location'] == null ? null : nativeFromJson(json['location']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - orderId = nativeFromJson(json['orderId']), - order = ListShiftRolesByRoleIdShiftRolesShiftOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByRoleIdShiftRolesShift otherTyped = other as ListShiftRolesByRoleIdShiftRolesShift; - return location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - description == otherTyped.description && - orderId == otherTyped.orderId && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([location.hashCode, locationAddress.hashCode, description.hashCode, orderId.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - if (location != null) { - json['location'] = nativeToJson(location); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - json['orderId'] = nativeToJson(orderId); - json['order'] = order.toJson(); - return json; - } - - ListShiftRolesByRoleIdShiftRolesShift({ - this.location, - this.locationAddress, - this.description, - required this.orderId, - required this.order, - }); -} - -@immutable -class ListShiftRolesByRoleIdShiftRolesShiftOrder { - final AnyValue? recurringDays; - final AnyValue? permanentDays; - final String? notes; - final ListShiftRolesByRoleIdShiftRolesShiftOrderBusiness business; - final ListShiftRolesByRoleIdShiftRolesShiftOrderVendor vendor; - ListShiftRolesByRoleIdShiftRolesShiftOrder.fromJson(dynamic json): - - recurringDays = json['recurringDays'] == null ? null : AnyValue.fromJson(json['recurringDays']), - permanentDays = json['permanentDays'] == null ? null : AnyValue.fromJson(json['permanentDays']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - business = ListShiftRolesByRoleIdShiftRolesShiftOrderBusiness.fromJson(json['business']), - vendor = ListShiftRolesByRoleIdShiftRolesShiftOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByRoleIdShiftRolesShiftOrder otherTyped = other as ListShiftRolesByRoleIdShiftRolesShiftOrder; - return recurringDays == otherTyped.recurringDays && - permanentDays == otherTyped.permanentDays && - notes == otherTyped.notes && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([recurringDays.hashCode, permanentDays.hashCode, notes.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - if (recurringDays != null) { - json['recurringDays'] = recurringDays!.toJson(); - } - if (permanentDays != null) { - json['permanentDays'] = permanentDays!.toJson(); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - ListShiftRolesByRoleIdShiftRolesShiftOrder({ - this.recurringDays, - this.permanentDays, - this.notes, - required this.business, - required this.vendor, - }); -} - -@immutable -class ListShiftRolesByRoleIdShiftRolesShiftOrderBusiness { - final String id; - final String businessName; - ListShiftRolesByRoleIdShiftRolesShiftOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByRoleIdShiftRolesShiftOrderBusiness otherTyped = other as ListShiftRolesByRoleIdShiftRolesShiftOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListShiftRolesByRoleIdShiftRolesShiftOrderBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListShiftRolesByRoleIdShiftRolesShiftOrderVendor { - final String id; - final String companyName; - ListShiftRolesByRoleIdShiftRolesShiftOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByRoleIdShiftRolesShiftOrderVendor otherTyped = other as ListShiftRolesByRoleIdShiftRolesShiftOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListShiftRolesByRoleIdShiftRolesShiftOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListShiftRolesByRoleIdData { - final List shiftRoles; - ListShiftRolesByRoleIdData.fromJson(dynamic json): - - shiftRoles = (json['shiftRoles'] as List) - .map((e) => ListShiftRolesByRoleIdShiftRoles.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByRoleIdData otherTyped = other as ListShiftRolesByRoleIdData; - return shiftRoles == otherTyped.shiftRoles; - - } - @override - int get hashCode => shiftRoles.hashCode; - - - Map toJson() { - Map json = {}; - json['shiftRoles'] = shiftRoles.map((e) => e.toJson()).toList(); - return json; - } - - ListShiftRolesByRoleIdData({ - required this.shiftRoles, - }); -} - -@immutable -class ListShiftRolesByRoleIdVariables { - final String roleId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListShiftRolesByRoleIdVariables.fromJson(Map json): - - roleId = nativeFromJson(json['roleId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByRoleIdVariables otherTyped = other as ListShiftRolesByRoleIdVariables; - return roleId == otherTyped.roleId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([roleId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['roleId'] = nativeToJson(roleId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListShiftRolesByRoleIdVariables({ - required this.roleId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shift_roles_by_shift_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_shift_roles_by_shift_id.dart deleted file mode 100644 index 302cb25c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shift_roles_by_shift_id.dart +++ /dev/null @@ -1,489 +0,0 @@ -part of 'generated.dart'; - -class ListShiftRolesByShiftIdVariablesBuilder { - String shiftId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListShiftRolesByShiftIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListShiftRolesByShiftIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListShiftRolesByShiftIdVariablesBuilder(this._dataConnect, {required this.shiftId,}); - Deserializer dataDeserializer = (dynamic json) => ListShiftRolesByShiftIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListShiftRolesByShiftIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListShiftRolesByShiftIdVariables vars= ListShiftRolesByShiftIdVariables(shiftId: shiftId,offset: _offset,limit: _limit,); - return _dataConnect.query("listShiftRolesByShiftId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListShiftRolesByShiftIdShiftRoles { - final String id; - final String shiftId; - final String roleId; - final int count; - final int? assigned; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final String? department; - final String? uniform; - final EnumValue? breakType; - final double? totalValue; - final Timestamp? createdAt; - final ListShiftRolesByShiftIdShiftRolesRole role; - final ListShiftRolesByShiftIdShiftRolesShift shift; - ListShiftRolesByShiftIdShiftRoles.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - shiftId = nativeFromJson(json['shiftId']), - roleId = nativeFromJson(json['roleId']), - count = nativeFromJson(json['count']), - assigned = json['assigned'] == null ? null : nativeFromJson(json['assigned']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - department = json['department'] == null ? null : nativeFromJson(json['department']), - uniform = json['uniform'] == null ? null : nativeFromJson(json['uniform']), - breakType = json['breakType'] == null ? null : breakDurationDeserializer(json['breakType']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - role = ListShiftRolesByShiftIdShiftRolesRole.fromJson(json['role']), - shift = ListShiftRolesByShiftIdShiftRolesShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByShiftIdShiftRoles otherTyped = other as ListShiftRolesByShiftIdShiftRoles; - return id == otherTyped.id && - shiftId == otherTyped.shiftId && - roleId == otherTyped.roleId && - count == otherTyped.count && - assigned == otherTyped.assigned && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - department == otherTyped.department && - uniform == otherTyped.uniform && - breakType == otherTyped.breakType && - totalValue == otherTyped.totalValue && - createdAt == otherTyped.createdAt && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftId.hashCode, roleId.hashCode, count.hashCode, assigned.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, department.hashCode, uniform.hashCode, breakType.hashCode, totalValue.hashCode, createdAt.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['shiftId'] = nativeToJson(shiftId); - json['roleId'] = nativeToJson(roleId); - json['count'] = nativeToJson(count); - if (assigned != null) { - json['assigned'] = nativeToJson(assigned); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (department != null) { - json['department'] = nativeToJson(department); - } - if (uniform != null) { - json['uniform'] = nativeToJson(uniform); - } - if (breakType != null) { - json['breakType'] = - breakDurationSerializer(breakType!) - ; - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - ListShiftRolesByShiftIdShiftRoles({ - required this.id, - required this.shiftId, - required this.roleId, - required this.count, - this.assigned, - this.startTime, - this.endTime, - this.hours, - this.department, - this.uniform, - this.breakType, - this.totalValue, - this.createdAt, - required this.role, - required this.shift, - }); -} - -@immutable -class ListShiftRolesByShiftIdShiftRolesRole { - final String id; - final String name; - final double costPerHour; - ListShiftRolesByShiftIdShiftRolesRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByShiftIdShiftRolesRole otherTyped = other as ListShiftRolesByShiftIdShiftRolesRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListShiftRolesByShiftIdShiftRolesRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class ListShiftRolesByShiftIdShiftRolesShift { - final String? location; - final String? locationAddress; - final String? description; - final String orderId; - final ListShiftRolesByShiftIdShiftRolesShiftOrder order; - ListShiftRolesByShiftIdShiftRolesShift.fromJson(dynamic json): - - location = json['location'] == null ? null : nativeFromJson(json['location']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - orderId = nativeFromJson(json['orderId']), - order = ListShiftRolesByShiftIdShiftRolesShiftOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByShiftIdShiftRolesShift otherTyped = other as ListShiftRolesByShiftIdShiftRolesShift; - return location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - description == otherTyped.description && - orderId == otherTyped.orderId && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([location.hashCode, locationAddress.hashCode, description.hashCode, orderId.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - if (location != null) { - json['location'] = nativeToJson(location); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - json['orderId'] = nativeToJson(orderId); - json['order'] = order.toJson(); - return json; - } - - ListShiftRolesByShiftIdShiftRolesShift({ - this.location, - this.locationAddress, - this.description, - required this.orderId, - required this.order, - }); -} - -@immutable -class ListShiftRolesByShiftIdShiftRolesShiftOrder { - final AnyValue? recurringDays; - final AnyValue? permanentDays; - final String? notes; - final ListShiftRolesByShiftIdShiftRolesShiftOrderBusiness business; - final ListShiftRolesByShiftIdShiftRolesShiftOrderVendor vendor; - ListShiftRolesByShiftIdShiftRolesShiftOrder.fromJson(dynamic json): - - recurringDays = json['recurringDays'] == null ? null : AnyValue.fromJson(json['recurringDays']), - permanentDays = json['permanentDays'] == null ? null : AnyValue.fromJson(json['permanentDays']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - business = ListShiftRolesByShiftIdShiftRolesShiftOrderBusiness.fromJson(json['business']), - vendor = ListShiftRolesByShiftIdShiftRolesShiftOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByShiftIdShiftRolesShiftOrder otherTyped = other as ListShiftRolesByShiftIdShiftRolesShiftOrder; - return recurringDays == otherTyped.recurringDays && - permanentDays == otherTyped.permanentDays && - notes == otherTyped.notes && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([recurringDays.hashCode, permanentDays.hashCode, notes.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - if (recurringDays != null) { - json['recurringDays'] = recurringDays!.toJson(); - } - if (permanentDays != null) { - json['permanentDays'] = permanentDays!.toJson(); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - ListShiftRolesByShiftIdShiftRolesShiftOrder({ - this.recurringDays, - this.permanentDays, - this.notes, - required this.business, - required this.vendor, - }); -} - -@immutable -class ListShiftRolesByShiftIdShiftRolesShiftOrderBusiness { - final String id; - final String businessName; - ListShiftRolesByShiftIdShiftRolesShiftOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByShiftIdShiftRolesShiftOrderBusiness otherTyped = other as ListShiftRolesByShiftIdShiftRolesShiftOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListShiftRolesByShiftIdShiftRolesShiftOrderBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListShiftRolesByShiftIdShiftRolesShiftOrderVendor { - final String id; - final String companyName; - ListShiftRolesByShiftIdShiftRolesShiftOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByShiftIdShiftRolesShiftOrderVendor otherTyped = other as ListShiftRolesByShiftIdShiftRolesShiftOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListShiftRolesByShiftIdShiftRolesShiftOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListShiftRolesByShiftIdData { - final List shiftRoles; - ListShiftRolesByShiftIdData.fromJson(dynamic json): - - shiftRoles = (json['shiftRoles'] as List) - .map((e) => ListShiftRolesByShiftIdShiftRoles.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByShiftIdData otherTyped = other as ListShiftRolesByShiftIdData; - return shiftRoles == otherTyped.shiftRoles; - - } - @override - int get hashCode => shiftRoles.hashCode; - - - Map toJson() { - Map json = {}; - json['shiftRoles'] = shiftRoles.map((e) => e.toJson()).toList(); - return json; - } - - ListShiftRolesByShiftIdData({ - required this.shiftRoles, - }); -} - -@immutable -class ListShiftRolesByShiftIdVariables { - final String shiftId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListShiftRolesByShiftIdVariables.fromJson(Map json): - - shiftId = nativeFromJson(json['shiftId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByShiftIdVariables otherTyped = other as ListShiftRolesByShiftIdVariables; - return shiftId == otherTyped.shiftId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([shiftId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['shiftId'] = nativeToJson(shiftId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListShiftRolesByShiftIdVariables({ - required this.shiftId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shift_roles_by_shift_id_and_time_range.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_shift_roles_by_shift_id_and_time_range.dart deleted file mode 100644 index 2c608522..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shift_roles_by_shift_id_and_time_range.dart +++ /dev/null @@ -1,503 +0,0 @@ -part of 'generated.dart'; - -class ListShiftRolesByShiftIdAndTimeRangeVariablesBuilder { - String shiftId; - Timestamp start; - Timestamp end; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListShiftRolesByShiftIdAndTimeRangeVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListShiftRolesByShiftIdAndTimeRangeVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListShiftRolesByShiftIdAndTimeRangeVariablesBuilder(this._dataConnect, {required this.shiftId,required this.start,required this.end,}); - Deserializer dataDeserializer = (dynamic json) => ListShiftRolesByShiftIdAndTimeRangeData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListShiftRolesByShiftIdAndTimeRangeVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListShiftRolesByShiftIdAndTimeRangeVariables vars= ListShiftRolesByShiftIdAndTimeRangeVariables(shiftId: shiftId,start: start,end: end,offset: _offset,limit: _limit,); - return _dataConnect.query("listShiftRolesByShiftIdAndTimeRange", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListShiftRolesByShiftIdAndTimeRangeShiftRoles { - final String id; - final String shiftId; - final String roleId; - final int count; - final int? assigned; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final String? department; - final String? uniform; - final EnumValue? breakType; - final double? totalValue; - final Timestamp? createdAt; - final ListShiftRolesByShiftIdAndTimeRangeShiftRolesRole role; - final ListShiftRolesByShiftIdAndTimeRangeShiftRolesShift shift; - ListShiftRolesByShiftIdAndTimeRangeShiftRoles.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - shiftId = nativeFromJson(json['shiftId']), - roleId = nativeFromJson(json['roleId']), - count = nativeFromJson(json['count']), - assigned = json['assigned'] == null ? null : nativeFromJson(json['assigned']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - department = json['department'] == null ? null : nativeFromJson(json['department']), - uniform = json['uniform'] == null ? null : nativeFromJson(json['uniform']), - breakType = json['breakType'] == null ? null : breakDurationDeserializer(json['breakType']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - role = ListShiftRolesByShiftIdAndTimeRangeShiftRolesRole.fromJson(json['role']), - shift = ListShiftRolesByShiftIdAndTimeRangeShiftRolesShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByShiftIdAndTimeRangeShiftRoles otherTyped = other as ListShiftRolesByShiftIdAndTimeRangeShiftRoles; - return id == otherTyped.id && - shiftId == otherTyped.shiftId && - roleId == otherTyped.roleId && - count == otherTyped.count && - assigned == otherTyped.assigned && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - department == otherTyped.department && - uniform == otherTyped.uniform && - breakType == otherTyped.breakType && - totalValue == otherTyped.totalValue && - createdAt == otherTyped.createdAt && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftId.hashCode, roleId.hashCode, count.hashCode, assigned.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, department.hashCode, uniform.hashCode, breakType.hashCode, totalValue.hashCode, createdAt.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['shiftId'] = nativeToJson(shiftId); - json['roleId'] = nativeToJson(roleId); - json['count'] = nativeToJson(count); - if (assigned != null) { - json['assigned'] = nativeToJson(assigned); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (department != null) { - json['department'] = nativeToJson(department); - } - if (uniform != null) { - json['uniform'] = nativeToJson(uniform); - } - if (breakType != null) { - json['breakType'] = - breakDurationSerializer(breakType!) - ; - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - ListShiftRolesByShiftIdAndTimeRangeShiftRoles({ - required this.id, - required this.shiftId, - required this.roleId, - required this.count, - this.assigned, - this.startTime, - this.endTime, - this.hours, - this.department, - this.uniform, - this.breakType, - this.totalValue, - this.createdAt, - required this.role, - required this.shift, - }); -} - -@immutable -class ListShiftRolesByShiftIdAndTimeRangeShiftRolesRole { - final String id; - final String name; - final double costPerHour; - ListShiftRolesByShiftIdAndTimeRangeShiftRolesRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByShiftIdAndTimeRangeShiftRolesRole otherTyped = other as ListShiftRolesByShiftIdAndTimeRangeShiftRolesRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListShiftRolesByShiftIdAndTimeRangeShiftRolesRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class ListShiftRolesByShiftIdAndTimeRangeShiftRolesShift { - final String? location; - final String? locationAddress; - final String? description; - final String orderId; - final ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrder order; - ListShiftRolesByShiftIdAndTimeRangeShiftRolesShift.fromJson(dynamic json): - - location = json['location'] == null ? null : nativeFromJson(json['location']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - orderId = nativeFromJson(json['orderId']), - order = ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByShiftIdAndTimeRangeShiftRolesShift otherTyped = other as ListShiftRolesByShiftIdAndTimeRangeShiftRolesShift; - return location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - description == otherTyped.description && - orderId == otherTyped.orderId && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([location.hashCode, locationAddress.hashCode, description.hashCode, orderId.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - if (location != null) { - json['location'] = nativeToJson(location); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - json['orderId'] = nativeToJson(orderId); - json['order'] = order.toJson(); - return json; - } - - ListShiftRolesByShiftIdAndTimeRangeShiftRolesShift({ - this.location, - this.locationAddress, - this.description, - required this.orderId, - required this.order, - }); -} - -@immutable -class ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrder { - final AnyValue? recurringDays; - final AnyValue? permanentDays; - final String? notes; - final ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrderBusiness business; - final ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrderVendor vendor; - ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrder.fromJson(dynamic json): - - recurringDays = json['recurringDays'] == null ? null : AnyValue.fromJson(json['recurringDays']), - permanentDays = json['permanentDays'] == null ? null : AnyValue.fromJson(json['permanentDays']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - business = ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrderBusiness.fromJson(json['business']), - vendor = ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrder otherTyped = other as ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrder; - return recurringDays == otherTyped.recurringDays && - permanentDays == otherTyped.permanentDays && - notes == otherTyped.notes && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([recurringDays.hashCode, permanentDays.hashCode, notes.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - if (recurringDays != null) { - json['recurringDays'] = recurringDays!.toJson(); - } - if (permanentDays != null) { - json['permanentDays'] = permanentDays!.toJson(); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrder({ - this.recurringDays, - this.permanentDays, - this.notes, - required this.business, - required this.vendor, - }); -} - -@immutable -class ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrderBusiness { - final String id; - final String businessName; - ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrderBusiness otherTyped = other as ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrderBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrderVendor { - final String id; - final String companyName; - ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrderVendor otherTyped = other as ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListShiftRolesByShiftIdAndTimeRangeShiftRolesShiftOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListShiftRolesByShiftIdAndTimeRangeData { - final List shiftRoles; - ListShiftRolesByShiftIdAndTimeRangeData.fromJson(dynamic json): - - shiftRoles = (json['shiftRoles'] as List) - .map((e) => ListShiftRolesByShiftIdAndTimeRangeShiftRoles.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByShiftIdAndTimeRangeData otherTyped = other as ListShiftRolesByShiftIdAndTimeRangeData; - return shiftRoles == otherTyped.shiftRoles; - - } - @override - int get hashCode => shiftRoles.hashCode; - - - Map toJson() { - Map json = {}; - json['shiftRoles'] = shiftRoles.map((e) => e.toJson()).toList(); - return json; - } - - ListShiftRolesByShiftIdAndTimeRangeData({ - required this.shiftRoles, - }); -} - -@immutable -class ListShiftRolesByShiftIdAndTimeRangeVariables { - final String shiftId; - final Timestamp start; - final Timestamp end; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListShiftRolesByShiftIdAndTimeRangeVariables.fromJson(Map json): - - shiftId = nativeFromJson(json['shiftId']), - start = Timestamp.fromJson(json['start']), - end = Timestamp.fromJson(json['end']) { - - - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByShiftIdAndTimeRangeVariables otherTyped = other as ListShiftRolesByShiftIdAndTimeRangeVariables; - return shiftId == otherTyped.shiftId && - start == otherTyped.start && - end == otherTyped.end && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([shiftId.hashCode, start.hashCode, end.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['shiftId'] = nativeToJson(shiftId); - json['start'] = start.toJson(); - json['end'] = end.toJson(); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListShiftRolesByShiftIdAndTimeRangeVariables({ - required this.shiftId, - required this.start, - required this.end, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shift_roles_by_vendor_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_shift_roles_by_vendor_id.dart deleted file mode 100644 index 0aa1e141..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shift_roles_by_vendor_id.dart +++ /dev/null @@ -1,549 +0,0 @@ -part of 'generated.dart'; - -class ListShiftRolesByVendorIdVariablesBuilder { - String vendorId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListShiftRolesByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListShiftRolesByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListShiftRolesByVendorIdVariablesBuilder(this._dataConnect, {required this.vendorId,}); - Deserializer dataDeserializer = (dynamic json) => ListShiftRolesByVendorIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListShiftRolesByVendorIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListShiftRolesByVendorIdVariables vars= ListShiftRolesByVendorIdVariables(vendorId: vendorId,offset: _offset,limit: _limit,); - return _dataConnect.query("listShiftRolesByVendorId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListShiftRolesByVendorIdShiftRoles { - final String id; - final String shiftId; - final String roleId; - final int count; - final int? assigned; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final String? department; - final String? uniform; - final EnumValue? breakType; - final double? totalValue; - final Timestamp? createdAt; - final ListShiftRolesByVendorIdShiftRolesRole role; - final ListShiftRolesByVendorIdShiftRolesShift shift; - ListShiftRolesByVendorIdShiftRoles.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - shiftId = nativeFromJson(json['shiftId']), - roleId = nativeFromJson(json['roleId']), - count = nativeFromJson(json['count']), - assigned = json['assigned'] == null ? null : nativeFromJson(json['assigned']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - department = json['department'] == null ? null : nativeFromJson(json['department']), - uniform = json['uniform'] == null ? null : nativeFromJson(json['uniform']), - breakType = json['breakType'] == null ? null : breakDurationDeserializer(json['breakType']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - role = ListShiftRolesByVendorIdShiftRolesRole.fromJson(json['role']), - shift = ListShiftRolesByVendorIdShiftRolesShift.fromJson(json['shift']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByVendorIdShiftRoles otherTyped = other as ListShiftRolesByVendorIdShiftRoles; - return id == otherTyped.id && - shiftId == otherTyped.shiftId && - roleId == otherTyped.roleId && - count == otherTyped.count && - assigned == otherTyped.assigned && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - department == otherTyped.department && - uniform == otherTyped.uniform && - breakType == otherTyped.breakType && - totalValue == otherTyped.totalValue && - createdAt == otherTyped.createdAt && - role == otherTyped.role && - shift == otherTyped.shift; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftId.hashCode, roleId.hashCode, count.hashCode, assigned.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, department.hashCode, uniform.hashCode, breakType.hashCode, totalValue.hashCode, createdAt.hashCode, role.hashCode, shift.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['shiftId'] = nativeToJson(shiftId); - json['roleId'] = nativeToJson(roleId); - json['count'] = nativeToJson(count); - if (assigned != null) { - json['assigned'] = nativeToJson(assigned); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (department != null) { - json['department'] = nativeToJson(department); - } - if (uniform != null) { - json['uniform'] = nativeToJson(uniform); - } - if (breakType != null) { - json['breakType'] = - breakDurationSerializer(breakType!) - ; - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['role'] = role.toJson(); - json['shift'] = shift.toJson(); - return json; - } - - ListShiftRolesByVendorIdShiftRoles({ - required this.id, - required this.shiftId, - required this.roleId, - required this.count, - this.assigned, - this.startTime, - this.endTime, - this.hours, - this.department, - this.uniform, - this.breakType, - this.totalValue, - this.createdAt, - required this.role, - required this.shift, - }); -} - -@immutable -class ListShiftRolesByVendorIdShiftRolesRole { - final String id; - final String name; - final double costPerHour; - ListShiftRolesByVendorIdShiftRolesRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByVendorIdShiftRolesRole otherTyped = other as ListShiftRolesByVendorIdShiftRolesRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListShiftRolesByVendorIdShiftRolesRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class ListShiftRolesByVendorIdShiftRolesShift { - final String id; - final String title; - final Timestamp? date; - final String? location; - final String? locationAddress; - final String? description; - final String orderId; - final ListShiftRolesByVendorIdShiftRolesShiftOrder order; - ListShiftRolesByVendorIdShiftRolesShift.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - orderId = nativeFromJson(json['orderId']), - order = ListShiftRolesByVendorIdShiftRolesShiftOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByVendorIdShiftRolesShift otherTyped = other as ListShiftRolesByVendorIdShiftRolesShift; - return id == otherTyped.id && - title == otherTyped.title && - date == otherTyped.date && - location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - description == otherTyped.description && - orderId == otherTyped.orderId && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, date.hashCode, location.hashCode, locationAddress.hashCode, description.hashCode, orderId.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (date != null) { - json['date'] = date!.toJson(); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - json['orderId'] = nativeToJson(orderId); - json['order'] = order.toJson(); - return json; - } - - ListShiftRolesByVendorIdShiftRolesShift({ - required this.id, - required this.title, - this.date, - this.location, - this.locationAddress, - this.description, - required this.orderId, - required this.order, - }); -} - -@immutable -class ListShiftRolesByVendorIdShiftRolesShiftOrder { - final String id; - final String? eventName; - final String vendorId; - final String businessId; - final EnumValue orderType; - final EnumValue status; - final Timestamp? date; - final AnyValue? recurringDays; - final AnyValue? permanentDays; - final String? notes; - final ListShiftRolesByVendorIdShiftRolesShiftOrderBusiness business; - final ListShiftRolesByVendorIdShiftRolesShiftOrderVendor vendor; - ListShiftRolesByVendorIdShiftRolesShiftOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - vendorId = nativeFromJson(json['vendorId']), - businessId = nativeFromJson(json['businessId']), - orderType = orderTypeDeserializer(json['orderType']), - status = orderStatusDeserializer(json['status']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - recurringDays = json['recurringDays'] == null ? null : AnyValue.fromJson(json['recurringDays']), - permanentDays = json['permanentDays'] == null ? null : AnyValue.fromJson(json['permanentDays']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - business = ListShiftRolesByVendorIdShiftRolesShiftOrderBusiness.fromJson(json['business']), - vendor = ListShiftRolesByVendorIdShiftRolesShiftOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByVendorIdShiftRolesShiftOrder otherTyped = other as ListShiftRolesByVendorIdShiftRolesShiftOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderType == otherTyped.orderType && - status == otherTyped.status && - date == otherTyped.date && - recurringDays == otherTyped.recurringDays && - permanentDays == otherTyped.permanentDays && - notes == otherTyped.notes && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, vendorId.hashCode, businessId.hashCode, orderType.hashCode, status.hashCode, date.hashCode, recurringDays.hashCode, permanentDays.hashCode, notes.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['vendorId'] = nativeToJson(vendorId); - json['businessId'] = nativeToJson(businessId); - json['orderType'] = - orderTypeSerializer(orderType) - ; - json['status'] = - orderStatusSerializer(status) - ; - if (date != null) { - json['date'] = date!.toJson(); - } - if (recurringDays != null) { - json['recurringDays'] = recurringDays!.toJson(); - } - if (permanentDays != null) { - json['permanentDays'] = permanentDays!.toJson(); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - ListShiftRolesByVendorIdShiftRolesShiftOrder({ - required this.id, - this.eventName, - required this.vendorId, - required this.businessId, - required this.orderType, - required this.status, - this.date, - this.recurringDays, - this.permanentDays, - this.notes, - required this.business, - required this.vendor, - }); -} - -@immutable -class ListShiftRolesByVendorIdShiftRolesShiftOrderBusiness { - final String id; - final String businessName; - ListShiftRolesByVendorIdShiftRolesShiftOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByVendorIdShiftRolesShiftOrderBusiness otherTyped = other as ListShiftRolesByVendorIdShiftRolesShiftOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListShiftRolesByVendorIdShiftRolesShiftOrderBusiness({ - required this.id, - required this.businessName, - }); -} - -@immutable -class ListShiftRolesByVendorIdShiftRolesShiftOrderVendor { - final String id; - final String companyName; - ListShiftRolesByVendorIdShiftRolesShiftOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByVendorIdShiftRolesShiftOrderVendor otherTyped = other as ListShiftRolesByVendorIdShiftRolesShiftOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListShiftRolesByVendorIdShiftRolesShiftOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListShiftRolesByVendorIdData { - final List shiftRoles; - ListShiftRolesByVendorIdData.fromJson(dynamic json): - - shiftRoles = (json['shiftRoles'] as List) - .map((e) => ListShiftRolesByVendorIdShiftRoles.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByVendorIdData otherTyped = other as ListShiftRolesByVendorIdData; - return shiftRoles == otherTyped.shiftRoles; - - } - @override - int get hashCode => shiftRoles.hashCode; - - - Map toJson() { - Map json = {}; - json['shiftRoles'] = shiftRoles.map((e) => e.toJson()).toList(); - return json; - } - - ListShiftRolesByVendorIdData({ - required this.shiftRoles, - }); -} - -@immutable -class ListShiftRolesByVendorIdVariables { - final String vendorId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListShiftRolesByVendorIdVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftRolesByVendorIdVariables otherTyped = other as ListShiftRolesByVendorIdVariables; - return vendorId == otherTyped.vendorId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListShiftRolesByVendorIdVariables({ - required this.vendorId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts.dart deleted file mode 100644 index 492816eb..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts.dart +++ /dev/null @@ -1,469 +0,0 @@ -part of 'generated.dart'; - -class ListShiftsVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - ListShiftsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListShiftsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListShiftsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListShiftsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListShiftsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListShiftsVariables vars= ListShiftsVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("listShifts", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListShiftsShifts { - final String id; - final String title; - final String orderId; - final Timestamp? date; - final Timestamp? startTime; - final Timestamp? endTime; - final double? hours; - final double? cost; - final String? location; - final String? locationAddress; - final double? latitude; - final double? longitude; - final String? description; - final EnumValue? status; - final int? workersNeeded; - final int? filled; - final Timestamp? filledAt; - final List? managers; - final int? durationDays; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListShiftsShiftsOrder order; - ListShiftsShifts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - orderId = nativeFromJson(json['orderId']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - cost = json['cost'] == null ? null : nativeFromJson(json['cost']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - locationAddress = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']), - latitude = json['latitude'] == null ? null : nativeFromJson(json['latitude']), - longitude = json['longitude'] == null ? null : nativeFromJson(json['longitude']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']), - workersNeeded = json['workersNeeded'] == null ? null : nativeFromJson(json['workersNeeded']), - filled = json['filled'] == null ? null : nativeFromJson(json['filled']), - filledAt = json['filledAt'] == null ? null : Timestamp.fromJson(json['filledAt']), - managers = json['managers'] == null ? null : (json['managers'] as List) - .map((e) => AnyValue.fromJson(e)) - .toList(), - durationDays = json['durationDays'] == null ? null : nativeFromJson(json['durationDays']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - order = ListShiftsShiftsOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsShifts otherTyped = other as ListShiftsShifts; - return id == otherTyped.id && - title == otherTyped.title && - orderId == otherTyped.orderId && - date == otherTyped.date && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - cost == otherTyped.cost && - location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - latitude == otherTyped.latitude && - longitude == otherTyped.longitude && - description == otherTyped.description && - status == otherTyped.status && - workersNeeded == otherTyped.workersNeeded && - filled == otherTyped.filled && - filledAt == otherTyped.filledAt && - managers == otherTyped.managers && - durationDays == otherTyped.durationDays && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, orderId.hashCode, date.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, cost.hashCode, location.hashCode, locationAddress.hashCode, latitude.hashCode, longitude.hashCode, description.hashCode, status.hashCode, workersNeeded.hashCode, filled.hashCode, filledAt.hashCode, managers.hashCode, durationDays.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - json['orderId'] = nativeToJson(orderId); - if (date != null) { - json['date'] = date!.toJson(); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (cost != null) { - json['cost'] = nativeToJson(cost); - } - if (location != null) { - json['location'] = nativeToJson(location); - } - if (locationAddress != null) { - json['locationAddress'] = nativeToJson(locationAddress); - } - if (latitude != null) { - json['latitude'] = nativeToJson(latitude); - } - if (longitude != null) { - json['longitude'] = nativeToJson(longitude); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - if (workersNeeded != null) { - json['workersNeeded'] = nativeToJson(workersNeeded); - } - if (filled != null) { - json['filled'] = nativeToJson(filled); - } - if (filledAt != null) { - json['filledAt'] = filledAt!.toJson(); - } - if (managers != null) { - json['managers'] = managers?.map((e) => e!.toJson()).toList(); - } - if (durationDays != null) { - json['durationDays'] = nativeToJson(durationDays); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['order'] = order.toJson(); - return json; - } - - ListShiftsShifts({ - required this.id, - required this.title, - required this.orderId, - this.date, - this.startTime, - this.endTime, - this.hours, - this.cost, - this.location, - this.locationAddress, - this.latitude, - this.longitude, - this.description, - this.status, - this.workersNeeded, - this.filled, - this.filledAt, - this.managers, - this.durationDays, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.order, - }); -} - -@immutable -class ListShiftsShiftsOrder { - final String id; - final String? eventName; - final EnumValue status; - final EnumValue orderType; - final String businessId; - final String vendorId; - final ListShiftsShiftsOrderBusiness business; - final ListShiftsShiftsOrderVendor vendor; - ListShiftsShiftsOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - status = orderStatusDeserializer(json['status']), - orderType = orderTypeDeserializer(json['orderType']), - businessId = nativeFromJson(json['businessId']), - vendorId = nativeFromJson(json['vendorId']), - business = ListShiftsShiftsOrderBusiness.fromJson(json['business']), - vendor = ListShiftsShiftsOrderVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsShiftsOrder otherTyped = other as ListShiftsShiftsOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - status == otherTyped.status && - orderType == otherTyped.orderType && - businessId == otherTyped.businessId && - vendorId == otherTyped.vendorId && - business == otherTyped.business && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, status.hashCode, orderType.hashCode, businessId.hashCode, vendorId.hashCode, business.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['status'] = - orderStatusSerializer(status) - ; - json['orderType'] = - orderTypeSerializer(orderType) - ; - json['businessId'] = nativeToJson(businessId); - json['vendorId'] = nativeToJson(vendorId); - json['business'] = business.toJson(); - json['vendor'] = vendor.toJson(); - return json; - } - - ListShiftsShiftsOrder({ - required this.id, - this.eventName, - required this.status, - required this.orderType, - required this.businessId, - required this.vendorId, - required this.business, - required this.vendor, - }); -} - -@immutable -class ListShiftsShiftsOrderBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - ListShiftsShiftsOrderBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsShiftsOrderBusiness otherTyped = other as ListShiftsShiftsOrderBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - ListShiftsShiftsOrderBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class ListShiftsShiftsOrderVendor { - final String id; - final String companyName; - ListShiftsShiftsOrderVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsShiftsOrderVendor otherTyped = other as ListShiftsShiftsOrderVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListShiftsShiftsOrderVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListShiftsData { - final List shifts; - ListShiftsData.fromJson(dynamic json): - - shifts = (json['shifts'] as List) - .map((e) => ListShiftsShifts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsData otherTyped = other as ListShiftsData; - return shifts == otherTyped.shifts; - - } - @override - int get hashCode => shifts.hashCode; - - - Map toJson() { - Map json = {}; - json['shifts'] = shifts.map((e) => e.toJson()).toList(); - return json; - } - - ListShiftsData({ - required this.shifts, - }); -} - -@immutable -class ListShiftsVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListShiftsVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsVariables otherTyped = other as ListShiftsVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListShiftsVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_coverage.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_coverage.dart deleted file mode 100644 index d5339823..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_coverage.dart +++ /dev/null @@ -1,166 +0,0 @@ -part of 'generated.dart'; - -class ListShiftsForCoverageVariablesBuilder { - String businessId; - Timestamp startDate; - Timestamp endDate; - - final FirebaseDataConnect _dataConnect; - ListShiftsForCoverageVariablesBuilder(this._dataConnect, {required this.businessId,required this.startDate,required this.endDate,}); - Deserializer dataDeserializer = (dynamic json) => ListShiftsForCoverageData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListShiftsForCoverageVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListShiftsForCoverageVariables vars= ListShiftsForCoverageVariables(businessId: businessId,startDate: startDate,endDate: endDate,); - return _dataConnect.query("listShiftsForCoverage", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListShiftsForCoverageShifts { - final String id; - final Timestamp? date; - final int? workersNeeded; - final int? filled; - final EnumValue? status; - ListShiftsForCoverageShifts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - workersNeeded = json['workersNeeded'] == null ? null : nativeFromJson(json['workersNeeded']), - filled = json['filled'] == null ? null : nativeFromJson(json['filled']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForCoverageShifts otherTyped = other as ListShiftsForCoverageShifts; - return id == otherTyped.id && - date == otherTyped.date && - workersNeeded == otherTyped.workersNeeded && - filled == otherTyped.filled && - status == otherTyped.status; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, date.hashCode, workersNeeded.hashCode, filled.hashCode, status.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (date != null) { - json['date'] = date!.toJson(); - } - if (workersNeeded != null) { - json['workersNeeded'] = nativeToJson(workersNeeded); - } - if (filled != null) { - json['filled'] = nativeToJson(filled); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - return json; - } - - ListShiftsForCoverageShifts({ - required this.id, - this.date, - this.workersNeeded, - this.filled, - this.status, - }); -} - -@immutable -class ListShiftsForCoverageData { - final List shifts; - ListShiftsForCoverageData.fromJson(dynamic json): - - shifts = (json['shifts'] as List) - .map((e) => ListShiftsForCoverageShifts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForCoverageData otherTyped = other as ListShiftsForCoverageData; - return shifts == otherTyped.shifts; - - } - @override - int get hashCode => shifts.hashCode; - - - Map toJson() { - Map json = {}; - json['shifts'] = shifts.map((e) => e.toJson()).toList(); - return json; - } - - ListShiftsForCoverageData({ - required this.shifts, - }); -} - -@immutable -class ListShiftsForCoverageVariables { - final String businessId; - final Timestamp startDate; - final Timestamp endDate; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListShiftsForCoverageVariables.fromJson(Map json): - - businessId = nativeFromJson(json['businessId']), - startDate = Timestamp.fromJson(json['startDate']), - endDate = Timestamp.fromJson(json['endDate']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForCoverageVariables otherTyped = other as ListShiftsForCoverageVariables; - return businessId == otherTyped.businessId && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate; - - } - @override - int get hashCode => Object.hashAll([businessId.hashCode, startDate.hashCode, endDate.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessId'] = nativeToJson(businessId); - json['startDate'] = startDate.toJson(); - json['endDate'] = endDate.toJson(); - return json; - } - - ListShiftsForCoverageVariables({ - required this.businessId, - required this.startDate, - required this.endDate, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_daily_ops_by_business.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_daily_ops_by_business.dart deleted file mode 100644 index dd65a054..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_daily_ops_by_business.dart +++ /dev/null @@ -1,179 +0,0 @@ -part of 'generated.dart'; - -class ListShiftsForDailyOpsByBusinessVariablesBuilder { - String businessId; - Timestamp date; - - final FirebaseDataConnect _dataConnect; - ListShiftsForDailyOpsByBusinessVariablesBuilder(this._dataConnect, {required this.businessId,required this.date,}); - Deserializer dataDeserializer = (dynamic json) => ListShiftsForDailyOpsByBusinessData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListShiftsForDailyOpsByBusinessVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListShiftsForDailyOpsByBusinessVariables vars= ListShiftsForDailyOpsByBusinessVariables(businessId: businessId,date: date,); - return _dataConnect.query("listShiftsForDailyOpsByBusiness", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListShiftsForDailyOpsByBusinessShifts { - final String id; - final String title; - final String? location; - final Timestamp? startTime; - final Timestamp? endTime; - final int? workersNeeded; - final int? filled; - final EnumValue? status; - ListShiftsForDailyOpsByBusinessShifts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - workersNeeded = json['workersNeeded'] == null ? null : nativeFromJson(json['workersNeeded']), - filled = json['filled'] == null ? null : nativeFromJson(json['filled']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForDailyOpsByBusinessShifts otherTyped = other as ListShiftsForDailyOpsByBusinessShifts; - return id == otherTyped.id && - title == otherTyped.title && - location == otherTyped.location && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - workersNeeded == otherTyped.workersNeeded && - filled == otherTyped.filled && - status == otherTyped.status; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, location.hashCode, startTime.hashCode, endTime.hashCode, workersNeeded.hashCode, filled.hashCode, status.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (location != null) { - json['location'] = nativeToJson(location); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (workersNeeded != null) { - json['workersNeeded'] = nativeToJson(workersNeeded); - } - if (filled != null) { - json['filled'] = nativeToJson(filled); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - return json; - } - - ListShiftsForDailyOpsByBusinessShifts({ - required this.id, - required this.title, - this.location, - this.startTime, - this.endTime, - this.workersNeeded, - this.filled, - this.status, - }); -} - -@immutable -class ListShiftsForDailyOpsByBusinessData { - final List shifts; - ListShiftsForDailyOpsByBusinessData.fromJson(dynamic json): - - shifts = (json['shifts'] as List) - .map((e) => ListShiftsForDailyOpsByBusinessShifts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForDailyOpsByBusinessData otherTyped = other as ListShiftsForDailyOpsByBusinessData; - return shifts == otherTyped.shifts; - - } - @override - int get hashCode => shifts.hashCode; - - - Map toJson() { - Map json = {}; - json['shifts'] = shifts.map((e) => e.toJson()).toList(); - return json; - } - - ListShiftsForDailyOpsByBusinessData({ - required this.shifts, - }); -} - -@immutable -class ListShiftsForDailyOpsByBusinessVariables { - final String businessId; - final Timestamp date; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListShiftsForDailyOpsByBusinessVariables.fromJson(Map json): - - businessId = nativeFromJson(json['businessId']), - date = Timestamp.fromJson(json['date']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForDailyOpsByBusinessVariables otherTyped = other as ListShiftsForDailyOpsByBusinessVariables; - return businessId == otherTyped.businessId && - date == otherTyped.date; - - } - @override - int get hashCode => Object.hashAll([businessId.hashCode, date.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessId'] = nativeToJson(businessId); - json['date'] = date.toJson(); - return json; - } - - ListShiftsForDailyOpsByBusinessVariables({ - required this.businessId, - required this.date, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_daily_ops_by_vendor.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_daily_ops_by_vendor.dart deleted file mode 100644 index 6bd940e5..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_daily_ops_by_vendor.dart +++ /dev/null @@ -1,179 +0,0 @@ -part of 'generated.dart'; - -class ListShiftsForDailyOpsByVendorVariablesBuilder { - String vendorId; - Timestamp date; - - final FirebaseDataConnect _dataConnect; - ListShiftsForDailyOpsByVendorVariablesBuilder(this._dataConnect, {required this.vendorId,required this.date,}); - Deserializer dataDeserializer = (dynamic json) => ListShiftsForDailyOpsByVendorData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListShiftsForDailyOpsByVendorVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListShiftsForDailyOpsByVendorVariables vars= ListShiftsForDailyOpsByVendorVariables(vendorId: vendorId,date: date,); - return _dataConnect.query("listShiftsForDailyOpsByVendor", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListShiftsForDailyOpsByVendorShifts { - final String id; - final String title; - final String? location; - final Timestamp? startTime; - final Timestamp? endTime; - final int? workersNeeded; - final int? filled; - final EnumValue? status; - ListShiftsForDailyOpsByVendorShifts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - title = nativeFromJson(json['title']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - startTime = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']), - endTime = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']), - workersNeeded = json['workersNeeded'] == null ? null : nativeFromJson(json['workersNeeded']), - filled = json['filled'] == null ? null : nativeFromJson(json['filled']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForDailyOpsByVendorShifts otherTyped = other as ListShiftsForDailyOpsByVendorShifts; - return id == otherTyped.id && - title == otherTyped.title && - location == otherTyped.location && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - workersNeeded == otherTyped.workersNeeded && - filled == otherTyped.filled && - status == otherTyped.status; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, location.hashCode, startTime.hashCode, endTime.hashCode, workersNeeded.hashCode, filled.hashCode, status.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['title'] = nativeToJson(title); - if (location != null) { - json['location'] = nativeToJson(location); - } - if (startTime != null) { - json['startTime'] = startTime!.toJson(); - } - if (endTime != null) { - json['endTime'] = endTime!.toJson(); - } - if (workersNeeded != null) { - json['workersNeeded'] = nativeToJson(workersNeeded); - } - if (filled != null) { - json['filled'] = nativeToJson(filled); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - return json; - } - - ListShiftsForDailyOpsByVendorShifts({ - required this.id, - required this.title, - this.location, - this.startTime, - this.endTime, - this.workersNeeded, - this.filled, - this.status, - }); -} - -@immutable -class ListShiftsForDailyOpsByVendorData { - final List shifts; - ListShiftsForDailyOpsByVendorData.fromJson(dynamic json): - - shifts = (json['shifts'] as List) - .map((e) => ListShiftsForDailyOpsByVendorShifts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForDailyOpsByVendorData otherTyped = other as ListShiftsForDailyOpsByVendorData; - return shifts == otherTyped.shifts; - - } - @override - int get hashCode => shifts.hashCode; - - - Map toJson() { - Map json = {}; - json['shifts'] = shifts.map((e) => e.toJson()).toList(); - return json; - } - - ListShiftsForDailyOpsByVendorData({ - required this.shifts, - }); -} - -@immutable -class ListShiftsForDailyOpsByVendorVariables { - final String vendorId; - final Timestamp date; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListShiftsForDailyOpsByVendorVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']), - date = Timestamp.fromJson(json['date']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForDailyOpsByVendorVariables otherTyped = other as ListShiftsForDailyOpsByVendorVariables; - return vendorId == otherTyped.vendorId && - date == otherTyped.date; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, date.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - json['date'] = date.toJson(); - return json; - } - - ListShiftsForDailyOpsByVendorVariables({ - required this.vendorId, - required this.date, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_forecast_by_business.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_forecast_by_business.dart deleted file mode 100644 index c6cd9b72..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_forecast_by_business.dart +++ /dev/null @@ -1,173 +0,0 @@ -part of 'generated.dart'; - -class ListShiftsForForecastByBusinessVariablesBuilder { - String businessId; - Timestamp startDate; - Timestamp endDate; - - final FirebaseDataConnect _dataConnect; - ListShiftsForForecastByBusinessVariablesBuilder(this._dataConnect, {required this.businessId,required this.startDate,required this.endDate,}); - Deserializer dataDeserializer = (dynamic json) => ListShiftsForForecastByBusinessData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListShiftsForForecastByBusinessVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListShiftsForForecastByBusinessVariables vars= ListShiftsForForecastByBusinessVariables(businessId: businessId,startDate: startDate,endDate: endDate,); - return _dataConnect.query("listShiftsForForecastByBusiness", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListShiftsForForecastByBusinessShifts { - final String id; - final Timestamp? date; - final int? workersNeeded; - final double? hours; - final double? cost; - final EnumValue? status; - ListShiftsForForecastByBusinessShifts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - workersNeeded = json['workersNeeded'] == null ? null : nativeFromJson(json['workersNeeded']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - cost = json['cost'] == null ? null : nativeFromJson(json['cost']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForForecastByBusinessShifts otherTyped = other as ListShiftsForForecastByBusinessShifts; - return id == otherTyped.id && - date == otherTyped.date && - workersNeeded == otherTyped.workersNeeded && - hours == otherTyped.hours && - cost == otherTyped.cost && - status == otherTyped.status; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, date.hashCode, workersNeeded.hashCode, hours.hashCode, cost.hashCode, status.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (date != null) { - json['date'] = date!.toJson(); - } - if (workersNeeded != null) { - json['workersNeeded'] = nativeToJson(workersNeeded); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (cost != null) { - json['cost'] = nativeToJson(cost); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - return json; - } - - ListShiftsForForecastByBusinessShifts({ - required this.id, - this.date, - this.workersNeeded, - this.hours, - this.cost, - this.status, - }); -} - -@immutable -class ListShiftsForForecastByBusinessData { - final List shifts; - ListShiftsForForecastByBusinessData.fromJson(dynamic json): - - shifts = (json['shifts'] as List) - .map((e) => ListShiftsForForecastByBusinessShifts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForForecastByBusinessData otherTyped = other as ListShiftsForForecastByBusinessData; - return shifts == otherTyped.shifts; - - } - @override - int get hashCode => shifts.hashCode; - - - Map toJson() { - Map json = {}; - json['shifts'] = shifts.map((e) => e.toJson()).toList(); - return json; - } - - ListShiftsForForecastByBusinessData({ - required this.shifts, - }); -} - -@immutable -class ListShiftsForForecastByBusinessVariables { - final String businessId; - final Timestamp startDate; - final Timestamp endDate; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListShiftsForForecastByBusinessVariables.fromJson(Map json): - - businessId = nativeFromJson(json['businessId']), - startDate = Timestamp.fromJson(json['startDate']), - endDate = Timestamp.fromJson(json['endDate']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForForecastByBusinessVariables otherTyped = other as ListShiftsForForecastByBusinessVariables; - return businessId == otherTyped.businessId && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate; - - } - @override - int get hashCode => Object.hashAll([businessId.hashCode, startDate.hashCode, endDate.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessId'] = nativeToJson(businessId); - json['startDate'] = startDate.toJson(); - json['endDate'] = endDate.toJson(); - return json; - } - - ListShiftsForForecastByBusinessVariables({ - required this.businessId, - required this.startDate, - required this.endDate, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_forecast_by_vendor.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_forecast_by_vendor.dart deleted file mode 100644 index b4a435b7..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_forecast_by_vendor.dart +++ /dev/null @@ -1,173 +0,0 @@ -part of 'generated.dart'; - -class ListShiftsForForecastByVendorVariablesBuilder { - String vendorId; - Timestamp startDate; - Timestamp endDate; - - final FirebaseDataConnect _dataConnect; - ListShiftsForForecastByVendorVariablesBuilder(this._dataConnect, {required this.vendorId,required this.startDate,required this.endDate,}); - Deserializer dataDeserializer = (dynamic json) => ListShiftsForForecastByVendorData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListShiftsForForecastByVendorVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListShiftsForForecastByVendorVariables vars= ListShiftsForForecastByVendorVariables(vendorId: vendorId,startDate: startDate,endDate: endDate,); - return _dataConnect.query("listShiftsForForecastByVendor", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListShiftsForForecastByVendorShifts { - final String id; - final Timestamp? date; - final int? workersNeeded; - final double? hours; - final double? cost; - final EnumValue? status; - ListShiftsForForecastByVendorShifts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - workersNeeded = json['workersNeeded'] == null ? null : nativeFromJson(json['workersNeeded']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - cost = json['cost'] == null ? null : nativeFromJson(json['cost']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForForecastByVendorShifts otherTyped = other as ListShiftsForForecastByVendorShifts; - return id == otherTyped.id && - date == otherTyped.date && - workersNeeded == otherTyped.workersNeeded && - hours == otherTyped.hours && - cost == otherTyped.cost && - status == otherTyped.status; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, date.hashCode, workersNeeded.hashCode, hours.hashCode, cost.hashCode, status.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (date != null) { - json['date'] = date!.toJson(); - } - if (workersNeeded != null) { - json['workersNeeded'] = nativeToJson(workersNeeded); - } - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (cost != null) { - json['cost'] = nativeToJson(cost); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - return json; - } - - ListShiftsForForecastByVendorShifts({ - required this.id, - this.date, - this.workersNeeded, - this.hours, - this.cost, - this.status, - }); -} - -@immutable -class ListShiftsForForecastByVendorData { - final List shifts; - ListShiftsForForecastByVendorData.fromJson(dynamic json): - - shifts = (json['shifts'] as List) - .map((e) => ListShiftsForForecastByVendorShifts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForForecastByVendorData otherTyped = other as ListShiftsForForecastByVendorData; - return shifts == otherTyped.shifts; - - } - @override - int get hashCode => shifts.hashCode; - - - Map toJson() { - Map json = {}; - json['shifts'] = shifts.map((e) => e.toJson()).toList(); - return json; - } - - ListShiftsForForecastByVendorData({ - required this.shifts, - }); -} - -@immutable -class ListShiftsForForecastByVendorVariables { - final String vendorId; - final Timestamp startDate; - final Timestamp endDate; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListShiftsForForecastByVendorVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']), - startDate = Timestamp.fromJson(json['startDate']), - endDate = Timestamp.fromJson(json['endDate']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForForecastByVendorVariables otherTyped = other as ListShiftsForForecastByVendorVariables; - return vendorId == otherTyped.vendorId && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, startDate.hashCode, endDate.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - json['startDate'] = startDate.toJson(); - json['endDate'] = endDate.toJson(); - return json; - } - - ListShiftsForForecastByVendorVariables({ - required this.vendorId, - required this.startDate, - required this.endDate, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_no_show_range_by_business.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_no_show_range_by_business.dart deleted file mode 100644 index 7d4856b1..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_no_show_range_by_business.dart +++ /dev/null @@ -1,143 +0,0 @@ -part of 'generated.dart'; - -class ListShiftsForNoShowRangeByBusinessVariablesBuilder { - String businessId; - Timestamp startDate; - Timestamp endDate; - - final FirebaseDataConnect _dataConnect; - ListShiftsForNoShowRangeByBusinessVariablesBuilder(this._dataConnect, {required this.businessId,required this.startDate,required this.endDate,}); - Deserializer dataDeserializer = (dynamic json) => ListShiftsForNoShowRangeByBusinessData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListShiftsForNoShowRangeByBusinessVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListShiftsForNoShowRangeByBusinessVariables vars= ListShiftsForNoShowRangeByBusinessVariables(businessId: businessId,startDate: startDate,endDate: endDate,); - return _dataConnect.query("listShiftsForNoShowRangeByBusiness", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListShiftsForNoShowRangeByBusinessShifts { - final String id; - final Timestamp? date; - ListShiftsForNoShowRangeByBusinessShifts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForNoShowRangeByBusinessShifts otherTyped = other as ListShiftsForNoShowRangeByBusinessShifts; - return id == otherTyped.id && - date == otherTyped.date; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, date.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (date != null) { - json['date'] = date!.toJson(); - } - return json; - } - - ListShiftsForNoShowRangeByBusinessShifts({ - required this.id, - this.date, - }); -} - -@immutable -class ListShiftsForNoShowRangeByBusinessData { - final List shifts; - ListShiftsForNoShowRangeByBusinessData.fromJson(dynamic json): - - shifts = (json['shifts'] as List) - .map((e) => ListShiftsForNoShowRangeByBusinessShifts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForNoShowRangeByBusinessData otherTyped = other as ListShiftsForNoShowRangeByBusinessData; - return shifts == otherTyped.shifts; - - } - @override - int get hashCode => shifts.hashCode; - - - Map toJson() { - Map json = {}; - json['shifts'] = shifts.map((e) => e.toJson()).toList(); - return json; - } - - ListShiftsForNoShowRangeByBusinessData({ - required this.shifts, - }); -} - -@immutable -class ListShiftsForNoShowRangeByBusinessVariables { - final String businessId; - final Timestamp startDate; - final Timestamp endDate; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListShiftsForNoShowRangeByBusinessVariables.fromJson(Map json): - - businessId = nativeFromJson(json['businessId']), - startDate = Timestamp.fromJson(json['startDate']), - endDate = Timestamp.fromJson(json['endDate']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForNoShowRangeByBusinessVariables otherTyped = other as ListShiftsForNoShowRangeByBusinessVariables; - return businessId == otherTyped.businessId && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate; - - } - @override - int get hashCode => Object.hashAll([businessId.hashCode, startDate.hashCode, endDate.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessId'] = nativeToJson(businessId); - json['startDate'] = startDate.toJson(); - json['endDate'] = endDate.toJson(); - return json; - } - - ListShiftsForNoShowRangeByBusinessVariables({ - required this.businessId, - required this.startDate, - required this.endDate, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_no_show_range_by_vendor.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_no_show_range_by_vendor.dart deleted file mode 100644 index 24d37aae..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_no_show_range_by_vendor.dart +++ /dev/null @@ -1,143 +0,0 @@ -part of 'generated.dart'; - -class ListShiftsForNoShowRangeByVendorVariablesBuilder { - String vendorId; - Timestamp startDate; - Timestamp endDate; - - final FirebaseDataConnect _dataConnect; - ListShiftsForNoShowRangeByVendorVariablesBuilder(this._dataConnect, {required this.vendorId,required this.startDate,required this.endDate,}); - Deserializer dataDeserializer = (dynamic json) => ListShiftsForNoShowRangeByVendorData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListShiftsForNoShowRangeByVendorVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListShiftsForNoShowRangeByVendorVariables vars= ListShiftsForNoShowRangeByVendorVariables(vendorId: vendorId,startDate: startDate,endDate: endDate,); - return _dataConnect.query("listShiftsForNoShowRangeByVendor", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListShiftsForNoShowRangeByVendorShifts { - final String id; - final Timestamp? date; - ListShiftsForNoShowRangeByVendorShifts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForNoShowRangeByVendorShifts otherTyped = other as ListShiftsForNoShowRangeByVendorShifts; - return id == otherTyped.id && - date == otherTyped.date; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, date.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (date != null) { - json['date'] = date!.toJson(); - } - return json; - } - - ListShiftsForNoShowRangeByVendorShifts({ - required this.id, - this.date, - }); -} - -@immutable -class ListShiftsForNoShowRangeByVendorData { - final List shifts; - ListShiftsForNoShowRangeByVendorData.fromJson(dynamic json): - - shifts = (json['shifts'] as List) - .map((e) => ListShiftsForNoShowRangeByVendorShifts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForNoShowRangeByVendorData otherTyped = other as ListShiftsForNoShowRangeByVendorData; - return shifts == otherTyped.shifts; - - } - @override - int get hashCode => shifts.hashCode; - - - Map toJson() { - Map json = {}; - json['shifts'] = shifts.map((e) => e.toJson()).toList(); - return json; - } - - ListShiftsForNoShowRangeByVendorData({ - required this.shifts, - }); -} - -@immutable -class ListShiftsForNoShowRangeByVendorVariables { - final String vendorId; - final Timestamp startDate; - final Timestamp endDate; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListShiftsForNoShowRangeByVendorVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']), - startDate = Timestamp.fromJson(json['startDate']), - endDate = Timestamp.fromJson(json['endDate']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForNoShowRangeByVendorVariables otherTyped = other as ListShiftsForNoShowRangeByVendorVariables; - return vendorId == otherTyped.vendorId && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, startDate.hashCode, endDate.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - json['startDate'] = startDate.toJson(); - json['endDate'] = endDate.toJson(); - return json; - } - - ListShiftsForNoShowRangeByVendorVariables({ - required this.vendorId, - required this.startDate, - required this.endDate, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_performance_by_business.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_performance_by_business.dart deleted file mode 100644 index 8b6ac2ae..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_performance_by_business.dart +++ /dev/null @@ -1,173 +0,0 @@ -part of 'generated.dart'; - -class ListShiftsForPerformanceByBusinessVariablesBuilder { - String businessId; - Timestamp startDate; - Timestamp endDate; - - final FirebaseDataConnect _dataConnect; - ListShiftsForPerformanceByBusinessVariablesBuilder(this._dataConnect, {required this.businessId,required this.startDate,required this.endDate,}); - Deserializer dataDeserializer = (dynamic json) => ListShiftsForPerformanceByBusinessData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListShiftsForPerformanceByBusinessVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListShiftsForPerformanceByBusinessVariables vars= ListShiftsForPerformanceByBusinessVariables(businessId: businessId,startDate: startDate,endDate: endDate,); - return _dataConnect.query("listShiftsForPerformanceByBusiness", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListShiftsForPerformanceByBusinessShifts { - final String id; - final int? workersNeeded; - final int? filled; - final EnumValue? status; - final Timestamp? createdAt; - final Timestamp? filledAt; - ListShiftsForPerformanceByBusinessShifts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - workersNeeded = json['workersNeeded'] == null ? null : nativeFromJson(json['workersNeeded']), - filled = json['filled'] == null ? null : nativeFromJson(json['filled']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - filledAt = json['filledAt'] == null ? null : Timestamp.fromJson(json['filledAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForPerformanceByBusinessShifts otherTyped = other as ListShiftsForPerformanceByBusinessShifts; - return id == otherTyped.id && - workersNeeded == otherTyped.workersNeeded && - filled == otherTyped.filled && - status == otherTyped.status && - createdAt == otherTyped.createdAt && - filledAt == otherTyped.filledAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workersNeeded.hashCode, filled.hashCode, status.hashCode, createdAt.hashCode, filledAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (workersNeeded != null) { - json['workersNeeded'] = nativeToJson(workersNeeded); - } - if (filled != null) { - json['filled'] = nativeToJson(filled); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (filledAt != null) { - json['filledAt'] = filledAt!.toJson(); - } - return json; - } - - ListShiftsForPerformanceByBusinessShifts({ - required this.id, - this.workersNeeded, - this.filled, - this.status, - this.createdAt, - this.filledAt, - }); -} - -@immutable -class ListShiftsForPerformanceByBusinessData { - final List shifts; - ListShiftsForPerformanceByBusinessData.fromJson(dynamic json): - - shifts = (json['shifts'] as List) - .map((e) => ListShiftsForPerformanceByBusinessShifts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForPerformanceByBusinessData otherTyped = other as ListShiftsForPerformanceByBusinessData; - return shifts == otherTyped.shifts; - - } - @override - int get hashCode => shifts.hashCode; - - - Map toJson() { - Map json = {}; - json['shifts'] = shifts.map((e) => e.toJson()).toList(); - return json; - } - - ListShiftsForPerformanceByBusinessData({ - required this.shifts, - }); -} - -@immutable -class ListShiftsForPerformanceByBusinessVariables { - final String businessId; - final Timestamp startDate; - final Timestamp endDate; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListShiftsForPerformanceByBusinessVariables.fromJson(Map json): - - businessId = nativeFromJson(json['businessId']), - startDate = Timestamp.fromJson(json['startDate']), - endDate = Timestamp.fromJson(json['endDate']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForPerformanceByBusinessVariables otherTyped = other as ListShiftsForPerformanceByBusinessVariables; - return businessId == otherTyped.businessId && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate; - - } - @override - int get hashCode => Object.hashAll([businessId.hashCode, startDate.hashCode, endDate.hashCode]); - - - Map toJson() { - Map json = {}; - json['businessId'] = nativeToJson(businessId); - json['startDate'] = startDate.toJson(); - json['endDate'] = endDate.toJson(); - return json; - } - - ListShiftsForPerformanceByBusinessVariables({ - required this.businessId, - required this.startDate, - required this.endDate, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_performance_by_vendor.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_performance_by_vendor.dart deleted file mode 100644 index 12364962..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_shifts_for_performance_by_vendor.dart +++ /dev/null @@ -1,173 +0,0 @@ -part of 'generated.dart'; - -class ListShiftsForPerformanceByVendorVariablesBuilder { - String vendorId; - Timestamp startDate; - Timestamp endDate; - - final FirebaseDataConnect _dataConnect; - ListShiftsForPerformanceByVendorVariablesBuilder(this._dataConnect, {required this.vendorId,required this.startDate,required this.endDate,}); - Deserializer dataDeserializer = (dynamic json) => ListShiftsForPerformanceByVendorData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListShiftsForPerformanceByVendorVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListShiftsForPerformanceByVendorVariables vars= ListShiftsForPerformanceByVendorVariables(vendorId: vendorId,startDate: startDate,endDate: endDate,); - return _dataConnect.query("listShiftsForPerformanceByVendor", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListShiftsForPerformanceByVendorShifts { - final String id; - final int? workersNeeded; - final int? filled; - final EnumValue? status; - final Timestamp? createdAt; - final Timestamp? filledAt; - ListShiftsForPerformanceByVendorShifts.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - workersNeeded = json['workersNeeded'] == null ? null : nativeFromJson(json['workersNeeded']), - filled = json['filled'] == null ? null : nativeFromJson(json['filled']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - filledAt = json['filledAt'] == null ? null : Timestamp.fromJson(json['filledAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForPerformanceByVendorShifts otherTyped = other as ListShiftsForPerformanceByVendorShifts; - return id == otherTyped.id && - workersNeeded == otherTyped.workersNeeded && - filled == otherTyped.filled && - status == otherTyped.status && - createdAt == otherTyped.createdAt && - filledAt == otherTyped.filledAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workersNeeded.hashCode, filled.hashCode, status.hashCode, createdAt.hashCode, filledAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (workersNeeded != null) { - json['workersNeeded'] = nativeToJson(workersNeeded); - } - if (filled != null) { - json['filled'] = nativeToJson(filled); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (filledAt != null) { - json['filledAt'] = filledAt!.toJson(); - } - return json; - } - - ListShiftsForPerformanceByVendorShifts({ - required this.id, - this.workersNeeded, - this.filled, - this.status, - this.createdAt, - this.filledAt, - }); -} - -@immutable -class ListShiftsForPerformanceByVendorData { - final List shifts; - ListShiftsForPerformanceByVendorData.fromJson(dynamic json): - - shifts = (json['shifts'] as List) - .map((e) => ListShiftsForPerformanceByVendorShifts.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForPerformanceByVendorData otherTyped = other as ListShiftsForPerformanceByVendorData; - return shifts == otherTyped.shifts; - - } - @override - int get hashCode => shifts.hashCode; - - - Map toJson() { - Map json = {}; - json['shifts'] = shifts.map((e) => e.toJson()).toList(); - return json; - } - - ListShiftsForPerformanceByVendorData({ - required this.shifts, - }); -} - -@immutable -class ListShiftsForPerformanceByVendorVariables { - final String vendorId; - final Timestamp startDate; - final Timestamp endDate; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListShiftsForPerformanceByVendorVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']), - startDate = Timestamp.fromJson(json['startDate']), - endDate = Timestamp.fromJson(json['endDate']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListShiftsForPerformanceByVendorVariables otherTyped = other as ListShiftsForPerformanceByVendorVariables; - return vendorId == otherTyped.vendorId && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, startDate.hashCode, endDate.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - json['startDate'] = startDate.toJson(); - json['endDate'] = endDate.toJson(); - return json; - } - - ListShiftsForPerformanceByVendorVariables({ - required this.vendorId, - required this.startDate, - required this.endDate, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff.dart deleted file mode 100644 index 4a2c16f7..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff.dart +++ /dev/null @@ -1,330 +0,0 @@ -part of 'generated.dart'; - -class ListStaffVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListStaffVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListStaffData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listStaff", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListStaffStaffs { - final String id; - final String userId; - final String fullName; - final String? level; - final String? role; - final String? phone; - final String? email; - final String? photoUrl; - final int? totalShifts; - final double? averageRating; - final int? onTimeRate; - final int? noShowCount; - final int? cancellationCount; - final int? reliabilityScore; - final int? xp; - final AnyValue? badges; - final bool? isRecommended; - final String? bio; - final AnyValue? industries; - final AnyValue? preferredLocations; - final int? maxDistanceMiles; - final AnyValue? languages; - final AnyValue? itemsAttire; - final String? ownerId; - final Timestamp? createdAt; - final EnumValue? department; - final String? hubId; - final String? manager; - final EnumValue? english; - final EnumValue? backgroundCheckStatus; - final EnumValue? employmentType; - final String? initial; - final bool? englishRequired; - final String? city; - final String? addres; - ListStaffStaffs.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - userId = nativeFromJson(json['userId']), - fullName = nativeFromJson(json['fullName']), - level = json['level'] == null ? null : nativeFromJson(json['level']), - role = json['role'] == null ? null : nativeFromJson(json['role']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - photoUrl = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']), - totalShifts = json['totalShifts'] == null ? null : nativeFromJson(json['totalShifts']), - averageRating = json['averageRating'] == null ? null : nativeFromJson(json['averageRating']), - onTimeRate = json['onTimeRate'] == null ? null : nativeFromJson(json['onTimeRate']), - noShowCount = json['noShowCount'] == null ? null : nativeFromJson(json['noShowCount']), - cancellationCount = json['cancellationCount'] == null ? null : nativeFromJson(json['cancellationCount']), - reliabilityScore = json['reliabilityScore'] == null ? null : nativeFromJson(json['reliabilityScore']), - xp = json['xp'] == null ? null : nativeFromJson(json['xp']), - badges = json['badges'] == null ? null : AnyValue.fromJson(json['badges']), - isRecommended = json['isRecommended'] == null ? null : nativeFromJson(json['isRecommended']), - bio = json['bio'] == null ? null : nativeFromJson(json['bio']), - industries = json['industries'] == null ? null : AnyValue.fromJson(json['industries']), - preferredLocations = json['preferredLocations'] == null ? null : AnyValue.fromJson(json['preferredLocations']), - maxDistanceMiles = json['maxDistanceMiles'] == null ? null : nativeFromJson(json['maxDistanceMiles']), - languages = json['languages'] == null ? null : AnyValue.fromJson(json['languages']), - itemsAttire = json['itemsAttire'] == null ? null : AnyValue.fromJson(json['itemsAttire']), - ownerId = json['ownerId'] == null ? null : nativeFromJson(json['ownerId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - department = json['department'] == null ? null : departmentTypeDeserializer(json['department']), - hubId = json['hubId'] == null ? null : nativeFromJson(json['hubId']), - manager = json['manager'] == null ? null : nativeFromJson(json['manager']), - english = json['english'] == null ? null : englishProficiencyDeserializer(json['english']), - backgroundCheckStatus = json['backgroundCheckStatus'] == null ? null : backgroundCheckStatusDeserializer(json['backgroundCheckStatus']), - employmentType = json['employmentType'] == null ? null : employmentTypeDeserializer(json['employmentType']), - initial = json['initial'] == null ? null : nativeFromJson(json['initial']), - englishRequired = json['englishRequired'] == null ? null : nativeFromJson(json['englishRequired']), - city = json['city'] == null ? null : nativeFromJson(json['city']), - addres = json['addres'] == null ? null : nativeFromJson(json['addres']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffStaffs otherTyped = other as ListStaffStaffs; - return id == otherTyped.id && - userId == otherTyped.userId && - fullName == otherTyped.fullName && - level == otherTyped.level && - role == otherTyped.role && - phone == otherTyped.phone && - email == otherTyped.email && - photoUrl == otherTyped.photoUrl && - totalShifts == otherTyped.totalShifts && - averageRating == otherTyped.averageRating && - onTimeRate == otherTyped.onTimeRate && - noShowCount == otherTyped.noShowCount && - cancellationCount == otherTyped.cancellationCount && - reliabilityScore == otherTyped.reliabilityScore && - xp == otherTyped.xp && - badges == otherTyped.badges && - isRecommended == otherTyped.isRecommended && - bio == otherTyped.bio && - industries == otherTyped.industries && - preferredLocations == otherTyped.preferredLocations && - maxDistanceMiles == otherTyped.maxDistanceMiles && - languages == otherTyped.languages && - itemsAttire == otherTyped.itemsAttire && - ownerId == otherTyped.ownerId && - createdAt == otherTyped.createdAt && - department == otherTyped.department && - hubId == otherTyped.hubId && - manager == otherTyped.manager && - english == otherTyped.english && - backgroundCheckStatus == otherTyped.backgroundCheckStatus && - employmentType == otherTyped.employmentType && - initial == otherTyped.initial && - englishRequired == otherTyped.englishRequired && - city == otherTyped.city && - addres == otherTyped.addres; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, userId.hashCode, fullName.hashCode, level.hashCode, role.hashCode, phone.hashCode, email.hashCode, photoUrl.hashCode, totalShifts.hashCode, averageRating.hashCode, onTimeRate.hashCode, noShowCount.hashCode, cancellationCount.hashCode, reliabilityScore.hashCode, xp.hashCode, badges.hashCode, isRecommended.hashCode, bio.hashCode, industries.hashCode, preferredLocations.hashCode, maxDistanceMiles.hashCode, languages.hashCode, itemsAttire.hashCode, ownerId.hashCode, createdAt.hashCode, department.hashCode, hubId.hashCode, manager.hashCode, english.hashCode, backgroundCheckStatus.hashCode, employmentType.hashCode, initial.hashCode, englishRequired.hashCode, city.hashCode, addres.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['userId'] = nativeToJson(userId); - json['fullName'] = nativeToJson(fullName); - if (level != null) { - json['level'] = nativeToJson(level); - } - if (role != null) { - json['role'] = nativeToJson(role); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - if (photoUrl != null) { - json['photoUrl'] = nativeToJson(photoUrl); - } - if (totalShifts != null) { - json['totalShifts'] = nativeToJson(totalShifts); - } - if (averageRating != null) { - json['averageRating'] = nativeToJson(averageRating); - } - if (onTimeRate != null) { - json['onTimeRate'] = nativeToJson(onTimeRate); - } - if (noShowCount != null) { - json['noShowCount'] = nativeToJson(noShowCount); - } - if (cancellationCount != null) { - json['cancellationCount'] = nativeToJson(cancellationCount); - } - if (reliabilityScore != null) { - json['reliabilityScore'] = nativeToJson(reliabilityScore); - } - if (xp != null) { - json['xp'] = nativeToJson(xp); - } - if (badges != null) { - json['badges'] = badges!.toJson(); - } - if (isRecommended != null) { - json['isRecommended'] = nativeToJson(isRecommended); - } - if (bio != null) { - json['bio'] = nativeToJson(bio); - } - if (industries != null) { - json['industries'] = industries!.toJson(); - } - if (preferredLocations != null) { - json['preferredLocations'] = preferredLocations!.toJson(); - } - if (maxDistanceMiles != null) { - json['maxDistanceMiles'] = nativeToJson(maxDistanceMiles); - } - if (languages != null) { - json['languages'] = languages!.toJson(); - } - if (itemsAttire != null) { - json['itemsAttire'] = itemsAttire!.toJson(); - } - if (ownerId != null) { - json['ownerId'] = nativeToJson(ownerId); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (department != null) { - json['department'] = - departmentTypeSerializer(department!) - ; - } - if (hubId != null) { - json['hubId'] = nativeToJson(hubId); - } - if (manager != null) { - json['manager'] = nativeToJson(manager); - } - if (english != null) { - json['english'] = - englishProficiencySerializer(english!) - ; - } - if (backgroundCheckStatus != null) { - json['backgroundCheckStatus'] = - backgroundCheckStatusSerializer(backgroundCheckStatus!) - ; - } - if (employmentType != null) { - json['employmentType'] = - employmentTypeSerializer(employmentType!) - ; - } - if (initial != null) { - json['initial'] = nativeToJson(initial); - } - if (englishRequired != null) { - json['englishRequired'] = nativeToJson(englishRequired); - } - if (city != null) { - json['city'] = nativeToJson(city); - } - if (addres != null) { - json['addres'] = nativeToJson(addres); - } - return json; - } - - ListStaffStaffs({ - required this.id, - required this.userId, - required this.fullName, - this.level, - this.role, - this.phone, - this.email, - this.photoUrl, - this.totalShifts, - this.averageRating, - this.onTimeRate, - this.noShowCount, - this.cancellationCount, - this.reliabilityScore, - this.xp, - this.badges, - this.isRecommended, - this.bio, - this.industries, - this.preferredLocations, - this.maxDistanceMiles, - this.languages, - this.itemsAttire, - this.ownerId, - this.createdAt, - this.department, - this.hubId, - this.manager, - this.english, - this.backgroundCheckStatus, - this.employmentType, - this.initial, - this.englishRequired, - this.city, - this.addres, - }); -} - -@immutable -class ListStaffData { - final List staffs; - ListStaffData.fromJson(dynamic json): - - staffs = (json['staffs'] as List) - .map((e) => ListStaffStaffs.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffData otherTyped = other as ListStaffData; - return staffs == otherTyped.staffs; - - } - @override - int get hashCode => staffs.hashCode; - - - Map toJson() { - Map json = {}; - json['staffs'] = staffs.map((e) => e.toJson()).toList(); - return json; - } - - ListStaffData({ - required this.staffs, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_availabilities.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_availabilities.dart deleted file mode 100644 index e0a252e6..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_availabilities.dart +++ /dev/null @@ -1,248 +0,0 @@ -part of 'generated.dart'; - -class ListStaffAvailabilitiesVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - ListStaffAvailabilitiesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffAvailabilitiesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListStaffAvailabilitiesVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListStaffAvailabilitiesData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListStaffAvailabilitiesVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListStaffAvailabilitiesVariables vars= ListStaffAvailabilitiesVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("listStaffAvailabilities", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListStaffAvailabilitiesStaffAvailabilities { - final String id; - final String staffId; - final EnumValue day; - final EnumValue slot; - final EnumValue status; - final String? notes; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListStaffAvailabilitiesStaffAvailabilitiesStaff staff; - ListStaffAvailabilitiesStaffAvailabilities.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - day = dayOfWeekDeserializer(json['day']), - slot = availabilitySlotDeserializer(json['slot']), - status = availabilityStatusDeserializer(json['status']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - staff = ListStaffAvailabilitiesStaffAvailabilitiesStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffAvailabilitiesStaffAvailabilities otherTyped = other as ListStaffAvailabilitiesStaffAvailabilities; - return id == otherTyped.id && - staffId == otherTyped.staffId && - day == otherTyped.day && - slot == otherTyped.slot && - status == otherTyped.status && - notes == otherTyped.notes && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, day.hashCode, slot.hashCode, status.hashCode, notes.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['day'] = - dayOfWeekSerializer(day) - ; - json['slot'] = - availabilitySlotSerializer(slot) - ; - json['status'] = - availabilityStatusSerializer(status) - ; - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['staff'] = staff.toJson(); - return json; - } - - ListStaffAvailabilitiesStaffAvailabilities({ - required this.id, - required this.staffId, - required this.day, - required this.slot, - required this.status, - this.notes, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.staff, - }); -} - -@immutable -class ListStaffAvailabilitiesStaffAvailabilitiesStaff { - final String id; - final String fullName; - ListStaffAvailabilitiesStaffAvailabilitiesStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffAvailabilitiesStaffAvailabilitiesStaff otherTyped = other as ListStaffAvailabilitiesStaffAvailabilitiesStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - ListStaffAvailabilitiesStaffAvailabilitiesStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class ListStaffAvailabilitiesData { - final List staffAvailabilities; - ListStaffAvailabilitiesData.fromJson(dynamic json): - - staffAvailabilities = (json['staffAvailabilities'] as List) - .map((e) => ListStaffAvailabilitiesStaffAvailabilities.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffAvailabilitiesData otherTyped = other as ListStaffAvailabilitiesData; - return staffAvailabilities == otherTyped.staffAvailabilities; - - } - @override - int get hashCode => staffAvailabilities.hashCode; - - - Map toJson() { - Map json = {}; - json['staffAvailabilities'] = staffAvailabilities.map((e) => e.toJson()).toList(); - return json; - } - - ListStaffAvailabilitiesData({ - required this.staffAvailabilities, - }); -} - -@immutable -class ListStaffAvailabilitiesVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListStaffAvailabilitiesVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffAvailabilitiesVariables otherTyped = other as ListStaffAvailabilitiesVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListStaffAvailabilitiesVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_availabilities_by_day.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_availabilities_by_day.dart deleted file mode 100644 index a387b3a9..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_availabilities_by_day.dart +++ /dev/null @@ -1,257 +0,0 @@ -part of 'generated.dart'; - -class ListStaffAvailabilitiesByDayVariablesBuilder { - DayOfWeek day; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListStaffAvailabilitiesByDayVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffAvailabilitiesByDayVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListStaffAvailabilitiesByDayVariablesBuilder(this._dataConnect, {required this.day,}); - Deserializer dataDeserializer = (dynamic json) => ListStaffAvailabilitiesByDayData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListStaffAvailabilitiesByDayVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListStaffAvailabilitiesByDayVariables vars= ListStaffAvailabilitiesByDayVariables(day: day,offset: _offset,limit: _limit,); - return _dataConnect.query("listStaffAvailabilitiesByDay", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListStaffAvailabilitiesByDayStaffAvailabilities { - final String id; - final String staffId; - final EnumValue day; - final EnumValue slot; - final EnumValue status; - final String? notes; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListStaffAvailabilitiesByDayStaffAvailabilitiesStaff staff; - ListStaffAvailabilitiesByDayStaffAvailabilities.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - day = dayOfWeekDeserializer(json['day']), - slot = availabilitySlotDeserializer(json['slot']), - status = availabilityStatusDeserializer(json['status']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - staff = ListStaffAvailabilitiesByDayStaffAvailabilitiesStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffAvailabilitiesByDayStaffAvailabilities otherTyped = other as ListStaffAvailabilitiesByDayStaffAvailabilities; - return id == otherTyped.id && - staffId == otherTyped.staffId && - day == otherTyped.day && - slot == otherTyped.slot && - status == otherTyped.status && - notes == otherTyped.notes && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, day.hashCode, slot.hashCode, status.hashCode, notes.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['day'] = - dayOfWeekSerializer(day) - ; - json['slot'] = - availabilitySlotSerializer(slot) - ; - json['status'] = - availabilityStatusSerializer(status) - ; - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['staff'] = staff.toJson(); - return json; - } - - ListStaffAvailabilitiesByDayStaffAvailabilities({ - required this.id, - required this.staffId, - required this.day, - required this.slot, - required this.status, - this.notes, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.staff, - }); -} - -@immutable -class ListStaffAvailabilitiesByDayStaffAvailabilitiesStaff { - final String id; - final String fullName; - ListStaffAvailabilitiesByDayStaffAvailabilitiesStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffAvailabilitiesByDayStaffAvailabilitiesStaff otherTyped = other as ListStaffAvailabilitiesByDayStaffAvailabilitiesStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - ListStaffAvailabilitiesByDayStaffAvailabilitiesStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class ListStaffAvailabilitiesByDayData { - final List staffAvailabilities; - ListStaffAvailabilitiesByDayData.fromJson(dynamic json): - - staffAvailabilities = (json['staffAvailabilities'] as List) - .map((e) => ListStaffAvailabilitiesByDayStaffAvailabilities.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffAvailabilitiesByDayData otherTyped = other as ListStaffAvailabilitiesByDayData; - return staffAvailabilities == otherTyped.staffAvailabilities; - - } - @override - int get hashCode => staffAvailabilities.hashCode; - - - Map toJson() { - Map json = {}; - json['staffAvailabilities'] = staffAvailabilities.map((e) => e.toJson()).toList(); - return json; - } - - ListStaffAvailabilitiesByDayData({ - required this.staffAvailabilities, - }); -} - -@immutable -class ListStaffAvailabilitiesByDayVariables { - final DayOfWeek day; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListStaffAvailabilitiesByDayVariables.fromJson(Map json): - - day = DayOfWeek.values.byName(json['day']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffAvailabilitiesByDayVariables otherTyped = other as ListStaffAvailabilitiesByDayVariables; - return day == otherTyped.day && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([day.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['day'] = - day.name - ; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListStaffAvailabilitiesByDayVariables({ - required this.day, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_availabilities_by_staff_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_availabilities_by_staff_id.dart deleted file mode 100644 index b945f777..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_availabilities_by_staff_id.dart +++ /dev/null @@ -1,255 +0,0 @@ -part of 'generated.dart'; - -class ListStaffAvailabilitiesByStaffIdVariablesBuilder { - String staffId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListStaffAvailabilitiesByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffAvailabilitiesByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListStaffAvailabilitiesByStaffIdVariablesBuilder(this._dataConnect, {required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => ListStaffAvailabilitiesByStaffIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListStaffAvailabilitiesByStaffIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListStaffAvailabilitiesByStaffIdVariables vars= ListStaffAvailabilitiesByStaffIdVariables(staffId: staffId,offset: _offset,limit: _limit,); - return _dataConnect.query("listStaffAvailabilitiesByStaffId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListStaffAvailabilitiesByStaffIdStaffAvailabilities { - final String id; - final String staffId; - final EnumValue day; - final EnumValue slot; - final EnumValue status; - final String? notes; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListStaffAvailabilitiesByStaffIdStaffAvailabilitiesStaff staff; - ListStaffAvailabilitiesByStaffIdStaffAvailabilities.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - day = dayOfWeekDeserializer(json['day']), - slot = availabilitySlotDeserializer(json['slot']), - status = availabilityStatusDeserializer(json['status']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - staff = ListStaffAvailabilitiesByStaffIdStaffAvailabilitiesStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffAvailabilitiesByStaffIdStaffAvailabilities otherTyped = other as ListStaffAvailabilitiesByStaffIdStaffAvailabilities; - return id == otherTyped.id && - staffId == otherTyped.staffId && - day == otherTyped.day && - slot == otherTyped.slot && - status == otherTyped.status && - notes == otherTyped.notes && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, day.hashCode, slot.hashCode, status.hashCode, notes.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['day'] = - dayOfWeekSerializer(day) - ; - json['slot'] = - availabilitySlotSerializer(slot) - ; - json['status'] = - availabilityStatusSerializer(status) - ; - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['staff'] = staff.toJson(); - return json; - } - - ListStaffAvailabilitiesByStaffIdStaffAvailabilities({ - required this.id, - required this.staffId, - required this.day, - required this.slot, - required this.status, - this.notes, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.staff, - }); -} - -@immutable -class ListStaffAvailabilitiesByStaffIdStaffAvailabilitiesStaff { - final String id; - final String fullName; - ListStaffAvailabilitiesByStaffIdStaffAvailabilitiesStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffAvailabilitiesByStaffIdStaffAvailabilitiesStaff otherTyped = other as ListStaffAvailabilitiesByStaffIdStaffAvailabilitiesStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - ListStaffAvailabilitiesByStaffIdStaffAvailabilitiesStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class ListStaffAvailabilitiesByStaffIdData { - final List staffAvailabilities; - ListStaffAvailabilitiesByStaffIdData.fromJson(dynamic json): - - staffAvailabilities = (json['staffAvailabilities'] as List) - .map((e) => ListStaffAvailabilitiesByStaffIdStaffAvailabilities.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffAvailabilitiesByStaffIdData otherTyped = other as ListStaffAvailabilitiesByStaffIdData; - return staffAvailabilities == otherTyped.staffAvailabilities; - - } - @override - int get hashCode => staffAvailabilities.hashCode; - - - Map toJson() { - Map json = {}; - json['staffAvailabilities'] = staffAvailabilities.map((e) => e.toJson()).toList(); - return json; - } - - ListStaffAvailabilitiesByStaffIdData({ - required this.staffAvailabilities, - }); -} - -@immutable -class ListStaffAvailabilitiesByStaffIdVariables { - final String staffId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListStaffAvailabilitiesByStaffIdVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffAvailabilitiesByStaffIdVariables otherTyped = other as ListStaffAvailabilitiesByStaffIdVariables; - return staffId == otherTyped.staffId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListStaffAvailabilitiesByStaffIdVariables({ - required this.staffId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_availability_stats.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_availability_stats.dart deleted file mode 100644 index 0dd30a2b..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_availability_stats.dart +++ /dev/null @@ -1,269 +0,0 @@ -part of 'generated.dart'; - -class ListStaffAvailabilityStatsVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - ListStaffAvailabilityStatsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffAvailabilityStatsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListStaffAvailabilityStatsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListStaffAvailabilityStatsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListStaffAvailabilityStatsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListStaffAvailabilityStatsVariables vars= ListStaffAvailabilityStatsVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("listStaffAvailabilityStats", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListStaffAvailabilityStatsStaffAvailabilityStatss { - final String id; - final String staffId; - final int? needWorkIndex; - final int? utilizationPercentage; - final int? predictedAvailabilityScore; - final int? scheduledHoursThisPeriod; - final int? desiredHoursThisPeriod; - final Timestamp? lastShiftDate; - final int? acceptanceRate; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListStaffAvailabilityStatsStaffAvailabilityStatssStaff staff; - ListStaffAvailabilityStatsStaffAvailabilityStatss.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - needWorkIndex = json['needWorkIndex'] == null ? null : nativeFromJson(json['needWorkIndex']), - utilizationPercentage = json['utilizationPercentage'] == null ? null : nativeFromJson(json['utilizationPercentage']), - predictedAvailabilityScore = json['predictedAvailabilityScore'] == null ? null : nativeFromJson(json['predictedAvailabilityScore']), - scheduledHoursThisPeriod = json['scheduledHoursThisPeriod'] == null ? null : nativeFromJson(json['scheduledHoursThisPeriod']), - desiredHoursThisPeriod = json['desiredHoursThisPeriod'] == null ? null : nativeFromJson(json['desiredHoursThisPeriod']), - lastShiftDate = json['lastShiftDate'] == null ? null : Timestamp.fromJson(json['lastShiftDate']), - acceptanceRate = json['acceptanceRate'] == null ? null : nativeFromJson(json['acceptanceRate']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - staff = ListStaffAvailabilityStatsStaffAvailabilityStatssStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffAvailabilityStatsStaffAvailabilityStatss otherTyped = other as ListStaffAvailabilityStatsStaffAvailabilityStatss; - return id == otherTyped.id && - staffId == otherTyped.staffId && - needWorkIndex == otherTyped.needWorkIndex && - utilizationPercentage == otherTyped.utilizationPercentage && - predictedAvailabilityScore == otherTyped.predictedAvailabilityScore && - scheduledHoursThisPeriod == otherTyped.scheduledHoursThisPeriod && - desiredHoursThisPeriod == otherTyped.desiredHoursThisPeriod && - lastShiftDate == otherTyped.lastShiftDate && - acceptanceRate == otherTyped.acceptanceRate && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, needWorkIndex.hashCode, utilizationPercentage.hashCode, predictedAvailabilityScore.hashCode, scheduledHoursThisPeriod.hashCode, desiredHoursThisPeriod.hashCode, lastShiftDate.hashCode, acceptanceRate.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - if (needWorkIndex != null) { - json['needWorkIndex'] = nativeToJson(needWorkIndex); - } - if (utilizationPercentage != null) { - json['utilizationPercentage'] = nativeToJson(utilizationPercentage); - } - if (predictedAvailabilityScore != null) { - json['predictedAvailabilityScore'] = nativeToJson(predictedAvailabilityScore); - } - if (scheduledHoursThisPeriod != null) { - json['scheduledHoursThisPeriod'] = nativeToJson(scheduledHoursThisPeriod); - } - if (desiredHoursThisPeriod != null) { - json['desiredHoursThisPeriod'] = nativeToJson(desiredHoursThisPeriod); - } - if (lastShiftDate != null) { - json['lastShiftDate'] = lastShiftDate!.toJson(); - } - if (acceptanceRate != null) { - json['acceptanceRate'] = nativeToJson(acceptanceRate); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['staff'] = staff.toJson(); - return json; - } - - ListStaffAvailabilityStatsStaffAvailabilityStatss({ - required this.id, - required this.staffId, - this.needWorkIndex, - this.utilizationPercentage, - this.predictedAvailabilityScore, - this.scheduledHoursThisPeriod, - this.desiredHoursThisPeriod, - this.lastShiftDate, - this.acceptanceRate, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.staff, - }); -} - -@immutable -class ListStaffAvailabilityStatsStaffAvailabilityStatssStaff { - final String id; - final String fullName; - ListStaffAvailabilityStatsStaffAvailabilityStatssStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffAvailabilityStatsStaffAvailabilityStatssStaff otherTyped = other as ListStaffAvailabilityStatsStaffAvailabilityStatssStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - ListStaffAvailabilityStatsStaffAvailabilityStatssStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class ListStaffAvailabilityStatsData { - final List staffAvailabilityStatss; - ListStaffAvailabilityStatsData.fromJson(dynamic json): - - staffAvailabilityStatss = (json['staffAvailabilityStatss'] as List) - .map((e) => ListStaffAvailabilityStatsStaffAvailabilityStatss.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffAvailabilityStatsData otherTyped = other as ListStaffAvailabilityStatsData; - return staffAvailabilityStatss == otherTyped.staffAvailabilityStatss; - - } - @override - int get hashCode => staffAvailabilityStatss.hashCode; - - - Map toJson() { - Map json = {}; - json['staffAvailabilityStatss'] = staffAvailabilityStatss.map((e) => e.toJson()).toList(); - return json; - } - - ListStaffAvailabilityStatsData({ - required this.staffAvailabilityStatss, - }); -} - -@immutable -class ListStaffAvailabilityStatsVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListStaffAvailabilityStatsVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffAvailabilityStatsVariables otherTyped = other as ListStaffAvailabilityStatsVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListStaffAvailabilityStatsVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_courses_by_course_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_courses_by_course_id.dart deleted file mode 100644 index 700007e5..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_courses_by_course_id.dart +++ /dev/null @@ -1,216 +0,0 @@ -part of 'generated.dart'; - -class ListStaffCoursesByCourseIdVariablesBuilder { - String courseId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListStaffCoursesByCourseIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffCoursesByCourseIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListStaffCoursesByCourseIdVariablesBuilder(this._dataConnect, {required this.courseId,}); - Deserializer dataDeserializer = (dynamic json) => ListStaffCoursesByCourseIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListStaffCoursesByCourseIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListStaffCoursesByCourseIdVariables vars= ListStaffCoursesByCourseIdVariables(courseId: courseId,offset: _offset,limit: _limit,); - return _dataConnect.query("listStaffCoursesByCourseId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListStaffCoursesByCourseIdStaffCourses { - final String id; - final String staffId; - final String courseId; - final int? progressPercent; - final bool? completed; - final Timestamp? completedAt; - final Timestamp? startedAt; - final Timestamp? lastAccessedAt; - final Timestamp? createdAt; - final Timestamp? updatedAt; - ListStaffCoursesByCourseIdStaffCourses.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - courseId = nativeFromJson(json['courseId']), - progressPercent = json['progressPercent'] == null ? null : nativeFromJson(json['progressPercent']), - completed = json['completed'] == null ? null : nativeFromJson(json['completed']), - completedAt = json['completedAt'] == null ? null : Timestamp.fromJson(json['completedAt']), - startedAt = json['startedAt'] == null ? null : Timestamp.fromJson(json['startedAt']), - lastAccessedAt = json['lastAccessedAt'] == null ? null : Timestamp.fromJson(json['lastAccessedAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffCoursesByCourseIdStaffCourses otherTyped = other as ListStaffCoursesByCourseIdStaffCourses; - return id == otherTyped.id && - staffId == otherTyped.staffId && - courseId == otherTyped.courseId && - progressPercent == otherTyped.progressPercent && - completed == otherTyped.completed && - completedAt == otherTyped.completedAt && - startedAt == otherTyped.startedAt && - lastAccessedAt == otherTyped.lastAccessedAt && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, courseId.hashCode, progressPercent.hashCode, completed.hashCode, completedAt.hashCode, startedAt.hashCode, lastAccessedAt.hashCode, createdAt.hashCode, updatedAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['courseId'] = nativeToJson(courseId); - if (progressPercent != null) { - json['progressPercent'] = nativeToJson(progressPercent); - } - if (completed != null) { - json['completed'] = nativeToJson(completed); - } - if (completedAt != null) { - json['completedAt'] = completedAt!.toJson(); - } - if (startedAt != null) { - json['startedAt'] = startedAt!.toJson(); - } - if (lastAccessedAt != null) { - json['lastAccessedAt'] = lastAccessedAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - return json; - } - - ListStaffCoursesByCourseIdStaffCourses({ - required this.id, - required this.staffId, - required this.courseId, - this.progressPercent, - this.completed, - this.completedAt, - this.startedAt, - this.lastAccessedAt, - this.createdAt, - this.updatedAt, - }); -} - -@immutable -class ListStaffCoursesByCourseIdData { - final List staffCourses; - ListStaffCoursesByCourseIdData.fromJson(dynamic json): - - staffCourses = (json['staffCourses'] as List) - .map((e) => ListStaffCoursesByCourseIdStaffCourses.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffCoursesByCourseIdData otherTyped = other as ListStaffCoursesByCourseIdData; - return staffCourses == otherTyped.staffCourses; - - } - @override - int get hashCode => staffCourses.hashCode; - - - Map toJson() { - Map json = {}; - json['staffCourses'] = staffCourses.map((e) => e.toJson()).toList(); - return json; - } - - ListStaffCoursesByCourseIdData({ - required this.staffCourses, - }); -} - -@immutable -class ListStaffCoursesByCourseIdVariables { - final String courseId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListStaffCoursesByCourseIdVariables.fromJson(Map json): - - courseId = nativeFromJson(json['courseId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffCoursesByCourseIdVariables otherTyped = other as ListStaffCoursesByCourseIdVariables; - return courseId == otherTyped.courseId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([courseId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['courseId'] = nativeToJson(courseId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListStaffCoursesByCourseIdVariables({ - required this.courseId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_courses_by_staff_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_courses_by_staff_id.dart deleted file mode 100644 index e2663e4a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_courses_by_staff_id.dart +++ /dev/null @@ -1,216 +0,0 @@ -part of 'generated.dart'; - -class ListStaffCoursesByStaffIdVariablesBuilder { - String staffId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListStaffCoursesByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffCoursesByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListStaffCoursesByStaffIdVariablesBuilder(this._dataConnect, {required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => ListStaffCoursesByStaffIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListStaffCoursesByStaffIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListStaffCoursesByStaffIdVariables vars= ListStaffCoursesByStaffIdVariables(staffId: staffId,offset: _offset,limit: _limit,); - return _dataConnect.query("listStaffCoursesByStaffId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListStaffCoursesByStaffIdStaffCourses { - final String id; - final String staffId; - final String courseId; - final int? progressPercent; - final bool? completed; - final Timestamp? completedAt; - final Timestamp? startedAt; - final Timestamp? lastAccessedAt; - final Timestamp? createdAt; - final Timestamp? updatedAt; - ListStaffCoursesByStaffIdStaffCourses.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - courseId = nativeFromJson(json['courseId']), - progressPercent = json['progressPercent'] == null ? null : nativeFromJson(json['progressPercent']), - completed = json['completed'] == null ? null : nativeFromJson(json['completed']), - completedAt = json['completedAt'] == null ? null : Timestamp.fromJson(json['completedAt']), - startedAt = json['startedAt'] == null ? null : Timestamp.fromJson(json['startedAt']), - lastAccessedAt = json['lastAccessedAt'] == null ? null : Timestamp.fromJson(json['lastAccessedAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffCoursesByStaffIdStaffCourses otherTyped = other as ListStaffCoursesByStaffIdStaffCourses; - return id == otherTyped.id && - staffId == otherTyped.staffId && - courseId == otherTyped.courseId && - progressPercent == otherTyped.progressPercent && - completed == otherTyped.completed && - completedAt == otherTyped.completedAt && - startedAt == otherTyped.startedAt && - lastAccessedAt == otherTyped.lastAccessedAt && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, courseId.hashCode, progressPercent.hashCode, completed.hashCode, completedAt.hashCode, startedAt.hashCode, lastAccessedAt.hashCode, createdAt.hashCode, updatedAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['courseId'] = nativeToJson(courseId); - if (progressPercent != null) { - json['progressPercent'] = nativeToJson(progressPercent); - } - if (completed != null) { - json['completed'] = nativeToJson(completed); - } - if (completedAt != null) { - json['completedAt'] = completedAt!.toJson(); - } - if (startedAt != null) { - json['startedAt'] = startedAt!.toJson(); - } - if (lastAccessedAt != null) { - json['lastAccessedAt'] = lastAccessedAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - return json; - } - - ListStaffCoursesByStaffIdStaffCourses({ - required this.id, - required this.staffId, - required this.courseId, - this.progressPercent, - this.completed, - this.completedAt, - this.startedAt, - this.lastAccessedAt, - this.createdAt, - this.updatedAt, - }); -} - -@immutable -class ListStaffCoursesByStaffIdData { - final List staffCourses; - ListStaffCoursesByStaffIdData.fromJson(dynamic json): - - staffCourses = (json['staffCourses'] as List) - .map((e) => ListStaffCoursesByStaffIdStaffCourses.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffCoursesByStaffIdData otherTyped = other as ListStaffCoursesByStaffIdData; - return staffCourses == otherTyped.staffCourses; - - } - @override - int get hashCode => staffCourses.hashCode; - - - Map toJson() { - Map json = {}; - json['staffCourses'] = staffCourses.map((e) => e.toJson()).toList(); - return json; - } - - ListStaffCoursesByStaffIdData({ - required this.staffCourses, - }); -} - -@immutable -class ListStaffCoursesByStaffIdVariables { - final String staffId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListStaffCoursesByStaffIdVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffCoursesByStaffIdVariables otherTyped = other as ListStaffCoursesByStaffIdVariables; - return staffId == otherTyped.staffId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListStaffCoursesByStaffIdVariables({ - required this.staffId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_documents_by_document_type.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_documents_by_document_type.dart deleted file mode 100644 index 8f47e917..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_documents_by_document_type.dart +++ /dev/null @@ -1,246 +0,0 @@ -part of 'generated.dart'; - -class ListStaffDocumentsByDocumentTypeVariablesBuilder { - DocumentType documentType; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListStaffDocumentsByDocumentTypeVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffDocumentsByDocumentTypeVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListStaffDocumentsByDocumentTypeVariablesBuilder(this._dataConnect, {required this.documentType,}); - Deserializer dataDeserializer = (dynamic json) => ListStaffDocumentsByDocumentTypeData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListStaffDocumentsByDocumentTypeVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListStaffDocumentsByDocumentTypeVariables vars= ListStaffDocumentsByDocumentTypeVariables(documentType: documentType,offset: _offset,limit: _limit,); - return _dataConnect.query("listStaffDocumentsByDocumentType", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListStaffDocumentsByDocumentTypeStaffDocuments { - final String id; - final String staffId; - final String staffName; - final String documentId; - final EnumValue status; - final String? documentUrl; - final Timestamp? expiryDate; - final ListStaffDocumentsByDocumentTypeStaffDocumentsDocument document; - ListStaffDocumentsByDocumentTypeStaffDocuments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - staffName = nativeFromJson(json['staffName']), - documentId = nativeFromJson(json['documentId']), - status = documentStatusDeserializer(json['status']), - documentUrl = json['documentUrl'] == null ? null : nativeFromJson(json['documentUrl']), - expiryDate = json['expiryDate'] == null ? null : Timestamp.fromJson(json['expiryDate']), - document = ListStaffDocumentsByDocumentTypeStaffDocumentsDocument.fromJson(json['document']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffDocumentsByDocumentTypeStaffDocuments otherTyped = other as ListStaffDocumentsByDocumentTypeStaffDocuments; - return id == otherTyped.id && - staffId == otherTyped.staffId && - staffName == otherTyped.staffName && - documentId == otherTyped.documentId && - status == otherTyped.status && - documentUrl == otherTyped.documentUrl && - expiryDate == otherTyped.expiryDate && - document == otherTyped.document; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, staffName.hashCode, documentId.hashCode, status.hashCode, documentUrl.hashCode, expiryDate.hashCode, document.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['staffName'] = nativeToJson(staffName); - json['documentId'] = nativeToJson(documentId); - json['status'] = - documentStatusSerializer(status) - ; - if (documentUrl != null) { - json['documentUrl'] = nativeToJson(documentUrl); - } - if (expiryDate != null) { - json['expiryDate'] = expiryDate!.toJson(); - } - json['document'] = document.toJson(); - return json; - } - - ListStaffDocumentsByDocumentTypeStaffDocuments({ - required this.id, - required this.staffId, - required this.staffName, - required this.documentId, - required this.status, - this.documentUrl, - this.expiryDate, - required this.document, - }); -} - -@immutable -class ListStaffDocumentsByDocumentTypeStaffDocumentsDocument { - final String id; - final String name; - final EnumValue documentType; - ListStaffDocumentsByDocumentTypeStaffDocumentsDocument.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - documentType = documentTypeDeserializer(json['documentType']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffDocumentsByDocumentTypeStaffDocumentsDocument otherTyped = other as ListStaffDocumentsByDocumentTypeStaffDocumentsDocument; - return id == otherTyped.id && - name == otherTyped.name && - documentType == otherTyped.documentType; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, documentType.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['documentType'] = - documentTypeSerializer(documentType) - ; - return json; - } - - ListStaffDocumentsByDocumentTypeStaffDocumentsDocument({ - required this.id, - required this.name, - required this.documentType, - }); -} - -@immutable -class ListStaffDocumentsByDocumentTypeData { - final List staffDocuments; - ListStaffDocumentsByDocumentTypeData.fromJson(dynamic json): - - staffDocuments = (json['staffDocuments'] as List) - .map((e) => ListStaffDocumentsByDocumentTypeStaffDocuments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffDocumentsByDocumentTypeData otherTyped = other as ListStaffDocumentsByDocumentTypeData; - return staffDocuments == otherTyped.staffDocuments; - - } - @override - int get hashCode => staffDocuments.hashCode; - - - Map toJson() { - Map json = {}; - json['staffDocuments'] = staffDocuments.map((e) => e.toJson()).toList(); - return json; - } - - ListStaffDocumentsByDocumentTypeData({ - required this.staffDocuments, - }); -} - -@immutable -class ListStaffDocumentsByDocumentTypeVariables { - final DocumentType documentType; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListStaffDocumentsByDocumentTypeVariables.fromJson(Map json): - - documentType = DocumentType.values.byName(json['documentType']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffDocumentsByDocumentTypeVariables otherTyped = other as ListStaffDocumentsByDocumentTypeVariables; - return documentType == otherTyped.documentType && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([documentType.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['documentType'] = - documentType.name - ; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListStaffDocumentsByDocumentTypeVariables({ - required this.documentType, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_documents_by_staff_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_documents_by_staff_id.dart deleted file mode 100644 index 2d5d2155..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_documents_by_staff_id.dart +++ /dev/null @@ -1,258 +0,0 @@ -part of 'generated.dart'; - -class ListStaffDocumentsByStaffIdVariablesBuilder { - String staffId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListStaffDocumentsByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffDocumentsByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListStaffDocumentsByStaffIdVariablesBuilder(this._dataConnect, {required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => ListStaffDocumentsByStaffIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListStaffDocumentsByStaffIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListStaffDocumentsByStaffIdVariables vars= ListStaffDocumentsByStaffIdVariables(staffId: staffId,offset: _offset,limit: _limit,); - return _dataConnect.query("listStaffDocumentsByStaffId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListStaffDocumentsByStaffIdStaffDocuments { - final String id; - final String staffId; - final String staffName; - final String documentId; - final EnumValue status; - final String? documentUrl; - final Timestamp? expiryDate; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final ListStaffDocumentsByStaffIdStaffDocumentsDocument document; - ListStaffDocumentsByStaffIdStaffDocuments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - staffName = nativeFromJson(json['staffName']), - documentId = nativeFromJson(json['documentId']), - status = documentStatusDeserializer(json['status']), - documentUrl = json['documentUrl'] == null ? null : nativeFromJson(json['documentUrl']), - expiryDate = json['expiryDate'] == null ? null : Timestamp.fromJson(json['expiryDate']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - document = ListStaffDocumentsByStaffIdStaffDocumentsDocument.fromJson(json['document']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffDocumentsByStaffIdStaffDocuments otherTyped = other as ListStaffDocumentsByStaffIdStaffDocuments; - return id == otherTyped.id && - staffId == otherTyped.staffId && - staffName == otherTyped.staffName && - documentId == otherTyped.documentId && - status == otherTyped.status && - documentUrl == otherTyped.documentUrl && - expiryDate == otherTyped.expiryDate && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - document == otherTyped.document; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, staffName.hashCode, documentId.hashCode, status.hashCode, documentUrl.hashCode, expiryDate.hashCode, createdAt.hashCode, updatedAt.hashCode, document.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['staffName'] = nativeToJson(staffName); - json['documentId'] = nativeToJson(documentId); - json['status'] = - documentStatusSerializer(status) - ; - if (documentUrl != null) { - json['documentUrl'] = nativeToJson(documentUrl); - } - if (expiryDate != null) { - json['expiryDate'] = expiryDate!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - json['document'] = document.toJson(); - return json; - } - - ListStaffDocumentsByStaffIdStaffDocuments({ - required this.id, - required this.staffId, - required this.staffName, - required this.documentId, - required this.status, - this.documentUrl, - this.expiryDate, - this.createdAt, - this.updatedAt, - required this.document, - }); -} - -@immutable -class ListStaffDocumentsByStaffIdStaffDocumentsDocument { - final String id; - final String name; - final EnumValue documentType; - ListStaffDocumentsByStaffIdStaffDocumentsDocument.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - documentType = documentTypeDeserializer(json['documentType']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffDocumentsByStaffIdStaffDocumentsDocument otherTyped = other as ListStaffDocumentsByStaffIdStaffDocumentsDocument; - return id == otherTyped.id && - name == otherTyped.name && - documentType == otherTyped.documentType; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, documentType.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['documentType'] = - documentTypeSerializer(documentType) - ; - return json; - } - - ListStaffDocumentsByStaffIdStaffDocumentsDocument({ - required this.id, - required this.name, - required this.documentType, - }); -} - -@immutable -class ListStaffDocumentsByStaffIdData { - final List staffDocuments; - ListStaffDocumentsByStaffIdData.fromJson(dynamic json): - - staffDocuments = (json['staffDocuments'] as List) - .map((e) => ListStaffDocumentsByStaffIdStaffDocuments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffDocumentsByStaffIdData otherTyped = other as ListStaffDocumentsByStaffIdData; - return staffDocuments == otherTyped.staffDocuments; - - } - @override - int get hashCode => staffDocuments.hashCode; - - - Map toJson() { - Map json = {}; - json['staffDocuments'] = staffDocuments.map((e) => e.toJson()).toList(); - return json; - } - - ListStaffDocumentsByStaffIdData({ - required this.staffDocuments, - }); -} - -@immutable -class ListStaffDocumentsByStaffIdVariables { - final String staffId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListStaffDocumentsByStaffIdVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffDocumentsByStaffIdVariables otherTyped = other as ListStaffDocumentsByStaffIdVariables; - return staffId == otherTyped.staffId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListStaffDocumentsByStaffIdVariables({ - required this.staffId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_documents_by_status.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_documents_by_status.dart deleted file mode 100644 index 1bb9e23f..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_documents_by_status.dart +++ /dev/null @@ -1,246 +0,0 @@ -part of 'generated.dart'; - -class ListStaffDocumentsByStatusVariablesBuilder { - DocumentStatus status; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListStaffDocumentsByStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffDocumentsByStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListStaffDocumentsByStatusVariablesBuilder(this._dataConnect, {required this.status,}); - Deserializer dataDeserializer = (dynamic json) => ListStaffDocumentsByStatusData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListStaffDocumentsByStatusVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListStaffDocumentsByStatusVariables vars= ListStaffDocumentsByStatusVariables(status: status,offset: _offset,limit: _limit,); - return _dataConnect.query("listStaffDocumentsByStatus", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListStaffDocumentsByStatusStaffDocuments { - final String id; - final String staffId; - final String staffName; - final String documentId; - final EnumValue status; - final String? documentUrl; - final Timestamp? expiryDate; - final ListStaffDocumentsByStatusStaffDocumentsDocument document; - ListStaffDocumentsByStatusStaffDocuments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - staffName = nativeFromJson(json['staffName']), - documentId = nativeFromJson(json['documentId']), - status = documentStatusDeserializer(json['status']), - documentUrl = json['documentUrl'] == null ? null : nativeFromJson(json['documentUrl']), - expiryDate = json['expiryDate'] == null ? null : Timestamp.fromJson(json['expiryDate']), - document = ListStaffDocumentsByStatusStaffDocumentsDocument.fromJson(json['document']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffDocumentsByStatusStaffDocuments otherTyped = other as ListStaffDocumentsByStatusStaffDocuments; - return id == otherTyped.id && - staffId == otherTyped.staffId && - staffName == otherTyped.staffName && - documentId == otherTyped.documentId && - status == otherTyped.status && - documentUrl == otherTyped.documentUrl && - expiryDate == otherTyped.expiryDate && - document == otherTyped.document; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, staffName.hashCode, documentId.hashCode, status.hashCode, documentUrl.hashCode, expiryDate.hashCode, document.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['staffName'] = nativeToJson(staffName); - json['documentId'] = nativeToJson(documentId); - json['status'] = - documentStatusSerializer(status) - ; - if (documentUrl != null) { - json['documentUrl'] = nativeToJson(documentUrl); - } - if (expiryDate != null) { - json['expiryDate'] = expiryDate!.toJson(); - } - json['document'] = document.toJson(); - return json; - } - - ListStaffDocumentsByStatusStaffDocuments({ - required this.id, - required this.staffId, - required this.staffName, - required this.documentId, - required this.status, - this.documentUrl, - this.expiryDate, - required this.document, - }); -} - -@immutable -class ListStaffDocumentsByStatusStaffDocumentsDocument { - final String id; - final String name; - final EnumValue documentType; - ListStaffDocumentsByStatusStaffDocumentsDocument.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - documentType = documentTypeDeserializer(json['documentType']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffDocumentsByStatusStaffDocumentsDocument otherTyped = other as ListStaffDocumentsByStatusStaffDocumentsDocument; - return id == otherTyped.id && - name == otherTyped.name && - documentType == otherTyped.documentType; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, documentType.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['documentType'] = - documentTypeSerializer(documentType) - ; - return json; - } - - ListStaffDocumentsByStatusStaffDocumentsDocument({ - required this.id, - required this.name, - required this.documentType, - }); -} - -@immutable -class ListStaffDocumentsByStatusData { - final List staffDocuments; - ListStaffDocumentsByStatusData.fromJson(dynamic json): - - staffDocuments = (json['staffDocuments'] as List) - .map((e) => ListStaffDocumentsByStatusStaffDocuments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffDocumentsByStatusData otherTyped = other as ListStaffDocumentsByStatusData; - return staffDocuments == otherTyped.staffDocuments; - - } - @override - int get hashCode => staffDocuments.hashCode; - - - Map toJson() { - Map json = {}; - json['staffDocuments'] = staffDocuments.map((e) => e.toJson()).toList(); - return json; - } - - ListStaffDocumentsByStatusData({ - required this.staffDocuments, - }); -} - -@immutable -class ListStaffDocumentsByStatusVariables { - final DocumentStatus status; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListStaffDocumentsByStatusVariables.fromJson(Map json): - - status = DocumentStatus.values.byName(json['status']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffDocumentsByStatusVariables otherTyped = other as ListStaffDocumentsByStatusVariables; - return status == otherTyped.status && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([status.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['status'] = - status.name - ; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListStaffDocumentsByStatusVariables({ - required this.status, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_for_no_show_report.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_for_no_show_report.dart deleted file mode 100644 index e111c216..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_for_no_show_report.dart +++ /dev/null @@ -1,145 +0,0 @@ -part of 'generated.dart'; - -class ListStaffForNoShowReportVariablesBuilder { - List staffIds; - - final FirebaseDataConnect _dataConnect; - ListStaffForNoShowReportVariablesBuilder(this._dataConnect, {required this.staffIds,}); - Deserializer dataDeserializer = (dynamic json) => ListStaffForNoShowReportData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListStaffForNoShowReportVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListStaffForNoShowReportVariables vars= ListStaffForNoShowReportVariables(staffIds: staffIds,); - return _dataConnect.query("listStaffForNoShowReport", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListStaffForNoShowReportStaffs { - final String id; - final String fullName; - final int? noShowCount; - final int? reliabilityScore; - ListStaffForNoShowReportStaffs.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']), - noShowCount = json['noShowCount'] == null ? null : nativeFromJson(json['noShowCount']), - reliabilityScore = json['reliabilityScore'] == null ? null : nativeFromJson(json['reliabilityScore']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffForNoShowReportStaffs otherTyped = other as ListStaffForNoShowReportStaffs; - return id == otherTyped.id && - fullName == otherTyped.fullName && - noShowCount == otherTyped.noShowCount && - reliabilityScore == otherTyped.reliabilityScore; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode, noShowCount.hashCode, reliabilityScore.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - if (noShowCount != null) { - json['noShowCount'] = nativeToJson(noShowCount); - } - if (reliabilityScore != null) { - json['reliabilityScore'] = nativeToJson(reliabilityScore); - } - return json; - } - - ListStaffForNoShowReportStaffs({ - required this.id, - required this.fullName, - this.noShowCount, - this.reliabilityScore, - }); -} - -@immutable -class ListStaffForNoShowReportData { - final List staffs; - ListStaffForNoShowReportData.fromJson(dynamic json): - - staffs = (json['staffs'] as List) - .map((e) => ListStaffForNoShowReportStaffs.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffForNoShowReportData otherTyped = other as ListStaffForNoShowReportData; - return staffs == otherTyped.staffs; - - } - @override - int get hashCode => staffs.hashCode; - - - Map toJson() { - Map json = {}; - json['staffs'] = staffs.map((e) => e.toJson()).toList(); - return json; - } - - ListStaffForNoShowReportData({ - required this.staffs, - }); -} - -@immutable -class ListStaffForNoShowReportVariables { - final List staffIds; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListStaffForNoShowReportVariables.fromJson(Map json): - - staffIds = (json['staffIds'] as List) - .map((e) => nativeFromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffForNoShowReportVariables otherTyped = other as ListStaffForNoShowReportVariables; - return staffIds == otherTyped.staffIds; - - } - @override - int get hashCode => staffIds.hashCode; - - - Map toJson() { - Map json = {}; - json['staffIds'] = staffIds.map((e) => nativeToJson(e)).toList(); - return json; - } - - ListStaffForNoShowReportVariables({ - required this.staffIds, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_for_performance.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_for_performance.dart deleted file mode 100644 index 65ed71a9..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_for_performance.dart +++ /dev/null @@ -1,154 +0,0 @@ -part of 'generated.dart'; - -class ListStaffForPerformanceVariablesBuilder { - List staffIds; - - final FirebaseDataConnect _dataConnect; - ListStaffForPerformanceVariablesBuilder(this._dataConnect, {required this.staffIds,}); - Deserializer dataDeserializer = (dynamic json) => ListStaffForPerformanceData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListStaffForPerformanceVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListStaffForPerformanceVariables vars= ListStaffForPerformanceVariables(staffIds: staffIds,); - return _dataConnect.query("listStaffForPerformance", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListStaffForPerformanceStaffs { - final String id; - final double? averageRating; - final int? onTimeRate; - final int? noShowCount; - final int? reliabilityScore; - ListStaffForPerformanceStaffs.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - averageRating = json['averageRating'] == null ? null : nativeFromJson(json['averageRating']), - onTimeRate = json['onTimeRate'] == null ? null : nativeFromJson(json['onTimeRate']), - noShowCount = json['noShowCount'] == null ? null : nativeFromJson(json['noShowCount']), - reliabilityScore = json['reliabilityScore'] == null ? null : nativeFromJson(json['reliabilityScore']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffForPerformanceStaffs otherTyped = other as ListStaffForPerformanceStaffs; - return id == otherTyped.id && - averageRating == otherTyped.averageRating && - onTimeRate == otherTyped.onTimeRate && - noShowCount == otherTyped.noShowCount && - reliabilityScore == otherTyped.reliabilityScore; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, averageRating.hashCode, onTimeRate.hashCode, noShowCount.hashCode, reliabilityScore.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (averageRating != null) { - json['averageRating'] = nativeToJson(averageRating); - } - if (onTimeRate != null) { - json['onTimeRate'] = nativeToJson(onTimeRate); - } - if (noShowCount != null) { - json['noShowCount'] = nativeToJson(noShowCount); - } - if (reliabilityScore != null) { - json['reliabilityScore'] = nativeToJson(reliabilityScore); - } - return json; - } - - ListStaffForPerformanceStaffs({ - required this.id, - this.averageRating, - this.onTimeRate, - this.noShowCount, - this.reliabilityScore, - }); -} - -@immutable -class ListStaffForPerformanceData { - final List staffs; - ListStaffForPerformanceData.fromJson(dynamic json): - - staffs = (json['staffs'] as List) - .map((e) => ListStaffForPerformanceStaffs.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffForPerformanceData otherTyped = other as ListStaffForPerformanceData; - return staffs == otherTyped.staffs; - - } - @override - int get hashCode => staffs.hashCode; - - - Map toJson() { - Map json = {}; - json['staffs'] = staffs.map((e) => e.toJson()).toList(); - return json; - } - - ListStaffForPerformanceData({ - required this.staffs, - }); -} - -@immutable -class ListStaffForPerformanceVariables { - final List staffIds; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListStaffForPerformanceVariables.fromJson(Map json): - - staffIds = (json['staffIds'] as List) - .map((e) => nativeFromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffForPerformanceVariables otherTyped = other as ListStaffForPerformanceVariables; - return staffIds == otherTyped.staffIds; - - } - @override - int get hashCode => staffIds.hashCode; - - - Map toJson() { - Map json = {}; - json['staffIds'] = staffIds.map((e) => nativeToJson(e)).toList(); - return json; - } - - ListStaffForPerformanceVariables({ - required this.staffIds, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_roles.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_roles.dart deleted file mode 100644 index d8c9f919..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_roles.dart +++ /dev/null @@ -1,288 +0,0 @@ -part of 'generated.dart'; - -class ListStaffRolesVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - ListStaffRolesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffRolesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListStaffRolesVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListStaffRolesData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListStaffRolesVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListStaffRolesVariables vars= ListStaffRolesVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("listStaffRoles", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListStaffRolesStaffRoles { - final String id; - final String staffId; - final String roleId; - final Timestamp? createdAt; - final EnumValue? roleType; - final ListStaffRolesStaffRolesStaff staff; - final ListStaffRolesStaffRolesRole role; - ListStaffRolesStaffRoles.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - roleId = nativeFromJson(json['roleId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - roleType = json['roleType'] == null ? null : roleTypeDeserializer(json['roleType']), - staff = ListStaffRolesStaffRolesStaff.fromJson(json['staff']), - role = ListStaffRolesStaffRolesRole.fromJson(json['role']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffRolesStaffRoles otherTyped = other as ListStaffRolesStaffRoles; - return id == otherTyped.id && - staffId == otherTyped.staffId && - roleId == otherTyped.roleId && - createdAt == otherTyped.createdAt && - roleType == otherTyped.roleType && - staff == otherTyped.staff && - role == otherTyped.role; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, roleId.hashCode, createdAt.hashCode, roleType.hashCode, staff.hashCode, role.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['roleId'] = nativeToJson(roleId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (roleType != null) { - json['roleType'] = - roleTypeSerializer(roleType!) - ; - } - json['staff'] = staff.toJson(); - json['role'] = role.toJson(); - return json; - } - - ListStaffRolesStaffRoles({ - required this.id, - required this.staffId, - required this.roleId, - this.createdAt, - this.roleType, - required this.staff, - required this.role, - }); -} - -@immutable -class ListStaffRolesStaffRolesStaff { - final String id; - final String fullName; - final String userId; - final String? email; - final String? phone; - ListStaffRolesStaffRolesStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']), - userId = nativeFromJson(json['userId']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffRolesStaffRolesStaff otherTyped = other as ListStaffRolesStaffRolesStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName && - userId == otherTyped.userId && - email == otherTyped.email && - phone == otherTyped.phone; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode, userId.hashCode, email.hashCode, phone.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - json['userId'] = nativeToJson(userId); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - return json; - } - - ListStaffRolesStaffRolesStaff({ - required this.id, - required this.fullName, - required this.userId, - this.email, - this.phone, - }); -} - -@immutable -class ListStaffRolesStaffRolesRole { - final String id; - final String name; - final double costPerHour; - ListStaffRolesStaffRolesRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffRolesStaffRolesRole otherTyped = other as ListStaffRolesStaffRolesRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListStaffRolesStaffRolesRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class ListStaffRolesData { - final List staffRoles; - ListStaffRolesData.fromJson(dynamic json): - - staffRoles = (json['staffRoles'] as List) - .map((e) => ListStaffRolesStaffRoles.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffRolesData otherTyped = other as ListStaffRolesData; - return staffRoles == otherTyped.staffRoles; - - } - @override - int get hashCode => staffRoles.hashCode; - - - Map toJson() { - Map json = {}; - json['staffRoles'] = staffRoles.map((e) => e.toJson()).toList(); - return json; - } - - ListStaffRolesData({ - required this.staffRoles, - }); -} - -@immutable -class ListStaffRolesVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListStaffRolesVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffRolesVariables otherTyped = other as ListStaffRolesVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListStaffRolesVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_roles_by_role_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_roles_by_role_id.dart deleted file mode 100644 index 2796711c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_roles_by_role_id.dart +++ /dev/null @@ -1,246 +0,0 @@ -part of 'generated.dart'; - -class ListStaffRolesByRoleIdVariablesBuilder { - String roleId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListStaffRolesByRoleIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffRolesByRoleIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListStaffRolesByRoleIdVariablesBuilder(this._dataConnect, {required this.roleId,}); - Deserializer dataDeserializer = (dynamic json) => ListStaffRolesByRoleIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListStaffRolesByRoleIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListStaffRolesByRoleIdVariables vars= ListStaffRolesByRoleIdVariables(roleId: roleId,offset: _offset,limit: _limit,); - return _dataConnect.query("listStaffRolesByRoleId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListStaffRolesByRoleIdStaffRoles { - final String id; - final String staffId; - final String roleId; - final Timestamp? createdAt; - final EnumValue? roleType; - final ListStaffRolesByRoleIdStaffRolesStaff staff; - ListStaffRolesByRoleIdStaffRoles.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - roleId = nativeFromJson(json['roleId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - roleType = json['roleType'] == null ? null : roleTypeDeserializer(json['roleType']), - staff = ListStaffRolesByRoleIdStaffRolesStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffRolesByRoleIdStaffRoles otherTyped = other as ListStaffRolesByRoleIdStaffRoles; - return id == otherTyped.id && - staffId == otherTyped.staffId && - roleId == otherTyped.roleId && - createdAt == otherTyped.createdAt && - roleType == otherTyped.roleType && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, roleId.hashCode, createdAt.hashCode, roleType.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['roleId'] = nativeToJson(roleId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (roleType != null) { - json['roleType'] = - roleTypeSerializer(roleType!) - ; - } - json['staff'] = staff.toJson(); - return json; - } - - ListStaffRolesByRoleIdStaffRoles({ - required this.id, - required this.staffId, - required this.roleId, - this.createdAt, - this.roleType, - required this.staff, - }); -} - -@immutable -class ListStaffRolesByRoleIdStaffRolesStaff { - final String id; - final String fullName; - final String userId; - final String? email; - final String? phone; - ListStaffRolesByRoleIdStaffRolesStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']), - userId = nativeFromJson(json['userId']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffRolesByRoleIdStaffRolesStaff otherTyped = other as ListStaffRolesByRoleIdStaffRolesStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName && - userId == otherTyped.userId && - email == otherTyped.email && - phone == otherTyped.phone; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode, userId.hashCode, email.hashCode, phone.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - json['userId'] = nativeToJson(userId); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - return json; - } - - ListStaffRolesByRoleIdStaffRolesStaff({ - required this.id, - required this.fullName, - required this.userId, - this.email, - this.phone, - }); -} - -@immutable -class ListStaffRolesByRoleIdData { - final List staffRoles; - ListStaffRolesByRoleIdData.fromJson(dynamic json): - - staffRoles = (json['staffRoles'] as List) - .map((e) => ListStaffRolesByRoleIdStaffRoles.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffRolesByRoleIdData otherTyped = other as ListStaffRolesByRoleIdData; - return staffRoles == otherTyped.staffRoles; - - } - @override - int get hashCode => staffRoles.hashCode; - - - Map toJson() { - Map json = {}; - json['staffRoles'] = staffRoles.map((e) => e.toJson()).toList(); - return json; - } - - ListStaffRolesByRoleIdData({ - required this.staffRoles, - }); -} - -@immutable -class ListStaffRolesByRoleIdVariables { - final String roleId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListStaffRolesByRoleIdVariables.fromJson(Map json): - - roleId = nativeFromJson(json['roleId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffRolesByRoleIdVariables otherTyped = other as ListStaffRolesByRoleIdVariables; - return roleId == otherTyped.roleId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([roleId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['roleId'] = nativeToJson(roleId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListStaffRolesByRoleIdVariables({ - required this.roleId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_roles_by_staff_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_roles_by_staff_id.dart deleted file mode 100644 index 39248b02..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_staff_roles_by_staff_id.dart +++ /dev/null @@ -1,232 +0,0 @@ -part of 'generated.dart'; - -class ListStaffRolesByStaffIdVariablesBuilder { - String staffId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListStaffRolesByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffRolesByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListStaffRolesByStaffIdVariablesBuilder(this._dataConnect, {required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => ListStaffRolesByStaffIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListStaffRolesByStaffIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListStaffRolesByStaffIdVariables vars= ListStaffRolesByStaffIdVariables(staffId: staffId,offset: _offset,limit: _limit,); - return _dataConnect.query("listStaffRolesByStaffId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListStaffRolesByStaffIdStaffRoles { - final String id; - final String staffId; - final String roleId; - final Timestamp? createdAt; - final EnumValue? roleType; - final ListStaffRolesByStaffIdStaffRolesRole role; - ListStaffRolesByStaffIdStaffRoles.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - roleId = nativeFromJson(json['roleId']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - roleType = json['roleType'] == null ? null : roleTypeDeserializer(json['roleType']), - role = ListStaffRolesByStaffIdStaffRolesRole.fromJson(json['role']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffRolesByStaffIdStaffRoles otherTyped = other as ListStaffRolesByStaffIdStaffRoles; - return id == otherTyped.id && - staffId == otherTyped.staffId && - roleId == otherTyped.roleId && - createdAt == otherTyped.createdAt && - roleType == otherTyped.roleType && - role == otherTyped.role; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, roleId.hashCode, createdAt.hashCode, roleType.hashCode, role.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['roleId'] = nativeToJson(roleId); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (roleType != null) { - json['roleType'] = - roleTypeSerializer(roleType!) - ; - } - json['role'] = role.toJson(); - return json; - } - - ListStaffRolesByStaffIdStaffRoles({ - required this.id, - required this.staffId, - required this.roleId, - this.createdAt, - this.roleType, - required this.role, - }); -} - -@immutable -class ListStaffRolesByStaffIdStaffRolesRole { - final String id; - final String name; - final double costPerHour; - ListStaffRolesByStaffIdStaffRolesRole.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffRolesByStaffIdStaffRolesRole otherTyped = other as ListStaffRolesByStaffIdStaffRolesRole; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListStaffRolesByStaffIdStaffRolesRole({ - required this.id, - required this.name, - required this.costPerHour, - }); -} - -@immutable -class ListStaffRolesByStaffIdData { - final List staffRoles; - ListStaffRolesByStaffIdData.fromJson(dynamic json): - - staffRoles = (json['staffRoles'] as List) - .map((e) => ListStaffRolesByStaffIdStaffRoles.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffRolesByStaffIdData otherTyped = other as ListStaffRolesByStaffIdData; - return staffRoles == otherTyped.staffRoles; - - } - @override - int get hashCode => staffRoles.hashCode; - - - Map toJson() { - Map json = {}; - json['staffRoles'] = staffRoles.map((e) => e.toJson()).toList(); - return json; - } - - ListStaffRolesByStaffIdData({ - required this.staffRoles, - }); -} - -@immutable -class ListStaffRolesByStaffIdVariables { - final String staffId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListStaffRolesByStaffIdVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListStaffRolesByStaffIdVariables otherTyped = other as ListStaffRolesByStaffIdVariables; - return staffId == otherTyped.staffId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListStaffRolesByStaffIdVariables({ - required this.staffId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_task_comments.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_task_comments.dart deleted file mode 100644 index acf74e6b..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_task_comments.dart +++ /dev/null @@ -1,197 +0,0 @@ -part of 'generated.dart'; - -class ListTaskCommentsVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListTaskCommentsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListTaskCommentsData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listTaskComments", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListTaskCommentsTaskComments { - final String id; - final String taskId; - final String teamMemberId; - final String comment; - final bool isSystem; - final Timestamp? createdAt; - final ListTaskCommentsTaskCommentsTeamMember teamMember; - ListTaskCommentsTaskComments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - taskId = nativeFromJson(json['taskId']), - teamMemberId = nativeFromJson(json['teamMemberId']), - comment = nativeFromJson(json['comment']), - isSystem = nativeFromJson(json['isSystem']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - teamMember = ListTaskCommentsTaskCommentsTeamMember.fromJson(json['teamMember']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTaskCommentsTaskComments otherTyped = other as ListTaskCommentsTaskComments; - return id == otherTyped.id && - taskId == otherTyped.taskId && - teamMemberId == otherTyped.teamMemberId && - comment == otherTyped.comment && - isSystem == otherTyped.isSystem && - createdAt == otherTyped.createdAt && - teamMember == otherTyped.teamMember; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, taskId.hashCode, teamMemberId.hashCode, comment.hashCode, isSystem.hashCode, createdAt.hashCode, teamMember.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['taskId'] = nativeToJson(taskId); - json['teamMemberId'] = nativeToJson(teamMemberId); - json['comment'] = nativeToJson(comment); - json['isSystem'] = nativeToJson(isSystem); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['teamMember'] = teamMember.toJson(); - return json; - } - - ListTaskCommentsTaskComments({ - required this.id, - required this.taskId, - required this.teamMemberId, - required this.comment, - required this.isSystem, - this.createdAt, - required this.teamMember, - }); -} - -@immutable -class ListTaskCommentsTaskCommentsTeamMember { - final ListTaskCommentsTaskCommentsTeamMemberUser user; - ListTaskCommentsTaskCommentsTeamMember.fromJson(dynamic json): - - user = ListTaskCommentsTaskCommentsTeamMemberUser.fromJson(json['user']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTaskCommentsTaskCommentsTeamMember otherTyped = other as ListTaskCommentsTaskCommentsTeamMember; - return user == otherTyped.user; - - } - @override - int get hashCode => user.hashCode; - - - Map toJson() { - Map json = {}; - json['user'] = user.toJson(); - return json; - } - - ListTaskCommentsTaskCommentsTeamMember({ - required this.user, - }); -} - -@immutable -class ListTaskCommentsTaskCommentsTeamMemberUser { - final String? fullName; - final String? email; - ListTaskCommentsTaskCommentsTeamMemberUser.fromJson(dynamic json): - - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTaskCommentsTaskCommentsTeamMemberUser otherTyped = other as ListTaskCommentsTaskCommentsTeamMemberUser; - return fullName == otherTyped.fullName && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([fullName.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - ListTaskCommentsTaskCommentsTeamMemberUser({ - this.fullName, - this.email, - }); -} - -@immutable -class ListTaskCommentsData { - final List taskComments; - ListTaskCommentsData.fromJson(dynamic json): - - taskComments = (json['taskComments'] as List) - .map((e) => ListTaskCommentsTaskComments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTaskCommentsData otherTyped = other as ListTaskCommentsData; - return taskComments == otherTyped.taskComments; - - } - @override - int get hashCode => taskComments.hashCode; - - - Map toJson() { - Map json = {}; - json['taskComments'] = taskComments.map((e) => e.toJson()).toList(); - return json; - } - - ListTaskCommentsData({ - required this.taskComments, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_tasks.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_tasks.dart deleted file mode 100644 index 26fd9f29..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_tasks.dart +++ /dev/null @@ -1,177 +0,0 @@ -part of 'generated.dart'; - -class ListTasksVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListTasksVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListTasksData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listTasks", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListTasksTasks { - final String id; - final String taskName; - final String? description; - final EnumValue priority; - final EnumValue status; - final Timestamp? dueDate; - final int? progress; - final int? orderIndex; - final int? commentCount; - final int? attachmentCount; - final AnyValue? files; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - ListTasksTasks.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - taskName = nativeFromJson(json['taskName']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - priority = taskPriorityDeserializer(json['priority']), - status = taskStatusDeserializer(json['status']), - dueDate = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']), - progress = json['progress'] == null ? null : nativeFromJson(json['progress']), - orderIndex = json['orderIndex'] == null ? null : nativeFromJson(json['orderIndex']), - commentCount = json['commentCount'] == null ? null : nativeFromJson(json['commentCount']), - attachmentCount = json['attachmentCount'] == null ? null : nativeFromJson(json['attachmentCount']), - files = json['files'] == null ? null : AnyValue.fromJson(json['files']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTasksTasks otherTyped = other as ListTasksTasks; - return id == otherTyped.id && - taskName == otherTyped.taskName && - description == otherTyped.description && - priority == otherTyped.priority && - status == otherTyped.status && - dueDate == otherTyped.dueDate && - progress == otherTyped.progress && - orderIndex == otherTyped.orderIndex && - commentCount == otherTyped.commentCount && - attachmentCount == otherTyped.attachmentCount && - files == otherTyped.files && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, taskName.hashCode, description.hashCode, priority.hashCode, status.hashCode, dueDate.hashCode, progress.hashCode, orderIndex.hashCode, commentCount.hashCode, attachmentCount.hashCode, files.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['taskName'] = nativeToJson(taskName); - if (description != null) { - json['description'] = nativeToJson(description); - } - json['priority'] = - taskPrioritySerializer(priority) - ; - json['status'] = - taskStatusSerializer(status) - ; - if (dueDate != null) { - json['dueDate'] = dueDate!.toJson(); - } - if (progress != null) { - json['progress'] = nativeToJson(progress); - } - if (orderIndex != null) { - json['orderIndex'] = nativeToJson(orderIndex); - } - if (commentCount != null) { - json['commentCount'] = nativeToJson(commentCount); - } - if (attachmentCount != null) { - json['attachmentCount'] = nativeToJson(attachmentCount); - } - if (files != null) { - json['files'] = files!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - ListTasksTasks({ - required this.id, - required this.taskName, - this.description, - required this.priority, - required this.status, - this.dueDate, - this.progress, - this.orderIndex, - this.commentCount, - this.attachmentCount, - this.files, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class ListTasksData { - final List tasks; - ListTasksData.fromJson(dynamic json): - - tasks = (json['tasks'] as List) - .map((e) => ListTasksTasks.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTasksData otherTyped = other as ListTasksData; - return tasks == otherTyped.tasks; - - } - @override - int get hashCode => tasks.hashCode; - - - Map toJson() { - Map json = {}; - json['tasks'] = tasks.map((e) => e.toJson()).toList(); - return json; - } - - ListTasksData({ - required this.tasks, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_tax_forms.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_tax_forms.dart deleted file mode 100644 index 3884f7cd..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_tax_forms.dart +++ /dev/null @@ -1,154 +0,0 @@ -part of 'generated.dart'; - -class ListTaxFormsVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListTaxFormsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListTaxFormsData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listTaxForms", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListTaxFormsTaxForms { - final String id; - final EnumValue formType; - final String title; - final String? subtitle; - final String? description; - final EnumValue status; - final String staffId; - final AnyValue? formData; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - ListTaxFormsTaxForms.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - formType = taxFormTypeDeserializer(json['formType']), - title = nativeFromJson(json['title']), - subtitle = json['subtitle'] == null ? null : nativeFromJson(json['subtitle']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - status = taxFormStatusDeserializer(json['status']), - staffId = nativeFromJson(json['staffId']), - formData = json['formData'] == null ? null : AnyValue.fromJson(json['formData']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTaxFormsTaxForms otherTyped = other as ListTaxFormsTaxForms; - return id == otherTyped.id && - formType == otherTyped.formType && - title == otherTyped.title && - subtitle == otherTyped.subtitle && - description == otherTyped.description && - status == otherTyped.status && - staffId == otherTyped.staffId && - formData == otherTyped.formData && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, formType.hashCode, title.hashCode, subtitle.hashCode, description.hashCode, status.hashCode, staffId.hashCode, formData.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['formType'] = - taxFormTypeSerializer(formType) - ; - json['title'] = nativeToJson(title); - if (subtitle != null) { - json['subtitle'] = nativeToJson(subtitle); - } - if (description != null) { - json['description'] = nativeToJson(description); - } - json['status'] = - taxFormStatusSerializer(status) - ; - json['staffId'] = nativeToJson(staffId); - if (formData != null) { - json['formData'] = formData!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - ListTaxFormsTaxForms({ - required this.id, - required this.formType, - required this.title, - this.subtitle, - this.description, - required this.status, - required this.staffId, - this.formData, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class ListTaxFormsData { - final List taxForms; - ListTaxFormsData.fromJson(dynamic json): - - taxForms = (json['taxForms'] as List) - .map((e) => ListTaxFormsTaxForms.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTaxFormsData otherTyped = other as ListTaxFormsData; - return taxForms == otherTyped.taxForms; - - } - @override - int get hashCode => taxForms.hashCode; - - - Map toJson() { - Map json = {}; - json['taxForms'] = taxForms.map((e) => e.toJson()).toList(); - return json; - } - - ListTaxFormsData({ - required this.taxForms, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs.dart deleted file mode 100644 index c8d085b0..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs.dart +++ /dev/null @@ -1,156 +0,0 @@ -part of 'generated.dart'; - -class ListTeamHubsVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListTeamHubsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListTeamHubsData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listTeamHubs", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListTeamHubsTeamHubs { - final String id; - final String teamId; - final String hubName; - final String address; - final String city; - final String state; - final String zipCode; - final String managerName; - final bool isActive; - final AnyValue? departments; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - ListTeamHubsTeamHubs.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - teamId = nativeFromJson(json['teamId']), - hubName = nativeFromJson(json['hubName']), - address = nativeFromJson(json['address']), - city = nativeFromJson(json['city']), - state = nativeFromJson(json['state']), - zipCode = nativeFromJson(json['zipCode']), - managerName = nativeFromJson(json['managerName']), - isActive = nativeFromJson(json['isActive']), - departments = json['departments'] == null ? null : AnyValue.fromJson(json['departments']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamHubsTeamHubs otherTyped = other as ListTeamHubsTeamHubs; - return id == otherTyped.id && - teamId == otherTyped.teamId && - hubName == otherTyped.hubName && - address == otherTyped.address && - city == otherTyped.city && - state == otherTyped.state && - zipCode == otherTyped.zipCode && - managerName == otherTyped.managerName && - isActive == otherTyped.isActive && - departments == otherTyped.departments && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, teamId.hashCode, hubName.hashCode, address.hashCode, city.hashCode, state.hashCode, zipCode.hashCode, managerName.hashCode, isActive.hashCode, departments.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['teamId'] = nativeToJson(teamId); - json['hubName'] = nativeToJson(hubName); - json['address'] = nativeToJson(address); - json['city'] = nativeToJson(city); - json['state'] = nativeToJson(state); - json['zipCode'] = nativeToJson(zipCode); - json['managerName'] = nativeToJson(managerName); - json['isActive'] = nativeToJson(isActive); - if (departments != null) { - json['departments'] = departments!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - ListTeamHubsTeamHubs({ - required this.id, - required this.teamId, - required this.hubName, - required this.address, - required this.city, - required this.state, - required this.zipCode, - required this.managerName, - required this.isActive, - this.departments, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class ListTeamHubsData { - final List teamHubs; - ListTeamHubsData.fromJson(dynamic json): - - teamHubs = (json['teamHubs'] as List) - .map((e) => ListTeamHubsTeamHubs.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamHubsData otherTyped = other as ListTeamHubsData; - return teamHubs == otherTyped.teamHubs; - - } - @override - int get hashCode => teamHubs.hashCode; - - - Map toJson() { - Map json = {}; - json['teamHubs'] = teamHubs.map((e) => e.toJson()).toList(); - return json; - } - - ListTeamHubsData({ - required this.teamHubs, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs_by_owner_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs_by_owner_id.dart deleted file mode 100644 index 45a5e563..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs_by_owner_id.dart +++ /dev/null @@ -1,178 +0,0 @@ -part of 'generated.dart'; - -class ListTeamHubsByOwnerIdVariablesBuilder { - String ownerId; - - final FirebaseDataConnect _dataConnect; - ListTeamHubsByOwnerIdVariablesBuilder(this._dataConnect, {required this.ownerId,}); - Deserializer dataDeserializer = (dynamic json) => ListTeamHubsByOwnerIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListTeamHubsByOwnerIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListTeamHubsByOwnerIdVariables vars= ListTeamHubsByOwnerIdVariables(ownerId: ownerId,); - return _dataConnect.query("listTeamHubsByOwnerId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListTeamHubsByOwnerIdTeamHubs { - final String id; - final String teamId; - final String hubName; - final String address; - final String city; - final String state; - final String zipCode; - final String managerName; - final bool isActive; - final AnyValue? departments; - final Timestamp? createdAt; - ListTeamHubsByOwnerIdTeamHubs.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - teamId = nativeFromJson(json['teamId']), - hubName = nativeFromJson(json['hubName']), - address = nativeFromJson(json['address']), - city = nativeFromJson(json['city']), - state = nativeFromJson(json['state']), - zipCode = nativeFromJson(json['zipCode']), - managerName = nativeFromJson(json['managerName']), - isActive = nativeFromJson(json['isActive']), - departments = json['departments'] == null ? null : AnyValue.fromJson(json['departments']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamHubsByOwnerIdTeamHubs otherTyped = other as ListTeamHubsByOwnerIdTeamHubs; - return id == otherTyped.id && - teamId == otherTyped.teamId && - hubName == otherTyped.hubName && - address == otherTyped.address && - city == otherTyped.city && - state == otherTyped.state && - zipCode == otherTyped.zipCode && - managerName == otherTyped.managerName && - isActive == otherTyped.isActive && - departments == otherTyped.departments && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, teamId.hashCode, hubName.hashCode, address.hashCode, city.hashCode, state.hashCode, zipCode.hashCode, managerName.hashCode, isActive.hashCode, departments.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['teamId'] = nativeToJson(teamId); - json['hubName'] = nativeToJson(hubName); - json['address'] = nativeToJson(address); - json['city'] = nativeToJson(city); - json['state'] = nativeToJson(state); - json['zipCode'] = nativeToJson(zipCode); - json['managerName'] = nativeToJson(managerName); - json['isActive'] = nativeToJson(isActive); - if (departments != null) { - json['departments'] = departments!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - ListTeamHubsByOwnerIdTeamHubs({ - required this.id, - required this.teamId, - required this.hubName, - required this.address, - required this.city, - required this.state, - required this.zipCode, - required this.managerName, - required this.isActive, - this.departments, - this.createdAt, - }); -} - -@immutable -class ListTeamHubsByOwnerIdData { - final List teamHubs; - ListTeamHubsByOwnerIdData.fromJson(dynamic json): - - teamHubs = (json['teamHubs'] as List) - .map((e) => ListTeamHubsByOwnerIdTeamHubs.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamHubsByOwnerIdData otherTyped = other as ListTeamHubsByOwnerIdData; - return teamHubs == otherTyped.teamHubs; - - } - @override - int get hashCode => teamHubs.hashCode; - - - Map toJson() { - Map json = {}; - json['teamHubs'] = teamHubs.map((e) => e.toJson()).toList(); - return json; - } - - ListTeamHubsByOwnerIdData({ - required this.teamHubs, - }); -} - -@immutable -class ListTeamHubsByOwnerIdVariables { - final String ownerId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListTeamHubsByOwnerIdVariables.fromJson(Map json): - - ownerId = nativeFromJson(json['ownerId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamHubsByOwnerIdVariables otherTyped = other as ListTeamHubsByOwnerIdVariables; - return ownerId == otherTyped.ownerId; - - } - @override - int get hashCode => ownerId.hashCode; - - - Map toJson() { - Map json = {}; - json['ownerId'] = nativeToJson(ownerId); - return json; - } - - ListTeamHubsByOwnerIdVariables({ - required this.ownerId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_team_hud_departments.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_team_hud_departments.dart deleted file mode 100644 index 66f6cd2b..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_team_hud_departments.dart +++ /dev/null @@ -1,218 +0,0 @@ -part of 'generated.dart'; - -class ListTeamHudDepartmentsVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - ListTeamHudDepartmentsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListTeamHudDepartmentsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListTeamHudDepartmentsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListTeamHudDepartmentsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListTeamHudDepartmentsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListTeamHudDepartmentsVariables vars= ListTeamHudDepartmentsVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("listTeamHudDepartments", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListTeamHudDepartmentsTeamHudDepartments { - final String id; - final String name; - final String? costCenter; - final String teamHubId; - final ListTeamHudDepartmentsTeamHudDepartmentsTeamHub teamHub; - final Timestamp? createdAt; - ListTeamHudDepartmentsTeamHudDepartments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costCenter = json['costCenter'] == null ? null : nativeFromJson(json['costCenter']), - teamHubId = nativeFromJson(json['teamHubId']), - teamHub = ListTeamHudDepartmentsTeamHudDepartmentsTeamHub.fromJson(json['teamHub']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamHudDepartmentsTeamHudDepartments otherTyped = other as ListTeamHudDepartmentsTeamHudDepartments; - return id == otherTyped.id && - name == otherTyped.name && - costCenter == otherTyped.costCenter && - teamHubId == otherTyped.teamHubId && - teamHub == otherTyped.teamHub && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costCenter.hashCode, teamHubId.hashCode, teamHub.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - if (costCenter != null) { - json['costCenter'] = nativeToJson(costCenter); - } - json['teamHubId'] = nativeToJson(teamHubId); - json['teamHub'] = teamHub.toJson(); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - ListTeamHudDepartmentsTeamHudDepartments({ - required this.id, - required this.name, - this.costCenter, - required this.teamHubId, - required this.teamHub, - this.createdAt, - }); -} - -@immutable -class ListTeamHudDepartmentsTeamHudDepartmentsTeamHub { - final String id; - final String hubName; - ListTeamHudDepartmentsTeamHudDepartmentsTeamHub.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - hubName = nativeFromJson(json['hubName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamHudDepartmentsTeamHudDepartmentsTeamHub otherTyped = other as ListTeamHudDepartmentsTeamHudDepartmentsTeamHub; - return id == otherTyped.id && - hubName == otherTyped.hubName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, hubName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['hubName'] = nativeToJson(hubName); - return json; - } - - ListTeamHudDepartmentsTeamHudDepartmentsTeamHub({ - required this.id, - required this.hubName, - }); -} - -@immutable -class ListTeamHudDepartmentsData { - final List teamHudDepartments; - ListTeamHudDepartmentsData.fromJson(dynamic json): - - teamHudDepartments = (json['teamHudDepartments'] as List) - .map((e) => ListTeamHudDepartmentsTeamHudDepartments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamHudDepartmentsData otherTyped = other as ListTeamHudDepartmentsData; - return teamHudDepartments == otherTyped.teamHudDepartments; - - } - @override - int get hashCode => teamHudDepartments.hashCode; - - - Map toJson() { - Map json = {}; - json['teamHudDepartments'] = teamHudDepartments.map((e) => e.toJson()).toList(); - return json; - } - - ListTeamHudDepartmentsData({ - required this.teamHudDepartments, - }); -} - -@immutable -class ListTeamHudDepartmentsVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListTeamHudDepartmentsVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamHudDepartmentsVariables otherTyped = other as ListTeamHudDepartmentsVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListTeamHudDepartmentsVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_team_hud_departments_by_team_hub_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_team_hud_departments_by_team_hub_id.dart deleted file mode 100644 index e9c26d44..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_team_hud_departments_by_team_hub_id.dart +++ /dev/null @@ -1,225 +0,0 @@ -part of 'generated.dart'; - -class ListTeamHudDepartmentsByTeamHubIdVariablesBuilder { - String teamHubId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListTeamHudDepartmentsByTeamHubIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListTeamHudDepartmentsByTeamHubIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListTeamHudDepartmentsByTeamHubIdVariablesBuilder(this._dataConnect, {required this.teamHubId,}); - Deserializer dataDeserializer = (dynamic json) => ListTeamHudDepartmentsByTeamHubIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListTeamHudDepartmentsByTeamHubIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListTeamHudDepartmentsByTeamHubIdVariables vars= ListTeamHudDepartmentsByTeamHubIdVariables(teamHubId: teamHubId,offset: _offset,limit: _limit,); - return _dataConnect.query("listTeamHudDepartmentsByTeamHubId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListTeamHudDepartmentsByTeamHubIdTeamHudDepartments { - final String id; - final String name; - final String? costCenter; - final String teamHubId; - final ListTeamHudDepartmentsByTeamHubIdTeamHudDepartmentsTeamHub teamHub; - final Timestamp? createdAt; - ListTeamHudDepartmentsByTeamHubIdTeamHudDepartments.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - costCenter = json['costCenter'] == null ? null : nativeFromJson(json['costCenter']), - teamHubId = nativeFromJson(json['teamHubId']), - teamHub = ListTeamHudDepartmentsByTeamHubIdTeamHudDepartmentsTeamHub.fromJson(json['teamHub']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamHudDepartmentsByTeamHubIdTeamHudDepartments otherTyped = other as ListTeamHudDepartmentsByTeamHubIdTeamHudDepartments; - return id == otherTyped.id && - name == otherTyped.name && - costCenter == otherTyped.costCenter && - teamHubId == otherTyped.teamHubId && - teamHub == otherTyped.teamHub && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costCenter.hashCode, teamHubId.hashCode, teamHub.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - if (costCenter != null) { - json['costCenter'] = nativeToJson(costCenter); - } - json['teamHubId'] = nativeToJson(teamHubId); - json['teamHub'] = teamHub.toJson(); - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - ListTeamHudDepartmentsByTeamHubIdTeamHudDepartments({ - required this.id, - required this.name, - this.costCenter, - required this.teamHubId, - required this.teamHub, - this.createdAt, - }); -} - -@immutable -class ListTeamHudDepartmentsByTeamHubIdTeamHudDepartmentsTeamHub { - final String id; - final String hubName; - ListTeamHudDepartmentsByTeamHubIdTeamHudDepartmentsTeamHub.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - hubName = nativeFromJson(json['hubName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamHudDepartmentsByTeamHubIdTeamHudDepartmentsTeamHub otherTyped = other as ListTeamHudDepartmentsByTeamHubIdTeamHudDepartmentsTeamHub; - return id == otherTyped.id && - hubName == otherTyped.hubName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, hubName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['hubName'] = nativeToJson(hubName); - return json; - } - - ListTeamHudDepartmentsByTeamHubIdTeamHudDepartmentsTeamHub({ - required this.id, - required this.hubName, - }); -} - -@immutable -class ListTeamHudDepartmentsByTeamHubIdData { - final List teamHudDepartments; - ListTeamHudDepartmentsByTeamHubIdData.fromJson(dynamic json): - - teamHudDepartments = (json['teamHudDepartments'] as List) - .map((e) => ListTeamHudDepartmentsByTeamHubIdTeamHudDepartments.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamHudDepartmentsByTeamHubIdData otherTyped = other as ListTeamHudDepartmentsByTeamHubIdData; - return teamHudDepartments == otherTyped.teamHudDepartments; - - } - @override - int get hashCode => teamHudDepartments.hashCode; - - - Map toJson() { - Map json = {}; - json['teamHudDepartments'] = teamHudDepartments.map((e) => e.toJson()).toList(); - return json; - } - - ListTeamHudDepartmentsByTeamHubIdData({ - required this.teamHudDepartments, - }); -} - -@immutable -class ListTeamHudDepartmentsByTeamHubIdVariables { - final String teamHubId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListTeamHudDepartmentsByTeamHubIdVariables.fromJson(Map json): - - teamHubId = nativeFromJson(json['teamHubId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamHudDepartmentsByTeamHubIdVariables otherTyped = other as ListTeamHudDepartmentsByTeamHubIdVariables; - return teamHubId == otherTyped.teamHubId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([teamHubId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['teamHubId'] = nativeToJson(teamHubId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListTeamHudDepartmentsByTeamHubIdVariables({ - required this.teamHubId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_team_members.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_team_members.dart deleted file mode 100644 index f07ca60d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_team_members.dart +++ /dev/null @@ -1,224 +0,0 @@ -part of 'generated.dart'; - -class ListTeamMembersVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListTeamMembersVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListTeamMembersData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listTeamMembers", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListTeamMembersTeamMembers { - final String id; - final String teamId; - final EnumValue role; - final String? title; - final String? department; - final String? teamHubId; - final bool? isActive; - final Timestamp? createdAt; - final ListTeamMembersTeamMembersUser user; - final ListTeamMembersTeamMembersTeamHub? teamHub; - ListTeamMembersTeamMembers.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - teamId = nativeFromJson(json['teamId']), - role = teamMemberRoleDeserializer(json['role']), - title = json['title'] == null ? null : nativeFromJson(json['title']), - department = json['department'] == null ? null : nativeFromJson(json['department']), - teamHubId = json['teamHubId'] == null ? null : nativeFromJson(json['teamHubId']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - user = ListTeamMembersTeamMembersUser.fromJson(json['user']), - teamHub = json['teamHub'] == null ? null : ListTeamMembersTeamMembersTeamHub.fromJson(json['teamHub']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamMembersTeamMembers otherTyped = other as ListTeamMembersTeamMembers; - return id == otherTyped.id && - teamId == otherTyped.teamId && - role == otherTyped.role && - title == otherTyped.title && - department == otherTyped.department && - teamHubId == otherTyped.teamHubId && - isActive == otherTyped.isActive && - createdAt == otherTyped.createdAt && - user == otherTyped.user && - teamHub == otherTyped.teamHub; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, teamId.hashCode, role.hashCode, title.hashCode, department.hashCode, teamHubId.hashCode, isActive.hashCode, createdAt.hashCode, user.hashCode, teamHub.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['teamId'] = nativeToJson(teamId); - json['role'] = - teamMemberRoleSerializer(role) - ; - if (title != null) { - json['title'] = nativeToJson(title); - } - if (department != null) { - json['department'] = nativeToJson(department); - } - if (teamHubId != null) { - json['teamHubId'] = nativeToJson(teamHubId); - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['user'] = user.toJson(); - if (teamHub != null) { - json['teamHub'] = teamHub!.toJson(); - } - return json; - } - - ListTeamMembersTeamMembers({ - required this.id, - required this.teamId, - required this.role, - this.title, - this.department, - this.teamHubId, - this.isActive, - this.createdAt, - required this.user, - this.teamHub, - }); -} - -@immutable -class ListTeamMembersTeamMembersUser { - final String? fullName; - final String? email; - ListTeamMembersTeamMembersUser.fromJson(dynamic json): - - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - email = json['email'] == null ? null : nativeFromJson(json['email']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamMembersTeamMembersUser otherTyped = other as ListTeamMembersTeamMembersUser; - return fullName == otherTyped.fullName && - email == otherTyped.email; - - } - @override - int get hashCode => Object.hashAll([fullName.hashCode, email.hashCode]); - - - Map toJson() { - Map json = {}; - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - if (email != null) { - json['email'] = nativeToJson(email); - } - return json; - } - - ListTeamMembersTeamMembersUser({ - this.fullName, - this.email, - }); -} - -@immutable -class ListTeamMembersTeamMembersTeamHub { - final String hubName; - ListTeamMembersTeamMembersTeamHub.fromJson(dynamic json): - - hubName = nativeFromJson(json['hubName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamMembersTeamMembersTeamHub otherTyped = other as ListTeamMembersTeamMembersTeamHub; - return hubName == otherTyped.hubName; - - } - @override - int get hashCode => hubName.hashCode; - - - Map toJson() { - Map json = {}; - json['hubName'] = nativeToJson(hubName); - return json; - } - - ListTeamMembersTeamMembersTeamHub({ - required this.hubName, - }); -} - -@immutable -class ListTeamMembersData { - final List teamMembers; - ListTeamMembersData.fromJson(dynamic json): - - teamMembers = (json['teamMembers'] as List) - .map((e) => ListTeamMembersTeamMembers.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamMembersData otherTyped = other as ListTeamMembersData; - return teamMembers == otherTyped.teamMembers; - - } - @override - int get hashCode => teamMembers.hashCode; - - - Map toJson() { - Map json = {}; - json['teamMembers'] = teamMembers.map((e) => e.toJson()).toList(); - return json; - } - - ListTeamMembersData({ - required this.teamMembers, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_teams.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_teams.dart deleted file mode 100644 index e13a121d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_teams.dart +++ /dev/null @@ -1,199 +0,0 @@ -part of 'generated.dart'; - -class ListTeamsVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListTeamsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListTeamsData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listTeams", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListTeamsTeams { - final String id; - final String teamName; - final String ownerId; - final String ownerName; - final String ownerRole; - final String? email; - final String? companyLogo; - final int? totalMembers; - final int? activeMembers; - final int? totalHubs; - final AnyValue? departments; - final int? favoriteStaffCount; - final int? blockedStaffCount; - final AnyValue? favoriteStaff; - final AnyValue? blockedStaff; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - ListTeamsTeams.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - teamName = nativeFromJson(json['teamName']), - ownerId = nativeFromJson(json['ownerId']), - ownerName = nativeFromJson(json['ownerName']), - ownerRole = nativeFromJson(json['ownerRole']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - companyLogo = json['companyLogo'] == null ? null : nativeFromJson(json['companyLogo']), - totalMembers = json['totalMembers'] == null ? null : nativeFromJson(json['totalMembers']), - activeMembers = json['activeMembers'] == null ? null : nativeFromJson(json['activeMembers']), - totalHubs = json['totalHubs'] == null ? null : nativeFromJson(json['totalHubs']), - departments = json['departments'] == null ? null : AnyValue.fromJson(json['departments']), - favoriteStaffCount = json['favoriteStaffCount'] == null ? null : nativeFromJson(json['favoriteStaffCount']), - blockedStaffCount = json['blockedStaffCount'] == null ? null : nativeFromJson(json['blockedStaffCount']), - favoriteStaff = json['favoriteStaff'] == null ? null : AnyValue.fromJson(json['favoriteStaff']), - blockedStaff = json['blockedStaff'] == null ? null : AnyValue.fromJson(json['blockedStaff']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamsTeams otherTyped = other as ListTeamsTeams; - return id == otherTyped.id && - teamName == otherTyped.teamName && - ownerId == otherTyped.ownerId && - ownerName == otherTyped.ownerName && - ownerRole == otherTyped.ownerRole && - email == otherTyped.email && - companyLogo == otherTyped.companyLogo && - totalMembers == otherTyped.totalMembers && - activeMembers == otherTyped.activeMembers && - totalHubs == otherTyped.totalHubs && - departments == otherTyped.departments && - favoriteStaffCount == otherTyped.favoriteStaffCount && - blockedStaffCount == otherTyped.blockedStaffCount && - favoriteStaff == otherTyped.favoriteStaff && - blockedStaff == otherTyped.blockedStaff && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, teamName.hashCode, ownerId.hashCode, ownerName.hashCode, ownerRole.hashCode, email.hashCode, companyLogo.hashCode, totalMembers.hashCode, activeMembers.hashCode, totalHubs.hashCode, departments.hashCode, favoriteStaffCount.hashCode, blockedStaffCount.hashCode, favoriteStaff.hashCode, blockedStaff.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['teamName'] = nativeToJson(teamName); - json['ownerId'] = nativeToJson(ownerId); - json['ownerName'] = nativeToJson(ownerName); - json['ownerRole'] = nativeToJson(ownerRole); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (companyLogo != null) { - json['companyLogo'] = nativeToJson(companyLogo); - } - if (totalMembers != null) { - json['totalMembers'] = nativeToJson(totalMembers); - } - if (activeMembers != null) { - json['activeMembers'] = nativeToJson(activeMembers); - } - if (totalHubs != null) { - json['totalHubs'] = nativeToJson(totalHubs); - } - if (departments != null) { - json['departments'] = departments!.toJson(); - } - if (favoriteStaffCount != null) { - json['favoriteStaffCount'] = nativeToJson(favoriteStaffCount); - } - if (blockedStaffCount != null) { - json['blockedStaffCount'] = nativeToJson(blockedStaffCount); - } - if (favoriteStaff != null) { - json['favoriteStaff'] = favoriteStaff!.toJson(); - } - if (blockedStaff != null) { - json['blockedStaff'] = blockedStaff!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - ListTeamsTeams({ - required this.id, - required this.teamName, - required this.ownerId, - required this.ownerName, - required this.ownerRole, - this.email, - this.companyLogo, - this.totalMembers, - this.activeMembers, - this.totalHubs, - this.departments, - this.favoriteStaffCount, - this.blockedStaffCount, - this.favoriteStaff, - this.blockedStaff, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class ListTeamsData { - final List teams; - ListTeamsData.fromJson(dynamic json): - - teams = (json['teams'] as List) - .map((e) => ListTeamsTeams.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTeamsData otherTyped = other as ListTeamsData; - return teams == otherTyped.teams; - - } - @override - int get hashCode => teams.hashCode; - - - Map toJson() { - Map json = {}; - json['teams'] = teams.map((e) => e.toJson()).toList(); - return json; - } - - ListTeamsData({ - required this.teams, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_timesheets_for_spend.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_timesheets_for_spend.dart deleted file mode 100644 index fd390c76..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_timesheets_for_spend.dart +++ /dev/null @@ -1,318 +0,0 @@ -part of 'generated.dart'; - -class ListTimesheetsForSpendVariablesBuilder { - Timestamp startTime; - Timestamp endTime; - - final FirebaseDataConnect _dataConnect; - ListTimesheetsForSpendVariablesBuilder(this._dataConnect, {required this.startTime,required this.endTime,}); - Deserializer dataDeserializer = (dynamic json) => ListTimesheetsForSpendData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListTimesheetsForSpendVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListTimesheetsForSpendVariables vars= ListTimesheetsForSpendVariables(startTime: startTime,endTime: endTime,); - return _dataConnect.query("listTimesheetsForSpend", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListTimesheetsForSpendShiftRoles { - final String id; - final double? hours; - final double? totalValue; - final ListTimesheetsForSpendShiftRolesShift shift; - final ListTimesheetsForSpendShiftRolesRole role; - ListTimesheetsForSpendShiftRoles.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - hours = json['hours'] == null ? null : nativeFromJson(json['hours']), - totalValue = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']), - shift = ListTimesheetsForSpendShiftRolesShift.fromJson(json['shift']), - role = ListTimesheetsForSpendShiftRolesRole.fromJson(json['role']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTimesheetsForSpendShiftRoles otherTyped = other as ListTimesheetsForSpendShiftRoles; - return id == otherTyped.id && - hours == otherTyped.hours && - totalValue == otherTyped.totalValue && - shift == otherTyped.shift && - role == otherTyped.role; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, hours.hashCode, totalValue.hashCode, shift.hashCode, role.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (hours != null) { - json['hours'] = nativeToJson(hours); - } - if (totalValue != null) { - json['totalValue'] = nativeToJson(totalValue); - } - json['shift'] = shift.toJson(); - json['role'] = role.toJson(); - return json; - } - - ListTimesheetsForSpendShiftRoles({ - required this.id, - this.hours, - this.totalValue, - required this.shift, - required this.role, - }); -} - -@immutable -class ListTimesheetsForSpendShiftRolesShift { - final String title; - final String? location; - final EnumValue? status; - final Timestamp? date; - final ListTimesheetsForSpendShiftRolesShiftOrder order; - ListTimesheetsForSpendShiftRolesShift.fromJson(dynamic json): - - title = nativeFromJson(json['title']), - location = json['location'] == null ? null : nativeFromJson(json['location']), - status = json['status'] == null ? null : shiftStatusDeserializer(json['status']), - date = json['date'] == null ? null : Timestamp.fromJson(json['date']), - order = ListTimesheetsForSpendShiftRolesShiftOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTimesheetsForSpendShiftRolesShift otherTyped = other as ListTimesheetsForSpendShiftRolesShift; - return title == otherTyped.title && - location == otherTyped.location && - status == otherTyped.status && - date == otherTyped.date && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([title.hashCode, location.hashCode, status.hashCode, date.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['title'] = nativeToJson(title); - if (location != null) { - json['location'] = nativeToJson(location); - } - if (status != null) { - json['status'] = - shiftStatusSerializer(status!) - ; - } - if (date != null) { - json['date'] = date!.toJson(); - } - json['order'] = order.toJson(); - return json; - } - - ListTimesheetsForSpendShiftRolesShift({ - required this.title, - this.location, - this.status, - this.date, - required this.order, - }); -} - -@immutable -class ListTimesheetsForSpendShiftRolesShiftOrder { - final ListTimesheetsForSpendShiftRolesShiftOrderBusiness business; - ListTimesheetsForSpendShiftRolesShiftOrder.fromJson(dynamic json): - - business = ListTimesheetsForSpendShiftRolesShiftOrderBusiness.fromJson(json['business']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTimesheetsForSpendShiftRolesShiftOrder otherTyped = other as ListTimesheetsForSpendShiftRolesShiftOrder; - return business == otherTyped.business; - - } - @override - int get hashCode => business.hashCode; - - - Map toJson() { - Map json = {}; - json['business'] = business.toJson(); - return json; - } - - ListTimesheetsForSpendShiftRolesShiftOrder({ - required this.business, - }); -} - -@immutable -class ListTimesheetsForSpendShiftRolesShiftOrderBusiness { - final String businessName; - ListTimesheetsForSpendShiftRolesShiftOrderBusiness.fromJson(dynamic json): - - businessName = nativeFromJson(json['businessName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTimesheetsForSpendShiftRolesShiftOrderBusiness otherTyped = other as ListTimesheetsForSpendShiftRolesShiftOrderBusiness; - return businessName == otherTyped.businessName; - - } - @override - int get hashCode => businessName.hashCode; - - - Map toJson() { - Map json = {}; - json['businessName'] = nativeToJson(businessName); - return json; - } - - ListTimesheetsForSpendShiftRolesShiftOrderBusiness({ - required this.businessName, - }); -} - -@immutable -class ListTimesheetsForSpendShiftRolesRole { - final double costPerHour; - ListTimesheetsForSpendShiftRolesRole.fromJson(dynamic json): - - costPerHour = nativeFromJson(json['costPerHour']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTimesheetsForSpendShiftRolesRole otherTyped = other as ListTimesheetsForSpendShiftRolesRole; - return costPerHour == otherTyped.costPerHour; - - } - @override - int get hashCode => costPerHour.hashCode; - - - Map toJson() { - Map json = {}; - json['costPerHour'] = nativeToJson(costPerHour); - return json; - } - - ListTimesheetsForSpendShiftRolesRole({ - required this.costPerHour, - }); -} - -@immutable -class ListTimesheetsForSpendData { - final List shiftRoles; - ListTimesheetsForSpendData.fromJson(dynamic json): - - shiftRoles = (json['shiftRoles'] as List) - .map((e) => ListTimesheetsForSpendShiftRoles.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTimesheetsForSpendData otherTyped = other as ListTimesheetsForSpendData; - return shiftRoles == otherTyped.shiftRoles; - - } - @override - int get hashCode => shiftRoles.hashCode; - - - Map toJson() { - Map json = {}; - json['shiftRoles'] = shiftRoles.map((e) => e.toJson()).toList(); - return json; - } - - ListTimesheetsForSpendData({ - required this.shiftRoles, - }); -} - -@immutable -class ListTimesheetsForSpendVariables { - final Timestamp startTime; - final Timestamp endTime; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListTimesheetsForSpendVariables.fromJson(Map json): - - startTime = Timestamp.fromJson(json['startTime']), - endTime = Timestamp.fromJson(json['endTime']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListTimesheetsForSpendVariables otherTyped = other as ListTimesheetsForSpendVariables; - return startTime == otherTyped.startTime && - endTime == otherTyped.endTime; - - } - @override - int get hashCode => Object.hashAll([startTime.hashCode, endTime.hashCode]); - - - Map toJson() { - Map json = {}; - json['startTime'] = startTime.toJson(); - json['endTime'] = endTime.toJson(); - return json; - } - - ListTimesheetsForSpendVariables({ - required this.startTime, - required this.endTime, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_unread_activity_logs_by_user_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_unread_activity_logs_by_user_id.dart deleted file mode 100644 index 2b2dc06e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_unread_activity_logs_by_user_id.dart +++ /dev/null @@ -1,249 +0,0 @@ -part of 'generated.dart'; - -class ListUnreadActivityLogsByUserIdVariablesBuilder { - String userId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListUnreadActivityLogsByUserIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListUnreadActivityLogsByUserIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListUnreadActivityLogsByUserIdVariablesBuilder(this._dataConnect, {required this.userId,}); - Deserializer dataDeserializer = (dynamic json) => ListUnreadActivityLogsByUserIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListUnreadActivityLogsByUserIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListUnreadActivityLogsByUserIdVariables vars= ListUnreadActivityLogsByUserIdVariables(userId: userId,offset: _offset,limit: _limit,); - return _dataConnect.query("listUnreadActivityLogsByUserId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListUnreadActivityLogsByUserIdActivityLogs { - final String id; - final String userId; - final Timestamp date; - final String? hourStart; - final String? hourEnd; - final String? totalhours; - final EnumValue? iconType; - final String? iconColor; - final String title; - final String description; - final bool? isRead; - final EnumValue activityType; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - ListUnreadActivityLogsByUserIdActivityLogs.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - userId = nativeFromJson(json['userId']), - date = Timestamp.fromJson(json['date']), - hourStart = json['hourStart'] == null ? null : nativeFromJson(json['hourStart']), - hourEnd = json['hourEnd'] == null ? null : nativeFromJson(json['hourEnd']), - totalhours = json['totalhours'] == null ? null : nativeFromJson(json['totalhours']), - iconType = json['iconType'] == null ? null : activityIconTypeDeserializer(json['iconType']), - iconColor = json['iconColor'] == null ? null : nativeFromJson(json['iconColor']), - title = nativeFromJson(json['title']), - description = nativeFromJson(json['description']), - isRead = json['isRead'] == null ? null : nativeFromJson(json['isRead']), - activityType = activityTypeDeserializer(json['activityType']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUnreadActivityLogsByUserIdActivityLogs otherTyped = other as ListUnreadActivityLogsByUserIdActivityLogs; - return id == otherTyped.id && - userId == otherTyped.userId && - date == otherTyped.date && - hourStart == otherTyped.hourStart && - hourEnd == otherTyped.hourEnd && - totalhours == otherTyped.totalhours && - iconType == otherTyped.iconType && - iconColor == otherTyped.iconColor && - title == otherTyped.title && - description == otherTyped.description && - isRead == otherTyped.isRead && - activityType == otherTyped.activityType && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, userId.hashCode, date.hashCode, hourStart.hashCode, hourEnd.hashCode, totalhours.hashCode, iconType.hashCode, iconColor.hashCode, title.hashCode, description.hashCode, isRead.hashCode, activityType.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['userId'] = nativeToJson(userId); - json['date'] = date.toJson(); - if (hourStart != null) { - json['hourStart'] = nativeToJson(hourStart); - } - if (hourEnd != null) { - json['hourEnd'] = nativeToJson(hourEnd); - } - if (totalhours != null) { - json['totalhours'] = nativeToJson(totalhours); - } - if (iconType != null) { - json['iconType'] = - activityIconTypeSerializer(iconType!) - ; - } - if (iconColor != null) { - json['iconColor'] = nativeToJson(iconColor); - } - json['title'] = nativeToJson(title); - json['description'] = nativeToJson(description); - if (isRead != null) { - json['isRead'] = nativeToJson(isRead); - } - json['activityType'] = - activityTypeSerializer(activityType) - ; - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - ListUnreadActivityLogsByUserIdActivityLogs({ - required this.id, - required this.userId, - required this.date, - this.hourStart, - this.hourEnd, - this.totalhours, - this.iconType, - this.iconColor, - required this.title, - required this.description, - this.isRead, - required this.activityType, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class ListUnreadActivityLogsByUserIdData { - final List activityLogs; - ListUnreadActivityLogsByUserIdData.fromJson(dynamic json): - - activityLogs = (json['activityLogs'] as List) - .map((e) => ListUnreadActivityLogsByUserIdActivityLogs.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUnreadActivityLogsByUserIdData otherTyped = other as ListUnreadActivityLogsByUserIdData; - return activityLogs == otherTyped.activityLogs; - - } - @override - int get hashCode => activityLogs.hashCode; - - - Map toJson() { - Map json = {}; - json['activityLogs'] = activityLogs.map((e) => e.toJson()).toList(); - return json; - } - - ListUnreadActivityLogsByUserIdData({ - required this.activityLogs, - }); -} - -@immutable -class ListUnreadActivityLogsByUserIdVariables { - final String userId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListUnreadActivityLogsByUserIdVariables.fromJson(Map json): - - userId = nativeFromJson(json['userId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUnreadActivityLogsByUserIdVariables otherTyped = other as ListUnreadActivityLogsByUserIdVariables; - return userId == otherTyped.userId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([userId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['userId'] = nativeToJson(userId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListUnreadActivityLogsByUserIdVariables({ - required this.userId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_unread_user_conversations_by_user_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_unread_user_conversations_by_user_id.dart deleted file mode 100644 index 1b8528a9..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_unread_user_conversations_by_user_id.dart +++ /dev/null @@ -1,280 +0,0 @@ -part of 'generated.dart'; - -class ListUnreadUserConversationsByUserIdVariablesBuilder { - String userId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListUnreadUserConversationsByUserIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListUnreadUserConversationsByUserIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListUnreadUserConversationsByUserIdVariablesBuilder(this._dataConnect, {required this.userId,}); - Deserializer dataDeserializer = (dynamic json) => ListUnreadUserConversationsByUserIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListUnreadUserConversationsByUserIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListUnreadUserConversationsByUserIdVariables vars= ListUnreadUserConversationsByUserIdVariables(userId: userId,offset: _offset,limit: _limit,); - return _dataConnect.query("listUnreadUserConversationsByUserId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListUnreadUserConversationsByUserIdUserConversations { - final String id; - final String conversationId; - final String userId; - final int? unreadCount; - final Timestamp? lastReadAt; - final Timestamp? createdAt; - final ListUnreadUserConversationsByUserIdUserConversationsConversation conversation; - ListUnreadUserConversationsByUserIdUserConversations.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']), - unreadCount = json['unreadCount'] == null ? null : nativeFromJson(json['unreadCount']), - lastReadAt = json['lastReadAt'] == null ? null : Timestamp.fromJson(json['lastReadAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - conversation = ListUnreadUserConversationsByUserIdUserConversationsConversation.fromJson(json['conversation']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUnreadUserConversationsByUserIdUserConversations otherTyped = other as ListUnreadUserConversationsByUserIdUserConversations; - return id == otherTyped.id && - conversationId == otherTyped.conversationId && - userId == otherTyped.userId && - unreadCount == otherTyped.unreadCount && - lastReadAt == otherTyped.lastReadAt && - createdAt == otherTyped.createdAt && - conversation == otherTyped.conversation; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, conversationId.hashCode, userId.hashCode, unreadCount.hashCode, lastReadAt.hashCode, createdAt.hashCode, conversation.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - if (unreadCount != null) { - json['unreadCount'] = nativeToJson(unreadCount); - } - if (lastReadAt != null) { - json['lastReadAt'] = lastReadAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['conversation'] = conversation.toJson(); - return json; - } - - ListUnreadUserConversationsByUserIdUserConversations({ - required this.id, - required this.conversationId, - required this.userId, - this.unreadCount, - this.lastReadAt, - this.createdAt, - required this.conversation, - }); -} - -@immutable -class ListUnreadUserConversationsByUserIdUserConversationsConversation { - final String id; - final String? subject; - final EnumValue? status; - final EnumValue? conversationType; - final bool? isGroup; - final String? groupName; - final String? lastMessage; - final Timestamp? lastMessageAt; - ListUnreadUserConversationsByUserIdUserConversationsConversation.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - subject = json['subject'] == null ? null : nativeFromJson(json['subject']), - status = json['status'] == null ? null : conversationStatusDeserializer(json['status']), - conversationType = json['conversationType'] == null ? null : conversationTypeDeserializer(json['conversationType']), - isGroup = json['isGroup'] == null ? null : nativeFromJson(json['isGroup']), - groupName = json['groupName'] == null ? null : nativeFromJson(json['groupName']), - lastMessage = json['lastMessage'] == null ? null : nativeFromJson(json['lastMessage']), - lastMessageAt = json['lastMessageAt'] == null ? null : Timestamp.fromJson(json['lastMessageAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUnreadUserConversationsByUserIdUserConversationsConversation otherTyped = other as ListUnreadUserConversationsByUserIdUserConversationsConversation; - return id == otherTyped.id && - subject == otherTyped.subject && - status == otherTyped.status && - conversationType == otherTyped.conversationType && - isGroup == otherTyped.isGroup && - groupName == otherTyped.groupName && - lastMessage == otherTyped.lastMessage && - lastMessageAt == otherTyped.lastMessageAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, subject.hashCode, status.hashCode, conversationType.hashCode, isGroup.hashCode, groupName.hashCode, lastMessage.hashCode, lastMessageAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (subject != null) { - json['subject'] = nativeToJson(subject); - } - if (status != null) { - json['status'] = - conversationStatusSerializer(status!) - ; - } - if (conversationType != null) { - json['conversationType'] = - conversationTypeSerializer(conversationType!) - ; - } - if (isGroup != null) { - json['isGroup'] = nativeToJson(isGroup); - } - if (groupName != null) { - json['groupName'] = nativeToJson(groupName); - } - if (lastMessage != null) { - json['lastMessage'] = nativeToJson(lastMessage); - } - if (lastMessageAt != null) { - json['lastMessageAt'] = lastMessageAt!.toJson(); - } - return json; - } - - ListUnreadUserConversationsByUserIdUserConversationsConversation({ - required this.id, - this.subject, - this.status, - this.conversationType, - this.isGroup, - this.groupName, - this.lastMessage, - this.lastMessageAt, - }); -} - -@immutable -class ListUnreadUserConversationsByUserIdData { - final List userConversations; - ListUnreadUserConversationsByUserIdData.fromJson(dynamic json): - - userConversations = (json['userConversations'] as List) - .map((e) => ListUnreadUserConversationsByUserIdUserConversations.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUnreadUserConversationsByUserIdData otherTyped = other as ListUnreadUserConversationsByUserIdData; - return userConversations == otherTyped.userConversations; - - } - @override - int get hashCode => userConversations.hashCode; - - - Map toJson() { - Map json = {}; - json['userConversations'] = userConversations.map((e) => e.toJson()).toList(); - return json; - } - - ListUnreadUserConversationsByUserIdData({ - required this.userConversations, - }); -} - -@immutable -class ListUnreadUserConversationsByUserIdVariables { - final String userId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListUnreadUserConversationsByUserIdVariables.fromJson(Map json): - - userId = nativeFromJson(json['userId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUnreadUserConversationsByUserIdVariables otherTyped = other as ListUnreadUserConversationsByUserIdVariables; - return userId == otherTyped.userId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([userId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['userId'] = nativeToJson(userId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListUnreadUserConversationsByUserIdVariables({ - required this.userId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_user_conversations.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_user_conversations.dart deleted file mode 100644 index e7aafd8d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_user_conversations.dart +++ /dev/null @@ -1,333 +0,0 @@ -part of 'generated.dart'; - -class ListUserConversationsVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - ListUserConversationsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListUserConversationsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListUserConversationsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListUserConversationsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListUserConversationsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListUserConversationsVariables vars= ListUserConversationsVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("listUserConversations", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListUserConversationsUserConversations { - final String id; - final String conversationId; - final String userId; - final int? unreadCount; - final Timestamp? lastReadAt; - final Timestamp? createdAt; - final ListUserConversationsUserConversationsConversation conversation; - final ListUserConversationsUserConversationsUser user; - ListUserConversationsUserConversations.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']), - unreadCount = json['unreadCount'] == null ? null : nativeFromJson(json['unreadCount']), - lastReadAt = json['lastReadAt'] == null ? null : Timestamp.fromJson(json['lastReadAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - conversation = ListUserConversationsUserConversationsConversation.fromJson(json['conversation']), - user = ListUserConversationsUserConversationsUser.fromJson(json['user']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUserConversationsUserConversations otherTyped = other as ListUserConversationsUserConversations; - return id == otherTyped.id && - conversationId == otherTyped.conversationId && - userId == otherTyped.userId && - unreadCount == otherTyped.unreadCount && - lastReadAt == otherTyped.lastReadAt && - createdAt == otherTyped.createdAt && - conversation == otherTyped.conversation && - user == otherTyped.user; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, conversationId.hashCode, userId.hashCode, unreadCount.hashCode, lastReadAt.hashCode, createdAt.hashCode, conversation.hashCode, user.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - if (unreadCount != null) { - json['unreadCount'] = nativeToJson(unreadCount); - } - if (lastReadAt != null) { - json['lastReadAt'] = lastReadAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['conversation'] = conversation.toJson(); - json['user'] = user.toJson(); - return json; - } - - ListUserConversationsUserConversations({ - required this.id, - required this.conversationId, - required this.userId, - this.unreadCount, - this.lastReadAt, - this.createdAt, - required this.conversation, - required this.user, - }); -} - -@immutable -class ListUserConversationsUserConversationsConversation { - final String id; - final String? subject; - final EnumValue? status; - final EnumValue? conversationType; - final bool? isGroup; - final String? groupName; - final String? lastMessage; - final Timestamp? lastMessageAt; - final Timestamp? createdAt; - ListUserConversationsUserConversationsConversation.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - subject = json['subject'] == null ? null : nativeFromJson(json['subject']), - status = json['status'] == null ? null : conversationStatusDeserializer(json['status']), - conversationType = json['conversationType'] == null ? null : conversationTypeDeserializer(json['conversationType']), - isGroup = json['isGroup'] == null ? null : nativeFromJson(json['isGroup']), - groupName = json['groupName'] == null ? null : nativeFromJson(json['groupName']), - lastMessage = json['lastMessage'] == null ? null : nativeFromJson(json['lastMessage']), - lastMessageAt = json['lastMessageAt'] == null ? null : Timestamp.fromJson(json['lastMessageAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUserConversationsUserConversationsConversation otherTyped = other as ListUserConversationsUserConversationsConversation; - return id == otherTyped.id && - subject == otherTyped.subject && - status == otherTyped.status && - conversationType == otherTyped.conversationType && - isGroup == otherTyped.isGroup && - groupName == otherTyped.groupName && - lastMessage == otherTyped.lastMessage && - lastMessageAt == otherTyped.lastMessageAt && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, subject.hashCode, status.hashCode, conversationType.hashCode, isGroup.hashCode, groupName.hashCode, lastMessage.hashCode, lastMessageAt.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (subject != null) { - json['subject'] = nativeToJson(subject); - } - if (status != null) { - json['status'] = - conversationStatusSerializer(status!) - ; - } - if (conversationType != null) { - json['conversationType'] = - conversationTypeSerializer(conversationType!) - ; - } - if (isGroup != null) { - json['isGroup'] = nativeToJson(isGroup); - } - if (groupName != null) { - json['groupName'] = nativeToJson(groupName); - } - if (lastMessage != null) { - json['lastMessage'] = nativeToJson(lastMessage); - } - if (lastMessageAt != null) { - json['lastMessageAt'] = lastMessageAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - ListUserConversationsUserConversationsConversation({ - required this.id, - this.subject, - this.status, - this.conversationType, - this.isGroup, - this.groupName, - this.lastMessage, - this.lastMessageAt, - this.createdAt, - }); -} - -@immutable -class ListUserConversationsUserConversationsUser { - final String id; - final String? fullName; - final String? photoUrl; - ListUserConversationsUserConversationsUser.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - photoUrl = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUserConversationsUserConversationsUser otherTyped = other as ListUserConversationsUserConversationsUser; - return id == otherTyped.id && - fullName == otherTyped.fullName && - photoUrl == otherTyped.photoUrl; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode, photoUrl.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - if (photoUrl != null) { - json['photoUrl'] = nativeToJson(photoUrl); - } - return json; - } - - ListUserConversationsUserConversationsUser({ - required this.id, - this.fullName, - this.photoUrl, - }); -} - -@immutable -class ListUserConversationsData { - final List userConversations; - ListUserConversationsData.fromJson(dynamic json): - - userConversations = (json['userConversations'] as List) - .map((e) => ListUserConversationsUserConversations.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUserConversationsData otherTyped = other as ListUserConversationsData; - return userConversations == otherTyped.userConversations; - - } - @override - int get hashCode => userConversations.hashCode; - - - Map toJson() { - Map json = {}; - json['userConversations'] = userConversations.map((e) => e.toJson()).toList(); - return json; - } - - ListUserConversationsData({ - required this.userConversations, - }); -} - -@immutable -class ListUserConversationsVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListUserConversationsVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUserConversationsVariables otherTyped = other as ListUserConversationsVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListUserConversationsVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_user_conversations_by_conversation_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_user_conversations_by_conversation_id.dart deleted file mode 100644 index 67741598..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_user_conversations_by_conversation_id.dart +++ /dev/null @@ -1,241 +0,0 @@ -part of 'generated.dart'; - -class ListUserConversationsByConversationIdVariablesBuilder { - String conversationId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListUserConversationsByConversationIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListUserConversationsByConversationIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListUserConversationsByConversationIdVariablesBuilder(this._dataConnect, {required this.conversationId,}); - Deserializer dataDeserializer = (dynamic json) => ListUserConversationsByConversationIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListUserConversationsByConversationIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListUserConversationsByConversationIdVariables vars= ListUserConversationsByConversationIdVariables(conversationId: conversationId,offset: _offset,limit: _limit,); - return _dataConnect.query("listUserConversationsByConversationId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListUserConversationsByConversationIdUserConversations { - final String id; - final String conversationId; - final String userId; - final int? unreadCount; - final Timestamp? lastReadAt; - final Timestamp? createdAt; - final ListUserConversationsByConversationIdUserConversationsUser user; - ListUserConversationsByConversationIdUserConversations.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']), - unreadCount = json['unreadCount'] == null ? null : nativeFromJson(json['unreadCount']), - lastReadAt = json['lastReadAt'] == null ? null : Timestamp.fromJson(json['lastReadAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - user = ListUserConversationsByConversationIdUserConversationsUser.fromJson(json['user']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUserConversationsByConversationIdUserConversations otherTyped = other as ListUserConversationsByConversationIdUserConversations; - return id == otherTyped.id && - conversationId == otherTyped.conversationId && - userId == otherTyped.userId && - unreadCount == otherTyped.unreadCount && - lastReadAt == otherTyped.lastReadAt && - createdAt == otherTyped.createdAt && - user == otherTyped.user; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, conversationId.hashCode, userId.hashCode, unreadCount.hashCode, lastReadAt.hashCode, createdAt.hashCode, user.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - if (unreadCount != null) { - json['unreadCount'] = nativeToJson(unreadCount); - } - if (lastReadAt != null) { - json['lastReadAt'] = lastReadAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['user'] = user.toJson(); - return json; - } - - ListUserConversationsByConversationIdUserConversations({ - required this.id, - required this.conversationId, - required this.userId, - this.unreadCount, - this.lastReadAt, - this.createdAt, - required this.user, - }); -} - -@immutable -class ListUserConversationsByConversationIdUserConversationsUser { - final String id; - final String? fullName; - final String? photoUrl; - ListUserConversationsByConversationIdUserConversationsUser.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - photoUrl = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUserConversationsByConversationIdUserConversationsUser otherTyped = other as ListUserConversationsByConversationIdUserConversationsUser; - return id == otherTyped.id && - fullName == otherTyped.fullName && - photoUrl == otherTyped.photoUrl; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode, photoUrl.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - if (photoUrl != null) { - json['photoUrl'] = nativeToJson(photoUrl); - } - return json; - } - - ListUserConversationsByConversationIdUserConversationsUser({ - required this.id, - this.fullName, - this.photoUrl, - }); -} - -@immutable -class ListUserConversationsByConversationIdData { - final List userConversations; - ListUserConversationsByConversationIdData.fromJson(dynamic json): - - userConversations = (json['userConversations'] as List) - .map((e) => ListUserConversationsByConversationIdUserConversations.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUserConversationsByConversationIdData otherTyped = other as ListUserConversationsByConversationIdData; - return userConversations == otherTyped.userConversations; - - } - @override - int get hashCode => userConversations.hashCode; - - - Map toJson() { - Map json = {}; - json['userConversations'] = userConversations.map((e) => e.toJson()).toList(); - return json; - } - - ListUserConversationsByConversationIdData({ - required this.userConversations, - }); -} - -@immutable -class ListUserConversationsByConversationIdVariables { - final String conversationId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListUserConversationsByConversationIdVariables.fromJson(Map json): - - conversationId = nativeFromJson(json['conversationId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUserConversationsByConversationIdVariables otherTyped = other as ListUserConversationsByConversationIdVariables; - return conversationId == otherTyped.conversationId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([conversationId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['conversationId'] = nativeToJson(conversationId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListUserConversationsByConversationIdVariables({ - required this.conversationId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_user_conversations_by_user_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_user_conversations_by_user_id.dart deleted file mode 100644 index fee3854e..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_user_conversations_by_user_id.dart +++ /dev/null @@ -1,354 +0,0 @@ -part of 'generated.dart'; - -class ListUserConversationsByUserIdVariablesBuilder { - String userId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListUserConversationsByUserIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListUserConversationsByUserIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListUserConversationsByUserIdVariablesBuilder(this._dataConnect, {required this.userId,}); - Deserializer dataDeserializer = (dynamic json) => ListUserConversationsByUserIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListUserConversationsByUserIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListUserConversationsByUserIdVariables vars= ListUserConversationsByUserIdVariables(userId: userId,offset: _offset,limit: _limit,); - return _dataConnect.query("listUserConversationsByUserId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListUserConversationsByUserIdUserConversations { - final String id; - final String conversationId; - final String userId; - final int? unreadCount; - final Timestamp? lastReadAt; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListUserConversationsByUserIdUserConversationsConversation conversation; - final ListUserConversationsByUserIdUserConversationsUser user; - ListUserConversationsByUserIdUserConversations.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']), - unreadCount = json['unreadCount'] == null ? null : nativeFromJson(json['unreadCount']), - lastReadAt = json['lastReadAt'] == null ? null : Timestamp.fromJson(json['lastReadAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - conversation = ListUserConversationsByUserIdUserConversationsConversation.fromJson(json['conversation']), - user = ListUserConversationsByUserIdUserConversationsUser.fromJson(json['user']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUserConversationsByUserIdUserConversations otherTyped = other as ListUserConversationsByUserIdUserConversations; - return id == otherTyped.id && - conversationId == otherTyped.conversationId && - userId == otherTyped.userId && - unreadCount == otherTyped.unreadCount && - lastReadAt == otherTyped.lastReadAt && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - conversation == otherTyped.conversation && - user == otherTyped.user; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, conversationId.hashCode, userId.hashCode, unreadCount.hashCode, lastReadAt.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, conversation.hashCode, user.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - if (unreadCount != null) { - json['unreadCount'] = nativeToJson(unreadCount); - } - if (lastReadAt != null) { - json['lastReadAt'] = lastReadAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['conversation'] = conversation.toJson(); - json['user'] = user.toJson(); - return json; - } - - ListUserConversationsByUserIdUserConversations({ - required this.id, - required this.conversationId, - required this.userId, - this.unreadCount, - this.lastReadAt, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.conversation, - required this.user, - }); -} - -@immutable -class ListUserConversationsByUserIdUserConversationsConversation { - final String id; - final String? subject; - final EnumValue? status; - final EnumValue? conversationType; - final bool? isGroup; - final String? groupName; - final String? lastMessage; - final Timestamp? lastMessageAt; - final Timestamp? createdAt; - ListUserConversationsByUserIdUserConversationsConversation.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - subject = json['subject'] == null ? null : nativeFromJson(json['subject']), - status = json['status'] == null ? null : conversationStatusDeserializer(json['status']), - conversationType = json['conversationType'] == null ? null : conversationTypeDeserializer(json['conversationType']), - isGroup = json['isGroup'] == null ? null : nativeFromJson(json['isGroup']), - groupName = json['groupName'] == null ? null : nativeFromJson(json['groupName']), - lastMessage = json['lastMessage'] == null ? null : nativeFromJson(json['lastMessage']), - lastMessageAt = json['lastMessageAt'] == null ? null : Timestamp.fromJson(json['lastMessageAt']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUserConversationsByUserIdUserConversationsConversation otherTyped = other as ListUserConversationsByUserIdUserConversationsConversation; - return id == otherTyped.id && - subject == otherTyped.subject && - status == otherTyped.status && - conversationType == otherTyped.conversationType && - isGroup == otherTyped.isGroup && - groupName == otherTyped.groupName && - lastMessage == otherTyped.lastMessage && - lastMessageAt == otherTyped.lastMessageAt && - createdAt == otherTyped.createdAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, subject.hashCode, status.hashCode, conversationType.hashCode, isGroup.hashCode, groupName.hashCode, lastMessage.hashCode, lastMessageAt.hashCode, createdAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (subject != null) { - json['subject'] = nativeToJson(subject); - } - if (status != null) { - json['status'] = - conversationStatusSerializer(status!) - ; - } - if (conversationType != null) { - json['conversationType'] = - conversationTypeSerializer(conversationType!) - ; - } - if (isGroup != null) { - json['isGroup'] = nativeToJson(isGroup); - } - if (groupName != null) { - json['groupName'] = nativeToJson(groupName); - } - if (lastMessage != null) { - json['lastMessage'] = nativeToJson(lastMessage); - } - if (lastMessageAt != null) { - json['lastMessageAt'] = lastMessageAt!.toJson(); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - return json; - } - - ListUserConversationsByUserIdUserConversationsConversation({ - required this.id, - this.subject, - this.status, - this.conversationType, - this.isGroup, - this.groupName, - this.lastMessage, - this.lastMessageAt, - this.createdAt, - }); -} - -@immutable -class ListUserConversationsByUserIdUserConversationsUser { - final String id; - final String? fullName; - final String? photoUrl; - ListUserConversationsByUserIdUserConversationsUser.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - photoUrl = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUserConversationsByUserIdUserConversationsUser otherTyped = other as ListUserConversationsByUserIdUserConversationsUser; - return id == otherTyped.id && - fullName == otherTyped.fullName && - photoUrl == otherTyped.photoUrl; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode, photoUrl.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - if (photoUrl != null) { - json['photoUrl'] = nativeToJson(photoUrl); - } - return json; - } - - ListUserConversationsByUserIdUserConversationsUser({ - required this.id, - this.fullName, - this.photoUrl, - }); -} - -@immutable -class ListUserConversationsByUserIdData { - final List userConversations; - ListUserConversationsByUserIdData.fromJson(dynamic json): - - userConversations = (json['userConversations'] as List) - .map((e) => ListUserConversationsByUserIdUserConversations.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUserConversationsByUserIdData otherTyped = other as ListUserConversationsByUserIdData; - return userConversations == otherTyped.userConversations; - - } - @override - int get hashCode => userConversations.hashCode; - - - Map toJson() { - Map json = {}; - json['userConversations'] = userConversations.map((e) => e.toJson()).toList(); - return json; - } - - ListUserConversationsByUserIdData({ - required this.userConversations, - }); -} - -@immutable -class ListUserConversationsByUserIdVariables { - final String userId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListUserConversationsByUserIdVariables.fromJson(Map json): - - userId = nativeFromJson(json['userId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUserConversationsByUserIdVariables otherTyped = other as ListUserConversationsByUserIdVariables; - return userId == otherTyped.userId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([userId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['userId'] = nativeToJson(userId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListUserConversationsByUserIdVariables({ - required this.userId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_users.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_users.dart deleted file mode 100644 index b628142a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_users.dart +++ /dev/null @@ -1,137 +0,0 @@ -part of 'generated.dart'; - -class ListUsersVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListUsersVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListUsersData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listUsers", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListUsersUsers { - final String id; - final String? email; - final String? fullName; - final EnumValue role; - final String? userRole; - final String? photoUrl; - final Timestamp? createdDate; - final Timestamp? updatedDate; - ListUsersUsers.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - fullName = json['fullName'] == null ? null : nativeFromJson(json['fullName']), - role = userBaseRoleDeserializer(json['role']), - userRole = json['userRole'] == null ? null : nativeFromJson(json['userRole']), - photoUrl = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']), - createdDate = json['createdDate'] == null ? null : Timestamp.fromJson(json['createdDate']), - updatedDate = json['updatedDate'] == null ? null : Timestamp.fromJson(json['updatedDate']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUsersUsers otherTyped = other as ListUsersUsers; - return id == otherTyped.id && - email == otherTyped.email && - fullName == otherTyped.fullName && - role == otherTyped.role && - userRole == otherTyped.userRole && - photoUrl == otherTyped.photoUrl && - createdDate == otherTyped.createdDate && - updatedDate == otherTyped.updatedDate; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, email.hashCode, fullName.hashCode, role.hashCode, userRole.hashCode, photoUrl.hashCode, createdDate.hashCode, updatedDate.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (fullName != null) { - json['fullName'] = nativeToJson(fullName); - } - json['role'] = - userBaseRoleSerializer(role) - ; - if (userRole != null) { - json['userRole'] = nativeToJson(userRole); - } - if (photoUrl != null) { - json['photoUrl'] = nativeToJson(photoUrl); - } - if (createdDate != null) { - json['createdDate'] = createdDate!.toJson(); - } - if (updatedDate != null) { - json['updatedDate'] = updatedDate!.toJson(); - } - return json; - } - - ListUsersUsers({ - required this.id, - this.email, - this.fullName, - required this.role, - this.userRole, - this.photoUrl, - this.createdDate, - this.updatedDate, - }); -} - -@immutable -class ListUsersData { - final List users; - ListUsersData.fromJson(dynamic json): - - users = (json['users'] as List) - .map((e) => ListUsersUsers.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListUsersData otherTyped = other as ListUsersData; - return users == otherTyped.users; - - } - @override - int get hashCode => users.hashCode; - - - Map toJson() { - Map json = {}; - json['users'] = users.map((e) => e.toJson()).toList(); - return json; - } - - ListUsersData({ - required this.users, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_vendor_benefit_plans.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_vendor_benefit_plans.dart deleted file mode 100644 index 2aee6cf6..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_vendor_benefit_plans.dart +++ /dev/null @@ -1,248 +0,0 @@ -part of 'generated.dart'; - -class ListVendorBenefitPlansVariablesBuilder { - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; - ListVendorBenefitPlansVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListVendorBenefitPlansVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListVendorBenefitPlansVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListVendorBenefitPlansData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListVendorBenefitPlansVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListVendorBenefitPlansVariables vars= ListVendorBenefitPlansVariables(offset: _offset,limit: _limit,); - return _dataConnect.query("listVendorBenefitPlans", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListVendorBenefitPlansVendorBenefitPlans { - final String id; - final String vendorId; - final String title; - final String? description; - final String? requestLabel; - final int? total; - final bool? isActive; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListVendorBenefitPlansVendorBenefitPlansVendor vendor; - ListVendorBenefitPlansVendorBenefitPlans.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorId = nativeFromJson(json['vendorId']), - title = nativeFromJson(json['title']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - requestLabel = json['requestLabel'] == null ? null : nativeFromJson(json['requestLabel']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - vendor = ListVendorBenefitPlansVendorBenefitPlansVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListVendorBenefitPlansVendorBenefitPlans otherTyped = other as ListVendorBenefitPlansVendorBenefitPlans; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - title == otherTyped.title && - description == otherTyped.description && - requestLabel == otherTyped.requestLabel && - total == otherTyped.total && - isActive == otherTyped.isActive && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, title.hashCode, description.hashCode, requestLabel.hashCode, total.hashCode, isActive.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorId'] = nativeToJson(vendorId); - json['title'] = nativeToJson(title); - if (description != null) { - json['description'] = nativeToJson(description); - } - if (requestLabel != null) { - json['requestLabel'] = nativeToJson(requestLabel); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['vendor'] = vendor.toJson(); - return json; - } - - ListVendorBenefitPlansVendorBenefitPlans({ - required this.id, - required this.vendorId, - required this.title, - this.description, - this.requestLabel, - this.total, - this.isActive, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.vendor, - }); -} - -@immutable -class ListVendorBenefitPlansVendorBenefitPlansVendor { - final String companyName; - ListVendorBenefitPlansVendorBenefitPlansVendor.fromJson(dynamic json): - - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListVendorBenefitPlansVendorBenefitPlansVendor otherTyped = other as ListVendorBenefitPlansVendorBenefitPlansVendor; - return companyName == otherTyped.companyName; - - } - @override - int get hashCode => companyName.hashCode; - - - Map toJson() { - Map json = {}; - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListVendorBenefitPlansVendorBenefitPlansVendor({ - required this.companyName, - }); -} - -@immutable -class ListVendorBenefitPlansData { - final List vendorBenefitPlans; - ListVendorBenefitPlansData.fromJson(dynamic json): - - vendorBenefitPlans = (json['vendorBenefitPlans'] as List) - .map((e) => ListVendorBenefitPlansVendorBenefitPlans.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListVendorBenefitPlansData otherTyped = other as ListVendorBenefitPlansData; - return vendorBenefitPlans == otherTyped.vendorBenefitPlans; - - } - @override - int get hashCode => vendorBenefitPlans.hashCode; - - - Map toJson() { - Map json = {}; - json['vendorBenefitPlans'] = vendorBenefitPlans.map((e) => e.toJson()).toList(); - return json; - } - - ListVendorBenefitPlansData({ - required this.vendorBenefitPlans, - }); -} - -@immutable -class ListVendorBenefitPlansVariables { - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListVendorBenefitPlansVariables.fromJson(Map json) { - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListVendorBenefitPlansVariables otherTyped = other as ListVendorBenefitPlansVariables; - return offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListVendorBenefitPlansVariables({ - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_vendor_benefit_plans_by_vendor_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_vendor_benefit_plans_by_vendor_id.dart deleted file mode 100644 index 47704ee3..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_vendor_benefit_plans_by_vendor_id.dart +++ /dev/null @@ -1,255 +0,0 @@ -part of 'generated.dart'; - -class ListVendorBenefitPlansByVendorIdVariablesBuilder { - String vendorId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListVendorBenefitPlansByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListVendorBenefitPlansByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListVendorBenefitPlansByVendorIdVariablesBuilder(this._dataConnect, {required this.vendorId,}); - Deserializer dataDeserializer = (dynamic json) => ListVendorBenefitPlansByVendorIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListVendorBenefitPlansByVendorIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListVendorBenefitPlansByVendorIdVariables vars= ListVendorBenefitPlansByVendorIdVariables(vendorId: vendorId,offset: _offset,limit: _limit,); - return _dataConnect.query("listVendorBenefitPlansByVendorId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListVendorBenefitPlansByVendorIdVendorBenefitPlans { - final String id; - final String vendorId; - final String title; - final String? description; - final String? requestLabel; - final int? total; - final bool? isActive; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final ListVendorBenefitPlansByVendorIdVendorBenefitPlansVendor vendor; - ListVendorBenefitPlansByVendorIdVendorBenefitPlans.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorId = nativeFromJson(json['vendorId']), - title = nativeFromJson(json['title']), - description = json['description'] == null ? null : nativeFromJson(json['description']), - requestLabel = json['requestLabel'] == null ? null : nativeFromJson(json['requestLabel']), - total = json['total'] == null ? null : nativeFromJson(json['total']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - vendor = ListVendorBenefitPlansByVendorIdVendorBenefitPlansVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListVendorBenefitPlansByVendorIdVendorBenefitPlans otherTyped = other as ListVendorBenefitPlansByVendorIdVendorBenefitPlans; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - title == otherTyped.title && - description == otherTyped.description && - requestLabel == otherTyped.requestLabel && - total == otherTyped.total && - isActive == otherTyped.isActive && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, title.hashCode, description.hashCode, requestLabel.hashCode, total.hashCode, isActive.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorId'] = nativeToJson(vendorId); - json['title'] = nativeToJson(title); - if (description != null) { - json['description'] = nativeToJson(description); - } - if (requestLabel != null) { - json['requestLabel'] = nativeToJson(requestLabel); - } - if (total != null) { - json['total'] = nativeToJson(total); - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - json['vendor'] = vendor.toJson(); - return json; - } - - ListVendorBenefitPlansByVendorIdVendorBenefitPlans({ - required this.id, - required this.vendorId, - required this.title, - this.description, - this.requestLabel, - this.total, - this.isActive, - this.createdAt, - this.updatedAt, - this.createdBy, - required this.vendor, - }); -} - -@immutable -class ListVendorBenefitPlansByVendorIdVendorBenefitPlansVendor { - final String companyName; - ListVendorBenefitPlansByVendorIdVendorBenefitPlansVendor.fromJson(dynamic json): - - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListVendorBenefitPlansByVendorIdVendorBenefitPlansVendor otherTyped = other as ListVendorBenefitPlansByVendorIdVendorBenefitPlansVendor; - return companyName == otherTyped.companyName; - - } - @override - int get hashCode => companyName.hashCode; - - - Map toJson() { - Map json = {}; - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListVendorBenefitPlansByVendorIdVendorBenefitPlansVendor({ - required this.companyName, - }); -} - -@immutable -class ListVendorBenefitPlansByVendorIdData { - final List vendorBenefitPlans; - ListVendorBenefitPlansByVendorIdData.fromJson(dynamic json): - - vendorBenefitPlans = (json['vendorBenefitPlans'] as List) - .map((e) => ListVendorBenefitPlansByVendorIdVendorBenefitPlans.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListVendorBenefitPlansByVendorIdData otherTyped = other as ListVendorBenefitPlansByVendorIdData; - return vendorBenefitPlans == otherTyped.vendorBenefitPlans; - - } - @override - int get hashCode => vendorBenefitPlans.hashCode; - - - Map toJson() { - Map json = {}; - json['vendorBenefitPlans'] = vendorBenefitPlans.map((e) => e.toJson()).toList(); - return json; - } - - ListVendorBenefitPlansByVendorIdData({ - required this.vendorBenefitPlans, - }); -} - -@immutable -class ListVendorBenefitPlansByVendorIdVariables { - final String vendorId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListVendorBenefitPlansByVendorIdVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListVendorBenefitPlansByVendorIdVariables otherTyped = other as ListVendorBenefitPlansByVendorIdVariables; - return vendorId == otherTyped.vendorId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListVendorBenefitPlansByVendorIdVariables({ - required this.vendorId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_vendor_rates.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_vendor_rates.dart deleted file mode 100644 index 20b178cc..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_vendor_rates.dart +++ /dev/null @@ -1,204 +0,0 @@ -part of 'generated.dart'; - -class ListVendorRatesVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListVendorRatesVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListVendorRatesData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listVendorRates", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListVendorRatesVendorRates { - final String id; - final String vendorId; - final String? roleName; - final EnumValue? category; - final double? clientRate; - final double? employeeWage; - final double? markupPercentage; - final double? vendorFeePercentage; - final bool? isActive; - final String? notes; - final Timestamp? createdAt; - final ListVendorRatesVendorRatesVendor vendor; - ListVendorRatesVendorRates.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorId = nativeFromJson(json['vendorId']), - roleName = json['roleName'] == null ? null : nativeFromJson(json['roleName']), - category = json['category'] == null ? null : categoryTypeDeserializer(json['category']), - clientRate = json['clientRate'] == null ? null : nativeFromJson(json['clientRate']), - employeeWage = json['employeeWage'] == null ? null : nativeFromJson(json['employeeWage']), - markupPercentage = json['markupPercentage'] == null ? null : nativeFromJson(json['markupPercentage']), - vendorFeePercentage = json['vendorFeePercentage'] == null ? null : nativeFromJson(json['vendorFeePercentage']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - vendor = ListVendorRatesVendorRatesVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListVendorRatesVendorRates otherTyped = other as ListVendorRatesVendorRates; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - roleName == otherTyped.roleName && - category == otherTyped.category && - clientRate == otherTyped.clientRate && - employeeWage == otherTyped.employeeWage && - markupPercentage == otherTyped.markupPercentage && - vendorFeePercentage == otherTyped.vendorFeePercentage && - isActive == otherTyped.isActive && - notes == otherTyped.notes && - createdAt == otherTyped.createdAt && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, roleName.hashCode, category.hashCode, clientRate.hashCode, employeeWage.hashCode, markupPercentage.hashCode, vendorFeePercentage.hashCode, isActive.hashCode, notes.hashCode, createdAt.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorId'] = nativeToJson(vendorId); - if (roleName != null) { - json['roleName'] = nativeToJson(roleName); - } - if (category != null) { - json['category'] = - categoryTypeSerializer(category!) - ; - } - if (clientRate != null) { - json['clientRate'] = nativeToJson(clientRate); - } - if (employeeWage != null) { - json['employeeWage'] = nativeToJson(employeeWage); - } - if (markupPercentage != null) { - json['markupPercentage'] = nativeToJson(markupPercentage); - } - if (vendorFeePercentage != null) { - json['vendorFeePercentage'] = nativeToJson(vendorFeePercentage); - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['vendor'] = vendor.toJson(); - return json; - } - - ListVendorRatesVendorRates({ - required this.id, - required this.vendorId, - this.roleName, - this.category, - this.clientRate, - this.employeeWage, - this.markupPercentage, - this.vendorFeePercentage, - this.isActive, - this.notes, - this.createdAt, - required this.vendor, - }); -} - -@immutable -class ListVendorRatesVendorRatesVendor { - final String companyName; - final String? region; - ListVendorRatesVendorRatesVendor.fromJson(dynamic json): - - companyName = nativeFromJson(json['companyName']), - region = json['region'] == null ? null : nativeFromJson(json['region']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListVendorRatesVendorRatesVendor otherTyped = other as ListVendorRatesVendorRatesVendor; - return companyName == otherTyped.companyName && - region == otherTyped.region; - - } - @override - int get hashCode => Object.hashAll([companyName.hashCode, region.hashCode]); - - - Map toJson() { - Map json = {}; - json['companyName'] = nativeToJson(companyName); - if (region != null) { - json['region'] = nativeToJson(region); - } - return json; - } - - ListVendorRatesVendorRatesVendor({ - required this.companyName, - this.region, - }); -} - -@immutable -class ListVendorRatesData { - final List vendorRates; - ListVendorRatesData.fromJson(dynamic json): - - vendorRates = (json['vendorRates'] as List) - .map((e) => ListVendorRatesVendorRates.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListVendorRatesData otherTyped = other as ListVendorRatesData; - return vendorRates == otherTyped.vendorRates; - - } - @override - int get hashCode => vendorRates.hashCode; - - - Map toJson() { - Map json = {}; - json['vendorRates'] = vendorRates.map((e) => e.toJson()).toList(); - return json; - } - - ListVendorRatesData({ - required this.vendorRates, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_vendors.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_vendors.dart deleted file mode 100644 index 03280e62..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_vendors.dart +++ /dev/null @@ -1,249 +0,0 @@ -part of 'generated.dart'; - -class ListVendorsVariablesBuilder { - - final FirebaseDataConnect _dataConnect; - ListVendorsVariablesBuilder(this._dataConnect, ); - Deserializer dataDeserializer = (dynamic json) => ListVendorsData.fromJson(jsonDecode(json)); - - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - - return _dataConnect.query("listVendors", dataDeserializer, emptySerializer, null); - } -} - -@immutable -class ListVendorsVendors { - final String id; - final String userId; - final String companyName; - final String? email; - final String? phone; - final String? photoUrl; - final String? address; - final String? billingAddress; - final String? timezone; - final String? legalName; - final String? doingBusinessAs; - final String? region; - final String? state; - final String? city; - final String? serviceSpecialty; - final EnumValue? approvalStatus; - final bool? isActive; - final double? markup; - final double? fee; - final double? csat; - final EnumValue? tier; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - ListVendorsVendors.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - userId = nativeFromJson(json['userId']), - companyName = nativeFromJson(json['companyName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - phone = json['phone'] == null ? null : nativeFromJson(json['phone']), - photoUrl = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']), - address = json['address'] == null ? null : nativeFromJson(json['address']), - billingAddress = json['billingAddress'] == null ? null : nativeFromJson(json['billingAddress']), - timezone = json['timezone'] == null ? null : nativeFromJson(json['timezone']), - legalName = json['legalName'] == null ? null : nativeFromJson(json['legalName']), - doingBusinessAs = json['doingBusinessAs'] == null ? null : nativeFromJson(json['doingBusinessAs']), - region = json['region'] == null ? null : nativeFromJson(json['region']), - state = json['state'] == null ? null : nativeFromJson(json['state']), - city = json['city'] == null ? null : nativeFromJson(json['city']), - serviceSpecialty = json['serviceSpecialty'] == null ? null : nativeFromJson(json['serviceSpecialty']), - approvalStatus = json['approvalStatus'] == null ? null : approvalStatusDeserializer(json['approvalStatus']), - isActive = json['isActive'] == null ? null : nativeFromJson(json['isActive']), - markup = json['markup'] == null ? null : nativeFromJson(json['markup']), - fee = json['fee'] == null ? null : nativeFromJson(json['fee']), - csat = json['csat'] == null ? null : nativeFromJson(json['csat']), - tier = json['tier'] == null ? null : vendorTierDeserializer(json['tier']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListVendorsVendors otherTyped = other as ListVendorsVendors; - return id == otherTyped.id && - userId == otherTyped.userId && - companyName == otherTyped.companyName && - email == otherTyped.email && - phone == otherTyped.phone && - photoUrl == otherTyped.photoUrl && - address == otherTyped.address && - billingAddress == otherTyped.billingAddress && - timezone == otherTyped.timezone && - legalName == otherTyped.legalName && - doingBusinessAs == otherTyped.doingBusinessAs && - region == otherTyped.region && - state == otherTyped.state && - city == otherTyped.city && - serviceSpecialty == otherTyped.serviceSpecialty && - approvalStatus == otherTyped.approvalStatus && - isActive == otherTyped.isActive && - markup == otherTyped.markup && - fee == otherTyped.fee && - csat == otherTyped.csat && - tier == otherTyped.tier && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, userId.hashCode, companyName.hashCode, email.hashCode, phone.hashCode, photoUrl.hashCode, address.hashCode, billingAddress.hashCode, timezone.hashCode, legalName.hashCode, doingBusinessAs.hashCode, region.hashCode, state.hashCode, city.hashCode, serviceSpecialty.hashCode, approvalStatus.hashCode, isActive.hashCode, markup.hashCode, fee.hashCode, csat.hashCode, tier.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['userId'] = nativeToJson(userId); - json['companyName'] = nativeToJson(companyName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (phone != null) { - json['phone'] = nativeToJson(phone); - } - if (photoUrl != null) { - json['photoUrl'] = nativeToJson(photoUrl); - } - if (address != null) { - json['address'] = nativeToJson(address); - } - if (billingAddress != null) { - json['billingAddress'] = nativeToJson(billingAddress); - } - if (timezone != null) { - json['timezone'] = nativeToJson(timezone); - } - if (legalName != null) { - json['legalName'] = nativeToJson(legalName); - } - if (doingBusinessAs != null) { - json['doingBusinessAs'] = nativeToJson(doingBusinessAs); - } - if (region != null) { - json['region'] = nativeToJson(region); - } - if (state != null) { - json['state'] = nativeToJson(state); - } - if (city != null) { - json['city'] = nativeToJson(city); - } - if (serviceSpecialty != null) { - json['serviceSpecialty'] = nativeToJson(serviceSpecialty); - } - if (approvalStatus != null) { - json['approvalStatus'] = - approvalStatusSerializer(approvalStatus!) - ; - } - if (isActive != null) { - json['isActive'] = nativeToJson(isActive); - } - if (markup != null) { - json['markup'] = nativeToJson(markup); - } - if (fee != null) { - json['fee'] = nativeToJson(fee); - } - if (csat != null) { - json['csat'] = nativeToJson(csat); - } - if (tier != null) { - json['tier'] = - vendorTierSerializer(tier!) - ; - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - return json; - } - - ListVendorsVendors({ - required this.id, - required this.userId, - required this.companyName, - this.email, - this.phone, - this.photoUrl, - this.address, - this.billingAddress, - this.timezone, - this.legalName, - this.doingBusinessAs, - this.region, - this.state, - this.city, - this.serviceSpecialty, - this.approvalStatus, - this.isActive, - this.markup, - this.fee, - this.csat, - this.tier, - this.createdAt, - this.updatedAt, - this.createdBy, - }); -} - -@immutable -class ListVendorsData { - final List vendors; - ListVendorsData.fromJson(dynamic json): - - vendors = (json['vendors'] as List) - .map((e) => ListVendorsVendors.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListVendorsData otherTyped = other as ListVendorsData; - return vendors == otherTyped.vendors; - - } - @override - int get hashCode => vendors.hashCode; - - - Map toJson() { - Map json = {}; - json['vendors'] = vendors.map((e) => e.toJson()).toList(); - return json; - } - - ListVendorsData({ - required this.vendors, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_workforce_by_staff_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_workforce_by_staff_id.dart deleted file mode 100644 index 8cdaa962..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_workforce_by_staff_id.dart +++ /dev/null @@ -1,243 +0,0 @@ -part of 'generated.dart'; - -class ListWorkforceByStaffIdVariablesBuilder { - String staffId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListWorkforceByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListWorkforceByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListWorkforceByStaffIdVariablesBuilder(this._dataConnect, {required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => ListWorkforceByStaffIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListWorkforceByStaffIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListWorkforceByStaffIdVariables vars= ListWorkforceByStaffIdVariables(staffId: staffId,offset: _offset,limit: _limit,); - return _dataConnect.query("listWorkforceByStaffId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListWorkforceByStaffIdWorkforces { - final String id; - final String vendorId; - final String workforceNumber; - final EnumValue? employmentType; - final EnumValue? status; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final ListWorkforceByStaffIdWorkforcesVendor vendor; - ListWorkforceByStaffIdWorkforces.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - vendorId = nativeFromJson(json['vendorId']), - workforceNumber = nativeFromJson(json['workforceNumber']), - employmentType = json['employmentType'] == null ? null : workforceEmploymentTypeDeserializer(json['employmentType']), - status = json['status'] == null ? null : workforceStatusDeserializer(json['status']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - vendor = ListWorkforceByStaffIdWorkforcesVendor.fromJson(json['vendor']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListWorkforceByStaffIdWorkforces otherTyped = other as ListWorkforceByStaffIdWorkforces; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - workforceNumber == otherTyped.workforceNumber && - employmentType == otherTyped.employmentType && - status == otherTyped.status && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - vendor == otherTyped.vendor; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, workforceNumber.hashCode, employmentType.hashCode, status.hashCode, createdAt.hashCode, updatedAt.hashCode, vendor.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['vendorId'] = nativeToJson(vendorId); - json['workforceNumber'] = nativeToJson(workforceNumber); - if (employmentType != null) { - json['employmentType'] = - workforceEmploymentTypeSerializer(employmentType!) - ; - } - if (status != null) { - json['status'] = - workforceStatusSerializer(status!) - ; - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - json['vendor'] = vendor.toJson(); - return json; - } - - ListWorkforceByStaffIdWorkforces({ - required this.id, - required this.vendorId, - required this.workforceNumber, - this.employmentType, - this.status, - this.createdAt, - this.updatedAt, - required this.vendor, - }); -} - -@immutable -class ListWorkforceByStaffIdWorkforcesVendor { - final String id; - final String companyName; - ListWorkforceByStaffIdWorkforcesVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListWorkforceByStaffIdWorkforcesVendor otherTyped = other as ListWorkforceByStaffIdWorkforcesVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - ListWorkforceByStaffIdWorkforcesVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class ListWorkforceByStaffIdData { - final List workforces; - ListWorkforceByStaffIdData.fromJson(dynamic json): - - workforces = (json['workforces'] as List) - .map((e) => ListWorkforceByStaffIdWorkforces.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListWorkforceByStaffIdData otherTyped = other as ListWorkforceByStaffIdData; - return workforces == otherTyped.workforces; - - } - @override - int get hashCode => workforces.hashCode; - - - Map toJson() { - Map json = {}; - json['workforces'] = workforces.map((e) => e.toJson()).toList(); - return json; - } - - ListWorkforceByStaffIdData({ - required this.workforces, - }); -} - -@immutable -class ListWorkforceByStaffIdVariables { - final String staffId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListWorkforceByStaffIdVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListWorkforceByStaffIdVariables otherTyped = other as ListWorkforceByStaffIdVariables; - return staffId == otherTyped.staffId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListWorkforceByStaffIdVariables({ - required this.staffId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/list_workforce_by_vendor_id.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/list_workforce_by_vendor_id.dart deleted file mode 100644 index c8975e17..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/list_workforce_by_vendor_id.dart +++ /dev/null @@ -1,236 +0,0 @@ -part of 'generated.dart'; - -class ListWorkforceByVendorIdVariablesBuilder { - String vendorId; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; ListWorkforceByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListWorkforceByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ListWorkforceByVendorIdVariablesBuilder(this._dataConnect, {required this.vendorId,}); - Deserializer dataDeserializer = (dynamic json) => ListWorkforceByVendorIdData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (ListWorkforceByVendorIdVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - ListWorkforceByVendorIdVariables vars= ListWorkforceByVendorIdVariables(vendorId: vendorId,offset: _offset,limit: _limit,); - return _dataConnect.query("listWorkforceByVendorId", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class ListWorkforceByVendorIdWorkforces { - final String id; - final String staffId; - final String workforceNumber; - final EnumValue? employmentType; - final EnumValue? status; - final Timestamp? createdAt; - final ListWorkforceByVendorIdWorkforcesStaff staff; - ListWorkforceByVendorIdWorkforces.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - staffId = nativeFromJson(json['staffId']), - workforceNumber = nativeFromJson(json['workforceNumber']), - employmentType = json['employmentType'] == null ? null : workforceEmploymentTypeDeserializer(json['employmentType']), - status = json['status'] == null ? null : workforceStatusDeserializer(json['status']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - staff = ListWorkforceByVendorIdWorkforcesStaff.fromJson(json['staff']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListWorkforceByVendorIdWorkforces otherTyped = other as ListWorkforceByVendorIdWorkforces; - return id == otherTyped.id && - staffId == otherTyped.staffId && - workforceNumber == otherTyped.workforceNumber && - employmentType == otherTyped.employmentType && - status == otherTyped.status && - createdAt == otherTyped.createdAt && - staff == otherTyped.staff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, staffId.hashCode, workforceNumber.hashCode, employmentType.hashCode, status.hashCode, createdAt.hashCode, staff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['staffId'] = nativeToJson(staffId); - json['workforceNumber'] = nativeToJson(workforceNumber); - if (employmentType != null) { - json['employmentType'] = - workforceEmploymentTypeSerializer(employmentType!) - ; - } - if (status != null) { - json['status'] = - workforceStatusSerializer(status!) - ; - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - json['staff'] = staff.toJson(); - return json; - } - - ListWorkforceByVendorIdWorkforces({ - required this.id, - required this.staffId, - required this.workforceNumber, - this.employmentType, - this.status, - this.createdAt, - required this.staff, - }); -} - -@immutable -class ListWorkforceByVendorIdWorkforcesStaff { - final String id; - final String fullName; - ListWorkforceByVendorIdWorkforcesStaff.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - fullName = nativeFromJson(json['fullName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListWorkforceByVendorIdWorkforcesStaff otherTyped = other as ListWorkforceByVendorIdWorkforcesStaff; - return id == otherTyped.id && - fullName == otherTyped.fullName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, fullName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['fullName'] = nativeToJson(fullName); - return json; - } - - ListWorkforceByVendorIdWorkforcesStaff({ - required this.id, - required this.fullName, - }); -} - -@immutable -class ListWorkforceByVendorIdData { - final List workforces; - ListWorkforceByVendorIdData.fromJson(dynamic json): - - workforces = (json['workforces'] as List) - .map((e) => ListWorkforceByVendorIdWorkforces.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListWorkforceByVendorIdData otherTyped = other as ListWorkforceByVendorIdData; - return workforces == otherTyped.workforces; - - } - @override - int get hashCode => workforces.hashCode; - - - Map toJson() { - Map json = {}; - json['workforces'] = workforces.map((e) => e.toJson()).toList(); - return json; - } - - ListWorkforceByVendorIdData({ - required this.workforces, - }); -} - -@immutable -class ListWorkforceByVendorIdVariables { - final String vendorId; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - ListWorkforceByVendorIdVariables.fromJson(Map json): - - vendorId = nativeFromJson(json['vendorId']) { - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final ListWorkforceByVendorIdVariables otherTyped = other as ListWorkforceByVendorIdVariables; - return vendorId == otherTyped.vendorId && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([vendorId.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorId'] = nativeToJson(vendorId); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - ListWorkforceByVendorIdVariables({ - required this.vendorId, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/mark_activity_log_as_read.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/mark_activity_log_as_read.dart deleted file mode 100644 index e1f9ed7f..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/mark_activity_log_as_read.dart +++ /dev/null @@ -1,124 +0,0 @@ -part of 'generated.dart'; - -class MarkActivityLogAsReadVariablesBuilder { - String id; - - final FirebaseDataConnect _dataConnect; - MarkActivityLogAsReadVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => MarkActivityLogAsReadData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (MarkActivityLogAsReadVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - MarkActivityLogAsReadVariables vars= MarkActivityLogAsReadVariables(id: id,); - return _dataConnect.mutation("markActivityLogAsRead", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class MarkActivityLogAsReadActivityLogUpdate { - final String id; - MarkActivityLogAsReadActivityLogUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final MarkActivityLogAsReadActivityLogUpdate otherTyped = other as MarkActivityLogAsReadActivityLogUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - MarkActivityLogAsReadActivityLogUpdate({ - required this.id, - }); -} - -@immutable -class MarkActivityLogAsReadData { - final MarkActivityLogAsReadActivityLogUpdate? activityLog_update; - MarkActivityLogAsReadData.fromJson(dynamic json): - - activityLog_update = json['activityLog_update'] == null ? null : MarkActivityLogAsReadActivityLogUpdate.fromJson(json['activityLog_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final MarkActivityLogAsReadData otherTyped = other as MarkActivityLogAsReadData; - return activityLog_update == otherTyped.activityLog_update; - - } - @override - int get hashCode => activityLog_update.hashCode; - - - Map toJson() { - Map json = {}; - if (activityLog_update != null) { - json['activityLog_update'] = activityLog_update!.toJson(); - } - return json; - } - - MarkActivityLogAsReadData({ - this.activityLog_update, - }); -} - -@immutable -class MarkActivityLogAsReadVariables { - final String id; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - MarkActivityLogAsReadVariables.fromJson(Map json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final MarkActivityLogAsReadVariables otherTyped = other as MarkActivityLogAsReadVariables; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - MarkActivityLogAsReadVariables({ - required this.id, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/mark_activity_logs_as_read.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/mark_activity_logs_as_read.dart deleted file mode 100644 index c976961d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/mark_activity_logs_as_read.dart +++ /dev/null @@ -1,90 +0,0 @@ -part of 'generated.dart'; - -class MarkActivityLogsAsReadVariablesBuilder { - List ids; - - final FirebaseDataConnect _dataConnect; - MarkActivityLogsAsReadVariablesBuilder(this._dataConnect, {required this.ids,}); - Deserializer dataDeserializer = (dynamic json) => MarkActivityLogsAsReadData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (MarkActivityLogsAsReadVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - MarkActivityLogsAsReadVariables vars= MarkActivityLogsAsReadVariables(ids: ids,); - return _dataConnect.mutation("markActivityLogsAsRead", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class MarkActivityLogsAsReadData { - final int activityLog_updateMany; - MarkActivityLogsAsReadData.fromJson(dynamic json): - - activityLog_updateMany = nativeFromJson(json['activityLog_updateMany']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final MarkActivityLogsAsReadData otherTyped = other as MarkActivityLogsAsReadData; - return activityLog_updateMany == otherTyped.activityLog_updateMany; - - } - @override - int get hashCode => activityLog_updateMany.hashCode; - - - Map toJson() { - Map json = {}; - json['activityLog_updateMany'] = nativeToJson(activityLog_updateMany); - return json; - } - - MarkActivityLogsAsReadData({ - required this.activityLog_updateMany, - }); -} - -@immutable -class MarkActivityLogsAsReadVariables { - final List ids; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - MarkActivityLogsAsReadVariables.fromJson(Map json): - - ids = (json['ids'] as List) - .map((e) => nativeFromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final MarkActivityLogsAsReadVariables otherTyped = other as MarkActivityLogsAsReadVariables; - return ids == otherTyped.ids; - - } - @override - int get hashCode => ids.hashCode; - - - Map toJson() { - Map json = {}; - json['ids'] = ids.map((e) => nativeToJson(e)).toList(); - return json; - } - - MarkActivityLogsAsReadVariables({ - required this.ids, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/mark_conversation_as_read.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/mark_conversation_as_read.dart deleted file mode 100644 index d24fd1fc..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/mark_conversation_as_read.dart +++ /dev/null @@ -1,154 +0,0 @@ -part of 'generated.dart'; - -class MarkConversationAsReadVariablesBuilder { - String conversationId; - String userId; - Optional _lastReadAt = Optional.optional((json) => json['lastReadAt'] = Timestamp.fromJson(json['lastReadAt']), defaultSerializer); - - final FirebaseDataConnect _dataConnect; MarkConversationAsReadVariablesBuilder lastReadAt(Timestamp? t) { - _lastReadAt.value = t; - return this; - } - - MarkConversationAsReadVariablesBuilder(this._dataConnect, {required this.conversationId,required this.userId,}); - Deserializer dataDeserializer = (dynamic json) => MarkConversationAsReadData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (MarkConversationAsReadVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - MarkConversationAsReadVariables vars= MarkConversationAsReadVariables(conversationId: conversationId,userId: userId,lastReadAt: _lastReadAt,); - return _dataConnect.mutation("markConversationAsRead", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class MarkConversationAsReadUserConversationUpdate { - final String conversationId; - final String userId; - MarkConversationAsReadUserConversationUpdate.fromJson(dynamic json): - - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final MarkConversationAsReadUserConversationUpdate otherTyped = other as MarkConversationAsReadUserConversationUpdate; - return conversationId == otherTyped.conversationId && - userId == otherTyped.userId; - - } - @override - int get hashCode => Object.hashAll([conversationId.hashCode, userId.hashCode]); - - - Map toJson() { - Map json = {}; - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - return json; - } - - MarkConversationAsReadUserConversationUpdate({ - required this.conversationId, - required this.userId, - }); -} - -@immutable -class MarkConversationAsReadData { - final MarkConversationAsReadUserConversationUpdate? userConversation_update; - MarkConversationAsReadData.fromJson(dynamic json): - - userConversation_update = json['userConversation_update'] == null ? null : MarkConversationAsReadUserConversationUpdate.fromJson(json['userConversation_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final MarkConversationAsReadData otherTyped = other as MarkConversationAsReadData; - return userConversation_update == otherTyped.userConversation_update; - - } - @override - int get hashCode => userConversation_update.hashCode; - - - Map toJson() { - Map json = {}; - if (userConversation_update != null) { - json['userConversation_update'] = userConversation_update!.toJson(); - } - return json; - } - - MarkConversationAsReadData({ - this.userConversation_update, - }); -} - -@immutable -class MarkConversationAsReadVariables { - final String conversationId; - final String userId; - late final OptionallastReadAt; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - MarkConversationAsReadVariables.fromJson(Map json): - - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']) { - - - - - lastReadAt = Optional.optional((json) => json['lastReadAt'] = Timestamp.fromJson(json['lastReadAt']), defaultSerializer); - lastReadAt.value = json['lastReadAt'] == null ? null : Timestamp.fromJson(json['lastReadAt']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final MarkConversationAsReadVariables otherTyped = other as MarkConversationAsReadVariables; - return conversationId == otherTyped.conversationId && - userId == otherTyped.userId && - lastReadAt == otherTyped.lastReadAt; - - } - @override - int get hashCode => Object.hashAll([conversationId.hashCode, userId.hashCode, lastReadAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - if(lastReadAt.state == OptionalState.set) { - json['lastReadAt'] = lastReadAt.toJson(); - } - return json; - } - - MarkConversationAsReadVariables({ - required this.conversationId, - required this.userId, - required this.lastReadAt, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/search_invoice_templates_by_owner_and_name.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/search_invoice_templates_by_owner_and_name.dart deleted file mode 100644 index 8dc4e87b..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/search_invoice_templates_by_owner_and_name.dart +++ /dev/null @@ -1,491 +0,0 @@ -part of 'generated.dart'; - -class SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder { - String ownerId; - String name; - Optional _offset = Optional.optional(nativeFromJson, nativeToJson); - Optional _limit = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder(this._dataConnect, {required this.ownerId,required this.name,}); - Deserializer dataDeserializer = (dynamic json) => SearchInvoiceTemplatesByOwnerAndNameData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (SearchInvoiceTemplatesByOwnerAndNameVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - QueryRef ref() { - SearchInvoiceTemplatesByOwnerAndNameVariables vars= SearchInvoiceTemplatesByOwnerAndNameVariables(ownerId: ownerId,name: name,offset: _offset,limit: _limit,); - return _dataConnect.query("searchInvoiceTemplatesByOwnerAndName", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplates { - final String id; - final String name; - final String ownerId; - final String? vendorId; - final String? businessId; - final String? orderId; - final EnumValue? paymentTerms; - final String? invoiceNumber; - final Timestamp? issueDate; - final Timestamp? dueDate; - final String? hub; - final String? managerName; - final String? vendorNumber; - final AnyValue? roles; - final AnyValue? charges; - final double? otherCharges; - final double? subtotal; - final double? amount; - final String? notes; - final int? staffCount; - final int? chargesCount; - final Timestamp? createdAt; - final Timestamp? updatedAt; - final String? createdBy; - final SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesVendor? vendor; - final SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesBusiness? business; - final SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesOrder? order; - SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplates.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - name = nativeFromJson(json['name']), - ownerId = nativeFromJson(json['ownerId']), - vendorId = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']), - businessId = json['businessId'] == null ? null : nativeFromJson(json['businessId']), - orderId = json['orderId'] == null ? null : nativeFromJson(json['orderId']), - paymentTerms = json['paymentTerms'] == null ? null : inovicePaymentTermsTempDeserializer(json['paymentTerms']), - invoiceNumber = json['invoiceNumber'] == null ? null : nativeFromJson(json['invoiceNumber']), - issueDate = json['issueDate'] == null ? null : Timestamp.fromJson(json['issueDate']), - dueDate = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']), - hub = json['hub'] == null ? null : nativeFromJson(json['hub']), - managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), - vendorNumber = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']), - roles = json['roles'] == null ? null : AnyValue.fromJson(json['roles']), - charges = json['charges'] == null ? null : AnyValue.fromJson(json['charges']), - otherCharges = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']), - subtotal = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']), - amount = json['amount'] == null ? null : nativeFromJson(json['amount']), - notes = json['notes'] == null ? null : nativeFromJson(json['notes']), - staffCount = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']), - chargesCount = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']), - createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), - updatedAt = json['updatedAt'] == null ? null : Timestamp.fromJson(json['updatedAt']), - createdBy = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']), - vendor = json['vendor'] == null ? null : SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesVendor.fromJson(json['vendor']), - business = json['business'] == null ? null : SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesBusiness.fromJson(json['business']), - order = json['order'] == null ? null : SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesOrder.fromJson(json['order']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplates otherTyped = other as SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplates; - return id == otherTyped.id && - name == otherTyped.name && - ownerId == otherTyped.ownerId && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount && - createdAt == otherTyped.createdAt && - updatedAt == otherTyped.updatedAt && - createdBy == otherTyped.createdBy && - vendor == otherTyped.vendor && - business == otherTyped.business && - order == otherTyped.order; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, ownerId.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode, createdAt.hashCode, updatedAt.hashCode, createdBy.hashCode, vendor.hashCode, business.hashCode, order.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['name'] = nativeToJson(name); - json['ownerId'] = nativeToJson(ownerId); - if (vendorId != null) { - json['vendorId'] = nativeToJson(vendorId); - } - if (businessId != null) { - json['businessId'] = nativeToJson(businessId); - } - if (orderId != null) { - json['orderId'] = nativeToJson(orderId); - } - if (paymentTerms != null) { - json['paymentTerms'] = - inovicePaymentTermsTempSerializer(paymentTerms!) - ; - } - if (invoiceNumber != null) { - json['invoiceNumber'] = nativeToJson(invoiceNumber); - } - if (issueDate != null) { - json['issueDate'] = issueDate!.toJson(); - } - if (dueDate != null) { - json['dueDate'] = dueDate!.toJson(); - } - if (hub != null) { - json['hub'] = nativeToJson(hub); - } - if (managerName != null) { - json['managerName'] = nativeToJson(managerName); - } - if (vendorNumber != null) { - json['vendorNumber'] = nativeToJson(vendorNumber); - } - if (roles != null) { - json['roles'] = roles!.toJson(); - } - if (charges != null) { - json['charges'] = charges!.toJson(); - } - if (otherCharges != null) { - json['otherCharges'] = nativeToJson(otherCharges); - } - if (subtotal != null) { - json['subtotal'] = nativeToJson(subtotal); - } - if (amount != null) { - json['amount'] = nativeToJson(amount); - } - if (notes != null) { - json['notes'] = nativeToJson(notes); - } - if (staffCount != null) { - json['staffCount'] = nativeToJson(staffCount); - } - if (chargesCount != null) { - json['chargesCount'] = nativeToJson(chargesCount); - } - if (createdAt != null) { - json['createdAt'] = createdAt!.toJson(); - } - if (updatedAt != null) { - json['updatedAt'] = updatedAt!.toJson(); - } - if (createdBy != null) { - json['createdBy'] = nativeToJson(createdBy); - } - if (vendor != null) { - json['vendor'] = vendor!.toJson(); - } - if (business != null) { - json['business'] = business!.toJson(); - } - if (order != null) { - json['order'] = order!.toJson(); - } - return json; - } - - SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplates({ - required this.id, - required this.name, - required this.ownerId, - this.vendorId, - this.businessId, - this.orderId, - this.paymentTerms, - this.invoiceNumber, - this.issueDate, - this.dueDate, - this.hub, - this.managerName, - this.vendorNumber, - this.roles, - this.charges, - this.otherCharges, - this.subtotal, - this.amount, - this.notes, - this.staffCount, - this.chargesCount, - this.createdAt, - this.updatedAt, - this.createdBy, - this.vendor, - this.business, - this.order, - }); -} - -@immutable -class SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesVendor { - final String id; - final String companyName; - SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesVendor.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - companyName = nativeFromJson(json['companyName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesVendor otherTyped = other as SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesVendor; - return id == otherTyped.id && - companyName == otherTyped.companyName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['companyName'] = nativeToJson(companyName); - return json; - } - - SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesVendor({ - required this.id, - required this.companyName, - }); -} - -@immutable -class SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesBusiness { - final String id; - final String businessName; - final String? email; - final String? contactName; - SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesBusiness.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - businessName = nativeFromJson(json['businessName']), - email = json['email'] == null ? null : nativeFromJson(json['email']), - contactName = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesBusiness otherTyped = other as SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesBusiness; - return id == otherTyped.id && - businessName == otherTyped.businessName && - email == otherTyped.email && - contactName == otherTyped.contactName; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, email.hashCode, contactName.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['businessName'] = nativeToJson(businessName); - if (email != null) { - json['email'] = nativeToJson(email); - } - if (contactName != null) { - json['contactName'] = nativeToJson(contactName); - } - return json; - } - - SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesBusiness({ - required this.id, - required this.businessName, - this.email, - this.contactName, - }); -} - -@immutable -class SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesOrder { - final String id; - final String? eventName; - final EnumValue status; - final EnumValue orderType; - SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesOrder.fromJson(dynamic json): - - id = nativeFromJson(json['id']), - eventName = json['eventName'] == null ? null : nativeFromJson(json['eventName']), - status = orderStatusDeserializer(json['status']), - orderType = orderTypeDeserializer(json['orderType']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesOrder otherTyped = other as SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesOrder; - return id == otherTyped.id && - eventName == otherTyped.eventName && - status == otherTyped.status && - orderType == otherTyped.orderType; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, eventName.hashCode, status.hashCode, orderType.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if (eventName != null) { - json['eventName'] = nativeToJson(eventName); - } - json['status'] = - orderStatusSerializer(status) - ; - json['orderType'] = - orderTypeSerializer(orderType) - ; - return json; - } - - SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplatesOrder({ - required this.id, - this.eventName, - required this.status, - required this.orderType, - }); -} - -@immutable -class SearchInvoiceTemplatesByOwnerAndNameData { - final List invoiceTemplates; - SearchInvoiceTemplatesByOwnerAndNameData.fromJson(dynamic json): - - invoiceTemplates = (json['invoiceTemplates'] as List) - .map((e) => SearchInvoiceTemplatesByOwnerAndNameInvoiceTemplates.fromJson(e)) - .toList(); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final SearchInvoiceTemplatesByOwnerAndNameData otherTyped = other as SearchInvoiceTemplatesByOwnerAndNameData; - return invoiceTemplates == otherTyped.invoiceTemplates; - - } - @override - int get hashCode => invoiceTemplates.hashCode; - - - Map toJson() { - Map json = {}; - json['invoiceTemplates'] = invoiceTemplates.map((e) => e.toJson()).toList(); - return json; - } - - SearchInvoiceTemplatesByOwnerAndNameData({ - required this.invoiceTemplates, - }); -} - -@immutable -class SearchInvoiceTemplatesByOwnerAndNameVariables { - final String ownerId; - final String name; - late final Optionaloffset; - late final Optionallimit; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - SearchInvoiceTemplatesByOwnerAndNameVariables.fromJson(Map json): - - ownerId = nativeFromJson(json['ownerId']), - name = nativeFromJson(json['name']) { - - - - - offset = Optional.optional(nativeFromJson, nativeToJson); - offset.value = json['offset'] == null ? null : nativeFromJson(json['offset']); - - - limit = Optional.optional(nativeFromJson, nativeToJson); - limit.value = json['limit'] == null ? null : nativeFromJson(json['limit']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final SearchInvoiceTemplatesByOwnerAndNameVariables otherTyped = other as SearchInvoiceTemplatesByOwnerAndNameVariables; - return ownerId == otherTyped.ownerId && - name == otherTyped.name && - offset == otherTyped.offset && - limit == otherTyped.limit; - - } - @override - int get hashCode => Object.hashAll([ownerId.hashCode, name.hashCode, offset.hashCode, limit.hashCode]); - - - Map toJson() { - Map json = {}; - json['ownerId'] = nativeToJson(ownerId); - json['name'] = nativeToJson(name); - if(offset.state == OptionalState.set) { - json['offset'] = offset.toJson(); - } - if(limit.state == OptionalState.set) { - json['limit'] = limit.toJson(); - } - return json; - } - - SearchInvoiceTemplatesByOwnerAndNameVariables({ - required this.ownerId, - required this.name, - required this.offset, - required this.limit, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_account.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_account.dart deleted file mode 100644 index 45c9489c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_account.dart +++ /dev/null @@ -1,187 +0,0 @@ -part of 'generated.dart'; - -class UpdateAccountVariablesBuilder { - String id; - Optional _bank = Optional.optional(nativeFromJson, nativeToJson); - Optional _type = Optional.optional((data) => AccountType.values.byName(data), enumSerializer); - Optional _last4 = Optional.optional(nativeFromJson, nativeToJson); - Optional _isPrimary = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateAccountVariablesBuilder bank(String? t) { - _bank.value = t; - return this; - } - UpdateAccountVariablesBuilder type(AccountType? t) { - _type.value = t; - return this; - } - UpdateAccountVariablesBuilder last4(String? t) { - _last4.value = t; - return this; - } - UpdateAccountVariablesBuilder isPrimary(bool? t) { - _isPrimary.value = t; - return this; - } - - UpdateAccountVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateAccountData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateAccountVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateAccountVariables vars= UpdateAccountVariables(id: id,bank: _bank,type: _type,last4: _last4,isPrimary: _isPrimary,); - return _dataConnect.mutation("updateAccount", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateAccountAccountUpdate { - final String id; - UpdateAccountAccountUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateAccountAccountUpdate otherTyped = other as UpdateAccountAccountUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateAccountAccountUpdate({ - required this.id, - }); -} - -@immutable -class UpdateAccountData { - final UpdateAccountAccountUpdate? account_update; - UpdateAccountData.fromJson(dynamic json): - - account_update = json['account_update'] == null ? null : UpdateAccountAccountUpdate.fromJson(json['account_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateAccountData otherTyped = other as UpdateAccountData; - return account_update == otherTyped.account_update; - - } - @override - int get hashCode => account_update.hashCode; - - - Map toJson() { - Map json = {}; - if (account_update != null) { - json['account_update'] = account_update!.toJson(); - } - return json; - } - - UpdateAccountData({ - this.account_update, - }); -} - -@immutable -class UpdateAccountVariables { - final String id; - late final Optionalbank; - late final Optionaltype; - late final Optionallast4; - late final OptionalisPrimary; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateAccountVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - bank = Optional.optional(nativeFromJson, nativeToJson); - bank.value = json['bank'] == null ? null : nativeFromJson(json['bank']); - - - type = Optional.optional((data) => AccountType.values.byName(data), enumSerializer); - type.value = json['type'] == null ? null : AccountType.values.byName(json['type']); - - - last4 = Optional.optional(nativeFromJson, nativeToJson); - last4.value = json['last4'] == null ? null : nativeFromJson(json['last4']); - - - isPrimary = Optional.optional(nativeFromJson, nativeToJson); - isPrimary.value = json['isPrimary'] == null ? null : nativeFromJson(json['isPrimary']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateAccountVariables otherTyped = other as UpdateAccountVariables; - return id == otherTyped.id && - bank == otherTyped.bank && - type == otherTyped.type && - last4 == otherTyped.last4 && - isPrimary == otherTyped.isPrimary; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, bank.hashCode, type.hashCode, last4.hashCode, isPrimary.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(bank.state == OptionalState.set) { - json['bank'] = bank.toJson(); - } - if(type.state == OptionalState.set) { - json['type'] = type.toJson(); - } - if(last4.state == OptionalState.set) { - json['last4'] = last4.toJson(); - } - if(isPrimary.state == OptionalState.set) { - json['isPrimary'] = isPrimary.toJson(); - } - return json; - } - - UpdateAccountVariables({ - required this.id, - required this.bank, - required this.type, - required this.last4, - required this.isPrimary, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_activity_log.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_activity_log.dart deleted file mode 100644 index 9e226064..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_activity_log.dart +++ /dev/null @@ -1,292 +0,0 @@ -part of 'generated.dart'; - -class UpdateActivityLogVariablesBuilder { - String id; - Optional _userId = Optional.optional(nativeFromJson, nativeToJson); - Optional _date = Optional.optional((json) => json['date'] = Timestamp.fromJson(json['date']), defaultSerializer); - Optional _hourStart = Optional.optional(nativeFromJson, nativeToJson); - Optional _hourEnd = Optional.optional(nativeFromJson, nativeToJson); - Optional _totalhours = Optional.optional(nativeFromJson, nativeToJson); - Optional _iconType = Optional.optional((data) => ActivityIconType.values.byName(data), enumSerializer); - Optional _iconColor = Optional.optional(nativeFromJson, nativeToJson); - Optional _title = Optional.optional(nativeFromJson, nativeToJson); - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - Optional _isRead = Optional.optional(nativeFromJson, nativeToJson); - Optional _activityType = Optional.optional((data) => ActivityType.values.byName(data), enumSerializer); - - final FirebaseDataConnect _dataConnect; UpdateActivityLogVariablesBuilder userId(String? t) { - _userId.value = t; - return this; - } - UpdateActivityLogVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - UpdateActivityLogVariablesBuilder hourStart(String? t) { - _hourStart.value = t; - return this; - } - UpdateActivityLogVariablesBuilder hourEnd(String? t) { - _hourEnd.value = t; - return this; - } - UpdateActivityLogVariablesBuilder totalhours(String? t) { - _totalhours.value = t; - return this; - } - UpdateActivityLogVariablesBuilder iconType(ActivityIconType? t) { - _iconType.value = t; - return this; - } - UpdateActivityLogVariablesBuilder iconColor(String? t) { - _iconColor.value = t; - return this; - } - UpdateActivityLogVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateActivityLogVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateActivityLogVariablesBuilder isRead(bool? t) { - _isRead.value = t; - return this; - } - UpdateActivityLogVariablesBuilder activityType(ActivityType? t) { - _activityType.value = t; - return this; - } - - UpdateActivityLogVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateActivityLogData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateActivityLogVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateActivityLogVariables vars= UpdateActivityLogVariables(id: id,userId: _userId,date: _date,hourStart: _hourStart,hourEnd: _hourEnd,totalhours: _totalhours,iconType: _iconType,iconColor: _iconColor,title: _title,description: _description,isRead: _isRead,activityType: _activityType,); - return _dataConnect.mutation("updateActivityLog", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateActivityLogActivityLogUpdate { - final String id; - UpdateActivityLogActivityLogUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateActivityLogActivityLogUpdate otherTyped = other as UpdateActivityLogActivityLogUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateActivityLogActivityLogUpdate({ - required this.id, - }); -} - -@immutable -class UpdateActivityLogData { - final UpdateActivityLogActivityLogUpdate? activityLog_update; - UpdateActivityLogData.fromJson(dynamic json): - - activityLog_update = json['activityLog_update'] == null ? null : UpdateActivityLogActivityLogUpdate.fromJson(json['activityLog_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateActivityLogData otherTyped = other as UpdateActivityLogData; - return activityLog_update == otherTyped.activityLog_update; - - } - @override - int get hashCode => activityLog_update.hashCode; - - - Map toJson() { - Map json = {}; - if (activityLog_update != null) { - json['activityLog_update'] = activityLog_update!.toJson(); - } - return json; - } - - UpdateActivityLogData({ - this.activityLog_update, - }); -} - -@immutable -class UpdateActivityLogVariables { - final String id; - late final OptionaluserId; - late final Optionaldate; - late final OptionalhourStart; - late final OptionalhourEnd; - late final Optionaltotalhours; - late final OptionaliconType; - late final OptionaliconColor; - late final Optionaltitle; - late final Optionaldescription; - late final OptionalisRead; - late final OptionalactivityType; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateActivityLogVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - userId = Optional.optional(nativeFromJson, nativeToJson); - userId.value = json['userId'] == null ? null : nativeFromJson(json['userId']); - - - date = Optional.optional((json) => json['date'] = Timestamp.fromJson(json['date']), defaultSerializer); - date.value = json['date'] == null ? null : Timestamp.fromJson(json['date']); - - - hourStart = Optional.optional(nativeFromJson, nativeToJson); - hourStart.value = json['hourStart'] == null ? null : nativeFromJson(json['hourStart']); - - - hourEnd = Optional.optional(nativeFromJson, nativeToJson); - hourEnd.value = json['hourEnd'] == null ? null : nativeFromJson(json['hourEnd']); - - - totalhours = Optional.optional(nativeFromJson, nativeToJson); - totalhours.value = json['totalhours'] == null ? null : nativeFromJson(json['totalhours']); - - - iconType = Optional.optional((data) => ActivityIconType.values.byName(data), enumSerializer); - iconType.value = json['iconType'] == null ? null : ActivityIconType.values.byName(json['iconType']); - - - iconColor = Optional.optional(nativeFromJson, nativeToJson); - iconColor.value = json['iconColor'] == null ? null : nativeFromJson(json['iconColor']); - - - title = Optional.optional(nativeFromJson, nativeToJson); - title.value = json['title'] == null ? null : nativeFromJson(json['title']); - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - - isRead = Optional.optional(nativeFromJson, nativeToJson); - isRead.value = json['isRead'] == null ? null : nativeFromJson(json['isRead']); - - - activityType = Optional.optional((data) => ActivityType.values.byName(data), enumSerializer); - activityType.value = json['activityType'] == null ? null : ActivityType.values.byName(json['activityType']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateActivityLogVariables otherTyped = other as UpdateActivityLogVariables; - return id == otherTyped.id && - userId == otherTyped.userId && - date == otherTyped.date && - hourStart == otherTyped.hourStart && - hourEnd == otherTyped.hourEnd && - totalhours == otherTyped.totalhours && - iconType == otherTyped.iconType && - iconColor == otherTyped.iconColor && - title == otherTyped.title && - description == otherTyped.description && - isRead == otherTyped.isRead && - activityType == otherTyped.activityType; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, userId.hashCode, date.hashCode, hourStart.hashCode, hourEnd.hashCode, totalhours.hashCode, iconType.hashCode, iconColor.hashCode, title.hashCode, description.hashCode, isRead.hashCode, activityType.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(userId.state == OptionalState.set) { - json['userId'] = userId.toJson(); - } - if(date.state == OptionalState.set) { - json['date'] = date.toJson(); - } - if(hourStart.state == OptionalState.set) { - json['hourStart'] = hourStart.toJson(); - } - if(hourEnd.state == OptionalState.set) { - json['hourEnd'] = hourEnd.toJson(); - } - if(totalhours.state == OptionalState.set) { - json['totalhours'] = totalhours.toJson(); - } - if(iconType.state == OptionalState.set) { - json['iconType'] = iconType.toJson(); - } - if(iconColor.state == OptionalState.set) { - json['iconColor'] = iconColor.toJson(); - } - if(title.state == OptionalState.set) { - json['title'] = title.toJson(); - } - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - if(isRead.state == OptionalState.set) { - json['isRead'] = isRead.toJson(); - } - if(activityType.state == OptionalState.set) { - json['activityType'] = activityType.toJson(); - } - return json; - } - - UpdateActivityLogVariables({ - required this.id, - required this.userId, - required this.date, - required this.hourStart, - required this.hourEnd, - required this.totalhours, - required this.iconType, - required this.iconColor, - required this.title, - required this.description, - required this.isRead, - required this.activityType, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_application_status.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_application_status.dart deleted file mode 100644 index 0d8c8165..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_application_status.dart +++ /dev/null @@ -1,209 +0,0 @@ -part of 'generated.dart'; - -class UpdateApplicationStatusVariablesBuilder { - String id; - Optional _shiftId = Optional.optional(nativeFromJson, nativeToJson); - Optional _staffId = Optional.optional(nativeFromJson, nativeToJson); - Optional _status = Optional.optional((data) => ApplicationStatus.values.byName(data), enumSerializer); - Optional _checkInTime = Optional.optional((json) => json['checkInTime'] = Timestamp.fromJson(json['checkInTime']), defaultSerializer); - Optional _checkOutTime = Optional.optional((json) => json['checkOutTime'] = Timestamp.fromJson(json['checkOutTime']), defaultSerializer); - String roleId; - - final FirebaseDataConnect _dataConnect; UpdateApplicationStatusVariablesBuilder shiftId(String? t) { - _shiftId.value = t; - return this; - } - UpdateApplicationStatusVariablesBuilder staffId(String? t) { - _staffId.value = t; - return this; - } - UpdateApplicationStatusVariablesBuilder status(ApplicationStatus? t) { - _status.value = t; - return this; - } - UpdateApplicationStatusVariablesBuilder checkInTime(Timestamp? t) { - _checkInTime.value = t; - return this; - } - UpdateApplicationStatusVariablesBuilder checkOutTime(Timestamp? t) { - _checkOutTime.value = t; - return this; - } - - UpdateApplicationStatusVariablesBuilder(this._dataConnect, {required this.id,required this.roleId,}); - Deserializer dataDeserializer = (dynamic json) => UpdateApplicationStatusData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateApplicationStatusVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateApplicationStatusVariables vars= UpdateApplicationStatusVariables(id: id,shiftId: _shiftId,staffId: _staffId,status: _status,checkInTime: _checkInTime,checkOutTime: _checkOutTime,roleId: roleId,); - return _dataConnect.mutation("updateApplicationStatus", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateApplicationStatusApplicationUpdate { - final String id; - UpdateApplicationStatusApplicationUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateApplicationStatusApplicationUpdate otherTyped = other as UpdateApplicationStatusApplicationUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateApplicationStatusApplicationUpdate({ - required this.id, - }); -} - -@immutable -class UpdateApplicationStatusData { - final UpdateApplicationStatusApplicationUpdate? application_update; - UpdateApplicationStatusData.fromJson(dynamic json): - - application_update = json['application_update'] == null ? null : UpdateApplicationStatusApplicationUpdate.fromJson(json['application_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateApplicationStatusData otherTyped = other as UpdateApplicationStatusData; - return application_update == otherTyped.application_update; - - } - @override - int get hashCode => application_update.hashCode; - - - Map toJson() { - Map json = {}; - if (application_update != null) { - json['application_update'] = application_update!.toJson(); - } - return json; - } - - UpdateApplicationStatusData({ - this.application_update, - }); -} - -@immutable -class UpdateApplicationStatusVariables { - final String id; - late final OptionalshiftId; - late final OptionalstaffId; - late final Optionalstatus; - late final OptionalcheckInTime; - late final OptionalcheckOutTime; - final String roleId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateApplicationStatusVariables.fromJson(Map json): - - id = nativeFromJson(json['id']), - roleId = nativeFromJson(json['roleId']) { - - - - shiftId = Optional.optional(nativeFromJson, nativeToJson); - shiftId.value = json['shiftId'] == null ? null : nativeFromJson(json['shiftId']); - - - staffId = Optional.optional(nativeFromJson, nativeToJson); - staffId.value = json['staffId'] == null ? null : nativeFromJson(json['staffId']); - - - status = Optional.optional((data) => ApplicationStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : ApplicationStatus.values.byName(json['status']); - - - checkInTime = Optional.optional((json) => json['checkInTime'] = Timestamp.fromJson(json['checkInTime']), defaultSerializer); - checkInTime.value = json['checkInTime'] == null ? null : Timestamp.fromJson(json['checkInTime']); - - - checkOutTime = Optional.optional((json) => json['checkOutTime'] = Timestamp.fromJson(json['checkOutTime']), defaultSerializer); - checkOutTime.value = json['checkOutTime'] == null ? null : Timestamp.fromJson(json['checkOutTime']); - - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateApplicationStatusVariables otherTyped = other as UpdateApplicationStatusVariables; - return id == otherTyped.id && - shiftId == otherTyped.shiftId && - staffId == otherTyped.staffId && - status == otherTyped.status && - checkInTime == otherTyped.checkInTime && - checkOutTime == otherTyped.checkOutTime && - roleId == otherTyped.roleId; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, shiftId.hashCode, staffId.hashCode, status.hashCode, checkInTime.hashCode, checkOutTime.hashCode, roleId.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(shiftId.state == OptionalState.set) { - json['shiftId'] = shiftId.toJson(); - } - if(staffId.state == OptionalState.set) { - json['staffId'] = staffId.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(checkInTime.state == OptionalState.set) { - json['checkInTime'] = checkInTime.toJson(); - } - if(checkOutTime.state == OptionalState.set) { - json['checkOutTime'] = checkOutTime.toJson(); - } - json['roleId'] = nativeToJson(roleId); - return json; - } - - UpdateApplicationStatusVariables({ - required this.id, - required this.shiftId, - required this.staffId, - required this.status, - required this.checkInTime, - required this.checkOutTime, - required this.roleId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_assignment.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_assignment.dart deleted file mode 100644 index 940cad0b..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_assignment.dart +++ /dev/null @@ -1,293 +0,0 @@ -part of 'generated.dart'; - -class UpdateAssignmentVariablesBuilder { - String id; - Optional _title = Optional.optional(nativeFromJson, nativeToJson); - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - Optional _instructions = Optional.optional(nativeFromJson, nativeToJson); - Optional _status = Optional.optional((data) => AssignmentStatus.values.byName(data), enumSerializer); - Optional _tipsAvailable = Optional.optional(nativeFromJson, nativeToJson); - Optional _travelTime = Optional.optional(nativeFromJson, nativeToJson); - Optional _mealProvided = Optional.optional(nativeFromJson, nativeToJson); - Optional _parkingAvailable = Optional.optional(nativeFromJson, nativeToJson); - Optional _gasCompensation = Optional.optional(nativeFromJson, nativeToJson); - Optional> _managers = Optional.optional(listDeserializer(AnyValue.fromJson), listSerializer(defaultSerializer)); - String roleId; - String shiftId; - - final FirebaseDataConnect _dataConnect; UpdateAssignmentVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateAssignmentVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateAssignmentVariablesBuilder instructions(String? t) { - _instructions.value = t; - return this; - } - UpdateAssignmentVariablesBuilder status(AssignmentStatus? t) { - _status.value = t; - return this; - } - UpdateAssignmentVariablesBuilder tipsAvailable(bool? t) { - _tipsAvailable.value = t; - return this; - } - UpdateAssignmentVariablesBuilder travelTime(bool? t) { - _travelTime.value = t; - return this; - } - UpdateAssignmentVariablesBuilder mealProvided(bool? t) { - _mealProvided.value = t; - return this; - } - UpdateAssignmentVariablesBuilder parkingAvailable(bool? t) { - _parkingAvailable.value = t; - return this; - } - UpdateAssignmentVariablesBuilder gasCompensation(bool? t) { - _gasCompensation.value = t; - return this; - } - UpdateAssignmentVariablesBuilder managers(List? t) { - _managers.value = t; - return this; - } - - UpdateAssignmentVariablesBuilder(this._dataConnect, {required this.id,required this.roleId,required this.shiftId,}); - Deserializer dataDeserializer = (dynamic json) => UpdateAssignmentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateAssignmentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateAssignmentVariables vars= UpdateAssignmentVariables(id: id,title: _title,description: _description,instructions: _instructions,status: _status,tipsAvailable: _tipsAvailable,travelTime: _travelTime,mealProvided: _mealProvided,parkingAvailable: _parkingAvailable,gasCompensation: _gasCompensation,managers: _managers,roleId: roleId,shiftId: shiftId,); - return _dataConnect.mutation("UpdateAssignment", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateAssignmentAssignmentUpdate { - final String id; - UpdateAssignmentAssignmentUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateAssignmentAssignmentUpdate otherTyped = other as UpdateAssignmentAssignmentUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateAssignmentAssignmentUpdate({ - required this.id, - }); -} - -@immutable -class UpdateAssignmentData { - final UpdateAssignmentAssignmentUpdate? assignment_update; - UpdateAssignmentData.fromJson(dynamic json): - - assignment_update = json['assignment_update'] == null ? null : UpdateAssignmentAssignmentUpdate.fromJson(json['assignment_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateAssignmentData otherTyped = other as UpdateAssignmentData; - return assignment_update == otherTyped.assignment_update; - - } - @override - int get hashCode => assignment_update.hashCode; - - - Map toJson() { - Map json = {}; - if (assignment_update != null) { - json['assignment_update'] = assignment_update!.toJson(); - } - return json; - } - - UpdateAssignmentData({ - this.assignment_update, - }); -} - -@immutable -class UpdateAssignmentVariables { - final String id; - late final Optionaltitle; - late final Optionaldescription; - late final Optionalinstructions; - late final Optionalstatus; - late final OptionaltipsAvailable; - late final OptionaltravelTime; - late final OptionalmealProvided; - late final OptionalparkingAvailable; - late final OptionalgasCompensation; - late final Optional>managers; - final String roleId; - final String shiftId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateAssignmentVariables.fromJson(Map json): - - id = nativeFromJson(json['id']), - roleId = nativeFromJson(json['roleId']), - shiftId = nativeFromJson(json['shiftId']) { - - - - title = Optional.optional(nativeFromJson, nativeToJson); - title.value = json['title'] == null ? null : nativeFromJson(json['title']); - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - - instructions = Optional.optional(nativeFromJson, nativeToJson); - instructions.value = json['instructions'] == null ? null : nativeFromJson(json['instructions']); - - - status = Optional.optional((data) => AssignmentStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : AssignmentStatus.values.byName(json['status']); - - - tipsAvailable = Optional.optional(nativeFromJson, nativeToJson); - tipsAvailable.value = json['tipsAvailable'] == null ? null : nativeFromJson(json['tipsAvailable']); - - - travelTime = Optional.optional(nativeFromJson, nativeToJson); - travelTime.value = json['travelTime'] == null ? null : nativeFromJson(json['travelTime']); - - - mealProvided = Optional.optional(nativeFromJson, nativeToJson); - mealProvided.value = json['mealProvided'] == null ? null : nativeFromJson(json['mealProvided']); - - - parkingAvailable = Optional.optional(nativeFromJson, nativeToJson); - parkingAvailable.value = json['parkingAvailable'] == null ? null : nativeFromJson(json['parkingAvailable']); - - - gasCompensation = Optional.optional(nativeFromJson, nativeToJson); - gasCompensation.value = json['gasCompensation'] == null ? null : nativeFromJson(json['gasCompensation']); - - - managers = Optional.optional(listDeserializer(AnyValue.fromJson), listSerializer(defaultSerializer)); - managers.value = json['managers'] == null ? null : (json['managers'] as List) - .map((e) => AnyValue.fromJson(e)) - .toList(); - - - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateAssignmentVariables otherTyped = other as UpdateAssignmentVariables; - return id == otherTyped.id && - title == otherTyped.title && - description == otherTyped.description && - instructions == otherTyped.instructions && - status == otherTyped.status && - tipsAvailable == otherTyped.tipsAvailable && - travelTime == otherTyped.travelTime && - mealProvided == otherTyped.mealProvided && - parkingAvailable == otherTyped.parkingAvailable && - gasCompensation == otherTyped.gasCompensation && - managers == otherTyped.managers && - roleId == otherTyped.roleId && - shiftId == otherTyped.shiftId; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, description.hashCode, instructions.hashCode, status.hashCode, tipsAvailable.hashCode, travelTime.hashCode, mealProvided.hashCode, parkingAvailable.hashCode, gasCompensation.hashCode, managers.hashCode, roleId.hashCode, shiftId.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(title.state == OptionalState.set) { - json['title'] = title.toJson(); - } - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - if(instructions.state == OptionalState.set) { - json['instructions'] = instructions.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(tipsAvailable.state == OptionalState.set) { - json['tipsAvailable'] = tipsAvailable.toJson(); - } - if(travelTime.state == OptionalState.set) { - json['travelTime'] = travelTime.toJson(); - } - if(mealProvided.state == OptionalState.set) { - json['mealProvided'] = mealProvided.toJson(); - } - if(parkingAvailable.state == OptionalState.set) { - json['parkingAvailable'] = parkingAvailable.toJson(); - } - if(gasCompensation.state == OptionalState.set) { - json['gasCompensation'] = gasCompensation.toJson(); - } - if(managers.state == OptionalState.set) { - json['managers'] = managers.toJson(); - } - json['roleId'] = nativeToJson(roleId); - json['shiftId'] = nativeToJson(shiftId); - return json; - } - - UpdateAssignmentVariables({ - required this.id, - required this.title, - required this.description, - required this.instructions, - required this.status, - required this.tipsAvailable, - required this.travelTime, - required this.mealProvided, - required this.parkingAvailable, - required this.gasCompensation, - required this.managers, - required this.roleId, - required this.shiftId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_attire_option.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_attire_option.dart deleted file mode 100644 index 8644bbf1..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_attire_option.dart +++ /dev/null @@ -1,217 +0,0 @@ -part of 'generated.dart'; - -class UpdateAttireOptionVariablesBuilder { - String id; - Optional _itemId = Optional.optional(nativeFromJson, nativeToJson); - Optional _label = Optional.optional(nativeFromJson, nativeToJson); - Optional _icon = Optional.optional(nativeFromJson, nativeToJson); - Optional _imageUrl = Optional.optional(nativeFromJson, nativeToJson); - Optional _isMandatory = Optional.optional(nativeFromJson, nativeToJson); - Optional _vendorId = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateAttireOptionVariablesBuilder itemId(String? t) { - _itemId.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder label(String? t) { - _label.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder imageUrl(String? t) { - _imageUrl.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder isMandatory(bool? t) { - _isMandatory.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - - UpdateAttireOptionVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateAttireOptionData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateAttireOptionVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateAttireOptionVariables vars= UpdateAttireOptionVariables(id: id,itemId: _itemId,label: _label,icon: _icon,imageUrl: _imageUrl,isMandatory: _isMandatory,vendorId: _vendorId,); - return _dataConnect.mutation("updateAttireOption", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateAttireOptionAttireOptionUpdate { - final String id; - UpdateAttireOptionAttireOptionUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateAttireOptionAttireOptionUpdate otherTyped = other as UpdateAttireOptionAttireOptionUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateAttireOptionAttireOptionUpdate({ - required this.id, - }); -} - -@immutable -class UpdateAttireOptionData { - final UpdateAttireOptionAttireOptionUpdate? attireOption_update; - UpdateAttireOptionData.fromJson(dynamic json): - - attireOption_update = json['attireOption_update'] == null ? null : UpdateAttireOptionAttireOptionUpdate.fromJson(json['attireOption_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateAttireOptionData otherTyped = other as UpdateAttireOptionData; - return attireOption_update == otherTyped.attireOption_update; - - } - @override - int get hashCode => attireOption_update.hashCode; - - - Map toJson() { - Map json = {}; - if (attireOption_update != null) { - json['attireOption_update'] = attireOption_update!.toJson(); - } - return json; - } - - UpdateAttireOptionData({ - this.attireOption_update, - }); -} - -@immutable -class UpdateAttireOptionVariables { - final String id; - late final OptionalitemId; - late final Optionallabel; - late final Optionalicon; - late final OptionalimageUrl; - late final OptionalisMandatory; - late final OptionalvendorId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateAttireOptionVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - itemId = Optional.optional(nativeFromJson, nativeToJson); - itemId.value = json['itemId'] == null ? null : nativeFromJson(json['itemId']); - - - label = Optional.optional(nativeFromJson, nativeToJson); - label.value = json['label'] == null ? null : nativeFromJson(json['label']); - - - icon = Optional.optional(nativeFromJson, nativeToJson); - icon.value = json['icon'] == null ? null : nativeFromJson(json['icon']); - - - imageUrl = Optional.optional(nativeFromJson, nativeToJson); - imageUrl.value = json['imageUrl'] == null ? null : nativeFromJson(json['imageUrl']); - - - isMandatory = Optional.optional(nativeFromJson, nativeToJson); - isMandatory.value = json['isMandatory'] == null ? null : nativeFromJson(json['isMandatory']); - - - vendorId = Optional.optional(nativeFromJson, nativeToJson); - vendorId.value = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateAttireOptionVariables otherTyped = other as UpdateAttireOptionVariables; - return id == otherTyped.id && - itemId == otherTyped.itemId && - label == otherTyped.label && - icon == otherTyped.icon && - imageUrl == otherTyped.imageUrl && - isMandatory == otherTyped.isMandatory && - vendorId == otherTyped.vendorId; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, itemId.hashCode, label.hashCode, icon.hashCode, imageUrl.hashCode, isMandatory.hashCode, vendorId.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(itemId.state == OptionalState.set) { - json['itemId'] = itemId.toJson(); - } - if(label.state == OptionalState.set) { - json['label'] = label.toJson(); - } - if(icon.state == OptionalState.set) { - json['icon'] = icon.toJson(); - } - if(imageUrl.state == OptionalState.set) { - json['imageUrl'] = imageUrl.toJson(); - } - if(isMandatory.state == OptionalState.set) { - json['isMandatory'] = isMandatory.toJson(); - } - if(vendorId.state == OptionalState.set) { - json['vendorId'] = vendorId.toJson(); - } - return json; - } - - UpdateAttireOptionVariables({ - required this.id, - required this.itemId, - required this.label, - required this.icon, - required this.imageUrl, - required this.isMandatory, - required this.vendorId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_benefits_data.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_benefits_data.dart deleted file mode 100644 index a087af12..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_benefits_data.dart +++ /dev/null @@ -1,154 +0,0 @@ -part of 'generated.dart'; - -class UpdateBenefitsDataVariablesBuilder { - String staffId; - String vendorBenefitPlanId; - Optional _current = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateBenefitsDataVariablesBuilder current(int? t) { - _current.value = t; - return this; - } - - UpdateBenefitsDataVariablesBuilder(this._dataConnect, {required this.staffId,required this.vendorBenefitPlanId,}); - Deserializer dataDeserializer = (dynamic json) => UpdateBenefitsDataData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateBenefitsDataVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateBenefitsDataVariables vars= UpdateBenefitsDataVariables(staffId: staffId,vendorBenefitPlanId: vendorBenefitPlanId,current: _current,); - return _dataConnect.mutation("updateBenefitsData", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateBenefitsDataBenefitsDataUpdate { - final String vendorBenefitPlanId; - final String staffId; - UpdateBenefitsDataBenefitsDataUpdate.fromJson(dynamic json): - - vendorBenefitPlanId = nativeFromJson(json['vendorBenefitPlanId']), - staffId = nativeFromJson(json['staffId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateBenefitsDataBenefitsDataUpdate otherTyped = other as UpdateBenefitsDataBenefitsDataUpdate; - return vendorBenefitPlanId == otherTyped.vendorBenefitPlanId && - staffId == otherTyped.staffId; - - } - @override - int get hashCode => Object.hashAll([vendorBenefitPlanId.hashCode, staffId.hashCode]); - - - Map toJson() { - Map json = {}; - json['vendorBenefitPlanId'] = nativeToJson(vendorBenefitPlanId); - json['staffId'] = nativeToJson(staffId); - return json; - } - - UpdateBenefitsDataBenefitsDataUpdate({ - required this.vendorBenefitPlanId, - required this.staffId, - }); -} - -@immutable -class UpdateBenefitsDataData { - final UpdateBenefitsDataBenefitsDataUpdate? benefitsData_update; - UpdateBenefitsDataData.fromJson(dynamic json): - - benefitsData_update = json['benefitsData_update'] == null ? null : UpdateBenefitsDataBenefitsDataUpdate.fromJson(json['benefitsData_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateBenefitsDataData otherTyped = other as UpdateBenefitsDataData; - return benefitsData_update == otherTyped.benefitsData_update; - - } - @override - int get hashCode => benefitsData_update.hashCode; - - - Map toJson() { - Map json = {}; - if (benefitsData_update != null) { - json['benefitsData_update'] = benefitsData_update!.toJson(); - } - return json; - } - - UpdateBenefitsDataData({ - this.benefitsData_update, - }); -} - -@immutable -class UpdateBenefitsDataVariables { - final String staffId; - final String vendorBenefitPlanId; - late final Optionalcurrent; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateBenefitsDataVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - vendorBenefitPlanId = nativeFromJson(json['vendorBenefitPlanId']) { - - - - - current = Optional.optional(nativeFromJson, nativeToJson); - current.value = json['current'] == null ? null : nativeFromJson(json['current']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateBenefitsDataVariables otherTyped = other as UpdateBenefitsDataVariables; - return staffId == otherTyped.staffId && - vendorBenefitPlanId == otherTyped.vendorBenefitPlanId && - current == otherTyped.current; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, vendorBenefitPlanId.hashCode, current.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['vendorBenefitPlanId'] = nativeToJson(vendorBenefitPlanId); - if(current.state == OptionalState.set) { - json['current'] = current.toJson(); - } - return json; - } - - UpdateBenefitsDataVariables({ - required this.staffId, - required this.vendorBenefitPlanId, - required this.current, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_business.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_business.dart deleted file mode 100644 index f5f1760a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_business.dart +++ /dev/null @@ -1,322 +0,0 @@ -part of 'generated.dart'; - -class UpdateBusinessVariablesBuilder { - String id; - Optional _businessName = Optional.optional(nativeFromJson, nativeToJson); - Optional _contactName = Optional.optional(nativeFromJson, nativeToJson); - Optional _companyLogoUrl = Optional.optional(nativeFromJson, nativeToJson); - Optional _phone = Optional.optional(nativeFromJson, nativeToJson); - Optional _email = Optional.optional(nativeFromJson, nativeToJson); - Optional _hubBuilding = Optional.optional(nativeFromJson, nativeToJson); - Optional _address = Optional.optional(nativeFromJson, nativeToJson); - Optional _city = Optional.optional(nativeFromJson, nativeToJson); - Optional _area = Optional.optional((data) => BusinessArea.values.byName(data), enumSerializer); - Optional _sector = Optional.optional((data) => BusinessSector.values.byName(data), enumSerializer); - Optional _rateGroup = Optional.optional((data) => BusinessRateGroup.values.byName(data), enumSerializer); - Optional _status = Optional.optional((data) => BusinessStatus.values.byName(data), enumSerializer); - Optional _notes = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateBusinessVariablesBuilder businessName(String? t) { - _businessName.value = t; - return this; - } - UpdateBusinessVariablesBuilder contactName(String? t) { - _contactName.value = t; - return this; - } - UpdateBusinessVariablesBuilder companyLogoUrl(String? t) { - _companyLogoUrl.value = t; - return this; - } - UpdateBusinessVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - UpdateBusinessVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - UpdateBusinessVariablesBuilder hubBuilding(String? t) { - _hubBuilding.value = t; - return this; - } - UpdateBusinessVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - UpdateBusinessVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - UpdateBusinessVariablesBuilder area(BusinessArea? t) { - _area.value = t; - return this; - } - UpdateBusinessVariablesBuilder sector(BusinessSector? t) { - _sector.value = t; - return this; - } - UpdateBusinessVariablesBuilder rateGroup(BusinessRateGroup? t) { - _rateGroup.value = t; - return this; - } - UpdateBusinessVariablesBuilder status(BusinessStatus? t) { - _status.value = t; - return this; - } - UpdateBusinessVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - UpdateBusinessVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateBusinessData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateBusinessVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateBusinessVariables vars= UpdateBusinessVariables(id: id,businessName: _businessName,contactName: _contactName,companyLogoUrl: _companyLogoUrl,phone: _phone,email: _email,hubBuilding: _hubBuilding,address: _address,city: _city,area: _area,sector: _sector,rateGroup: _rateGroup,status: _status,notes: _notes,); - return _dataConnect.mutation("updateBusiness", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateBusinessBusinessUpdate { - final String id; - UpdateBusinessBusinessUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateBusinessBusinessUpdate otherTyped = other as UpdateBusinessBusinessUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateBusinessBusinessUpdate({ - required this.id, - }); -} - -@immutable -class UpdateBusinessData { - final UpdateBusinessBusinessUpdate? business_update; - UpdateBusinessData.fromJson(dynamic json): - - business_update = json['business_update'] == null ? null : UpdateBusinessBusinessUpdate.fromJson(json['business_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateBusinessData otherTyped = other as UpdateBusinessData; - return business_update == otherTyped.business_update; - - } - @override - int get hashCode => business_update.hashCode; - - - Map toJson() { - Map json = {}; - if (business_update != null) { - json['business_update'] = business_update!.toJson(); - } - return json; - } - - UpdateBusinessData({ - this.business_update, - }); -} - -@immutable -class UpdateBusinessVariables { - final String id; - late final OptionalbusinessName; - late final OptionalcontactName; - late final OptionalcompanyLogoUrl; - late final Optionalphone; - late final Optionalemail; - late final OptionalhubBuilding; - late final Optionaladdress; - late final Optionalcity; - late final Optionalarea; - late final Optionalsector; - late final OptionalrateGroup; - late final Optionalstatus; - late final Optionalnotes; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateBusinessVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - businessName = Optional.optional(nativeFromJson, nativeToJson); - businessName.value = json['businessName'] == null ? null : nativeFromJson(json['businessName']); - - - contactName = Optional.optional(nativeFromJson, nativeToJson); - contactName.value = json['contactName'] == null ? null : nativeFromJson(json['contactName']); - - - companyLogoUrl = Optional.optional(nativeFromJson, nativeToJson); - companyLogoUrl.value = json['companyLogoUrl'] == null ? null : nativeFromJson(json['companyLogoUrl']); - - - phone = Optional.optional(nativeFromJson, nativeToJson); - phone.value = json['phone'] == null ? null : nativeFromJson(json['phone']); - - - email = Optional.optional(nativeFromJson, nativeToJson); - email.value = json['email'] == null ? null : nativeFromJson(json['email']); - - - hubBuilding = Optional.optional(nativeFromJson, nativeToJson); - hubBuilding.value = json['hubBuilding'] == null ? null : nativeFromJson(json['hubBuilding']); - - - address = Optional.optional(nativeFromJson, nativeToJson); - address.value = json['address'] == null ? null : nativeFromJson(json['address']); - - - city = Optional.optional(nativeFromJson, nativeToJson); - city.value = json['city'] == null ? null : nativeFromJson(json['city']); - - - area = Optional.optional((data) => BusinessArea.values.byName(data), enumSerializer); - area.value = json['area'] == null ? null : BusinessArea.values.byName(json['area']); - - - sector = Optional.optional((data) => BusinessSector.values.byName(data), enumSerializer); - sector.value = json['sector'] == null ? null : BusinessSector.values.byName(json['sector']); - - - rateGroup = Optional.optional((data) => BusinessRateGroup.values.byName(data), enumSerializer); - rateGroup.value = json['rateGroup'] == null ? null : BusinessRateGroup.values.byName(json['rateGroup']); - - - status = Optional.optional((data) => BusinessStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : BusinessStatus.values.byName(json['status']); - - - notes = Optional.optional(nativeFromJson, nativeToJson); - notes.value = json['notes'] == null ? null : nativeFromJson(json['notes']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateBusinessVariables otherTyped = other as UpdateBusinessVariables; - return id == otherTyped.id && - businessName == otherTyped.businessName && - contactName == otherTyped.contactName && - companyLogoUrl == otherTyped.companyLogoUrl && - phone == otherTyped.phone && - email == otherTyped.email && - hubBuilding == otherTyped.hubBuilding && - address == otherTyped.address && - city == otherTyped.city && - area == otherTyped.area && - sector == otherTyped.sector && - rateGroup == otherTyped.rateGroup && - status == otherTyped.status && - notes == otherTyped.notes; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessName.hashCode, contactName.hashCode, companyLogoUrl.hashCode, phone.hashCode, email.hashCode, hubBuilding.hashCode, address.hashCode, city.hashCode, area.hashCode, sector.hashCode, rateGroup.hashCode, status.hashCode, notes.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(businessName.state == OptionalState.set) { - json['businessName'] = businessName.toJson(); - } - if(contactName.state == OptionalState.set) { - json['contactName'] = contactName.toJson(); - } - if(companyLogoUrl.state == OptionalState.set) { - json['companyLogoUrl'] = companyLogoUrl.toJson(); - } - if(phone.state == OptionalState.set) { - json['phone'] = phone.toJson(); - } - if(email.state == OptionalState.set) { - json['email'] = email.toJson(); - } - if(hubBuilding.state == OptionalState.set) { - json['hubBuilding'] = hubBuilding.toJson(); - } - if(address.state == OptionalState.set) { - json['address'] = address.toJson(); - } - if(city.state == OptionalState.set) { - json['city'] = city.toJson(); - } - if(area.state == OptionalState.set) { - json['area'] = area.toJson(); - } - if(sector.state == OptionalState.set) { - json['sector'] = sector.toJson(); - } - if(rateGroup.state == OptionalState.set) { - json['rateGroup'] = rateGroup.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(notes.state == OptionalState.set) { - json['notes'] = notes.toJson(); - } - return json; - } - - UpdateBusinessVariables({ - required this.id, - required this.businessName, - required this.contactName, - required this.companyLogoUrl, - required this.phone, - required this.email, - required this.hubBuilding, - required this.address, - required this.city, - required this.area, - required this.sector, - required this.rateGroup, - required this.status, - required this.notes, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_category.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_category.dart deleted file mode 100644 index 1fdfde46..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_category.dart +++ /dev/null @@ -1,172 +0,0 @@ -part of 'generated.dart'; - -class UpdateCategoryVariablesBuilder { - String id; - Optional _categoryId = Optional.optional(nativeFromJson, nativeToJson); - Optional _label = Optional.optional(nativeFromJson, nativeToJson); - Optional _icon = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateCategoryVariablesBuilder categoryId(String? t) { - _categoryId.value = t; - return this; - } - UpdateCategoryVariablesBuilder label(String? t) { - _label.value = t; - return this; - } - UpdateCategoryVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - - UpdateCategoryVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateCategoryData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateCategoryVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateCategoryVariables vars= UpdateCategoryVariables(id: id,categoryId: _categoryId,label: _label,icon: _icon,); - return _dataConnect.mutation("updateCategory", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateCategoryCategoryUpdate { - final String id; - UpdateCategoryCategoryUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateCategoryCategoryUpdate otherTyped = other as UpdateCategoryCategoryUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateCategoryCategoryUpdate({ - required this.id, - }); -} - -@immutable -class UpdateCategoryData { - final UpdateCategoryCategoryUpdate? category_update; - UpdateCategoryData.fromJson(dynamic json): - - category_update = json['category_update'] == null ? null : UpdateCategoryCategoryUpdate.fromJson(json['category_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateCategoryData otherTyped = other as UpdateCategoryData; - return category_update == otherTyped.category_update; - - } - @override - int get hashCode => category_update.hashCode; - - - Map toJson() { - Map json = {}; - if (category_update != null) { - json['category_update'] = category_update!.toJson(); - } - return json; - } - - UpdateCategoryData({ - this.category_update, - }); -} - -@immutable -class UpdateCategoryVariables { - final String id; - late final OptionalcategoryId; - late final Optionallabel; - late final Optionalicon; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateCategoryVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - categoryId = Optional.optional(nativeFromJson, nativeToJson); - categoryId.value = json['categoryId'] == null ? null : nativeFromJson(json['categoryId']); - - - label = Optional.optional(nativeFromJson, nativeToJson); - label.value = json['label'] == null ? null : nativeFromJson(json['label']); - - - icon = Optional.optional(nativeFromJson, nativeToJson); - icon.value = json['icon'] == null ? null : nativeFromJson(json['icon']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateCategoryVariables otherTyped = other as UpdateCategoryVariables; - return id == otherTyped.id && - categoryId == otherTyped.categoryId && - label == otherTyped.label && - icon == otherTyped.icon; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, categoryId.hashCode, label.hashCode, icon.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(categoryId.state == OptionalState.set) { - json['categoryId'] = categoryId.toJson(); - } - if(label.state == OptionalState.set) { - json['label'] = label.toJson(); - } - if(icon.state == OptionalState.set) { - json['icon'] = icon.toJson(); - } - return json; - } - - UpdateCategoryVariables({ - required this.id, - required this.categoryId, - required this.label, - required this.icon, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_certificate.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_certificate.dart deleted file mode 100644 index 7dfc4207..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_certificate.dart +++ /dev/null @@ -1,292 +0,0 @@ -part of 'generated.dart'; - -class UpdateCertificateVariablesBuilder { - String id; - Optional _name = Optional.optional(nativeFromJson, nativeToJson); - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - Optional _expiry = Optional.optional((json) => json['expiry'] = Timestamp.fromJson(json['expiry']), defaultSerializer); - Optional _status = Optional.optional((data) => CertificateStatus.values.byName(data), enumSerializer); - Optional _fileUrl = Optional.optional(nativeFromJson, nativeToJson); - Optional _icon = Optional.optional(nativeFromJson, nativeToJson); - Optional _staffId = Optional.optional(nativeFromJson, nativeToJson); - Optional _certificationType = Optional.optional((data) => ComplianceType.values.byName(data), enumSerializer); - Optional _issuer = Optional.optional(nativeFromJson, nativeToJson); - Optional _validationStatus = Optional.optional((data) => ValidationStatus.values.byName(data), enumSerializer); - Optional _certificateNumber = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateCertificateVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateCertificateVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateCertificateVariablesBuilder expiry(Timestamp? t) { - _expiry.value = t; - return this; - } - UpdateCertificateVariablesBuilder status(CertificateStatus? t) { - _status.value = t; - return this; - } - UpdateCertificateVariablesBuilder fileUrl(String? t) { - _fileUrl.value = t; - return this; - } - UpdateCertificateVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - UpdateCertificateVariablesBuilder staffId(String? t) { - _staffId.value = t; - return this; - } - UpdateCertificateVariablesBuilder certificationType(ComplianceType? t) { - _certificationType.value = t; - return this; - } - UpdateCertificateVariablesBuilder issuer(String? t) { - _issuer.value = t; - return this; - } - UpdateCertificateVariablesBuilder validationStatus(ValidationStatus? t) { - _validationStatus.value = t; - return this; - } - UpdateCertificateVariablesBuilder certificateNumber(String? t) { - _certificateNumber.value = t; - return this; - } - - UpdateCertificateVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateCertificateData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateCertificateVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateCertificateVariables vars= UpdateCertificateVariables(id: id,name: _name,description: _description,expiry: _expiry,status: _status,fileUrl: _fileUrl,icon: _icon,staffId: _staffId,certificationType: _certificationType,issuer: _issuer,validationStatus: _validationStatus,certificateNumber: _certificateNumber,); - return _dataConnect.mutation("UpdateCertificate", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateCertificateCertificateUpdate { - final String id; - UpdateCertificateCertificateUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateCertificateCertificateUpdate otherTyped = other as UpdateCertificateCertificateUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateCertificateCertificateUpdate({ - required this.id, - }); -} - -@immutable -class UpdateCertificateData { - final UpdateCertificateCertificateUpdate? certificate_update; - UpdateCertificateData.fromJson(dynamic json): - - certificate_update = json['certificate_update'] == null ? null : UpdateCertificateCertificateUpdate.fromJson(json['certificate_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateCertificateData otherTyped = other as UpdateCertificateData; - return certificate_update == otherTyped.certificate_update; - - } - @override - int get hashCode => certificate_update.hashCode; - - - Map toJson() { - Map json = {}; - if (certificate_update != null) { - json['certificate_update'] = certificate_update!.toJson(); - } - return json; - } - - UpdateCertificateData({ - this.certificate_update, - }); -} - -@immutable -class UpdateCertificateVariables { - final String id; - late final Optionalname; - late final Optionaldescription; - late final Optionalexpiry; - late final Optionalstatus; - late final OptionalfileUrl; - late final Optionalicon; - late final OptionalstaffId; - late final OptionalcertificationType; - late final Optionalissuer; - late final OptionalvalidationStatus; - late final OptionalcertificateNumber; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateCertificateVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - name = Optional.optional(nativeFromJson, nativeToJson); - name.value = json['name'] == null ? null : nativeFromJson(json['name']); - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - - expiry = Optional.optional((json) => json['expiry'] = Timestamp.fromJson(json['expiry']), defaultSerializer); - expiry.value = json['expiry'] == null ? null : Timestamp.fromJson(json['expiry']); - - - status = Optional.optional((data) => CertificateStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : CertificateStatus.values.byName(json['status']); - - - fileUrl = Optional.optional(nativeFromJson, nativeToJson); - fileUrl.value = json['fileUrl'] == null ? null : nativeFromJson(json['fileUrl']); - - - icon = Optional.optional(nativeFromJson, nativeToJson); - icon.value = json['icon'] == null ? null : nativeFromJson(json['icon']); - - - staffId = Optional.optional(nativeFromJson, nativeToJson); - staffId.value = json['staffId'] == null ? null : nativeFromJson(json['staffId']); - - - certificationType = Optional.optional((data) => ComplianceType.values.byName(data), enumSerializer); - certificationType.value = json['certificationType'] == null ? null : ComplianceType.values.byName(json['certificationType']); - - - issuer = Optional.optional(nativeFromJson, nativeToJson); - issuer.value = json['issuer'] == null ? null : nativeFromJson(json['issuer']); - - - validationStatus = Optional.optional((data) => ValidationStatus.values.byName(data), enumSerializer); - validationStatus.value = json['validationStatus'] == null ? null : ValidationStatus.values.byName(json['validationStatus']); - - - certificateNumber = Optional.optional(nativeFromJson, nativeToJson); - certificateNumber.value = json['certificateNumber'] == null ? null : nativeFromJson(json['certificateNumber']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateCertificateVariables otherTyped = other as UpdateCertificateVariables; - return id == otherTyped.id && - name == otherTyped.name && - description == otherTyped.description && - expiry == otherTyped.expiry && - status == otherTyped.status && - fileUrl == otherTyped.fileUrl && - icon == otherTyped.icon && - staffId == otherTyped.staffId && - certificationType == otherTyped.certificationType && - issuer == otherTyped.issuer && - validationStatus == otherTyped.validationStatus && - certificateNumber == otherTyped.certificateNumber; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, description.hashCode, expiry.hashCode, status.hashCode, fileUrl.hashCode, icon.hashCode, staffId.hashCode, certificationType.hashCode, issuer.hashCode, validationStatus.hashCode, certificateNumber.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(name.state == OptionalState.set) { - json['name'] = name.toJson(); - } - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - if(expiry.state == OptionalState.set) { - json['expiry'] = expiry.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(fileUrl.state == OptionalState.set) { - json['fileUrl'] = fileUrl.toJson(); - } - if(icon.state == OptionalState.set) { - json['icon'] = icon.toJson(); - } - if(staffId.state == OptionalState.set) { - json['staffId'] = staffId.toJson(); - } - if(certificationType.state == OptionalState.set) { - json['certificationType'] = certificationType.toJson(); - } - if(issuer.state == OptionalState.set) { - json['issuer'] = issuer.toJson(); - } - if(validationStatus.state == OptionalState.set) { - json['validationStatus'] = validationStatus.toJson(); - } - if(certificateNumber.state == OptionalState.set) { - json['certificateNumber'] = certificateNumber.toJson(); - } - return json; - } - - UpdateCertificateVariables({ - required this.id, - required this.name, - required this.description, - required this.expiry, - required this.status, - required this.fileUrl, - required this.icon, - required this.staffId, - required this.certificationType, - required this.issuer, - required this.validationStatus, - required this.certificateNumber, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_client_feedback.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_client_feedback.dart deleted file mode 100644 index 4bb86003..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_client_feedback.dart +++ /dev/null @@ -1,217 +0,0 @@ -part of 'generated.dart'; - -class UpdateClientFeedbackVariablesBuilder { - String id; - Optional _businessId = Optional.optional(nativeFromJson, nativeToJson); - Optional _vendorId = Optional.optional(nativeFromJson, nativeToJson); - Optional _rating = Optional.optional(nativeFromJson, nativeToJson); - Optional _comment = Optional.optional(nativeFromJson, nativeToJson); - Optional _date = Optional.optional((json) => json['date'] = Timestamp.fromJson(json['date']), defaultSerializer); - Optional _createdBy = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateClientFeedbackVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - UpdateClientFeedbackVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateClientFeedbackVariablesBuilder rating(int? t) { - _rating.value = t; - return this; - } - UpdateClientFeedbackVariablesBuilder comment(String? t) { - _comment.value = t; - return this; - } - UpdateClientFeedbackVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - UpdateClientFeedbackVariablesBuilder createdBy(String? t) { - _createdBy.value = t; - return this; - } - - UpdateClientFeedbackVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateClientFeedbackData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateClientFeedbackVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateClientFeedbackVariables vars= UpdateClientFeedbackVariables(id: id,businessId: _businessId,vendorId: _vendorId,rating: _rating,comment: _comment,date: _date,createdBy: _createdBy,); - return _dataConnect.mutation("updateClientFeedback", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateClientFeedbackClientFeedbackUpdate { - final String id; - UpdateClientFeedbackClientFeedbackUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateClientFeedbackClientFeedbackUpdate otherTyped = other as UpdateClientFeedbackClientFeedbackUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateClientFeedbackClientFeedbackUpdate({ - required this.id, - }); -} - -@immutable -class UpdateClientFeedbackData { - final UpdateClientFeedbackClientFeedbackUpdate? clientFeedback_update; - UpdateClientFeedbackData.fromJson(dynamic json): - - clientFeedback_update = json['clientFeedback_update'] == null ? null : UpdateClientFeedbackClientFeedbackUpdate.fromJson(json['clientFeedback_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateClientFeedbackData otherTyped = other as UpdateClientFeedbackData; - return clientFeedback_update == otherTyped.clientFeedback_update; - - } - @override - int get hashCode => clientFeedback_update.hashCode; - - - Map toJson() { - Map json = {}; - if (clientFeedback_update != null) { - json['clientFeedback_update'] = clientFeedback_update!.toJson(); - } - return json; - } - - UpdateClientFeedbackData({ - this.clientFeedback_update, - }); -} - -@immutable -class UpdateClientFeedbackVariables { - final String id; - late final OptionalbusinessId; - late final OptionalvendorId; - late final Optionalrating; - late final Optionalcomment; - late final Optionaldate; - late final OptionalcreatedBy; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateClientFeedbackVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - businessId = Optional.optional(nativeFromJson, nativeToJson); - businessId.value = json['businessId'] == null ? null : nativeFromJson(json['businessId']); - - - vendorId = Optional.optional(nativeFromJson, nativeToJson); - vendorId.value = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']); - - - rating = Optional.optional(nativeFromJson, nativeToJson); - rating.value = json['rating'] == null ? null : nativeFromJson(json['rating']); - - - comment = Optional.optional(nativeFromJson, nativeToJson); - comment.value = json['comment'] == null ? null : nativeFromJson(json['comment']); - - - date = Optional.optional((json) => json['date'] = Timestamp.fromJson(json['date']), defaultSerializer); - date.value = json['date'] == null ? null : Timestamp.fromJson(json['date']); - - - createdBy = Optional.optional(nativeFromJson, nativeToJson); - createdBy.value = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateClientFeedbackVariables otherTyped = other as UpdateClientFeedbackVariables; - return id == otherTyped.id && - businessId == otherTyped.businessId && - vendorId == otherTyped.vendorId && - rating == otherTyped.rating && - comment == otherTyped.comment && - date == otherTyped.date && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, businessId.hashCode, vendorId.hashCode, rating.hashCode, comment.hashCode, date.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(businessId.state == OptionalState.set) { - json['businessId'] = businessId.toJson(); - } - if(vendorId.state == OptionalState.set) { - json['vendorId'] = vendorId.toJson(); - } - if(rating.state == OptionalState.set) { - json['rating'] = rating.toJson(); - } - if(comment.state == OptionalState.set) { - json['comment'] = comment.toJson(); - } - if(date.state == OptionalState.set) { - json['date'] = date.toJson(); - } - if(createdBy.state == OptionalState.set) { - json['createdBy'] = createdBy.toJson(); - } - return json; - } - - UpdateClientFeedbackVariables({ - required this.id, - required this.businessId, - required this.vendorId, - required this.rating, - required this.comment, - required this.date, - required this.createdBy, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_conversation.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_conversation.dart deleted file mode 100644 index 8b89f213..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_conversation.dart +++ /dev/null @@ -1,232 +0,0 @@ -part of 'generated.dart'; - -class UpdateConversationVariablesBuilder { - String id; - Optional _subject = Optional.optional(nativeFromJson, nativeToJson); - Optional _status = Optional.optional((data) => ConversationStatus.values.byName(data), enumSerializer); - Optional _conversationType = Optional.optional((data) => ConversationType.values.byName(data), enumSerializer); - Optional _isGroup = Optional.optional(nativeFromJson, nativeToJson); - Optional _groupName = Optional.optional(nativeFromJson, nativeToJson); - Optional _lastMessage = Optional.optional(nativeFromJson, nativeToJson); - Optional _lastMessageAt = Optional.optional((json) => json['lastMessageAt'] = Timestamp.fromJson(json['lastMessageAt']), defaultSerializer); - - final FirebaseDataConnect _dataConnect; UpdateConversationVariablesBuilder subject(String? t) { - _subject.value = t; - return this; - } - UpdateConversationVariablesBuilder status(ConversationStatus? t) { - _status.value = t; - return this; - } - UpdateConversationVariablesBuilder conversationType(ConversationType? t) { - _conversationType.value = t; - return this; - } - UpdateConversationVariablesBuilder isGroup(bool? t) { - _isGroup.value = t; - return this; - } - UpdateConversationVariablesBuilder groupName(String? t) { - _groupName.value = t; - return this; - } - UpdateConversationVariablesBuilder lastMessage(String? t) { - _lastMessage.value = t; - return this; - } - UpdateConversationVariablesBuilder lastMessageAt(Timestamp? t) { - _lastMessageAt.value = t; - return this; - } - - UpdateConversationVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateConversationData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateConversationVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateConversationVariables vars= UpdateConversationVariables(id: id,subject: _subject,status: _status,conversationType: _conversationType,isGroup: _isGroup,groupName: _groupName,lastMessage: _lastMessage,lastMessageAt: _lastMessageAt,); - return _dataConnect.mutation("updateConversation", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateConversationConversationUpdate { - final String id; - UpdateConversationConversationUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateConversationConversationUpdate otherTyped = other as UpdateConversationConversationUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateConversationConversationUpdate({ - required this.id, - }); -} - -@immutable -class UpdateConversationData { - final UpdateConversationConversationUpdate? conversation_update; - UpdateConversationData.fromJson(dynamic json): - - conversation_update = json['conversation_update'] == null ? null : UpdateConversationConversationUpdate.fromJson(json['conversation_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateConversationData otherTyped = other as UpdateConversationData; - return conversation_update == otherTyped.conversation_update; - - } - @override - int get hashCode => conversation_update.hashCode; - - - Map toJson() { - Map json = {}; - if (conversation_update != null) { - json['conversation_update'] = conversation_update!.toJson(); - } - return json; - } - - UpdateConversationData({ - this.conversation_update, - }); -} - -@immutable -class UpdateConversationVariables { - final String id; - late final Optionalsubject; - late final Optionalstatus; - late final OptionalconversationType; - late final OptionalisGroup; - late final OptionalgroupName; - late final OptionallastMessage; - late final OptionallastMessageAt; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateConversationVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - subject = Optional.optional(nativeFromJson, nativeToJson); - subject.value = json['subject'] == null ? null : nativeFromJson(json['subject']); - - - status = Optional.optional((data) => ConversationStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : ConversationStatus.values.byName(json['status']); - - - conversationType = Optional.optional((data) => ConversationType.values.byName(data), enumSerializer); - conversationType.value = json['conversationType'] == null ? null : ConversationType.values.byName(json['conversationType']); - - - isGroup = Optional.optional(nativeFromJson, nativeToJson); - isGroup.value = json['isGroup'] == null ? null : nativeFromJson(json['isGroup']); - - - groupName = Optional.optional(nativeFromJson, nativeToJson); - groupName.value = json['groupName'] == null ? null : nativeFromJson(json['groupName']); - - - lastMessage = Optional.optional(nativeFromJson, nativeToJson); - lastMessage.value = json['lastMessage'] == null ? null : nativeFromJson(json['lastMessage']); - - - lastMessageAt = Optional.optional((json) => json['lastMessageAt'] = Timestamp.fromJson(json['lastMessageAt']), defaultSerializer); - lastMessageAt.value = json['lastMessageAt'] == null ? null : Timestamp.fromJson(json['lastMessageAt']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateConversationVariables otherTyped = other as UpdateConversationVariables; - return id == otherTyped.id && - subject == otherTyped.subject && - status == otherTyped.status && - conversationType == otherTyped.conversationType && - isGroup == otherTyped.isGroup && - groupName == otherTyped.groupName && - lastMessage == otherTyped.lastMessage && - lastMessageAt == otherTyped.lastMessageAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, subject.hashCode, status.hashCode, conversationType.hashCode, isGroup.hashCode, groupName.hashCode, lastMessage.hashCode, lastMessageAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(subject.state == OptionalState.set) { - json['subject'] = subject.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(conversationType.state == OptionalState.set) { - json['conversationType'] = conversationType.toJson(); - } - if(isGroup.state == OptionalState.set) { - json['isGroup'] = isGroup.toJson(); - } - if(groupName.state == OptionalState.set) { - json['groupName'] = groupName.toJson(); - } - if(lastMessage.state == OptionalState.set) { - json['lastMessage'] = lastMessage.toJson(); - } - if(lastMessageAt.state == OptionalState.set) { - json['lastMessageAt'] = lastMessageAt.toJson(); - } - return json; - } - - UpdateConversationVariables({ - required this.id, - required this.subject, - required this.status, - required this.conversationType, - required this.isGroup, - required this.groupName, - required this.lastMessage, - required this.lastMessageAt, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_conversation_last_message.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_conversation_last_message.dart deleted file mode 100644 index 8ca20bac..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_conversation_last_message.dart +++ /dev/null @@ -1,157 +0,0 @@ -part of 'generated.dart'; - -class UpdateConversationLastMessageVariablesBuilder { - String id; - Optional _lastMessage = Optional.optional(nativeFromJson, nativeToJson); - Optional _lastMessageAt = Optional.optional((json) => json['lastMessageAt'] = Timestamp.fromJson(json['lastMessageAt']), defaultSerializer); - - final FirebaseDataConnect _dataConnect; UpdateConversationLastMessageVariablesBuilder lastMessage(String? t) { - _lastMessage.value = t; - return this; - } - UpdateConversationLastMessageVariablesBuilder lastMessageAt(Timestamp? t) { - _lastMessageAt.value = t; - return this; - } - - UpdateConversationLastMessageVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateConversationLastMessageData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateConversationLastMessageVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateConversationLastMessageVariables vars= UpdateConversationLastMessageVariables(id: id,lastMessage: _lastMessage,lastMessageAt: _lastMessageAt,); - return _dataConnect.mutation("updateConversationLastMessage", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateConversationLastMessageConversationUpdate { - final String id; - UpdateConversationLastMessageConversationUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateConversationLastMessageConversationUpdate otherTyped = other as UpdateConversationLastMessageConversationUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateConversationLastMessageConversationUpdate({ - required this.id, - }); -} - -@immutable -class UpdateConversationLastMessageData { - final UpdateConversationLastMessageConversationUpdate? conversation_update; - UpdateConversationLastMessageData.fromJson(dynamic json): - - conversation_update = json['conversation_update'] == null ? null : UpdateConversationLastMessageConversationUpdate.fromJson(json['conversation_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateConversationLastMessageData otherTyped = other as UpdateConversationLastMessageData; - return conversation_update == otherTyped.conversation_update; - - } - @override - int get hashCode => conversation_update.hashCode; - - - Map toJson() { - Map json = {}; - if (conversation_update != null) { - json['conversation_update'] = conversation_update!.toJson(); - } - return json; - } - - UpdateConversationLastMessageData({ - this.conversation_update, - }); -} - -@immutable -class UpdateConversationLastMessageVariables { - final String id; - late final OptionallastMessage; - late final OptionallastMessageAt; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateConversationLastMessageVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - lastMessage = Optional.optional(nativeFromJson, nativeToJson); - lastMessage.value = json['lastMessage'] == null ? null : nativeFromJson(json['lastMessage']); - - - lastMessageAt = Optional.optional((json) => json['lastMessageAt'] = Timestamp.fromJson(json['lastMessageAt']), defaultSerializer); - lastMessageAt.value = json['lastMessageAt'] == null ? null : Timestamp.fromJson(json['lastMessageAt']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateConversationLastMessageVariables otherTyped = other as UpdateConversationLastMessageVariables; - return id == otherTyped.id && - lastMessage == otherTyped.lastMessage && - lastMessageAt == otherTyped.lastMessageAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, lastMessage.hashCode, lastMessageAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(lastMessage.state == OptionalState.set) { - json['lastMessage'] = lastMessage.toJson(); - } - if(lastMessageAt.state == OptionalState.set) { - json['lastMessageAt'] = lastMessageAt.toJson(); - } - return json; - } - - UpdateConversationLastMessageVariables({ - required this.id, - required this.lastMessage, - required this.lastMessageAt, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_course.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_course.dart deleted file mode 100644 index 5d45c7d6..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_course.dart +++ /dev/null @@ -1,239 +0,0 @@ -part of 'generated.dart'; - -class UpdateCourseVariablesBuilder { - String id; - Optional _title = Optional.optional(nativeFromJson, nativeToJson); - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - Optional _thumbnailUrl = Optional.optional(nativeFromJson, nativeToJson); - Optional _durationMinutes = Optional.optional(nativeFromJson, nativeToJson); - Optional _xpReward = Optional.optional(nativeFromJson, nativeToJson); - String categoryId; - Optional _levelRequired = Optional.optional(nativeFromJson, nativeToJson); - Optional _isCertification = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateCourseVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateCourseVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateCourseVariablesBuilder thumbnailUrl(String? t) { - _thumbnailUrl.value = t; - return this; - } - UpdateCourseVariablesBuilder durationMinutes(int? t) { - _durationMinutes.value = t; - return this; - } - UpdateCourseVariablesBuilder xpReward(int? t) { - _xpReward.value = t; - return this; - } - UpdateCourseVariablesBuilder levelRequired(String? t) { - _levelRequired.value = t; - return this; - } - UpdateCourseVariablesBuilder isCertification(bool? t) { - _isCertification.value = t; - return this; - } - - UpdateCourseVariablesBuilder(this._dataConnect, {required this.id,required this.categoryId,}); - Deserializer dataDeserializer = (dynamic json) => UpdateCourseData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateCourseVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateCourseVariables vars= UpdateCourseVariables(id: id,title: _title,description: _description,thumbnailUrl: _thumbnailUrl,durationMinutes: _durationMinutes,xpReward: _xpReward,categoryId: categoryId,levelRequired: _levelRequired,isCertification: _isCertification,); - return _dataConnect.mutation("updateCourse", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateCourseCourseUpdate { - final String id; - UpdateCourseCourseUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateCourseCourseUpdate otherTyped = other as UpdateCourseCourseUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateCourseCourseUpdate({ - required this.id, - }); -} - -@immutable -class UpdateCourseData { - final UpdateCourseCourseUpdate? course_update; - UpdateCourseData.fromJson(dynamic json): - - course_update = json['course_update'] == null ? null : UpdateCourseCourseUpdate.fromJson(json['course_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateCourseData otherTyped = other as UpdateCourseData; - return course_update == otherTyped.course_update; - - } - @override - int get hashCode => course_update.hashCode; - - - Map toJson() { - Map json = {}; - if (course_update != null) { - json['course_update'] = course_update!.toJson(); - } - return json; - } - - UpdateCourseData({ - this.course_update, - }); -} - -@immutable -class UpdateCourseVariables { - final String id; - late final Optionaltitle; - late final Optionaldescription; - late final OptionalthumbnailUrl; - late final OptionaldurationMinutes; - late final OptionalxpReward; - final String categoryId; - late final OptionallevelRequired; - late final OptionalisCertification; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateCourseVariables.fromJson(Map json): - - id = nativeFromJson(json['id']), - categoryId = nativeFromJson(json['categoryId']) { - - - - title = Optional.optional(nativeFromJson, nativeToJson); - title.value = json['title'] == null ? null : nativeFromJson(json['title']); - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - - thumbnailUrl = Optional.optional(nativeFromJson, nativeToJson); - thumbnailUrl.value = json['thumbnailUrl'] == null ? null : nativeFromJson(json['thumbnailUrl']); - - - durationMinutes = Optional.optional(nativeFromJson, nativeToJson); - durationMinutes.value = json['durationMinutes'] == null ? null : nativeFromJson(json['durationMinutes']); - - - xpReward = Optional.optional(nativeFromJson, nativeToJson); - xpReward.value = json['xpReward'] == null ? null : nativeFromJson(json['xpReward']); - - - - levelRequired = Optional.optional(nativeFromJson, nativeToJson); - levelRequired.value = json['levelRequired'] == null ? null : nativeFromJson(json['levelRequired']); - - - isCertification = Optional.optional(nativeFromJson, nativeToJson); - isCertification.value = json['isCertification'] == null ? null : nativeFromJson(json['isCertification']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateCourseVariables otherTyped = other as UpdateCourseVariables; - return id == otherTyped.id && - title == otherTyped.title && - description == otherTyped.description && - thumbnailUrl == otherTyped.thumbnailUrl && - durationMinutes == otherTyped.durationMinutes && - xpReward == otherTyped.xpReward && - categoryId == otherTyped.categoryId && - levelRequired == otherTyped.levelRequired && - isCertification == otherTyped.isCertification; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, description.hashCode, thumbnailUrl.hashCode, durationMinutes.hashCode, xpReward.hashCode, categoryId.hashCode, levelRequired.hashCode, isCertification.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(title.state == OptionalState.set) { - json['title'] = title.toJson(); - } - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - if(thumbnailUrl.state == OptionalState.set) { - json['thumbnailUrl'] = thumbnailUrl.toJson(); - } - if(durationMinutes.state == OptionalState.set) { - json['durationMinutes'] = durationMinutes.toJson(); - } - if(xpReward.state == OptionalState.set) { - json['xpReward'] = xpReward.toJson(); - } - json['categoryId'] = nativeToJson(categoryId); - if(levelRequired.state == OptionalState.set) { - json['levelRequired'] = levelRequired.toJson(); - } - if(isCertification.state == OptionalState.set) { - json['isCertification'] = isCertification.toJson(); - } - return json; - } - - UpdateCourseVariables({ - required this.id, - required this.title, - required this.description, - required this.thumbnailUrl, - required this.durationMinutes, - required this.xpReward, - required this.categoryId, - required this.levelRequired, - required this.isCertification, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_custom_rate_card.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_custom_rate_card.dart deleted file mode 100644 index 4b70966a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_custom_rate_card.dart +++ /dev/null @@ -1,187 +0,0 @@ -part of 'generated.dart'; - -class UpdateCustomRateCardVariablesBuilder { - String id; - Optional _name = Optional.optional(nativeFromJson, nativeToJson); - Optional _baseBook = Optional.optional(nativeFromJson, nativeToJson); - Optional _discount = Optional.optional(nativeFromJson, nativeToJson); - Optional _isDefault = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateCustomRateCardVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateCustomRateCardVariablesBuilder baseBook(String? t) { - _baseBook.value = t; - return this; - } - UpdateCustomRateCardVariablesBuilder discount(double? t) { - _discount.value = t; - return this; - } - UpdateCustomRateCardVariablesBuilder isDefault(bool? t) { - _isDefault.value = t; - return this; - } - - UpdateCustomRateCardVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateCustomRateCardData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateCustomRateCardVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateCustomRateCardVariables vars= UpdateCustomRateCardVariables(id: id,name: _name,baseBook: _baseBook,discount: _discount,isDefault: _isDefault,); - return _dataConnect.mutation("updateCustomRateCard", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateCustomRateCardCustomRateCardUpdate { - final String id; - UpdateCustomRateCardCustomRateCardUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateCustomRateCardCustomRateCardUpdate otherTyped = other as UpdateCustomRateCardCustomRateCardUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateCustomRateCardCustomRateCardUpdate({ - required this.id, - }); -} - -@immutable -class UpdateCustomRateCardData { - final UpdateCustomRateCardCustomRateCardUpdate? customRateCard_update; - UpdateCustomRateCardData.fromJson(dynamic json): - - customRateCard_update = json['customRateCard_update'] == null ? null : UpdateCustomRateCardCustomRateCardUpdate.fromJson(json['customRateCard_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateCustomRateCardData otherTyped = other as UpdateCustomRateCardData; - return customRateCard_update == otherTyped.customRateCard_update; - - } - @override - int get hashCode => customRateCard_update.hashCode; - - - Map toJson() { - Map json = {}; - if (customRateCard_update != null) { - json['customRateCard_update'] = customRateCard_update!.toJson(); - } - return json; - } - - UpdateCustomRateCardData({ - this.customRateCard_update, - }); -} - -@immutable -class UpdateCustomRateCardVariables { - final String id; - late final Optionalname; - late final OptionalbaseBook; - late final Optionaldiscount; - late final OptionalisDefault; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateCustomRateCardVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - name = Optional.optional(nativeFromJson, nativeToJson); - name.value = json['name'] == null ? null : nativeFromJson(json['name']); - - - baseBook = Optional.optional(nativeFromJson, nativeToJson); - baseBook.value = json['baseBook'] == null ? null : nativeFromJson(json['baseBook']); - - - discount = Optional.optional(nativeFromJson, nativeToJson); - discount.value = json['discount'] == null ? null : nativeFromJson(json['discount']); - - - isDefault = Optional.optional(nativeFromJson, nativeToJson); - isDefault.value = json['isDefault'] == null ? null : nativeFromJson(json['isDefault']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateCustomRateCardVariables otherTyped = other as UpdateCustomRateCardVariables; - return id == otherTyped.id && - name == otherTyped.name && - baseBook == otherTyped.baseBook && - discount == otherTyped.discount && - isDefault == otherTyped.isDefault; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, baseBook.hashCode, discount.hashCode, isDefault.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(name.state == OptionalState.set) { - json['name'] = name.toJson(); - } - if(baseBook.state == OptionalState.set) { - json['baseBook'] = baseBook.toJson(); - } - if(discount.state == OptionalState.set) { - json['discount'] = discount.toJson(); - } - if(isDefault.state == OptionalState.set) { - json['isDefault'] = isDefault.toJson(); - } - return json; - } - - UpdateCustomRateCardVariables({ - required this.id, - required this.name, - required this.baseBook, - required this.discount, - required this.isDefault, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_document.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_document.dart deleted file mode 100644 index ab803a9b..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_document.dart +++ /dev/null @@ -1,172 +0,0 @@ -part of 'generated.dart'; - -class UpdateDocumentVariablesBuilder { - String id; - Optional _documentType = Optional.optional((data) => DocumentType.values.byName(data), enumSerializer); - Optional _name = Optional.optional(nativeFromJson, nativeToJson); - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateDocumentVariablesBuilder documentType(DocumentType? t) { - _documentType.value = t; - return this; - } - UpdateDocumentVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateDocumentVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - - UpdateDocumentVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateDocumentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateDocumentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateDocumentVariables vars= UpdateDocumentVariables(id: id,documentType: _documentType,name: _name,description: _description,); - return _dataConnect.mutation("updateDocument", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateDocumentDocumentUpdate { - final String id; - UpdateDocumentDocumentUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateDocumentDocumentUpdate otherTyped = other as UpdateDocumentDocumentUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateDocumentDocumentUpdate({ - required this.id, - }); -} - -@immutable -class UpdateDocumentData { - final UpdateDocumentDocumentUpdate? document_update; - UpdateDocumentData.fromJson(dynamic json): - - document_update = json['document_update'] == null ? null : UpdateDocumentDocumentUpdate.fromJson(json['document_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateDocumentData otherTyped = other as UpdateDocumentData; - return document_update == otherTyped.document_update; - - } - @override - int get hashCode => document_update.hashCode; - - - Map toJson() { - Map json = {}; - if (document_update != null) { - json['document_update'] = document_update!.toJson(); - } - return json; - } - - UpdateDocumentData({ - this.document_update, - }); -} - -@immutable -class UpdateDocumentVariables { - final String id; - late final OptionaldocumentType; - late final Optionalname; - late final Optionaldescription; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateDocumentVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - documentType = Optional.optional((data) => DocumentType.values.byName(data), enumSerializer); - documentType.value = json['documentType'] == null ? null : DocumentType.values.byName(json['documentType']); - - - name = Optional.optional(nativeFromJson, nativeToJson); - name.value = json['name'] == null ? null : nativeFromJson(json['name']); - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateDocumentVariables otherTyped = other as UpdateDocumentVariables; - return id == otherTyped.id && - documentType == otherTyped.documentType && - name == otherTyped.name && - description == otherTyped.description; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, documentType.hashCode, name.hashCode, description.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(documentType.state == OptionalState.set) { - json['documentType'] = documentType.toJson(); - } - if(name.state == OptionalState.set) { - json['name'] = name.toJson(); - } - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - return json; - } - - UpdateDocumentVariables({ - required this.id, - required this.documentType, - required this.name, - required this.description, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_emergency_contact.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_emergency_contact.dart deleted file mode 100644 index 88642214..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_emergency_contact.dart +++ /dev/null @@ -1,172 +0,0 @@ -part of 'generated.dart'; - -class UpdateEmergencyContactVariablesBuilder { - String id; - Optional _name = Optional.optional(nativeFromJson, nativeToJson); - Optional _phone = Optional.optional(nativeFromJson, nativeToJson); - Optional _relationship = Optional.optional((data) => RelationshipType.values.byName(data), enumSerializer); - - final FirebaseDataConnect _dataConnect; UpdateEmergencyContactVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateEmergencyContactVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - UpdateEmergencyContactVariablesBuilder relationship(RelationshipType? t) { - _relationship.value = t; - return this; - } - - UpdateEmergencyContactVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateEmergencyContactData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateEmergencyContactVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateEmergencyContactVariables vars= UpdateEmergencyContactVariables(id: id,name: _name,phone: _phone,relationship: _relationship,); - return _dataConnect.mutation("updateEmergencyContact", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateEmergencyContactEmergencyContactUpdate { - final String id; - UpdateEmergencyContactEmergencyContactUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateEmergencyContactEmergencyContactUpdate otherTyped = other as UpdateEmergencyContactEmergencyContactUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateEmergencyContactEmergencyContactUpdate({ - required this.id, - }); -} - -@immutable -class UpdateEmergencyContactData { - final UpdateEmergencyContactEmergencyContactUpdate? emergencyContact_update; - UpdateEmergencyContactData.fromJson(dynamic json): - - emergencyContact_update = json['emergencyContact_update'] == null ? null : UpdateEmergencyContactEmergencyContactUpdate.fromJson(json['emergencyContact_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateEmergencyContactData otherTyped = other as UpdateEmergencyContactData; - return emergencyContact_update == otherTyped.emergencyContact_update; - - } - @override - int get hashCode => emergencyContact_update.hashCode; - - - Map toJson() { - Map json = {}; - if (emergencyContact_update != null) { - json['emergencyContact_update'] = emergencyContact_update!.toJson(); - } - return json; - } - - UpdateEmergencyContactData({ - this.emergencyContact_update, - }); -} - -@immutable -class UpdateEmergencyContactVariables { - final String id; - late final Optionalname; - late final Optionalphone; - late final Optionalrelationship; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateEmergencyContactVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - name = Optional.optional(nativeFromJson, nativeToJson); - name.value = json['name'] == null ? null : nativeFromJson(json['name']); - - - phone = Optional.optional(nativeFromJson, nativeToJson); - phone.value = json['phone'] == null ? null : nativeFromJson(json['phone']); - - - relationship = Optional.optional((data) => RelationshipType.values.byName(data), enumSerializer); - relationship.value = json['relationship'] == null ? null : RelationshipType.values.byName(json['relationship']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateEmergencyContactVariables otherTyped = other as UpdateEmergencyContactVariables; - return id == otherTyped.id && - name == otherTyped.name && - phone == otherTyped.phone && - relationship == otherTyped.relationship; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, phone.hashCode, relationship.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(name.state == OptionalState.set) { - json['name'] = name.toJson(); - } - if(phone.state == OptionalState.set) { - json['phone'] = phone.toJson(); - } - if(relationship.state == OptionalState.set) { - json['relationship'] = relationship.toJson(); - } - return json; - } - - UpdateEmergencyContactVariables({ - required this.id, - required this.name, - required this.phone, - required this.relationship, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_faq_data.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_faq_data.dart deleted file mode 100644 index ec75f99a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_faq_data.dart +++ /dev/null @@ -1,159 +0,0 @@ -part of 'generated.dart'; - -class UpdateFaqDataVariablesBuilder { - String id; - Optional _category = Optional.optional(nativeFromJson, nativeToJson); - Optional> _questions = Optional.optional(listDeserializer(AnyValue.fromJson), listSerializer(defaultSerializer)); - - final FirebaseDataConnect _dataConnect; UpdateFaqDataVariablesBuilder category(String? t) { - _category.value = t; - return this; - } - UpdateFaqDataVariablesBuilder questions(List? t) { - _questions.value = t; - return this; - } - - UpdateFaqDataVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateFaqDataData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateFaqDataVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateFaqDataVariables vars= UpdateFaqDataVariables(id: id,category: _category,questions: _questions,); - return _dataConnect.mutation("updateFaqData", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateFaqDataFaqDataUpdate { - final String id; - UpdateFaqDataFaqDataUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateFaqDataFaqDataUpdate otherTyped = other as UpdateFaqDataFaqDataUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateFaqDataFaqDataUpdate({ - required this.id, - }); -} - -@immutable -class UpdateFaqDataData { - final UpdateFaqDataFaqDataUpdate? faqData_update; - UpdateFaqDataData.fromJson(dynamic json): - - faqData_update = json['faqData_update'] == null ? null : UpdateFaqDataFaqDataUpdate.fromJson(json['faqData_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateFaqDataData otherTyped = other as UpdateFaqDataData; - return faqData_update == otherTyped.faqData_update; - - } - @override - int get hashCode => faqData_update.hashCode; - - - Map toJson() { - Map json = {}; - if (faqData_update != null) { - json['faqData_update'] = faqData_update!.toJson(); - } - return json; - } - - UpdateFaqDataData({ - this.faqData_update, - }); -} - -@immutable -class UpdateFaqDataVariables { - final String id; - late final Optionalcategory; - late final Optional>questions; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateFaqDataVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - category = Optional.optional(nativeFromJson, nativeToJson); - category.value = json['category'] == null ? null : nativeFromJson(json['category']); - - - questions = Optional.optional(listDeserializer(AnyValue.fromJson), listSerializer(defaultSerializer)); - questions.value = json['questions'] == null ? null : (json['questions'] as List) - .map((e) => AnyValue.fromJson(e)) - .toList(); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateFaqDataVariables otherTyped = other as UpdateFaqDataVariables; - return id == otherTyped.id && - category == otherTyped.category && - questions == otherTyped.questions; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, category.hashCode, questions.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(category.state == OptionalState.set) { - json['category'] = category.toJson(); - } - if(questions.state == OptionalState.set) { - json['questions'] = questions.toJson(); - } - return json; - } - - UpdateFaqDataVariables({ - required this.id, - required this.category, - required this.questions, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_hub.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_hub.dart deleted file mode 100644 index 76fd54b9..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_hub.dart +++ /dev/null @@ -1,202 +0,0 @@ -part of 'generated.dart'; - -class UpdateHubVariablesBuilder { - String id; - Optional _name = Optional.optional(nativeFromJson, nativeToJson); - Optional _locationName = Optional.optional(nativeFromJson, nativeToJson); - Optional _address = Optional.optional(nativeFromJson, nativeToJson); - Optional _nfcTagId = Optional.optional(nativeFromJson, nativeToJson); - Optional _ownerId = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateHubVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateHubVariablesBuilder locationName(String? t) { - _locationName.value = t; - return this; - } - UpdateHubVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - UpdateHubVariablesBuilder nfcTagId(String? t) { - _nfcTagId.value = t; - return this; - } - UpdateHubVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - - UpdateHubVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateHubData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateHubVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateHubVariables vars= UpdateHubVariables(id: id,name: _name,locationName: _locationName,address: _address,nfcTagId: _nfcTagId,ownerId: _ownerId,); - return _dataConnect.mutation("updateHub", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateHubHubUpdate { - final String id; - UpdateHubHubUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateHubHubUpdate otherTyped = other as UpdateHubHubUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateHubHubUpdate({ - required this.id, - }); -} - -@immutable -class UpdateHubData { - final UpdateHubHubUpdate? hub_update; - UpdateHubData.fromJson(dynamic json): - - hub_update = json['hub_update'] == null ? null : UpdateHubHubUpdate.fromJson(json['hub_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateHubData otherTyped = other as UpdateHubData; - return hub_update == otherTyped.hub_update; - - } - @override - int get hashCode => hub_update.hashCode; - - - Map toJson() { - Map json = {}; - if (hub_update != null) { - json['hub_update'] = hub_update!.toJson(); - } - return json; - } - - UpdateHubData({ - this.hub_update, - }); -} - -@immutable -class UpdateHubVariables { - final String id; - late final Optionalname; - late final OptionallocationName; - late final Optionaladdress; - late final OptionalnfcTagId; - late final OptionalownerId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateHubVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - name = Optional.optional(nativeFromJson, nativeToJson); - name.value = json['name'] == null ? null : nativeFromJson(json['name']); - - - locationName = Optional.optional(nativeFromJson, nativeToJson); - locationName.value = json['locationName'] == null ? null : nativeFromJson(json['locationName']); - - - address = Optional.optional(nativeFromJson, nativeToJson); - address.value = json['address'] == null ? null : nativeFromJson(json['address']); - - - nfcTagId = Optional.optional(nativeFromJson, nativeToJson); - nfcTagId.value = json['nfcTagId'] == null ? null : nativeFromJson(json['nfcTagId']); - - - ownerId = Optional.optional(nativeFromJson, nativeToJson); - ownerId.value = json['ownerId'] == null ? null : nativeFromJson(json['ownerId']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateHubVariables otherTyped = other as UpdateHubVariables; - return id == otherTyped.id && - name == otherTyped.name && - locationName == otherTyped.locationName && - address == otherTyped.address && - nfcTagId == otherTyped.nfcTagId && - ownerId == otherTyped.ownerId; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, locationName.hashCode, address.hashCode, nfcTagId.hashCode, ownerId.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(name.state == OptionalState.set) { - json['name'] = name.toJson(); - } - if(locationName.state == OptionalState.set) { - json['locationName'] = locationName.toJson(); - } - if(address.state == OptionalState.set) { - json['address'] = address.toJson(); - } - if(nfcTagId.state == OptionalState.set) { - json['nfcTagId'] = nfcTagId.toJson(); - } - if(ownerId.state == OptionalState.set) { - json['ownerId'] = ownerId.toJson(); - } - return json; - } - - UpdateHubVariables({ - required this.id, - required this.name, - required this.locationName, - required this.address, - required this.nfcTagId, - required this.ownerId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_invoice.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_invoice.dart deleted file mode 100644 index 8cdc5a81..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_invoice.dart +++ /dev/null @@ -1,457 +0,0 @@ -part of 'generated.dart'; - -class UpdateInvoiceVariablesBuilder { - String id; - Optional _status = Optional.optional((data) => InvoiceStatus.values.byName(data), enumSerializer); - Optional _vendorId = Optional.optional(nativeFromJson, nativeToJson); - Optional _businessId = Optional.optional(nativeFromJson, nativeToJson); - Optional _orderId = Optional.optional(nativeFromJson, nativeToJson); - Optional _paymentTerms = Optional.optional((data) => InovicePaymentTerms.values.byName(data), enumSerializer); - Optional _invoiceNumber = Optional.optional(nativeFromJson, nativeToJson); - Optional _issueDate = Optional.optional((json) => json['issueDate'] = Timestamp.fromJson(json['issueDate']), defaultSerializer); - Optional _dueDate = Optional.optional((json) => json['dueDate'] = Timestamp.fromJson(json['dueDate']), defaultSerializer); - Optional _hub = Optional.optional(nativeFromJson, nativeToJson); - Optional _managerName = Optional.optional(nativeFromJson, nativeToJson); - Optional _vendorNumber = Optional.optional(nativeFromJson, nativeToJson); - Optional _roles = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _charges = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _otherCharges = Optional.optional(nativeFromJson, nativeToJson); - Optional _subtotal = Optional.optional(nativeFromJson, nativeToJson); - Optional _amount = Optional.optional(nativeFromJson, nativeToJson); - Optional _notes = Optional.optional(nativeFromJson, nativeToJson); - Optional _staffCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _chargesCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _disputedItems = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _disputeReason = Optional.optional(nativeFromJson, nativeToJson); - Optional _disputeDetails = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateInvoiceVariablesBuilder status(InvoiceStatus? t) { - _status.value = t; - return this; - } - UpdateInvoiceVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateInvoiceVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - UpdateInvoiceVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - UpdateInvoiceVariablesBuilder paymentTerms(InovicePaymentTerms? t) { - _paymentTerms.value = t; - return this; - } - UpdateInvoiceVariablesBuilder invoiceNumber(String? t) { - _invoiceNumber.value = t; - return this; - } - UpdateInvoiceVariablesBuilder issueDate(Timestamp? t) { - _issueDate.value = t; - return this; - } - UpdateInvoiceVariablesBuilder dueDate(Timestamp? t) { - _dueDate.value = t; - return this; - } - UpdateInvoiceVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - UpdateInvoiceVariablesBuilder managerName(String? t) { - _managerName.value = t; - return this; - } - UpdateInvoiceVariablesBuilder vendorNumber(String? t) { - _vendorNumber.value = t; - return this; - } - UpdateInvoiceVariablesBuilder roles(AnyValue? t) { - _roles.value = t; - return this; - } - UpdateInvoiceVariablesBuilder charges(AnyValue? t) { - _charges.value = t; - return this; - } - UpdateInvoiceVariablesBuilder otherCharges(double? t) { - _otherCharges.value = t; - return this; - } - UpdateInvoiceVariablesBuilder subtotal(double? t) { - _subtotal.value = t; - return this; - } - UpdateInvoiceVariablesBuilder amount(double? t) { - _amount.value = t; - return this; - } - UpdateInvoiceVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - UpdateInvoiceVariablesBuilder staffCount(int? t) { - _staffCount.value = t; - return this; - } - UpdateInvoiceVariablesBuilder chargesCount(int? t) { - _chargesCount.value = t; - return this; - } - UpdateInvoiceVariablesBuilder disputedItems(AnyValue? t) { - _disputedItems.value = t; - return this; - } - UpdateInvoiceVariablesBuilder disputeReason(String? t) { - _disputeReason.value = t; - return this; - } - UpdateInvoiceVariablesBuilder disputeDetails(String? t) { - _disputeDetails.value = t; - return this; - } - - UpdateInvoiceVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateInvoiceData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateInvoiceVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateInvoiceVariables vars= UpdateInvoiceVariables(id: id,status: _status,vendorId: _vendorId,businessId: _businessId,orderId: _orderId,paymentTerms: _paymentTerms,invoiceNumber: _invoiceNumber,issueDate: _issueDate,dueDate: _dueDate,hub: _hub,managerName: _managerName,vendorNumber: _vendorNumber,roles: _roles,charges: _charges,otherCharges: _otherCharges,subtotal: _subtotal,amount: _amount,notes: _notes,staffCount: _staffCount,chargesCount: _chargesCount,disputedItems: _disputedItems,disputeReason: _disputeReason,disputeDetails: _disputeDetails,); - return _dataConnect.mutation("updateInvoice", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateInvoiceInvoiceUpdate { - final String id; - UpdateInvoiceInvoiceUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateInvoiceInvoiceUpdate otherTyped = other as UpdateInvoiceInvoiceUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateInvoiceInvoiceUpdate({ - required this.id, - }); -} - -@immutable -class UpdateInvoiceData { - final UpdateInvoiceInvoiceUpdate? invoice_update; - UpdateInvoiceData.fromJson(dynamic json): - - invoice_update = json['invoice_update'] == null ? null : UpdateInvoiceInvoiceUpdate.fromJson(json['invoice_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateInvoiceData otherTyped = other as UpdateInvoiceData; - return invoice_update == otherTyped.invoice_update; - - } - @override - int get hashCode => invoice_update.hashCode; - - - Map toJson() { - Map json = {}; - if (invoice_update != null) { - json['invoice_update'] = invoice_update!.toJson(); - } - return json; - } - - UpdateInvoiceData({ - this.invoice_update, - }); -} - -@immutable -class UpdateInvoiceVariables { - final String id; - late final Optionalstatus; - late final OptionalvendorId; - late final OptionalbusinessId; - late final OptionalorderId; - late final OptionalpaymentTerms; - late final OptionalinvoiceNumber; - late final OptionalissueDate; - late final OptionaldueDate; - late final Optionalhub; - late final OptionalmanagerName; - late final OptionalvendorNumber; - late final Optionalroles; - late final Optionalcharges; - late final OptionalotherCharges; - late final Optionalsubtotal; - late final Optionalamount; - late final Optionalnotes; - late final OptionalstaffCount; - late final OptionalchargesCount; - late final OptionaldisputedItems; - late final OptionaldisputeReason; - late final OptionaldisputeDetails; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateInvoiceVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - status = Optional.optional((data) => InvoiceStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : InvoiceStatus.values.byName(json['status']); - - - vendorId = Optional.optional(nativeFromJson, nativeToJson); - vendorId.value = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']); - - - businessId = Optional.optional(nativeFromJson, nativeToJson); - businessId.value = json['businessId'] == null ? null : nativeFromJson(json['businessId']); - - - orderId = Optional.optional(nativeFromJson, nativeToJson); - orderId.value = json['orderId'] == null ? null : nativeFromJson(json['orderId']); - - - paymentTerms = Optional.optional((data) => InovicePaymentTerms.values.byName(data), enumSerializer); - paymentTerms.value = json['paymentTerms'] == null ? null : InovicePaymentTerms.values.byName(json['paymentTerms']); - - - invoiceNumber = Optional.optional(nativeFromJson, nativeToJson); - invoiceNumber.value = json['invoiceNumber'] == null ? null : nativeFromJson(json['invoiceNumber']); - - - issueDate = Optional.optional((json) => json['issueDate'] = Timestamp.fromJson(json['issueDate']), defaultSerializer); - issueDate.value = json['issueDate'] == null ? null : Timestamp.fromJson(json['issueDate']); - - - dueDate = Optional.optional((json) => json['dueDate'] = Timestamp.fromJson(json['dueDate']), defaultSerializer); - dueDate.value = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']); - - - hub = Optional.optional(nativeFromJson, nativeToJson); - hub.value = json['hub'] == null ? null : nativeFromJson(json['hub']); - - - managerName = Optional.optional(nativeFromJson, nativeToJson); - managerName.value = json['managerName'] == null ? null : nativeFromJson(json['managerName']); - - - vendorNumber = Optional.optional(nativeFromJson, nativeToJson); - vendorNumber.value = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']); - - - roles = Optional.optional(AnyValue.fromJson, defaultSerializer); - roles.value = json['roles'] == null ? null : AnyValue.fromJson(json['roles']); - - - charges = Optional.optional(AnyValue.fromJson, defaultSerializer); - charges.value = json['charges'] == null ? null : AnyValue.fromJson(json['charges']); - - - otherCharges = Optional.optional(nativeFromJson, nativeToJson); - otherCharges.value = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']); - - - subtotal = Optional.optional(nativeFromJson, nativeToJson); - subtotal.value = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']); - - - amount = Optional.optional(nativeFromJson, nativeToJson); - amount.value = json['amount'] == null ? null : nativeFromJson(json['amount']); - - - notes = Optional.optional(nativeFromJson, nativeToJson); - notes.value = json['notes'] == null ? null : nativeFromJson(json['notes']); - - - staffCount = Optional.optional(nativeFromJson, nativeToJson); - staffCount.value = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']); - - - chargesCount = Optional.optional(nativeFromJson, nativeToJson); - chargesCount.value = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']); - - - disputedItems = Optional.optional(AnyValue.fromJson, defaultSerializer); - disputedItems.value = json['disputedItems'] == null ? null : AnyValue.fromJson(json['disputedItems']); - - - disputeReason = Optional.optional(nativeFromJson, nativeToJson); - disputeReason.value = json['disputeReason'] == null ? null : nativeFromJson(json['disputeReason']); - - - disputeDetails = Optional.optional(nativeFromJson, nativeToJson); - disputeDetails.value = json['disputeDetails'] == null ? null : nativeFromJson(json['disputeDetails']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateInvoiceVariables otherTyped = other as UpdateInvoiceVariables; - return id == otherTyped.id && - status == otherTyped.status && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount && - disputedItems == otherTyped.disputedItems && - disputeReason == otherTyped.disputeReason && - disputeDetails == otherTyped.disputeDetails; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, status.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode, disputedItems.hashCode, disputeReason.hashCode, disputeDetails.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(vendorId.state == OptionalState.set) { - json['vendorId'] = vendorId.toJson(); - } - if(businessId.state == OptionalState.set) { - json['businessId'] = businessId.toJson(); - } - if(orderId.state == OptionalState.set) { - json['orderId'] = orderId.toJson(); - } - if(paymentTerms.state == OptionalState.set) { - json['paymentTerms'] = paymentTerms.toJson(); - } - if(invoiceNumber.state == OptionalState.set) { - json['invoiceNumber'] = invoiceNumber.toJson(); - } - if(issueDate.state == OptionalState.set) { - json['issueDate'] = issueDate.toJson(); - } - if(dueDate.state == OptionalState.set) { - json['dueDate'] = dueDate.toJson(); - } - if(hub.state == OptionalState.set) { - json['hub'] = hub.toJson(); - } - if(managerName.state == OptionalState.set) { - json['managerName'] = managerName.toJson(); - } - if(vendorNumber.state == OptionalState.set) { - json['vendorNumber'] = vendorNumber.toJson(); - } - if(roles.state == OptionalState.set) { - json['roles'] = roles.toJson(); - } - if(charges.state == OptionalState.set) { - json['charges'] = charges.toJson(); - } - if(otherCharges.state == OptionalState.set) { - json['otherCharges'] = otherCharges.toJson(); - } - if(subtotal.state == OptionalState.set) { - json['subtotal'] = subtotal.toJson(); - } - if(amount.state == OptionalState.set) { - json['amount'] = amount.toJson(); - } - if(notes.state == OptionalState.set) { - json['notes'] = notes.toJson(); - } - if(staffCount.state == OptionalState.set) { - json['staffCount'] = staffCount.toJson(); - } - if(chargesCount.state == OptionalState.set) { - json['chargesCount'] = chargesCount.toJson(); - } - if(disputedItems.state == OptionalState.set) { - json['disputedItems'] = disputedItems.toJson(); - } - if(disputeReason.state == OptionalState.set) { - json['disputeReason'] = disputeReason.toJson(); - } - if(disputeDetails.state == OptionalState.set) { - json['disputeDetails'] = disputeDetails.toJson(); - } - return json; - } - - UpdateInvoiceVariables({ - required this.id, - required this.status, - required this.vendorId, - required this.businessId, - required this.orderId, - required this.paymentTerms, - required this.invoiceNumber, - required this.issueDate, - required this.dueDate, - required this.hub, - required this.managerName, - required this.vendorNumber, - required this.roles, - required this.charges, - required this.otherCharges, - required this.subtotal, - required this.amount, - required this.notes, - required this.staffCount, - required this.chargesCount, - required this.disputedItems, - required this.disputeReason, - required this.disputeDetails, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_invoice_template.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_invoice_template.dart deleted file mode 100644 index 3cb12633..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_invoice_template.dart +++ /dev/null @@ -1,427 +0,0 @@ -part of 'generated.dart'; - -class UpdateInvoiceTemplateVariablesBuilder { - String id; - Optional _name = Optional.optional(nativeFromJson, nativeToJson); - Optional _ownerId = Optional.optional(nativeFromJson, nativeToJson); - Optional _vendorId = Optional.optional(nativeFromJson, nativeToJson); - Optional _businessId = Optional.optional(nativeFromJson, nativeToJson); - Optional _orderId = Optional.optional(nativeFromJson, nativeToJson); - Optional _paymentTerms = Optional.optional((data) => InovicePaymentTermsTemp.values.byName(data), enumSerializer); - Optional _invoiceNumber = Optional.optional(nativeFromJson, nativeToJson); - Optional _issueDate = Optional.optional((json) => json['issueDate'] = Timestamp.fromJson(json['issueDate']), defaultSerializer); - Optional _dueDate = Optional.optional((json) => json['dueDate'] = Timestamp.fromJson(json['dueDate']), defaultSerializer); - Optional _hub = Optional.optional(nativeFromJson, nativeToJson); - Optional _managerName = Optional.optional(nativeFromJson, nativeToJson); - Optional _vendorNumber = Optional.optional(nativeFromJson, nativeToJson); - Optional _roles = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _charges = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _otherCharges = Optional.optional(nativeFromJson, nativeToJson); - Optional _subtotal = Optional.optional(nativeFromJson, nativeToJson); - Optional _amount = Optional.optional(nativeFromJson, nativeToJson); - Optional _notes = Optional.optional(nativeFromJson, nativeToJson); - Optional _staffCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _chargesCount = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateInvoiceTemplateVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder paymentTerms(InovicePaymentTermsTemp? t) { - _paymentTerms.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder invoiceNumber(String? t) { - _invoiceNumber.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder issueDate(Timestamp? t) { - _issueDate.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder dueDate(Timestamp? t) { - _dueDate.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder managerName(String? t) { - _managerName.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder vendorNumber(String? t) { - _vendorNumber.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder roles(AnyValue? t) { - _roles.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder charges(AnyValue? t) { - _charges.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder otherCharges(double? t) { - _otherCharges.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder subtotal(double? t) { - _subtotal.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder amount(double? t) { - _amount.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder staffCount(int? t) { - _staffCount.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder chargesCount(int? t) { - _chargesCount.value = t; - return this; - } - - UpdateInvoiceTemplateVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateInvoiceTemplateData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateInvoiceTemplateVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateInvoiceTemplateVariables vars= UpdateInvoiceTemplateVariables(id: id,name: _name,ownerId: _ownerId,vendorId: _vendorId,businessId: _businessId,orderId: _orderId,paymentTerms: _paymentTerms,invoiceNumber: _invoiceNumber,issueDate: _issueDate,dueDate: _dueDate,hub: _hub,managerName: _managerName,vendorNumber: _vendorNumber,roles: _roles,charges: _charges,otherCharges: _otherCharges,subtotal: _subtotal,amount: _amount,notes: _notes,staffCount: _staffCount,chargesCount: _chargesCount,); - return _dataConnect.mutation("updateInvoiceTemplate", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateInvoiceTemplateInvoiceTemplateUpdate { - final String id; - UpdateInvoiceTemplateInvoiceTemplateUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateInvoiceTemplateInvoiceTemplateUpdate otherTyped = other as UpdateInvoiceTemplateInvoiceTemplateUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateInvoiceTemplateInvoiceTemplateUpdate({ - required this.id, - }); -} - -@immutable -class UpdateInvoiceTemplateData { - final UpdateInvoiceTemplateInvoiceTemplateUpdate? invoiceTemplate_update; - UpdateInvoiceTemplateData.fromJson(dynamic json): - - invoiceTemplate_update = json['invoiceTemplate_update'] == null ? null : UpdateInvoiceTemplateInvoiceTemplateUpdate.fromJson(json['invoiceTemplate_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateInvoiceTemplateData otherTyped = other as UpdateInvoiceTemplateData; - return invoiceTemplate_update == otherTyped.invoiceTemplate_update; - - } - @override - int get hashCode => invoiceTemplate_update.hashCode; - - - Map toJson() { - Map json = {}; - if (invoiceTemplate_update != null) { - json['invoiceTemplate_update'] = invoiceTemplate_update!.toJson(); - } - return json; - } - - UpdateInvoiceTemplateData({ - this.invoiceTemplate_update, - }); -} - -@immutable -class UpdateInvoiceTemplateVariables { - final String id; - late final Optionalname; - late final OptionalownerId; - late final OptionalvendorId; - late final OptionalbusinessId; - late final OptionalorderId; - late final OptionalpaymentTerms; - late final OptionalinvoiceNumber; - late final OptionalissueDate; - late final OptionaldueDate; - late final Optionalhub; - late final OptionalmanagerName; - late final OptionalvendorNumber; - late final Optionalroles; - late final Optionalcharges; - late final OptionalotherCharges; - late final Optionalsubtotal; - late final Optionalamount; - late final Optionalnotes; - late final OptionalstaffCount; - late final OptionalchargesCount; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateInvoiceTemplateVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - name = Optional.optional(nativeFromJson, nativeToJson); - name.value = json['name'] == null ? null : nativeFromJson(json['name']); - - - ownerId = Optional.optional(nativeFromJson, nativeToJson); - ownerId.value = json['ownerId'] == null ? null : nativeFromJson(json['ownerId']); - - - vendorId = Optional.optional(nativeFromJson, nativeToJson); - vendorId.value = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']); - - - businessId = Optional.optional(nativeFromJson, nativeToJson); - businessId.value = json['businessId'] == null ? null : nativeFromJson(json['businessId']); - - - orderId = Optional.optional(nativeFromJson, nativeToJson); - orderId.value = json['orderId'] == null ? null : nativeFromJson(json['orderId']); - - - paymentTerms = Optional.optional((data) => InovicePaymentTermsTemp.values.byName(data), enumSerializer); - paymentTerms.value = json['paymentTerms'] == null ? null : InovicePaymentTermsTemp.values.byName(json['paymentTerms']); - - - invoiceNumber = Optional.optional(nativeFromJson, nativeToJson); - invoiceNumber.value = json['invoiceNumber'] == null ? null : nativeFromJson(json['invoiceNumber']); - - - issueDate = Optional.optional((json) => json['issueDate'] = Timestamp.fromJson(json['issueDate']), defaultSerializer); - issueDate.value = json['issueDate'] == null ? null : Timestamp.fromJson(json['issueDate']); - - - dueDate = Optional.optional((json) => json['dueDate'] = Timestamp.fromJson(json['dueDate']), defaultSerializer); - dueDate.value = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']); - - - hub = Optional.optional(nativeFromJson, nativeToJson); - hub.value = json['hub'] == null ? null : nativeFromJson(json['hub']); - - - managerName = Optional.optional(nativeFromJson, nativeToJson); - managerName.value = json['managerName'] == null ? null : nativeFromJson(json['managerName']); - - - vendorNumber = Optional.optional(nativeFromJson, nativeToJson); - vendorNumber.value = json['vendorNumber'] == null ? null : nativeFromJson(json['vendorNumber']); - - - roles = Optional.optional(AnyValue.fromJson, defaultSerializer); - roles.value = json['roles'] == null ? null : AnyValue.fromJson(json['roles']); - - - charges = Optional.optional(AnyValue.fromJson, defaultSerializer); - charges.value = json['charges'] == null ? null : AnyValue.fromJson(json['charges']); - - - otherCharges = Optional.optional(nativeFromJson, nativeToJson); - otherCharges.value = json['otherCharges'] == null ? null : nativeFromJson(json['otherCharges']); - - - subtotal = Optional.optional(nativeFromJson, nativeToJson); - subtotal.value = json['subtotal'] == null ? null : nativeFromJson(json['subtotal']); - - - amount = Optional.optional(nativeFromJson, nativeToJson); - amount.value = json['amount'] == null ? null : nativeFromJson(json['amount']); - - - notes = Optional.optional(nativeFromJson, nativeToJson); - notes.value = json['notes'] == null ? null : nativeFromJson(json['notes']); - - - staffCount = Optional.optional(nativeFromJson, nativeToJson); - staffCount.value = json['staffCount'] == null ? null : nativeFromJson(json['staffCount']); - - - chargesCount = Optional.optional(nativeFromJson, nativeToJson); - chargesCount.value = json['chargesCount'] == null ? null : nativeFromJson(json['chargesCount']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateInvoiceTemplateVariables otherTyped = other as UpdateInvoiceTemplateVariables; - return id == otherTyped.id && - name == otherTyped.name && - ownerId == otherTyped.ownerId && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - orderId == otherTyped.orderId && - paymentTerms == otherTyped.paymentTerms && - invoiceNumber == otherTyped.invoiceNumber && - issueDate == otherTyped.issueDate && - dueDate == otherTyped.dueDate && - hub == otherTyped.hub && - managerName == otherTyped.managerName && - vendorNumber == otherTyped.vendorNumber && - roles == otherTyped.roles && - charges == otherTyped.charges && - otherCharges == otherTyped.otherCharges && - subtotal == otherTyped.subtotal && - amount == otherTyped.amount && - notes == otherTyped.notes && - staffCount == otherTyped.staffCount && - chargesCount == otherTyped.chargesCount; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, ownerId.hashCode, vendorId.hashCode, businessId.hashCode, orderId.hashCode, paymentTerms.hashCode, invoiceNumber.hashCode, issueDate.hashCode, dueDate.hashCode, hub.hashCode, managerName.hashCode, vendorNumber.hashCode, roles.hashCode, charges.hashCode, otherCharges.hashCode, subtotal.hashCode, amount.hashCode, notes.hashCode, staffCount.hashCode, chargesCount.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(name.state == OptionalState.set) { - json['name'] = name.toJson(); - } - if(ownerId.state == OptionalState.set) { - json['ownerId'] = ownerId.toJson(); - } - if(vendorId.state == OptionalState.set) { - json['vendorId'] = vendorId.toJson(); - } - if(businessId.state == OptionalState.set) { - json['businessId'] = businessId.toJson(); - } - if(orderId.state == OptionalState.set) { - json['orderId'] = orderId.toJson(); - } - if(paymentTerms.state == OptionalState.set) { - json['paymentTerms'] = paymentTerms.toJson(); - } - if(invoiceNumber.state == OptionalState.set) { - json['invoiceNumber'] = invoiceNumber.toJson(); - } - if(issueDate.state == OptionalState.set) { - json['issueDate'] = issueDate.toJson(); - } - if(dueDate.state == OptionalState.set) { - json['dueDate'] = dueDate.toJson(); - } - if(hub.state == OptionalState.set) { - json['hub'] = hub.toJson(); - } - if(managerName.state == OptionalState.set) { - json['managerName'] = managerName.toJson(); - } - if(vendorNumber.state == OptionalState.set) { - json['vendorNumber'] = vendorNumber.toJson(); - } - if(roles.state == OptionalState.set) { - json['roles'] = roles.toJson(); - } - if(charges.state == OptionalState.set) { - json['charges'] = charges.toJson(); - } - if(otherCharges.state == OptionalState.set) { - json['otherCharges'] = otherCharges.toJson(); - } - if(subtotal.state == OptionalState.set) { - json['subtotal'] = subtotal.toJson(); - } - if(amount.state == OptionalState.set) { - json['amount'] = amount.toJson(); - } - if(notes.state == OptionalState.set) { - json['notes'] = notes.toJson(); - } - if(staffCount.state == OptionalState.set) { - json['staffCount'] = staffCount.toJson(); - } - if(chargesCount.state == OptionalState.set) { - json['chargesCount'] = chargesCount.toJson(); - } - return json; - } - - UpdateInvoiceTemplateVariables({ - required this.id, - required this.name, - required this.ownerId, - required this.vendorId, - required this.businessId, - required this.orderId, - required this.paymentTerms, - required this.invoiceNumber, - required this.issueDate, - required this.dueDate, - required this.hub, - required this.managerName, - required this.vendorNumber, - required this.roles, - required this.charges, - required this.otherCharges, - required this.subtotal, - required this.amount, - required this.notes, - required this.staffCount, - required this.chargesCount, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_level.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_level.dart deleted file mode 100644 index 0385a5bf..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_level.dart +++ /dev/null @@ -1,187 +0,0 @@ -part of 'generated.dart'; - -class UpdateLevelVariablesBuilder { - String id; - Optional _name = Optional.optional(nativeFromJson, nativeToJson); - Optional _xpRequired = Optional.optional(nativeFromJson, nativeToJson); - Optional _icon = Optional.optional(nativeFromJson, nativeToJson); - Optional _colors = Optional.optional(AnyValue.fromJson, defaultSerializer); - - final FirebaseDataConnect _dataConnect; UpdateLevelVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateLevelVariablesBuilder xpRequired(int? t) { - _xpRequired.value = t; - return this; - } - UpdateLevelVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - UpdateLevelVariablesBuilder colors(AnyValue? t) { - _colors.value = t; - return this; - } - - UpdateLevelVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateLevelData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateLevelVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateLevelVariables vars= UpdateLevelVariables(id: id,name: _name,xpRequired: _xpRequired,icon: _icon,colors: _colors,); - return _dataConnect.mutation("updateLevel", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateLevelLevelUpdate { - final String id; - UpdateLevelLevelUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateLevelLevelUpdate otherTyped = other as UpdateLevelLevelUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateLevelLevelUpdate({ - required this.id, - }); -} - -@immutable -class UpdateLevelData { - final UpdateLevelLevelUpdate? level_update; - UpdateLevelData.fromJson(dynamic json): - - level_update = json['level_update'] == null ? null : UpdateLevelLevelUpdate.fromJson(json['level_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateLevelData otherTyped = other as UpdateLevelData; - return level_update == otherTyped.level_update; - - } - @override - int get hashCode => level_update.hashCode; - - - Map toJson() { - Map json = {}; - if (level_update != null) { - json['level_update'] = level_update!.toJson(); - } - return json; - } - - UpdateLevelData({ - this.level_update, - }); -} - -@immutable -class UpdateLevelVariables { - final String id; - late final Optionalname; - late final OptionalxpRequired; - late final Optionalicon; - late final Optionalcolors; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateLevelVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - name = Optional.optional(nativeFromJson, nativeToJson); - name.value = json['name'] == null ? null : nativeFromJson(json['name']); - - - xpRequired = Optional.optional(nativeFromJson, nativeToJson); - xpRequired.value = json['xpRequired'] == null ? null : nativeFromJson(json['xpRequired']); - - - icon = Optional.optional(nativeFromJson, nativeToJson); - icon.value = json['icon'] == null ? null : nativeFromJson(json['icon']); - - - colors = Optional.optional(AnyValue.fromJson, defaultSerializer); - colors.value = json['colors'] == null ? null : AnyValue.fromJson(json['colors']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateLevelVariables otherTyped = other as UpdateLevelVariables; - return id == otherTyped.id && - name == otherTyped.name && - xpRequired == otherTyped.xpRequired && - icon == otherTyped.icon && - colors == otherTyped.colors; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, xpRequired.hashCode, icon.hashCode, colors.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(name.state == OptionalState.set) { - json['name'] = name.toJson(); - } - if(xpRequired.state == OptionalState.set) { - json['xpRequired'] = xpRequired.toJson(); - } - if(icon.state == OptionalState.set) { - json['icon'] = icon.toJson(); - } - if(colors.state == OptionalState.set) { - json['colors'] = colors.toJson(); - } - return json; - } - - UpdateLevelVariables({ - required this.id, - required this.name, - required this.xpRequired, - required this.icon, - required this.colors, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_message.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_message.dart deleted file mode 100644 index 466a250a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_message.dart +++ /dev/null @@ -1,187 +0,0 @@ -part of 'generated.dart'; - -class UpdateMessageVariablesBuilder { - String id; - Optional _conversationId = Optional.optional(nativeFromJson, nativeToJson); - Optional _senderId = Optional.optional(nativeFromJson, nativeToJson); - Optional _content = Optional.optional(nativeFromJson, nativeToJson); - Optional _isSystem = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateMessageVariablesBuilder conversationId(String? t) { - _conversationId.value = t; - return this; - } - UpdateMessageVariablesBuilder senderId(String? t) { - _senderId.value = t; - return this; - } - UpdateMessageVariablesBuilder content(String? t) { - _content.value = t; - return this; - } - UpdateMessageVariablesBuilder isSystem(bool? t) { - _isSystem.value = t; - return this; - } - - UpdateMessageVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateMessageData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateMessageVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateMessageVariables vars= UpdateMessageVariables(id: id,conversationId: _conversationId,senderId: _senderId,content: _content,isSystem: _isSystem,); - return _dataConnect.mutation("updateMessage", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateMessageMessageUpdate { - final String id; - UpdateMessageMessageUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateMessageMessageUpdate otherTyped = other as UpdateMessageMessageUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateMessageMessageUpdate({ - required this.id, - }); -} - -@immutable -class UpdateMessageData { - final UpdateMessageMessageUpdate? message_update; - UpdateMessageData.fromJson(dynamic json): - - message_update = json['message_update'] == null ? null : UpdateMessageMessageUpdate.fromJson(json['message_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateMessageData otherTyped = other as UpdateMessageData; - return message_update == otherTyped.message_update; - - } - @override - int get hashCode => message_update.hashCode; - - - Map toJson() { - Map json = {}; - if (message_update != null) { - json['message_update'] = message_update!.toJson(); - } - return json; - } - - UpdateMessageData({ - this.message_update, - }); -} - -@immutable -class UpdateMessageVariables { - final String id; - late final OptionalconversationId; - late final OptionalsenderId; - late final Optionalcontent; - late final OptionalisSystem; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateMessageVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - conversationId = Optional.optional(nativeFromJson, nativeToJson); - conversationId.value = json['conversationId'] == null ? null : nativeFromJson(json['conversationId']); - - - senderId = Optional.optional(nativeFromJson, nativeToJson); - senderId.value = json['senderId'] == null ? null : nativeFromJson(json['senderId']); - - - content = Optional.optional(nativeFromJson, nativeToJson); - content.value = json['content'] == null ? null : nativeFromJson(json['content']); - - - isSystem = Optional.optional(nativeFromJson, nativeToJson); - isSystem.value = json['isSystem'] == null ? null : nativeFromJson(json['isSystem']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateMessageVariables otherTyped = other as UpdateMessageVariables; - return id == otherTyped.id && - conversationId == otherTyped.conversationId && - senderId == otherTyped.senderId && - content == otherTyped.content && - isSystem == otherTyped.isSystem; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, conversationId.hashCode, senderId.hashCode, content.hashCode, isSystem.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(conversationId.state == OptionalState.set) { - json['conversationId'] = conversationId.toJson(); - } - if(senderId.state == OptionalState.set) { - json['senderId'] = senderId.toJson(); - } - if(content.state == OptionalState.set) { - json['content'] = content.toJson(); - } - if(isSystem.state == OptionalState.set) { - json['isSystem'] = isSystem.toJson(); - } - return json; - } - - UpdateMessageVariables({ - required this.id, - required this.conversationId, - required this.senderId, - required this.content, - required this.isSystem, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_order.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_order.dart deleted file mode 100644 index 83438d80..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_order.dart +++ /dev/null @@ -1,382 +0,0 @@ -part of 'generated.dart'; - -class UpdateOrderVariablesBuilder { - String id; - Optional _vendorId = Optional.optional(nativeFromJson, nativeToJson); - Optional _businessId = Optional.optional(nativeFromJson, nativeToJson); - Optional _location = Optional.optional(nativeFromJson, nativeToJson); - Optional _status = Optional.optional((data) => OrderStatus.values.byName(data), enumSerializer); - Optional _startDate = Optional.optional((json) => json['startDate'] = Timestamp.fromJson(json['startDate']), defaultSerializer); - Optional _endDate = Optional.optional((json) => json['endDate'] = Timestamp.fromJson(json['endDate']), defaultSerializer); - Optional _total = Optional.optional(nativeFromJson, nativeToJson); - Optional _eventName = Optional.optional(nativeFromJson, nativeToJson); - Optional _assignedStaff = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _shifts = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _requested = Optional.optional(nativeFromJson, nativeToJson); - Optional _hub = Optional.optional(nativeFromJson, nativeToJson); - Optional _recurringDays = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _permanentDays = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _notes = Optional.optional(nativeFromJson, nativeToJson); - Optional _detectedConflicts = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _poReference = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateOrderVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateOrderVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - UpdateOrderVariablesBuilder location(String? t) { - _location.value = t; - return this; - } - UpdateOrderVariablesBuilder status(OrderStatus? t) { - _status.value = t; - return this; - } - UpdateOrderVariablesBuilder startDate(Timestamp? t) { - _startDate.value = t; - return this; - } - UpdateOrderVariablesBuilder endDate(Timestamp? t) { - _endDate.value = t; - return this; - } - UpdateOrderVariablesBuilder total(double? t) { - _total.value = t; - return this; - } - UpdateOrderVariablesBuilder eventName(String? t) { - _eventName.value = t; - return this; - } - UpdateOrderVariablesBuilder assignedStaff(AnyValue? t) { - _assignedStaff.value = t; - return this; - } - UpdateOrderVariablesBuilder shifts(AnyValue? t) { - _shifts.value = t; - return this; - } - UpdateOrderVariablesBuilder requested(int? t) { - _requested.value = t; - return this; - } - UpdateOrderVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - UpdateOrderVariablesBuilder recurringDays(AnyValue? t) { - _recurringDays.value = t; - return this; - } - UpdateOrderVariablesBuilder permanentDays(AnyValue? t) { - _permanentDays.value = t; - return this; - } - UpdateOrderVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - UpdateOrderVariablesBuilder detectedConflicts(AnyValue? t) { - _detectedConflicts.value = t; - return this; - } - UpdateOrderVariablesBuilder poReference(String? t) { - _poReference.value = t; - return this; - } - - UpdateOrderVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateOrderData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateOrderVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateOrderVariables vars= UpdateOrderVariables(id: id,vendorId: _vendorId,businessId: _businessId,location: _location,status: _status,startDate: _startDate,endDate: _endDate,total: _total,eventName: _eventName,assignedStaff: _assignedStaff,shifts: _shifts,requested: _requested,hub: _hub,recurringDays: _recurringDays,permanentDays: _permanentDays,notes: _notes,detectedConflicts: _detectedConflicts,poReference: _poReference,); - return _dataConnect.mutation("updateOrder", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateOrderOrderUpdate { - final String id; - UpdateOrderOrderUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateOrderOrderUpdate otherTyped = other as UpdateOrderOrderUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateOrderOrderUpdate({ - required this.id, - }); -} - -@immutable -class UpdateOrderData { - final UpdateOrderOrderUpdate? order_update; - UpdateOrderData.fromJson(dynamic json): - - order_update = json['order_update'] == null ? null : UpdateOrderOrderUpdate.fromJson(json['order_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateOrderData otherTyped = other as UpdateOrderData; - return order_update == otherTyped.order_update; - - } - @override - int get hashCode => order_update.hashCode; - - - Map toJson() { - Map json = {}; - if (order_update != null) { - json['order_update'] = order_update!.toJson(); - } - return json; - } - - UpdateOrderData({ - this.order_update, - }); -} - -@immutable -class UpdateOrderVariables { - final String id; - late final OptionalvendorId; - late final OptionalbusinessId; - late final Optionallocation; - late final Optionalstatus; - late final OptionalstartDate; - late final OptionalendDate; - late final Optionaltotal; - late final OptionaleventName; - late final OptionalassignedStaff; - late final Optionalshifts; - late final Optionalrequested; - late final Optionalhub; - late final OptionalrecurringDays; - late final OptionalpermanentDays; - late final Optionalnotes; - late final OptionaldetectedConflicts; - late final OptionalpoReference; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateOrderVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - vendorId = Optional.optional(nativeFromJson, nativeToJson); - vendorId.value = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']); - - - businessId = Optional.optional(nativeFromJson, nativeToJson); - businessId.value = json['businessId'] == null ? null : nativeFromJson(json['businessId']); - - - location = Optional.optional(nativeFromJson, nativeToJson); - location.value = json['location'] == null ? null : nativeFromJson(json['location']); - - - status = Optional.optional((data) => OrderStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : OrderStatus.values.byName(json['status']); - - - startDate = Optional.optional((json) => json['startDate'] = Timestamp.fromJson(json['startDate']), defaultSerializer); - startDate.value = json['startDate'] == null ? null : Timestamp.fromJson(json['startDate']); - - - endDate = Optional.optional((json) => json['endDate'] = Timestamp.fromJson(json['endDate']), defaultSerializer); - endDate.value = json['endDate'] == null ? null : Timestamp.fromJson(json['endDate']); - - - total = Optional.optional(nativeFromJson, nativeToJson); - total.value = json['total'] == null ? null : nativeFromJson(json['total']); - - - eventName = Optional.optional(nativeFromJson, nativeToJson); - eventName.value = json['eventName'] == null ? null : nativeFromJson(json['eventName']); - - - assignedStaff = Optional.optional(AnyValue.fromJson, defaultSerializer); - assignedStaff.value = json['assignedStaff'] == null ? null : AnyValue.fromJson(json['assignedStaff']); - - - shifts = Optional.optional(AnyValue.fromJson, defaultSerializer); - shifts.value = json['shifts'] == null ? null : AnyValue.fromJson(json['shifts']); - - - requested = Optional.optional(nativeFromJson, nativeToJson); - requested.value = json['requested'] == null ? null : nativeFromJson(json['requested']); - - - hub = Optional.optional(nativeFromJson, nativeToJson); - hub.value = json['hub'] == null ? null : nativeFromJson(json['hub']); - - - recurringDays = Optional.optional(AnyValue.fromJson, defaultSerializer); - recurringDays.value = json['recurringDays'] == null ? null : AnyValue.fromJson(json['recurringDays']); - - - permanentDays = Optional.optional(AnyValue.fromJson, defaultSerializer); - permanentDays.value = json['permanentDays'] == null ? null : AnyValue.fromJson(json['permanentDays']); - - - notes = Optional.optional(nativeFromJson, nativeToJson); - notes.value = json['notes'] == null ? null : nativeFromJson(json['notes']); - - - detectedConflicts = Optional.optional(AnyValue.fromJson, defaultSerializer); - detectedConflicts.value = json['detectedConflicts'] == null ? null : AnyValue.fromJson(json['detectedConflicts']); - - - poReference = Optional.optional(nativeFromJson, nativeToJson); - poReference.value = json['poReference'] == null ? null : nativeFromJson(json['poReference']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateOrderVariables otherTyped = other as UpdateOrderVariables; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - businessId == otherTyped.businessId && - location == otherTyped.location && - status == otherTyped.status && - startDate == otherTyped.startDate && - endDate == otherTyped.endDate && - total == otherTyped.total && - eventName == otherTyped.eventName && - assignedStaff == otherTyped.assignedStaff && - shifts == otherTyped.shifts && - requested == otherTyped.requested && - hub == otherTyped.hub && - recurringDays == otherTyped.recurringDays && - permanentDays == otherTyped.permanentDays && - notes == otherTyped.notes && - detectedConflicts == otherTyped.detectedConflicts && - poReference == otherTyped.poReference; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, businessId.hashCode, location.hashCode, status.hashCode, startDate.hashCode, endDate.hashCode, total.hashCode, eventName.hashCode, assignedStaff.hashCode, shifts.hashCode, requested.hashCode, hub.hashCode, recurringDays.hashCode, permanentDays.hashCode, notes.hashCode, detectedConflicts.hashCode, poReference.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(vendorId.state == OptionalState.set) { - json['vendorId'] = vendorId.toJson(); - } - if(businessId.state == OptionalState.set) { - json['businessId'] = businessId.toJson(); - } - if(location.state == OptionalState.set) { - json['location'] = location.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(startDate.state == OptionalState.set) { - json['startDate'] = startDate.toJson(); - } - if(endDate.state == OptionalState.set) { - json['endDate'] = endDate.toJson(); - } - if(total.state == OptionalState.set) { - json['total'] = total.toJson(); - } - if(eventName.state == OptionalState.set) { - json['eventName'] = eventName.toJson(); - } - if(assignedStaff.state == OptionalState.set) { - json['assignedStaff'] = assignedStaff.toJson(); - } - if(shifts.state == OptionalState.set) { - json['shifts'] = shifts.toJson(); - } - if(requested.state == OptionalState.set) { - json['requested'] = requested.toJson(); - } - if(hub.state == OptionalState.set) { - json['hub'] = hub.toJson(); - } - if(recurringDays.state == OptionalState.set) { - json['recurringDays'] = recurringDays.toJson(); - } - if(permanentDays.state == OptionalState.set) { - json['permanentDays'] = permanentDays.toJson(); - } - if(notes.state == OptionalState.set) { - json['notes'] = notes.toJson(); - } - if(detectedConflicts.state == OptionalState.set) { - json['detectedConflicts'] = detectedConflicts.toJson(); - } - if(poReference.state == OptionalState.set) { - json['poReference'] = poReference.toJson(); - } - return json; - } - - UpdateOrderVariables({ - required this.id, - required this.vendorId, - required this.businessId, - required this.location, - required this.status, - required this.startDate, - required this.endDate, - required this.total, - required this.eventName, - required this.assignedStaff, - required this.shifts, - required this.requested, - required this.hub, - required this.recurringDays, - required this.permanentDays, - required this.notes, - required this.detectedConflicts, - required this.poReference, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_recent_payment.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_recent_payment.dart deleted file mode 100644 index f2ff0280..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_recent_payment.dart +++ /dev/null @@ -1,202 +0,0 @@ -part of 'generated.dart'; - -class UpdateRecentPaymentVariablesBuilder { - String id; - Optional _workedTime = Optional.optional(nativeFromJson, nativeToJson); - Optional _status = Optional.optional((data) => RecentPaymentStatus.values.byName(data), enumSerializer); - Optional _staffId = Optional.optional(nativeFromJson, nativeToJson); - Optional _applicationId = Optional.optional(nativeFromJson, nativeToJson); - Optional _invoiceId = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateRecentPaymentVariablesBuilder workedTime(String? t) { - _workedTime.value = t; - return this; - } - UpdateRecentPaymentVariablesBuilder status(RecentPaymentStatus? t) { - _status.value = t; - return this; - } - UpdateRecentPaymentVariablesBuilder staffId(String? t) { - _staffId.value = t; - return this; - } - UpdateRecentPaymentVariablesBuilder applicationId(String? t) { - _applicationId.value = t; - return this; - } - UpdateRecentPaymentVariablesBuilder invoiceId(String? t) { - _invoiceId.value = t; - return this; - } - - UpdateRecentPaymentVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateRecentPaymentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateRecentPaymentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateRecentPaymentVariables vars= UpdateRecentPaymentVariables(id: id,workedTime: _workedTime,status: _status,staffId: _staffId,applicationId: _applicationId,invoiceId: _invoiceId,); - return _dataConnect.mutation("updateRecentPayment", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateRecentPaymentRecentPaymentUpdate { - final String id; - UpdateRecentPaymentRecentPaymentUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateRecentPaymentRecentPaymentUpdate otherTyped = other as UpdateRecentPaymentRecentPaymentUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateRecentPaymentRecentPaymentUpdate({ - required this.id, - }); -} - -@immutable -class UpdateRecentPaymentData { - final UpdateRecentPaymentRecentPaymentUpdate? recentPayment_update; - UpdateRecentPaymentData.fromJson(dynamic json): - - recentPayment_update = json['recentPayment_update'] == null ? null : UpdateRecentPaymentRecentPaymentUpdate.fromJson(json['recentPayment_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateRecentPaymentData otherTyped = other as UpdateRecentPaymentData; - return recentPayment_update == otherTyped.recentPayment_update; - - } - @override - int get hashCode => recentPayment_update.hashCode; - - - Map toJson() { - Map json = {}; - if (recentPayment_update != null) { - json['recentPayment_update'] = recentPayment_update!.toJson(); - } - return json; - } - - UpdateRecentPaymentData({ - this.recentPayment_update, - }); -} - -@immutable -class UpdateRecentPaymentVariables { - final String id; - late final OptionalworkedTime; - late final Optionalstatus; - late final OptionalstaffId; - late final OptionalapplicationId; - late final OptionalinvoiceId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateRecentPaymentVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - workedTime = Optional.optional(nativeFromJson, nativeToJson); - workedTime.value = json['workedTime'] == null ? null : nativeFromJson(json['workedTime']); - - - status = Optional.optional((data) => RecentPaymentStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : RecentPaymentStatus.values.byName(json['status']); - - - staffId = Optional.optional(nativeFromJson, nativeToJson); - staffId.value = json['staffId'] == null ? null : nativeFromJson(json['staffId']); - - - applicationId = Optional.optional(nativeFromJson, nativeToJson); - applicationId.value = json['applicationId'] == null ? null : nativeFromJson(json['applicationId']); - - - invoiceId = Optional.optional(nativeFromJson, nativeToJson); - invoiceId.value = json['invoiceId'] == null ? null : nativeFromJson(json['invoiceId']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateRecentPaymentVariables otherTyped = other as UpdateRecentPaymentVariables; - return id == otherTyped.id && - workedTime == otherTyped.workedTime && - status == otherTyped.status && - staffId == otherTyped.staffId && - applicationId == otherTyped.applicationId && - invoiceId == otherTyped.invoiceId; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workedTime.hashCode, status.hashCode, staffId.hashCode, applicationId.hashCode, invoiceId.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(workedTime.state == OptionalState.set) { - json['workedTime'] = workedTime.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(staffId.state == OptionalState.set) { - json['staffId'] = staffId.toJson(); - } - if(applicationId.state == OptionalState.set) { - json['applicationId'] = applicationId.toJson(); - } - if(invoiceId.state == OptionalState.set) { - json['invoiceId'] = invoiceId.toJson(); - } - return json; - } - - UpdateRecentPaymentVariables({ - required this.id, - required this.workedTime, - required this.status, - required this.staffId, - required this.applicationId, - required this.invoiceId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_role.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_role.dart deleted file mode 100644 index a7ed336c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_role.dart +++ /dev/null @@ -1,164 +0,0 @@ -part of 'generated.dart'; - -class UpdateRoleVariablesBuilder { - String id; - Optional _name = Optional.optional(nativeFromJson, nativeToJson); - Optional _costPerHour = Optional.optional(nativeFromJson, nativeToJson); - String roleCategoryId; - - final FirebaseDataConnect _dataConnect; UpdateRoleVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateRoleVariablesBuilder costPerHour(double? t) { - _costPerHour.value = t; - return this; - } - - UpdateRoleVariablesBuilder(this._dataConnect, {required this.id,required this.roleCategoryId,}); - Deserializer dataDeserializer = (dynamic json) => UpdateRoleData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateRoleVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateRoleVariables vars= UpdateRoleVariables(id: id,name: _name,costPerHour: _costPerHour,roleCategoryId: roleCategoryId,); - return _dataConnect.mutation("updateRole", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateRoleRoleUpdate { - final String id; - UpdateRoleRoleUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateRoleRoleUpdate otherTyped = other as UpdateRoleRoleUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateRoleRoleUpdate({ - required this.id, - }); -} - -@immutable -class UpdateRoleData { - final UpdateRoleRoleUpdate? role_update; - UpdateRoleData.fromJson(dynamic json): - - role_update = json['role_update'] == null ? null : UpdateRoleRoleUpdate.fromJson(json['role_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateRoleData otherTyped = other as UpdateRoleData; - return role_update == otherTyped.role_update; - - } - @override - int get hashCode => role_update.hashCode; - - - Map toJson() { - Map json = {}; - if (role_update != null) { - json['role_update'] = role_update!.toJson(); - } - return json; - } - - UpdateRoleData({ - this.role_update, - }); -} - -@immutable -class UpdateRoleVariables { - final String id; - late final Optionalname; - late final OptionalcostPerHour; - final String roleCategoryId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateRoleVariables.fromJson(Map json): - - id = nativeFromJson(json['id']), - roleCategoryId = nativeFromJson(json['roleCategoryId']) { - - - - name = Optional.optional(nativeFromJson, nativeToJson); - name.value = json['name'] == null ? null : nativeFromJson(json['name']); - - - costPerHour = Optional.optional(nativeFromJson, nativeToJson); - costPerHour.value = json['costPerHour'] == null ? null : nativeFromJson(json['costPerHour']); - - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateRoleVariables otherTyped = other as UpdateRoleVariables; - return id == otherTyped.id && - name == otherTyped.name && - costPerHour == otherTyped.costPerHour && - roleCategoryId == otherTyped.roleCategoryId; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costPerHour.hashCode, roleCategoryId.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(name.state == OptionalState.set) { - json['name'] = name.toJson(); - } - if(costPerHour.state == OptionalState.set) { - json['costPerHour'] = costPerHour.toJson(); - } - json['roleCategoryId'] = nativeToJson(roleCategoryId); - return json; - } - - UpdateRoleVariables({ - required this.id, - required this.name, - required this.costPerHour, - required this.roleCategoryId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_role_category.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_role_category.dart deleted file mode 100644 index 80f2f027..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_role_category.dart +++ /dev/null @@ -1,157 +0,0 @@ -part of 'generated.dart'; - -class UpdateRoleCategoryVariablesBuilder { - String id; - Optional _roleName = Optional.optional(nativeFromJson, nativeToJson); - Optional _category = Optional.optional((data) => RoleCategoryType.values.byName(data), enumSerializer); - - final FirebaseDataConnect _dataConnect; UpdateRoleCategoryVariablesBuilder roleName(String? t) { - _roleName.value = t; - return this; - } - UpdateRoleCategoryVariablesBuilder category(RoleCategoryType? t) { - _category.value = t; - return this; - } - - UpdateRoleCategoryVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateRoleCategoryData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateRoleCategoryVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateRoleCategoryVariables vars= UpdateRoleCategoryVariables(id: id,roleName: _roleName,category: _category,); - return _dataConnect.mutation("updateRoleCategory", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateRoleCategoryRoleCategoryUpdate { - final String id; - UpdateRoleCategoryRoleCategoryUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateRoleCategoryRoleCategoryUpdate otherTyped = other as UpdateRoleCategoryRoleCategoryUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateRoleCategoryRoleCategoryUpdate({ - required this.id, - }); -} - -@immutable -class UpdateRoleCategoryData { - final UpdateRoleCategoryRoleCategoryUpdate? roleCategory_update; - UpdateRoleCategoryData.fromJson(dynamic json): - - roleCategory_update = json['roleCategory_update'] == null ? null : UpdateRoleCategoryRoleCategoryUpdate.fromJson(json['roleCategory_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateRoleCategoryData otherTyped = other as UpdateRoleCategoryData; - return roleCategory_update == otherTyped.roleCategory_update; - - } - @override - int get hashCode => roleCategory_update.hashCode; - - - Map toJson() { - Map json = {}; - if (roleCategory_update != null) { - json['roleCategory_update'] = roleCategory_update!.toJson(); - } - return json; - } - - UpdateRoleCategoryData({ - this.roleCategory_update, - }); -} - -@immutable -class UpdateRoleCategoryVariables { - final String id; - late final OptionalroleName; - late final Optionalcategory; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateRoleCategoryVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - roleName = Optional.optional(nativeFromJson, nativeToJson); - roleName.value = json['roleName'] == null ? null : nativeFromJson(json['roleName']); - - - category = Optional.optional((data) => RoleCategoryType.values.byName(data), enumSerializer); - category.value = json['category'] == null ? null : RoleCategoryType.values.byName(json['category']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateRoleCategoryVariables otherTyped = other as UpdateRoleCategoryVariables; - return id == otherTyped.id && - roleName == otherTyped.roleName && - category == otherTyped.category; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, roleName.hashCode, category.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(roleName.state == OptionalState.set) { - json['roleName'] = roleName.toJson(); - } - if(category.state == OptionalState.set) { - json['category'] = category.toJson(); - } - return json; - } - - UpdateRoleCategoryVariables({ - required this.id, - required this.roleName, - required this.category, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_shift.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_shift.dart deleted file mode 100644 index 8739955f..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_shift.dart +++ /dev/null @@ -1,399 +0,0 @@ -part of 'generated.dart'; - -class UpdateShiftVariablesBuilder { - String id; - Optional _title = Optional.optional(nativeFromJson, nativeToJson); - Optional _orderId = Optional.optional(nativeFromJson, nativeToJson); - Optional _date = Optional.optional((json) => json['date'] = Timestamp.fromJson(json['date']), defaultSerializer); - Optional _startTime = Optional.optional((json) => json['startTime'] = Timestamp.fromJson(json['startTime']), defaultSerializer); - Optional _endTime = Optional.optional((json) => json['endTime'] = Timestamp.fromJson(json['endTime']), defaultSerializer); - Optional _hours = Optional.optional(nativeFromJson, nativeToJson); - Optional _cost = Optional.optional(nativeFromJson, nativeToJson); - Optional _location = Optional.optional(nativeFromJson, nativeToJson); - Optional _locationAddress = Optional.optional(nativeFromJson, nativeToJson); - Optional _latitude = Optional.optional(nativeFromJson, nativeToJson); - Optional _longitude = Optional.optional(nativeFromJson, nativeToJson); - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - Optional _status = Optional.optional((data) => ShiftStatus.values.byName(data), enumSerializer); - Optional _workersNeeded = Optional.optional(nativeFromJson, nativeToJson); - Optional _filled = Optional.optional(nativeFromJson, nativeToJson); - Optional _filledAt = Optional.optional((json) => json['filledAt'] = Timestamp.fromJson(json['filledAt']), defaultSerializer); - Optional> _managers = Optional.optional(listDeserializer(AnyValue.fromJson), listSerializer(defaultSerializer)); - Optional _durationDays = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateShiftVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateShiftVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - UpdateShiftVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - UpdateShiftVariablesBuilder startTime(Timestamp? t) { - _startTime.value = t; - return this; - } - UpdateShiftVariablesBuilder endTime(Timestamp? t) { - _endTime.value = t; - return this; - } - UpdateShiftVariablesBuilder hours(double? t) { - _hours.value = t; - return this; - } - UpdateShiftVariablesBuilder cost(double? t) { - _cost.value = t; - return this; - } - UpdateShiftVariablesBuilder location(String? t) { - _location.value = t; - return this; - } - UpdateShiftVariablesBuilder locationAddress(String? t) { - _locationAddress.value = t; - return this; - } - UpdateShiftVariablesBuilder latitude(double? t) { - _latitude.value = t; - return this; - } - UpdateShiftVariablesBuilder longitude(double? t) { - _longitude.value = t; - return this; - } - UpdateShiftVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateShiftVariablesBuilder status(ShiftStatus? t) { - _status.value = t; - return this; - } - UpdateShiftVariablesBuilder workersNeeded(int? t) { - _workersNeeded.value = t; - return this; - } - UpdateShiftVariablesBuilder filled(int? t) { - _filled.value = t; - return this; - } - UpdateShiftVariablesBuilder filledAt(Timestamp? t) { - _filledAt.value = t; - return this; - } - UpdateShiftVariablesBuilder managers(List? t) { - _managers.value = t; - return this; - } - UpdateShiftVariablesBuilder durationDays(int? t) { - _durationDays.value = t; - return this; - } - - UpdateShiftVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateShiftData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateShiftVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateShiftVariables vars= UpdateShiftVariables(id: id,title: _title,orderId: _orderId,date: _date,startTime: _startTime,endTime: _endTime,hours: _hours,cost: _cost,location: _location,locationAddress: _locationAddress,latitude: _latitude,longitude: _longitude,description: _description,status: _status,workersNeeded: _workersNeeded,filled: _filled,filledAt: _filledAt,managers: _managers,durationDays: _durationDays,); - return _dataConnect.mutation("updateShift", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateShiftShiftUpdate { - final String id; - UpdateShiftShiftUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateShiftShiftUpdate otherTyped = other as UpdateShiftShiftUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateShiftShiftUpdate({ - required this.id, - }); -} - -@immutable -class UpdateShiftData { - final UpdateShiftShiftUpdate? shift_update; - UpdateShiftData.fromJson(dynamic json): - - shift_update = json['shift_update'] == null ? null : UpdateShiftShiftUpdate.fromJson(json['shift_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateShiftData otherTyped = other as UpdateShiftData; - return shift_update == otherTyped.shift_update; - - } - @override - int get hashCode => shift_update.hashCode; - - - Map toJson() { - Map json = {}; - if (shift_update != null) { - json['shift_update'] = shift_update!.toJson(); - } - return json; - } - - UpdateShiftData({ - this.shift_update, - }); -} - -@immutable -class UpdateShiftVariables { - final String id; - late final Optionaltitle; - late final OptionalorderId; - late final Optionaldate; - late final OptionalstartTime; - late final OptionalendTime; - late final Optionalhours; - late final Optionalcost; - late final Optionallocation; - late final OptionallocationAddress; - late final Optionallatitude; - late final Optionallongitude; - late final Optionaldescription; - late final Optionalstatus; - late final OptionalworkersNeeded; - late final Optionalfilled; - late final OptionalfilledAt; - late final Optional>managers; - late final OptionaldurationDays; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateShiftVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - title = Optional.optional(nativeFromJson, nativeToJson); - title.value = json['title'] == null ? null : nativeFromJson(json['title']); - - - orderId = Optional.optional(nativeFromJson, nativeToJson); - orderId.value = json['orderId'] == null ? null : nativeFromJson(json['orderId']); - - - date = Optional.optional((json) => json['date'] = Timestamp.fromJson(json['date']), defaultSerializer); - date.value = json['date'] == null ? null : Timestamp.fromJson(json['date']); - - - startTime = Optional.optional((json) => json['startTime'] = Timestamp.fromJson(json['startTime']), defaultSerializer); - startTime.value = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']); - - - endTime = Optional.optional((json) => json['endTime'] = Timestamp.fromJson(json['endTime']), defaultSerializer); - endTime.value = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']); - - - hours = Optional.optional(nativeFromJson, nativeToJson); - hours.value = json['hours'] == null ? null : nativeFromJson(json['hours']); - - - cost = Optional.optional(nativeFromJson, nativeToJson); - cost.value = json['cost'] == null ? null : nativeFromJson(json['cost']); - - - location = Optional.optional(nativeFromJson, nativeToJson); - location.value = json['location'] == null ? null : nativeFromJson(json['location']); - - - locationAddress = Optional.optional(nativeFromJson, nativeToJson); - locationAddress.value = json['locationAddress'] == null ? null : nativeFromJson(json['locationAddress']); - - - latitude = Optional.optional(nativeFromJson, nativeToJson); - latitude.value = json['latitude'] == null ? null : nativeFromJson(json['latitude']); - - - longitude = Optional.optional(nativeFromJson, nativeToJson); - longitude.value = json['longitude'] == null ? null : nativeFromJson(json['longitude']); - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - - status = Optional.optional((data) => ShiftStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : ShiftStatus.values.byName(json['status']); - - - workersNeeded = Optional.optional(nativeFromJson, nativeToJson); - workersNeeded.value = json['workersNeeded'] == null ? null : nativeFromJson(json['workersNeeded']); - - - filled = Optional.optional(nativeFromJson, nativeToJson); - filled.value = json['filled'] == null ? null : nativeFromJson(json['filled']); - - - filledAt = Optional.optional((json) => json['filledAt'] = Timestamp.fromJson(json['filledAt']), defaultSerializer); - filledAt.value = json['filledAt'] == null ? null : Timestamp.fromJson(json['filledAt']); - - - managers = Optional.optional(listDeserializer(AnyValue.fromJson), listSerializer(defaultSerializer)); - managers.value = json['managers'] == null ? null : (json['managers'] as List) - .map((e) => AnyValue.fromJson(e)) - .toList(); - - - durationDays = Optional.optional(nativeFromJson, nativeToJson); - durationDays.value = json['durationDays'] == null ? null : nativeFromJson(json['durationDays']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateShiftVariables otherTyped = other as UpdateShiftVariables; - return id == otherTyped.id && - title == otherTyped.title && - orderId == otherTyped.orderId && - date == otherTyped.date && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - cost == otherTyped.cost && - location == otherTyped.location && - locationAddress == otherTyped.locationAddress && - latitude == otherTyped.latitude && - longitude == otherTyped.longitude && - description == otherTyped.description && - status == otherTyped.status && - workersNeeded == otherTyped.workersNeeded && - filled == otherTyped.filled && - filledAt == otherTyped.filledAt && - managers == otherTyped.managers && - durationDays == otherTyped.durationDays; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, title.hashCode, orderId.hashCode, date.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, cost.hashCode, location.hashCode, locationAddress.hashCode, latitude.hashCode, longitude.hashCode, description.hashCode, status.hashCode, workersNeeded.hashCode, filled.hashCode, filledAt.hashCode, managers.hashCode, durationDays.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(title.state == OptionalState.set) { - json['title'] = title.toJson(); - } - if(orderId.state == OptionalState.set) { - json['orderId'] = orderId.toJson(); - } - if(date.state == OptionalState.set) { - json['date'] = date.toJson(); - } - if(startTime.state == OptionalState.set) { - json['startTime'] = startTime.toJson(); - } - if(endTime.state == OptionalState.set) { - json['endTime'] = endTime.toJson(); - } - if(hours.state == OptionalState.set) { - json['hours'] = hours.toJson(); - } - if(cost.state == OptionalState.set) { - json['cost'] = cost.toJson(); - } - if(location.state == OptionalState.set) { - json['location'] = location.toJson(); - } - if(locationAddress.state == OptionalState.set) { - json['locationAddress'] = locationAddress.toJson(); - } - if(latitude.state == OptionalState.set) { - json['latitude'] = latitude.toJson(); - } - if(longitude.state == OptionalState.set) { - json['longitude'] = longitude.toJson(); - } - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(workersNeeded.state == OptionalState.set) { - json['workersNeeded'] = workersNeeded.toJson(); - } - if(filled.state == OptionalState.set) { - json['filled'] = filled.toJson(); - } - if(filledAt.state == OptionalState.set) { - json['filledAt'] = filledAt.toJson(); - } - if(managers.state == OptionalState.set) { - json['managers'] = managers.toJson(); - } - if(durationDays.state == OptionalState.set) { - json['durationDays'] = durationDays.toJson(); - } - return json; - } - - UpdateShiftVariables({ - required this.id, - required this.title, - required this.orderId, - required this.date, - required this.startTime, - required this.endTime, - required this.hours, - required this.cost, - required this.location, - required this.locationAddress, - required this.latitude, - required this.longitude, - required this.description, - required this.status, - required this.workersNeeded, - required this.filled, - required this.filledAt, - required this.managers, - required this.durationDays, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_shift_role.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_shift_role.dart deleted file mode 100644 index e85ddb18..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_shift_role.dart +++ /dev/null @@ -1,274 +0,0 @@ -part of 'generated.dart'; - -class UpdateShiftRoleVariablesBuilder { - String shiftId; - String roleId; - Optional _count = Optional.optional(nativeFromJson, nativeToJson); - Optional _assigned = Optional.optional(nativeFromJson, nativeToJson); - Optional _startTime = Optional.optional((json) => json['startTime'] = Timestamp.fromJson(json['startTime']), defaultSerializer); - Optional _endTime = Optional.optional((json) => json['endTime'] = Timestamp.fromJson(json['endTime']), defaultSerializer); - Optional _hours = Optional.optional(nativeFromJson, nativeToJson); - Optional _department = Optional.optional(nativeFromJson, nativeToJson); - Optional _uniform = Optional.optional(nativeFromJson, nativeToJson); - Optional _breakType = Optional.optional((data) => BreakDuration.values.byName(data), enumSerializer); - Optional _totalValue = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateShiftRoleVariablesBuilder count(int? t) { - _count.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder assigned(int? t) { - _assigned.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder startTime(Timestamp? t) { - _startTime.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder endTime(Timestamp? t) { - _endTime.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder hours(double? t) { - _hours.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder department(String? t) { - _department.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder uniform(String? t) { - _uniform.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder breakType(BreakDuration? t) { - _breakType.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder totalValue(double? t) { - _totalValue.value = t; - return this; - } - - UpdateShiftRoleVariablesBuilder(this._dataConnect, {required this.shiftId,required this.roleId,}); - Deserializer dataDeserializer = (dynamic json) => UpdateShiftRoleData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateShiftRoleVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateShiftRoleVariables vars= UpdateShiftRoleVariables(shiftId: shiftId,roleId: roleId,count: _count,assigned: _assigned,startTime: _startTime,endTime: _endTime,hours: _hours,department: _department,uniform: _uniform,breakType: _breakType,totalValue: _totalValue,); - return _dataConnect.mutation("updateShiftRole", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateShiftRoleShiftRoleUpdate { - final String shiftId; - final String roleId; - UpdateShiftRoleShiftRoleUpdate.fromJson(dynamic json): - - shiftId = nativeFromJson(json['shiftId']), - roleId = nativeFromJson(json['roleId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateShiftRoleShiftRoleUpdate otherTyped = other as UpdateShiftRoleShiftRoleUpdate; - return shiftId == otherTyped.shiftId && - roleId == otherTyped.roleId; - - } - @override - int get hashCode => Object.hashAll([shiftId.hashCode, roleId.hashCode]); - - - Map toJson() { - Map json = {}; - json['shiftId'] = nativeToJson(shiftId); - json['roleId'] = nativeToJson(roleId); - return json; - } - - UpdateShiftRoleShiftRoleUpdate({ - required this.shiftId, - required this.roleId, - }); -} - -@immutable -class UpdateShiftRoleData { - final UpdateShiftRoleShiftRoleUpdate? shiftRole_update; - UpdateShiftRoleData.fromJson(dynamic json): - - shiftRole_update = json['shiftRole_update'] == null ? null : UpdateShiftRoleShiftRoleUpdate.fromJson(json['shiftRole_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateShiftRoleData otherTyped = other as UpdateShiftRoleData; - return shiftRole_update == otherTyped.shiftRole_update; - - } - @override - int get hashCode => shiftRole_update.hashCode; - - - Map toJson() { - Map json = {}; - if (shiftRole_update != null) { - json['shiftRole_update'] = shiftRole_update!.toJson(); - } - return json; - } - - UpdateShiftRoleData({ - this.shiftRole_update, - }); -} - -@immutable -class UpdateShiftRoleVariables { - final String shiftId; - final String roleId; - late final Optionalcount; - late final Optionalassigned; - late final OptionalstartTime; - late final OptionalendTime; - late final Optionalhours; - late final Optionaldepartment; - late final Optionaluniform; - late final OptionalbreakType; - late final OptionaltotalValue; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateShiftRoleVariables.fromJson(Map json): - - shiftId = nativeFromJson(json['shiftId']), - roleId = nativeFromJson(json['roleId']) { - - - - - count = Optional.optional(nativeFromJson, nativeToJson); - count.value = json['count'] == null ? null : nativeFromJson(json['count']); - - - assigned = Optional.optional(nativeFromJson, nativeToJson); - assigned.value = json['assigned'] == null ? null : nativeFromJson(json['assigned']); - - - startTime = Optional.optional((json) => json['startTime'] = Timestamp.fromJson(json['startTime']), defaultSerializer); - startTime.value = json['startTime'] == null ? null : Timestamp.fromJson(json['startTime']); - - - endTime = Optional.optional((json) => json['endTime'] = Timestamp.fromJson(json['endTime']), defaultSerializer); - endTime.value = json['endTime'] == null ? null : Timestamp.fromJson(json['endTime']); - - - hours = Optional.optional(nativeFromJson, nativeToJson); - hours.value = json['hours'] == null ? null : nativeFromJson(json['hours']); - - - department = Optional.optional(nativeFromJson, nativeToJson); - department.value = json['department'] == null ? null : nativeFromJson(json['department']); - - - uniform = Optional.optional(nativeFromJson, nativeToJson); - uniform.value = json['uniform'] == null ? null : nativeFromJson(json['uniform']); - - - breakType = Optional.optional((data) => BreakDuration.values.byName(data), enumSerializer); - breakType.value = json['breakType'] == null ? null : BreakDuration.values.byName(json['breakType']); - - - totalValue = Optional.optional(nativeFromJson, nativeToJson); - totalValue.value = json['totalValue'] == null ? null : nativeFromJson(json['totalValue']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateShiftRoleVariables otherTyped = other as UpdateShiftRoleVariables; - return shiftId == otherTyped.shiftId && - roleId == otherTyped.roleId && - count == otherTyped.count && - assigned == otherTyped.assigned && - startTime == otherTyped.startTime && - endTime == otherTyped.endTime && - hours == otherTyped.hours && - department == otherTyped.department && - uniform == otherTyped.uniform && - breakType == otherTyped.breakType && - totalValue == otherTyped.totalValue; - - } - @override - int get hashCode => Object.hashAll([shiftId.hashCode, roleId.hashCode, count.hashCode, assigned.hashCode, startTime.hashCode, endTime.hashCode, hours.hashCode, department.hashCode, uniform.hashCode, breakType.hashCode, totalValue.hashCode]); - - - Map toJson() { - Map json = {}; - json['shiftId'] = nativeToJson(shiftId); - json['roleId'] = nativeToJson(roleId); - if(count.state == OptionalState.set) { - json['count'] = count.toJson(); - } - if(assigned.state == OptionalState.set) { - json['assigned'] = assigned.toJson(); - } - if(startTime.state == OptionalState.set) { - json['startTime'] = startTime.toJson(); - } - if(endTime.state == OptionalState.set) { - json['endTime'] = endTime.toJson(); - } - if(hours.state == OptionalState.set) { - json['hours'] = hours.toJson(); - } - if(department.state == OptionalState.set) { - json['department'] = department.toJson(); - } - if(uniform.state == OptionalState.set) { - json['uniform'] = uniform.toJson(); - } - if(breakType.state == OptionalState.set) { - json['breakType'] = breakType.toJson(); - } - if(totalValue.state == OptionalState.set) { - json['totalValue'] = totalValue.toJson(); - } - return json; - } - - UpdateShiftRoleVariables({ - required this.shiftId, - required this.roleId, - required this.count, - required this.assigned, - required this.startTime, - required this.endTime, - required this.hours, - required this.department, - required this.uniform, - required this.breakType, - required this.totalValue, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_staff.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_staff.dart deleted file mode 100644 index 2c7a7a26..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_staff.dart +++ /dev/null @@ -1,622 +0,0 @@ -part of 'generated.dart'; - -class UpdateStaffVariablesBuilder { - String id; - Optional _userId = Optional.optional(nativeFromJson, nativeToJson); - Optional _fullName = Optional.optional(nativeFromJson, nativeToJson); - Optional _level = Optional.optional(nativeFromJson, nativeToJson); - Optional _role = Optional.optional(nativeFromJson, nativeToJson); - Optional _phone = Optional.optional(nativeFromJson, nativeToJson); - Optional _email = Optional.optional(nativeFromJson, nativeToJson); - Optional _photoUrl = Optional.optional(nativeFromJson, nativeToJson); - Optional _totalShifts = Optional.optional(nativeFromJson, nativeToJson); - Optional _averageRating = Optional.optional(nativeFromJson, nativeToJson); - Optional _onTimeRate = Optional.optional(nativeFromJson, nativeToJson); - Optional _noShowCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _cancellationCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _reliabilityScore = Optional.optional(nativeFromJson, nativeToJson); - Optional _bio = Optional.optional(nativeFromJson, nativeToJson); - Optional _industries = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _preferredLocations = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _maxDistanceMiles = Optional.optional(nativeFromJson, nativeToJson); - Optional _languages = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _itemsAttire = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _xp = Optional.optional(nativeFromJson, nativeToJson); - Optional _badges = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _isRecommended = Optional.optional(nativeFromJson, nativeToJson); - Optional _ownerId = Optional.optional(nativeFromJson, nativeToJson); - Optional _department = Optional.optional((data) => DepartmentType.values.byName(data), enumSerializer); - Optional _hubId = Optional.optional(nativeFromJson, nativeToJson); - Optional _manager = Optional.optional(nativeFromJson, nativeToJson); - Optional _english = Optional.optional((data) => EnglishProficiency.values.byName(data), enumSerializer); - Optional _backgroundCheckStatus = Optional.optional((data) => BackgroundCheckStatus.values.byName(data), enumSerializer); - Optional _employmentType = Optional.optional((data) => EmploymentType.values.byName(data), enumSerializer); - Optional _initial = Optional.optional(nativeFromJson, nativeToJson); - Optional _englishRequired = Optional.optional(nativeFromJson, nativeToJson); - Optional _city = Optional.optional(nativeFromJson, nativeToJson); - Optional _addres = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateStaffVariablesBuilder userId(String? t) { - _userId.value = t; - return this; - } - UpdateStaffVariablesBuilder fullName(String? t) { - _fullName.value = t; - return this; - } - UpdateStaffVariablesBuilder level(String? t) { - _level.value = t; - return this; - } - UpdateStaffVariablesBuilder role(String? t) { - _role.value = t; - return this; - } - UpdateStaffVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - UpdateStaffVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - UpdateStaffVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - UpdateStaffVariablesBuilder totalShifts(int? t) { - _totalShifts.value = t; - return this; - } - UpdateStaffVariablesBuilder averageRating(double? t) { - _averageRating.value = t; - return this; - } - UpdateStaffVariablesBuilder onTimeRate(int? t) { - _onTimeRate.value = t; - return this; - } - UpdateStaffVariablesBuilder noShowCount(int? t) { - _noShowCount.value = t; - return this; - } - UpdateStaffVariablesBuilder cancellationCount(int? t) { - _cancellationCount.value = t; - return this; - } - UpdateStaffVariablesBuilder reliabilityScore(int? t) { - _reliabilityScore.value = t; - return this; - } - UpdateStaffVariablesBuilder bio(String? t) { - _bio.value = t; - return this; - } - UpdateStaffVariablesBuilder industries(AnyValue? t) { - _industries.value = t; - return this; - } - UpdateStaffVariablesBuilder preferredLocations(AnyValue? t) { - _preferredLocations.value = t; - return this; - } - UpdateStaffVariablesBuilder maxDistanceMiles(int? t) { - _maxDistanceMiles.value = t; - return this; - } - UpdateStaffVariablesBuilder languages(AnyValue? t) { - _languages.value = t; - return this; - } - UpdateStaffVariablesBuilder itemsAttire(AnyValue? t) { - _itemsAttire.value = t; - return this; - } - UpdateStaffVariablesBuilder xp(int? t) { - _xp.value = t; - return this; - } - UpdateStaffVariablesBuilder badges(AnyValue? t) { - _badges.value = t; - return this; - } - UpdateStaffVariablesBuilder isRecommended(bool? t) { - _isRecommended.value = t; - return this; - } - UpdateStaffVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - UpdateStaffVariablesBuilder department(DepartmentType? t) { - _department.value = t; - return this; - } - UpdateStaffVariablesBuilder hubId(String? t) { - _hubId.value = t; - return this; - } - UpdateStaffVariablesBuilder manager(String? t) { - _manager.value = t; - return this; - } - UpdateStaffVariablesBuilder english(EnglishProficiency? t) { - _english.value = t; - return this; - } - UpdateStaffVariablesBuilder backgroundCheckStatus(BackgroundCheckStatus? t) { - _backgroundCheckStatus.value = t; - return this; - } - UpdateStaffVariablesBuilder employmentType(EmploymentType? t) { - _employmentType.value = t; - return this; - } - UpdateStaffVariablesBuilder initial(String? t) { - _initial.value = t; - return this; - } - UpdateStaffVariablesBuilder englishRequired(bool? t) { - _englishRequired.value = t; - return this; - } - UpdateStaffVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - UpdateStaffVariablesBuilder addres(String? t) { - _addres.value = t; - return this; - } - - UpdateStaffVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateStaffData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateStaffVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateStaffVariables vars= UpdateStaffVariables(id: id,userId: _userId,fullName: _fullName,level: _level,role: _role,phone: _phone,email: _email,photoUrl: _photoUrl,totalShifts: _totalShifts,averageRating: _averageRating,onTimeRate: _onTimeRate,noShowCount: _noShowCount,cancellationCount: _cancellationCount,reliabilityScore: _reliabilityScore,bio: _bio,industries: _industries,preferredLocations: _preferredLocations,maxDistanceMiles: _maxDistanceMiles,languages: _languages,itemsAttire: _itemsAttire,xp: _xp,badges: _badges,isRecommended: _isRecommended,ownerId: _ownerId,department: _department,hubId: _hubId,manager: _manager,english: _english,backgroundCheckStatus: _backgroundCheckStatus,employmentType: _employmentType,initial: _initial,englishRequired: _englishRequired,city: _city,addres: _addres,); - return _dataConnect.mutation("UpdateStaff", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateStaffStaffUpdate { - final String id; - UpdateStaffStaffUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateStaffStaffUpdate otherTyped = other as UpdateStaffStaffUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateStaffStaffUpdate({ - required this.id, - }); -} - -@immutable -class UpdateStaffData { - final UpdateStaffStaffUpdate? staff_update; - UpdateStaffData.fromJson(dynamic json): - - staff_update = json['staff_update'] == null ? null : UpdateStaffStaffUpdate.fromJson(json['staff_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateStaffData otherTyped = other as UpdateStaffData; - return staff_update == otherTyped.staff_update; - - } - @override - int get hashCode => staff_update.hashCode; - - - Map toJson() { - Map json = {}; - if (staff_update != null) { - json['staff_update'] = staff_update!.toJson(); - } - return json; - } - - UpdateStaffData({ - this.staff_update, - }); -} - -@immutable -class UpdateStaffVariables { - final String id; - late final OptionaluserId; - late final OptionalfullName; - late final Optionallevel; - late final Optionalrole; - late final Optionalphone; - late final Optionalemail; - late final OptionalphotoUrl; - late final OptionaltotalShifts; - late final OptionalaverageRating; - late final OptionalonTimeRate; - late final OptionalnoShowCount; - late final OptionalcancellationCount; - late final OptionalreliabilityScore; - late final Optionalbio; - late final Optionalindustries; - late final OptionalpreferredLocations; - late final OptionalmaxDistanceMiles; - late final Optionallanguages; - late final OptionalitemsAttire; - late final Optionalxp; - late final Optionalbadges; - late final OptionalisRecommended; - late final OptionalownerId; - late final Optionaldepartment; - late final OptionalhubId; - late final Optionalmanager; - late final Optionalenglish; - late final OptionalbackgroundCheckStatus; - late final OptionalemploymentType; - late final Optionalinitial; - late final OptionalenglishRequired; - late final Optionalcity; - late final Optionaladdres; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateStaffVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - userId = Optional.optional(nativeFromJson, nativeToJson); - userId.value = json['userId'] == null ? null : nativeFromJson(json['userId']); - - - fullName = Optional.optional(nativeFromJson, nativeToJson); - fullName.value = json['fullName'] == null ? null : nativeFromJson(json['fullName']); - - - level = Optional.optional(nativeFromJson, nativeToJson); - level.value = json['level'] == null ? null : nativeFromJson(json['level']); - - - role = Optional.optional(nativeFromJson, nativeToJson); - role.value = json['role'] == null ? null : nativeFromJson(json['role']); - - - phone = Optional.optional(nativeFromJson, nativeToJson); - phone.value = json['phone'] == null ? null : nativeFromJson(json['phone']); - - - email = Optional.optional(nativeFromJson, nativeToJson); - email.value = json['email'] == null ? null : nativeFromJson(json['email']); - - - photoUrl = Optional.optional(nativeFromJson, nativeToJson); - photoUrl.value = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']); - - - totalShifts = Optional.optional(nativeFromJson, nativeToJson); - totalShifts.value = json['totalShifts'] == null ? null : nativeFromJson(json['totalShifts']); - - - averageRating = Optional.optional(nativeFromJson, nativeToJson); - averageRating.value = json['averageRating'] == null ? null : nativeFromJson(json['averageRating']); - - - onTimeRate = Optional.optional(nativeFromJson, nativeToJson); - onTimeRate.value = json['onTimeRate'] == null ? null : nativeFromJson(json['onTimeRate']); - - - noShowCount = Optional.optional(nativeFromJson, nativeToJson); - noShowCount.value = json['noShowCount'] == null ? null : nativeFromJson(json['noShowCount']); - - - cancellationCount = Optional.optional(nativeFromJson, nativeToJson); - cancellationCount.value = json['cancellationCount'] == null ? null : nativeFromJson(json['cancellationCount']); - - - reliabilityScore = Optional.optional(nativeFromJson, nativeToJson); - reliabilityScore.value = json['reliabilityScore'] == null ? null : nativeFromJson(json['reliabilityScore']); - - - bio = Optional.optional(nativeFromJson, nativeToJson); - bio.value = json['bio'] == null ? null : nativeFromJson(json['bio']); - - - industries = Optional.optional(AnyValue.fromJson, defaultSerializer); - industries.value = json['industries'] == null ? null : AnyValue.fromJson(json['industries']); - - - preferredLocations = Optional.optional(AnyValue.fromJson, defaultSerializer); - preferredLocations.value = json['preferredLocations'] == null ? null : AnyValue.fromJson(json['preferredLocations']); - - - maxDistanceMiles = Optional.optional(nativeFromJson, nativeToJson); - maxDistanceMiles.value = json['maxDistanceMiles'] == null ? null : nativeFromJson(json['maxDistanceMiles']); - - - languages = Optional.optional(AnyValue.fromJson, defaultSerializer); - languages.value = json['languages'] == null ? null : AnyValue.fromJson(json['languages']); - - - itemsAttire = Optional.optional(AnyValue.fromJson, defaultSerializer); - itemsAttire.value = json['itemsAttire'] == null ? null : AnyValue.fromJson(json['itemsAttire']); - - - xp = Optional.optional(nativeFromJson, nativeToJson); - xp.value = json['xp'] == null ? null : nativeFromJson(json['xp']); - - - badges = Optional.optional(AnyValue.fromJson, defaultSerializer); - badges.value = json['badges'] == null ? null : AnyValue.fromJson(json['badges']); - - - isRecommended = Optional.optional(nativeFromJson, nativeToJson); - isRecommended.value = json['isRecommended'] == null ? null : nativeFromJson(json['isRecommended']); - - - ownerId = Optional.optional(nativeFromJson, nativeToJson); - ownerId.value = json['ownerId'] == null ? null : nativeFromJson(json['ownerId']); - - - department = Optional.optional((data) => DepartmentType.values.byName(data), enumSerializer); - department.value = json['department'] == null ? null : DepartmentType.values.byName(json['department']); - - - hubId = Optional.optional(nativeFromJson, nativeToJson); - hubId.value = json['hubId'] == null ? null : nativeFromJson(json['hubId']); - - - manager = Optional.optional(nativeFromJson, nativeToJson); - manager.value = json['manager'] == null ? null : nativeFromJson(json['manager']); - - - english = Optional.optional((data) => EnglishProficiency.values.byName(data), enumSerializer); - english.value = json['english'] == null ? null : EnglishProficiency.values.byName(json['english']); - - - backgroundCheckStatus = Optional.optional((data) => BackgroundCheckStatus.values.byName(data), enumSerializer); - backgroundCheckStatus.value = json['backgroundCheckStatus'] == null ? null : BackgroundCheckStatus.values.byName(json['backgroundCheckStatus']); - - - employmentType = Optional.optional((data) => EmploymentType.values.byName(data), enumSerializer); - employmentType.value = json['employmentType'] == null ? null : EmploymentType.values.byName(json['employmentType']); - - - initial = Optional.optional(nativeFromJson, nativeToJson); - initial.value = json['initial'] == null ? null : nativeFromJson(json['initial']); - - - englishRequired = Optional.optional(nativeFromJson, nativeToJson); - englishRequired.value = json['englishRequired'] == null ? null : nativeFromJson(json['englishRequired']); - - - city = Optional.optional(nativeFromJson, nativeToJson); - city.value = json['city'] == null ? null : nativeFromJson(json['city']); - - - addres = Optional.optional(nativeFromJson, nativeToJson); - addres.value = json['addres'] == null ? null : nativeFromJson(json['addres']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateStaffVariables otherTyped = other as UpdateStaffVariables; - return id == otherTyped.id && - userId == otherTyped.userId && - fullName == otherTyped.fullName && - level == otherTyped.level && - role == otherTyped.role && - phone == otherTyped.phone && - email == otherTyped.email && - photoUrl == otherTyped.photoUrl && - totalShifts == otherTyped.totalShifts && - averageRating == otherTyped.averageRating && - onTimeRate == otherTyped.onTimeRate && - noShowCount == otherTyped.noShowCount && - cancellationCount == otherTyped.cancellationCount && - reliabilityScore == otherTyped.reliabilityScore && - bio == otherTyped.bio && - industries == otherTyped.industries && - preferredLocations == otherTyped.preferredLocations && - maxDistanceMiles == otherTyped.maxDistanceMiles && - languages == otherTyped.languages && - itemsAttire == otherTyped.itemsAttire && - xp == otherTyped.xp && - badges == otherTyped.badges && - isRecommended == otherTyped.isRecommended && - ownerId == otherTyped.ownerId && - department == otherTyped.department && - hubId == otherTyped.hubId && - manager == otherTyped.manager && - english == otherTyped.english && - backgroundCheckStatus == otherTyped.backgroundCheckStatus && - employmentType == otherTyped.employmentType && - initial == otherTyped.initial && - englishRequired == otherTyped.englishRequired && - city == otherTyped.city && - addres == otherTyped.addres; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, userId.hashCode, fullName.hashCode, level.hashCode, role.hashCode, phone.hashCode, email.hashCode, photoUrl.hashCode, totalShifts.hashCode, averageRating.hashCode, onTimeRate.hashCode, noShowCount.hashCode, cancellationCount.hashCode, reliabilityScore.hashCode, bio.hashCode, industries.hashCode, preferredLocations.hashCode, maxDistanceMiles.hashCode, languages.hashCode, itemsAttire.hashCode, xp.hashCode, badges.hashCode, isRecommended.hashCode, ownerId.hashCode, department.hashCode, hubId.hashCode, manager.hashCode, english.hashCode, backgroundCheckStatus.hashCode, employmentType.hashCode, initial.hashCode, englishRequired.hashCode, city.hashCode, addres.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(userId.state == OptionalState.set) { - json['userId'] = userId.toJson(); - } - if(fullName.state == OptionalState.set) { - json['fullName'] = fullName.toJson(); - } - if(level.state == OptionalState.set) { - json['level'] = level.toJson(); - } - if(role.state == OptionalState.set) { - json['role'] = role.toJson(); - } - if(phone.state == OptionalState.set) { - json['phone'] = phone.toJson(); - } - if(email.state == OptionalState.set) { - json['email'] = email.toJson(); - } - if(photoUrl.state == OptionalState.set) { - json['photoUrl'] = photoUrl.toJson(); - } - if(totalShifts.state == OptionalState.set) { - json['totalShifts'] = totalShifts.toJson(); - } - if(averageRating.state == OptionalState.set) { - json['averageRating'] = averageRating.toJson(); - } - if(onTimeRate.state == OptionalState.set) { - json['onTimeRate'] = onTimeRate.toJson(); - } - if(noShowCount.state == OptionalState.set) { - json['noShowCount'] = noShowCount.toJson(); - } - if(cancellationCount.state == OptionalState.set) { - json['cancellationCount'] = cancellationCount.toJson(); - } - if(reliabilityScore.state == OptionalState.set) { - json['reliabilityScore'] = reliabilityScore.toJson(); - } - if(bio.state == OptionalState.set) { - json['bio'] = bio.toJson(); - } - if(industries.state == OptionalState.set) { - json['industries'] = industries.toJson(); - } - if(preferredLocations.state == OptionalState.set) { - json['preferredLocations'] = preferredLocations.toJson(); - } - if(maxDistanceMiles.state == OptionalState.set) { - json['maxDistanceMiles'] = maxDistanceMiles.toJson(); - } - if(languages.state == OptionalState.set) { - json['languages'] = languages.toJson(); - } - if(itemsAttire.state == OptionalState.set) { - json['itemsAttire'] = itemsAttire.toJson(); - } - if(xp.state == OptionalState.set) { - json['xp'] = xp.toJson(); - } - if(badges.state == OptionalState.set) { - json['badges'] = badges.toJson(); - } - if(isRecommended.state == OptionalState.set) { - json['isRecommended'] = isRecommended.toJson(); - } - if(ownerId.state == OptionalState.set) { - json['ownerId'] = ownerId.toJson(); - } - if(department.state == OptionalState.set) { - json['department'] = department.toJson(); - } - if(hubId.state == OptionalState.set) { - json['hubId'] = hubId.toJson(); - } - if(manager.state == OptionalState.set) { - json['manager'] = manager.toJson(); - } - if(english.state == OptionalState.set) { - json['english'] = english.toJson(); - } - if(backgroundCheckStatus.state == OptionalState.set) { - json['backgroundCheckStatus'] = backgroundCheckStatus.toJson(); - } - if(employmentType.state == OptionalState.set) { - json['employmentType'] = employmentType.toJson(); - } - if(initial.state == OptionalState.set) { - json['initial'] = initial.toJson(); - } - if(englishRequired.state == OptionalState.set) { - json['englishRequired'] = englishRequired.toJson(); - } - if(city.state == OptionalState.set) { - json['city'] = city.toJson(); - } - if(addres.state == OptionalState.set) { - json['addres'] = addres.toJson(); - } - return json; - } - - UpdateStaffVariables({ - required this.id, - required this.userId, - required this.fullName, - required this.level, - required this.role, - required this.phone, - required this.email, - required this.photoUrl, - required this.totalShifts, - required this.averageRating, - required this.onTimeRate, - required this.noShowCount, - required this.cancellationCount, - required this.reliabilityScore, - required this.bio, - required this.industries, - required this.preferredLocations, - required this.maxDistanceMiles, - required this.languages, - required this.itemsAttire, - required this.xp, - required this.badges, - required this.isRecommended, - required this.ownerId, - required this.department, - required this.hubId, - required this.manager, - required this.english, - required this.backgroundCheckStatus, - required this.employmentType, - required this.initial, - required this.englishRequired, - required this.city, - required this.addres, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_staff_availability.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_staff_availability.dart deleted file mode 100644 index d8d4009a..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_staff_availability.dart +++ /dev/null @@ -1,189 +0,0 @@ -part of 'generated.dart'; - -class UpdateStaffAvailabilityVariablesBuilder { - String staffId; - DayOfWeek day; - AvailabilitySlot slot; - Optional _status = Optional.optional((data) => AvailabilityStatus.values.byName(data), enumSerializer); - Optional _notes = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateStaffAvailabilityVariablesBuilder status(AvailabilityStatus? t) { - _status.value = t; - return this; - } - UpdateStaffAvailabilityVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - UpdateStaffAvailabilityVariablesBuilder(this._dataConnect, {required this.staffId,required this.day,required this.slot,}); - Deserializer dataDeserializer = (dynamic json) => UpdateStaffAvailabilityData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateStaffAvailabilityVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateStaffAvailabilityVariables vars= UpdateStaffAvailabilityVariables(staffId: staffId,day: day,slot: slot,status: _status,notes: _notes,); - return _dataConnect.mutation("updateStaffAvailability", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateStaffAvailabilityStaffAvailabilityUpdate { - final String staffId; - final EnumValue day; - final EnumValue slot; - UpdateStaffAvailabilityStaffAvailabilityUpdate.fromJson(dynamic json): - - staffId = nativeFromJson(json['staffId']), - day = dayOfWeekDeserializer(json['day']), - slot = availabilitySlotDeserializer(json['slot']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateStaffAvailabilityStaffAvailabilityUpdate otherTyped = other as UpdateStaffAvailabilityStaffAvailabilityUpdate; - return staffId == otherTyped.staffId && - day == otherTyped.day && - slot == otherTyped.slot; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, day.hashCode, slot.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['day'] = - dayOfWeekSerializer(day) - ; - json['slot'] = - availabilitySlotSerializer(slot) - ; - return json; - } - - UpdateStaffAvailabilityStaffAvailabilityUpdate({ - required this.staffId, - required this.day, - required this.slot, - }); -} - -@immutable -class UpdateStaffAvailabilityData { - final UpdateStaffAvailabilityStaffAvailabilityUpdate? staffAvailability_update; - UpdateStaffAvailabilityData.fromJson(dynamic json): - - staffAvailability_update = json['staffAvailability_update'] == null ? null : UpdateStaffAvailabilityStaffAvailabilityUpdate.fromJson(json['staffAvailability_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateStaffAvailabilityData otherTyped = other as UpdateStaffAvailabilityData; - return staffAvailability_update == otherTyped.staffAvailability_update; - - } - @override - int get hashCode => staffAvailability_update.hashCode; - - - Map toJson() { - Map json = {}; - if (staffAvailability_update != null) { - json['staffAvailability_update'] = staffAvailability_update!.toJson(); - } - return json; - } - - UpdateStaffAvailabilityData({ - this.staffAvailability_update, - }); -} - -@immutable -class UpdateStaffAvailabilityVariables { - final String staffId; - final DayOfWeek day; - final AvailabilitySlot slot; - late final Optionalstatus; - late final Optionalnotes; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateStaffAvailabilityVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - day = DayOfWeek.values.byName(json['day']), - slot = AvailabilitySlot.values.byName(json['slot']) { - - - - - - status = Optional.optional((data) => AvailabilityStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : AvailabilityStatus.values.byName(json['status']); - - - notes = Optional.optional(nativeFromJson, nativeToJson); - notes.value = json['notes'] == null ? null : nativeFromJson(json['notes']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateStaffAvailabilityVariables otherTyped = other as UpdateStaffAvailabilityVariables; - return staffId == otherTyped.staffId && - day == otherTyped.day && - slot == otherTyped.slot && - status == otherTyped.status && - notes == otherTyped.notes; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, day.hashCode, slot.hashCode, status.hashCode, notes.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['day'] = - day.name - ; - json['slot'] = - slot.name - ; - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(notes.state == OptionalState.set) { - json['notes'] = notes.toJson(); - } - return json; - } - - UpdateStaffAvailabilityVariables({ - required this.staffId, - required this.day, - required this.slot, - required this.status, - required this.notes, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_staff_availability_stats.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_staff_availability_stats.dart deleted file mode 100644 index 860769a1..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_staff_availability_stats.dart +++ /dev/null @@ -1,232 +0,0 @@ -part of 'generated.dart'; - -class UpdateStaffAvailabilityStatsVariablesBuilder { - String staffId; - Optional _needWorkIndex = Optional.optional(nativeFromJson, nativeToJson); - Optional _utilizationPercentage = Optional.optional(nativeFromJson, nativeToJson); - Optional _predictedAvailabilityScore = Optional.optional(nativeFromJson, nativeToJson); - Optional _scheduledHoursThisPeriod = Optional.optional(nativeFromJson, nativeToJson); - Optional _desiredHoursThisPeriod = Optional.optional(nativeFromJson, nativeToJson); - Optional _lastShiftDate = Optional.optional((json) => json['lastShiftDate'] = Timestamp.fromJson(json['lastShiftDate']), defaultSerializer); - Optional _acceptanceRate = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateStaffAvailabilityStatsVariablesBuilder needWorkIndex(int? t) { - _needWorkIndex.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder utilizationPercentage(int? t) { - _utilizationPercentage.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder predictedAvailabilityScore(int? t) { - _predictedAvailabilityScore.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder scheduledHoursThisPeriod(int? t) { - _scheduledHoursThisPeriod.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder desiredHoursThisPeriod(int? t) { - _desiredHoursThisPeriod.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder lastShiftDate(Timestamp? t) { - _lastShiftDate.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder acceptanceRate(int? t) { - _acceptanceRate.value = t; - return this; - } - - UpdateStaffAvailabilityStatsVariablesBuilder(this._dataConnect, {required this.staffId,}); - Deserializer dataDeserializer = (dynamic json) => UpdateStaffAvailabilityStatsData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateStaffAvailabilityStatsVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateStaffAvailabilityStatsVariables vars= UpdateStaffAvailabilityStatsVariables(staffId: staffId,needWorkIndex: _needWorkIndex,utilizationPercentage: _utilizationPercentage,predictedAvailabilityScore: _predictedAvailabilityScore,scheduledHoursThisPeriod: _scheduledHoursThisPeriod,desiredHoursThisPeriod: _desiredHoursThisPeriod,lastShiftDate: _lastShiftDate,acceptanceRate: _acceptanceRate,); - return _dataConnect.mutation("updateStaffAvailabilityStats", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateStaffAvailabilityStatsStaffAvailabilityStatsUpdate { - final String staffId; - UpdateStaffAvailabilityStatsStaffAvailabilityStatsUpdate.fromJson(dynamic json): - - staffId = nativeFromJson(json['staffId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateStaffAvailabilityStatsStaffAvailabilityStatsUpdate otherTyped = other as UpdateStaffAvailabilityStatsStaffAvailabilityStatsUpdate; - return staffId == otherTyped.staffId; - - } - @override - int get hashCode => staffId.hashCode; - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - return json; - } - - UpdateStaffAvailabilityStatsStaffAvailabilityStatsUpdate({ - required this.staffId, - }); -} - -@immutable -class UpdateStaffAvailabilityStatsData { - final UpdateStaffAvailabilityStatsStaffAvailabilityStatsUpdate? staffAvailabilityStats_update; - UpdateStaffAvailabilityStatsData.fromJson(dynamic json): - - staffAvailabilityStats_update = json['staffAvailabilityStats_update'] == null ? null : UpdateStaffAvailabilityStatsStaffAvailabilityStatsUpdate.fromJson(json['staffAvailabilityStats_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateStaffAvailabilityStatsData otherTyped = other as UpdateStaffAvailabilityStatsData; - return staffAvailabilityStats_update == otherTyped.staffAvailabilityStats_update; - - } - @override - int get hashCode => staffAvailabilityStats_update.hashCode; - - - Map toJson() { - Map json = {}; - if (staffAvailabilityStats_update != null) { - json['staffAvailabilityStats_update'] = staffAvailabilityStats_update!.toJson(); - } - return json; - } - - UpdateStaffAvailabilityStatsData({ - this.staffAvailabilityStats_update, - }); -} - -@immutable -class UpdateStaffAvailabilityStatsVariables { - final String staffId; - late final OptionalneedWorkIndex; - late final OptionalutilizationPercentage; - late final OptionalpredictedAvailabilityScore; - late final OptionalscheduledHoursThisPeriod; - late final OptionaldesiredHoursThisPeriod; - late final OptionallastShiftDate; - late final OptionalacceptanceRate; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateStaffAvailabilityStatsVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']) { - - - - needWorkIndex = Optional.optional(nativeFromJson, nativeToJson); - needWorkIndex.value = json['needWorkIndex'] == null ? null : nativeFromJson(json['needWorkIndex']); - - - utilizationPercentage = Optional.optional(nativeFromJson, nativeToJson); - utilizationPercentage.value = json['utilizationPercentage'] == null ? null : nativeFromJson(json['utilizationPercentage']); - - - predictedAvailabilityScore = Optional.optional(nativeFromJson, nativeToJson); - predictedAvailabilityScore.value = json['predictedAvailabilityScore'] == null ? null : nativeFromJson(json['predictedAvailabilityScore']); - - - scheduledHoursThisPeriod = Optional.optional(nativeFromJson, nativeToJson); - scheduledHoursThisPeriod.value = json['scheduledHoursThisPeriod'] == null ? null : nativeFromJson(json['scheduledHoursThisPeriod']); - - - desiredHoursThisPeriod = Optional.optional(nativeFromJson, nativeToJson); - desiredHoursThisPeriod.value = json['desiredHoursThisPeriod'] == null ? null : nativeFromJson(json['desiredHoursThisPeriod']); - - - lastShiftDate = Optional.optional((json) => json['lastShiftDate'] = Timestamp.fromJson(json['lastShiftDate']), defaultSerializer); - lastShiftDate.value = json['lastShiftDate'] == null ? null : Timestamp.fromJson(json['lastShiftDate']); - - - acceptanceRate = Optional.optional(nativeFromJson, nativeToJson); - acceptanceRate.value = json['acceptanceRate'] == null ? null : nativeFromJson(json['acceptanceRate']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateStaffAvailabilityStatsVariables otherTyped = other as UpdateStaffAvailabilityStatsVariables; - return staffId == otherTyped.staffId && - needWorkIndex == otherTyped.needWorkIndex && - utilizationPercentage == otherTyped.utilizationPercentage && - predictedAvailabilityScore == otherTyped.predictedAvailabilityScore && - scheduledHoursThisPeriod == otherTyped.scheduledHoursThisPeriod && - desiredHoursThisPeriod == otherTyped.desiredHoursThisPeriod && - lastShiftDate == otherTyped.lastShiftDate && - acceptanceRate == otherTyped.acceptanceRate; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, needWorkIndex.hashCode, utilizationPercentage.hashCode, predictedAvailabilityScore.hashCode, scheduledHoursThisPeriod.hashCode, desiredHoursThisPeriod.hashCode, lastShiftDate.hashCode, acceptanceRate.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - if(needWorkIndex.state == OptionalState.set) { - json['needWorkIndex'] = needWorkIndex.toJson(); - } - if(utilizationPercentage.state == OptionalState.set) { - json['utilizationPercentage'] = utilizationPercentage.toJson(); - } - if(predictedAvailabilityScore.state == OptionalState.set) { - json['predictedAvailabilityScore'] = predictedAvailabilityScore.toJson(); - } - if(scheduledHoursThisPeriod.state == OptionalState.set) { - json['scheduledHoursThisPeriod'] = scheduledHoursThisPeriod.toJson(); - } - if(desiredHoursThisPeriod.state == OptionalState.set) { - json['desiredHoursThisPeriod'] = desiredHoursThisPeriod.toJson(); - } - if(lastShiftDate.state == OptionalState.set) { - json['lastShiftDate'] = lastShiftDate.toJson(); - } - if(acceptanceRate.state == OptionalState.set) { - json['acceptanceRate'] = acceptanceRate.toJson(); - } - return json; - } - - UpdateStaffAvailabilityStatsVariables({ - required this.staffId, - required this.needWorkIndex, - required this.utilizationPercentage, - required this.predictedAvailabilityScore, - required this.scheduledHoursThisPeriod, - required this.desiredHoursThisPeriod, - required this.lastShiftDate, - required this.acceptanceRate, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_staff_course.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_staff_course.dart deleted file mode 100644 index 69ac6b65..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_staff_course.dart +++ /dev/null @@ -1,202 +0,0 @@ -part of 'generated.dart'; - -class UpdateStaffCourseVariablesBuilder { - String id; - Optional _progressPercent = Optional.optional(nativeFromJson, nativeToJson); - Optional _completed = Optional.optional(nativeFromJson, nativeToJson); - Optional _completedAt = Optional.optional((json) => json['completedAt'] = Timestamp.fromJson(json['completedAt']), defaultSerializer); - Optional _startedAt = Optional.optional((json) => json['startedAt'] = Timestamp.fromJson(json['startedAt']), defaultSerializer); - Optional _lastAccessedAt = Optional.optional((json) => json['lastAccessedAt'] = Timestamp.fromJson(json['lastAccessedAt']), defaultSerializer); - - final FirebaseDataConnect _dataConnect; UpdateStaffCourseVariablesBuilder progressPercent(int? t) { - _progressPercent.value = t; - return this; - } - UpdateStaffCourseVariablesBuilder completed(bool? t) { - _completed.value = t; - return this; - } - UpdateStaffCourseVariablesBuilder completedAt(Timestamp? t) { - _completedAt.value = t; - return this; - } - UpdateStaffCourseVariablesBuilder startedAt(Timestamp? t) { - _startedAt.value = t; - return this; - } - UpdateStaffCourseVariablesBuilder lastAccessedAt(Timestamp? t) { - _lastAccessedAt.value = t; - return this; - } - - UpdateStaffCourseVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateStaffCourseData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateStaffCourseVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateStaffCourseVariables vars= UpdateStaffCourseVariables(id: id,progressPercent: _progressPercent,completed: _completed,completedAt: _completedAt,startedAt: _startedAt,lastAccessedAt: _lastAccessedAt,); - return _dataConnect.mutation("updateStaffCourse", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateStaffCourseStaffCourseUpdate { - final String id; - UpdateStaffCourseStaffCourseUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateStaffCourseStaffCourseUpdate otherTyped = other as UpdateStaffCourseStaffCourseUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateStaffCourseStaffCourseUpdate({ - required this.id, - }); -} - -@immutable -class UpdateStaffCourseData { - final UpdateStaffCourseStaffCourseUpdate? staffCourse_update; - UpdateStaffCourseData.fromJson(dynamic json): - - staffCourse_update = json['staffCourse_update'] == null ? null : UpdateStaffCourseStaffCourseUpdate.fromJson(json['staffCourse_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateStaffCourseData otherTyped = other as UpdateStaffCourseData; - return staffCourse_update == otherTyped.staffCourse_update; - - } - @override - int get hashCode => staffCourse_update.hashCode; - - - Map toJson() { - Map json = {}; - if (staffCourse_update != null) { - json['staffCourse_update'] = staffCourse_update!.toJson(); - } - return json; - } - - UpdateStaffCourseData({ - this.staffCourse_update, - }); -} - -@immutable -class UpdateStaffCourseVariables { - final String id; - late final OptionalprogressPercent; - late final Optionalcompleted; - late final OptionalcompletedAt; - late final OptionalstartedAt; - late final OptionallastAccessedAt; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateStaffCourseVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - progressPercent = Optional.optional(nativeFromJson, nativeToJson); - progressPercent.value = json['progressPercent'] == null ? null : nativeFromJson(json['progressPercent']); - - - completed = Optional.optional(nativeFromJson, nativeToJson); - completed.value = json['completed'] == null ? null : nativeFromJson(json['completed']); - - - completedAt = Optional.optional((json) => json['completedAt'] = Timestamp.fromJson(json['completedAt']), defaultSerializer); - completedAt.value = json['completedAt'] == null ? null : Timestamp.fromJson(json['completedAt']); - - - startedAt = Optional.optional((json) => json['startedAt'] = Timestamp.fromJson(json['startedAt']), defaultSerializer); - startedAt.value = json['startedAt'] == null ? null : Timestamp.fromJson(json['startedAt']); - - - lastAccessedAt = Optional.optional((json) => json['lastAccessedAt'] = Timestamp.fromJson(json['lastAccessedAt']), defaultSerializer); - lastAccessedAt.value = json['lastAccessedAt'] == null ? null : Timestamp.fromJson(json['lastAccessedAt']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateStaffCourseVariables otherTyped = other as UpdateStaffCourseVariables; - return id == otherTyped.id && - progressPercent == otherTyped.progressPercent && - completed == otherTyped.completed && - completedAt == otherTyped.completedAt && - startedAt == otherTyped.startedAt && - lastAccessedAt == otherTyped.lastAccessedAt; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, progressPercent.hashCode, completed.hashCode, completedAt.hashCode, startedAt.hashCode, lastAccessedAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(progressPercent.state == OptionalState.set) { - json['progressPercent'] = progressPercent.toJson(); - } - if(completed.state == OptionalState.set) { - json['completed'] = completed.toJson(); - } - if(completedAt.state == OptionalState.set) { - json['completedAt'] = completedAt.toJson(); - } - if(startedAt.state == OptionalState.set) { - json['startedAt'] = startedAt.toJson(); - } - if(lastAccessedAt.state == OptionalState.set) { - json['lastAccessedAt'] = lastAccessedAt.toJson(); - } - return json; - } - - UpdateStaffCourseVariables({ - required this.id, - required this.progressPercent, - required this.completed, - required this.completedAt, - required this.startedAt, - required this.lastAccessedAt, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_staff_document.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_staff_document.dart deleted file mode 100644 index df83921b..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_staff_document.dart +++ /dev/null @@ -1,184 +0,0 @@ -part of 'generated.dart'; - -class UpdateStaffDocumentVariablesBuilder { - String staffId; - String documentId; - Optional _status = Optional.optional((data) => DocumentStatus.values.byName(data), enumSerializer); - Optional _documentUrl = Optional.optional(nativeFromJson, nativeToJson); - Optional _expiryDate = Optional.optional((json) => json['expiryDate'] = Timestamp.fromJson(json['expiryDate']), defaultSerializer); - - final FirebaseDataConnect _dataConnect; UpdateStaffDocumentVariablesBuilder status(DocumentStatus? t) { - _status.value = t; - return this; - } - UpdateStaffDocumentVariablesBuilder documentUrl(String? t) { - _documentUrl.value = t; - return this; - } - UpdateStaffDocumentVariablesBuilder expiryDate(Timestamp? t) { - _expiryDate.value = t; - return this; - } - - UpdateStaffDocumentVariablesBuilder(this._dataConnect, {required this.staffId,required this.documentId,}); - Deserializer dataDeserializer = (dynamic json) => UpdateStaffDocumentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateStaffDocumentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateStaffDocumentVariables vars= UpdateStaffDocumentVariables(staffId: staffId,documentId: documentId,status: _status,documentUrl: _documentUrl,expiryDate: _expiryDate,); - return _dataConnect.mutation("updateStaffDocument", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateStaffDocumentStaffDocumentUpdate { - final String staffId; - final String documentId; - UpdateStaffDocumentStaffDocumentUpdate.fromJson(dynamic json): - - staffId = nativeFromJson(json['staffId']), - documentId = nativeFromJson(json['documentId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateStaffDocumentStaffDocumentUpdate otherTyped = other as UpdateStaffDocumentStaffDocumentUpdate; - return staffId == otherTyped.staffId && - documentId == otherTyped.documentId; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, documentId.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['documentId'] = nativeToJson(documentId); - return json; - } - - UpdateStaffDocumentStaffDocumentUpdate({ - required this.staffId, - required this.documentId, - }); -} - -@immutable -class UpdateStaffDocumentData { - final UpdateStaffDocumentStaffDocumentUpdate? staffDocument_update; - UpdateStaffDocumentData.fromJson(dynamic json): - - staffDocument_update = json['staffDocument_update'] == null ? null : UpdateStaffDocumentStaffDocumentUpdate.fromJson(json['staffDocument_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateStaffDocumentData otherTyped = other as UpdateStaffDocumentData; - return staffDocument_update == otherTyped.staffDocument_update; - - } - @override - int get hashCode => staffDocument_update.hashCode; - - - Map toJson() { - Map json = {}; - if (staffDocument_update != null) { - json['staffDocument_update'] = staffDocument_update!.toJson(); - } - return json; - } - - UpdateStaffDocumentData({ - this.staffDocument_update, - }); -} - -@immutable -class UpdateStaffDocumentVariables { - final String staffId; - final String documentId; - late final Optionalstatus; - late final OptionaldocumentUrl; - late final OptionalexpiryDate; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateStaffDocumentVariables.fromJson(Map json): - - staffId = nativeFromJson(json['staffId']), - documentId = nativeFromJson(json['documentId']) { - - - - - status = Optional.optional((data) => DocumentStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : DocumentStatus.values.byName(json['status']); - - - documentUrl = Optional.optional(nativeFromJson, nativeToJson); - documentUrl.value = json['documentUrl'] == null ? null : nativeFromJson(json['documentUrl']); - - - expiryDate = Optional.optional((json) => json['expiryDate'] = Timestamp.fromJson(json['expiryDate']), defaultSerializer); - expiryDate.value = json['expiryDate'] == null ? null : Timestamp.fromJson(json['expiryDate']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateStaffDocumentVariables otherTyped = other as UpdateStaffDocumentVariables; - return staffId == otherTyped.staffId && - documentId == otherTyped.documentId && - status == otherTyped.status && - documentUrl == otherTyped.documentUrl && - expiryDate == otherTyped.expiryDate; - - } - @override - int get hashCode => Object.hashAll([staffId.hashCode, documentId.hashCode, status.hashCode, documentUrl.hashCode, expiryDate.hashCode]); - - - Map toJson() { - Map json = {}; - json['staffId'] = nativeToJson(staffId); - json['documentId'] = nativeToJson(documentId); - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(documentUrl.state == OptionalState.set) { - json['documentUrl'] = documentUrl.toJson(); - } - if(expiryDate.state == OptionalState.set) { - json['expiryDate'] = expiryDate.toJson(); - } - return json; - } - - UpdateStaffDocumentVariables({ - required this.staffId, - required this.documentId, - required this.status, - required this.documentUrl, - required this.expiryDate, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_task.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_task.dart deleted file mode 100644 index 465f12ed..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_task.dart +++ /dev/null @@ -1,292 +0,0 @@ -part of 'generated.dart'; - -class UpdateTaskVariablesBuilder { - String id; - Optional _taskName = Optional.optional(nativeFromJson, nativeToJson); - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - Optional _priority = Optional.optional((data) => TaskPriority.values.byName(data), enumSerializer); - Optional _status = Optional.optional((data) => TaskStatus.values.byName(data), enumSerializer); - Optional _dueDate = Optional.optional((json) => json['dueDate'] = Timestamp.fromJson(json['dueDate']), defaultSerializer); - Optional _progress = Optional.optional(nativeFromJson, nativeToJson); - Optional _assignedMembers = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _orderIndex = Optional.optional(nativeFromJson, nativeToJson); - Optional _commentCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _attachmentCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _files = Optional.optional(AnyValue.fromJson, defaultSerializer); - - final FirebaseDataConnect _dataConnect; UpdateTaskVariablesBuilder taskName(String? t) { - _taskName.value = t; - return this; - } - UpdateTaskVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateTaskVariablesBuilder priority(TaskPriority? t) { - _priority.value = t; - return this; - } - UpdateTaskVariablesBuilder status(TaskStatus? t) { - _status.value = t; - return this; - } - UpdateTaskVariablesBuilder dueDate(Timestamp? t) { - _dueDate.value = t; - return this; - } - UpdateTaskVariablesBuilder progress(int? t) { - _progress.value = t; - return this; - } - UpdateTaskVariablesBuilder assignedMembers(AnyValue? t) { - _assignedMembers.value = t; - return this; - } - UpdateTaskVariablesBuilder orderIndex(int? t) { - _orderIndex.value = t; - return this; - } - UpdateTaskVariablesBuilder commentCount(int? t) { - _commentCount.value = t; - return this; - } - UpdateTaskVariablesBuilder attachmentCount(int? t) { - _attachmentCount.value = t; - return this; - } - UpdateTaskVariablesBuilder files(AnyValue? t) { - _files.value = t; - return this; - } - - UpdateTaskVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateTaskData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateTaskVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateTaskVariables vars= UpdateTaskVariables(id: id,taskName: _taskName,description: _description,priority: _priority,status: _status,dueDate: _dueDate,progress: _progress,assignedMembers: _assignedMembers,orderIndex: _orderIndex,commentCount: _commentCount,attachmentCount: _attachmentCount,files: _files,); - return _dataConnect.mutation("updateTask", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateTaskTaskUpdate { - final String id; - UpdateTaskTaskUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTaskTaskUpdate otherTyped = other as UpdateTaskTaskUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateTaskTaskUpdate({ - required this.id, - }); -} - -@immutable -class UpdateTaskData { - final UpdateTaskTaskUpdate? task_update; - UpdateTaskData.fromJson(dynamic json): - - task_update = json['task_update'] == null ? null : UpdateTaskTaskUpdate.fromJson(json['task_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTaskData otherTyped = other as UpdateTaskData; - return task_update == otherTyped.task_update; - - } - @override - int get hashCode => task_update.hashCode; - - - Map toJson() { - Map json = {}; - if (task_update != null) { - json['task_update'] = task_update!.toJson(); - } - return json; - } - - UpdateTaskData({ - this.task_update, - }); -} - -@immutable -class UpdateTaskVariables { - final String id; - late final OptionaltaskName; - late final Optionaldescription; - late final Optionalpriority; - late final Optionalstatus; - late final OptionaldueDate; - late final Optionalprogress; - late final OptionalassignedMembers; - late final OptionalorderIndex; - late final OptionalcommentCount; - late final OptionalattachmentCount; - late final Optionalfiles; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateTaskVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - taskName = Optional.optional(nativeFromJson, nativeToJson); - taskName.value = json['taskName'] == null ? null : nativeFromJson(json['taskName']); - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - - priority = Optional.optional((data) => TaskPriority.values.byName(data), enumSerializer); - priority.value = json['priority'] == null ? null : TaskPriority.values.byName(json['priority']); - - - status = Optional.optional((data) => TaskStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : TaskStatus.values.byName(json['status']); - - - dueDate = Optional.optional((json) => json['dueDate'] = Timestamp.fromJson(json['dueDate']), defaultSerializer); - dueDate.value = json['dueDate'] == null ? null : Timestamp.fromJson(json['dueDate']); - - - progress = Optional.optional(nativeFromJson, nativeToJson); - progress.value = json['progress'] == null ? null : nativeFromJson(json['progress']); - - - assignedMembers = Optional.optional(AnyValue.fromJson, defaultSerializer); - assignedMembers.value = json['assignedMembers'] == null ? null : AnyValue.fromJson(json['assignedMembers']); - - - orderIndex = Optional.optional(nativeFromJson, nativeToJson); - orderIndex.value = json['orderIndex'] == null ? null : nativeFromJson(json['orderIndex']); - - - commentCount = Optional.optional(nativeFromJson, nativeToJson); - commentCount.value = json['commentCount'] == null ? null : nativeFromJson(json['commentCount']); - - - attachmentCount = Optional.optional(nativeFromJson, nativeToJson); - attachmentCount.value = json['attachmentCount'] == null ? null : nativeFromJson(json['attachmentCount']); - - - files = Optional.optional(AnyValue.fromJson, defaultSerializer); - files.value = json['files'] == null ? null : AnyValue.fromJson(json['files']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTaskVariables otherTyped = other as UpdateTaskVariables; - return id == otherTyped.id && - taskName == otherTyped.taskName && - description == otherTyped.description && - priority == otherTyped.priority && - status == otherTyped.status && - dueDate == otherTyped.dueDate && - progress == otherTyped.progress && - assignedMembers == otherTyped.assignedMembers && - orderIndex == otherTyped.orderIndex && - commentCount == otherTyped.commentCount && - attachmentCount == otherTyped.attachmentCount && - files == otherTyped.files; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, taskName.hashCode, description.hashCode, priority.hashCode, status.hashCode, dueDate.hashCode, progress.hashCode, assignedMembers.hashCode, orderIndex.hashCode, commentCount.hashCode, attachmentCount.hashCode, files.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(taskName.state == OptionalState.set) { - json['taskName'] = taskName.toJson(); - } - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - if(priority.state == OptionalState.set) { - json['priority'] = priority.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(dueDate.state == OptionalState.set) { - json['dueDate'] = dueDate.toJson(); - } - if(progress.state == OptionalState.set) { - json['progress'] = progress.toJson(); - } - if(assignedMembers.state == OptionalState.set) { - json['assignedMembers'] = assignedMembers.toJson(); - } - if(orderIndex.state == OptionalState.set) { - json['orderIndex'] = orderIndex.toJson(); - } - if(commentCount.state == OptionalState.set) { - json['commentCount'] = commentCount.toJson(); - } - if(attachmentCount.state == OptionalState.set) { - json['attachmentCount'] = attachmentCount.toJson(); - } - if(files.state == OptionalState.set) { - json['files'] = files.toJson(); - } - return json; - } - - UpdateTaskVariables({ - required this.id, - required this.taskName, - required this.description, - required this.priority, - required this.status, - required this.dueDate, - required this.progress, - required this.assignedMembers, - required this.orderIndex, - required this.commentCount, - required this.attachmentCount, - required this.files, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_task_comment.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_task_comment.dart deleted file mode 100644 index 8e5b81c1..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_task_comment.dart +++ /dev/null @@ -1,157 +0,0 @@ -part of 'generated.dart'; - -class UpdateTaskCommentVariablesBuilder { - String id; - Optional _comment = Optional.optional(nativeFromJson, nativeToJson); - Optional _isSystem = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateTaskCommentVariablesBuilder comment(String? t) { - _comment.value = t; - return this; - } - UpdateTaskCommentVariablesBuilder isSystem(bool? t) { - _isSystem.value = t; - return this; - } - - UpdateTaskCommentVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateTaskCommentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateTaskCommentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateTaskCommentVariables vars= UpdateTaskCommentVariables(id: id,comment: _comment,isSystem: _isSystem,); - return _dataConnect.mutation("updateTaskComment", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateTaskCommentTaskCommentUpdate { - final String id; - UpdateTaskCommentTaskCommentUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTaskCommentTaskCommentUpdate otherTyped = other as UpdateTaskCommentTaskCommentUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateTaskCommentTaskCommentUpdate({ - required this.id, - }); -} - -@immutable -class UpdateTaskCommentData { - final UpdateTaskCommentTaskCommentUpdate? taskComment_update; - UpdateTaskCommentData.fromJson(dynamic json): - - taskComment_update = json['taskComment_update'] == null ? null : UpdateTaskCommentTaskCommentUpdate.fromJson(json['taskComment_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTaskCommentData otherTyped = other as UpdateTaskCommentData; - return taskComment_update == otherTyped.taskComment_update; - - } - @override - int get hashCode => taskComment_update.hashCode; - - - Map toJson() { - Map json = {}; - if (taskComment_update != null) { - json['taskComment_update'] = taskComment_update!.toJson(); - } - return json; - } - - UpdateTaskCommentData({ - this.taskComment_update, - }); -} - -@immutable -class UpdateTaskCommentVariables { - final String id; - late final Optionalcomment; - late final OptionalisSystem; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateTaskCommentVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - comment = Optional.optional(nativeFromJson, nativeToJson); - comment.value = json['comment'] == null ? null : nativeFromJson(json['comment']); - - - isSystem = Optional.optional(nativeFromJson, nativeToJson); - isSystem.value = json['isSystem'] == null ? null : nativeFromJson(json['isSystem']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTaskCommentVariables otherTyped = other as UpdateTaskCommentVariables; - return id == otherTyped.id && - comment == otherTyped.comment && - isSystem == otherTyped.isSystem; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, comment.hashCode, isSystem.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(comment.state == OptionalState.set) { - json['comment'] = comment.toJson(); - } - if(isSystem.state == OptionalState.set) { - json['isSystem'] = isSystem.toJson(); - } - return json; - } - - UpdateTaskCommentVariables({ - required this.id, - required this.comment, - required this.isSystem, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_tax_form.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_tax_form.dart deleted file mode 100644 index abef65fc..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_tax_form.dart +++ /dev/null @@ -1,202 +0,0 @@ -part of 'generated.dart'; - -class UpdateTaxFormVariablesBuilder { - String id; - Optional _status = Optional.optional((data) => TaxFormStatus.values.byName(data), enumSerializer); - Optional _formData = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _title = Optional.optional(nativeFromJson, nativeToJson); - Optional _subtitle = Optional.optional(nativeFromJson, nativeToJson); - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateTaxFormVariablesBuilder status(TaxFormStatus? t) { - _status.value = t; - return this; - } - UpdateTaxFormVariablesBuilder formData(AnyValue? t) { - _formData.value = t; - return this; - } - UpdateTaxFormVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateTaxFormVariablesBuilder subtitle(String? t) { - _subtitle.value = t; - return this; - } - UpdateTaxFormVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - - UpdateTaxFormVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateTaxFormData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateTaxFormVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateTaxFormVariables vars= UpdateTaxFormVariables(id: id,status: _status,formData: _formData,title: _title,subtitle: _subtitle,description: _description,); - return _dataConnect.mutation("updateTaxForm", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateTaxFormTaxFormUpdate { - final String id; - UpdateTaxFormTaxFormUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTaxFormTaxFormUpdate otherTyped = other as UpdateTaxFormTaxFormUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateTaxFormTaxFormUpdate({ - required this.id, - }); -} - -@immutable -class UpdateTaxFormData { - final UpdateTaxFormTaxFormUpdate? taxForm_update; - UpdateTaxFormData.fromJson(dynamic json): - - taxForm_update = json['taxForm_update'] == null ? null : UpdateTaxFormTaxFormUpdate.fromJson(json['taxForm_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTaxFormData otherTyped = other as UpdateTaxFormData; - return taxForm_update == otherTyped.taxForm_update; - - } - @override - int get hashCode => taxForm_update.hashCode; - - - Map toJson() { - Map json = {}; - if (taxForm_update != null) { - json['taxForm_update'] = taxForm_update!.toJson(); - } - return json; - } - - UpdateTaxFormData({ - this.taxForm_update, - }); -} - -@immutable -class UpdateTaxFormVariables { - final String id; - late final Optionalstatus; - late final OptionalformData; - late final Optionaltitle; - late final Optionalsubtitle; - late final Optionaldescription; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateTaxFormVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - status = Optional.optional((data) => TaxFormStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : TaxFormStatus.values.byName(json['status']); - - - formData = Optional.optional(AnyValue.fromJson, defaultSerializer); - formData.value = json['formData'] == null ? null : AnyValue.fromJson(json['formData']); - - - title = Optional.optional(nativeFromJson, nativeToJson); - title.value = json['title'] == null ? null : nativeFromJson(json['title']); - - - subtitle = Optional.optional(nativeFromJson, nativeToJson); - subtitle.value = json['subtitle'] == null ? null : nativeFromJson(json['subtitle']); - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTaxFormVariables otherTyped = other as UpdateTaxFormVariables; - return id == otherTyped.id && - status == otherTyped.status && - formData == otherTyped.formData && - title == otherTyped.title && - subtitle == otherTyped.subtitle && - description == otherTyped.description; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, status.hashCode, formData.hashCode, title.hashCode, subtitle.hashCode, description.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - if(formData.state == OptionalState.set) { - json['formData'] = formData.toJson(); - } - if(title.state == OptionalState.set) { - json['title'] = title.toJson(); - } - if(subtitle.state == OptionalState.set) { - json['subtitle'] = subtitle.toJson(); - } - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - return json; - } - - UpdateTaxFormVariables({ - required this.id, - required this.status, - required this.formData, - required this.title, - required this.subtitle, - required this.description, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_team.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_team.dart deleted file mode 100644 index 9c13f057..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_team.dart +++ /dev/null @@ -1,307 +0,0 @@ -part of 'generated.dart'; - -class UpdateTeamVariablesBuilder { - String id; - Optional _teamName = Optional.optional(nativeFromJson, nativeToJson); - Optional _ownerName = Optional.optional(nativeFromJson, nativeToJson); - Optional _ownerRole = Optional.optional(nativeFromJson, nativeToJson); - Optional _companyLogo = Optional.optional(nativeFromJson, nativeToJson); - Optional _totalMembers = Optional.optional(nativeFromJson, nativeToJson); - Optional _activeMembers = Optional.optional(nativeFromJson, nativeToJson); - Optional _totalHubs = Optional.optional(nativeFromJson, nativeToJson); - Optional _departments = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _favoriteStaffCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _blockedStaffCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _favoriteStaff = Optional.optional(AnyValue.fromJson, defaultSerializer); - Optional _blockedStaff = Optional.optional(AnyValue.fromJson, defaultSerializer); - - final FirebaseDataConnect _dataConnect; UpdateTeamVariablesBuilder teamName(String? t) { - _teamName.value = t; - return this; - } - UpdateTeamVariablesBuilder ownerName(String? t) { - _ownerName.value = t; - return this; - } - UpdateTeamVariablesBuilder ownerRole(String? t) { - _ownerRole.value = t; - return this; - } - UpdateTeamVariablesBuilder companyLogo(String? t) { - _companyLogo.value = t; - return this; - } - UpdateTeamVariablesBuilder totalMembers(int? t) { - _totalMembers.value = t; - return this; - } - UpdateTeamVariablesBuilder activeMembers(int? t) { - _activeMembers.value = t; - return this; - } - UpdateTeamVariablesBuilder totalHubs(int? t) { - _totalHubs.value = t; - return this; - } - UpdateTeamVariablesBuilder departments(AnyValue? t) { - _departments.value = t; - return this; - } - UpdateTeamVariablesBuilder favoriteStaffCount(int? t) { - _favoriteStaffCount.value = t; - return this; - } - UpdateTeamVariablesBuilder blockedStaffCount(int? t) { - _blockedStaffCount.value = t; - return this; - } - UpdateTeamVariablesBuilder favoriteStaff(AnyValue? t) { - _favoriteStaff.value = t; - return this; - } - UpdateTeamVariablesBuilder blockedStaff(AnyValue? t) { - _blockedStaff.value = t; - return this; - } - - UpdateTeamVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateTeamData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateTeamVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateTeamVariables vars= UpdateTeamVariables(id: id,teamName: _teamName,ownerName: _ownerName,ownerRole: _ownerRole,companyLogo: _companyLogo,totalMembers: _totalMembers,activeMembers: _activeMembers,totalHubs: _totalHubs,departments: _departments,favoriteStaffCount: _favoriteStaffCount,blockedStaffCount: _blockedStaffCount,favoriteStaff: _favoriteStaff,blockedStaff: _blockedStaff,); - return _dataConnect.mutation("updateTeam", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateTeamTeamUpdate { - final String id; - UpdateTeamTeamUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTeamTeamUpdate otherTyped = other as UpdateTeamTeamUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateTeamTeamUpdate({ - required this.id, - }); -} - -@immutable -class UpdateTeamData { - final UpdateTeamTeamUpdate? team_update; - UpdateTeamData.fromJson(dynamic json): - - team_update = json['team_update'] == null ? null : UpdateTeamTeamUpdate.fromJson(json['team_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTeamData otherTyped = other as UpdateTeamData; - return team_update == otherTyped.team_update; - - } - @override - int get hashCode => team_update.hashCode; - - - Map toJson() { - Map json = {}; - if (team_update != null) { - json['team_update'] = team_update!.toJson(); - } - return json; - } - - UpdateTeamData({ - this.team_update, - }); -} - -@immutable -class UpdateTeamVariables { - final String id; - late final OptionalteamName; - late final OptionalownerName; - late final OptionalownerRole; - late final OptionalcompanyLogo; - late final OptionaltotalMembers; - late final OptionalactiveMembers; - late final OptionaltotalHubs; - late final Optionaldepartments; - late final OptionalfavoriteStaffCount; - late final OptionalblockedStaffCount; - late final OptionalfavoriteStaff; - late final OptionalblockedStaff; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateTeamVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - teamName = Optional.optional(nativeFromJson, nativeToJson); - teamName.value = json['teamName'] == null ? null : nativeFromJson(json['teamName']); - - - ownerName = Optional.optional(nativeFromJson, nativeToJson); - ownerName.value = json['ownerName'] == null ? null : nativeFromJson(json['ownerName']); - - - ownerRole = Optional.optional(nativeFromJson, nativeToJson); - ownerRole.value = json['ownerRole'] == null ? null : nativeFromJson(json['ownerRole']); - - - companyLogo = Optional.optional(nativeFromJson, nativeToJson); - companyLogo.value = json['companyLogo'] == null ? null : nativeFromJson(json['companyLogo']); - - - totalMembers = Optional.optional(nativeFromJson, nativeToJson); - totalMembers.value = json['totalMembers'] == null ? null : nativeFromJson(json['totalMembers']); - - - activeMembers = Optional.optional(nativeFromJson, nativeToJson); - activeMembers.value = json['activeMembers'] == null ? null : nativeFromJson(json['activeMembers']); - - - totalHubs = Optional.optional(nativeFromJson, nativeToJson); - totalHubs.value = json['totalHubs'] == null ? null : nativeFromJson(json['totalHubs']); - - - departments = Optional.optional(AnyValue.fromJson, defaultSerializer); - departments.value = json['departments'] == null ? null : AnyValue.fromJson(json['departments']); - - - favoriteStaffCount = Optional.optional(nativeFromJson, nativeToJson); - favoriteStaffCount.value = json['favoriteStaffCount'] == null ? null : nativeFromJson(json['favoriteStaffCount']); - - - blockedStaffCount = Optional.optional(nativeFromJson, nativeToJson); - blockedStaffCount.value = json['blockedStaffCount'] == null ? null : nativeFromJson(json['blockedStaffCount']); - - - favoriteStaff = Optional.optional(AnyValue.fromJson, defaultSerializer); - favoriteStaff.value = json['favoriteStaff'] == null ? null : AnyValue.fromJson(json['favoriteStaff']); - - - blockedStaff = Optional.optional(AnyValue.fromJson, defaultSerializer); - blockedStaff.value = json['blockedStaff'] == null ? null : AnyValue.fromJson(json['blockedStaff']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTeamVariables otherTyped = other as UpdateTeamVariables; - return id == otherTyped.id && - teamName == otherTyped.teamName && - ownerName == otherTyped.ownerName && - ownerRole == otherTyped.ownerRole && - companyLogo == otherTyped.companyLogo && - totalMembers == otherTyped.totalMembers && - activeMembers == otherTyped.activeMembers && - totalHubs == otherTyped.totalHubs && - departments == otherTyped.departments && - favoriteStaffCount == otherTyped.favoriteStaffCount && - blockedStaffCount == otherTyped.blockedStaffCount && - favoriteStaff == otherTyped.favoriteStaff && - blockedStaff == otherTyped.blockedStaff; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, teamName.hashCode, ownerName.hashCode, ownerRole.hashCode, companyLogo.hashCode, totalMembers.hashCode, activeMembers.hashCode, totalHubs.hashCode, departments.hashCode, favoriteStaffCount.hashCode, blockedStaffCount.hashCode, favoriteStaff.hashCode, blockedStaff.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(teamName.state == OptionalState.set) { - json['teamName'] = teamName.toJson(); - } - if(ownerName.state == OptionalState.set) { - json['ownerName'] = ownerName.toJson(); - } - if(ownerRole.state == OptionalState.set) { - json['ownerRole'] = ownerRole.toJson(); - } - if(companyLogo.state == OptionalState.set) { - json['companyLogo'] = companyLogo.toJson(); - } - if(totalMembers.state == OptionalState.set) { - json['totalMembers'] = totalMembers.toJson(); - } - if(activeMembers.state == OptionalState.set) { - json['activeMembers'] = activeMembers.toJson(); - } - if(totalHubs.state == OptionalState.set) { - json['totalHubs'] = totalHubs.toJson(); - } - if(departments.state == OptionalState.set) { - json['departments'] = departments.toJson(); - } - if(favoriteStaffCount.state == OptionalState.set) { - json['favoriteStaffCount'] = favoriteStaffCount.toJson(); - } - if(blockedStaffCount.state == OptionalState.set) { - json['blockedStaffCount'] = blockedStaffCount.toJson(); - } - if(favoriteStaff.state == OptionalState.set) { - json['favoriteStaff'] = favoriteStaff.toJson(); - } - if(blockedStaff.state == OptionalState.set) { - json['blockedStaff'] = blockedStaff.toJson(); - } - return json; - } - - UpdateTeamVariables({ - required this.id, - required this.teamName, - required this.ownerName, - required this.ownerRole, - required this.companyLogo, - required this.totalMembers, - required this.activeMembers, - required this.totalHubs, - required this.departments, - required this.favoriteStaffCount, - required this.blockedStaffCount, - required this.favoriteStaff, - required this.blockedStaff, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_team_hub.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_team_hub.dart deleted file mode 100644 index a1b41ac2..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_team_hub.dart +++ /dev/null @@ -1,247 +0,0 @@ -part of 'generated.dart'; - -class UpdateTeamHubVariablesBuilder { - String id; - Optional _hubName = Optional.optional(nativeFromJson, nativeToJson); - Optional _address = Optional.optional(nativeFromJson, nativeToJson); - Optional _city = Optional.optional(nativeFromJson, nativeToJson); - Optional _state = Optional.optional(nativeFromJson, nativeToJson); - Optional _zipCode = Optional.optional(nativeFromJson, nativeToJson); - Optional _managerName = Optional.optional(nativeFromJson, nativeToJson); - Optional _isActive = Optional.optional(nativeFromJson, nativeToJson); - Optional _departments = Optional.optional(AnyValue.fromJson, defaultSerializer); - - final FirebaseDataConnect _dataConnect; UpdateTeamHubVariablesBuilder hubName(String? t) { - _hubName.value = t; - return this; - } - UpdateTeamHubVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - UpdateTeamHubVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - UpdateTeamHubVariablesBuilder state(String? t) { - _state.value = t; - return this; - } - UpdateTeamHubVariablesBuilder zipCode(String? t) { - _zipCode.value = t; - return this; - } - UpdateTeamHubVariablesBuilder managerName(String? t) { - _managerName.value = t; - return this; - } - UpdateTeamHubVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateTeamHubVariablesBuilder departments(AnyValue? t) { - _departments.value = t; - return this; - } - - UpdateTeamHubVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateTeamHubData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateTeamHubVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateTeamHubVariables vars= UpdateTeamHubVariables(id: id,hubName: _hubName,address: _address,city: _city,state: _state,zipCode: _zipCode,managerName: _managerName,isActive: _isActive,departments: _departments,); - return _dataConnect.mutation("updateTeamHub", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateTeamHubTeamHubUpdate { - final String id; - UpdateTeamHubTeamHubUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTeamHubTeamHubUpdate otherTyped = other as UpdateTeamHubTeamHubUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateTeamHubTeamHubUpdate({ - required this.id, - }); -} - -@immutable -class UpdateTeamHubData { - final UpdateTeamHubTeamHubUpdate? teamHub_update; - UpdateTeamHubData.fromJson(dynamic json): - - teamHub_update = json['teamHub_update'] == null ? null : UpdateTeamHubTeamHubUpdate.fromJson(json['teamHub_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTeamHubData otherTyped = other as UpdateTeamHubData; - return teamHub_update == otherTyped.teamHub_update; - - } - @override - int get hashCode => teamHub_update.hashCode; - - - Map toJson() { - Map json = {}; - if (teamHub_update != null) { - json['teamHub_update'] = teamHub_update!.toJson(); - } - return json; - } - - UpdateTeamHubData({ - this.teamHub_update, - }); -} - -@immutable -class UpdateTeamHubVariables { - final String id; - late final OptionalhubName; - late final Optionaladdress; - late final Optionalcity; - late final Optionalstate; - late final OptionalzipCode; - late final OptionalmanagerName; - late final OptionalisActive; - late final Optionaldepartments; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateTeamHubVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - hubName = Optional.optional(nativeFromJson, nativeToJson); - hubName.value = json['hubName'] == null ? null : nativeFromJson(json['hubName']); - - - address = Optional.optional(nativeFromJson, nativeToJson); - address.value = json['address'] == null ? null : nativeFromJson(json['address']); - - - city = Optional.optional(nativeFromJson, nativeToJson); - city.value = json['city'] == null ? null : nativeFromJson(json['city']); - - - state = Optional.optional(nativeFromJson, nativeToJson); - state.value = json['state'] == null ? null : nativeFromJson(json['state']); - - - zipCode = Optional.optional(nativeFromJson, nativeToJson); - zipCode.value = json['zipCode'] == null ? null : nativeFromJson(json['zipCode']); - - - managerName = Optional.optional(nativeFromJson, nativeToJson); - managerName.value = json['managerName'] == null ? null : nativeFromJson(json['managerName']); - - - isActive = Optional.optional(nativeFromJson, nativeToJson); - isActive.value = json['isActive'] == null ? null : nativeFromJson(json['isActive']); - - - departments = Optional.optional(AnyValue.fromJson, defaultSerializer); - departments.value = json['departments'] == null ? null : AnyValue.fromJson(json['departments']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTeamHubVariables otherTyped = other as UpdateTeamHubVariables; - return id == otherTyped.id && - hubName == otherTyped.hubName && - address == otherTyped.address && - city == otherTyped.city && - state == otherTyped.state && - zipCode == otherTyped.zipCode && - managerName == otherTyped.managerName && - isActive == otherTyped.isActive && - departments == otherTyped.departments; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, hubName.hashCode, address.hashCode, city.hashCode, state.hashCode, zipCode.hashCode, managerName.hashCode, isActive.hashCode, departments.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(hubName.state == OptionalState.set) { - json['hubName'] = hubName.toJson(); - } - if(address.state == OptionalState.set) { - json['address'] = address.toJson(); - } - if(city.state == OptionalState.set) { - json['city'] = city.toJson(); - } - if(state.state == OptionalState.set) { - json['state'] = state.toJson(); - } - if(zipCode.state == OptionalState.set) { - json['zipCode'] = zipCode.toJson(); - } - if(managerName.state == OptionalState.set) { - json['managerName'] = managerName.toJson(); - } - if(isActive.state == OptionalState.set) { - json['isActive'] = isActive.toJson(); - } - if(departments.state == OptionalState.set) { - json['departments'] = departments.toJson(); - } - return json; - } - - UpdateTeamHubVariables({ - required this.id, - required this.hubName, - required this.address, - required this.city, - required this.state, - required this.zipCode, - required this.managerName, - required this.isActive, - required this.departments, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_team_hud_department.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_team_hud_department.dart deleted file mode 100644 index 618bc4ef..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_team_hud_department.dart +++ /dev/null @@ -1,172 +0,0 @@ -part of 'generated.dart'; - -class UpdateTeamHudDepartmentVariablesBuilder { - String id; - Optional _name = Optional.optional(nativeFromJson, nativeToJson); - Optional _costCenter = Optional.optional(nativeFromJson, nativeToJson); - Optional _teamHubId = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateTeamHudDepartmentVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateTeamHudDepartmentVariablesBuilder costCenter(String? t) { - _costCenter.value = t; - return this; - } - UpdateTeamHudDepartmentVariablesBuilder teamHubId(String? t) { - _teamHubId.value = t; - return this; - } - - UpdateTeamHudDepartmentVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateTeamHudDepartmentData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateTeamHudDepartmentVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateTeamHudDepartmentVariables vars= UpdateTeamHudDepartmentVariables(id: id,name: _name,costCenter: _costCenter,teamHubId: _teamHubId,); - return _dataConnect.mutation("updateTeamHudDepartment", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateTeamHudDepartmentTeamHudDepartmentUpdate { - final String id; - UpdateTeamHudDepartmentTeamHudDepartmentUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTeamHudDepartmentTeamHudDepartmentUpdate otherTyped = other as UpdateTeamHudDepartmentTeamHudDepartmentUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateTeamHudDepartmentTeamHudDepartmentUpdate({ - required this.id, - }); -} - -@immutable -class UpdateTeamHudDepartmentData { - final UpdateTeamHudDepartmentTeamHudDepartmentUpdate? teamHudDepartment_update; - UpdateTeamHudDepartmentData.fromJson(dynamic json): - - teamHudDepartment_update = json['teamHudDepartment_update'] == null ? null : UpdateTeamHudDepartmentTeamHudDepartmentUpdate.fromJson(json['teamHudDepartment_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTeamHudDepartmentData otherTyped = other as UpdateTeamHudDepartmentData; - return teamHudDepartment_update == otherTyped.teamHudDepartment_update; - - } - @override - int get hashCode => teamHudDepartment_update.hashCode; - - - Map toJson() { - Map json = {}; - if (teamHudDepartment_update != null) { - json['teamHudDepartment_update'] = teamHudDepartment_update!.toJson(); - } - return json; - } - - UpdateTeamHudDepartmentData({ - this.teamHudDepartment_update, - }); -} - -@immutable -class UpdateTeamHudDepartmentVariables { - final String id; - late final Optionalname; - late final OptionalcostCenter; - late final OptionalteamHubId; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateTeamHudDepartmentVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - name = Optional.optional(nativeFromJson, nativeToJson); - name.value = json['name'] == null ? null : nativeFromJson(json['name']); - - - costCenter = Optional.optional(nativeFromJson, nativeToJson); - costCenter.value = json['costCenter'] == null ? null : nativeFromJson(json['costCenter']); - - - teamHubId = Optional.optional(nativeFromJson, nativeToJson); - teamHubId.value = json['teamHubId'] == null ? null : nativeFromJson(json['teamHubId']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTeamHudDepartmentVariables otherTyped = other as UpdateTeamHudDepartmentVariables; - return id == otherTyped.id && - name == otherTyped.name && - costCenter == otherTyped.costCenter && - teamHubId == otherTyped.teamHubId; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, name.hashCode, costCenter.hashCode, teamHubId.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(name.state == OptionalState.set) { - json['name'] = name.toJson(); - } - if(costCenter.state == OptionalState.set) { - json['costCenter'] = costCenter.toJson(); - } - if(teamHubId.state == OptionalState.set) { - json['teamHubId'] = teamHubId.toJson(); - } - return json; - } - - UpdateTeamHudDepartmentVariables({ - required this.id, - required this.name, - required this.costCenter, - required this.teamHubId, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_team_member.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_team_member.dart deleted file mode 100644 index e58f0dd0..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_team_member.dart +++ /dev/null @@ -1,217 +0,0 @@ -part of 'generated.dart'; - -class UpdateTeamMemberVariablesBuilder { - String id; - Optional _role = Optional.optional((data) => TeamMemberRole.values.byName(data), enumSerializer); - Optional _title = Optional.optional(nativeFromJson, nativeToJson); - Optional _department = Optional.optional(nativeFromJson, nativeToJson); - Optional _teamHubId = Optional.optional(nativeFromJson, nativeToJson); - Optional _isActive = Optional.optional(nativeFromJson, nativeToJson); - Optional _inviteStatus = Optional.optional((data) => TeamMemberInviteStatus.values.byName(data), enumSerializer); - - final FirebaseDataConnect _dataConnect; UpdateTeamMemberVariablesBuilder role(TeamMemberRole? t) { - _role.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder department(String? t) { - _department.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder teamHubId(String? t) { - _teamHubId.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder inviteStatus(TeamMemberInviteStatus? t) { - _inviteStatus.value = t; - return this; - } - - UpdateTeamMemberVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateTeamMemberData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateTeamMemberVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateTeamMemberVariables vars= UpdateTeamMemberVariables(id: id,role: _role,title: _title,department: _department,teamHubId: _teamHubId,isActive: _isActive,inviteStatus: _inviteStatus,); - return _dataConnect.mutation("updateTeamMember", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateTeamMemberTeamMemberUpdate { - final String id; - UpdateTeamMemberTeamMemberUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTeamMemberTeamMemberUpdate otherTyped = other as UpdateTeamMemberTeamMemberUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateTeamMemberTeamMemberUpdate({ - required this.id, - }); -} - -@immutable -class UpdateTeamMemberData { - final UpdateTeamMemberTeamMemberUpdate? teamMember_update; - UpdateTeamMemberData.fromJson(dynamic json): - - teamMember_update = json['teamMember_update'] == null ? null : UpdateTeamMemberTeamMemberUpdate.fromJson(json['teamMember_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTeamMemberData otherTyped = other as UpdateTeamMemberData; - return teamMember_update == otherTyped.teamMember_update; - - } - @override - int get hashCode => teamMember_update.hashCode; - - - Map toJson() { - Map json = {}; - if (teamMember_update != null) { - json['teamMember_update'] = teamMember_update!.toJson(); - } - return json; - } - - UpdateTeamMemberData({ - this.teamMember_update, - }); -} - -@immutable -class UpdateTeamMemberVariables { - final String id; - late final Optionalrole; - late final Optionaltitle; - late final Optionaldepartment; - late final OptionalteamHubId; - late final OptionalisActive; - late final OptionalinviteStatus; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateTeamMemberVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - role = Optional.optional((data) => TeamMemberRole.values.byName(data), enumSerializer); - role.value = json['role'] == null ? null : TeamMemberRole.values.byName(json['role']); - - - title = Optional.optional(nativeFromJson, nativeToJson); - title.value = json['title'] == null ? null : nativeFromJson(json['title']); - - - department = Optional.optional(nativeFromJson, nativeToJson); - department.value = json['department'] == null ? null : nativeFromJson(json['department']); - - - teamHubId = Optional.optional(nativeFromJson, nativeToJson); - teamHubId.value = json['teamHubId'] == null ? null : nativeFromJson(json['teamHubId']); - - - isActive = Optional.optional(nativeFromJson, nativeToJson); - isActive.value = json['isActive'] == null ? null : nativeFromJson(json['isActive']); - - - inviteStatus = Optional.optional((data) => TeamMemberInviteStatus.values.byName(data), enumSerializer); - inviteStatus.value = json['inviteStatus'] == null ? null : TeamMemberInviteStatus.values.byName(json['inviteStatus']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTeamMemberVariables otherTyped = other as UpdateTeamMemberVariables; - return id == otherTyped.id && - role == otherTyped.role && - title == otherTyped.title && - department == otherTyped.department && - teamHubId == otherTyped.teamHubId && - isActive == otherTyped.isActive && - inviteStatus == otherTyped.inviteStatus; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, role.hashCode, title.hashCode, department.hashCode, teamHubId.hashCode, isActive.hashCode, inviteStatus.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(role.state == OptionalState.set) { - json['role'] = role.toJson(); - } - if(title.state == OptionalState.set) { - json['title'] = title.toJson(); - } - if(department.state == OptionalState.set) { - json['department'] = department.toJson(); - } - if(teamHubId.state == OptionalState.set) { - json['teamHubId'] = teamHubId.toJson(); - } - if(isActive.state == OptionalState.set) { - json['isActive'] = isActive.toJson(); - } - if(inviteStatus.state == OptionalState.set) { - json['inviteStatus'] = inviteStatus.toJson(); - } - return json; - } - - UpdateTeamMemberVariables({ - required this.id, - required this.role, - required this.title, - required this.department, - required this.teamHubId, - required this.isActive, - required this.inviteStatus, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_team_member_invite_status.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_team_member_invite_status.dart deleted file mode 100644 index 02178b04..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_team_member_invite_status.dart +++ /dev/null @@ -1,132 +0,0 @@ -part of 'generated.dart'; - -class UpdateTeamMemberInviteStatusVariablesBuilder { - String id; - TeamMemberInviteStatus inviteStatus; - - final FirebaseDataConnect _dataConnect; - UpdateTeamMemberInviteStatusVariablesBuilder(this._dataConnect, {required this.id,required this.inviteStatus,}); - Deserializer dataDeserializer = (dynamic json) => UpdateTeamMemberInviteStatusData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateTeamMemberInviteStatusVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateTeamMemberInviteStatusVariables vars= UpdateTeamMemberInviteStatusVariables(id: id,inviteStatus: inviteStatus,); - return _dataConnect.mutation("updateTeamMemberInviteStatus", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateTeamMemberInviteStatusTeamMemberUpdate { - final String id; - UpdateTeamMemberInviteStatusTeamMemberUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTeamMemberInviteStatusTeamMemberUpdate otherTyped = other as UpdateTeamMemberInviteStatusTeamMemberUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateTeamMemberInviteStatusTeamMemberUpdate({ - required this.id, - }); -} - -@immutable -class UpdateTeamMemberInviteStatusData { - final UpdateTeamMemberInviteStatusTeamMemberUpdate? teamMember_update; - UpdateTeamMemberInviteStatusData.fromJson(dynamic json): - - teamMember_update = json['teamMember_update'] == null ? null : UpdateTeamMemberInviteStatusTeamMemberUpdate.fromJson(json['teamMember_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTeamMemberInviteStatusData otherTyped = other as UpdateTeamMemberInviteStatusData; - return teamMember_update == otherTyped.teamMember_update; - - } - @override - int get hashCode => teamMember_update.hashCode; - - - Map toJson() { - Map json = {}; - if (teamMember_update != null) { - json['teamMember_update'] = teamMember_update!.toJson(); - } - return json; - } - - UpdateTeamMemberInviteStatusData({ - this.teamMember_update, - }); -} - -@immutable -class UpdateTeamMemberInviteStatusVariables { - final String id; - final TeamMemberInviteStatus inviteStatus; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateTeamMemberInviteStatusVariables.fromJson(Map json): - - id = nativeFromJson(json['id']), - inviteStatus = TeamMemberInviteStatus.values.byName(json['inviteStatus']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateTeamMemberInviteStatusVariables otherTyped = other as UpdateTeamMemberInviteStatusVariables; - return id == otherTyped.id && - inviteStatus == otherTyped.inviteStatus; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, inviteStatus.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - json['inviteStatus'] = - inviteStatus.name - ; - return json; - } - - UpdateTeamMemberInviteStatusVariables({ - required this.id, - required this.inviteStatus, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_user.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_user.dart deleted file mode 100644 index b1cf739c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_user.dart +++ /dev/null @@ -1,202 +0,0 @@ -part of 'generated.dart'; - -class UpdateUserVariablesBuilder { - String id; - Optional _email = Optional.optional(nativeFromJson, nativeToJson); - Optional _fullName = Optional.optional(nativeFromJson, nativeToJson); - Optional _role = Optional.optional((data) => UserBaseRole.values.byName(data), enumSerializer); - Optional _userRole = Optional.optional(nativeFromJson, nativeToJson); - Optional _photoUrl = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateUserVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - UpdateUserVariablesBuilder fullName(String? t) { - _fullName.value = t; - return this; - } - UpdateUserVariablesBuilder role(UserBaseRole? t) { - _role.value = t; - return this; - } - UpdateUserVariablesBuilder userRole(String? t) { - _userRole.value = t; - return this; - } - UpdateUserVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - - UpdateUserVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateUserData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateUserVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateUserVariables vars= UpdateUserVariables(id: id,email: _email,fullName: _fullName,role: _role,userRole: _userRole,photoUrl: _photoUrl,); - return _dataConnect.mutation("UpdateUser", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateUserUserUpdate { - final String id; - UpdateUserUserUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateUserUserUpdate otherTyped = other as UpdateUserUserUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateUserUserUpdate({ - required this.id, - }); -} - -@immutable -class UpdateUserData { - final UpdateUserUserUpdate? user_update; - UpdateUserData.fromJson(dynamic json): - - user_update = json['user_update'] == null ? null : UpdateUserUserUpdate.fromJson(json['user_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateUserData otherTyped = other as UpdateUserData; - return user_update == otherTyped.user_update; - - } - @override - int get hashCode => user_update.hashCode; - - - Map toJson() { - Map json = {}; - if (user_update != null) { - json['user_update'] = user_update!.toJson(); - } - return json; - } - - UpdateUserData({ - this.user_update, - }); -} - -@immutable -class UpdateUserVariables { - final String id; - late final Optionalemail; - late final OptionalfullName; - late final Optionalrole; - late final OptionaluserRole; - late final OptionalphotoUrl; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateUserVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - email = Optional.optional(nativeFromJson, nativeToJson); - email.value = json['email'] == null ? null : nativeFromJson(json['email']); - - - fullName = Optional.optional(nativeFromJson, nativeToJson); - fullName.value = json['fullName'] == null ? null : nativeFromJson(json['fullName']); - - - role = Optional.optional((data) => UserBaseRole.values.byName(data), enumSerializer); - role.value = json['role'] == null ? null : UserBaseRole.values.byName(json['role']); - - - userRole = Optional.optional(nativeFromJson, nativeToJson); - userRole.value = json['userRole'] == null ? null : nativeFromJson(json['userRole']); - - - photoUrl = Optional.optional(nativeFromJson, nativeToJson); - photoUrl.value = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateUserVariables otherTyped = other as UpdateUserVariables; - return id == otherTyped.id && - email == otherTyped.email && - fullName == otherTyped.fullName && - role == otherTyped.role && - userRole == otherTyped.userRole && - photoUrl == otherTyped.photoUrl; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, email.hashCode, fullName.hashCode, role.hashCode, userRole.hashCode, photoUrl.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(email.state == OptionalState.set) { - json['email'] = email.toJson(); - } - if(fullName.state == OptionalState.set) { - json['fullName'] = fullName.toJson(); - } - if(role.state == OptionalState.set) { - json['role'] = role.toJson(); - } - if(userRole.state == OptionalState.set) { - json['userRole'] = userRole.toJson(); - } - if(photoUrl.state == OptionalState.set) { - json['photoUrl'] = photoUrl.toJson(); - } - return json; - } - - UpdateUserVariables({ - required this.id, - required this.email, - required this.fullName, - required this.role, - required this.userRole, - required this.photoUrl, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_user_conversation.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_user_conversation.dart deleted file mode 100644 index 997f92a0..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_user_conversation.dart +++ /dev/null @@ -1,169 +0,0 @@ -part of 'generated.dart'; - -class UpdateUserConversationVariablesBuilder { - String conversationId; - String userId; - Optional _unreadCount = Optional.optional(nativeFromJson, nativeToJson); - Optional _lastReadAt = Optional.optional((json) => json['lastReadAt'] = Timestamp.fromJson(json['lastReadAt']), defaultSerializer); - - final FirebaseDataConnect _dataConnect; UpdateUserConversationVariablesBuilder unreadCount(int? t) { - _unreadCount.value = t; - return this; - } - UpdateUserConversationVariablesBuilder lastReadAt(Timestamp? t) { - _lastReadAt.value = t; - return this; - } - - UpdateUserConversationVariablesBuilder(this._dataConnect, {required this.conversationId,required this.userId,}); - Deserializer dataDeserializer = (dynamic json) => UpdateUserConversationData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateUserConversationVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateUserConversationVariables vars= UpdateUserConversationVariables(conversationId: conversationId,userId: userId,unreadCount: _unreadCount,lastReadAt: _lastReadAt,); - return _dataConnect.mutation("updateUserConversation", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateUserConversationUserConversationUpdate { - final String conversationId; - final String userId; - UpdateUserConversationUserConversationUpdate.fromJson(dynamic json): - - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateUserConversationUserConversationUpdate otherTyped = other as UpdateUserConversationUserConversationUpdate; - return conversationId == otherTyped.conversationId && - userId == otherTyped.userId; - - } - @override - int get hashCode => Object.hashAll([conversationId.hashCode, userId.hashCode]); - - - Map toJson() { - Map json = {}; - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - return json; - } - - UpdateUserConversationUserConversationUpdate({ - required this.conversationId, - required this.userId, - }); -} - -@immutable -class UpdateUserConversationData { - final UpdateUserConversationUserConversationUpdate? userConversation_update; - UpdateUserConversationData.fromJson(dynamic json): - - userConversation_update = json['userConversation_update'] == null ? null : UpdateUserConversationUserConversationUpdate.fromJson(json['userConversation_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateUserConversationData otherTyped = other as UpdateUserConversationData; - return userConversation_update == otherTyped.userConversation_update; - - } - @override - int get hashCode => userConversation_update.hashCode; - - - Map toJson() { - Map json = {}; - if (userConversation_update != null) { - json['userConversation_update'] = userConversation_update!.toJson(); - } - return json; - } - - UpdateUserConversationData({ - this.userConversation_update, - }); -} - -@immutable -class UpdateUserConversationVariables { - final String conversationId; - final String userId; - late final OptionalunreadCount; - late final OptionallastReadAt; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateUserConversationVariables.fromJson(Map json): - - conversationId = nativeFromJson(json['conversationId']), - userId = nativeFromJson(json['userId']) { - - - - - unreadCount = Optional.optional(nativeFromJson, nativeToJson); - unreadCount.value = json['unreadCount'] == null ? null : nativeFromJson(json['unreadCount']); - - - lastReadAt = Optional.optional((json) => json['lastReadAt'] = Timestamp.fromJson(json['lastReadAt']), defaultSerializer); - lastReadAt.value = json['lastReadAt'] == null ? null : Timestamp.fromJson(json['lastReadAt']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateUserConversationVariables otherTyped = other as UpdateUserConversationVariables; - return conversationId == otherTyped.conversationId && - userId == otherTyped.userId && - unreadCount == otherTyped.unreadCount && - lastReadAt == otherTyped.lastReadAt; - - } - @override - int get hashCode => Object.hashAll([conversationId.hashCode, userId.hashCode, unreadCount.hashCode, lastReadAt.hashCode]); - - - Map toJson() { - Map json = {}; - json['conversationId'] = nativeToJson(conversationId); - json['userId'] = nativeToJson(userId); - if(unreadCount.state == OptionalState.set) { - json['unreadCount'] = unreadCount.toJson(); - } - if(lastReadAt.state == OptionalState.set) { - json['lastReadAt'] = lastReadAt.toJson(); - } - return json; - } - - UpdateUserConversationVariables({ - required this.conversationId, - required this.userId, - required this.unreadCount, - required this.lastReadAt, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_vendor.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_vendor.dart deleted file mode 100644 index 307a6c4c..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_vendor.dart +++ /dev/null @@ -1,412 +0,0 @@ -part of 'generated.dart'; - -class UpdateVendorVariablesBuilder { - String id; - Optional _companyName = Optional.optional(nativeFromJson, nativeToJson); - Optional _email = Optional.optional(nativeFromJson, nativeToJson); - Optional _phone = Optional.optional(nativeFromJson, nativeToJson); - Optional _photoUrl = Optional.optional(nativeFromJson, nativeToJson); - Optional _address = Optional.optional(nativeFromJson, nativeToJson); - Optional _billingAddress = Optional.optional(nativeFromJson, nativeToJson); - Optional _timezone = Optional.optional(nativeFromJson, nativeToJson); - Optional _legalName = Optional.optional(nativeFromJson, nativeToJson); - Optional _doingBusinessAs = Optional.optional(nativeFromJson, nativeToJson); - Optional _region = Optional.optional(nativeFromJson, nativeToJson); - Optional _state = Optional.optional(nativeFromJson, nativeToJson); - Optional _city = Optional.optional(nativeFromJson, nativeToJson); - Optional _serviceSpecialty = Optional.optional(nativeFromJson, nativeToJson); - Optional _approvalStatus = Optional.optional((data) => ApprovalStatus.values.byName(data), enumSerializer); - Optional _isActive = Optional.optional(nativeFromJson, nativeToJson); - Optional _markup = Optional.optional(nativeFromJson, nativeToJson); - Optional _fee = Optional.optional(nativeFromJson, nativeToJson); - Optional _csat = Optional.optional(nativeFromJson, nativeToJson); - Optional _tier = Optional.optional((data) => VendorTier.values.byName(data), enumSerializer); - - final FirebaseDataConnect _dataConnect; UpdateVendorVariablesBuilder companyName(String? t) { - _companyName.value = t; - return this; - } - UpdateVendorVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - UpdateVendorVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - UpdateVendorVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - UpdateVendorVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - UpdateVendorVariablesBuilder billingAddress(String? t) { - _billingAddress.value = t; - return this; - } - UpdateVendorVariablesBuilder timezone(String? t) { - _timezone.value = t; - return this; - } - UpdateVendorVariablesBuilder legalName(String? t) { - _legalName.value = t; - return this; - } - UpdateVendorVariablesBuilder doingBusinessAs(String? t) { - _doingBusinessAs.value = t; - return this; - } - UpdateVendorVariablesBuilder region(String? t) { - _region.value = t; - return this; - } - UpdateVendorVariablesBuilder state(String? t) { - _state.value = t; - return this; - } - UpdateVendorVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - UpdateVendorVariablesBuilder serviceSpecialty(String? t) { - _serviceSpecialty.value = t; - return this; - } - UpdateVendorVariablesBuilder approvalStatus(ApprovalStatus? t) { - _approvalStatus.value = t; - return this; - } - UpdateVendorVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateVendorVariablesBuilder markup(double? t) { - _markup.value = t; - return this; - } - UpdateVendorVariablesBuilder fee(double? t) { - _fee.value = t; - return this; - } - UpdateVendorVariablesBuilder csat(double? t) { - _csat.value = t; - return this; - } - UpdateVendorVariablesBuilder tier(VendorTier? t) { - _tier.value = t; - return this; - } - - UpdateVendorVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateVendorData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateVendorVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateVendorVariables vars= UpdateVendorVariables(id: id,companyName: _companyName,email: _email,phone: _phone,photoUrl: _photoUrl,address: _address,billingAddress: _billingAddress,timezone: _timezone,legalName: _legalName,doingBusinessAs: _doingBusinessAs,region: _region,state: _state,city: _city,serviceSpecialty: _serviceSpecialty,approvalStatus: _approvalStatus,isActive: _isActive,markup: _markup,fee: _fee,csat: _csat,tier: _tier,); - return _dataConnect.mutation("updateVendor", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateVendorVendorUpdate { - final String id; - UpdateVendorVendorUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateVendorVendorUpdate otherTyped = other as UpdateVendorVendorUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateVendorVendorUpdate({ - required this.id, - }); -} - -@immutable -class UpdateVendorData { - final UpdateVendorVendorUpdate? vendor_update; - UpdateVendorData.fromJson(dynamic json): - - vendor_update = json['vendor_update'] == null ? null : UpdateVendorVendorUpdate.fromJson(json['vendor_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateVendorData otherTyped = other as UpdateVendorData; - return vendor_update == otherTyped.vendor_update; - - } - @override - int get hashCode => vendor_update.hashCode; - - - Map toJson() { - Map json = {}; - if (vendor_update != null) { - json['vendor_update'] = vendor_update!.toJson(); - } - return json; - } - - UpdateVendorData({ - this.vendor_update, - }); -} - -@immutable -class UpdateVendorVariables { - final String id; - late final OptionalcompanyName; - late final Optionalemail; - late final Optionalphone; - late final OptionalphotoUrl; - late final Optionaladdress; - late final OptionalbillingAddress; - late final Optionaltimezone; - late final OptionallegalName; - late final OptionaldoingBusinessAs; - late final Optionalregion; - late final Optionalstate; - late final Optionalcity; - late final OptionalserviceSpecialty; - late final OptionalapprovalStatus; - late final OptionalisActive; - late final Optionalmarkup; - late final Optionalfee; - late final Optionalcsat; - late final Optionaltier; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateVendorVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - companyName = Optional.optional(nativeFromJson, nativeToJson); - companyName.value = json['companyName'] == null ? null : nativeFromJson(json['companyName']); - - - email = Optional.optional(nativeFromJson, nativeToJson); - email.value = json['email'] == null ? null : nativeFromJson(json['email']); - - - phone = Optional.optional(nativeFromJson, nativeToJson); - phone.value = json['phone'] == null ? null : nativeFromJson(json['phone']); - - - photoUrl = Optional.optional(nativeFromJson, nativeToJson); - photoUrl.value = json['photoUrl'] == null ? null : nativeFromJson(json['photoUrl']); - - - address = Optional.optional(nativeFromJson, nativeToJson); - address.value = json['address'] == null ? null : nativeFromJson(json['address']); - - - billingAddress = Optional.optional(nativeFromJson, nativeToJson); - billingAddress.value = json['billingAddress'] == null ? null : nativeFromJson(json['billingAddress']); - - - timezone = Optional.optional(nativeFromJson, nativeToJson); - timezone.value = json['timezone'] == null ? null : nativeFromJson(json['timezone']); - - - legalName = Optional.optional(nativeFromJson, nativeToJson); - legalName.value = json['legalName'] == null ? null : nativeFromJson(json['legalName']); - - - doingBusinessAs = Optional.optional(nativeFromJson, nativeToJson); - doingBusinessAs.value = json['doingBusinessAs'] == null ? null : nativeFromJson(json['doingBusinessAs']); - - - region = Optional.optional(nativeFromJson, nativeToJson); - region.value = json['region'] == null ? null : nativeFromJson(json['region']); - - - state = Optional.optional(nativeFromJson, nativeToJson); - state.value = json['state'] == null ? null : nativeFromJson(json['state']); - - - city = Optional.optional(nativeFromJson, nativeToJson); - city.value = json['city'] == null ? null : nativeFromJson(json['city']); - - - serviceSpecialty = Optional.optional(nativeFromJson, nativeToJson); - serviceSpecialty.value = json['serviceSpecialty'] == null ? null : nativeFromJson(json['serviceSpecialty']); - - - approvalStatus = Optional.optional((data) => ApprovalStatus.values.byName(data), enumSerializer); - approvalStatus.value = json['approvalStatus'] == null ? null : ApprovalStatus.values.byName(json['approvalStatus']); - - - isActive = Optional.optional(nativeFromJson, nativeToJson); - isActive.value = json['isActive'] == null ? null : nativeFromJson(json['isActive']); - - - markup = Optional.optional(nativeFromJson, nativeToJson); - markup.value = json['markup'] == null ? null : nativeFromJson(json['markup']); - - - fee = Optional.optional(nativeFromJson, nativeToJson); - fee.value = json['fee'] == null ? null : nativeFromJson(json['fee']); - - - csat = Optional.optional(nativeFromJson, nativeToJson); - csat.value = json['csat'] == null ? null : nativeFromJson(json['csat']); - - - tier = Optional.optional((data) => VendorTier.values.byName(data), enumSerializer); - tier.value = json['tier'] == null ? null : VendorTier.values.byName(json['tier']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateVendorVariables otherTyped = other as UpdateVendorVariables; - return id == otherTyped.id && - companyName == otherTyped.companyName && - email == otherTyped.email && - phone == otherTyped.phone && - photoUrl == otherTyped.photoUrl && - address == otherTyped.address && - billingAddress == otherTyped.billingAddress && - timezone == otherTyped.timezone && - legalName == otherTyped.legalName && - doingBusinessAs == otherTyped.doingBusinessAs && - region == otherTyped.region && - state == otherTyped.state && - city == otherTyped.city && - serviceSpecialty == otherTyped.serviceSpecialty && - approvalStatus == otherTyped.approvalStatus && - isActive == otherTyped.isActive && - markup == otherTyped.markup && - fee == otherTyped.fee && - csat == otherTyped.csat && - tier == otherTyped.tier; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, companyName.hashCode, email.hashCode, phone.hashCode, photoUrl.hashCode, address.hashCode, billingAddress.hashCode, timezone.hashCode, legalName.hashCode, doingBusinessAs.hashCode, region.hashCode, state.hashCode, city.hashCode, serviceSpecialty.hashCode, approvalStatus.hashCode, isActive.hashCode, markup.hashCode, fee.hashCode, csat.hashCode, tier.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(companyName.state == OptionalState.set) { - json['companyName'] = companyName.toJson(); - } - if(email.state == OptionalState.set) { - json['email'] = email.toJson(); - } - if(phone.state == OptionalState.set) { - json['phone'] = phone.toJson(); - } - if(photoUrl.state == OptionalState.set) { - json['photoUrl'] = photoUrl.toJson(); - } - if(address.state == OptionalState.set) { - json['address'] = address.toJson(); - } - if(billingAddress.state == OptionalState.set) { - json['billingAddress'] = billingAddress.toJson(); - } - if(timezone.state == OptionalState.set) { - json['timezone'] = timezone.toJson(); - } - if(legalName.state == OptionalState.set) { - json['legalName'] = legalName.toJson(); - } - if(doingBusinessAs.state == OptionalState.set) { - json['doingBusinessAs'] = doingBusinessAs.toJson(); - } - if(region.state == OptionalState.set) { - json['region'] = region.toJson(); - } - if(state.state == OptionalState.set) { - json['state'] = state.toJson(); - } - if(city.state == OptionalState.set) { - json['city'] = city.toJson(); - } - if(serviceSpecialty.state == OptionalState.set) { - json['serviceSpecialty'] = serviceSpecialty.toJson(); - } - if(approvalStatus.state == OptionalState.set) { - json['approvalStatus'] = approvalStatus.toJson(); - } - if(isActive.state == OptionalState.set) { - json['isActive'] = isActive.toJson(); - } - if(markup.state == OptionalState.set) { - json['markup'] = markup.toJson(); - } - if(fee.state == OptionalState.set) { - json['fee'] = fee.toJson(); - } - if(csat.state == OptionalState.set) { - json['csat'] = csat.toJson(); - } - if(tier.state == OptionalState.set) { - json['tier'] = tier.toJson(); - } - return json; - } - - UpdateVendorVariables({ - required this.id, - required this.companyName, - required this.email, - required this.phone, - required this.photoUrl, - required this.address, - required this.billingAddress, - required this.timezone, - required this.legalName, - required this.doingBusinessAs, - required this.region, - required this.state, - required this.city, - required this.serviceSpecialty, - required this.approvalStatus, - required this.isActive, - required this.markup, - required this.fee, - required this.csat, - required this.tier, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_vendor_benefit_plan.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_vendor_benefit_plan.dart deleted file mode 100644 index 1701bb78..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_vendor_benefit_plan.dart +++ /dev/null @@ -1,232 +0,0 @@ -part of 'generated.dart'; - -class UpdateVendorBenefitPlanVariablesBuilder { - String id; - Optional _vendorId = Optional.optional(nativeFromJson, nativeToJson); - Optional _title = Optional.optional(nativeFromJson, nativeToJson); - Optional _description = Optional.optional(nativeFromJson, nativeToJson); - Optional _requestLabel = Optional.optional(nativeFromJson, nativeToJson); - Optional _total = Optional.optional(nativeFromJson, nativeToJson); - Optional _isActive = Optional.optional(nativeFromJson, nativeToJson); - Optional _createdBy = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateVendorBenefitPlanVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder requestLabel(String? t) { - _requestLabel.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder total(int? t) { - _total.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder createdBy(String? t) { - _createdBy.value = t; - return this; - } - - UpdateVendorBenefitPlanVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateVendorBenefitPlanData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateVendorBenefitPlanVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateVendorBenefitPlanVariables vars= UpdateVendorBenefitPlanVariables(id: id,vendorId: _vendorId,title: _title,description: _description,requestLabel: _requestLabel,total: _total,isActive: _isActive,createdBy: _createdBy,); - return _dataConnect.mutation("updateVendorBenefitPlan", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateVendorBenefitPlanVendorBenefitPlanUpdate { - final String id; - UpdateVendorBenefitPlanVendorBenefitPlanUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateVendorBenefitPlanVendorBenefitPlanUpdate otherTyped = other as UpdateVendorBenefitPlanVendorBenefitPlanUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateVendorBenefitPlanVendorBenefitPlanUpdate({ - required this.id, - }); -} - -@immutable -class UpdateVendorBenefitPlanData { - final UpdateVendorBenefitPlanVendorBenefitPlanUpdate? vendorBenefitPlan_update; - UpdateVendorBenefitPlanData.fromJson(dynamic json): - - vendorBenefitPlan_update = json['vendorBenefitPlan_update'] == null ? null : UpdateVendorBenefitPlanVendorBenefitPlanUpdate.fromJson(json['vendorBenefitPlan_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateVendorBenefitPlanData otherTyped = other as UpdateVendorBenefitPlanData; - return vendorBenefitPlan_update == otherTyped.vendorBenefitPlan_update; - - } - @override - int get hashCode => vendorBenefitPlan_update.hashCode; - - - Map toJson() { - Map json = {}; - if (vendorBenefitPlan_update != null) { - json['vendorBenefitPlan_update'] = vendorBenefitPlan_update!.toJson(); - } - return json; - } - - UpdateVendorBenefitPlanData({ - this.vendorBenefitPlan_update, - }); -} - -@immutable -class UpdateVendorBenefitPlanVariables { - final String id; - late final OptionalvendorId; - late final Optionaltitle; - late final Optionaldescription; - late final OptionalrequestLabel; - late final Optionaltotal; - late final OptionalisActive; - late final OptionalcreatedBy; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateVendorBenefitPlanVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - vendorId = Optional.optional(nativeFromJson, nativeToJson); - vendorId.value = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']); - - - title = Optional.optional(nativeFromJson, nativeToJson); - title.value = json['title'] == null ? null : nativeFromJson(json['title']); - - - description = Optional.optional(nativeFromJson, nativeToJson); - description.value = json['description'] == null ? null : nativeFromJson(json['description']); - - - requestLabel = Optional.optional(nativeFromJson, nativeToJson); - requestLabel.value = json['requestLabel'] == null ? null : nativeFromJson(json['requestLabel']); - - - total = Optional.optional(nativeFromJson, nativeToJson); - total.value = json['total'] == null ? null : nativeFromJson(json['total']); - - - isActive = Optional.optional(nativeFromJson, nativeToJson); - isActive.value = json['isActive'] == null ? null : nativeFromJson(json['isActive']); - - - createdBy = Optional.optional(nativeFromJson, nativeToJson); - createdBy.value = json['createdBy'] == null ? null : nativeFromJson(json['createdBy']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateVendorBenefitPlanVariables otherTyped = other as UpdateVendorBenefitPlanVariables; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - title == otherTyped.title && - description == otherTyped.description && - requestLabel == otherTyped.requestLabel && - total == otherTyped.total && - isActive == otherTyped.isActive && - createdBy == otherTyped.createdBy; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, title.hashCode, description.hashCode, requestLabel.hashCode, total.hashCode, isActive.hashCode, createdBy.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(vendorId.state == OptionalState.set) { - json['vendorId'] = vendorId.toJson(); - } - if(title.state == OptionalState.set) { - json['title'] = title.toJson(); - } - if(description.state == OptionalState.set) { - json['description'] = description.toJson(); - } - if(requestLabel.state == OptionalState.set) { - json['requestLabel'] = requestLabel.toJson(); - } - if(total.state == OptionalState.set) { - json['total'] = total.toJson(); - } - if(isActive.state == OptionalState.set) { - json['isActive'] = isActive.toJson(); - } - if(createdBy.state == OptionalState.set) { - json['createdBy'] = createdBy.toJson(); - } - return json; - } - - UpdateVendorBenefitPlanVariables({ - required this.id, - required this.vendorId, - required this.title, - required this.description, - required this.requestLabel, - required this.total, - required this.isActive, - required this.createdBy, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_vendor_rate.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_vendor_rate.dart deleted file mode 100644 index 882c840d..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_vendor_rate.dart +++ /dev/null @@ -1,262 +0,0 @@ -part of 'generated.dart'; - -class UpdateVendorRateVariablesBuilder { - String id; - Optional _vendorId = Optional.optional(nativeFromJson, nativeToJson); - Optional _roleName = Optional.optional(nativeFromJson, nativeToJson); - Optional _category = Optional.optional((data) => CategoryType.values.byName(data), enumSerializer); - Optional _clientRate = Optional.optional(nativeFromJson, nativeToJson); - Optional _employeeWage = Optional.optional(nativeFromJson, nativeToJson); - Optional _markupPercentage = Optional.optional(nativeFromJson, nativeToJson); - Optional _vendorFeePercentage = Optional.optional(nativeFromJson, nativeToJson); - Optional _isActive = Optional.optional(nativeFromJson, nativeToJson); - Optional _notes = Optional.optional(nativeFromJson, nativeToJson); - - final FirebaseDataConnect _dataConnect; UpdateVendorRateVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateVendorRateVariablesBuilder roleName(String? t) { - _roleName.value = t; - return this; - } - UpdateVendorRateVariablesBuilder category(CategoryType? t) { - _category.value = t; - return this; - } - UpdateVendorRateVariablesBuilder clientRate(double? t) { - _clientRate.value = t; - return this; - } - UpdateVendorRateVariablesBuilder employeeWage(double? t) { - _employeeWage.value = t; - return this; - } - UpdateVendorRateVariablesBuilder markupPercentage(double? t) { - _markupPercentage.value = t; - return this; - } - UpdateVendorRateVariablesBuilder vendorFeePercentage(double? t) { - _vendorFeePercentage.value = t; - return this; - } - UpdateVendorRateVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateVendorRateVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - UpdateVendorRateVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateVendorRateData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateVendorRateVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateVendorRateVariables vars= UpdateVendorRateVariables(id: id,vendorId: _vendorId,roleName: _roleName,category: _category,clientRate: _clientRate,employeeWage: _employeeWage,markupPercentage: _markupPercentage,vendorFeePercentage: _vendorFeePercentage,isActive: _isActive,notes: _notes,); - return _dataConnect.mutation("updateVendorRate", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateVendorRateVendorRateUpdate { - final String id; - UpdateVendorRateVendorRateUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateVendorRateVendorRateUpdate otherTyped = other as UpdateVendorRateVendorRateUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateVendorRateVendorRateUpdate({ - required this.id, - }); -} - -@immutable -class UpdateVendorRateData { - final UpdateVendorRateVendorRateUpdate? vendorRate_update; - UpdateVendorRateData.fromJson(dynamic json): - - vendorRate_update = json['vendorRate_update'] == null ? null : UpdateVendorRateVendorRateUpdate.fromJson(json['vendorRate_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateVendorRateData otherTyped = other as UpdateVendorRateData; - return vendorRate_update == otherTyped.vendorRate_update; - - } - @override - int get hashCode => vendorRate_update.hashCode; - - - Map toJson() { - Map json = {}; - if (vendorRate_update != null) { - json['vendorRate_update'] = vendorRate_update!.toJson(); - } - return json; - } - - UpdateVendorRateData({ - this.vendorRate_update, - }); -} - -@immutable -class UpdateVendorRateVariables { - final String id; - late final OptionalvendorId; - late final OptionalroleName; - late final Optionalcategory; - late final OptionalclientRate; - late final OptionalemployeeWage; - late final OptionalmarkupPercentage; - late final OptionalvendorFeePercentage; - late final OptionalisActive; - late final Optionalnotes; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateVendorRateVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - vendorId = Optional.optional(nativeFromJson, nativeToJson); - vendorId.value = json['vendorId'] == null ? null : nativeFromJson(json['vendorId']); - - - roleName = Optional.optional(nativeFromJson, nativeToJson); - roleName.value = json['roleName'] == null ? null : nativeFromJson(json['roleName']); - - - category = Optional.optional((data) => CategoryType.values.byName(data), enumSerializer); - category.value = json['category'] == null ? null : CategoryType.values.byName(json['category']); - - - clientRate = Optional.optional(nativeFromJson, nativeToJson); - clientRate.value = json['clientRate'] == null ? null : nativeFromJson(json['clientRate']); - - - employeeWage = Optional.optional(nativeFromJson, nativeToJson); - employeeWage.value = json['employeeWage'] == null ? null : nativeFromJson(json['employeeWage']); - - - markupPercentage = Optional.optional(nativeFromJson, nativeToJson); - markupPercentage.value = json['markupPercentage'] == null ? null : nativeFromJson(json['markupPercentage']); - - - vendorFeePercentage = Optional.optional(nativeFromJson, nativeToJson); - vendorFeePercentage.value = json['vendorFeePercentage'] == null ? null : nativeFromJson(json['vendorFeePercentage']); - - - isActive = Optional.optional(nativeFromJson, nativeToJson); - isActive.value = json['isActive'] == null ? null : nativeFromJson(json['isActive']); - - - notes = Optional.optional(nativeFromJson, nativeToJson); - notes.value = json['notes'] == null ? null : nativeFromJson(json['notes']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateVendorRateVariables otherTyped = other as UpdateVendorRateVariables; - return id == otherTyped.id && - vendorId == otherTyped.vendorId && - roleName == otherTyped.roleName && - category == otherTyped.category && - clientRate == otherTyped.clientRate && - employeeWage == otherTyped.employeeWage && - markupPercentage == otherTyped.markupPercentage && - vendorFeePercentage == otherTyped.vendorFeePercentage && - isActive == otherTyped.isActive && - notes == otherTyped.notes; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, vendorId.hashCode, roleName.hashCode, category.hashCode, clientRate.hashCode, employeeWage.hashCode, markupPercentage.hashCode, vendorFeePercentage.hashCode, isActive.hashCode, notes.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(vendorId.state == OptionalState.set) { - json['vendorId'] = vendorId.toJson(); - } - if(roleName.state == OptionalState.set) { - json['roleName'] = roleName.toJson(); - } - if(category.state == OptionalState.set) { - json['category'] = category.toJson(); - } - if(clientRate.state == OptionalState.set) { - json['clientRate'] = clientRate.toJson(); - } - if(employeeWage.state == OptionalState.set) { - json['employeeWage'] = employeeWage.toJson(); - } - if(markupPercentage.state == OptionalState.set) { - json['markupPercentage'] = markupPercentage.toJson(); - } - if(vendorFeePercentage.state == OptionalState.set) { - json['vendorFeePercentage'] = vendorFeePercentage.toJson(); - } - if(isActive.state == OptionalState.set) { - json['isActive'] = isActive.toJson(); - } - if(notes.state == OptionalState.set) { - json['notes'] = notes.toJson(); - } - return json; - } - - UpdateVendorRateVariables({ - required this.id, - required this.vendorId, - required this.roleName, - required this.category, - required this.clientRate, - required this.employeeWage, - required this.markupPercentage, - required this.vendorFeePercentage, - required this.isActive, - required this.notes, - }); -} - diff --git a/apps/packages/data_connect/lib/src/dataconnect_generated/update_workforce.dart b/apps/packages/data_connect/lib/src/dataconnect_generated/update_workforce.dart deleted file mode 100644 index 7a5e9354..00000000 --- a/apps/packages/data_connect/lib/src/dataconnect_generated/update_workforce.dart +++ /dev/null @@ -1,172 +0,0 @@ -part of 'generated.dart'; - -class UpdateWorkforceVariablesBuilder { - String id; - Optional _workforceNumber = Optional.optional(nativeFromJson, nativeToJson); - Optional _employmentType = Optional.optional((data) => WorkforceEmploymentType.values.byName(data), enumSerializer); - Optional _status = Optional.optional((data) => WorkforceStatus.values.byName(data), enumSerializer); - - final FirebaseDataConnect _dataConnect; UpdateWorkforceVariablesBuilder workforceNumber(String? t) { - _workforceNumber.value = t; - return this; - } - UpdateWorkforceVariablesBuilder employmentType(WorkforceEmploymentType? t) { - _employmentType.value = t; - return this; - } - UpdateWorkforceVariablesBuilder status(WorkforceStatus? t) { - _status.value = t; - return this; - } - - UpdateWorkforceVariablesBuilder(this._dataConnect, {required this.id,}); - Deserializer dataDeserializer = (dynamic json) => UpdateWorkforceData.fromJson(jsonDecode(json)); - Serializer varsSerializer = (UpdateWorkforceVariables vars) => jsonEncode(vars.toJson()); - Future> execute() { - return ref().execute(); - } - - MutationRef ref() { - UpdateWorkforceVariables vars= UpdateWorkforceVariables(id: id,workforceNumber: _workforceNumber,employmentType: _employmentType,status: _status,); - return _dataConnect.mutation("updateWorkforce", dataDeserializer, varsSerializer, vars); - } -} - -@immutable -class UpdateWorkforceWorkforceUpdate { - final String id; - UpdateWorkforceWorkforceUpdate.fromJson(dynamic json): - - id = nativeFromJson(json['id']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateWorkforceWorkforceUpdate otherTyped = other as UpdateWorkforceWorkforceUpdate; - return id == otherTyped.id; - - } - @override - int get hashCode => id.hashCode; - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - return json; - } - - UpdateWorkforceWorkforceUpdate({ - required this.id, - }); -} - -@immutable -class UpdateWorkforceData { - final UpdateWorkforceWorkforceUpdate? workforce_update; - UpdateWorkforceData.fromJson(dynamic json): - - workforce_update = json['workforce_update'] == null ? null : UpdateWorkforceWorkforceUpdate.fromJson(json['workforce_update']); - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateWorkforceData otherTyped = other as UpdateWorkforceData; - return workforce_update == otherTyped.workforce_update; - - } - @override - int get hashCode => workforce_update.hashCode; - - - Map toJson() { - Map json = {}; - if (workforce_update != null) { - json['workforce_update'] = workforce_update!.toJson(); - } - return json; - } - - UpdateWorkforceData({ - this.workforce_update, - }); -} - -@immutable -class UpdateWorkforceVariables { - final String id; - late final OptionalworkforceNumber; - late final OptionalemploymentType; - late final Optionalstatus; - @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') - UpdateWorkforceVariables.fromJson(Map json): - - id = nativeFromJson(json['id']) { - - - - workforceNumber = Optional.optional(nativeFromJson, nativeToJson); - workforceNumber.value = json['workforceNumber'] == null ? null : nativeFromJson(json['workforceNumber']); - - - employmentType = Optional.optional((data) => WorkforceEmploymentType.values.byName(data), enumSerializer); - employmentType.value = json['employmentType'] == null ? null : WorkforceEmploymentType.values.byName(json['employmentType']); - - - status = Optional.optional((data) => WorkforceStatus.values.byName(data), enumSerializer); - status.value = json['status'] == null ? null : WorkforceStatus.values.byName(json['status']); - - } - @override - bool operator ==(Object other) { - if(identical(this, other)) { - return true; - } - if(other.runtimeType != runtimeType) { - return false; - } - - final UpdateWorkforceVariables otherTyped = other as UpdateWorkforceVariables; - return id == otherTyped.id && - workforceNumber == otherTyped.workforceNumber && - employmentType == otherTyped.employmentType && - status == otherTyped.status; - - } - @override - int get hashCode => Object.hashAll([id.hashCode, workforceNumber.hashCode, employmentType.hashCode, status.hashCode]); - - - Map toJson() { - Map json = {}; - json['id'] = nativeToJson(id); - if(workforceNumber.state == OptionalState.set) { - json['workforceNumber'] = workforceNumber.toJson(); - } - if(employmentType.state == OptionalState.set) { - json['employmentType'] = employmentType.toJson(); - } - if(status.state == OptionalState.set) { - json['status'] = status.toJson(); - } - return json; - } - - UpdateWorkforceVariables({ - required this.id, - required this.workforceNumber, - required this.employmentType, - required this.status, - }); -} - diff --git a/apps/packages/data_connect/lib/src/mocks/auth_repository_mock.dart b/apps/packages/data_connect/lib/src/mocks/auth_repository_mock.dart deleted file mode 100644 index 1b571cb3..00000000 --- a/apps/packages/data_connect/lib/src/mocks/auth_repository_mock.dart +++ /dev/null @@ -1,48 +0,0 @@ -import 'package:krow_domain/krow_domain.dart'; - -// TODO: Implement AuthRepositoryInterface once defined in a feature package. -class AuthRepositoryMock { - Stream get currentUser => Stream.value( - const User(id: 'mock_user_1', email: 'test@krow.com', role: 'staff'), - ); - - Future signInWithPhone(String phoneNumber) async { - await Future.delayed(const Duration(milliseconds: 500)); - return 'mock_verification_id'; - } - - Future verifyOtp(String verificationId, String smsCode) async { - await Future.delayed(const Duration(milliseconds: 500)); - return const User(id: 'mock_user_1', email: 'test@krow.com', role: 'staff'); - } - - Future signOut() async { - await Future.delayed(const Duration(milliseconds: 200)); - } - - /// Signs in a user with email and password (Mock). - Future signInWithEmail(String email, String password) async { - await Future.delayed(const Duration(milliseconds: 500)); - return User(id: 'mock_client_1', email: email, role: 'client_admin'); - } - - /// Registers a new user with email and password (Mock). - Future signUpWithEmail( - String email, - String password, - String companyName, - ) async { - await Future.delayed(const Duration(milliseconds: 500)); - return User(id: 'mock_client_new', email: email, role: 'client_admin'); - } - - /// Authenticates using a social provider (Mock). - Future signInWithSocial(String provider) async { - await Future.delayed(const Duration(milliseconds: 500)); - return const User( - id: 'mock_social_user', - email: 'social@example.com', - role: 'client_admin', - ); - } -} diff --git a/apps/packages/data_connect/lib/src/mocks/business_repository_mock.dart b/apps/packages/data_connect/lib/src/mocks/business_repository_mock.dart deleted file mode 100644 index 40d2ca9d..00000000 --- a/apps/packages/data_connect/lib/src/mocks/business_repository_mock.dart +++ /dev/null @@ -1,28 +0,0 @@ -import 'package:krow_domain/krow_domain.dart'; - -// TODO: Implement BusinessRepositoryInterface once defined in a feature package. -class BusinessRepositoryMock { - Future getBusiness(String id) async { - await Future.delayed(const Duration(milliseconds: 300)); - return const Business( - id: 'biz_1', - name: 'Acme Events Ltd', - registrationNumber: 'REG123456', - status: BusinessStatus.active, - avatar: 'https://via.placeholder.com/150', - ); - } - - Future> getHubs(String businessId) async { - await Future.delayed(const Duration(milliseconds: 300)); - return [ - const Hub( - id: 'hub_1', - businessId: 'biz_1', - name: 'London HQ', - address: '123 Oxford Street, London', - status: HubStatus.active, - ), - ]; - } -} \ No newline at end of file diff --git a/apps/packages/data_connect/lib/src/mocks/event_repository_mock.dart b/apps/packages/data_connect/lib/src/mocks/event_repository_mock.dart deleted file mode 100644 index 44159611..00000000 --- a/apps/packages/data_connect/lib/src/mocks/event_repository_mock.dart +++ /dev/null @@ -1,58 +0,0 @@ -import 'package:krow_domain/krow_domain.dart'; - -// TODO: Implement EventRepositoryInterface once defined in a feature package. -class EventRepositoryMock { - Future applyForPosition(String positionId, String staffId) async { - await Future.delayed(const Duration(milliseconds: 600)); - return Assignment( - id: 'assign_1', - positionId: positionId, - staffId: staffId, - status: AssignmentStatus.assigned, - ); - } - - Future getEvent(String id) async { - await Future.delayed(const Duration(milliseconds: 300)); - return _mockEvent; - } - - Future> getEventShifts(String eventId) async { - await Future.delayed(const Duration(milliseconds: 300)); - return [ - const EventShift( - id: 'shift_1', - eventId: 'event_1', - name: 'Morning Setup', - address: 'Hyde Park, London', - ), - ]; - } - - Future> getStaffAssignments(String staffId) async { - await Future.delayed(const Duration(milliseconds: 500)); - return [ - const Assignment( - id: 'assign_1', - positionId: 'pos_1', - staffId: 'staff_1', - status: AssignmentStatus.confirmed, - ), - ]; - } - - Future> getUpcomingEvents() async { - await Future.delayed(const Duration(milliseconds: 800)); - return [_mockEvent]; - } - - static final _mockEvent = Event( - id: 'event_1', - businessId: 'biz_1', - hubId: 'hub_1', - name: 'Summer Festival 2026', - date: DateTime.now().add(const Duration(days: 10)), - status: EventStatus.active, - contractType: 'freelance', - ); -} \ No newline at end of file diff --git a/apps/packages/data_connect/lib/src/mocks/financial_repository_mock.dart b/apps/packages/data_connect/lib/src/mocks/financial_repository_mock.dart deleted file mode 100644 index 050cf7e5..00000000 --- a/apps/packages/data_connect/lib/src/mocks/financial_repository_mock.dart +++ /dev/null @@ -1,33 +0,0 @@ -import 'package:krow_domain/krow_domain.dart'; - -// TODO: Implement FinancialRepositoryInterface once defined in a feature package. -class FinancialRepositoryMock { - Future> getInvoices(String businessId) async { - await Future.delayed(const Duration(milliseconds: 500)); - return [ - const Invoice( - id: 'inv_1', - eventId: 'event_1', - businessId: 'biz_1', - status: InvoiceStatus.paid, - totalAmount: 1500.0, - workAmount: 1400.0, - addonsAmount: 100.0, - ), - ]; - } - - Future> getStaffPayments(String staffId) async { - await Future.delayed(const Duration(milliseconds: 500)); - return [ - StaffPayment( - id: 'pay_1', - staffId: staffId, - assignmentId: 'assign_1', - amount: 120.0, - status: PaymentStatus.paid, - paidAt: DateTime.now().subtract(const Duration(days: 2)), - ), - ]; - } -} \ No newline at end of file diff --git a/apps/packages/data_connect/lib/src/mocks/home_repository_mock.dart b/apps/packages/data_connect/lib/src/mocks/home_repository_mock.dart deleted file mode 100644 index 46817026..00000000 --- a/apps/packages/data_connect/lib/src/mocks/home_repository_mock.dart +++ /dev/null @@ -1,21 +0,0 @@ -import 'package:krow_domain/krow_domain.dart'; - -/// Mock implementation of data source for Home dashboard data. -/// -/// This mock simulates backend responses for dashboard-related queries. -class HomeRepositoryMock { - /// Returns a mock [HomeDashboardData]. - Future getDashboardData() async { - // Simulate network delay - await Future.delayed(const Duration(milliseconds: 500)); - - return const HomeDashboardData( - weeklySpending: 4250.0, - next7DaysSpending: 6100.0, - weeklyShifts: 12, - next7DaysScheduled: 18, - totalNeeded: 10, - totalFilled: 8, - ); - } -} diff --git a/apps/packages/data_connect/lib/src/mocks/rating_repository_mock.dart b/apps/packages/data_connect/lib/src/mocks/rating_repository_mock.dart deleted file mode 100644 index eedb0efb..00000000 --- a/apps/packages/data_connect/lib/src/mocks/rating_repository_mock.dart +++ /dev/null @@ -1,22 +0,0 @@ -import 'package:krow_domain/krow_domain.dart'; - -// TODO: Implement RatingRepositoryInterface once defined in a feature package. -class RatingRepositoryMock { - Future> getStaffRatings(String staffId) async { - await Future.delayed(const Duration(milliseconds: 400)); - return [ - const StaffRating( - id: 'rate_1', - staffId: 'staff_1', - eventId: 'event_1', - businessId: 'biz_1', - rating: 5, - comment: 'Great work!', - ), - ]; - } - - Future submitRating(StaffRating rating) async { - await Future.delayed(const Duration(milliseconds: 500)); - } -} \ No newline at end of file diff --git a/apps/packages/data_connect/lib/src/mocks/skill_repository_mock.dart b/apps/packages/data_connect/lib/src/mocks/skill_repository_mock.dart deleted file mode 100644 index a808733c..00000000 --- a/apps/packages/data_connect/lib/src/mocks/skill_repository_mock.dart +++ /dev/null @@ -1,40 +0,0 @@ -import 'package:krow_domain/krow_domain.dart'; - -// TODO: Implement SkillRepositoryInterface once defined in a feature package. -class SkillRepositoryMock { - Future addStaffSkill(StaffSkill skill) async { - await Future.delayed(const Duration(milliseconds: 500)); - } - - Future> getAllSkills() async { - await Future.delayed(const Duration(milliseconds: 300)); - return [ - const Skill( - id: 'skill_1', - categoryId: 'cat_1', - name: 'Bartender', - basePrice: 15.0, - ), - const Skill( - id: 'skill_2', - categoryId: 'cat_2', - name: 'Security Guard', - basePrice: 18.0, - ), - ]; - } - - Future> getStaffSkills(String staffId) async { - await Future.delayed(const Duration(milliseconds: 400)); - return [ - const StaffSkill( - id: 'staff_skill_1', - staffId: 'staff_1', - skillId: 'skill_1', - level: SkillLevel.skilled, - experienceYears: 3, - status: StaffSkillStatus.verified, - ), - ]; - } -} \ No newline at end of file diff --git a/apps/packages/data_connect/lib/src/mocks/staff_repository_mock.dart b/apps/packages/data_connect/lib/src/mocks/staff_repository_mock.dart deleted file mode 100644 index b40479ee..00000000 --- a/apps/packages/data_connect/lib/src/mocks/staff_repository_mock.dart +++ /dev/null @@ -1,39 +0,0 @@ -import 'package:krow_domain/krow_domain.dart'; - -// TODO: Implement StaffRepositoryInterface once defined in a feature package. -class StaffRepositoryMock { - Future createStaffProfile(Staff staff) async { - await Future.delayed(const Duration(milliseconds: 500)); - return staff; - } - - Future> getMemberships(String userId) async { - await Future.delayed(const Duration(milliseconds: 300)); - return [ - Membership( - id: 'mem_1', - userId: userId, - memberableId: 'biz_1', - memberableType: 'business', - role: 'staff', - ), - ]; - } - - Future getStaffProfile(String userId) async { - await Future.delayed(const Duration(milliseconds: 400)); - return Staff( - id: 'staff_1', - authProviderId: userId, - name: 'John Doe', - email: 'john@krow.com', - status: StaffStatus.active, - avatar: 'https://i.pravatar.cc/300', - ); - } - - Future updateStaffProfile(Staff staff) async { - await Future.delayed(const Duration(milliseconds: 500)); - return staff; - } -} \ No newline at end of file diff --git a/apps/packages/data_connect/lib/src/mocks/support_repository_mock.dart b/apps/packages/data_connect/lib/src/mocks/support_repository_mock.dart deleted file mode 100644 index 346eb8d1..00000000 --- a/apps/packages/data_connect/lib/src/mocks/support_repository_mock.dart +++ /dev/null @@ -1,25 +0,0 @@ -import 'package:krow_domain/krow_domain.dart'; - -// TODO: Implement SupportRepositoryInterface once defined in a feature package. -class SupportRepositoryMock { - Future> getTags() async { - await Future.delayed(const Duration(milliseconds: 200)); - return [ - const Tag(id: 'tag_1', label: 'Urgent'), - const Tag(id: 'tag_2', label: 'VIP Event'), - ]; - } - - Future> getWorkingAreas() async { - await Future.delayed(const Duration(milliseconds: 200)); - return [ - const WorkingArea( - id: 'area_1', - name: 'Central London', - centerLat: 51.5074, - centerLng: -0.1278, - radiusKm: 10.0, - ), - ]; - } -} \ No newline at end of file diff --git a/apps/packages/data_connect/pubspec.yaml b/apps/packages/data_connect/pubspec.yaml deleted file mode 100644 index 45610427..00000000 --- a/apps/packages/data_connect/pubspec.yaml +++ /dev/null @@ -1,16 +0,0 @@ -name: krow_data_connect -description: Firebase Data Connect access layer. -version: 0.0.1 -publish_to: none -resolution: workspace - -environment: - sdk: '>=3.10.0 <4.0.0' - flutter: ">=3.0.0" - -dependencies: - flutter: - sdk: flutter - krow_domain: - path: ../domain - flutter_modular: ^6.3.0 diff --git a/apps/packages/design_system/.gitignore b/apps/packages/design_system/.gitignore deleted file mode 100644 index dd5eb989..00000000 --- a/apps/packages/design_system/.gitignore +++ /dev/null @@ -1,31 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ -migrate_working_dir/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. -/pubspec.lock -**/doc/api/ -.dart_tool/ -.flutter-plugins-dependencies -/build/ -/coverage/ diff --git a/apps/packages/design_system/.metadata b/apps/packages/design_system/.metadata deleted file mode 100644 index 685c30f1..00000000 --- a/apps/packages/design_system/.metadata +++ /dev/null @@ -1,10 +0,0 @@ -# This file tracks properties of this Flutter project. -# Used by Flutter tool to assess capabilities and perform upgrades etc. -# -# This file should be version controlled and should not be manually edited. - -version: - revision: "3b62efc2a3da49882f43c372e0bc53daef7295a6" - channel: "stable" - -project_type: package diff --git a/apps/packages/design_system/CHANGELOG.md b/apps/packages/design_system/CHANGELOG.md deleted file mode 100644 index 41cc7d81..00000000 --- a/apps/packages/design_system/CHANGELOG.md +++ /dev/null @@ -1,3 +0,0 @@ -## 0.0.1 - -* TODO: Describe initial release. diff --git a/apps/packages/design_system/LICENSE b/apps/packages/design_system/LICENSE deleted file mode 100644 index ba75c69f..00000000 --- a/apps/packages/design_system/LICENSE +++ /dev/null @@ -1 +0,0 @@ -TODO: Add your license here. diff --git a/apps/packages/design_system/README.md b/apps/packages/design_system/README.md deleted file mode 100644 index 4a260d8d..00000000 --- a/apps/packages/design_system/README.md +++ /dev/null @@ -1,39 +0,0 @@ - - -TODO: Put a short description of the package here that helps potential users -know whether this package might be useful for them. - -## Features - -TODO: List what your package can do. Maybe include images, gifs, or videos. - -## Getting started - -TODO: List prerequisites and provide or point to information on how to -start using the package. - -## Usage - -TODO: Include short and useful examples for package users. Add longer examples -to `/example` folder. - -```dart -const like = 'sample'; -``` - -## Additional information - -TODO: Tell users more about the package: where to find more information, how to -contribute to the package, how to file issues, what response they can expect -from the package authors, and more. diff --git a/apps/packages/design_system/analysis_options.yaml b/apps/packages/design_system/analysis_options.yaml deleted file mode 100644 index ec9d7265..00000000 --- a/apps/packages/design_system/analysis_options.yaml +++ /dev/null @@ -1 +0,0 @@ -include: ../../analytics_options.yaml diff --git a/apps/packages/design_system/assets/logo-blue.png b/apps/packages/design_system/assets/logo-blue.png deleted file mode 100644 index 5d7572316566eacf386f1120ea275a7b16512abf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 69429 zcmZ^LbwHDC8!wwf2Z+E(rABv%l;jYkQ&L(5=}tjl6BP+b0coU>?uMx#CEbnE-5`A) z@KxXUJLmiX&OLEo_to*c@mE!r!NtCXje&uID<>=U00ZNiJq8BY8hRD@=DI2m2>1u& z^g!kwMt˿U}>QysadN=g{4z-K51$j<@;a&Zgra|`&vz_^kO!ngwb3%d9&8T|X| zHT&c%zdwVmFK!%iMjBvXATZ>lBsAPXs}q5mVf^ zwA{gHLGTRpo0PFI_zr;%;inewD}wP*Jv|nAkGQR8gB-Z zY&Y#lEo&$oi2?r4FJu9DX=|3%`Pei5++;UkZ8oZ>FSU%1%dRJeK*_9)9hHnZrII ztz*zfOV@zG%qCn*MLzmduoA@jg?4z2D^bB&h2q$W=6YAm$0{tAX4=2|?GC}f8uyOR z#{4&1fL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ea=I3gWO);R8W zu*ScfOqRE1N{59W5(}Q1+}YSSyp7^@Y8P&9GrcP)x>O$joABQ6@}25`b+$kHw4*V0 ad_J*o@!ao)3y;r%Kc!o0a``tAkN*!(Ay`}h diff --git a/apps/packages/design_system/assets/logo-yellow.png b/apps/packages/design_system/assets/logo-yellow.png deleted file mode 100644 index ef04350b533cf3300ab1a0b957a7a76b0b744143..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 47063 zcmYIPbzGEP)81VcSU_QEr5mI}x|Rm%mPWc81gWJ|Qb0nGZbZ5p6ane(?(WWSeSDtp z{X+zP?77c9=bCF~u9*|6q9pSaod_KO06dkGl~e-&z=&^wN)Qypf6v}J@&N!)fSjb5 zh9__@6%|hW>-=a@Z@VhCL{@-MfulLN1GW`x11a|%nbtr;qlC%I%8JhV zB8#J;(eMFH(rIR2j*4?P2OB==tV_vZiq)duzg-~Xnc8GxWU}rZ?N7;>PSW3 z{`}`j=af!eq+HEom&Xw{DdP3;Vd%uBC z6^a52RM0t&<*58~ye-fpcgfqSEAz<=MjjRpk30kA*Kh2Z@A@)Teqxi-FV zr7C}n;X6Qa>SRf-3H`>Xf&YMI)}W8o;!<>8(Ju5Ao42Ze-!phnmQfGVt?~(lXpe_q zbS3@>>U7>`;MUia#|#EfEc|6ONl)(X_D~-IT@(L<-xt#UhTW1_hLsi;#Lb+egCgGF zjhm(r7W!im9;&vyR{%Jr?EiMMCkD3)h*kczv3_fkc&u}#UENZ=z-)#xY0dIWMEr&q zkcI*F4s}S##IlxV zwa;JhwwW8y4-3ZNU;OQJ(zki7FYpcn73}wAH=J~tfMO;8FNWfzjO${-fcG5TqW}Mx zjA<~+LR#(kk@;QWR;ee<_Q{ny){lPJkrx#o9>8OX*%}YjC$qjX4_$hV3GpFxZwN;M z`KBC>MO-7_G;FF_c+gMA{CjLAG)GaRH~`NNL3f1zJ2nNl)}RfGSp!y2e#5|K<;3N? z@s*wB-Ye{u9wc4Uw!zhD6ykMe_x-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e1pj-mh5nf^XToMh7_7SYC)Z+_}kuHOHEIbCOkohL!8x|Q< zw(}+g-MkOylEgYK{uux!9M_dF3tSU``D6T_V?(0^ecZo+3kM!An4!wr$?K0dg*#eFh)$n_wL{_) zJzg*=?&$}-CwG-_8(4Y%-X%>#>YP6aeAkAu*zf+&WIO;RLp9@<7qdjML=un+8x@#L z^uyciy}t5nB)&wRK{=1c;gFQ*lnoqz7N4lKi{Vcg`Y})cyQB`^Oa??Xov{CW|rZqEx$cLhuy5Q6wwEF|QdWQ0T27|0+Iji7iY=KSzK zsnj7q5&}7&B?7p4Y+aV{~yuA*b(#sUoNSo2plkJ%Z6iLf*{``XDh+USwa!{ z@J$)W5FZg+6;*$q)JoZighA?&Dn!K8xrjQ7Eu!(dAPOjJD%;JmX)N5*V7)O9YC7@L2S9zZCNc7KR5&ue`lM#P-fbPfU(Ke2I~6 zd!cie>%@;Xl70ELf0QDpJ)(ZSGC zz&@LMjw-ZI_p9cfK|H*E3r(?EKvUxBEuvq>LKs3*(<(`mxk|+1Z)Ge${`8uB>;G2% z0Ca&sEM{^&;rO3*07vvC+T|K-B_jJfK*B6fu4Dbk>(+F0UYZ5r0y2O07YJOW7VUv& zf}zSBl;kN(`};S$Hzi{R3~@ySD`)=DUhNV~jCNsx`P-YzuvgrZ{UfOy8cBvdI_@Dt zqndvcB#pEh=EPB{uwTY>g$6Ajj|PHDHb8su0%!5Jc*Yt_F>W5lcz9v^U**7;fsgoI z*#COx*4S;hu*Cy^yRC_O3~|0FJ)F%*WaUa%cE25j*RFIv?z;gs+TQzG6;2FkZ$Iq5 z9if<0;a+e!%BeEJ+k+$+gtd6bL*tf?)%l60C9y^PKx_ja@`rbsQ5)bknKz`p0ij-J zS const ColorScheme( - brightness: Brightness.light, - primary: primary, - onPrimary: primaryForeground, - primaryContainer: tagRefunded, - onPrimaryContainer: primary, - secondary: secondary, - onSecondary: secondaryForeground, - secondaryContainer: muted, - onSecondaryContainer: secondaryForeground, - tertiary: accent, - onTertiary: accentForeground, - tertiaryContainer: bgHighlight, - onTertiaryContainer: accentForeground, - error: destructive, - onError: destructiveForeground, - errorContainer: tagError, - onErrorContainer: textErrorContainer, - surface: background, - onSurface: foreground, - surfaceContainerHighest: muted, - onSurfaceVariant: mutedForeground, - outline: border, - outlineVariant: separatorSecondary, - shadow: black, - scrim: black, - inverseSurface: foreground, - onInverseSurface: background, - inversePrimary: primaryInverse, - surfaceTint: primary, - ); -} diff --git a/apps/packages/design_system/lib/src/ui_constants.dart b/apps/packages/design_system/lib/src/ui_constants.dart deleted file mode 100644 index 4bce22fa..00000000 --- a/apps/packages/design_system/lib/src/ui_constants.dart +++ /dev/null @@ -1,38 +0,0 @@ -import 'package:flutter/material.dart'; - -/// Design system constants for spacing, radii, and other layout properties. -class UiConstants { - UiConstants._(); - - // --- Border Radii --- - - /// Base radius: 12px - static const double radiusBase = 12.0; - static final BorderRadius radiusLg = BorderRadius.circular(radiusBase); - - /// Medium radius: 6px - static const double radiusMdValue = 6.0; - static final BorderRadius radiusMd = BorderRadius.circular(radiusMdValue); - - /// Small radius: 4px - static final BorderRadius radiusSm = BorderRadius.circular(4.0); - - /// Extra small radius: 2px - static final BorderRadius radiusXs = BorderRadius.circular(2.0); - - /// Large/Full radius - static final BorderRadius radiusFull = BorderRadius.circular(999.0); - - // --- Spacing --- - - static const double space0 = 0.0; - static const double space1 = 4.0; - static const double space2 = 8.0; - static const double space3 = 12.0; - static const double space4 = 16.0; - static const double space5 = 20.0; - static const double space6 = 24.0; - static const double space8 = 32.0; - static const double space10 = 40.0; - static const double space12 = 48.0; -} diff --git a/apps/packages/design_system/lib/src/ui_icons.dart b/apps/packages/design_system/lib/src/ui_icons.dart deleted file mode 100644 index 9b3252cf..00000000 --- a/apps/packages/design_system/lib/src/ui_icons.dart +++ /dev/null @@ -1,174 +0,0 @@ -import 'package:flutter/widgets.dart'; -import 'package:font_awesome_flutter/font_awesome_flutter.dart'; -import 'package:lucide_icons/lucide_icons.dart'; - -/// The primary icon library used by the design system. -/// This allows for easier swapping of icon libraries in the future. -typedef _IconLib = LucideIcons; - -/// The secondary icon library used by the design system. -/// This allows for easier swapping of icon libraries in the future. -typedef _IconLib2 = FontAwesomeIcons; - -/// Static definitions of icons for the UI design system. -/// This class wraps the primary icon library to provide a consistent interface. -/// -/// example: -/// ```dart -/// Icon(UiIcons.home) -/// ``` -class UiIcons { - UiIcons._(); - - // --- Navigation --- - - /// Home icon - static const IconData home = _IconLib.home; - - /// Calendar icon for shifts or schedules - static const IconData calendar = _IconLib.calendar; - - /// Briefcase icon for jobs - static const IconData briefcase = _IconLib.briefcase; - - /// User icon for profile - static const IconData user = _IconLib.user; - - /// Settings icon - static const IconData settings = _IconLib.settings; - - // --- Actions --- - - /// Search icon - static const IconData search = _IconLib.search; - - /// Filter icon - static const IconData filter = _IconLib.filter; - - /// Plus/Add icon - static const IconData add = _IconLib.plus; - - /// Edit icon - static const IconData edit = _IconLib.edit2; - - /// Delete/Trash icon - static const IconData delete = _IconLib.trash2; - - /// Checkmark icon - static const IconData check = _IconLib.check; - - /// X/Cancel icon - static const IconData close = _IconLib.x; - - /// Arrow right icon - static const IconData arrowRight = _IconLib.arrowRight; - - /// Arrow left icon - static const IconData arrowLeft = _IconLib.arrowLeft; - - /// Swap/Transfer icon - static const IconData swap = _IconLib.arrowLeftRight; - - /// Chevron right icon - static const IconData chevronRight = _IconLib.chevronRight; - - /// Chevron left icon - static const IconData chevronLeft = _IconLib.chevronLeft; - - // --- Status & Feedback --- - - /// Info icon - static const IconData info = _IconLib.info; - - /// Help/Circle icon - static const IconData help = _IconLib.helpCircle; - - /// Alert/Triangle icon for warnings - static const IconData warning = _IconLib.alertTriangle; - - /// Alert/Circle icon for errors - static const IconData error = _IconLib.alertCircle; - - /// Success/Check circle icon - static const IconData success = _IconLib.checkCircle2; - - // --- Miscellaneous --- - - /// Clock icon - static const IconData clock = _IconLib.clock; - - /// Log in icon - static const IconData logIn = _IconLib.logIn; - - /// Break icon (Coffee) - static const IconData breakIcon = _IconLib.coffee; - - /// Map pin icon for locations - static const IconData mapPin = _IconLib.mapPin; - - /// Dollar sign icon for payments/earnings - static const IconData dollar = _IconLib.dollarSign; - - /// Wallet icon - static const IconData wallet = _IconLib.wallet; - - /// Credit card icon - static const IconData creditCard = _IconLib.creditCard; - - /// Bell icon for notifications - static const IconData bell = _IconLib.bell; - - /// Log out icon - static const IconData logOut = _IconLib.logOut; - - /// File/Document icon - static const IconData file = _IconLib.fileText; - - /// Lock icon - static const IconData lock = _IconLib.lock; - - /// Shield check icon for compliance/security - static const IconData shield = _IconLib.shieldCheck; - - /// Sparkles icon for features or AI - static const IconData sparkles = _IconLib.sparkles; - - /// Star icon for ratings - static const IconData star = _IconLib.star; - - /// Camera icon for photo upload - static const IconData camera = _IconLib.camera; - - /// Mail icon - static const IconData mail = _IconLib.mail; - - /// Eye icon for visibility - static const IconData eye = _IconLib.eye; - - /// Eye off icon for hidden visibility - static const IconData eyeOff = _IconLib.eyeOff; - - /// Building icon for companies - static const IconData building = _IconLib.building2; - - /// Zap icon for rapid actions - static const IconData zap = _IconLib.zap; - - /// Grip vertical icon for reordering - static const IconData gripVertical = _IconLib.gripVertical; - - /// Trending down icon for insights - static const IconData trendingDown = _IconLib.trendingDown; - - /// Target icon for metrics - static const IconData target = _IconLib.target; - - /// Rotate CCW icon for reordering - static const IconData rotateCcw = _IconLib.rotateCcw; - - /// Apple icon - static const IconData apple = _IconLib2.apple; - - /// Google icon - static const IconData google = _IconLib2.google; -} diff --git a/apps/packages/design_system/lib/src/ui_images_assets.dart b/apps/packages/design_system/lib/src/ui_images_assets.dart deleted file mode 100644 index 14b32f0d..00000000 --- a/apps/packages/design_system/lib/src/ui_images_assets.dart +++ /dev/null @@ -1,14 +0,0 @@ -/// Static definitions of image asset paths for the Design System. -/// -/// This class provides a centralized way to access image assets -/// stored within the `design_system` package. -class UiImageAssets { - UiImageAssets._(); - - /// The path to the yellow version of the logo image. - static const String logoYellow = - 'packages/design_system/assets/logo-yellow.png'; - - /// The path to the blue version of the logo image. - static const String logoBlue = 'packages/design_system/assets/logo-blue.png'; -} diff --git a/apps/packages/design_system/lib/src/ui_theme.dart b/apps/packages/design_system/lib/src/ui_theme.dart deleted file mode 100644 index 47252d81..00000000 --- a/apps/packages/design_system/lib/src/ui_theme.dart +++ /dev/null @@ -1,359 +0,0 @@ -import 'package:flutter/material.dart'; -import 'ui_colors.dart'; -import 'ui_typography.dart'; -import 'ui_constants.dart'; - -/// The main entry point for the Staff Design System theme. -/// Assembles colors, typography, and constants into a comprehensive Material 3 theme. -/// -/// Adheres to the tokens defined in design_tokens_react.md. -class UiTheme { - UiTheme._(); - - /// Returns the light theme for the Staff application. - static ThemeData get light { - final colorScheme = UiColors.colorScheme; - final textTheme = UiTypography.textTheme; - - return ThemeData( - useMaterial3: true, - colorScheme: colorScheme, - scaffoldBackgroundColor: UiColors.background, - primaryColor: UiColors.primary, - canvasColor: UiColors.background, - - // Typography - textTheme: textTheme, - - // Icon Theme - iconTheme: const IconThemeData(color: UiColors.iconPrimary, size: 24), - - // Text Selection Theme - textSelectionTheme: const TextSelectionThemeData( - cursorColor: UiColors.primary, - selectionColor: UiColors.primaryInverse, - selectionHandleColor: UiColors.primary, - ), - - // Divider Theme - dividerTheme: const DividerThemeData( - color: UiColors.separatorPrimary, - space: 1, - thickness: 1, - ), - - // Card Theme - cardTheme: CardThemeData( - color: UiColors.white, - elevation: 2, - shadowColor: UiColors.popupShadow, - shape: RoundedRectangleBorder( - borderRadius: UiConstants.radiusLg, - side: const BorderSide(color: UiColors.borderStill), - ), - margin: EdgeInsets.zero, - ), - - // Elevated Button Theme (Primary) - elevatedButtonTheme: ElevatedButtonThemeData( - style: - ElevatedButton.styleFrom( - elevation: 0, - backgroundColor: UiColors.buttonPrimaryStill, - foregroundColor: UiColors.primaryForeground, - disabledBackgroundColor: UiColors.buttonPrimaryInactive, - textStyle: UiTypography.buttonXL, - shape: RoundedRectangleBorder(borderRadius: UiConstants.radiusLg), - padding: const EdgeInsets.symmetric( - horizontal: UiConstants.space6, - vertical: UiConstants.space3, - ), - minimumSize: const Size(double.infinity, 54), - maximumSize: const Size(double.infinity, 54), - ).copyWith( - side: WidgetStateProperty.resolveWith((states) { - if (states.contains(WidgetState.disabled)) { - return const BorderSide( - color: UiColors.borderPrimary, - width: 0.5, - ); - } - return null; - }), - overlayColor: WidgetStateProperty.resolveWith((states) { - if (states.contains(WidgetState.hovered)) - return UiColors.buttonPrimaryHover; - return null; - }), - ), - ), - - // Text Button Theme - textButtonTheme: TextButtonThemeData( - style: TextButton.styleFrom( - foregroundColor: UiColors.textPrimary, - disabledForegroundColor: UiColors.textInactive, - textStyle: UiTypography.buttonXL, - shape: RoundedRectangleBorder(borderRadius: UiConstants.radiusLg), - padding: const EdgeInsets.symmetric( - horizontal: UiConstants.space4, - vertical: UiConstants.space2, - ), - minimumSize: const Size(double.infinity, 52), - maximumSize: const Size(double.infinity, 52), - ), - ), - - // Outlined Button Theme (Secondary) - outlinedButtonTheme: OutlinedButtonThemeData( - style: OutlinedButton.styleFrom( - elevation: 0, - backgroundColor: UiColors.buttonSecondaryStill, - foregroundColor: UiColors.primary, - side: const BorderSide(color: UiColors.borderFocus, width: 0.5), - textStyle: UiTypography.buttonXL, - shape: RoundedRectangleBorder(borderRadius: UiConstants.radiusLg), - padding: const EdgeInsets.symmetric( - horizontal: UiConstants.space4, - vertical: UiConstants.space3, - ), - minimumSize: const Size(double.infinity, 52), - maximumSize: const Size(double.infinity, 52), - ), - ), - - // Icon Button Theme - iconButtonTheme: IconButtonThemeData( - style: IconButton.styleFrom( - foregroundColor: UiColors.iconPrimary, - disabledForegroundColor: UiColors.iconInactive, - shape: RoundedRectangleBorder(borderRadius: UiConstants.radiusFull), - ), - ), - - // Floating Action Button Theme - floatingActionButtonTheme: const FloatingActionButtonThemeData( - backgroundColor: UiColors.primary, - foregroundColor: UiColors.primaryForeground, - elevation: 4, - shape: CircleBorder(), - ), - - // Tab Bar Theme - tabBarTheme: TabBarThemeData( - labelColor: UiColors.primary, - unselectedLabelColor: UiColors.textSecondary, - labelStyle: UiTypography.buttonM, - unselectedLabelStyle: UiTypography.buttonM, - indicatorSize: TabBarIndicatorSize.label, - indicator: const UnderlineTabIndicator( - borderSide: BorderSide(color: UiColors.primary, width: 2), - ), - ), - - // Input Theme - inputDecorationTheme: InputDecorationTheme( - filled: true, - fillColor: UiColors.bgInputField, - hintStyle: UiTypography.body2r.textPlaceholder, - labelStyle: UiTypography.body4r.textPrimary, - errorStyle: UiTypography.footnote1r.textError, - contentPadding: const EdgeInsets.symmetric( - horizontal: UiConstants.space3, - vertical: UiConstants.space3, - ), - border: OutlineInputBorder( - borderRadius: UiConstants.radiusMd, - borderSide: const BorderSide(color: UiColors.borderStill), - ), - enabledBorder: OutlineInputBorder( - borderRadius: UiConstants.radiusMd, - borderSide: const BorderSide(color: UiColors.borderStill), - ), - focusedBorder: OutlineInputBorder( - borderRadius: UiConstants.radiusMd, - borderSide: const BorderSide( - color: UiColors.borderFocus, - width: 0.75, - ), - ), - errorBorder: OutlineInputBorder( - borderRadius: UiConstants.radiusMd, - borderSide: const BorderSide(color: UiColors.textError), - ), - focusedErrorBorder: OutlineInputBorder( - borderRadius: UiConstants.radiusMd, - borderSide: const BorderSide(color: UiColors.textError, width: 1), - ), - ), - - // List Tile Theme - listTileTheme: ListTileThemeData( - textColor: UiColors.textPrimary, - iconColor: UiColors.iconPrimary, - titleTextStyle: UiTypography.body1m, - subtitleTextStyle: UiTypography.body2r.textSecondary, - contentPadding: const EdgeInsets.symmetric( - horizontal: UiConstants.space4, - ), - tileColor: UiColors.transparent, - ), - - // Badge Theme - badgeTheme: BadgeThemeData( - backgroundColor: UiColors.primary, - textColor: UiColors.primaryForeground, - textStyle: UiTypography.footnote2m, - padding: const EdgeInsets.symmetric(horizontal: 4), - ), - - // App Bar Theme - appBarTheme: AppBarTheme( - backgroundColor: UiColors.background, - elevation: 0, - titleTextStyle: UiTypography.headline5m.textPrimary, - iconTheme: const IconThemeData(color: UiColors.iconThird, size: 20), - surfaceTintColor: UiColors.transparent, - ), - - // Dialog Theme - dialogTheme: DialogThemeData( - backgroundColor: UiColors.bgPopup, - elevation: 8, - shadowColor: UiColors.popupShadow, - shape: RoundedRectangleBorder(borderRadius: UiConstants.radiusLg), - titleTextStyle: UiTypography.headline2r.textPrimary, - contentTextStyle: UiTypography.body2r.textDescription, - ), - - // Bottom Navigation Bar Theme - bottomNavigationBarTheme: BottomNavigationBarThemeData( - backgroundColor: UiColors.white, - selectedItemColor: UiColors.primary, - unselectedItemColor: UiColors.textInactive, - selectedLabelStyle: UiTypography.footnote2m, - unselectedLabelStyle: UiTypography.footnote2r, - type: BottomNavigationBarType.fixed, - elevation: 8, - ), - - // Navigation Bar Theme (Modern M3 Bottom Nav) - navigationBarTheme: NavigationBarThemeData( - backgroundColor: UiColors.white, - indicatorColor: UiColors.primaryInverse.withAlpha(51), // 20% of 255 - labelTextStyle: WidgetStateProperty.resolveWith((states) { - if (states.contains(WidgetState.selected)) { - return UiTypography.footnote2m.textPrimary; - } - return UiTypography.footnote2r.textInactive; - }), - ), - - // Switch Theme - switchTheme: SwitchThemeData( - trackColor: WidgetStateProperty.resolveWith((states) { - if (states.contains(WidgetState.selected)) { - return UiColors.switchActive; - } - return UiColors.switchInactive; - }), - thumbColor: const WidgetStatePropertyAll(UiColors.white), - ), - - // Checkbox Theme - checkboxTheme: CheckboxThemeData( - fillColor: WidgetStateProperty.resolveWith((states) { - if (states.contains(WidgetState.selected)) return UiColors.primary; - return null; - }), - shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(4)), - ), - - // Radio Theme - radioTheme: RadioThemeData( - fillColor: WidgetStateProperty.resolveWith((states) { - if (states.contains(WidgetState.selected)) return UiColors.primary; - return null; - }), - ), - - // Slider Theme - sliderTheme: const SliderThemeData( - activeTrackColor: UiColors.primary, - inactiveTrackColor: UiColors.loaderInactive, - thumbColor: UiColors.primary, - overlayColor: UiColors.primaryInverse, - ), - - // Chip Theme - chipTheme: ChipThemeData( - backgroundColor: UiColors.bgSecondary, - labelStyle: UiTypography.footnote1m, - secondaryLabelStyle: UiTypography.footnote1m.white, - padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4), - shape: RoundedRectangleBorder(borderRadius: UiConstants.radiusMd), - side: const BorderSide(color: UiColors.borderStill, width: 0.5), - ), - - // SnackBar Theme - snackBarTheme: SnackBarThemeData( - backgroundColor: UiColors.toastBg, - contentTextStyle: UiTypography.body2r.white, - behavior: SnackBarBehavior.floating, - shape: RoundedRectangleBorder(borderRadius: UiConstants.radiusMd), - elevation: 4, - ), - - // Bottom Sheet Theme - bottomSheetTheme: const BottomSheetThemeData( - backgroundColor: UiColors.bgSecondary, - modalBackgroundColor: UiColors.bgSecondary, - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.vertical(top: Radius.circular(32)), - ), - ), - - // Expansion Tile Theme - expansionTileTheme: ExpansionTileThemeData( - iconColor: UiColors.iconSecondary, - collapsedIconColor: UiColors.iconPrimary, - backgroundColor: UiColors.bgPopup, - collapsedBackgroundColor: UiColors.transparent, - textColor: UiColors.textPrimary, - collapsedTextColor: UiColors.textPrimary, - tilePadding: const EdgeInsets.symmetric(horizontal: UiConstants.space4), - shape: RoundedRectangleBorder(borderRadius: UiConstants.radiusMd), - collapsedShape: RoundedRectangleBorder( - borderRadius: UiConstants.radiusMd, - ), - ), - - // Menu Theme - menuTheme: MenuThemeData( - style: MenuStyle( - backgroundColor: WidgetStateProperty.all(UiColors.bgPopup), - elevation: WidgetStateProperty.all(4), - shape: WidgetStateProperty.all( - RoundedRectangleBorder(borderRadius: UiConstants.radiusMd), - ), - ), - ), - - // Tooltip Theme - tooltipTheme: TooltipThemeData( - decoration: BoxDecoration( - color: UiColors.toastBg.withAlpha(230), // ~90% of 255 - borderRadius: UiConstants.radiusMd, - ), - textStyle: UiTypography.footnote2r.white, - ), - - // Progress Indicator Theme - progressIndicatorTheme: const ProgressIndicatorThemeData( - color: UiColors.primary, - linearTrackColor: UiColors.loaderInactive, - linearMinHeight: 4, - ), - ); - } -} diff --git a/apps/packages/design_system/lib/src/ui_typography.dart b/apps/packages/design_system/lib/src/ui_typography.dart deleted file mode 100644 index 9f3d5b99..00000000 --- a/apps/packages/design_system/lib/src/ui_typography.dart +++ /dev/null @@ -1,564 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:google_fonts/google_fonts.dart'; -import 'package:design_system/design_system.dart'; -import 'ui_colors.dart'; - -/// Static definitions of typography styles for the Staff Design System. -class UiTypography { - UiTypography._(); - - // --------------------------------------------------------------------------- - // 0. Base Font Styles - // --------------------------------------------------------------------------- - - /// The primary font family used throughout the design system. - static final TextStyle _primaryBase = GoogleFonts.instrumentSans(); - - /// The secondary font family used for display or specialized elements. - static final TextStyle _secondaryBase = GoogleFonts.spaceGrotesk(); - - // --------------------------------------------------------------------------- - // 1. Primary Typography (Instrument Sans) - // --------------------------------------------------------------------------- - - // --- 1.1 Display --- - - /// Display Large - Font: Instrument Sans, Size: 36, Height: 1.1 (#121826) - static final TextStyle displayL = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 36, - height: 1.1, - color: UiColors.textPrimary, - ); - - /// Display medium - Font: Instrument Sans, Size: 32, Height: 1.1 (#121826) - static final TextStyle displayM = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 32, - height: 1.1, - color: UiColors.textPrimary, - ); - - /// Display small - Font: Instrument Sans, Size: 32, Height: 1.1 (#121826) - static final TextStyle displayMb = _primaryBase.copyWith( - fontWeight: FontWeight.w600, - fontSize: 32, - height: 1.1, - color: UiColors.textPrimary, - ); - - /// Display 1 Medium - Font: Instrument Sans, Size: 26, Height: 1.1 (#121826) - static final TextStyle display1m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 26, - height: 1.1, - color: UiColors.textPrimary, - ); - - /// Display 1 Regular - Font: Instrument Sans, Size: 38, Height: 1.3 (#121826) - static final TextStyle display1r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 26, - height: 1.3, - letterSpacing: -1, - color: UiColors.textPrimary, - ); - - /// Display 1 Bold - Font: Instrument Sans, Size: 38, Height: 1.3 (#121826) - static final TextStyle display1b = _primaryBase.copyWith( - fontWeight: FontWeight.w600, - fontSize: 26, - height: 1.3, - letterSpacing: -1, - color: UiColors.textPrimary, - ); - - /// Display 2 Medium - Font: Instrument Sans, Size: 16, Height: 1.1 (#121826) - static final TextStyle display2m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 16, - height: 1.1, - color: UiColors.textPrimary, - ); - - /// Display 2 Regular - Font: Instrument Sans, Size: 28, Height: 1.5 (#121826) - static final TextStyle display2r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 16, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Display 3 Medium - Font: Instrument Sans, Size: 32, Height: 1.1 (#121826) - static final TextStyle display3m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 14, - height: 1.1, - color: UiColors.textPrimary, - ); - - /// Display 3 Regular - Font: Instrument Sans, Size: 32, Height: 1.3 (#121826) - static final TextStyle display3r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 14, - height: 1.3, - color: UiColors.textPrimary, - ); - - /// Display 3 Bold - Font: Instrument Sans, Size: 32, Height: 1.1 (#121826) - static final TextStyle display3b = _primaryBase.copyWith( - fontWeight: FontWeight.w600, - fontSize: 14, - height: 1.1, - color: UiColors.textPrimary, - ); - - // --- 1.2 Title --- - - /// Title 1 Medium - Font: Instrument Sans, Size: 18, Height: 1.5 (#121826) - static final TextStyle title1m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 18, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Title 1 Regular - Font: Instrument Sans, Size: 16, Height: 1.5 (#121826) - static final TextStyle title1r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 18, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Title 2 Bold - Font: Instrument Sans, Size: 20, Height: 1.1 (#121826) - static final TextStyle title2b = _primaryBase.copyWith( - fontWeight: FontWeight.w600, - fontSize: 16, - height: 1.1, - color: UiColors.textPrimary, - ); - - /// Title 2 Medium - Font: Instrument Sans, Size: 16, Height: 1.5 (#121826) - static final TextStyle title2m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 16, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Title 2 Regular - Font: Instrument Sans, Size: 16, Height: 1.5 (#121826) - static final TextStyle title2r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 16, - height: 1.5, - color: UiColors.textPrimary, - ); - - // --- 1.3 Headline --- - - /// Headline 1 Medium - Font: Instrument Sans, Size: 26, Height: 1.5 (#121826) - static final TextStyle headline1m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 26, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Headline 1 Regular - Font: Instrument Sans, Size: 26, Height: 1.5 (#121826) - static final TextStyle headline1r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 26, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Headline 2 Medium - Font: Instrument Sans, Size: 20, Height: 1.5 (#121826) - static final TextStyle headline2m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 22, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Headline 2 Regular - Font: Instrument Sans, Size: 20, Height: 1.5 (#121826) - static final TextStyle headline2r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 22, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Headline 3 Medium - Font: Instrument Sans, Size: 22, Height: 1.5 (#121826) - static final TextStyle headline3m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 20, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Headline 4 Medium - Font: Instrument Sans, Size: 22, Height: 1.5 (#121826) - static final TextStyle headline4m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 18, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Headline 4 Regular - Font: Instrument Sans, Size: 20, Height: 1.5 (#121826) - static final TextStyle headline4r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 18, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Headline 5 Regular - Font: Instrument Sans, Size: 18, Height: 1.5 (#121826) - static final TextStyle headline5r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 14, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Headline 5 Medium - Font: Instrument Sans, Size: 16, Height: 1.5 (#121826) - static final TextStyle headline5m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 16, - height: 1.5, - color: UiColors.textPrimary, - ); - - // --- 1.4 Title Uppercase --- - - /// Title Uppercase 2 Medium - Font: Instrument Sans, Size: 14, Height: 1.5, Spacing: 0.7 (#121826) - static final TextStyle titleUppercase2m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 14, - height: 1.5, - letterSpacing: 0.7, - color: UiColors.textPrimary, - ); - - /// Title Uppercase 3 Medium - Font: Instrument Sans, Size: 12, Height: 1.5, Spacing: 1.5 (#121826) - static final TextStyle titleUppercase3m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 12, - height: 1.5, - letterSpacing: 1.5, - color: UiColors.textPrimary, - ); - - /// Title Uppercase 4 Medium - Font: Instrument Sans, Size: 11, Height: 1.5, Spacing: 2.2 (#121826) - static final TextStyle titleUppercase4m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 11, - height: 1.5, - letterSpacing: 2.2, - color: UiColors.textPrimary, - ); - - // --- 1.5 Body --- - - /// Body 1 Bold - Font: Instrument Sans, Size: 16, Height: 1.5 (#121826) - static final TextStyle body1b = _primaryBase.copyWith( - fontWeight: FontWeight.w700, - fontSize: 16, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Body 1 Medium - Font: Instrument Sans, Size: 16, Height: 1.5 (#121826) - static final TextStyle body1m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 16, - height: 1.5, - letterSpacing: -0.025, - color: UiColors.textPrimary, - ); - - /// Body 1 Regular - Font: Instrument Sans, Size: 16, Height: 1.5 (#121826) - static final TextStyle body1r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 16, - height: 1.5, - letterSpacing: -0.05, - color: UiColors.textPrimary, - ); - - /// Body 2 Bold - Font: Instrument Sans, Size: 14, Height: 1.5 (#121826) - static final TextStyle body2b = _primaryBase.copyWith( - fontWeight: FontWeight.w700, - fontSize: 14, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Body 2 Medium - Font: Instrument Sans, Size: 14, Height: 1.5 (#121826) - static final TextStyle body2m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 14, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Body 2 Regular - Font: Instrument Sans, Size: 14, Height: 1.5, Spacing: 0.1 (#121826) - static final TextStyle body2r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 14, - height: 1.5, - letterSpacing: 0.1, - color: UiColors.textPrimary, - ); - - /// Body 3 Regular - Font: Instrument Sans, Size: 14, Height: 1.5, Spacing: -0.1 (#121826) - static final TextStyle body3r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 12, - height: 1.5, - letterSpacing: -0.1, - color: UiColors.textPrimary, - ); - - /// Body 4 Regular - Font: Instrument Sans, Size: 14, Height: 1.5, Spacing: 0.05 (#121826) - static final TextStyle body4r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 12, - height: 1.5, - letterSpacing: 0.05, - color: UiColors.textPrimary, - ); - - /// Body 4 Medium - Font: Instrument Sans, Size: 14, Height: 1.5, Spacing: 0.05 (#121826) - static final TextStyle body4m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 12, - height: 1.5, - letterSpacing: 0.05, - color: UiColors.textPrimary, - ); - - // --- 1.6 Footnote --- - - /// Footnote 1 Medium - Font: Instrument Sans, Size: 12, Height: 1.5 (#121826) - static final TextStyle footnote1m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 12, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Footnote 1 Regular - Font: Instrument Sans, Size: 12, Height: 1.5, Spacing: 0.05 (#121826) - static final TextStyle footnote1r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 12, - height: 1.5, - letterSpacing: 0.05, - color: UiColors.textPrimary, - ); - - /// Footnote 1 Bold - Font: Instrument Sans, Size: 12, Height: 1.5, Spacing: 0.05 (#121826) - static final TextStyle footnote1b = _primaryBase.copyWith( - fontWeight: FontWeight.w700, - fontSize: 12, - height: 1.5, - letterSpacing: 0.05, - color: UiColors.textPrimary, - ); - - /// Footnote 2 Medium - Font: Instrument Sans, Size: 10, Height: 1.5 (#121826) - static final TextStyle footnote2m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 10, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Footnote 2 Bold - Font: Instrument Sans, Size: 10, Height: 1.5 (#121826) - static final TextStyle footnote2b = _primaryBase.copyWith( - fontWeight: FontWeight.w700, - fontSize: 10, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Footnote 2 Regular - Font: Instrument Sans, Size: 10, Height: 1.5 (#121826) - static final TextStyle footnote2r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 10, - height: 1.5, - color: UiColors.textPrimary, - ); - - // --- 1.7 Button --- - - /// Button S - Font: Instrument Sans, Size: 10, Height: 1.5 (#121826) - static final TextStyle buttonS = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 10, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Button Medium - Font: Instrument Sans, Size: 12, Height: 1.5 (#121826) - static final TextStyle buttonM = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 12, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Button Large - Font: Instrument Sans, Size: 14, Height: 1.5 (#121826) - static final TextStyle buttonL = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 14, - height: 1.5, - color: UiColors.textPrimary, - ); - - /// Button XL - Font: Instrument Sans, Size: 16, Height: 1.5 (#121826) - static final TextStyle buttonXL = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 16, - height: 1.5, - color: UiColors.textPrimary, - ); - - // --- 1.8 Link --- - - /// Link 1 Regular - Font: Instrument Sans, Size: 16, Height: 1.5, Underlined (#0A39DF) - static final TextStyle link1r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 16, - height: 1.5, - color: UiColors.textLink, - decoration: TextDecoration.underline, - decorationColor: UiColors.textLink, - ); - - /// Link 2 Medium - Font: Instrument Sans, Size: 14, Height: 1.5, Underlined (#0A39DF) - static final TextStyle link2m = _primaryBase.copyWith( - fontWeight: FontWeight.w500, - fontSize: 14, - height: 1.5, - color: UiColors.textLink, - decoration: TextDecoration.underline, - decorationColor: UiColors.textLink, - ); - - /// Link 2 Regular - Font: Instrument Sans, Size: 14, Height: 1.5, Underlined (#0A39DF) - static final TextStyle link2r = _primaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 14, - height: 1.5, - color: UiColors.textLink, - decoration: TextDecoration.underline, - decorationColor: UiColors.textLink, - ); - - // --------------------------------------------------------------------------- - // 2. Secondary Typography (Space Grotesk) - // --------------------------------------------------------------------------- - - // --- 2.1 Display --- - - /// Display 1 Bold (Secondary) - Font: Space Grotesk, Size: 50, Height: 1.1 (#121826) - static final TextStyle secondaryDisplay1b = _secondaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 50, - height: 1.1, - color: UiColors.textPrimary, - ); - - /// Display 1 Regular (Secondary) - Font: Space Grotesk, Size: 50, Height: 1.1 (#121826) - static final TextStyle secondaryDisplay1r = _secondaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 50, - height: 1.1, - color: UiColors.textPrimary, - ); - - /// Display 2 Bold (Secondary) - Font: Space Grotesk, Size: 40, Height: 1.1 (#121826) - static final TextStyle secondaryDisplay2b = _secondaryBase.copyWith( - fontWeight: FontWeight.w700, - fontSize: 40, - height: 1.1, - color: UiColors.textPrimary, - ); - - /// Display 2 Regular (Secondary) - Font: Space Grotesk, Size: 40, Height: 1.1 (#121826) - static final TextStyle secondaryDisplay2r = _secondaryBase.copyWith( - fontWeight: FontWeight.w400, - fontSize: 40, - height: 1.1, - color: UiColors.textPrimary, - ); - - // --------------------------------------------------------------------------- - // 3. TextTheme Mapping - // --------------------------------------------------------------------------- - - /// Primary TextTheme - static TextTheme get textTheme => TextTheme( - displayLarge: display1r, - displayMedium: displayL, - displaySmall: display3m, - headlineLarge: headline1m, - headlineMedium: headline3m, - headlineSmall: headline2m, - titleLarge: title1m, - titleMedium: title2m, - titleSmall: body2m, - bodyLarge: body1r, - bodyMedium: body2r, - bodySmall: footnote1r, - labelLarge: buttonL, - labelMedium: buttonM, - labelSmall: footnote2r, - ); -} - -/// Extension to easily color text styles using the Staff Design System color palette. -extension TypographyColors on TextStyle { - /// Primary text color (#121826) - TextStyle get textPrimary => copyWith(color: UiColors.textPrimary); - - /// Secondary text color (#6A7382) - TextStyle get textSecondary => copyWith(color: UiColors.textSecondary); - - /// Inactive text color (#9CA3AF) - TextStyle get textInactive => copyWith(color: UiColors.textInactive); - - /// Tertiary text color (#9CA3AF) - TextStyle get textTertiary => copyWith(color: UiColors.textInactive); - - /// Placeholder text color (#9CA3AF) - TextStyle get textPlaceholder => copyWith(color: UiColors.textPlaceholder); - - /// Description text color (#6A7382) - TextStyle get textDescription => copyWith(color: UiColors.textDescription); - - /// Success text color (#10B981) - TextStyle get textSuccess => copyWith(color: UiColors.textSuccess); - - /// Error text color (#F04444) - TextStyle get textError => copyWith(color: UiColors.textError); - - /// Warning text color (#D97706) - TextStyle get textWarning => copyWith(color: UiColors.textWarning); - - /// Link text color (#0A39DF) - TextStyle get textLink => copyWith(color: UiColors.textLink); - - /// White text color (#FFFFFF) - TextStyle get white => copyWith(color: UiColors.white); - - /// Black text color (#000000) - TextStyle get black => copyWith(color: UiColors.black); - - /// Underline decoration - TextStyle get underline => copyWith(decoration: TextDecoration.underline); - - /// Active content color - TextStyle get activeContentColor => copyWith(color: UiColors.textPrimary); -} diff --git a/apps/packages/design_system/lib/src/widgets/ui_app_bar.dart b/apps/packages/design_system/lib/src/widgets/ui_app_bar.dart deleted file mode 100644 index 2af61b8b..00000000 --- a/apps/packages/design_system/lib/src/widgets/ui_app_bar.dart +++ /dev/null @@ -1,76 +0,0 @@ -import 'package:flutter/material.dart'; - -import '../ui_icons.dart'; - -/// A custom AppBar for the Krow UI design system. -/// -/// This widget provides a consistent look and feel for top app bars across the application. -class UiAppBar extends StatelessWidget implements PreferredSizeWidget { - /// The title text to display in the app bar. - final String? title; - - /// A widget to display instead of the title text. - final Widget? titleWidget; - - /// The widget to display before the title. - /// Usually an [IconButton] for navigation. - final Widget? leading; - - /// A list of Widgets to display in a row after the [title] widget. - final List? actions; - - /// The height of the app bar. Defaults to [kToolbarHeight]. - final double height; - - /// Whether the title should be centered. - final bool centerTitle; - - /// Signature for the callback that is called when the leading button is pressed. - /// If [leading] is null, this callback will be used for a default back button. - final VoidCallback? onLeadingPressed; - - /// Whether to show a default back button if [leading] is null. - final bool showBackButton; - - /// This widget appears across the bottom of the app bar. - /// Typically a [TabBar]. Only widgets that implement [PreferredSizeWidget] can be used at the bottom of an app bar. - final PreferredSizeWidget? bottom; - - const UiAppBar({ - super.key, - this.title, - this.titleWidget, - this.leading, - this.actions, - this.height = kToolbarHeight, - this.centerTitle = true, - this.onLeadingPressed, - this.showBackButton = true, - this.bottom, - }); - - @override - Widget build(BuildContext context) { - return AppBar( - title: titleWidget ?? - (title != null - ? Text( - title!, - ) - : null), - leading: leading ?? - (showBackButton - ? IconButton( - icon: const Icon(UiIcons.chevronLeft, size: 20), - onPressed: onLeadingPressed ?? () => Navigator.of(context).pop(), - ) - : null), - actions: actions, - centerTitle: centerTitle, - bottom: bottom, - ); - } - - @override - Size get preferredSize => Size.fromHeight(height + (bottom?.preferredSize.height ?? 0.0)); -} diff --git a/apps/packages/design_system/lib/src/widgets/ui_button.dart b/apps/packages/design_system/lib/src/widgets/ui_button.dart deleted file mode 100644 index 4f0535c6..00000000 --- a/apps/packages/design_system/lib/src/widgets/ui_button.dart +++ /dev/null @@ -1,191 +0,0 @@ -import 'package:flutter/material.dart'; -import '../ui_constants.dart'; - -/// A custom button widget with different variants and icon support. -class UiButton extends StatelessWidget { - /// The text to display on the button. - final String? text; - - /// Optional custom child widget. If provided, overrides text and icons. - final Widget? child; - - /// Callback when the button is tapped. - final VoidCallback? onPressed; - - /// Optional leading icon. - final IconData? leadingIcon; - - /// Optional trailing icon. - final IconData? trailingIcon; - - /// Optional Style - final ButtonStyle? style; - - /// The size of the icons. Defaults to 20. - final double iconSize; - - /// The size of the button. - final UiButtonSize size; - - /// The button widget to use (ElevatedButton, OutlinedButton, or TextButton). - final Widget Function( - BuildContext context, - VoidCallback? onPressed, - ButtonStyle? style, - Widget child, - ) - buttonBuilder; - - /// Creates a [UiButton] with a custom button builder. - const UiButton({ - super.key, - this.text, - this.child, - required this.buttonBuilder, - this.onPressed, - this.leadingIcon, - this.trailingIcon, - this.style, - this.iconSize = 20, - this.size = UiButtonSize.medium, - }) : assert( - text != null || child != null, - 'Either text or child must be provided', - ); - - /// Creates a primary button using [ElevatedButton]. - UiButton.primary({ - super.key, - this.text, - this.child, - this.onPressed, - this.leadingIcon, - this.trailingIcon, - this.style, - this.iconSize = 20, - this.size = UiButtonSize.medium, - }) : buttonBuilder = _elevatedButtonBuilder, - assert( - text != null || child != null, - 'Either text or child must be provided', - ); - - /// Creates a secondary button using [OutlinedButton]. - UiButton.secondary({ - super.key, - this.text, - this.child, - this.onPressed, - this.leadingIcon, - this.trailingIcon, - this.style, - this.iconSize = 20, - this.size = UiButtonSize.medium, - }) : buttonBuilder = _outlinedButtonBuilder, - assert( - text != null || child != null, - 'Either text or child must be provided', - ); - - /// Creates a text button using [TextButton]. - UiButton.text({ - super.key, - this.text, - this.child, - this.onPressed, - this.leadingIcon, - this.trailingIcon, - this.style, - this.iconSize = 20, - this.size = UiButtonSize.medium, - }) : buttonBuilder = _textButtonBuilder, - assert( - text != null || child != null, - 'Either text or child must be provided', - ); - - @override - /// Builds the button UI. - Widget build(BuildContext context) { - return buttonBuilder(context, onPressed, style, _buildButtonContent()); - } - - /// Builds the button content with optional leading and trailing icons. - Widget _buildButtonContent() { - if (child != null) { - return child!; - } - - // Single icon or text case - if (leadingIcon == null && trailingIcon == null) { - return Text(text!); - } - - if (leadingIcon != null && text == null && trailingIcon == null) { - return Icon(leadingIcon, size: iconSize); - } - - // Multiple elements case - final List children = []; - - if (leadingIcon != null) { - children.add(Icon(leadingIcon, size: iconSize)); - children.add(const SizedBox(width: UiConstants.space2)); - } - - children.add(Text(text!)); - - if (trailingIcon != null) { - children.add(const SizedBox(width: UiConstants.space2)); - children.add(Icon(trailingIcon, size: iconSize)); - } - - return Row( - mainAxisSize: MainAxisSize.min, - mainAxisAlignment: MainAxisAlignment.center, - children: children, - ); - } - - /// Builder for ElevatedButton. - static Widget _elevatedButtonBuilder( - BuildContext context, - VoidCallback? onPressed, - ButtonStyle? style, - Widget child, - ) { - return ElevatedButton(onPressed: onPressed, style: style, child: child); - } - - /// Builder for OutlinedButton. - static Widget _outlinedButtonBuilder( - BuildContext context, - VoidCallback? onPressed, - ButtonStyle? style, - Widget child, - ) { - return OutlinedButton(onPressed: onPressed, style: style, child: child); - } - - /// Builder for TextButton. - static Widget _textButtonBuilder( - BuildContext context, - VoidCallback? onPressed, - ButtonStyle? style, - Widget child, - ) { - return TextButton(onPressed: onPressed, style: style, child: child); - } -} - -/// Defines the size of a [UiButton]. -enum UiButtonSize { - /// Small button (compact) - small, - - /// Medium button (standard) - medium, - - /// Large button (prominent) - large, -} diff --git a/apps/packages/design_system/lib/src/widgets/ui_chip.dart b/apps/packages/design_system/lib/src/widgets/ui_chip.dart deleted file mode 100644 index 55ec46d0..00000000 --- a/apps/packages/design_system/lib/src/widgets/ui_chip.dart +++ /dev/null @@ -1,190 +0,0 @@ -import 'package:flutter/material.dart'; -import '../ui_colors.dart'; -import '../ui_constants.dart'; -import '../ui_typography.dart'; - -/// Sizes for the [UiChip] widget. -enum UiChipSize { - /// Small size (e.g. for tags in tight spaces). - small, - - /// Medium size (default). - medium, - - /// Large size (e.g. for standalone filters). - large, -} - -/// Themes for the [UiChip] widget. -enum UiChipVariant { - /// Primary style with solid background. - primary, - - /// Secondary style with light background. - secondary, - - /// Accent style with highlight background. - accent, -} - -/// A custom chip widget with supports for different sizes, themes, and icons. -class UiChip extends StatelessWidget { - /// The text label to display. - final String label; - - /// The size of the chip. Defaults to [UiChipSize.medium]. - final UiChipSize size; - - /// The theme variant of the chip. Defaults to [UiChipVariant.secondary]. - final UiChipVariant variant; - - /// Optional leading icon. - final IconData? leadingIcon; - - /// Optional trailing icon. - final IconData? trailingIcon; - - /// Callback when the chip is tapped. - final VoidCallback? onTap; - - /// Callback when the trailing icon is tapped (e.g. for removal). - final VoidCallback? onTrailingIconTap; - - /// Whether the chip is currently selected/active. - final bool isSelected; - - /// Creates a [UiChip]. - const UiChip({ - super.key, - required this.label, - this.size = UiChipSize.medium, - this.variant = UiChipVariant.secondary, - this.leadingIcon, - this.trailingIcon, - this.onTap, - this.onTrailingIconTap, - this.isSelected = false, - }); - - @override - Widget build(BuildContext context) { - final backgroundColor = _getBackgroundColor(); - final contentColor = _getContentColor(); - final textStyle = _getTextStyle().copyWith(color: contentColor); - final padding = _getPadding(); - final iconSize = _getIconSize(); - - final content = Row( - mainAxisSize: MainAxisSize.min, - children: [ - if (leadingIcon != null) ...[ - Icon(leadingIcon, size: iconSize, color: contentColor), - SizedBox(width: _getGap()), - ], - Text(label, style: textStyle), - if (trailingIcon != null) ...[ - SizedBox(width: _getGap()), - GestureDetector( - onTap: onTrailingIconTap, - child: Icon(trailingIcon, size: iconSize, color: contentColor), - ), - ], - ], - ); - - return GestureDetector( - onTap: onTap, - child: AnimatedContainer( - duration: const Duration(milliseconds: 200), - padding: padding, - decoration: BoxDecoration( - color: backgroundColor, - borderRadius: UiConstants.radiusFull, - border: _getBorder(), - ), - child: content, - ), - ); - } - - Color _getBackgroundColor() { - if (!isSelected && variant == UiChipVariant.primary) { - return UiColors.white; - } - - switch (variant) { - case UiChipVariant.primary: - return UiColors.primary; - case UiChipVariant.secondary: - return UiColors.tagInProgress; - case UiChipVariant.accent: - return UiColors.accent; - } - } - - Color _getContentColor() { - if (!isSelected && variant == UiChipVariant.primary) { - return UiColors.textSecondary; - } - - switch (variant) { - case UiChipVariant.primary: - return UiColors.white; - case UiChipVariant.secondary: - return UiColors.primary; - case UiChipVariant.accent: - return UiColors.accentForeground; - } - } - - TextStyle _getTextStyle() { - switch (size) { - case UiChipSize.small: - return UiTypography.body3r; - case UiChipSize.medium: - return UiTypography.body2m; - case UiChipSize.large: - return UiTypography.body1m; - } - } - - EdgeInsets _getPadding() { - switch (size) { - case UiChipSize.small: - return const EdgeInsets.symmetric(horizontal: 10, vertical: 6); - case UiChipSize.medium: - return const EdgeInsets.symmetric(horizontal: 12, vertical: 8); - case UiChipSize.large: - return const EdgeInsets.symmetric(horizontal: 16, vertical: 10); - } - } - - double _getIconSize() { - switch (size) { - case UiChipSize.small: - return 12; - case UiChipSize.medium: - return 16; - case UiChipSize.large: - return 20; - } - } - - double _getGap() { - switch (size) { - case UiChipSize.small: - return UiConstants.space1; - case UiChipSize.medium: - return UiConstants.space1 + 2; - case UiChipSize.large: - return UiConstants.space2; - } - } - - BoxBorder? _getBorder() { - if (!isSelected && variant == UiChipVariant.primary) { - return Border.all(color: UiColors.border); - } - return null; - } -} diff --git a/apps/packages/design_system/lib/src/widgets/ui_icon_button.dart b/apps/packages/design_system/lib/src/widgets/ui_icon_button.dart deleted file mode 100644 index d49ac67d..00000000 --- a/apps/packages/design_system/lib/src/widgets/ui_icon_button.dart +++ /dev/null @@ -1,89 +0,0 @@ -import 'dart:ui'; -import 'package:flutter/material.dart'; -import '../ui_colors.dart'; -import '../ui_constants.dart'; - -/// A custom icon button with blur effect and different variants. -class UiIconButton extends StatelessWidget { - /// The icon to display. - final IconData icon; - - /// The size of the icon button. - final double size; - - /// The size of the icon. - final double iconSize; - - /// The background color of the button. - final Color backgroundColor; - - /// The color of the icon. - final Color iconColor; - - /// Whether to apply blur effect. - final bool useBlur; - - /// Callback when the button is tapped. - final VoidCallback? onTap; - - /// Creates a [UiIconButton] with custom properties. - const UiIconButton({ - super.key, - required this.icon, - this.size = 40, - this.iconSize = 20, - required this.backgroundColor, - required this.iconColor, - this.useBlur = false, - this.onTap, - }); - - /// Creates a primary variant icon button with solid background. - const UiIconButton.primary({ - super.key, - required this.icon, - this.size = 40, - this.iconSize = 20, - this.onTap, - }) : backgroundColor = UiColors.primary, - iconColor = UiColors.white, - useBlur = false; - - /// Creates a secondary variant icon button with blur effect. - UiIconButton.secondary({ - super.key, - required this.icon, - this.size = 40, - this.iconSize = 20, - this.onTap, - }) : backgroundColor = UiColors.primary.withAlpha(96), - iconColor = UiColors.primary, - useBlur = true; - - @override - /// Builds the icon button UI. - Widget build(BuildContext context) { - final Widget button = Container( - width: size, - height: size, - decoration: BoxDecoration(color: backgroundColor, shape: BoxShape.circle), - child: Icon(icon, color: iconColor, size: iconSize), - ); - - final Widget content = useBlur - ? ClipRRect( - borderRadius: UiConstants.radiusFull, - child: BackdropFilter( - filter: ImageFilter.blur(sigmaX: 10, sigmaY: 10), - child: button, - ), - ) - : button; - - if (onTap != null) { - return GestureDetector(onTap: onTap, child: content); - } - - return content; - } -} diff --git a/apps/packages/design_system/lib/src/widgets/ui_step_indicator.dart b/apps/packages/design_system/lib/src/widgets/ui_step_indicator.dart deleted file mode 100644 index e26275a8..00000000 --- a/apps/packages/design_system/lib/src/widgets/ui_step_indicator.dart +++ /dev/null @@ -1,87 +0,0 @@ -import 'package:flutter/material.dart'; -import '../ui_colors.dart'; -import '../ui_constants.dart'; -import '../ui_icons.dart'; - -/// A widget that displays a horizontal step indicator with icons. -/// -/// This widget shows a series of circular step indicators connected by lines, -/// with different visual states for completed, active, and inactive steps. -class UiStepIndicator extends StatelessWidget { - /// The list of icons to display for each step. - final List stepIcons; - - /// The index of the currently active step (0-based). - final int currentStep; - - /// Creates a [UiStepIndicator]. - const UiStepIndicator({ - super.key, - required this.stepIcons, - required this.currentStep, - }); - - @override - /// Builds the step indicator UI. - Widget build(BuildContext context) { - // active step color - const Color activeColor = UiColors.primary; - // completed step color - const Color completedColor = UiColors.textSuccess; - // inactive step color - const Color inactiveColor = UiColors.iconSecondary; - - return Padding( - padding: const EdgeInsets.symmetric(vertical: UiConstants.space2), - child: Row( - mainAxisAlignment: MainAxisAlignment.center, - children: List.generate(stepIcons.length, (index) { - final bool isActive = index == currentStep; - final bool isCompleted = index < currentStep; - - Color bgColor; - Color iconColor; - if (isCompleted) { - bgColor = completedColor.withAlpha(24); - iconColor = completedColor; - } else if (isActive) { - bgColor = activeColor.withAlpha(24); - iconColor = activeColor; - } else { - bgColor = inactiveColor.withAlpha(24); - iconColor = inactiveColor.withAlpha(128); - } - - return Row( - children: [ - Container( - width: 40, - height: 40, - decoration: BoxDecoration( - color: bgColor, - shape: BoxShape.circle, - ), - child: Icon( - isCompleted ? UiIcons.check : stepIcons[index], - size: 20, - color: iconColor, - ), - ), - if (index < stepIcons.length - 1) - Container( - width: 30, - height: 2, - margin: const EdgeInsets.symmetric( - horizontal: UiConstants.space1, - ), - color: isCompleted - ? completedColor.withAlpha(96) - : inactiveColor.withAlpha(96), - ), - ], - ); - }), - ), - ); - } -} diff --git a/apps/packages/design_system/lib/src/widgets/ui_text_field.dart b/apps/packages/design_system/lib/src/widgets/ui_text_field.dart deleted file mode 100644 index 0ea7cb09..00000000 --- a/apps/packages/design_system/lib/src/widgets/ui_text_field.dart +++ /dev/null @@ -1,115 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter/services.dart'; -import '../ui_typography.dart'; -import '../ui_constants.dart'; -import '../ui_colors.dart'; - -/// A custom TextField for the Krow UI design system. -/// -/// This widget combines a label and a [TextField] with consistent styling. -class UiTextField extends StatelessWidget { - /// The label text to display above the text field. - final String? label; - - /// The hint text to display inside the text field when empty. - final String? hintText; - - /// Signature for the callback that is called when the text in the field changes. - final ValueChanged? onChanged; - - /// The controller for the text field. - final TextEditingController? controller; - - /// The type of keyboard to use for editing the text. - final TextInputType? keyboardType; - - /// The maximum number of lines for the text field. Defaults to 1. - final int? maxLines; - - /// Whether to hide the text being edited (e.g., for passwords). Defaults to false. - final bool obscureText; - - /// The type of action button to use for the keyboard. - final TextInputAction? textInputAction; - - /// Signature for the callback that is called when the user submits the text field. - final ValueChanged? onSubmitted; - - /// Whether the text field should be focused automatically. Defaults to false. - final bool autofocus; - - /// Optional input formatters to validate or format the text as it is typed. - final List? inputFormatters; - - /// Optional prefix icon to display at the start of the text field. - final IconData? prefixIcon; - - /// Optional suffix icon to display at the end of the text field. - final IconData? suffixIcon; - - /// Optional custom suffix widget to display at the end (e.g., password toggle). - final Widget? suffix; - - /// Whether the text field should be read-only. - final bool readOnly; - - /// Callback when the text field is tapped. - final VoidCallback? onTap; - - const UiTextField({ - super.key, - this.label, - this.hintText, - this.onChanged, - this.controller, - this.keyboardType, - this.maxLines = 1, - this.obscureText = false, - this.textInputAction, - this.onSubmitted, - this.autofocus = false, - this.inputFormatters, - this.prefixIcon, - this.suffixIcon, - this.suffix, - this.readOnly = false, - this.onTap, - }); - - @override - Widget build(BuildContext context) { - return Column( - crossAxisAlignment: CrossAxisAlignment.start, - mainAxisSize: MainAxisSize.min, - children: [ - if (label != null) ...[ - Text(label!, style: UiTypography.body4m.textSecondary), - const SizedBox(height: UiConstants.space1), - ], - TextField( - controller: controller, - onChanged: onChanged, - keyboardType: keyboardType, - maxLines: maxLines, - obscureText: obscureText, - textInputAction: textInputAction, - onSubmitted: onSubmitted, - autofocus: autofocus, - inputFormatters: inputFormatters, - readOnly: readOnly, - onTap: onTap, - style: UiTypography.body1r.textPrimary, - decoration: InputDecoration( - hintText: hintText, - prefixIcon: prefixIcon != null - ? Icon(prefixIcon, size: 20, color: UiColors.iconSecondary) - : null, - suffixIcon: suffixIcon != null - ? Icon(suffixIcon, size: 20, color: UiColors.iconSecondary) - : suffix, - ), - ), - ], - ); - } -} diff --git a/apps/packages/design_system/pubspec.yaml b/apps/packages/design_system/pubspec.yaml deleted file mode 100644 index fb4e10c9..00000000 --- a/apps/packages/design_system/pubspec.yaml +++ /dev/null @@ -1,31 +0,0 @@ -name: design_system -description: "A new Flutter package project." -version: 0.0.1 -homepage: -resolution: workspace - -environment: - sdk: ^3.10.7 - flutter: ">=1.17.0" - -dependencies: - flutter: - sdk: flutter - google_fonts: ^7.0.2 - lucide_icons: ^0.257.0 - font_awesome_flutter: ^10.7.0 - -dev_dependencies: - flutter_test: - sdk: flutter - flutter_lints: ^6.0.0 - -# For information on the generic Dart part of this file, see the -# following page: https://dart.dev/tools/pub/pubspec - -# The following section is specific to Flutter packages. -flutter: - - # To add assets to your package, add an assets section, like this: - assets: - - assets/ diff --git a/apps/packages/design_system/test/design_system_test.dart b/apps/packages/design_system/test/design_system_test.dart deleted file mode 100644 index c2beb8de..00000000 --- a/apps/packages/design_system/test/design_system_test.dart +++ /dev/null @@ -1,12 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; - -import 'package:design_system/design_system.dart'; - -void main() { - test('adds one to input values', () { - final calculator = Calculator(); - expect(calculator.addOne(2), 3); - expect(calculator.addOne(-7), -6); - expect(calculator.addOne(0), 1); - }); -} diff --git a/apps/packages/domain/lib/krow_domain.dart b/apps/packages/domain/lib/krow_domain.dart deleted file mode 100644 index 63e416fc..00000000 --- a/apps/packages/domain/lib/krow_domain.dart +++ /dev/null @@ -1,60 +0,0 @@ -/// The Shared Domain Layer. -/// -/// This package contains the core business entities and rules. -/// It is pure Dart and has no dependencies on Flutter or Firebase. -/// -/// Note: Repository Interfaces are now located in their respective Feature packages. - -// Users & Membership -export 'src/entities/users/user.dart'; -export 'src/entities/users/staff.dart'; -export 'src/entities/users/membership.dart'; -export 'src/entities/users/biz_member.dart'; -export 'src/entities/users/hub_member.dart'; - -// Business & Organization -export 'src/entities/business/business.dart'; -export 'src/entities/business/business_setting.dart'; -export 'src/entities/business/hub.dart'; -export 'src/entities/business/hub_department.dart'; -export 'src/entities/business/biz_contract.dart'; - -// Events & Shifts -export 'src/entities/events/event.dart'; -export 'src/entities/events/event_shift.dart'; -export 'src/entities/events/event_shift_position.dart'; -export 'src/entities/events/assignment.dart'; -export 'src/entities/events/work_session.dart'; - -// Skills & Certs -export 'src/entities/skills/skill.dart'; -export 'src/entities/skills/skill_category.dart'; -export 'src/entities/skills/staff_skill.dart'; -export 'src/entities/skills/certificate.dart'; -export 'src/entities/skills/skill_kit.dart'; - -// Financial & Payroll -export 'src/entities/financial/invoice.dart'; -export 'src/entities/financial/invoice_item.dart'; -export 'src/entities/financial/invoice_decline.dart'; -export 'src/entities/financial/staff_payment.dart'; - -// Ratings & Penalties -export 'src/entities/ratings/staff_rating.dart'; -export 'src/entities/ratings/penalty_log.dart'; -export 'src/entities/ratings/business_staff_preference.dart'; - -// Staff Profile -export 'src/entities/profile/emergency_contact.dart'; -export 'src/entities/profile/bank_account.dart'; -export 'src/entities/profile/accessibility.dart'; -export 'src/entities/profile/schedule.dart'; - -// Support & Config -export 'src/entities/support/addon.dart'; -export 'src/entities/support/tag.dart'; -export 'src/entities/support/media.dart'; -export 'src/entities/support/working_area.dart'; - -// Home -export 'src/entities/home/home_dashboard_data.dart'; diff --git a/apps/packages/domain/lib/src/entities/business/biz_contract.dart b/apps/packages/domain/lib/src/entities/business/biz_contract.dart deleted file mode 100644 index 81ebf648..00000000 --- a/apps/packages/domain/lib/src/entities/business/biz_contract.dart +++ /dev/null @@ -1,36 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a legal or service contract. -/// -/// Can be between a business and the platform, or a business and staff. -class BizContract extends Equatable { - /// Unique identifier. - final String id; - - /// The [Business] party to the contract. - final String businessId; - - /// Descriptive name of the contract. - final String name; - - /// Valid from date. - final DateTime startDate; - - /// Valid until date (null if indefinite). - final DateTime? endDate; - - /// URL to the document content (PDF/HTML). - final String contentUrl; - - const BizContract({ - required this.id, - required this.businessId, - required this.name, - required this.startDate, - this.endDate, - required this.contentUrl, - }); - - @override - List get props => [id, businessId, name, startDate, endDate, contentUrl]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/business/business.dart b/apps/packages/domain/lib/src/entities/business/business.dart deleted file mode 100644 index a719d748..00000000 --- a/apps/packages/domain/lib/src/entities/business/business.dart +++ /dev/null @@ -1,47 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// The operating status of a [Business]. -enum BusinessStatus { - /// Business created but not yet approved. - pending, - - /// Fully active and operational. - active, - - /// Temporarily suspended (e.g. for non-payment). - suspended, - - /// Permanently inactive. - inactive, -} - -/// Represents a Client Company / Business. -/// -/// This is the top-level organizational entity in the system. -class Business extends Equatable { - /// Unique identifier for the business. - final String id; - - /// Display name of the business. - final String name; - - /// Legal registration or tax number. - final String registrationNumber; - - /// Current operating status. - final BusinessStatus status; - - /// URL to the business logo. - final String? avatar; - - const Business({ - required this.id, - required this.name, - required this.registrationNumber, - required this.status, - this.avatar, - }); - - @override - List get props => [id, name, registrationNumber, status, avatar]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/business/business_setting.dart b/apps/packages/domain/lib/src/entities/business/business_setting.dart deleted file mode 100644 index b9f62bd0..00000000 --- a/apps/packages/domain/lib/src/entities/business/business_setting.dart +++ /dev/null @@ -1,41 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents payroll and operational configuration for a [Business]. -class BusinessSetting extends Equatable { - /// Unique identifier for the settings record. - final String id; - - /// The [Business] these settings apply to. - final String businessId; - - /// Prefix for generated invoices (e.g., "INV-"). - final String prefix; - - /// Whether overtime calculations are applied. - final bool overtimeEnabled; - - /// Requirement method for clocking in (e.g. "qr_code", "geo_fence"). - final String? clockInRequirement; - - /// Requirement method for clocking out. - final String? clockOutRequirement; - - const BusinessSetting({ - required this.id, - required this.businessId, - required this.prefix, - required this.overtimeEnabled, - this.clockInRequirement, - this.clockOutRequirement, - }); - - @override - List get props => [ - id, - businessId, - prefix, - overtimeEnabled, - clockInRequirement, - clockOutRequirement, - ]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/business/hub.dart b/apps/packages/domain/lib/src/entities/business/hub.dart deleted file mode 100644 index ac5a46c7..00000000 --- a/apps/packages/domain/lib/src/entities/business/hub.dart +++ /dev/null @@ -1,42 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// The status of a [Hub]. -enum HubStatus { - /// Fully operational. - active, - - /// Closed or inactive. - inactive, - - /// Not yet ready for operations. - underConstruction, -} - -/// Represents a branch location or operational unit within a [Business]. -class Hub extends Equatable { - /// Unique identifier. - final String id; - - /// The parent [Business]. - final String businessId; - - /// Display name of the hub (e.g. "Downtown Branch"). - final String name; - - /// Physical address of this hub. - final String address; - - /// Operational status. - final HubStatus status; - - const Hub({ - required this.id, - required this.businessId, - required this.name, - required this.address, - required this.status, - }); - - @override - List get props => [id, businessId, name, address, status]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/business/hub_department.dart b/apps/packages/domain/lib/src/entities/business/hub_department.dart deleted file mode 100644 index 0e8f523e..00000000 --- a/apps/packages/domain/lib/src/entities/business/hub_department.dart +++ /dev/null @@ -1,24 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a department within a [Hub]. -/// -/// Used for more granular organization of staff and events (e.g. "Kitchen", "Service"). -class HubDepartment extends Equatable { - /// Unique identifier. - final String id; - - /// The [Hub] this department belongs to. - final String hubId; - - /// Name of the department. - final String name; - - const HubDepartment({ - required this.id, - required this.hubId, - required this.name, - }); - - @override - List get props => [id, hubId, name]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/events/assignment.dart b/apps/packages/domain/lib/src/entities/events/assignment.dart deleted file mode 100644 index 26795977..00000000 --- a/apps/packages/domain/lib/src/entities/events/assignment.dart +++ /dev/null @@ -1,58 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// The status of a staff [Assignment]. -enum AssignmentStatus { - /// Staff member has been assigned but hasn't confirmed. - assigned, - - /// Staff member has accepted the assignment. - confirmed, - - /// Work is currently in progress (Clocked In). - ongoing, - - /// Work completed successfully (Clocked Out). - completed, - - /// Staff rejected the assignment offer. - declinedByStaff, - - /// Staff canceled after accepting. - canceledByStaff, - - /// Staff did not show up. - noShowed, -} - -/// Represents the link between a [Staff] member and an [EventShiftPosition]. -class Assignment extends Equatable { - /// Unique identifier. - final String id; - - /// The job position being filled. - final String positionId; - - /// The staff member filling the position. - final String staffId; - - /// Current status of the assignment. - final AssignmentStatus status; - - /// Actual timestamp when staff clocked in. - final DateTime? clockIn; - - /// Actual timestamp when staff clocked out. - final DateTime? clockOut; - - const Assignment({ - required this.id, - required this.positionId, - required this.staffId, - required this.status, - this.clockIn, - this.clockOut, - }); - - @override - List get props => [id, positionId, staffId, status, clockIn, clockOut]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/events/event.dart b/apps/packages/domain/lib/src/entities/events/event.dart deleted file mode 100644 index 717fb24a..00000000 --- a/apps/packages/domain/lib/src/entities/events/event.dart +++ /dev/null @@ -1,70 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// The workflow status of an [Event]. -enum EventStatus { - /// Created but incomplete. - draft, - - /// Waiting for approval or publication. - pending, - - /// Published and staff have been assigned. - assigned, - - /// Fully confirmed and ready to start. - confirmed, - - /// Currently in progress. - active, - - /// Work has finished. - finished, - - /// All post-event processes (invoicing) complete. - completed, - - /// Archived. - closed, - - /// Flagged for administrative review. - underReview, -} - -/// Represents a Job Posting or Event. -/// -/// This is the central entity for scheduling work. An Event contains [EventShift]s. -class Event extends Equatable { - /// Unique identifier. - final String id; - - /// The [Business] hosting the event. - final String businessId; - - /// The [Hub] location. - final String hubId; - - /// Title of the event. - final String name; - - /// Date of the event. - final DateTime date; - - /// Current workflow status. - final EventStatus status; - - /// Type of employment contract (e.g., 'freelance', 'permanent'). - final String contractType; - - const Event({ - required this.id, - required this.businessId, - required this.hubId, - required this.name, - required this.date, - required this.status, - required this.contractType, - }); - - @override - List get props => [id, businessId, hubId, name, date, status, contractType]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/events/event_shift.dart b/apps/packages/domain/lib/src/entities/events/event_shift.dart deleted file mode 100644 index d5218e19..00000000 --- a/apps/packages/domain/lib/src/entities/events/event_shift.dart +++ /dev/null @@ -1,28 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a specific time block or "shift" within an [Event]. -/// -/// An Event can have multiple shifts (e.g. "Morning Shift", "Evening Shift"). -class EventShift extends Equatable { - /// Unique identifier. - final String id; - - /// The [Event] this shift belongs to. - final String eventId; - - /// Descriptive name (e.g. "Setup Crew"). - final String name; - - /// Specific address for this shift (if different from Hub). - final String address; - - const EventShift({ - required this.id, - required this.eventId, - required this.name, - required this.address, - }); - - @override - List get props => [id, eventId, name, address]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/events/event_shift_position.dart b/apps/packages/domain/lib/src/entities/events/event_shift_position.dart deleted file mode 100644 index abceb7b9..00000000 --- a/apps/packages/domain/lib/src/entities/events/event_shift_position.dart +++ /dev/null @@ -1,53 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a specific job opening within a [EventShift]. -/// -/// Defines the requirement for a specific [Skill], the quantity needed, and the pay. -class EventShiftPosition extends Equatable { - /// Unique identifier. - final String id; - - /// The [EventShift] this position is part of. - final String shiftId; - - /// The [Skill] required for this position. - final String skillId; - - /// Number of staff needed. - final int count; - - /// Hourly pay rate. - final double rate; - - /// Start time of this specific position. - final DateTime startTime; - - /// End time of this specific position. - final DateTime endTime; - - /// Deducted break duration in minutes. - final int breakDurationMinutes; - - const EventShiftPosition({ - required this.id, - required this.shiftId, - required this.skillId, - required this.count, - required this.rate, - required this.startTime, - required this.endTime, - required this.breakDurationMinutes, - }); - - @override - List get props => [ - id, - shiftId, - skillId, - count, - rate, - startTime, - endTime, - breakDurationMinutes, - ]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/events/work_session.dart b/apps/packages/domain/lib/src/entities/events/work_session.dart deleted file mode 100644 index 319606bd..00000000 --- a/apps/packages/domain/lib/src/entities/events/work_session.dart +++ /dev/null @@ -1,32 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a verified record of time worked. -/// -/// Derived from [Assignment] clock-in/out times, used for payroll. -class WorkSession extends Equatable { - /// Unique identifier. - final String id; - - /// The [Assignment] this session belongs to. - final String assignmentId; - - /// Verified start time. - final DateTime startTime; - - /// Verified end time. - final DateTime? endTime; - - /// Verified break duration. - final int breakDurationMinutes; - - const WorkSession({ - required this.id, - required this.assignmentId, - required this.startTime, - this.endTime, - required this.breakDurationMinutes, - }); - - @override - List get props => [id, assignmentId, startTime, endTime, breakDurationMinutes]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/financial/invoice.dart b/apps/packages/domain/lib/src/entities/financial/invoice.dart deleted file mode 100644 index 7775d775..00000000 --- a/apps/packages/domain/lib/src/entities/financial/invoice.dart +++ /dev/null @@ -1,70 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// The workflow status of an [Invoice]. -enum InvoiceStatus { - /// Generated but not yet sent/finalized. - open, - - /// Client has disputed a line item. - disputed, - - /// Dispute has been handled. - resolved, - - /// Invoice accepted by client. - verified, - - /// Payment received. - paid, - - /// Payment reconciled in accounting. - reconciled, - - /// Payment not received by due date. - overdue, -} - -/// Represents a bill sent to a [Business] for services rendered. -class Invoice extends Equatable { - /// Unique identifier. - final String id; - - /// The [Event] this invoice covers. - final String eventId; - - /// The [Business] being billed. - final String businessId; - - /// Current payment/approval status. - final InvoiceStatus status; - - /// Grand total amount. - final double totalAmount; - - /// Total amount for labor costs. - final double workAmount; - - /// Total amount for addons/extras. - final double addonsAmount; - - const Invoice({ - required this.id, - required this.eventId, - required this.businessId, - required this.status, - required this.totalAmount, - required this.workAmount, - required this.addonsAmount, - }); - - @override - List get props => [ - id, - eventId, - businessId, - status, - totalAmount, - workAmount, - addonsAmount, - ]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/financial/invoice_decline.dart b/apps/packages/domain/lib/src/entities/financial/invoice_decline.dart deleted file mode 100644 index 17d7afc4..00000000 --- a/apps/packages/domain/lib/src/entities/financial/invoice_decline.dart +++ /dev/null @@ -1,26 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a reason or log for a declined [Invoice]. -class InvoiceDecline extends Equatable { - /// Unique identifier. - final String id; - - /// The [Invoice] that was declined. - final String invoiceId; - - /// Reason provided by the client. - final String reason; - - /// When the decline happened. - final DateTime declinedAt; - - const InvoiceDecline({ - required this.id, - required this.invoiceId, - required this.reason, - required this.declinedAt, - }); - - @override - List get props => [id, invoiceId, reason, declinedAt]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/financial/invoice_item.dart b/apps/packages/domain/lib/src/entities/financial/invoice_item.dart deleted file mode 100644 index b290d7b1..00000000 --- a/apps/packages/domain/lib/src/entities/financial/invoice_item.dart +++ /dev/null @@ -1,36 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a line item in an [Invoice]. -/// -/// Corresponds to the work done by one [Staff] member. -class InvoiceItem extends Equatable { - /// Unique identifier. - final String id; - - /// The [Invoice] this item belongs to. - final String invoiceId; - - /// The [Staff] member whose work is being billed. - final String staffId; - - /// Total billed hours. - final double workHours; - - /// Hourly rate applied. - final double rate; - - /// Total line item amount (workHours * rate). - final double amount; - - const InvoiceItem({ - required this.id, - required this.invoiceId, - required this.staffId, - required this.workHours, - required this.rate, - required this.amount, - }); - - @override - List get props => [id, invoiceId, staffId, workHours, rate, amount]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/financial/staff_payment.dart b/apps/packages/domain/lib/src/entities/financial/staff_payment.dart deleted file mode 100644 index ed8cd75c..00000000 --- a/apps/packages/domain/lib/src/entities/financial/staff_payment.dart +++ /dev/null @@ -1,49 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Status of a staff payout. -enum PaymentStatus { - /// Payout calculated but not processed. - pending, - - /// Submitted to banking provider. - processing, - - /// Successfully transferred to staff. - paid, - - /// Transfer failed. - failed, -} - -/// Represents a payout to a [Staff] member for a completed [Assignment]. -class StaffPayment extends Equatable { - /// Unique identifier. - final String id; - - /// The recipient [Staff]. - final String staffId; - - /// The [Assignment] being paid for. - final String assignmentId; - - /// Amount to be paid. - final double amount; - - /// Processing status. - final PaymentStatus status; - - /// When the payment was successfully processed. - final DateTime? paidAt; - - const StaffPayment({ - required this.id, - required this.staffId, - required this.assignmentId, - required this.amount, - required this.status, - this.paidAt, - }); - - @override - List get props => [id, staffId, assignmentId, amount, status, paidAt]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/home/home_dashboard_data.dart b/apps/packages/domain/lib/src/entities/home/home_dashboard_data.dart deleted file mode 100644 index 124f7d65..00000000 --- a/apps/packages/domain/lib/src/entities/home/home_dashboard_data.dart +++ /dev/null @@ -1,45 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Entity representing dashboard data for the home screen. -/// -/// This entity provides aggregated metrics such as spending and shift counts -/// for both the current week and the upcoming 7 days. -class HomeDashboardData extends Equatable { - /// Total spending for the current week. - final double weeklySpending; - - /// Projected spending for the next 7 days. - final double next7DaysSpending; - - /// Total shifts scheduled for the current week. - final int weeklyShifts; - - /// Shifts scheduled for the next 7 days. - final int next7DaysScheduled; - - /// Total workers needed for today's shifts. - final int totalNeeded; - - /// Total workers filled for today's shifts. - final int totalFilled; - - /// Creates a [HomeDashboardData] instance. - const HomeDashboardData({ - required this.weeklySpending, - required this.next7DaysSpending, - required this.weeklyShifts, - required this.next7DaysScheduled, - required this.totalNeeded, - required this.totalFilled, - }); - - @override - List get props => [ - weeklySpending, - next7DaysSpending, - weeklyShifts, - next7DaysScheduled, - totalNeeded, - totalFilled, - ]; -} diff --git a/apps/packages/domain/lib/src/entities/profile/accessibility.dart b/apps/packages/domain/lib/src/entities/profile/accessibility.dart deleted file mode 100644 index 22169d82..00000000 --- a/apps/packages/domain/lib/src/entities/profile/accessibility.dart +++ /dev/null @@ -1,20 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents accessibility requirements or features. -/// -/// Can apply to Staff (needs) or Events (provision). -class Accessibility extends Equatable { - /// Unique identifier. - final String id; - - /// Description (e.g. "Wheelchair Access"). - final String name; - - const Accessibility({ - required this.id, - required this.name, - }); - - @override - List get props => [id, name]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/profile/bank_account.dart b/apps/packages/domain/lib/src/entities/profile/bank_account.dart deleted file mode 100644 index 04b74224..00000000 --- a/apps/packages/domain/lib/src/entities/profile/bank_account.dart +++ /dev/null @@ -1,34 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents bank account details for payroll. -class BankAccount extends Equatable { - /// Unique identifier. - final String id; - - /// The [User] owning the account. - final String userId; - - /// Name of the bank. - final String bankName; - - /// Account number. - final String accountNumber; - - /// Name on the account. - final String accountName; - - /// Sort code (if applicable). - final String? sortCode; - - const BankAccount({ - required this.id, - required this.userId, - required this.bankName, - required this.accountNumber, - required this.accountName, - this.sortCode, - }); - - @override - List get props => [id, userId, bankName, accountNumber, accountName, sortCode]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/profile/emergency_contact.dart b/apps/packages/domain/lib/src/entities/profile/emergency_contact.dart deleted file mode 100644 index 99ffe704..00000000 --- a/apps/packages/domain/lib/src/entities/profile/emergency_contact.dart +++ /dev/null @@ -1,24 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents an emergency contact for a user. -/// -/// Critical for staff safety during shifts. -class EmergencyContact extends Equatable { - /// Full name of the contact. - final String name; - - /// Relationship to the user (e.g. "Spouse", "Parent"). - final String relationship; - - /// Phone number. - final String phone; - - const EmergencyContact({ - required this.name, - required this.relationship, - required this.phone, - }); - - @override - List get props => [name, relationship, phone]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/profile/schedule.dart b/apps/packages/domain/lib/src/entities/profile/schedule.dart deleted file mode 100644 index 40276a20..00000000 --- a/apps/packages/domain/lib/src/entities/profile/schedule.dart +++ /dev/null @@ -1,32 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents general availability schedule for a [Staff] member. -/// -/// Defines recurring availability (e.g., "Mondays 9-5"). -class Schedule extends Equatable { - /// Unique identifier. - final String id; - - /// The [Staff] member. - final String staffId; - - /// Day of the week (1 = Monday, 7 = Sunday). - final int dayOfWeek; - - /// Start time of availability. - final DateTime startTime; - - /// End time of availability. - final DateTime endTime; - - const Schedule({ - required this.id, - required this.staffId, - required this.dayOfWeek, - required this.startTime, - required this.endTime, - }); - - @override - List get props => [id, staffId, dayOfWeek, startTime, endTime]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/ratings/business_staff_preference.dart b/apps/packages/domain/lib/src/entities/ratings/business_staff_preference.dart deleted file mode 100644 index 1c4ea3af..00000000 --- a/apps/packages/domain/lib/src/entities/ratings/business_staff_preference.dart +++ /dev/null @@ -1,35 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// The type of preference a business has for a staff member. -enum PreferenceType { - /// Business wants to prioritize this staff member. - favorite, - - /// Business does not want to work with this staff member. - blocked, -} - -/// Represents a business's specific preference for a staff member. -class BusinessStaffPreference extends Equatable { - /// Unique identifier. - final String id; - - /// The [Business] holding the preference. - final String businessId; - - /// The [Staff] member. - final String staffId; - - /// Whether they are a favorite or blocked. - final PreferenceType type; - - const BusinessStaffPreference({ - required this.id, - required this.businessId, - required this.staffId, - required this.type, - }); - - @override - List get props => [id, businessId, staffId, type]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/ratings/penalty_log.dart b/apps/packages/domain/lib/src/entities/ratings/penalty_log.dart deleted file mode 100644 index 317b6dd6..00000000 --- a/apps/packages/domain/lib/src/entities/ratings/penalty_log.dart +++ /dev/null @@ -1,36 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a penalty issued to a staff member. -/// -/// Penalties are issued for no-shows, cancellations, or poor conduct. -class PenaltyLog extends Equatable { - /// Unique identifier. - final String id; - - /// The [Staff] member penalized. - final String staffId; - - /// The [Assignment] context (if applicable). - final String assignmentId; - - /// Reason for the penalty. - final String reason; - - /// Score points deducted from staff profile. - final int points; - - /// When the penalty was issued. - final DateTime issuedAt; - - const PenaltyLog({ - required this.id, - required this.staffId, - required this.assignmentId, - required this.reason, - required this.points, - required this.issuedAt, - }); - - @override - List get props => [id, staffId, assignmentId, reason, points, issuedAt]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/ratings/staff_rating.dart b/apps/packages/domain/lib/src/entities/ratings/staff_rating.dart deleted file mode 100644 index 635dcc0b..00000000 --- a/apps/packages/domain/lib/src/entities/ratings/staff_rating.dart +++ /dev/null @@ -1,34 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a rating given to a staff member by a client. -class StaffRating extends Equatable { - /// Unique identifier. - final String id; - - /// The [Staff] being rated. - final String staffId; - - /// The [Event] context. - final String eventId; - - /// The [Business] leaving the rating. - final String businessId; - - /// Star rating (1-5). - final int rating; - - /// Optional feedback text. - final String? comment; - - const StaffRating({ - required this.id, - required this.staffId, - required this.eventId, - required this.businessId, - required this.rating, - this.comment, - }); - - @override - List get props => [id, staffId, eventId, businessId, rating, comment]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/skills/certificate.dart b/apps/packages/domain/lib/src/entities/skills/certificate.dart deleted file mode 100644 index 362832c0..00000000 --- a/apps/packages/domain/lib/src/entities/skills/certificate.dart +++ /dev/null @@ -1,24 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a required certificate definition. -/// -/// Examples: "Food Hygiene Level 2", "SIA Badge". -class Certificate extends Equatable { - /// Unique identifier. - final String id; - - /// Display name of the certificate. - final String name; - - /// Whether this certificate is mandatory for platform access or specific roles. - final bool isRequired; - - const Certificate({ - required this.id, - required this.name, - required this.isRequired, - }); - - @override - List get props => [id, name, isRequired]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/skills/skill.dart b/apps/packages/domain/lib/src/entities/skills/skill.dart deleted file mode 100644 index a5d11320..00000000 --- a/apps/packages/domain/lib/src/entities/skills/skill.dart +++ /dev/null @@ -1,29 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a job category / skill type. -/// -/// Examples: "Waiter", "Security Guard", "Bartender". -/// Linked to a [SkillCategory]. -class Skill extends Equatable { - /// Unique identifier. - final String id; - - /// The broader category (e.g. "Hospitality"). - final String categoryId; - - /// Display name of the skill. - final String name; - - /// Default hourly rate suggested for this skill. - final double basePrice; - - const Skill({ - required this.id, - required this.categoryId, - required this.name, - required this.basePrice, - }); - - @override - List get props => [id, categoryId, name, basePrice]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/skills/skill_category.dart b/apps/packages/domain/lib/src/entities/skills/skill_category.dart deleted file mode 100644 index 063dedb8..00000000 --- a/apps/packages/domain/lib/src/entities/skills/skill_category.dart +++ /dev/null @@ -1,18 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a broad category of skills (e.g. "Hospitality", "Logistics"). -class SkillCategory extends Equatable { - /// Unique identifier. - final String id; - - /// Display name. - final String name; - - const SkillCategory({ - required this.id, - required this.name, - }); - - @override - List get props => [id, name]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/skills/skill_kit.dart b/apps/packages/domain/lib/src/entities/skills/skill_kit.dart deleted file mode 100644 index a92b8bd2..00000000 --- a/apps/packages/domain/lib/src/entities/skills/skill_kit.dart +++ /dev/null @@ -1,32 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents required equipment or uniform for a specific [Skill]. -/// -/// Examples: "Black Shirt" (Uniform), "Safety Boots" (Equipment). -class SkillKit extends Equatable { - /// Unique identifier. - final String id; - - /// The [Skill] this kit applies to. - final String skillId; - - /// Description of the item. - final String name; - - /// Whether the staff member MUST possess this item. - final bool isRequired; - - /// Type of kit ('uniform' or 'equipment'). - final String type; - - const SkillKit({ - required this.id, - required this.skillId, - required this.name, - required this.isRequired, - required this.type, - }); - - @override - List get props => [id, skillId, name, isRequired, type]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/skills/staff_skill.dart b/apps/packages/domain/lib/src/entities/skills/staff_skill.dart deleted file mode 100644 index da54471f..00000000 --- a/apps/packages/domain/lib/src/entities/skills/staff_skill.dart +++ /dev/null @@ -1,58 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// The expertise level of a staff member in a specific skill. -enum SkillLevel { - /// Entry level. - beginner, - - /// Experienced. - skilled, - - /// Expert / Managerial level. - professional, -} - -/// The verification status of a claimed skill. -enum StaffSkillStatus { - /// Claimed by staff, waiting for admin approval. - pending, - - /// Verified by admin (documents checked). - verified, - - /// Rejected by admin. - rejected, -} - -/// Represents a staff member's qualification in a specific [Skill]. -class StaffSkill extends Equatable { - /// Unique identifier. - final String id; - - /// The [Staff] member. - final String staffId; - - /// The [Skill] they possess. - final String skillId; - - /// Their expertise level. - final SkillLevel level; - - /// Years of experience. - final int experienceYears; - - /// Verification status. - final StaffSkillStatus status; - - const StaffSkill({ - required this.id, - required this.staffId, - required this.skillId, - required this.level, - required this.experienceYears, - required this.status, - }); - - @override - List get props => [id, staffId, skillId, level, experienceYears, status]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/support/addon.dart b/apps/packages/domain/lib/src/entities/support/addon.dart deleted file mode 100644 index 9a78353f..00000000 --- a/apps/packages/domain/lib/src/entities/support/addon.dart +++ /dev/null @@ -1,26 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a financial addon/bonus/deduction applied to an Invoice or Payment. -class Addon extends Equatable { - /// Unique identifier. - final String id; - - /// Description (e.g. "Travel Expense"). - final String name; - - /// Monetary value. - final double amount; - - /// Type ('credit' or 'debit'). - final String type; - - const Addon({ - required this.id, - required this.name, - required this.amount, - required this.type, - }); - - @override - List get props => [id, name, amount, type]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/support/media.dart b/apps/packages/domain/lib/src/entities/support/media.dart deleted file mode 100644 index 8b298b61..00000000 --- a/apps/packages/domain/lib/src/entities/support/media.dart +++ /dev/null @@ -1,24 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a media file reference. -/// -/// Used for avatars, certificates, or event photos. -class Media extends Equatable { - /// Unique identifier. - final String id; - - /// External URL to the file. - final String url; - - /// MIME type or general type (image, pdf). - final String type; - - const Media({ - required this.id, - required this.url, - required this.type, - }); - - @override - List get props => [id, url, type]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/support/tag.dart b/apps/packages/domain/lib/src/entities/support/tag.dart deleted file mode 100644 index 62deacaa..00000000 --- a/apps/packages/domain/lib/src/entities/support/tag.dart +++ /dev/null @@ -1,18 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a descriptive tag used for categorizing events or staff. -class Tag extends Equatable { - /// Unique identifier. - final String id; - - /// Text label. - final String label; - - const Tag({ - required this.id, - required this.label, - }); - - @override - List get props => [id, label]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/support/working_area.dart b/apps/packages/domain/lib/src/entities/support/working_area.dart deleted file mode 100644 index cc044b4c..00000000 --- a/apps/packages/domain/lib/src/entities/support/working_area.dart +++ /dev/null @@ -1,30 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a geographical area where a [Staff] member is willing to work. -class WorkingArea extends Equatable { - /// Unique identifier. - final String id; - - /// Name of the area (e.g. "London Zone 1"). - final String name; - - /// Latitude of the center point. - final double centerLat; - - /// Longitude of the center point. - final double centerLng; - - /// Radius in Kilometers. - final double radiusKm; - - const WorkingArea({ - required this.id, - required this.name, - required this.centerLat, - required this.centerLng, - required this.radiusKm, - }); - - @override - List get props => [id, name, centerLat, centerLng, radiusKm]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/users/biz_member.dart b/apps/packages/domain/lib/src/entities/users/biz_member.dart deleted file mode 100644 index fc7b8099..00000000 --- a/apps/packages/domain/lib/src/entities/users/biz_member.dart +++ /dev/null @@ -1,28 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a member of a Business. -/// -/// Grants a user access to business-level operations. -class BizMember extends Equatable { - /// Unique identifier for this membership. - final String id; - - /// The [Business] the user belongs to. - final String businessId; - - /// The [User] who is a member. - final String userId; - - /// The role within the business. - final String role; - - const BizMember({ - required this.id, - required this.businessId, - required this.userId, - required this.role, - }); - - @override - List get props => [id, businessId, userId, role]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/users/hub_member.dart b/apps/packages/domain/lib/src/entities/users/hub_member.dart deleted file mode 100644 index 0ef66a18..00000000 --- a/apps/packages/domain/lib/src/entities/users/hub_member.dart +++ /dev/null @@ -1,28 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a member of a Hub. -/// -/// Grants a user access to specific [Hub] operations, distinct from [BizMember]. -class HubMember extends Equatable { - /// Unique identifier for this membership. - final String id; - - /// The [Hub] the user belongs to. - final String hubId; - - /// The [User] who is a member. - final String userId; - - /// The role within the hub. - final String role; - - const HubMember({ - required this.id, - required this.hubId, - required this.userId, - required this.role, - }); - - @override - List get props => [id, hubId, userId, role]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/users/membership.dart b/apps/packages/domain/lib/src/entities/users/membership.dart deleted file mode 100644 index be5a0587..00000000 --- a/apps/packages/domain/lib/src/entities/users/membership.dart +++ /dev/null @@ -1,32 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a polymorphic membership to an organization unit. -/// -/// Allows a [User] to be a member of either a [Business] or a [Hub]. -class Membership extends Equatable { - /// Unique identifier for the membership record. - final String id; - - /// The [User] holding this membership. - final String userId; - - /// The ID of the organization unit (Business or Hub). - final String memberableId; - - /// The type of the organization unit ('business' or 'hub'). - final String memberableType; - - /// The role within that organization (e.g., 'manager', 'viewer'). - final String role; - - const Membership({ - required this.id, - required this.userId, - required this.memberableId, - required this.memberableType, - required this.role, - }); - - @override - List get props => [id, userId, memberableId, memberableType, role]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/users/staff.dart b/apps/packages/domain/lib/src/entities/users/staff.dart deleted file mode 100644 index 29f417cb..00000000 --- a/apps/packages/domain/lib/src/entities/users/staff.dart +++ /dev/null @@ -1,83 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// The lifecycle status of a [Staff] account. -enum StaffStatus { - /// Account created but profile not started. - registered, - - /// Profile submitted and awaiting verification. - pending, - - /// Profile information filled but not submitted for verification. - completedProfile, - - /// Profile verified by admin. - verified, - - /// Staff is currently active and eligible for work. - active, - - /// Account is temporarily suspended. - blocked, - - /// Account is permanently inactive. - inactive, -} - -/// Represents a worker profile. -/// -/// Contains all personal and professional details of a staff member. -/// Linked to a [User] via [authProviderId]. -class Staff extends Equatable { - /// Unique identifier for the staff profile. - final String id; - - /// Link to the [User] authentication record. - final String authProviderId; - - /// Full display name. - final String name; - - /// Contact email. - final String email; - - /// Contact phone number. - final String? phone; - - /// Current workflow status of the staff member. - final StaffStatus status; - - /// Physical address string. - final String? address; - - /// URL to the avatar image. - final String? avatar; - - /// URL to a verified live photo for identity verification. - final String? livePhoto; - - const Staff({ - required this.id, - required this.authProviderId, - required this.name, - required this.email, - this.phone, - required this.status, - this.address, - this.avatar, - this.livePhoto, - }); - - @override - List get props => [ - id, - authProviderId, - name, - email, - phone, - status, - address, - avatar, - livePhoto, - ]; -} \ No newline at end of file diff --git a/apps/packages/domain/lib/src/entities/users/user.dart b/apps/packages/domain/lib/src/entities/users/user.dart deleted file mode 100644 index bc1b3e11..00000000 --- a/apps/packages/domain/lib/src/entities/users/user.dart +++ /dev/null @@ -1,30 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Represents a base authenticated user in the KROW platform. -/// -/// This entity corresponds to the Firebase Auth user record and acts as the -/// linkage between the authentication system and the specific [Staff] or Client profiles. -class User extends Equatable { - /// The unique identifier from the authentication provider (e.g., Firebase UID). - final String id; - - /// The user's email address. - final String email; - - /// The user's phone number, if available. - final String? phone; - - /// The primary role of the user (e.g., 'staff', 'client_admin'). - /// This determines the initial routing and permissions. - final String role; - - const User({ - required this.id, - required this.email, - this.phone, - required this.role, - }); - - @override - List get props => [id, email, phone, role]; -} \ No newline at end of file diff --git a/apps/packages/domain/pubspec.yaml b/apps/packages/domain/pubspec.yaml deleted file mode 100644 index 8d6247e0..00000000 --- a/apps/packages/domain/pubspec.yaml +++ /dev/null @@ -1,11 +0,0 @@ -name: krow_domain -description: Domain entities and business logic. -version: 0.0.1 -publish_to: none -resolution: workspace - -environment: - sdk: '>=3.10.0 <4.0.0' - -dependencies: - equatable: ^2.0.8 diff --git a/apps/packages/features/.gitkeep b/apps/packages/features/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/apps/packages/features/client/authentication/lib/client_authentication.dart b/apps/packages/features/client/authentication/lib/client_authentication.dart deleted file mode 100644 index 2a5b3cde..00000000 --- a/apps/packages/features/client/authentication/lib/client_authentication.dart +++ /dev/null @@ -1,67 +0,0 @@ -library client_authentication; - -import 'package:firebase_auth/firebase_auth.dart' as firebase; -import 'package:flutter_modular/flutter_modular.dart'; -import 'package:krow_data_connect/krow_data_connect.dart'; -import 'src/data/repositories_impl/auth_repository_impl.dart'; -import 'src/domain/repositories/auth_repository_interface.dart'; -import 'src/domain/usecases/sign_in_with_email_use_case.dart'; -import 'src/domain/usecases/sign_in_with_social_use_case.dart'; -import 'src/domain/usecases/sign_out_use_case.dart'; -import 'src/domain/usecases/sign_up_with_email_use_case.dart'; -import 'src/presentation/blocs/client_auth_bloc.dart'; -import 'src/presentation/pages/client_get_started_page.dart'; -import 'src/presentation/pages/client_sign_in_page.dart'; -import 'src/presentation/pages/client_sign_up_page.dart'; - -export 'src/presentation/pages/client_get_started_page.dart'; -export 'src/presentation/pages/client_sign_in_page.dart'; -export 'src/presentation/pages/client_sign_up_page.dart'; -export 'src/presentation/navigation/client_auth_navigator.dart'; -export 'package:core_localization/core_localization.dart'; - -/// A [Module] for the client authentication feature. -class ClientAuthenticationModule extends Module { - @override - List get imports => [DataConnectModule()]; - - @override - void binds(Injector i) { - // Repositories - i.addLazySingleton( - () => AuthRepositoryImpl( - firebaseAuth: firebase.FirebaseAuth.instance, - dataConnect: ExampleConnector.instance, - ), - ); - - // UseCases - i.addLazySingleton( - () => SignInWithEmailUseCase(i.get()), - ); - i.addLazySingleton( - () => SignUpWithEmailUseCase(i.get()), - ); - i.addLazySingleton( - () => SignInWithSocialUseCase(i.get()), - ); - i.addLazySingleton(() => SignOutUseCase(i.get())); - - // BLoCs - i.addLazySingleton( - () => ClientAuthBloc( - signInWithEmail: i.get(), - signUpWithEmail: i.get(), - signInWithSocial: i.get(), - signOut: i.get(), - ), - ); - } - - @override - void routes(r) { - r.child('/', child: (_) => const ClientGetStartedPage()); - r.child('/client-sign-in', child: (_) => const ClientSignInPage()); - r.child('/client-sign-up', child: (_) => const ClientSignUpPage()); - } -} diff --git a/apps/packages/features/client/authentication/lib/src/data/repositories_impl/auth_repository_impl.dart b/apps/packages/features/client/authentication/lib/src/data/repositories_impl/auth_repository_impl.dart deleted file mode 100644 index ede79873..00000000 --- a/apps/packages/features/client/authentication/lib/src/data/repositories_impl/auth_repository_impl.dart +++ /dev/null @@ -1,156 +0,0 @@ -import 'package:firebase_auth/firebase_auth.dart' as firebase; -import 'package:krow_data_connect/krow_data_connect.dart' as dc; -import 'package:krow_domain/krow_domain.dart' as domain; -import '../../domain/repositories/auth_repository_interface.dart'; - -/// Production-ready implementation of the [AuthRepositoryInterface] for the client app. -/// -/// This implementation integrates with Firebase Authentication for user -/// identity management and Krow's Data Connect SDK for storing user profile data. -class AuthRepositoryImpl implements AuthRepositoryInterface { - final firebase.FirebaseAuth _firebaseAuth; - final dc.ExampleConnector _dataConnect; - - /// Creates an [AuthRepositoryImpl] with the real dependencies. - AuthRepositoryImpl({ - required firebase.FirebaseAuth firebaseAuth, - required dc.ExampleConnector dataConnect, - }) : _firebaseAuth = firebaseAuth, - _dataConnect = dataConnect; - - @override - Future signInWithEmail({ - required String email, - required String password, - }) async { - try { - final credential = await _firebaseAuth.signInWithEmailAndPassword( - email: email, - password: password, - ); - - final firebaseUser = credential.user; - if (firebaseUser == null) { - throw Exception('Sign-in failed, no Firebase user received.'); - } - - return _getUserProfile( - firebaseUserId: firebaseUser.uid, - fallbackEmail: firebaseUser.email ?? email, - ); - - //TO-DO: validate that user is business role and has business account - - } on firebase.FirebaseAuthException catch (e) { - if (e.code == 'invalid-credential' || e.code == 'wrong-password') { - throw Exception('Incorrect email or password.'); - } else { - throw Exception('Authentication error: ${e.message}'); - } - } catch (e) { - throw Exception('Failed to sign in and fetch user data: ${e.toString()}'); - } - } - - @override - Future signUpWithEmail({ - required String companyName, - required String email, - required String password, - }) async { - try { - final credential = await _firebaseAuth.createUserWithEmailAndPassword( - email: email, - password: password, - ); - - final firebaseUser = credential.user; - if (firebaseUser == null) { - throw Exception('Sign-up failed, Firebase user could not be created.'); - } - - // Client-specific business logic: - // 1. Create a `Business` entity. - // 2. Create a `User` entity associated with the business. - final createBusinessResponse = await _dataConnect.createBusiness( - businessName: companyName, - userId: firebaseUser.uid, - rateGroup: dc.BusinessRateGroup.STANDARD, - status: dc.BusinessStatus.PENDING, - ).execute(); - - final businessData = createBusinessResponse.data?.business_insert; - if (businessData == null) { - await firebaseUser.delete(); // Rollback if business creation fails - throw Exception('Business creation failed after Firebase user registration.'); - } - - final createUserResponse = await _dataConnect.createUser( - id: firebaseUser.uid, - role: dc.UserBaseRole.USER, - ) - .email(email) - .userRole('BUSINESS') - .execute(); - - final newUserData = createUserResponse.data?.user_insert; - if (newUserData == null) { - await firebaseUser.delete(); // Rollback if user profile creation fails - // TO-DO: Also delete the created Business if this fails - throw Exception('User profile creation failed after Firebase user registration.'); - } - - return _getUserProfile( - firebaseUserId: firebaseUser.uid, - fallbackEmail: firebaseUser.email ?? email, - ); - - } on firebase.FirebaseAuthException catch (e) { - if (e.code == 'weak-password') { - throw Exception('The password provided is too weak.'); - } else if (e.code == 'email-already-in-use') { - throw Exception('An account already exists for that email address.'); - } else { - throw Exception('Sign-up error: ${e.message}'); - } - } catch (e) { - throw Exception('Failed to sign up and create user data: ${e.toString()}'); - } - } - - @override - Future signOut() async { - try { - await _firebaseAuth.signOut(); - } catch (e) { - throw Exception('Error signing out: ${e.toString()}'); - } - } - - @override - Future signInWithSocial({required String provider}) { - throw UnimplementedError('Social authentication with $provider is not yet implemented.'); - } - - Future _getUserProfile({ - required String firebaseUserId, - required String? fallbackEmail, - }) async { - final response = await _dataConnect.getUserById(id: firebaseUserId).execute(); - final user = response.data?.user; - if (user == null) { - throw Exception('Authenticated user profile not found in database.'); - } - - final email = user.email ?? fallbackEmail; - if (email == null || email.isEmpty) { - throw Exception('User email is missing in profile data.'); - } - - return domain.User( - id: user.id, - email: email, - role: user.role.stringValue, - ); - } -} diff --git a/apps/packages/features/client/authentication/lib/src/domain/arguments/sign_in_with_email_arguments.dart b/apps/packages/features/client/authentication/lib/src/domain/arguments/sign_in_with_email_arguments.dart deleted file mode 100644 index 4c3f15af..00000000 --- a/apps/packages/features/client/authentication/lib/src/domain/arguments/sign_in_with_email_arguments.dart +++ /dev/null @@ -1,15 +0,0 @@ -import 'package:krow_core/core.dart'; - -/// Arguments for the [SignInWithEmailUseCase]. -class SignInWithEmailArguments extends UseCaseArgument { - /// The user's email address. - final String email; - - /// The user's password. - final String password; - - const SignInWithEmailArguments({required this.email, required this.password}); - - @override - List get props => [email, password]; -} diff --git a/apps/packages/features/client/authentication/lib/src/domain/arguments/sign_in_with_social_arguments.dart b/apps/packages/features/client/authentication/lib/src/domain/arguments/sign_in_with_social_arguments.dart deleted file mode 100644 index f658a5ab..00000000 --- a/apps/packages/features/client/authentication/lib/src/domain/arguments/sign_in_with_social_arguments.dart +++ /dev/null @@ -1,12 +0,0 @@ -import 'package:krow_core/core.dart'; - -/// Arguments for the [SignInWithSocialUseCase]. -class SignInWithSocialArguments extends UseCaseArgument { - /// The social provider name (e.g. 'google' or 'apple'). - final String provider; - - const SignInWithSocialArguments({required this.provider}); - - @override - List get props => [provider]; -} diff --git a/apps/packages/features/client/authentication/lib/src/domain/arguments/sign_up_with_email_arguments.dart b/apps/packages/features/client/authentication/lib/src/domain/arguments/sign_up_with_email_arguments.dart deleted file mode 100644 index f282d657..00000000 --- a/apps/packages/features/client/authentication/lib/src/domain/arguments/sign_up_with_email_arguments.dart +++ /dev/null @@ -1,22 +0,0 @@ -import 'package:krow_core/core.dart'; - -/// Arguments for the [SignUpWithEmailUseCase]. -class SignUpWithEmailArguments extends UseCaseArgument { - /// The name of the company. - final String companyName; - - /// The user's email address. - final String email; - - /// The user's password. - final String password; - - const SignUpWithEmailArguments({ - required this.companyName, - required this.email, - required this.password, - }); - - @override - List get props => [companyName, email, password]; -} diff --git a/apps/packages/features/client/authentication/lib/src/domain/repositories/auth_repository_interface.dart b/apps/packages/features/client/authentication/lib/src/domain/repositories/auth_repository_interface.dart deleted file mode 100644 index 21a1830c..00000000 --- a/apps/packages/features/client/authentication/lib/src/domain/repositories/auth_repository_interface.dart +++ /dev/null @@ -1,37 +0,0 @@ -import 'package:krow_domain/krow_domain.dart'; - -/// Interface for the Client Authentication Repository. -/// -/// This abstraction defines the core authentication operations required for -/// the client application, allowing the presentation layer to work with -/// different data sources (e.g., Supabase, Firebase, or Mock) without -/// depending on specific implementations. -abstract class AuthRepositoryInterface { - /// Signs in an existing client user using their email and password. - /// - /// Returns a [User] object upon successful authentication. - /// Throws an exception if authentication fails. - Future signInWithEmail({ - required String email, - required String password, - }); - - /// Registers a new client user with their business details. - /// - /// Takes [companyName], [email], and [password] to create a new account. - /// Returns the newly created [User]. - Future signUpWithEmail({ - required String companyName, - required String email, - required String password, - }); - - /// Authenticates using an OAuth provider. - /// - /// [provider] can be 'google' or 'apple'. - /// Returns a [User] upon successful social login. - Future signInWithSocial({required String provider}); - - /// Terminates the current user session and clears authentication tokens. - Future signOut(); -} diff --git a/apps/packages/features/client/authentication/lib/src/domain/usecases/sign_in_with_email_use_case.dart b/apps/packages/features/client/authentication/lib/src/domain/usecases/sign_in_with_email_use_case.dart deleted file mode 100644 index a10358f7..00000000 --- a/apps/packages/features/client/authentication/lib/src/domain/usecases/sign_in_with_email_use_case.dart +++ /dev/null @@ -1,24 +0,0 @@ -import 'package:krow_core/core.dart'; -import 'package:krow_domain/krow_domain.dart'; -import '../arguments/sign_in_with_email_arguments.dart'; -import '../repositories/auth_repository_interface.dart'; - -/// Use case for signing in a client using email and password. -/// -/// This use case encapsulates the logic for authenticating an existing user -/// via email/password credentials. -class SignInWithEmailUseCase - implements UseCase { - final AuthRepositoryInterface _repository; - - const SignInWithEmailUseCase(this._repository); - - /// Executes the sign-in operation. - @override - Future call(SignInWithEmailArguments params) { - return _repository.signInWithEmail( - email: params.email, - password: params.password, - ); - } -} diff --git a/apps/packages/features/client/authentication/lib/src/domain/usecases/sign_in_with_social_use_case.dart b/apps/packages/features/client/authentication/lib/src/domain/usecases/sign_in_with_social_use_case.dart deleted file mode 100644 index dcbeab4a..00000000 --- a/apps/packages/features/client/authentication/lib/src/domain/usecases/sign_in_with_social_use_case.dart +++ /dev/null @@ -1,18 +0,0 @@ -import 'package:krow_core/core.dart'; -import 'package:krow_domain/krow_domain.dart'; -import '../arguments/sign_in_with_social_arguments.dart'; -import '../repositories/auth_repository_interface.dart'; - -/// Use case for signing in a client via social providers (Google/Apple). -class SignInWithSocialUseCase - implements UseCase { - final AuthRepositoryInterface _repository; - - const SignInWithSocialUseCase(this._repository); - - /// Executes the social sign-in operation. - @override - Future call(SignInWithSocialArguments params) { - return _repository.signInWithSocial(provider: params.provider); - } -} diff --git a/apps/packages/features/client/authentication/lib/src/domain/usecases/sign_out_use_case.dart b/apps/packages/features/client/authentication/lib/src/domain/usecases/sign_out_use_case.dart deleted file mode 100644 index 707cf75c..00000000 --- a/apps/packages/features/client/authentication/lib/src/domain/usecases/sign_out_use_case.dart +++ /dev/null @@ -1,18 +0,0 @@ -import 'package:krow_core/core.dart'; -import '../repositories/auth_repository_interface.dart'; - -/// Use case for signing out the current client user. -/// -/// This use case handles the termination of the user's session and -/// clearing of any local authentication tokens. -class SignOutUseCase implements NoInputUseCase { - final AuthRepositoryInterface _repository; - - const SignOutUseCase(this._repository); - - /// Executes the sign-out operation. - @override - Future call() { - return _repository.signOut(); - } -} diff --git a/apps/packages/features/client/authentication/lib/src/domain/usecases/sign_up_with_email_use_case.dart b/apps/packages/features/client/authentication/lib/src/domain/usecases/sign_up_with_email_use_case.dart deleted file mode 100644 index 60c53fde..00000000 --- a/apps/packages/features/client/authentication/lib/src/domain/usecases/sign_up_with_email_use_case.dart +++ /dev/null @@ -1,25 +0,0 @@ -import 'package:krow_core/core.dart'; -import 'package:krow_domain/krow_domain.dart'; -import '../arguments/sign_up_with_email_arguments.dart'; -import '../repositories/auth_repository_interface.dart'; - -/// Use case for registering a new client user. -/// -/// This use case handles the creation of a new client account using -/// email, password, and company details. -class SignUpWithEmailUseCase - implements UseCase { - final AuthRepositoryInterface _repository; - - const SignUpWithEmailUseCase(this._repository); - - /// Executes the sign-up operation. - @override - Future call(SignUpWithEmailArguments params) { - return _repository.signUpWithEmail( - companyName: params.companyName, - email: params.email, - password: params.password, - ); - } -} diff --git a/apps/packages/features/client/authentication/lib/src/presentation/blocs/client_auth_bloc.dart b/apps/packages/features/client/authentication/lib/src/presentation/blocs/client_auth_bloc.dart deleted file mode 100644 index 0e241ea2..00000000 --- a/apps/packages/features/client/authentication/lib/src/presentation/blocs/client_auth_bloc.dart +++ /dev/null @@ -1,131 +0,0 @@ -import 'package:flutter_bloc/flutter_bloc.dart'; -import '../../domain/arguments/sign_in_with_email_arguments.dart'; -import '../../domain/arguments/sign_in_with_social_arguments.dart'; -import '../../domain/arguments/sign_up_with_email_arguments.dart'; -import '../../domain/usecases/sign_in_with_email_use_case.dart'; -import '../../domain/usecases/sign_up_with_email_use_case.dart'; -import '../../domain/usecases/sign_in_with_social_use_case.dart'; -import '../../domain/usecases/sign_out_use_case.dart'; -import 'client_auth_event.dart'; -import 'client_auth_state.dart'; - -/// Business Logic Component for Client Authentication. -/// -/// This BLoC manages the state transitions for the authentication flow in -/// the client application. It handles user inputs (events), interacts with -/// domain use cases, and emits corresponding [ClientAuthState]s. -/// -/// Use this BLoC to handle: -/// * Email/Password Sign In -/// * Business Account Registration -/// * Social Authentication -/// * Session Termination -class ClientAuthBloc extends Bloc { - final SignInWithEmailUseCase _signInWithEmail; - final SignUpWithEmailUseCase _signUpWithEmail; - final SignInWithSocialUseCase _signInWithSocial; - final SignOutUseCase _signOut; - - /// Initializes the BLoC with the required use cases and initial state. - ClientAuthBloc({ - required SignInWithEmailUseCase signInWithEmail, - required SignUpWithEmailUseCase signUpWithEmail, - required SignInWithSocialUseCase signInWithSocial, - required SignOutUseCase signOut, - }) : _signInWithEmail = signInWithEmail, - _signUpWithEmail = signUpWithEmail, - _signInWithSocial = signInWithSocial, - _signOut = signOut, - super(const ClientAuthState()) { - on(_onSignInRequested); - on(_onSignUpRequested); - on(_onSocialSignInRequested); - on(_onSignOutRequested); - } - - /// Handles the [ClientSignInRequested] event. - Future _onSignInRequested( - ClientSignInRequested event, - Emitter emit, - ) async { - emit(state.copyWith(status: ClientAuthStatus.loading)); - try { - final user = await _signInWithEmail( - SignInWithEmailArguments(email: event.email, password: event.password), - ); - emit(state.copyWith(status: ClientAuthStatus.authenticated, user: user)); - } catch (e) { - emit( - state.copyWith( - status: ClientAuthStatus.error, - errorMessage: e.toString(), - ), - ); - } - } - - /// Handles the [ClientSignUpRequested] event. - Future _onSignUpRequested( - ClientSignUpRequested event, - Emitter emit, - ) async { - emit(state.copyWith(status: ClientAuthStatus.loading)); - try { - final user = await _signUpWithEmail( - SignUpWithEmailArguments( - companyName: event.companyName, - email: event.email, - password: event.password, - ), - ); - emit(state.copyWith(status: ClientAuthStatus.authenticated, user: user)); - } catch (e) { - emit( - state.copyWith( - status: ClientAuthStatus.error, - errorMessage: e.toString(), - ), - ); - } - } - - /// Handles the [ClientSocialSignInRequested] event. - Future _onSocialSignInRequested( - ClientSocialSignInRequested event, - Emitter emit, - ) async { - emit(state.copyWith(status: ClientAuthStatus.loading)); - try { - final user = await _signInWithSocial( - SignInWithSocialArguments(provider: event.provider), - ); - emit(state.copyWith(status: ClientAuthStatus.authenticated, user: user)); - } catch (e) { - emit( - state.copyWith( - status: ClientAuthStatus.error, - errorMessage: e.toString(), - ), - ); - } - } - - /// Handles the [ClientSignOutRequested] event. - Future _onSignOutRequested( - ClientSignOutRequested event, - Emitter emit, - ) async { - emit(state.copyWith(status: ClientAuthStatus.loading)); - try { - await _signOut(); - emit(state.copyWith(status: ClientAuthStatus.signedOut, user: null)); - } catch (e) { - emit( - state.copyWith( - status: ClientAuthStatus.error, - errorMessage: e.toString(), - ), - ); - } - } -} diff --git a/apps/packages/features/client/authentication/lib/src/presentation/blocs/client_auth_event.dart b/apps/packages/features/client/authentication/lib/src/presentation/blocs/client_auth_event.dart deleted file mode 100644 index 1e8a6c92..00000000 --- a/apps/packages/features/client/authentication/lib/src/presentation/blocs/client_auth_event.dart +++ /dev/null @@ -1,51 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Base class for all authentication events in the client feature. -abstract class ClientAuthEvent extends Equatable { - const ClientAuthEvent(); - - @override - List get props => []; -} - -/// Event dispatched when a user attempts to sign in with email and password. -class ClientSignInRequested extends ClientAuthEvent { - final String email; - final String password; - - const ClientSignInRequested({required this.email, required this.password}); - - @override - List get props => [email, password]; -} - -/// Event dispatched when a user attempts to create a new business account. -class ClientSignUpRequested extends ClientAuthEvent { - final String companyName; - final String email; - final String password; - - const ClientSignUpRequested({ - required this.companyName, - required this.email, - required this.password, - }); - - @override - List get props => [companyName, email, password]; -} - -/// Event dispatched for third-party authentication (Google/Apple). -class ClientSocialSignInRequested extends ClientAuthEvent { - final String provider; - - const ClientSocialSignInRequested({required this.provider}); - - @override - List get props => [provider]; -} - -/// Event dispatched when the user requests to terminate their session. -class ClientSignOutRequested extends ClientAuthEvent { - const ClientSignOutRequested(); -} diff --git a/apps/packages/features/client/authentication/lib/src/presentation/blocs/client_auth_state.dart b/apps/packages/features/client/authentication/lib/src/presentation/blocs/client_auth_state.dart deleted file mode 100644 index 0c42096b..00000000 --- a/apps/packages/features/client/authentication/lib/src/presentation/blocs/client_auth_state.dart +++ /dev/null @@ -1,54 +0,0 @@ -import 'package:equatable/equatable.dart'; -import 'package:krow_domain/krow_domain.dart'; - -/// Enum representing the various states of the authentication process. -enum ClientAuthStatus { - /// Initial state before any action is taken. - initial, - - /// An authentication operation is in progress. - loading, - - /// The user has successfully authenticated. - authenticated, - - /// The user has successfully signed out. - signedOut, - - /// An error occurred during authentication. - error, -} - -/// Represents the state of the client authentication flow. -class ClientAuthState extends Equatable { - /// Current status of the authentication process. - final ClientAuthStatus status; - - /// The authenticated user (if status is [ClientAuthStatus.authenticated]). - final User? user; - - /// Optional error message when status is [ClientAuthStatus.error]. - final String? errorMessage; - - const ClientAuthState({ - this.status = ClientAuthStatus.initial, - this.user, - this.errorMessage, - }); - - /// Creates a copy of this state with the given fields replaced by the new values. - ClientAuthState copyWith({ - ClientAuthStatus? status, - User? user, - String? errorMessage, - }) { - return ClientAuthState( - status: status ?? this.status, - user: user ?? this.user, - errorMessage: errorMessage ?? this.errorMessage, - ); - } - - @override - List get props => [status, user, errorMessage]; -} diff --git a/apps/packages/features/client/authentication/lib/src/presentation/navigation/client_auth_navigator.dart b/apps/packages/features/client/authentication/lib/src/presentation/navigation/client_auth_navigator.dart deleted file mode 100644 index a1cb7365..00000000 --- a/apps/packages/features/client/authentication/lib/src/presentation/navigation/client_auth_navigator.dart +++ /dev/null @@ -1,25 +0,0 @@ -import 'package:flutter_modular/flutter_modular.dart'; - -/// Typed navigation for the Client Authentication feature. -/// -/// This extension on [IModularNavigator] provides named methods for -/// navigating between authentication pages, reducing magic strings and -/// improving maintainability. -extension ClientAuthNavigator on IModularNavigator { - /// Navigates to the sign in page using a push named route. - void pushClientSignIn() { - pushNamed('/client-sign-in'); - } - - /// Navigates to the sign up page using a push named route. - void pushClientSignUp() { - pushNamed('/client-sign-up'); - } - - /// Navigates to the main client home dashboard. - /// - /// Uses absolute path navigation to reset the navigation stack if necessary. - void navigateClientHome() { - navigate('/client-home'); - } -} diff --git a/apps/packages/features/client/authentication/lib/src/presentation/pages/client_get_started_page.dart b/apps/packages/features/client/authentication/lib/src/presentation/pages/client_get_started_page.dart deleted file mode 100644 index f673e78d..00000000 --- a/apps/packages/features/client/authentication/lib/src/presentation/pages/client_get_started_page.dart +++ /dev/null @@ -1,252 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_modular/flutter_modular.dart'; -import 'package:core_localization/core_localization.dart'; -import 'package:design_system/design_system.dart'; -import '../navigation/client_auth_navigator.dart'; - -class ClientGetStartedPage extends StatelessWidget { - const ClientGetStartedPage({super.key}); - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Stack( - children: [ - // Background Illustration/Visuals from prototype - Positioned( - top: -100, - right: -100, - child: Container( - width: 400, - height: 400, - decoration: BoxDecoration( - color: UiColors.secondary.withAlpha(50), - shape: BoxShape.circle, - ), - ), - ), - - SafeArea( - child: Column( - children: [ - const SizedBox(height: UiConstants.space10), - // Logo - Center( - child: Image.asset( - UiImageAssets.logoBlue, - height: 40, - fit: BoxFit.contain, - ), - ), - - const Spacer(), - - // Content Cards Area (Keeping prototype layout) - Container( - height: 300, - padding: const EdgeInsets.symmetric( - horizontal: UiConstants.space6, - ), - child: Stack( - children: [ - // Representative cards from prototype - Positioned( - top: 20, - left: 0, - right: 20, - child: _ShiftOrderCard(), - ), - Positioned( - bottom: 40, - right: 0, - left: 40, - child: _WorkerProfileCard(), - ), - Positioned(top: 60, right: 10, child: _CalendarCard()), - ], - ), - ), - - const Spacer(), - - // Bottom Content - Padding( - padding: const EdgeInsets.symmetric( - horizontal: UiConstants.space6, - vertical: UiConstants.space10, - ), - child: Column( - children: [ - Text( - t.client_authentication.get_started_page.title, - textAlign: TextAlign.center, - style: UiTypography.displayM, - ), - const SizedBox(height: UiConstants.space3), - Text( - t.client_authentication.get_started_page.subtitle, - textAlign: TextAlign.center, - style: UiTypography.body2r.textSecondary, - ), - const SizedBox(height: UiConstants.space8), - - // Sign In Button - UiButton.primary( - text: t - .client_authentication - .get_started_page - .sign_in_button, - onPressed: () => Modular.to.pushClientSignIn(), - ), - - const SizedBox(height: UiConstants.space3), - - // Create Account Button - UiButton.secondary( - text: t - .client_authentication - .get_started_page - .create_account_button, - onPressed: () => Modular.to.pushClientSignUp(), - ), - ], - ), - ), - ], - ), - ), - ], - ), - ); - } -} - -// Internal Prototype Widgets Updated with Design System Primitives -class _ShiftOrderCard extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Container( - padding: const EdgeInsets.all(UiConstants.space3), - decoration: BoxDecoration( - color: UiColors.white, - borderRadius: UiConstants.radiusLg, - boxShadow: [ - BoxShadow( - color: UiColors.black.withOpacity(0.1), - blurRadius: 10, - offset: const Offset(0, 4), - ), - ], - ), - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - mainAxisSize: MainAxisSize.min, - children: [ - Row( - children: [ - Container( - padding: const EdgeInsets.all(UiConstants.space1), - decoration: BoxDecoration( - color: UiColors.primary.withOpacity(0.1), - shape: BoxShape.circle, - ), - child: const Icon( - UiIcons.briefcase, - size: 14, - color: UiColors.primary, - ), - ), - const SizedBox(width: UiConstants.space2), - Text('Shift Order #824', style: UiTypography.footnote1b), - const Spacer(), - Container( - padding: const EdgeInsets.symmetric(horizontal: 6, vertical: 2), - decoration: BoxDecoration( - color: UiColors.tagPending, - borderRadius: UiConstants.radiusFull, - ), - child: Text( - 'Pending', - style: UiTypography.footnote2m.copyWith( - color: UiColors.textWarning, - ), - ), - ), - ], - ), - const SizedBox(height: UiConstants.space2), - Text( - 'Event Staffing - Hilton Hotel', - style: UiTypography.footnote2r.textSecondary, - ), - ], - ), - ); - } -} - -class _WorkerProfileCard extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Container( - padding: const EdgeInsets.all(UiConstants.space3), - decoration: BoxDecoration( - color: UiColors.white, - borderRadius: UiConstants.radiusLg, - boxShadow: [ - BoxShadow( - color: UiColors.black.withOpacity(0.1), - blurRadius: 10, - offset: const Offset(0, 4), - ), - ], - ), - child: Row( - children: [ - CircleAvatar( - radius: 16, - backgroundColor: UiColors.primary.withOpacity(0.1), - child: const Icon(UiIcons.user, size: 16, color: UiColors.primary), - ), - const SizedBox(width: UiConstants.space2), - Column( - crossAxisAlignment: CrossAxisAlignment.start, - mainAxisSize: MainAxisSize.min, - children: [ - Text('Alex Thompson', style: UiTypography.footnote1b), - Text( - 'Professional Waiter • 4.9★', - style: UiTypography.footnote2r.textSecondary, - ), - ], - ), - ], - ), - ); - } -} - -class _CalendarCard extends StatelessWidget { - @override - Widget build(BuildContext context) { - return Container( - padding: const EdgeInsets.all(UiConstants.space2), - decoration: BoxDecoration( - color: UiColors.accent, - borderRadius: UiConstants.radiusMd, - boxShadow: [ - BoxShadow( - color: UiColors.black.withOpacity(0.1), - blurRadius: 10, - offset: const Offset(4, 4), - ), - ], - ), - child: const Icon( - UiIcons.calendar, - size: 20, - color: UiColors.accentForeground, - ), - ); - } -} diff --git a/apps/packages/features/client/authentication/lib/src/presentation/pages/client_sign_in_page.dart b/apps/packages/features/client/authentication/lib/src/presentation/pages/client_sign_in_page.dart deleted file mode 100644 index 42dc2e46..00000000 --- a/apps/packages/features/client/authentication/lib/src/presentation/pages/client_sign_in_page.dart +++ /dev/null @@ -1,147 +0,0 @@ -import 'package:client_authentication/src/presentation/widgets/common/section_titles.dart'; -import 'package:core_localization/core_localization.dart'; -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:flutter_modular/flutter_modular.dart'; - -import '../blocs/client_auth_bloc.dart'; -import '../blocs/client_auth_event.dart'; -import '../blocs/client_auth_state.dart'; -import '../navigation/client_auth_navigator.dart'; -import '../widgets/client_sign_in_page/client_sign_in_form.dart'; -import '../widgets/common/auth_divider.dart'; -import '../widgets/common/auth_social_button.dart'; - -/// Page for client users to sign in to their account. -/// -/// This page provides email/password authentication as well as social sign-in -/// options via Apple and Google. It matches the design system standards -/// for client-facing authentication flows. -class ClientSignInPage extends StatelessWidget { - /// Creates a [ClientSignInPage]. - const ClientSignInPage({super.key}); - - /// Dispatches the sign in event to the BLoC. - void _handleSignIn( - BuildContext context, { - required String email, - required String password, - }) { - BlocProvider.of( - context, - ).add(ClientSignInRequested(email: email, password: password)); - } - - /// Dispatches the social sign in event to the BLoC. - void _handleSocialSignIn(BuildContext context, {required String provider}) { - BlocProvider.of( - context, - ).add(ClientSocialSignInRequested(provider: provider)); - } - - @override - Widget build(BuildContext context) { - final i18n = t.client_authentication.sign_in_page; - final authBloc = Modular.get(); - - return BlocProvider.value( - value: authBloc, - child: BlocConsumer( - listener: (context, state) { - if (state.status == ClientAuthStatus.authenticated) { - Modular.to.navigateClientHome(); - } else if (state.status == ClientAuthStatus.error) { - ScaffoldMessenger.of(context).showSnackBar( - SnackBar( - content: Text(state.errorMessage ?? 'Authentication Error'), - ), - ); - } - }, - builder: (context, state) { - final isLoading = state.status == ClientAuthStatus.loading; - - return Scaffold( - appBar: const UiAppBar(showBackButton: true), - body: SafeArea( - bottom: false, - child: Padding( - padding: const EdgeInsets.fromLTRB( - UiConstants.space6, - UiConstants.space8, - UiConstants.space6, - 0, - ), - child: SingleChildScrollView( - child: Column( - crossAxisAlignment: CrossAxisAlignment.stretch, - children: [ - SectionTitle(title: i18n.title, subtitle: i18n.subtitle), - const SizedBox(height: UiConstants.space8), - - // Sign In Form - ClientSignInForm( - isLoading: isLoading, - onSignIn: ({required email, required password}) => - _handleSignIn( - context, - email: email, - password: password, - ), - ), - - const SizedBox(height: UiConstants.space6), - - // Divider - AuthDivider(text: i18n.or_divider), - - const SizedBox(height: UiConstants.space6), - - // Social Buttons - AuthSocialButton( - text: i18n.social_apple, - icon: UiIcons.apple, - onPressed: () => - _handleSocialSignIn(context, provider: 'apple'), - ), - const SizedBox(height: UiConstants.space3), - AuthSocialButton( - text: i18n.social_google, - icon: UiIcons.google, - onPressed: () => - _handleSocialSignIn(context, provider: 'google'), - ), - - const SizedBox(height: UiConstants.space8), - - // Sign Up Link - Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Text( - i18n.no_account, - style: UiTypography.body2r.textSecondary, - ), - const SizedBox(width: UiConstants.space1), - GestureDetector( - onTap: () => Modular.to.pushClientSignUp(), - child: Text( - i18n.sign_up_link, - style: UiTypography.body2m.textLink, - ), - ), - ], - ), - const SizedBox(height: UiConstants.space10), - ], - ), - ), - ), - ), - ); - }, - ), - ); - } -} diff --git a/apps/packages/features/client/authentication/lib/src/presentation/pages/client_sign_up_page.dart b/apps/packages/features/client/authentication/lib/src/presentation/pages/client_sign_up_page.dart deleted file mode 100644 index 538b3106..00000000 --- a/apps/packages/features/client/authentication/lib/src/presentation/pages/client_sign_up_page.dart +++ /dev/null @@ -1,158 +0,0 @@ -import 'package:client_authentication/src/presentation/widgets/common/section_titles.dart'; -import 'package:core_localization/core_localization.dart'; -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:flutter_modular/flutter_modular.dart'; - -import '../blocs/client_auth_bloc.dart'; -import '../blocs/client_auth_event.dart'; -import '../blocs/client_auth_state.dart'; -import '../navigation/client_auth_navigator.dart'; -import '../widgets/client_sign_up_page/client_sign_up_form.dart'; -import '../widgets/common/auth_divider.dart'; -import '../widgets/common/auth_social_button.dart'; - -/// Page for client users to sign up for a new account. -/// -/// This page collects company details, email, and password, and offers -/// social sign-up options. It adheres to the design system standards. -class ClientSignUpPage extends StatelessWidget { - /// Creates a [ClientSignUpPage]. - const ClientSignUpPage({super.key}); - - /// Validates inputs and dispatches the sign up event. - void _handleSignUp( - BuildContext context, { - required String companyName, - required String email, - required String password, - }) { - BlocProvider.of(context).add( - ClientSignUpRequested( - companyName: companyName, - email: email, - password: password, - ), - ); - } - - /// Dispatches the social sign up event. - void _handleSocialSignUp(BuildContext context, {required String provider}) { - BlocProvider.of( - context, - ).add(ClientSocialSignInRequested(provider: provider)); - } - - @override - Widget build(BuildContext context) { - final i18n = t.client_authentication.sign_up_page; - final authBloc = Modular.get(); - - return BlocProvider.value( - value: authBloc, - child: BlocConsumer( - listener: (context, state) { - if (state.status == ClientAuthStatus.authenticated) { - Modular.to.navigateClientHome(); - } else if (state.status == ClientAuthStatus.error) { - ScaffoldMessenger.of(context).showSnackBar( - SnackBar( - content: Text(state.errorMessage ?? 'Authentication Error'), - ), - ); - } - }, - builder: (context, state) { - final isLoading = state.status == ClientAuthStatus.loading; - - return Scaffold( - appBar: const UiAppBar(showBackButton: true), - body: SafeArea( - bottom: false, - child: Padding( - padding: const EdgeInsets.fromLTRB( - UiConstants.space6, - UiConstants.space8, - UiConstants.space6, - 0, - ), - child: SingleChildScrollView( - child: Column( - crossAxisAlignment: CrossAxisAlignment.stretch, - children: [ - SectionTitle(title: i18n.title, subtitle: i18n.subtitle), - const SizedBox(height: UiConstants.space8), - - // Sign Up Form - ClientSignUpForm( - isLoading: isLoading, - onSignUp: - ({ - required companyName, - required email, - required password, - }) => _handleSignUp( - context, - companyName: companyName, - email: email, - password: password, - ), - ), - - const SizedBox(height: UiConstants.space6), - - // Divider - // Divider - AuthDivider(text: i18n.or_divider), - - const SizedBox(height: UiConstants.space6), - - // Social Buttons - // Social Buttons - AuthSocialButton( - text: i18n.social_apple, - icon: UiIcons.apple, - onPressed: () => - _handleSocialSignUp(context, provider: 'apple'), - ), - const SizedBox(height: UiConstants.space3), - AuthSocialButton( - text: i18n.social_google, - icon: UiIcons.google, - onPressed: () => - _handleSocialSignUp(context, provider: 'google'), - ), - - const SizedBox(height: UiConstants.space8), - - // Sign In Link - Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Text( - i18n.has_account, - style: UiTypography.body2r.textSecondary, - ), - const SizedBox(width: UiConstants.space1), - GestureDetector( - onTap: () => Modular.to.pushClientSignIn(), - child: Text( - i18n.sign_in_link, - style: UiTypography.body2m.textLink, - ), - ), - ], - ), - const SizedBox(height: UiConstants.space10), - ], - ), - ), - ), - ), - ); - }, - ), - ); - } -} diff --git a/apps/packages/features/client/authentication/lib/src/presentation/widgets/client_sign_in_page/client_sign_in_form.dart b/apps/packages/features/client/authentication/lib/src/presentation/widgets/client_sign_in_page/client_sign_in_form.dart deleted file mode 100644 index c1489ae6..00000000 --- a/apps/packages/features/client/authentication/lib/src/presentation/widgets/client_sign_in_page/client_sign_in_form.dart +++ /dev/null @@ -1,113 +0,0 @@ -import 'package:core_localization/core_localization.dart'; -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; - -/// A form widget for client sign-in. -/// -/// This widget handles user input for email and password and delegates -/// authentication events to the parent via callbacks. -class ClientSignInForm extends StatefulWidget { - /// Callback when the sign-in button is pressed. - final void Function({required String email, required String password}) - onSignIn; - - /// Whether the authentication is currently loading. - final bool isLoading; - - /// Creates a [ClientSignInForm]. - const ClientSignInForm({ - super.key, - required this.onSignIn, - this.isLoading = false, - }); - - @override - State createState() => _ClientSignInFormState(); -} - -class _ClientSignInFormState extends State { - final _emailController = TextEditingController(); - final _passwordController = TextEditingController(); - bool _obscurePassword = true; - - @override - void dispose() { - _emailController.dispose(); - _passwordController.dispose(); - super.dispose(); - } - - void _handleSubmit() { - widget.onSignIn( - email: _emailController.text, - password: _passwordController.text, - ); - } - - @override - Widget build(BuildContext context) { - final i18n = t.client_authentication.sign_in_page; - - return Column( - children: [ - // Email Field - UiTextField( - label: i18n.email_label, - hintText: i18n.email_hint, - controller: _emailController, - keyboardType: TextInputType.emailAddress, - ), - const SizedBox(height: UiConstants.space5), - - // Password Field - UiTextField( - label: i18n.password_label, - hintText: i18n.password_hint, - controller: _passwordController, - obscureText: _obscurePassword, - suffix: IconButton( - icon: Icon( - _obscurePassword ? UiIcons.eyeOff : UiIcons.eye, - color: UiColors.iconSecondary, - size: 20, - ), - onPressed: () => - setState(() => _obscurePassword = !_obscurePassword), - ), - ), - - const SizedBox(height: UiConstants.space2), - - // Forgot Password - Align( - alignment: Alignment.centerLeft, - child: GestureDetector( - onTap: () {}, - child: Text( - i18n.forgot_password, - style: UiTypography.body2r.textLink, - ), - ), - ), - - const SizedBox(height: UiConstants.space8), - - // Sign In Button - UiButton.primary( - text: widget.isLoading ? null : i18n.sign_in_button, - onPressed: widget.isLoading ? null : _handleSubmit, - child: widget.isLoading - ? const SizedBox( - height: 24, - width: 24, - child: CircularProgressIndicator( - color: UiColors.white, - strokeWidth: 2, - ), - ) - : null, - ), - ], - ); - } -} diff --git a/apps/packages/features/client/authentication/lib/src/presentation/widgets/client_sign_up_page/client_sign_up_form.dart b/apps/packages/features/client/authentication/lib/src/presentation/widgets/client_sign_up_page/client_sign_up_form.dart deleted file mode 100644 index cd5e4885..00000000 --- a/apps/packages/features/client/authentication/lib/src/presentation/widgets/client_sign_up_page/client_sign_up_form.dart +++ /dev/null @@ -1,137 +0,0 @@ -import 'package:core_localization/core_localization.dart'; -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; - -/// A form widget for client sign-up. -/// -/// This widget handles user input for company name, email, and password, -/// and delegates registration events to the parent via callbacks. -class ClientSignUpForm extends StatefulWidget { - /// Callback when the sign-up button is pressed. - final void Function({ - required String companyName, - required String email, - required String password, - }) - onSignUp; - - /// Whether the authentication is currently loading. - final bool isLoading; - - /// Creates a [ClientSignUpForm]. - const ClientSignUpForm({ - super.key, - required this.onSignUp, - this.isLoading = false, - }); - - @override - State createState() => _ClientSignUpFormState(); -} - -class _ClientSignUpFormState extends State { - final _companyController = TextEditingController(); - final _emailController = TextEditingController(); - final _passwordController = TextEditingController(); - final _confirmPasswordController = TextEditingController(); - bool _obscurePassword = true; - - @override - void dispose() { - _companyController.dispose(); - _emailController.dispose(); - _passwordController.dispose(); - _confirmPasswordController.dispose(); - super.dispose(); - } - - void _handleSubmit() { - if (_passwordController.text != _confirmPasswordController.text) { - ScaffoldMessenger.of( - context, - ).showSnackBar(const SnackBar(content: Text('Passwords do not match'))); - return; - } - - widget.onSignUp( - companyName: _companyController.text, - email: _emailController.text, - password: _passwordController.text, - ); - } - - @override - Widget build(BuildContext context) { - final i18n = t.client_authentication.sign_up_page; - - return Column( - children: [ - // Company Name Field - UiTextField( - label: i18n.company_label, - hintText: i18n.company_hint, - controller: _companyController, - textInputAction: TextInputAction.next, - ), - const SizedBox(height: UiConstants.space4), - - // Email Field - UiTextField( - label: i18n.email_label, - hintText: i18n.email_hint, - controller: _emailController, - keyboardType: TextInputType.emailAddress, - textInputAction: TextInputAction.next, - ), - const SizedBox(height: UiConstants.space4), - - // Password Field - UiTextField( - label: i18n.password_label, - hintText: i18n.password_hint, - controller: _passwordController, - obscureText: _obscurePassword, - textInputAction: TextInputAction.next, - suffix: IconButton( - icon: Icon( - _obscurePassword ? UiIcons.eyeOff : UiIcons.eye, - color: UiColors.iconSecondary, - size: 20, - ), - onPressed: () => - setState(() => _obscurePassword = !_obscurePassword), - ), - ), - const SizedBox(height: UiConstants.space4), - - // Confirm Password Field - UiTextField( - label: i18n.confirm_password_label, - hintText: i18n.confirm_password_hint, - controller: _confirmPasswordController, - obscureText: _obscurePassword, - textInputAction: TextInputAction.done, - onSubmitted: (_) => _handleSubmit(), - ), - - const SizedBox(height: UiConstants.space8), - - // Create Account Button - UiButton.primary( - text: widget.isLoading ? null : i18n.create_account_button, - onPressed: widget.isLoading ? null : _handleSubmit, - child: widget.isLoading - ? const SizedBox( - height: 24, - width: 24, - child: CircularProgressIndicator( - color: UiColors.white, - strokeWidth: 2, - ), - ) - : null, - ), - ], - ); - } -} diff --git a/apps/packages/features/client/authentication/lib/src/presentation/widgets/common/auth_divider.dart b/apps/packages/features/client/authentication/lib/src/presentation/widgets/common/auth_divider.dart deleted file mode 100644 index db898fcb..00000000 --- a/apps/packages/features/client/authentication/lib/src/presentation/widgets/common/auth_divider.dart +++ /dev/null @@ -1,28 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; - -/// A divider widget with centered text, typically used to separate -/// email/password auth from social auth headers. -/// -/// Displays a horizontal line with text in the middle (e.g., "Or continue with"). -class AuthDivider extends StatelessWidget { - /// The text to display in the center of the divider. - final String text; - - /// Creates an [AuthDivider]. - const AuthDivider({super.key, required this.text}); - - @override - Widget build(BuildContext context) { - return Row( - children: [ - const Expanded(child: Divider()), - Padding( - padding: const EdgeInsets.symmetric(horizontal: UiConstants.space4), - child: Text(text, style: UiTypography.footnote1r.textSecondary), - ), - const Expanded(child: Divider()), - ], - ); - } -} diff --git a/apps/packages/features/client/authentication/lib/src/presentation/widgets/common/auth_social_button.dart b/apps/packages/features/client/authentication/lib/src/presentation/widgets/common/auth_social_button.dart deleted file mode 100644 index 35b8a4cc..00000000 --- a/apps/packages/features/client/authentication/lib/src/presentation/widgets/common/auth_social_button.dart +++ /dev/null @@ -1,38 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; - -/// A specialized button for social authentication integration. -/// -/// This widget wraps [UiButton.secondary] to provide a consistent look and feel -/// for social sign-in/sign-up buttons (e.g., Google, Apple). -class AuthSocialButton extends StatelessWidget { - /// The localizable text to display on the button (e.g., "Continue with Google"). - final String text; - - /// The icon representing the social provider. - final IconData icon; - - /// Callback to execute when the button is tapped. - final VoidCallback onPressed; - - /// Creates an [AuthSocialButton]. - /// - /// The [text], [icon], and [onPressed] arguments must not be null. - const AuthSocialButton({ - super.key, - required this.text, - required this.icon, - required this.onPressed, - }); - - @override - Widget build(BuildContext context) { - return UiButton.secondary( - onPressed: onPressed, - leadingIcon: icon, - text: text, - // Ensure the button spans the full width available - size: UiButtonSize.large, - ); - } -} diff --git a/apps/packages/features/client/authentication/lib/src/presentation/widgets/common/section_titles.dart b/apps/packages/features/client/authentication/lib/src/presentation/widgets/common/section_titles.dart deleted file mode 100644 index 3c548c50..00000000 --- a/apps/packages/features/client/authentication/lib/src/presentation/widgets/common/section_titles.dart +++ /dev/null @@ -1,24 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; - -/// A widget that displays a section title with a leading icon. -class SectionTitle extends StatelessWidget { - /// The title of the section. - final String title; - - /// The subtitle of the section. - final String subtitle; - - const SectionTitle({super.key, required this.title, required this.subtitle}); - - @override - Widget build(BuildContext context) { - return Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text(title, style: UiTypography.headline1m), - Text(subtitle, style: UiTypography.body2r.textSecondary), - ], - ); - } -} diff --git a/apps/packages/features/client/authentication/pubspec.yaml b/apps/packages/features/client/authentication/pubspec.yaml deleted file mode 100644 index 590bcf27..00000000 --- a/apps/packages/features/client/authentication/pubspec.yaml +++ /dev/null @@ -1,35 +0,0 @@ -name: client_authentication -description: Client Authentication and Registration feature. -version: 0.0.1 -publish_to: none -resolution: workspace - -environment: - sdk: '>=3.10.0 <4.0.0' - flutter: ">=3.0.0" - -dependencies: - flutter: - sdk: flutter - flutter_bloc: ^8.1.0 - flutter_modular: ^6.3.0 - equatable: ^2.0.5 - firebase_core: ^4.2.1 - firebase_auth: ^6.1.2 # Updated for compatibility - firebase_data_connect: ^0.2.2+1 - - # Architecture Packages - design_system: - path: ../../../../design_system - core_localization: - path: ../../../core_localization - -dev_dependencies: - flutter_test: - sdk: flutter - bloc_test: ^9.1.0 - mocktail: ^1.0.0 - build_runner: ^2.4.15 - -flutter: - uses-material-design: true diff --git a/apps/packages/features/client/home/REFACTOR_SUMMARY.md b/apps/packages/features/client/home/REFACTOR_SUMMARY.md deleted file mode 100644 index ad2d979b..00000000 --- a/apps/packages/features/client/home/REFACTOR_SUMMARY.md +++ /dev/null @@ -1,133 +0,0 @@ -# Client Home Feature - Architecture Refactor Summary - -## ✅ Completed Refactor - -The `packages/features/client/home` feature has been successfully refactored to fully comply with KROW Clean Architecture principles. - -## 📋 Changes Made - -### 1. Domain Layer Improvements - -**Created:** -- `lib/src/domain/entities/home_dashboard_data.dart` - - Proper domain entity to replace raw `Map` - - Immutable, equatable data class - - Clear field definitions with documentation - -**Updated:** -- `lib/src/domain/repositories/home_repository_interface.dart` - - Changed from `abstract class` to `abstract interface class` - - Return type changed from `Map` to `HomeDashboardData` - -- `lib/src/domain/usecases/get_dashboard_data_usecase.dart` - - Return type updated to `HomeDashboardData` - -### 2. Data Layer Improvements - -**Updated:** -- `lib/src/data/repositories_impl/home_repository_impl.dart` - - Returns `HomeDashboardData` entity instead of raw map - - Properly typed mock data - -### 3. Presentation Layer Refactor - -**Major Changes to `client_home_page.dart`:** -- ✅ Converted from `StatefulWidget` to `StatelessWidget` -- ✅ Removed local state management (moved to BLoC) -- ✅ BLoC lifecycle managed by `BlocProvider.create` -- ✅ All event dispatching uses `BlocProvider.of(context)` -- ✅ Removed direct BLoC instance storage -- ✅ Fixed deprecated `withOpacity` → `withValues(alpha:)` - -**Updated `client_home_state.dart`:** -- Replaced individual primitive fields with `HomeDashboardData` entity -- Simplified state structure -- Cleaner `copyWith` implementation - -**Updated `client_home_bloc.dart`:** -- Simplified event handler to use entity directly -- No more manual field extraction from maps - -**Widget Updates:** -- `coverage_widget.dart`: Now accepts typed parameters -- All widgets: Fixed deprecated `withOpacity` calls -- `shift_order_form_sheet.dart`: Fixed deprecated `value` → `initialValue` - -## 🎯 Architecture Compliance - -### ✅ Clean Architecture Rules -- [x] Domain layer is pure Dart (entities only) -- [x] Repository interfaces in domain, implementations in data -- [x] Use cases properly delegate to repositories -- [x] Presentation layer depends on domain abstractions -- [x] No feature-to-feature imports - -### ✅ Presentation Rules -- [x] Page is `StatelessWidget` -- [x] State managed by BLoC -- [x] No business logic in page -- [x] BLoC lifecycle properly managed -- [x] Named parameters used throughout - -### ✅ Code Quality -- [x] No deprecation warnings -- [x] All files have doc comments -- [x] Consistent naming conventions -- [x] `flutter analyze` passes with 0 issues - -## 📊 Before vs After - -### Before: -```dart -// StatefulWidget with local state -class ClientHomePage extends StatefulWidget { - late final ClientHomeBloc _homeBloc; - - @override - void initState() { - _homeBloc = Modular.get(); - } -} - -// Raw maps in domain -Future> getDashboardData(); - -// Manual field extraction -weeklySpending: data['weeklySpending'] as double?, -``` - -### After: -```dart -// StatelessWidget, BLoC-managed -class ClientHomePage extends StatelessWidget { - @override - Widget build(BuildContext context) { - return BlocProvider( - create: (context) => Modular.get()..add(ClientHomeStarted()), - // ... - ); - } -} - -// Typed entities -Future getDashboardData(); - -// Direct entity usage -dashboardData: data, -``` - -## 🔍 Reference Alignment - -The refactored code now matches the structure of `packages/features/staff/authentication`: -- StatelessWidget pages -- BLoC-managed state -- Typed domain entities -- Clean separation of concerns - -## 🚀 Next Steps - -The feature is now production-ready and follows all architectural guidelines. Future enhancements should: -1. Add unit tests for use cases -2. Add widget tests for pages -3. Add integration tests for complete flows -4. Consider extracting reusable widgets to design_system if used across features diff --git a/apps/packages/features/client/home/lib/client_home.dart b/apps/packages/features/client/home/lib/client_home.dart deleted file mode 100644 index f5b0364f..00000000 --- a/apps/packages/features/client/home/lib/client_home.dart +++ /dev/null @@ -1,44 +0,0 @@ -library client_home; - -import 'package:flutter_modular/flutter_modular.dart'; -import 'package:krow_data_connect/krow_data_connect.dart'; -import 'src/data/repositories_impl/home_repository_impl.dart'; -import 'src/domain/repositories/home_repository_interface.dart'; -import 'src/domain/usecases/get_dashboard_data_usecase.dart'; -import 'src/presentation/blocs/client_home_bloc.dart'; -import 'src/presentation/pages/client_home_page.dart'; - -export 'src/presentation/pages/client_home_page.dart'; -export 'src/presentation/navigation/client_home_navigator.dart'; - -/// A [Module] for the client home feature. -/// -/// This module configures the dependencies for the client home feature, -/// including repositories, use cases, and BLoCs. -class ClientHomeModule extends Module { - @override - List get imports => [DataConnectModule()]; - - @override - void binds(Injector i) { - // Repositories - i.addLazySingleton( - () => HomeRepositoryImpl(i.get()), - ); - - // UseCases - i.addLazySingleton(GetDashboardDataUseCase.new); - - // BLoCs - i.add( - () => ClientHomeBloc( - getDashboardDataUseCase: i.get(), - ), - ); - } - - @override - void routes(r) { - r.child('/', child: (_) => const ClientHomePage()); - } -} diff --git a/apps/packages/features/client/home/lib/src/data/repositories_impl/home_repository_impl.dart b/apps/packages/features/client/home/lib/src/data/repositories_impl/home_repository_impl.dart deleted file mode 100644 index c68a09de..00000000 --- a/apps/packages/features/client/home/lib/src/data/repositories_impl/home_repository_impl.dart +++ /dev/null @@ -1,21 +0,0 @@ -import 'package:krow_data_connect/krow_data_connect.dart'; -import 'package:krow_domain/krow_domain.dart'; -import '../../domain/repositories/home_repository_interface.dart'; - -/// Implementation of [HomeRepositoryInterface] that delegates to [HomeRepositoryMock]. -/// -/// This implementation resides in the data layer and acts as a bridge between the -/// domain layer and the data source (in this case, a mock from data_connect). -class HomeRepositoryImpl implements HomeRepositoryInterface { - final HomeRepositoryMock _mock; - - /// Creates a [HomeRepositoryImpl]. - /// - /// Requires a [HomeRepositoryMock] to perform data operations. - HomeRepositoryImpl(this._mock); - - @override - Future getDashboardData() { - return _mock.getDashboardData(); - } -} diff --git a/apps/packages/features/client/home/lib/src/domain/repositories/home_repository_interface.dart b/apps/packages/features/client/home/lib/src/domain/repositories/home_repository_interface.dart deleted file mode 100644 index ad8b1ff3..00000000 --- a/apps/packages/features/client/home/lib/src/domain/repositories/home_repository_interface.dart +++ /dev/null @@ -1,10 +0,0 @@ -import 'package:krow_domain/krow_domain.dart'; - -/// Interface for the Client Home repository. -/// -/// This repository is responsible for providing data required for the -/// client home screen dashboard. -abstract interface class HomeRepositoryInterface { - /// Fetches the [HomeDashboardData] containing aggregated dashboard metrics. - Future getDashboardData(); -} diff --git a/apps/packages/features/client/home/lib/src/domain/usecases/get_dashboard_data_usecase.dart b/apps/packages/features/client/home/lib/src/domain/usecases/get_dashboard_data_usecase.dart deleted file mode 100644 index 142e4703..00000000 --- a/apps/packages/features/client/home/lib/src/domain/usecases/get_dashboard_data_usecase.dart +++ /dev/null @@ -1,19 +0,0 @@ -import 'package:krow_core/core.dart'; -import 'package:krow_domain/krow_domain.dart'; -import '../repositories/home_repository_interface.dart'; - -/// Use case to fetch dashboard data for the client home screen. -/// -/// This use case coordinates with the [HomeRepositoryInterface] to retrieve -/// the [HomeDashboardData] required for the dashboard display. -class GetDashboardDataUseCase implements NoInputUseCase { - final HomeRepositoryInterface _repository; - - /// Creates a [GetDashboardDataUseCase]. - GetDashboardDataUseCase(this._repository); - - @override - Future call() { - return _repository.getDashboardData(); - } -} diff --git a/apps/packages/features/client/home/lib/src/presentation/blocs/client_home_bloc.dart b/apps/packages/features/client/home/lib/src/presentation/blocs/client_home_bloc.dart deleted file mode 100644 index fe34944e..00000000 --- a/apps/packages/features/client/home/lib/src/presentation/blocs/client_home_bloc.dart +++ /dev/null @@ -1,96 +0,0 @@ -import 'package:flutter_bloc/flutter_bloc.dart'; -import '../../domain/usecases/get_dashboard_data_usecase.dart'; -import 'client_home_event.dart'; -import 'client_home_state.dart'; - -/// BLoC responsible for managing the state and business logic of the client home dashboard. -class ClientHomeBloc extends Bloc { - final GetDashboardDataUseCase _getDashboardDataUseCase; - - ClientHomeBloc({required GetDashboardDataUseCase getDashboardDataUseCase}) - : _getDashboardDataUseCase = getDashboardDataUseCase, - super(const ClientHomeState()) { - on(_onStarted); - on(_onEditModeToggled); - on(_onWidgetVisibilityToggled); - on(_onWidgetReordered); - on(_onLayoutReset); - } - - Future _onStarted( - ClientHomeStarted event, - Emitter emit, - ) async { - emit(state.copyWith(status: ClientHomeStatus.loading)); - try { - final data = await _getDashboardDataUseCase(); - emit( - state.copyWith(status: ClientHomeStatus.success, dashboardData: data), - ); - } catch (e) { - emit( - state.copyWith( - status: ClientHomeStatus.error, - errorMessage: e.toString(), - ), - ); - } - } - - void _onEditModeToggled( - ClientHomeEditModeToggled event, - Emitter emit, - ) { - emit(state.copyWith(isEditMode: !state.isEditMode)); - } - - void _onWidgetVisibilityToggled( - ClientHomeWidgetVisibilityToggled event, - Emitter emit, - ) { - final newVisibility = Map.from(state.widgetVisibility); - newVisibility[event.widgetId] = !(newVisibility[event.widgetId] ?? true); - emit(state.copyWith(widgetVisibility: newVisibility)); - } - - void _onWidgetReordered( - ClientHomeWidgetReordered event, - Emitter emit, - ) { - final newList = List.from(state.widgetOrder); - int oldIndex = event.oldIndex; - int newIndex = event.newIndex; - - if (oldIndex < newIndex) { - newIndex -= 1; - } - final item = newList.removeAt(oldIndex); - newList.insert(newIndex, item); - - emit(state.copyWith(widgetOrder: newList)); - } - - void _onLayoutReset( - ClientHomeLayoutReset event, - Emitter emit, - ) { - emit( - state.copyWith( - widgetOrder: const [ - 'actions', - 'reorder', - 'coverage', - 'spending', - 'liveActivity', - ], - widgetVisibility: const { - 'actions': true, - 'reorder': true, - 'coverage': true, - 'spending': true, - 'liveActivity': true, - }, - ), - ); - } -} diff --git a/apps/packages/features/client/home/lib/src/presentation/blocs/client_home_event.dart b/apps/packages/features/client/home/lib/src/presentation/blocs/client_home_event.dart deleted file mode 100644 index 86524041..00000000 --- a/apps/packages/features/client/home/lib/src/presentation/blocs/client_home_event.dart +++ /dev/null @@ -1,31 +0,0 @@ -import 'package:equatable/equatable.dart'; - -abstract class ClientHomeEvent extends Equatable { - const ClientHomeEvent(); - - @override - List get props => []; -} - -class ClientHomeStarted extends ClientHomeEvent {} - -class ClientHomeEditModeToggled extends ClientHomeEvent {} - -class ClientHomeWidgetVisibilityToggled extends ClientHomeEvent { - final String widgetId; - const ClientHomeWidgetVisibilityToggled(this.widgetId); - - @override - List get props => [widgetId]; -} - -class ClientHomeWidgetReordered extends ClientHomeEvent { - final int oldIndex; - final int newIndex; - const ClientHomeWidgetReordered(this.oldIndex, this.newIndex); - - @override - List get props => [oldIndex, newIndex]; -} - -class ClientHomeLayoutReset extends ClientHomeEvent {} diff --git a/apps/packages/features/client/home/lib/src/presentation/blocs/client_home_state.dart b/apps/packages/features/client/home/lib/src/presentation/blocs/client_home_state.dart deleted file mode 100644 index fb79c18d..00000000 --- a/apps/packages/features/client/home/lib/src/presentation/blocs/client_home_state.dart +++ /dev/null @@ -1,71 +0,0 @@ -import 'package:equatable/equatable.dart'; -import 'package:krow_domain/krow_domain.dart'; - -/// Status of the client home dashboard. -enum ClientHomeStatus { initial, loading, success, error } - -/// Represents the state of the client home dashboard. -class ClientHomeState extends Equatable { - final ClientHomeStatus status; - final List widgetOrder; - final Map widgetVisibility; - final bool isEditMode; - final String? errorMessage; - final HomeDashboardData dashboardData; - - const ClientHomeState({ - this.status = ClientHomeStatus.initial, - this.widgetOrder = const [ - 'actions', - 'reorder', - 'coverage', - 'spending', - 'liveActivity', - ], - this.widgetVisibility = const { - 'actions': true, - 'reorder': true, - 'coverage': true, - 'spending': true, - 'liveActivity': true, - }, - this.isEditMode = false, - this.errorMessage, - this.dashboardData = const HomeDashboardData( - weeklySpending: 4250.0, - next7DaysSpending: 6100.0, - weeklyShifts: 12, - next7DaysScheduled: 18, - totalNeeded: 10, - totalFilled: 8, - ), - }); - - ClientHomeState copyWith({ - ClientHomeStatus? status, - List? widgetOrder, - Map? widgetVisibility, - bool? isEditMode, - String? errorMessage, - HomeDashboardData? dashboardData, - }) { - return ClientHomeState( - status: status ?? this.status, - widgetOrder: widgetOrder ?? this.widgetOrder, - widgetVisibility: widgetVisibility ?? this.widgetVisibility, - isEditMode: isEditMode ?? this.isEditMode, - errorMessage: errorMessage ?? this.errorMessage, - dashboardData: dashboardData ?? this.dashboardData, - ); - } - - @override - List get props => [ - status, - widgetOrder, - widgetVisibility, - isEditMode, - errorMessage, - dashboardData, - ]; -} diff --git a/apps/packages/features/client/home/lib/src/presentation/navigation/client_home_navigator.dart b/apps/packages/features/client/home/lib/src/presentation/navigation/client_home_navigator.dart deleted file mode 100644 index d3ad6e8e..00000000 --- a/apps/packages/features/client/home/lib/src/presentation/navigation/client_home_navigator.dart +++ /dev/null @@ -1,10 +0,0 @@ -import 'package:flutter_modular/flutter_modular.dart'; - -/// Navigation extension for the Client Home feature. -extension ClientHomeNavigator on IModularNavigator { - /// Navigates to the Client Home page. - void navigateClientHome() => navigate('/client-home/'); - - /// Pushes the Client Home page. - Future pushClientHome() => pushNamed('/client-home/'); -} diff --git a/apps/packages/features/client/home/lib/src/presentation/pages/client_home_page.dart b/apps/packages/features/client/home/lib/src/presentation/pages/client_home_page.dart deleted file mode 100644 index eef72a62..00000000 --- a/apps/packages/features/client/home/lib/src/presentation/pages/client_home_page.dart +++ /dev/null @@ -1,437 +0,0 @@ -import 'package:core_localization/core_localization.dart'; -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:flutter_modular/flutter_modular.dart'; - -import '../blocs/client_home_bloc.dart'; -import '../blocs/client_home_event.dart'; -import '../blocs/client_home_state.dart'; -import '../widgets/actions_widget.dart'; -import '../widgets/coverage_widget.dart'; -import '../widgets/live_activity_widget.dart'; -import '../widgets/reorder_widget.dart'; -import '../widgets/shift_order_form_sheet.dart'; -import '../widgets/spending_widget.dart'; - -/// The main Home page for client users. -class ClientHomePage extends StatelessWidget { - /// Creates a [ClientHomePage]. - const ClientHomePage({super.key}); - - void _openOrderFormSheet( - BuildContext context, - Map? shiftData, - ) { - showModalBottomSheet( - context: context, - isScrollControlled: true, - backgroundColor: Colors.transparent, - builder: (context) { - return ShiftOrderFormSheet( - initialData: shiftData, - onSubmit: (data) { - Navigator.pop(context); - }, - ); - }, - ); - } - - @override - Widget build(BuildContext context) { - final i18n = t.client_home; - - return BlocProvider( - create: (context) => - Modular.get()..add(ClientHomeStarted()), - child: Scaffold( - body: SafeArea( - child: Column( - children: [ - _buildHeader(context, i18n), - _buildEditModeBanner(i18n), - Flexible( - child: BlocBuilder( - builder: (context, state) { - if (state.isEditMode) { - return ReorderableListView( - padding: const EdgeInsets.fromLTRB( - UiConstants.space4, - 0, - UiConstants.space4, - 100, - ), - onReorder: (oldIndex, newIndex) { - BlocProvider.of( - context, - ).add(ClientHomeWidgetReordered(oldIndex, newIndex)); - }, - children: state.widgetOrder.map((id) { - return Container( - key: ValueKey(id), - margin: const EdgeInsets.only( - bottom: UiConstants.space4, - ), - child: _buildDraggableWidgetWrapper( - context, - id, - state, - ), - ); - }).toList(), - ); - } - - return ListView( - padding: const EdgeInsets.fromLTRB( - UiConstants.space4, - 0, - UiConstants.space4, - 100, - ), - children: state.widgetOrder.map((id) { - if (!(state.widgetVisibility[id] ?? true)) { - return const SizedBox.shrink(); - } - return Padding( - padding: const EdgeInsets.only( - bottom: UiConstants.space4, - ), - child: _buildWidgetContent(context, id, state), - ); - }).toList(), - ); - }, - ), - ), - ], - ), - ), - ), - ); - } - - Widget _buildHeader(BuildContext context, dynamic i18n) { - return BlocBuilder( - builder: (context, state) { - return Padding( - padding: const EdgeInsets.fromLTRB( - UiConstants.space4, - UiConstants.space4, - UiConstants.space4, - UiConstants.space3, - ), - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Row( - children: [ - Container( - width: 40, - height: 40, - decoration: BoxDecoration( - shape: BoxShape.circle, - border: Border.all( - color: UiColors.primary.withValues(alpha: 0.2), - width: 2, - ), - ), - child: CircleAvatar( - backgroundColor: UiColors.primary.withValues(alpha: 0.1), - child: Text( - 'C', - style: UiTypography.body2b.copyWith( - color: UiColors.primary, - ), - ), - ), - ), - const SizedBox(width: UiConstants.space3), - Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - i18n.dashboard.welcome_back, - style: UiTypography.footnote2r.textSecondary, - ), - Text('Your Company', style: UiTypography.body1b), - ], - ), - ], - ), - Row( - children: [ - _HeaderIconButton( - icon: UiIcons.edit, - isActive: state.isEditMode, - onTap: () => BlocProvider.of( - context, - ).add(ClientHomeEditModeToggled()), - ), - const SizedBox(width: UiConstants.space2), - _HeaderIconButton( - icon: UiIcons.bell, - badgeText: '3', - onTap: () {}, - ), - const SizedBox(width: UiConstants.space2), - _HeaderIconButton(icon: UiIcons.settings, onTap: () {}), - ], - ), - ], - ), - ); - }, - ); - } - - Widget _buildEditModeBanner(dynamic i18n) { - return BlocBuilder( - buildWhen: (prev, curr) => prev.isEditMode != curr.isEditMode, - builder: (context, state) { - return AnimatedContainer( - duration: const Duration(milliseconds: 300), - height: state.isEditMode ? 76 : 0, - clipBehavior: Clip.antiAlias, - margin: const EdgeInsets.symmetric( - horizontal: UiConstants.space4, - vertical: UiConstants.space2, - ), - padding: const EdgeInsets.all(UiConstants.space3), - decoration: BoxDecoration( - color: UiColors.primary.withValues(alpha: 0.1), - border: Border.all(color: UiColors.primary.withValues(alpha: 0.3)), - borderRadius: UiConstants.radiusLg, - ), - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - const Icon(UiIcons.edit, size: 16, color: UiColors.primary), - const SizedBox(width: UiConstants.space2), - Column( - crossAxisAlignment: CrossAxisAlignment.start, - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Text( - i18n.dashboard.edit_mode_active, - style: UiTypography.footnote1b.copyWith( - color: UiColors.primary, - ), - ), - Text( - i18n.dashboard.drag_instruction, - style: UiTypography.footnote2r.textSecondary, - ), - ], - ), - UiButton.secondary( - text: i18n.dashboard.reset, - onPressed: () => BlocProvider.of( - context, - ).add(ClientHomeLayoutReset()), - size: UiButtonSize.small, - style: OutlinedButton.styleFrom( - minimumSize: const Size(0, 48), - maximumSize: const Size(double.infinity, 48), - ), - ), - ], - ), - ); - }, - ); - } - - Widget _buildDraggableWidgetWrapper( - BuildContext context, - String id, - ClientHomeState state, - ) { - final isVisible = state.widgetVisibility[id] ?? true; - final title = _getWidgetTitle(id); - - return Column( - children: [ - Row( - children: [ - Container( - padding: const EdgeInsets.symmetric( - horizontal: UiConstants.space2, - vertical: UiConstants.space1, - ), - decoration: BoxDecoration( - color: UiColors.white, - borderRadius: UiConstants.radiusMd, - border: Border.all(color: UiColors.border), - ), - child: Row( - children: [ - const Icon( - UiIcons.gripVertical, - size: 14, - color: UiColors.iconSecondary, - ), - const SizedBox(width: UiConstants.space2), - Text(title, style: UiTypography.footnote1m), - ], - ), - ), - const SizedBox(width: UiConstants.space2), - GestureDetector( - onTap: () => BlocProvider.of( - context, - ).add(ClientHomeWidgetVisibilityToggled(id)), - child: Container( - padding: const EdgeInsets.all(UiConstants.space1), - decoration: BoxDecoration( - color: UiColors.white, - borderRadius: UiConstants.radiusMd, - border: Border.all(color: UiColors.border), - ), - child: Icon( - isVisible ? UiIcons.success : UiIcons.error, - size: 14, - color: isVisible ? UiColors.primary : UiColors.iconSecondary, - ), - ), - ), - ], - ), - const SizedBox(height: UiConstants.space2), - Opacity( - opacity: isVisible ? 1.0 : 0.4, - child: IgnorePointer( - ignoring: !isVisible, - child: _buildWidgetContent(context, id, state), - ), - ), - ], - ); - } - - Widget _buildWidgetContent( - BuildContext context, - String id, - ClientHomeState state, - ) { - switch (id) { - case 'actions': - return ActionsWidget( - onRapidPressed: () {}, - onCreateOrderPressed: () => _openOrderFormSheet(context, null), - ); - case 'reorder': - return ReorderWidget( - onReorderPressed: (data) => _openOrderFormSheet(context, data), - ); - case 'spending': - return SpendingWidget( - weeklySpending: state.dashboardData.weeklySpending, - next7DaysSpending: state.dashboardData.next7DaysSpending, - weeklyShifts: state.dashboardData.weeklyShifts, - next7DaysScheduled: state.dashboardData.next7DaysScheduled, - ); - case 'coverage': - return CoverageWidget( - totalNeeded: state.dashboardData.totalNeeded, - totalConfirmed: state.dashboardData.totalFilled, - coveragePercent: state.dashboardData.totalNeeded > 0 - ? ((state.dashboardData.totalFilled / - state.dashboardData.totalNeeded) * - 100) - .toInt() - : 0, - ); - case 'liveActivity': - return LiveActivityWidget(onViewAllPressed: () {}); - default: - return const SizedBox.shrink(); - } - } - - String _getWidgetTitle(String id) { - final i18n = t.client_home.widgets; - switch (id) { - case 'actions': - return i18n.actions; - case 'reorder': - return i18n.reorder; - case 'coverage': - return i18n.coverage; - case 'spending': - return i18n.spending; - case 'liveActivity': - return i18n.live_activity; - default: - return ''; - } - } -} - -class _HeaderIconButton extends StatelessWidget { - final IconData icon; - final String? badgeText; - final bool isActive; - final VoidCallback onTap; - - const _HeaderIconButton({ - required this.icon, - this.badgeText, - this.isActive = false, - required this.onTap, - }); - - @override - Widget build(BuildContext context) { - return GestureDetector( - onTap: onTap, - child: Stack( - clipBehavior: Clip.none, - children: [ - Container( - width: 32, - height: 32, - decoration: BoxDecoration( - color: isActive ? UiColors.primary : UiColors.white, - borderRadius: UiConstants.radiusMd, - boxShadow: [ - BoxShadow( - color: Colors.black.withValues(alpha: 0.05), - blurRadius: 2, - ), - ], - ), - child: Icon( - icon, - color: isActive ? UiColors.white : UiColors.iconSecondary, - size: 16, - ), - ), - if (badgeText != null) - Positioned( - top: -4, - right: -4, - child: Container( - padding: const EdgeInsets.all(4), - decoration: const BoxDecoration( - color: UiColors.iconError, - shape: BoxShape.circle, - ), - constraints: const BoxConstraints(minWidth: 16, minHeight: 16), - child: Center( - child: Text( - badgeText!, - style: UiTypography.footnote2b.copyWith( - color: UiColors.white, - fontSize: 8, - ), - ), - ), - ), - ), - ], - ), - ); - } -} diff --git a/apps/packages/features/client/home/lib/src/presentation/widgets/actions_widget.dart b/apps/packages/features/client/home/lib/src/presentation/widgets/actions_widget.dart deleted file mode 100644 index 5a854195..00000000 --- a/apps/packages/features/client/home/lib/src/presentation/widgets/actions_widget.dart +++ /dev/null @@ -1,130 +0,0 @@ -import 'package:core_localization/core_localization.dart'; -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; - -/// A widget that displays quick actions for the client. -class ActionsWidget extends StatelessWidget { - /// Callback when RAPID is pressed. - final VoidCallback onRapidPressed; - - /// Callback when Create Order is pressed. - final VoidCallback onCreateOrderPressed; - - /// Creates an [ActionsWidget]. - const ActionsWidget({ - super.key, - required this.onRapidPressed, - required this.onCreateOrderPressed, - }); - - @override - Widget build(BuildContext context) { - // Check if client_home exists in t - final i18n = t.client_home.actions; - - return Row( - children: [ - Expanded( - child: _ActionCard( - title: i18n.rapid, - subtitle: i18n.rapid_subtitle, - icon: UiIcons.zap, - color: const Color(0xFFFEF2F2), - borderColor: const Color(0xFFFECACA), - iconBgColor: const Color(0xFFFEE2E2), - iconColor: const Color(0xFFDC2626), - textColor: const Color(0xFF7F1D1D), - subtitleColor: const Color(0xFFB91C1C), - onTap: onRapidPressed, - ), - ), - const SizedBox(width: UiConstants.space2), - Expanded( - child: _ActionCard( - title: i18n.create_order, - subtitle: i18n.create_order_subtitle, - icon: UiIcons.add, - color: UiColors.white, - borderColor: UiColors.border, - iconBgColor: const Color(0xFFEFF6FF), - iconColor: const Color(0xFF2563EB), - textColor: UiColors.textPrimary, - subtitleColor: UiColors.textSecondary, - onTap: onCreateOrderPressed, - ), - ), - ], - ); - } -} - -class _ActionCard extends StatelessWidget { - final String title; - final String subtitle; - final IconData icon; - final Color color; - final Color borderColor; - final Color iconBgColor; - final Color iconColor; - final Color textColor; - final Color subtitleColor; - final VoidCallback onTap; - - const _ActionCard({ - required this.title, - required this.subtitle, - required this.icon, - required this.color, - required this.borderColor, - required this.iconBgColor, - required this.iconColor, - required this.textColor, - required this.subtitleColor, - required this.onTap, - }); - - @override - Widget build(BuildContext context) { - return GestureDetector( - onTap: onTap, - child: Container( - height: 100, - padding: const EdgeInsets.all(UiConstants.space3), - decoration: BoxDecoration( - color: color, - borderRadius: UiConstants.radiusLg, - border: Border.all(color: borderColor), - boxShadow: [ - BoxShadow( - color: UiColors.black.withValues(alpha: 0.02), - blurRadius: 4, - ), - ], - ), - child: Column( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Container( - width: 36, - height: 36, - decoration: BoxDecoration( - color: iconBgColor, - borderRadius: UiConstants.radiusLg, - ), - child: Icon(icon, color: iconColor, size: 16), - ), - const SizedBox(height: UiConstants.space2), - Text( - title, - style: UiTypography.footnote1b.copyWith(color: textColor), - ), - Text( - subtitle, - style: UiTypography.footnote2r.copyWith(color: subtitleColor), - ), - ], - ), - ), - ); - } -} diff --git a/apps/packages/features/client/home/lib/src/presentation/widgets/coverage_dashboard.dart b/apps/packages/features/client/home/lib/src/presentation/widgets/coverage_dashboard.dart deleted file mode 100644 index ab203897..00000000 --- a/apps/packages/features/client/home/lib/src/presentation/widgets/coverage_dashboard.dart +++ /dev/null @@ -1,222 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; - -/// A dashboard widget that displays today's coverage status. -class CoverageDashboard extends StatelessWidget { - /// The list of shifts for today. - final List shifts; - - /// The list of applications for today's shifts. - final List applications; - - /// Creates a [CoverageDashboard]. - const CoverageDashboard({ - super.key, - required this.shifts, - required this.applications, - }); - - @override - Widget build(BuildContext context) { - int totalNeeded = 0; - int totalConfirmed = 0; - double todayCost = 0; - - for (final s in shifts) { - final needed = s['workersNeeded'] as int? ?? 0; - final confirmed = s['filled'] as int? ?? 0; - final rate = s['hourlyRate'] as double? ?? 20.0; - - totalNeeded += needed; - totalConfirmed += confirmed; - todayCost += rate * 8 * confirmed; - } - - final coveragePercent = totalNeeded > 0 - ? ((totalConfirmed / totalNeeded) * 100).round() - : 100; - final unfilledPositions = totalNeeded - totalConfirmed; - - final checkedInCount = applications - .where((a) => (a as Map)['checkInTime'] != null) - .length; - final lateWorkersCount = applications - .where((a) => (a as Map)['status'] == 'LATE') - .length; - - final isCoverageGood = coveragePercent >= 90; - final coverageBadgeColor = isCoverageGood - ? const Color(0xFFD1FAE5) // TODO: Use design system color if available - : const Color(0xFFFEF3C7); - final coverageTextColor = isCoverageGood - ? const Color(0xFF047857) - : const Color(0xFFB45309); - - return Container( - padding: const EdgeInsets.all(UiConstants.space4), - decoration: BoxDecoration( - color: UiColors.white, - borderRadius: UiConstants.radiusLg, - border: Border.all(color: UiColors.border), - boxShadow: [ - BoxShadow( - color: UiColors.black.withValues(alpha: 0.02), - blurRadius: 4, - offset: const Offset(0, 1), - ), - ], - ), - child: Column( - children: [ - Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Text("Today's Status", style: UiTypography.body1m.textSecondary), - Container( - padding: const EdgeInsets.symmetric( - horizontal: UiConstants.space2, - vertical: 2.0, - ), - decoration: BoxDecoration( - color: coverageBadgeColor, - borderRadius: UiConstants.radiusMd, - ), - child: Text( - '$coveragePercent% Covered', - style: UiTypography.footnote1b.copyWith( - color: coverageTextColor, - ), - ), - ), - ], - ), - const SizedBox(height: UiConstants.space4), - - Row( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Expanded( - child: Column( - children: [ - _StatusCard( - label: 'Unfilled Today', - value: '$unfilledPositions', - icon: UiIcons.warning, - isWarning: unfilledPositions > 0, - ), - if (lateWorkersCount > 0) ...[ - const SizedBox(height: UiConstants.space2), - _StatusCard( - label: 'Running Late', - value: '$lateWorkersCount', - icon: UiIcons.error, - isError: true, - ), - ], - ], - ), - ), - const SizedBox(width: UiConstants.space2), - Expanded( - child: Column( - children: [ - _StatusCard( - label: 'Checked In', - value: '$checkedInCount/$totalConfirmed', - icon: UiIcons.success, - isInfo: true, - ), - const SizedBox(height: UiConstants.space2), - _StatusCard( - label: "Today's Cost", - value: '\$${todayCost.round()}', - icon: UiIcons.dollar, - isInfo: true, - ), - ], - ), - ), - ], - ), - ], - ), - ); - } -} - -class _StatusCard extends StatelessWidget { - final String label; - final String value; - final IconData icon; - final bool isWarning; - final bool isError; - final bool isInfo; - - const _StatusCard({ - required this.label, - required this.value, - required this.icon, - this.isWarning = false, - this.isError = false, - this.isInfo = false, - }); - - @override - Widget build(BuildContext context) { - Color bg = const Color(0xFFF1F5F9); - Color border = const Color(0xFFE2E8F0); - Color iconColor = UiColors.iconSecondary; - Color textColor = UiColors.textPrimary; - - if (isWarning) { - bg = const Color(0xFFFFFBEB); - border = const Color(0xFFFDE68A); - iconColor = const Color(0xFFD97706); - textColor = const Color(0xFFB45309); - } else if (isError) { - bg = const Color(0xFFFEF2F2); - border = const Color(0xFFFECACA); - iconColor = const Color(0xFFDC2626); - textColor = const Color(0xFFB91C1C); - } else if (isInfo) { - bg = const Color(0xFFEFF6FF); - border = const Color(0xFFBFDBFE); - iconColor = const Color(0xFF2563EB); - textColor = const Color(0xFF1D4ED8); - } - - return Container( - padding: const EdgeInsets.all(UiConstants.space3), - decoration: BoxDecoration( - color: bg, - border: Border.all(color: border), - borderRadius: UiConstants.radiusMd, - ), - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Row( - children: [ - Icon(icon, size: 16, color: iconColor), - const SizedBox(width: UiConstants.space2), - Expanded( - child: Text( - label, - style: UiTypography.footnote1m.copyWith( - color: textColor.withValues(alpha: 0.8), - ), - overflow: TextOverflow.ellipsis, - ), - ), - ], - ), - const SizedBox(height: UiConstants.space1), - Text( - value, - style: UiTypography.headline3m.copyWith(color: textColor), - ), - ], - ), - ); - } -} diff --git a/apps/packages/features/client/home/lib/src/presentation/widgets/coverage_widget.dart b/apps/packages/features/client/home/lib/src/presentation/widgets/coverage_widget.dart deleted file mode 100644 index fea90fb1..00000000 --- a/apps/packages/features/client/home/lib/src/presentation/widgets/coverage_widget.dart +++ /dev/null @@ -1,152 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; - -/// A widget that displays the daily coverage metrics. -class CoverageWidget extends StatelessWidget { - /// The total number of shifts needed. - final int totalNeeded; - - /// The number of confirmed shifts. - final int totalConfirmed; - - /// The percentage of coverage (0-100). - final int coveragePercent; - - /// Creates a [CoverageWidget]. - const CoverageWidget({ - super.key, - this.totalNeeded = 10, - this.totalConfirmed = 8, - this.coveragePercent = 80, - }); - - @override - Widget build(BuildContext context) { - return Column( - children: [ - Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Text( - "TODAY'S COVERAGE", - style: UiTypography.footnote1b.copyWith( - color: UiColors.textPrimary, - letterSpacing: 0.5, - ), - ), - Container( - padding: const EdgeInsets.symmetric( - horizontal: UiConstants.space2, - vertical: - 2, // 2px is not in metrics, using hardcoded for small tweaks or space0/space1 - ), - decoration: BoxDecoration( - color: UiColors.tagActive, - borderRadius: UiConstants.radiusLg, - ), - child: Text( - '$coveragePercent% Covered', - style: UiTypography.footnote2b.copyWith( - color: UiColors.textSuccess, - ), - ), - ), - ], - ), - const SizedBox(height: UiConstants.space2), - Row( - children: [ - Expanded( - child: _MetricCard( - icon: UiIcons.target, - iconColor: UiColors.primary, - label: 'Needed', - value: '$totalNeeded', - ), - ), - const SizedBox(width: UiConstants.space2), - Expanded( - child: _MetricCard( - icon: UiIcons.success, - iconColor: UiColors.iconSuccess, - label: 'Filled', - value: '$totalConfirmed', - valueColor: UiColors.textSuccess, - ), - ), - const SizedBox(width: UiConstants.space2), - Expanded( - child: _MetricCard( - icon: UiIcons.error, - iconColor: UiColors.iconError, - label: 'Open', - value: '${totalNeeded - totalConfirmed}', - valueColor: UiColors.textError, - ), - ), - ], - ), - ], - ); - } -} - -class _MetricCard extends StatelessWidget { - final IconData icon; - final Color iconColor; - final String label; - final String value; - final Color? valueColor; - - const _MetricCard({ - required this.icon, - required this.iconColor, - required this.label, - required this.value, - this.valueColor, - }); - - @override - Widget build(BuildContext context) { - return Container( - padding: const EdgeInsets.all(UiConstants.space2 + 2), // 10px - decoration: BoxDecoration( - color: UiColors.cardViewBackground, - borderRadius: UiConstants.radiusLg, - border: Border.all(color: UiColors.border), - boxShadow: [ - BoxShadow( - color: UiColors.black.withValues(alpha: 0.02), - blurRadius: 2, - ), - ], - ), - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Row( - children: [ - Icon(icon, size: 14, color: iconColor), - const SizedBox(width: 6), // 6px - Text( - label, - style: UiTypography.footnote2m.copyWith( - color: UiColors.textSecondary, - ), - ), - ], - ), - const SizedBox(width: 6), // 6px - Text( - value, - style: UiTypography.headline3m.copyWith( - color: valueColor ?? UiColors.textPrimary, - fontWeight: - FontWeight.bold, // header3 is usually bold, but ensuring - ), - ), - ], - ), - ); - } -} diff --git a/apps/packages/features/client/home/lib/src/presentation/widgets/live_activity_widget.dart b/apps/packages/features/client/home/lib/src/presentation/widgets/live_activity_widget.dart deleted file mode 100644 index 037eb7d2..00000000 --- a/apps/packages/features/client/home/lib/src/presentation/widgets/live_activity_widget.dart +++ /dev/null @@ -1,69 +0,0 @@ -import 'package:core_localization/core_localization.dart'; -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'coverage_dashboard.dart'; - -/// A widget that displays live activity information. -class LiveActivityWidget extends StatelessWidget { - /// Callback when "View all" is pressed. - final VoidCallback onViewAllPressed; - - /// Creates a [LiveActivityWidget]. - const LiveActivityWidget({super.key, required this.onViewAllPressed}); - - @override - Widget build(BuildContext context) { - final i18n = t.client_home; - - // Mock data - final shifts = [ - { - 'workersNeeded': 5, - 'filled': 4, - 'hourlyRate': 20.0, - 'status': 'OPEN', - 'date': DateTime.now().toIso8601String().split('T')[0], - }, - { - 'workersNeeded': 5, - 'filled': 5, - 'hourlyRate': 22.0, - 'status': 'FILLED', - 'date': DateTime.now().toIso8601String().split('T')[0], - }, - ]; - final applications = [ - {'status': 'CONFIRMED', 'checkInTime': '09:00'}, - {'status': 'CONFIRMED', 'checkInTime': '09:05'}, - {'status': 'CONFIRMED'}, - {'status': 'LATE'}, - ]; - - return Column( - children: [ - Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Text( - i18n.widgets.live_activity.toUpperCase(), - style: UiTypography.footnote1b.textSecondary.copyWith( - letterSpacing: 0.5, - ), - ), - GestureDetector( - onTap: onViewAllPressed, - child: Text( - i18n.dashboard.view_all, - style: UiTypography.footnote1m.copyWith( - color: UiColors.primary, - ), - ), - ), - ], - ), - const SizedBox(height: UiConstants.space2), - CoverageDashboard(shifts: shifts, applications: applications), - ], - ); - } -} diff --git a/apps/packages/features/client/home/lib/src/presentation/widgets/reorder_widget.dart b/apps/packages/features/client/home/lib/src/presentation/widgets/reorder_widget.dart deleted file mode 100644 index eccf3281..00000000 --- a/apps/packages/features/client/home/lib/src/presentation/widgets/reorder_widget.dart +++ /dev/null @@ -1,233 +0,0 @@ -import 'package:core_localization/core_localization.dart'; -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; - -/// A widget that allows clients to reorder recent shifts. -class ReorderWidget extends StatelessWidget { - /// Callback when a reorder button is pressed. - final Function(Map shiftData) onReorderPressed; - - /// Creates a [ReorderWidget]. - const ReorderWidget({super.key, required this.onReorderPressed}); - - @override - Widget build(BuildContext context) { - final i18n = t.client_home.reorder; - - // Mock recent orders - final recentOrders = [ - { - 'title': 'Server', - 'location': 'Downtown Restaurant', - 'hourlyRate': 18.0, - 'hours': 6, - 'workers': 3, - 'type': 'One Day', - }, - { - 'title': 'Bartender', - 'location': 'Rooftop Bar', - 'hourlyRate': 22.0, - 'hours': 7, - 'workers': 2, - 'type': 'One Day', - }, - { - 'title': 'Event Staff', - 'location': 'Convention Center', - 'hourlyRate': 20.0, - 'hours': 10, - 'workers': 5, - 'type': 'Multi-Day', - }, - ]; - - return Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - i18n.title, - style: UiTypography.footnote1b.textSecondary.copyWith( - letterSpacing: 0.5, - ), - ), - const SizedBox(height: UiConstants.space2), - SizedBox( - height: 140, - child: ListView.separated( - scrollDirection: Axis.horizontal, - itemCount: recentOrders.length, - separatorBuilder: (context, index) => - const SizedBox(width: UiConstants.space3), - itemBuilder: (context, index) { - final order = recentOrders[index]; - final totalCost = - (order['hourlyRate'] as double) * - (order['hours'] as int) * - (order['workers'] as int); - - return Container( - width: 260, - padding: const EdgeInsets.all(UiConstants.space3), - decoration: BoxDecoration( - color: UiColors.white, - borderRadius: UiConstants.radiusLg, - border: Border.all(color: UiColors.border), - boxShadow: [ - BoxShadow( - color: UiColors.black.withValues(alpha: 0.02), - blurRadius: 4, - ), - ], - ), - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Expanded( - child: Row( - children: [ - Container( - width: 36, - height: 36, - decoration: BoxDecoration( - color: UiColors.primary.withValues( - alpha: 0.1, - ), - borderRadius: UiConstants.radiusLg, - ), - child: const Icon( - UiIcons.building, - size: 16, - color: UiColors.primary, - ), - ), - const SizedBox(width: UiConstants.space2), - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - order['title'] as String, - style: UiTypography.body2b, - overflow: TextOverflow.ellipsis, - ), - Text( - order['location'] as String, - style: - UiTypography.footnote1r.textSecondary, - overflow: TextOverflow.ellipsis, - ), - ], - ), - ), - ], - ), - ), - Column( - crossAxisAlignment: CrossAxisAlignment.end, - children: [ - Text( - '\$${totalCost.toStringAsFixed(0)}', - style: UiTypography.body1b, - ), - Text( - i18n.per_hr( - amount: order['hourlyRate'].toString(), - ) + - ' · ${order['hours']}h', - style: UiTypography.footnote2r.textSecondary, - ), - ], - ), - ], - ), - const SizedBox(height: UiConstants.space3), - Row( - children: [ - _Badge( - icon: UiIcons.success, - text: order['type'] as String, - color: const Color(0xFF2563EB), - bg: const Color(0xFF2563EB), - textColor: UiColors.white, - ), - const SizedBox(width: UiConstants.space2), - _Badge( - icon: UiIcons.building, - text: '${order['workers']}', - color: const Color(0xFF334155), - bg: const Color(0xFFF1F5F9), - textColor: const Color(0xFF334155), - ), - ], - ), - const Spacer(), - SizedBox( - height: 28, - width: double.infinity, - child: ElevatedButton.icon( - onPressed: () => onReorderPressed(order), - style: ElevatedButton.styleFrom( - backgroundColor: UiColors.primary, - foregroundColor: UiColors.white, - padding: EdgeInsets.zero, - shape: RoundedRectangleBorder( - borderRadius: UiConstants.radiusMd, - ), - elevation: 0, - ), - icon: const Icon(UiIcons.zap, size: 12), - label: Text( - i18n.reorder_button, - style: UiTypography.footnote1m, - ), - ), - ), - ], - ), - ); - }, - ), - ), - ], - ); - } -} - -class _Badge extends StatelessWidget { - final IconData icon; - final String text; - final Color color; - final Color bg; - final Color textColor; - - const _Badge({ - required this.icon, - required this.text, - required this.color, - required this.bg, - required this.textColor, - }); - - @override - Widget build(BuildContext context) { - return Container( - padding: const EdgeInsets.symmetric( - horizontal: UiConstants.space2, - vertical: UiConstants.space1, - ), - decoration: BoxDecoration(color: bg, borderRadius: UiConstants.radiusSm), - child: Row( - mainAxisSize: MainAxisSize.min, - children: [ - Icon(icon, size: 10, color: bg == textColor ? UiColors.white : color), - const SizedBox(width: UiConstants.space1), - Text(text, style: UiTypography.footnote2b.copyWith(color: textColor)), - ], - ), - ); - } -} diff --git a/apps/packages/features/client/home/lib/src/presentation/widgets/shift_order_form_sheet.dart b/apps/packages/features/client/home/lib/src/presentation/widgets/shift_order_form_sheet.dart deleted file mode 100644 index 760a09b3..00000000 --- a/apps/packages/features/client/home/lib/src/presentation/widgets/shift_order_form_sheet.dart +++ /dev/null @@ -1,438 +0,0 @@ -import 'package:core_localization/core_localization.dart'; -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; - -/// A bottom sheet form for creating or reordering shifts. -class ShiftOrderFormSheet extends StatefulWidget { - /// Initial data for the form (e.g. from a reorder action). - final Map? initialData; - - /// Callback when the form is submitted. - final Function(Map data) onSubmit; - - /// Whether the submission is loading. - final bool isLoading; - - /// Creates a [ShiftOrderFormSheet]. - const ShiftOrderFormSheet({ - super.key, - this.initialData, - required this.onSubmit, - this.isLoading = false, - }); - - @override - State createState() => _ShiftOrderFormSheetState(); -} - -class _ShiftOrderFormSheetState extends State { - late Map _formData; - final List _roles = [ - 'Server', - 'Bartender', - 'Busser', - 'Cook', - 'Dishwasher', - 'Event Staff', - 'Warehouse Worker', - 'Retail Associate', - 'Host/Hostess', - ]; - - @override - void initState() { - super.initState(); - final defaultPosition = { - 'title': '', - 'start_time': '', - 'end_time': '', - 'workers_needed': 1, - 'hourly_rate': 18.0, - }; - - final defaults = { - 'date': '', - 'location': '', - 'recurring': false, - 'duration_days': null, - 'permanent': false, - 'duration_months': null, - 'positions': [Map.from(defaultPosition)], - }; - - if (widget.initialData != null) { - final input = widget.initialData!; - final firstPosition = { - ...defaultPosition, - 'title': input['title'] ?? input['role'] ?? '', - 'start_time': input['startTime'] ?? input['start_time'] ?? '', - 'end_time': input['endTime'] ?? input['end_time'] ?? '', - 'hourly_rate': (input['hourlyRate'] ?? input['hourly_rate'] ?? 18.0) - .toDouble(), - 'workers_needed': (input['workers'] ?? input['workers_needed'] ?? 1) - .toInt(), - }; - - _formData = { - ...defaults, - ...input, - 'positions': [firstPosition], - }; - } else { - _formData = Map.from(defaults); - } - - if (_formData['date'] == null || _formData['date'] == '') { - final tomorrow = DateTime.now().add(const Duration(days: 1)); - _formData['date'] = tomorrow.toIso8601String().split('T')[0]; - } - } - - void _updateField(String field, dynamic value) { - setState(() { - _formData[field] = value; - }); - } - - void _updatePositionField(int index, String field, dynamic value) { - setState(() { - _formData['positions'][index][field] = value; - }); - } - - void _addPosition() { - setState(() { - _formData['positions'].add({ - 'title': '', - 'start_time': '', - 'end_time': '', - 'workers_needed': 1, - 'hourly_rate': 18.0, - }); - }); - } - - void _removePosition(int index) { - if (_formData['positions'].length > 1) { - setState(() { - _formData['positions'].removeAt(index); - }); - } - } - - String _getShiftType() { - if (_formData['permanent'] == true || - _formData['duration_months'] != null) { - return 'Long Term'; - } - if (_formData['recurring'] == true || _formData['duration_days'] != null) { - return 'Multi-Day'; - } - return 'One Day'; - } - - @override - Widget build(BuildContext context) { - final i18n = t.client_home.form; - - return Container( - height: MediaQuery.of(context).size.height * 0.9, - decoration: const BoxDecoration( - color: UiColors.white, - borderRadius: BorderRadius.vertical(top: Radius.circular(20)), - ), - child: Column( - children: [ - Container( - padding: const EdgeInsets.all(UiConstants.space5), - decoration: BoxDecoration( - border: Border(bottom: BorderSide(color: UiColors.border)), - ), - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Text( - widget.initialData != null - ? i18n.edit_reorder - : i18n.post_new, - style: UiTypography.headline3m.copyWith( - fontWeight: FontWeight.bold, - ), - ), - IconButton( - icon: const Icon( - UiIcons.close, - color: UiColors.iconSecondary, - ), - onPressed: () => Navigator.pop(context), - ), - ], - ), - ), - if (widget.initialData != null) - Padding( - padding: const EdgeInsets.only( - left: UiConstants.space5, - right: UiConstants.space5, - bottom: UiConstants.space5, - ), - child: Text( - i18n.review_subtitle, - style: UiTypography.body2r.textSecondary, - ), - ), - Expanded( - child: SingleChildScrollView( - padding: const EdgeInsets.symmetric( - horizontal: UiConstants.space5, - ), - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - // Shift Type Badge - Container( - margin: const EdgeInsets.only(bottom: UiConstants.space5), - padding: const EdgeInsets.symmetric( - horizontal: UiConstants.space3, - vertical: UiConstants.space2, - ), - decoration: BoxDecoration( - color: const Color(0xFFEFF6FF), - borderRadius: UiConstants.radiusFull, - border: Border.all(color: const Color(0xFFBFDBFE)), - ), - child: Row( - mainAxisSize: MainAxisSize.min, - children: [ - Container( - width: 8, - height: 8, - decoration: const BoxDecoration( - shape: BoxShape.circle, - color: Color(0xFF3B82F6), - ), - ), - const SizedBox(width: UiConstants.space2), - Text( - _getShiftType(), - style: UiTypography.footnote1b.copyWith( - color: const Color(0xFF1D4ED8), - ), - ), - ], - ), - ), - - _buildLabel(i18n.date_label), - UiTextField( - hintText: i18n.date_hint, - controller: TextEditingController(text: _formData['date']), - readOnly: true, - onTap: () async { - final selectedDate = await showDatePicker( - context: context, - initialDate: - _formData['date'] != null && - _formData['date'].isNotEmpty - ? DateTime.parse(_formData['date']) - : DateTime.now(), - firstDate: DateTime.now(), - lastDate: DateTime.now().add( - const Duration(days: 365 * 5), - ), - ); - if (selectedDate != null) { - _updateField( - 'date', - selectedDate.toIso8601String().split('T')[0], - ); - } - }, - ), - const SizedBox(height: UiConstants.space5), - - _buildLabel(i18n.location_label), - UiTextField( - hintText: i18n.location_hint, - controller: TextEditingController( - text: _formData['location'], - ), - onChanged: (value) => _updateField('location', value), - ), - const SizedBox(height: UiConstants.space5), - - Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Text(i18n.positions_title, style: UiTypography.body1b), - UiButton.text( - onPressed: _addPosition, - text: i18n.add_position, - leadingIcon: UiIcons.add, - size: UiButtonSize.small, - style: TextButton.styleFrom( - minimumSize: const Size(0, 48), - maximumSize: const Size(double.infinity, 48), - ), - ), - ], - ), - const SizedBox(height: UiConstants.space4), - - ...(_formData['positions'] as List).asMap().entries.map(( - entry, - ) { - final index = entry.key; - final position = entry.value; - return _PositionCard( - index: index, - position: position, - showDelete: _formData['positions'].length > 1, - onDelete: () => _removePosition(index), - roles: _roles, - onUpdate: (field, value) => - _updatePositionField(index, field, value), - labels: i18n, - ); - }), - const SizedBox(height: UiConstants.space10), - ], - ), - ), - ), - Padding( - padding: const EdgeInsets.all(UiConstants.space5), - child: UiButton.primary( - text: i18n.post_shift, - onPressed: () => widget.onSubmit(_formData), - ), - ), - ], - ), - ); - } - - Widget _buildLabel(String text) { - return Padding( - padding: const EdgeInsets.only(bottom: UiConstants.space2), - child: Text(text, style: UiTypography.body2b), - ); - } -} - -class _PositionCard extends StatelessWidget { - final int index; - final Map position; - final bool showDelete; - final VoidCallback onDelete; - final List roles; - final Function(String field, dynamic value) onUpdate; - final dynamic labels; - - const _PositionCard({ - required this.index, - required this.position, - required this.showDelete, - required this.onDelete, - required this.roles, - required this.onUpdate, - required this.labels, - }); - - @override - Widget build(BuildContext context) { - return Card( - elevation: 0, - margin: const EdgeInsets.only(bottom: UiConstants.space5), - shape: RoundedRectangleBorder(borderRadius: UiConstants.radiusLg), - color: const Color(0xFFF8FAFC), - child: Padding( - padding: const EdgeInsets.all(UiConstants.space4), - child: Column( - children: [ - Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Row( - children: [ - Container( - width: 32, - height: 32, - decoration: const BoxDecoration( - shape: BoxShape.circle, - color: UiColors.primary, - ), - child: Center( - child: Text( - '${index + 1}', - style: UiTypography.footnote1b.copyWith( - color: UiColors.white, - ), - ), - ), - ), - const SizedBox(width: UiConstants.space2), - Text('Position ${index + 1}', style: UiTypography.body2b), - ], - ), - if (showDelete) - IconButton( - icon: const Icon( - UiIcons.close, - size: 18, - color: UiColors.iconError, - ), - onPressed: onDelete, - ), - ], - ), - const SizedBox(height: UiConstants.space4), - - // Simplified for brevity in prototype-to-feature move - DropdownButtonFormField( - initialValue: position['title'].isEmpty - ? null - : position['title'], - hint: Text(labels.role_hint), - items: roles - .map( - (role) => DropdownMenuItem(value: role, child: Text(role)), - ) - .toList(), - onChanged: (value) => onUpdate('title', value), - decoration: InputDecoration( - labelText: labels.role_label, - border: const OutlineInputBorder(), - ), - ), - - const SizedBox(height: UiConstants.space4), - Row( - children: [ - Expanded( - child: UiTextField( - label: labels.start_time, - controller: TextEditingController( - text: position['start_time'], - ), - onChanged: (v) => onUpdate('start_time', v), - ), - ), - const SizedBox(width: UiConstants.space2), - Expanded( - child: UiTextField( - label: labels.end_time, - controller: TextEditingController( - text: position['end_time'], - ), - onChanged: (v) => onUpdate('end_time', v), - ), - ), - ], - ), - ], - ), - ), - ); - } -} diff --git a/apps/packages/features/client/home/lib/src/presentation/widgets/spending_widget.dart b/apps/packages/features/client/home/lib/src/presentation/widgets/spending_widget.dart deleted file mode 100644 index 50e8e0ef..00000000 --- a/apps/packages/features/client/home/lib/src/presentation/widgets/spending_widget.dart +++ /dev/null @@ -1,175 +0,0 @@ -import 'package:core_localization/core_localization.dart'; -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; - -/// A widget that displays spending insights for the client. -class SpendingWidget extends StatelessWidget { - /// The spending this week. - final double weeklySpending; - - /// The spending for the next 7 days. - final double next7DaysSpending; - - /// The number of shifts this week. - final int weeklyShifts; - - /// The number of scheduled shifts for next 7 days. - final int next7DaysScheduled; - - /// Creates a [SpendingWidget]. - const SpendingWidget({ - super.key, - required this.weeklySpending, - required this.next7DaysSpending, - required this.weeklyShifts, - required this.next7DaysScheduled, - }); - - @override - Widget build(BuildContext context) { - final i18n = t.client_home; - - return Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - i18n.widgets.spending.toUpperCase(), - style: UiTypography.footnote1b.textSecondary.copyWith( - letterSpacing: 0.5, - ), - ), - const SizedBox(height: UiConstants.space2), - Container( - padding: const EdgeInsets.all(UiConstants.space3), - decoration: BoxDecoration( - gradient: const LinearGradient( - colors: [UiColors.primary, Color(0xFF0830B8)], - begin: Alignment.topLeft, - end: Alignment.bottomRight, - ), - borderRadius: UiConstants.radiusLg, - boxShadow: [ - BoxShadow( - color: UiColors.primary.withValues(alpha: 0.3), - blurRadius: 4, - offset: const Offset(0, 4), - ), - ], - ), - child: Column( - children: [ - Row( - children: [ - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const Text( - 'This Week', - style: TextStyle(color: Colors.white70, fontSize: 9), - ), - const SizedBox(height: UiConstants.space1), - Text( - '\$${weeklySpending.toStringAsFixed(0)}', - style: UiTypography.headline3m.copyWith( - color: UiColors.white, - fontWeight: FontWeight.bold, - ), - ), - Text( - '$weeklyShifts shifts', - style: TextStyle( - color: Colors.white.withValues(alpha: 0.6), - fontSize: 9, - ), - ), - ], - ), - ), - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.end, - children: [ - const Text( - 'Next 7 Days', - style: TextStyle(color: Colors.white70, fontSize: 9), - ), - const SizedBox(height: UiConstants.space1), - Text( - '\$${next7DaysSpending.toStringAsFixed(0)}', - style: UiTypography.headline4m.copyWith( - color: UiColors.white, - fontWeight: FontWeight.bold, - ), - ), - Text( - '$next7DaysScheduled scheduled', - style: TextStyle( - color: Colors.white.withValues(alpha: 0.6), - fontSize: 9, - ), - ), - ], - ), - ), - ], - ), - const SizedBox(height: UiConstants.space3), - Container( - padding: const EdgeInsets.only(top: UiConstants.space3), - decoration: const BoxDecoration( - border: Border(top: BorderSide(color: Colors.white24)), - ), - child: Row( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Container( - width: 24, - height: 24, - decoration: BoxDecoration( - color: Colors.white.withValues(alpha: 0.2), - shape: BoxShape.circle, - ), - child: const Center( - child: Icon( - UiIcons.sparkles, - color: UiColors.white, - size: 14, - ), - ), - ), - const SizedBox(width: UiConstants.space2), - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - '💡 ' + - i18n.dashboard.insight_lightbulb(amount: '180'), - style: const TextStyle( - color: Colors.white, - fontSize: 10, - fontWeight: FontWeight.w600, - ), - ), - const SizedBox(height: 1), - Text( - i18n.dashboard.insight_tip, - style: TextStyle( - color: Colors.white.withValues(alpha: 0.8), - fontSize: 9, - ), - ), - ], - ), - ), - ], - ), - ), - ], - ), - ), - ], - ); - } -} diff --git a/apps/packages/features/client/home/pubspec.yaml b/apps/packages/features/client/home/pubspec.yaml deleted file mode 100644 index 3ee5f5f7..00000000 --- a/apps/packages/features/client/home/pubspec.yaml +++ /dev/null @@ -1,31 +0,0 @@ -name: client_home -description: Home screen and dashboard for the client application. -version: 0.0.1 -publish_to: none -resolution: workspace - -environment: - sdk: '>=3.10.0 <4.0.0' - flutter: ">=3.0.0" - -dependencies: - flutter: - sdk: flutter - flutter_bloc: ^8.1.0 - flutter_modular: ^6.3.0 - equatable: ^2.0.5 - lucide_icons: ^0.257.0 - - design_system: - path: ../../../design_system - core_localization: - path: ../../../core_localization - -dev_dependencies: - flutter_test: - sdk: flutter - bloc_test: ^9.1.0 - mocktail: ^1.0.0 - -flutter: - uses-material-design: true diff --git a/apps/packages/features/shared/template_feature/feature_manifest.md b/apps/packages/features/shared/template_feature/feature_manifest.md deleted file mode 100644 index 20dc21e3..00000000 --- a/apps/packages/features/shared/template_feature/feature_manifest.md +++ /dev/null @@ -1,29 +0,0 @@ -# Feature Manifest: Template Feature - -## Overview -**Feature Name:** Template Feature -**Package Path:** `packages/features/shared/template_feature` -**Owner:** [Team Name/Agent] - -## Responsibilities -* Describe what this feature does. -* Describe what this feature does NOT do. - -## Architecture -* **Domain**: - * `TemplateEntity` (imported from `krow_domain`) - * `TemplateRepositoryInterface` -* **Data**: - * `TemplateRepositoryImpl` (uses `krow_data_connect`) -* **Presentation**: - * `TemplatePage` - * `TemplateBloc` - -## Dependencies -* `krow_domain`: For entities. -* `krow_data_connect`: For backend mocking/access. -* `design_system`: For UI components. - -## Routes -* `/`: Main template page. -* `/:id`: Detail page (example). diff --git a/apps/packages/features/shared/template_feature/lib/src/data/repositories_impl/template_repository_impl.dart b/apps/packages/features/shared/template_feature/lib/src/data/repositories_impl/template_repository_impl.dart deleted file mode 100644 index e9e5f82e..00000000 --- a/apps/packages/features/shared/template_feature/lib/src/data/repositories_impl/template_repository_impl.dart +++ /dev/null @@ -1,20 +0,0 @@ -import 'package:krow_data_connect/krow_data_connect.dart'; -import 'package:krow_domain/krow_domain.dart'; -import '../../domain/repositories/template_repository_interface.dart'; - -class TemplateRepositoryImpl implements TemplateRepositoryInterface { - // In a real scenario, you might inject a specific DataSource here. - // For now, we can use the static/singleton mocks from krow_data_connect or inject them. - final AuthRepositoryMock _authMock; - - TemplateRepositoryImpl({AuthRepositoryMock? authMock}) - : _authMock = authMock ?? AuthRepositoryMock(); - - @override - Future getData() async { - // Mapping from DataConnect models to Domain models happens here if needed. - // For the mock stage, we just return the entity. - final result = await _authMock.currentUser.first; - return result; - } -} diff --git a/apps/packages/features/shared/template_feature/lib/src/domain/repositories/template_repository_interface.dart b/apps/packages/features/shared/template_feature/lib/src/domain/repositories/template_repository_interface.dart deleted file mode 100644 index 750fc81c..00000000 --- a/apps/packages/features/shared/template_feature/lib/src/domain/repositories/template_repository_interface.dart +++ /dev/null @@ -1,7 +0,0 @@ -import 'package:krow_domain/krow_domain.dart'; - -/// Abstract interface for data access. -/// Must be implemented in the Data layer. -abstract interface class TemplateRepositoryInterface { - Future getData(); -} diff --git a/apps/packages/features/shared/template_feature/lib/src/domain/usecases/get_template_data_usecase.dart b/apps/packages/features/shared/template_feature/lib/src/domain/usecases/get_template_data_usecase.dart deleted file mode 100644 index 8abbd899..00000000 --- a/apps/packages/features/shared/template_feature/lib/src/domain/usecases/get_template_data_usecase.dart +++ /dev/null @@ -1,13 +0,0 @@ -import 'package:krow_core/krow_core.dart'; // Assuming Result/UseCases might be here later -import 'package:krow_domain/krow_domain.dart'; -import '../repositories/template_repository_interface.dart'; - -class GetTemplateDataUseCase { - final TemplateRepositoryInterface _repository; - - GetTemplateDataUseCase(this._repository); - - Future call() async { - return _repository.getData(); - } -} diff --git a/apps/packages/features/shared/template_feature/lib/src/presentation/blocs/template_bloc.dart b/apps/packages/features/shared/template_feature/lib/src/presentation/blocs/template_bloc.dart deleted file mode 100644 index 8808947c..00000000 --- a/apps/packages/features/shared/template_feature/lib/src/presentation/blocs/template_bloc.dart +++ /dev/null @@ -1,60 +0,0 @@ -import 'package:bloc/bloc.dart'; -import 'package:equatable/equatable.dart'; -import 'package:krow_domain/krow_domain.dart'; -import '../../domain/usecases/get_template_data_usecase.dart'; - -// Events -abstract class TemplateEvent extends Equatable { - const TemplateEvent(); - @override - List get props => []; -} - -class TemplateStarted extends TemplateEvent {} - -// States -abstract class TemplateState extends Equatable { - const TemplateState(); - @override - List get props => []; -} - -class TemplateInitial extends TemplateState {} -class TemplateLoading extends TemplateState {} -class TemplateLoaded extends TemplateState { - final User user; - const TemplateLoaded(this.user); - @override - List get props => [user]; -} -class TemplateError extends TemplateState { - final String message; - const TemplateError(this.message); - @override - List get props => [message]; -} - -// BLoC -class TemplateBloc extends Bloc { - final GetTemplateDataUseCase _getDataUseCase; - - TemplateBloc({required GetTemplateDataUseCase getDataUseCase}) - : _getDataUseCase = getDataUseCase, - super(TemplateInitial()) { - on(_onStarted); - } - - Future _onStarted(TemplateStarted event, Emitter emit) async { - emit(TemplateLoading()); - try { - final user = await _getDataUseCase(); - if (user != null) { - emit(TemplateLoaded(user)); - } else { - emit(const TemplateError('No data found')); - } - } catch (e) { - emit(TemplateError(e.toString())); - } - } -} diff --git a/apps/packages/features/shared/template_feature/lib/src/presentation/pages/template_page.dart b/apps/packages/features/shared/template_feature/lib/src/presentation/pages/template_page.dart deleted file mode 100644 index d1edbc08..00000000 --- a/apps/packages/features/shared/template_feature/lib/src/presentation/pages/template_page.dart +++ /dev/null @@ -1,31 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:flutter_modular/flutter_modular.dart'; -import 'package:design_system/design_system.dart'; // Import Design System -import '../blocs/template_bloc.dart'; - -class TemplatePage extends StatelessWidget { - const TemplatePage({super.key}); - - @override - Widget build(BuildContext context) { - return BlocProvider( - create: (_) => Modular.get()..add(TemplateStarted()), - child: Scaffold( - appBar: AppBar(title: const Text('Template Feature')), - body: BlocBuilder( - builder: (context, state) { - if (state is TemplateLoading) { - return const Center(child: CircularProgressIndicator()); - } else if (state is TemplateLoaded) { - return Center(child: Text('User: ${state.user.email}')); - } else if (state is TemplateError) { - return Center(child: Text('Error: ${state.message}')); - } - return const Center(child: Text('Welcome')); - }, - ), - ), - ); - } -} diff --git a/apps/packages/features/shared/template_feature/lib/template_feature.dart b/apps/packages/features/shared/template_feature/lib/template_feature.dart deleted file mode 100644 index 8bacf559..00000000 --- a/apps/packages/features/shared/template_feature/lib/template_feature.dart +++ /dev/null @@ -1,29 +0,0 @@ -library template_feature; - -import 'package:flutter_modular/flutter_modular.dart'; -import 'src/data/repositories_impl/template_repository_impl.dart'; -import 'src/domain/repositories/template_repository_interface.dart'; -import 'src/domain/usecases/get_template_data_usecase.dart'; -import 'src/presentation/blocs/template_bloc.dart'; -import 'src/presentation/pages/template_page.dart'; - -export 'src/presentation/pages/template_page.dart'; - -class TemplateFeatureModule extends Module { - @override - void binds(Injector i) { - // 1. Repositories - i.add(TemplateRepositoryImpl.new); - - // 2. Use Cases - i.add(GetTemplateDataUseCase.new); - - // 3. BLoCs - i.add(TemplateBloc.new); - } - - @override - void routes(r) { - r.child('/', child: (_) => const TemplatePage()); - } -} diff --git a/apps/packages/features/shared/template_feature/pubspec.yaml b/apps/packages/features/shared/template_feature/pubspec.yaml deleted file mode 100644 index 300ceef4..00000000 --- a/apps/packages/features/shared/template_feature/pubspec.yaml +++ /dev/null @@ -1,32 +0,0 @@ -name: template_feature -description: A template feature package following KROW architecture. -version: 0.0.1 -publish_to: none -resolution: workspace - -environment: - sdk: '>=3.10.0 <4.0.0' - flutter: ">=3.0.0" - -dependencies: - flutter: - sdk: flutter - flutter_bloc: ^8.1.0 - flutter_modular: ^6.3.0 - equatable: ^2.0.5 - - # Core Architecture - krow_domain: - path: ../../../domain - krow_data_connect: - path: ../../../data_connect - krow_core: - path: ../../../core - design_system: - path: ../../../design_system - -dev_dependencies: - flutter_test: - sdk: flutter - bloc_test: ^9.1.0 - mocktail: ^1.0.0 diff --git a/apps/packages/features/staff/authentication/feature_manifest.md b/apps/packages/features/staff/authentication/feature_manifest.md deleted file mode 100644 index cd530b30..00000000 --- a/apps/packages/features/staff/authentication/feature_manifest.md +++ /dev/null @@ -1,33 +0,0 @@ -# Feature Manifest: Staff Authentication - -## Overview -**Feature Name:** Staff Authentication & Onboarding -**Package Path:** `packages/features/staff/authentication` - -## Responsibilities -* Handle user sign-up and log-in via Phone Auth. -* Verify OTP codes. -* Manage the Onboarding Wizard for new staff. -* Persist onboarding progress. - -## Architecture -* **Domain**: - * `AuthRepositoryInterface` - * `SignInWithPhoneUseCase` - * `VerifyOtpUseCase` -* **Data**: - * `AuthRepositoryImpl` (uses `AuthRepositoryMock` from `krow_data_connect`) -* **Presentation**: - * `AuthBloc`: Manages auth state (phone, otp, user status). - * `OnboardingBloc`: Manages wizard steps. - * Pages: `GetStartedPage`, `PhoneVerificationPage`, `ProfileSetupPage`. - -## Dependencies -* `krow_domain`: User entities. -* `krow_data_connect`: Auth mocks. -* `design_system`: UI components. - -## Routes -* `/`: Get Started (Welcome) -* `/phone-verification`: OTP Entry -* `/profile-setup`: Onboarding Wizard diff --git a/apps/packages/features/staff/authentication/lib/src/data/repositories_impl/auth_repository_impl.dart b/apps/packages/features/staff/authentication/lib/src/data/repositories_impl/auth_repository_impl.dart deleted file mode 100644 index d8935c46..00000000 --- a/apps/packages/features/staff/authentication/lib/src/data/repositories_impl/auth_repository_impl.dart +++ /dev/null @@ -1,34 +0,0 @@ -import 'package:krow_data_connect/krow_data_connect.dart'; -import 'package:krow_domain/krow_domain.dart'; -import '../../domain/repositories/auth_repository_interface.dart'; - -/// Implementation of [AuthRepositoryInterface]. -class AuthRepositoryImpl implements AuthRepositoryInterface { - final AuthRepositoryMock mock; - - AuthRepositoryImpl({required this.mock}); - - @override - Stream get currentUser => mock.currentUser; - - /// Signs in with a phone number and returns a verification ID. - @override - Future signInWithPhone({required String phoneNumber}) { - return mock.signInWithPhone(phoneNumber); - } - - /// Signs out the current user. - @override - Future signOut() { - return mock.signOut(); - } - - /// Verifies an OTP code and returns the authenticated user. - @override - Future verifyOtp({ - required String verificationId, - required String smsCode, - }) { - return mock.verifyOtp(verificationId, smsCode); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/domain/arguments/sign_in_with_phone_arguments.dart b/apps/packages/features/staff/authentication/lib/src/domain/arguments/sign_in_with_phone_arguments.dart deleted file mode 100644 index 08d95047..00000000 --- a/apps/packages/features/staff/authentication/lib/src/domain/arguments/sign_in_with_phone_arguments.dart +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:krow_core/core.dart'; - -/// Represents the arguments required for the [SignInWithPhoneUseCase]. -/// -/// Encapsulates the phone number needed to initiate the sign-in process. -class SignInWithPhoneArguments extends UseCaseArgument { - /// The phone number to be used for sign-in or sign-up. - final String phoneNumber; - - /// Creates a [SignInWithPhoneArguments] instance. - /// - /// The [phoneNumber] is required. - const SignInWithPhoneArguments({required this.phoneNumber}); - - @override - List get props => [phoneNumber]; -} diff --git a/apps/packages/features/staff/authentication/lib/src/domain/arguments/verify_otp_arguments.dart b/apps/packages/features/staff/authentication/lib/src/domain/arguments/verify_otp_arguments.dart deleted file mode 100644 index b5797126..00000000 --- a/apps/packages/features/staff/authentication/lib/src/domain/arguments/verify_otp_arguments.dart +++ /dev/null @@ -1,24 +0,0 @@ -import 'package:krow_core/core.dart'; - -/// Represents the arguments required for the [VerifyOtpUseCase]. -/// -/// Encapsulates the verification ID and the SMS code needed to verify -/// a phone number during the authentication process. -class VerifyOtpArguments extends UseCaseArgument { - /// The unique identifier received after requesting an OTP. - final String verificationId; - - /// The one-time password (OTP) sent to the user's phone. - final String smsCode; - - /// Creates a [VerifyOtpArguments] instance. - /// - /// Both [verificationId] and [smsCode] are required. - const VerifyOtpArguments({ - required this.verificationId, - required this.smsCode, - }); - - @override - List get props => [verificationId, smsCode]; -} diff --git a/apps/packages/features/staff/authentication/lib/src/domain/repositories/auth_repository_interface.dart b/apps/packages/features/staff/authentication/lib/src/domain/repositories/auth_repository_interface.dart deleted file mode 100644 index 19cfcb2e..00000000 --- a/apps/packages/features/staff/authentication/lib/src/domain/repositories/auth_repository_interface.dart +++ /dev/null @@ -1,19 +0,0 @@ -import 'package:krow_domain/krow_domain.dart'; - -/// Interface for authentication repository. -abstract interface class AuthRepositoryInterface { - Stream get currentUser; - - /// Signs in with a phone number and returns a verification ID. - Future signInWithPhone({required String phoneNumber}); - - /// Verifies the OTP code and returns the authenticated user. - Future verifyOtp({ - required String verificationId, - required String smsCode, - }); - - /// Signs out the current user. - Future signOut(); - // Future getStaffProfile(String userId); // Could be moved to a separate repository if needed, but useful here for routing logic. -} diff --git a/apps/packages/features/staff/authentication/lib/src/domain/ui_entities/auth_mode.dart b/apps/packages/features/staff/authentication/lib/src/domain/ui_entities/auth_mode.dart deleted file mode 100644 index 574d51e9..00000000 --- a/apps/packages/features/staff/authentication/lib/src/domain/ui_entities/auth_mode.dart +++ /dev/null @@ -1,8 +0,0 @@ -/// Represents the authentication mode: either signing up or logging in. -enum AuthMode { - /// User is creating a new account. - signup, - - /// User is logging into an existing account. - login, -} diff --git a/apps/packages/features/staff/authentication/lib/src/domain/usecases/sign_in_with_phone_usecase.dart b/apps/packages/features/staff/authentication/lib/src/domain/usecases/sign_in_with_phone_usecase.dart deleted file mode 100644 index 061fd08e..00000000 --- a/apps/packages/features/staff/authentication/lib/src/domain/usecases/sign_in_with_phone_usecase.dart +++ /dev/null @@ -1,21 +0,0 @@ -import 'package:krow_core/core.dart'; -import '../arguments/sign_in_with_phone_arguments.dart'; -import '../repositories/auth_repository_interface.dart'; - -/// Use case for signing in with a phone number. -/// -/// This use case delegates the sign-in logic to the [AuthRepositoryInterface]. -class SignInWithPhoneUseCase - implements UseCase { - final AuthRepositoryInterface _repository; - - /// Creates a [SignInWithPhoneUseCase]. - /// - /// Requires an [AuthRepositoryInterface] to interact with the authentication data source. - SignInWithPhoneUseCase(this._repository); - - @override - Future call(SignInWithPhoneArguments arguments) { - return _repository.signInWithPhone(phoneNumber: arguments.phoneNumber); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/domain/usecases/verify_otp_usecase.dart b/apps/packages/features/staff/authentication/lib/src/domain/usecases/verify_otp_usecase.dart deleted file mode 100644 index 5e11a01d..00000000 --- a/apps/packages/features/staff/authentication/lib/src/domain/usecases/verify_otp_usecase.dart +++ /dev/null @@ -1,24 +0,0 @@ -import 'package:krow_core/core.dart'; -import 'package:krow_domain/krow_domain.dart'; -import '../arguments/verify_otp_arguments.dart'; -import '../repositories/auth_repository_interface.dart'; - -/// Use case for verifying an OTP code. -/// -/// This use case delegates the OTP verification logic to the [AuthRepositoryInterface]. -class VerifyOtpUseCase implements UseCase { - final AuthRepositoryInterface _repository; - - /// Creates a [VerifyOtpUseCase]. - /// - /// Requires an [AuthRepositoryInterface] to interact with the authentication data source. - VerifyOtpUseCase(this._repository); - - @override - Future call(VerifyOtpArguments arguments) { - return _repository.verifyOtp( - verificationId: arguments.verificationId, - smsCode: arguments.smsCode, - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/blocs/auth_bloc.dart b/apps/packages/features/staff/authentication/lib/src/presentation/blocs/auth_bloc.dart deleted file mode 100644 index 5044b5ce..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/blocs/auth_bloc.dart +++ /dev/null @@ -1,111 +0,0 @@ -import 'package:flutter_modular/flutter_modular.dart'; -import 'package:bloc/bloc.dart'; -import 'package:krow_domain/krow_domain.dart'; -import '../../domain/arguments/sign_in_with_phone_arguments.dart'; -import '../../domain/arguments/verify_otp_arguments.dart'; -import '../../domain/usecases/sign_in_with_phone_usecase.dart'; -import '../../domain/usecases/verify_otp_usecase.dart'; -import 'auth_event.dart'; -import 'auth_state.dart'; - -/// BLoC responsible for handling authentication logic. -class AuthBloc extends Bloc implements Disposable { - /// The use case for signing in with a phone number. - final SignInWithPhoneUseCase _signInUseCase; - - /// The use case for verifying an OTP. - final VerifyOtpUseCase _verifyOtpUseCase; - - /// Creates an [AuthBloc]. - AuthBloc({ - required SignInWithPhoneUseCase signInUseCase, - required VerifyOtpUseCase verifyOtpUseCase, - }) : _signInUseCase = signInUseCase, - _verifyOtpUseCase = verifyOtpUseCase, - super(const AuthState()) { - on(_onSignInRequested); - on(_onOtpSubmitted); - on(_onErrorCleared); - on(_onOtpUpdated); - on(_onPhoneUpdated); - } - - /// Clears any authentication error from the state. - void _onErrorCleared(AuthErrorCleared event, Emitter emit) { - emit(state.copyWith(status: AuthStatus.codeSent, errorMessage: null)); - } - - /// Updates the internal OTP state without triggering a submission. - void _onOtpUpdated(AuthOtpUpdated event, Emitter emit) { - emit( - state.copyWith( - otp: event.otp, - status: AuthStatus.codeSent, - errorMessage: null, - ), - ); - } - - /// Updates the internal phone number state without triggering a submission. - void _onPhoneUpdated(AuthPhoneUpdated event, Emitter emit) { - emit(state.copyWith(phoneNumber: event.phoneNumber, errorMessage: null)); - } - - /// Handles the sign-in request, initiating the phone authentication process. - Future _onSignInRequested( - AuthSignInRequested event, - Emitter emit, - ) async { - emit( - state.copyWith( - status: AuthStatus.loading, - mode: event.mode, - phoneNumber: event.phoneNumber, - ), - ); - try { - final String? verificationId = await _signInUseCase( - SignInWithPhoneArguments( - phoneNumber: event.phoneNumber ?? state.phoneNumber, - ), - ); - emit( - state.copyWith( - status: AuthStatus.codeSent, - verificationId: verificationId, - ), - ); - } catch (e) { - emit( - state.copyWith(status: AuthStatus.error, errorMessage: e.toString()), - ); - } - } - - /// Handles OTP submission and verification. - Future _onOtpSubmitted( - AuthOtpSubmitted event, - Emitter emit, - ) async { - emit(state.copyWith(status: AuthStatus.loading)); - try { - final User? user = await _verifyOtpUseCase( - VerifyOtpArguments( - verificationId: event.verificationId, - smsCode: event.smsCode, - ), - ); - emit(state.copyWith(status: AuthStatus.authenticated, user: user)); - } catch (e) { - emit( - state.copyWith(status: AuthStatus.error, errorMessage: e.toString()), - ); - } - } - - /// Disposes the BLoC resources. - @override - void dispose() { - close(); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/blocs/auth_event.dart b/apps/packages/features/staff/authentication/lib/src/presentation/blocs/auth_event.dart deleted file mode 100644 index ad47bfc6..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/blocs/auth_event.dart +++ /dev/null @@ -1,65 +0,0 @@ -import 'package:equatable/equatable.dart'; -import 'package:staff_authentication/src/domain/ui_entities/auth_mode.dart'; - -/// Abstract base class for all authentication events. -abstract class AuthEvent extends Equatable { - const AuthEvent(); - @override - List get props => []; -} - -/// Event for requesting a sign-in with a phone number. -class AuthSignInRequested extends AuthEvent { - /// The phone number provided by the user. - final String? phoneNumber; - - /// The authentication mode (login or signup). - final AuthMode mode; - - const AuthSignInRequested({this.phoneNumber, required this.mode}); - - @override - List get props => [mode]; -} - -/// Event for submitting an OTP (One-Time Password) for verification. -/// -/// This event is dispatched after the user has received an OTP and -/// submits it for verification. -class AuthOtpSubmitted extends AuthEvent { - /// The verification ID received after the phone number submission. - final String verificationId; - - /// The SMS code (OTP) entered by the user. - final String smsCode; - - const AuthOtpSubmitted({required this.verificationId, required this.smsCode}); - - @override - List get props => [verificationId, smsCode]; -} - -/// Event for clearing any authentication error in the state. -class AuthErrorCleared extends AuthEvent {} - -/// Event for updating the current draft OTP in the state. -class AuthOtpUpdated extends AuthEvent { - /// The current draft OTP. - final String otp; - - const AuthOtpUpdated(this.otp); - - @override - List get props => [otp]; -} - -/// Event for updating the current draft phone number in the state. -class AuthPhoneUpdated extends AuthEvent { - /// The current draft phone number. - final String phoneNumber; - - const AuthPhoneUpdated(this.phoneNumber); - - @override - List get props => [phoneNumber]; -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/blocs/auth_state.dart b/apps/packages/features/staff/authentication/lib/src/presentation/blocs/auth_state.dart deleted file mode 100644 index 8e6248ba..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/blocs/auth_state.dart +++ /dev/null @@ -1,93 +0,0 @@ -import 'package:equatable/equatable.dart'; -import 'package:krow_domain/krow_domain.dart'; -import 'package:staff_authentication/src/domain/ui_entities/auth_mode.dart'; - -/// Enum representing the current status of the authentication process. -enum AuthStatus { - /// Initial state, awaiting phone number entry. - initial, - - /// Authentication operation in progress. - loading, - - /// OTP has been sent, awaiting code verification. - codeSent, - - /// User has been successfully authenticated. - authenticated, - - /// An error occurred during the process. - error, -} - -/// A unified state class for the authentication process. -class AuthState extends Equatable { - /// The current status of the authentication flow. - final AuthStatus status; - - /// The ID received from the authentication service, used to verify the OTP. - final String? verificationId; - - /// The authentication mode (login or signup). - final AuthMode mode; - - /// The current draft OTP entered by the user. - final String otp; - - /// The phone number entered by the user. - final String phoneNumber; - - /// A descriptive message for any error that occurred. - final String? errorMessage; - - /// The authenticated user's data (available when status is [AuthStatus.authenticated]). - final User? user; - - const AuthState({ - this.status = AuthStatus.initial, - this.verificationId, - this.mode = AuthMode.login, - this.otp = '', - this.phoneNumber = '', - this.errorMessage, - this.user, - }); - - @override - List get props => [ - status, - verificationId, - mode, - otp, - phoneNumber, - errorMessage, - user, - ]; - - /// Convenient helper to check if the status is [AuthStatus.loading]. - bool get isLoading => status == AuthStatus.loading; - - /// Convenient helper to check if the status is [AuthStatus.error]. - bool get hasError => status == AuthStatus.error; - - /// Copies the state with optional new values. - AuthState copyWith({ - AuthStatus? status, - String? verificationId, - AuthMode? mode, - String? otp, - String? phoneNumber, - String? errorMessage, - User? user, - }) { - return AuthState( - status: status ?? this.status, - verificationId: verificationId ?? this.verificationId, - mode: mode ?? this.mode, - otp: otp ?? this.otp, - phoneNumber: phoneNumber ?? this.phoneNumber, - errorMessage: errorMessage ?? this.errorMessage, - user: user ?? this.user, - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/blocs/profile_setup/profile_setup_bloc.dart b/apps/packages/features/staff/authentication/lib/src/presentation/blocs/profile_setup/profile_setup_bloc.dart deleted file mode 100644 index 94ff1f20..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/blocs/profile_setup/profile_setup_bloc.dart +++ /dev/null @@ -1,100 +0,0 @@ -import 'package:flutter/foundation.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'profile_setup_event.dart'; -import 'profile_setup_state.dart'; - -export 'profile_setup_event.dart'; -export 'profile_setup_state.dart'; - -/// BLoC responsible for managing the profile setup state and logic. -class ProfileSetupBloc extends Bloc { - /// Creates a [ProfileSetupBloc] with an initial state. - ProfileSetupBloc() : super(const ProfileSetupState()) { - on(_onFullNameChanged); - on(_onBioChanged); - on(_onLocationsChanged); - on(_onDistanceChanged); - on(_onSkillsChanged); - on(_onIndustriesChanged); - on(_onSubmitted); - } - - /// Handles the [ProfileSetupFullNameChanged] event. - void _onFullNameChanged( - ProfileSetupFullNameChanged event, - Emitter emit, - ) { - emit(state.copyWith(fullName: event.fullName)); - } - - /// Handles the [ProfileSetupBioChanged] event. - void _onBioChanged( - ProfileSetupBioChanged event, - Emitter emit, - ) { - emit(state.copyWith(bio: event.bio)); - } - - /// Handles the [ProfileSetupLocationsChanged] event. - void _onLocationsChanged( - ProfileSetupLocationsChanged event, - Emitter emit, - ) { - emit(state.copyWith(preferredLocations: event.locations)); - } - - /// Handles the [ProfileSetupDistanceChanged] event. - void _onDistanceChanged( - ProfileSetupDistanceChanged event, - Emitter emit, - ) { - emit(state.copyWith(maxDistanceMiles: event.distance)); - } - - /// Handles the [ProfileSetupSkillsChanged] event. - void _onSkillsChanged( - ProfileSetupSkillsChanged event, - Emitter emit, - ) { - emit(state.copyWith(skills: event.skills)); - } - - /// Handles the [ProfileSetupIndustriesChanged] event. - void _onIndustriesChanged( - ProfileSetupIndustriesChanged event, - Emitter emit, - ) { - emit(state.copyWith(industries: event.industries)); - } - - /// Handles the [ProfileSetupSubmitted] event. - Future _onSubmitted( - ProfileSetupSubmitted event, - Emitter emit, - ) async { - emit(state.copyWith(status: ProfileSetupStatus.loading)); - - try { - // In a real app, we would send this data to a UseCase - debugPrint('Submitting Profile:'); - debugPrint('Name: ${state.fullName}'); - debugPrint('Bio: ${state.bio}'); - debugPrint('Locations: ${state.preferredLocations}'); - debugPrint('Distance: ${state.maxDistanceMiles}'); - debugPrint('Skills: ${state.skills}'); - debugPrint('Industries: ${state.industries}'); - - // Mocking profile creation delay - await Future.delayed(const Duration(milliseconds: 1500)); - - emit(state.copyWith(status: ProfileSetupStatus.success)); - } catch (e) { - emit( - state.copyWith( - status: ProfileSetupStatus.failure, - errorMessage: e.toString(), - ), - ); - } - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/blocs/profile_setup/profile_setup_event.dart b/apps/packages/features/staff/authentication/lib/src/presentation/blocs/profile_setup/profile_setup_event.dart deleted file mode 100644 index 59acfa1b..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/blocs/profile_setup/profile_setup_event.dart +++ /dev/null @@ -1,87 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Base class for all profile setup events. -abstract class ProfileSetupEvent extends Equatable { - const ProfileSetupEvent(); - - @override - List get props => []; -} - -/// Event triggered when the full name changes. -class ProfileSetupFullNameChanged extends ProfileSetupEvent { - /// The new full name value. - final String fullName; - - /// Creates a [ProfileSetupFullNameChanged] event. - const ProfileSetupFullNameChanged(this.fullName); - - @override - List get props => [fullName]; -} - -/// Event triggered when the bio changes. -class ProfileSetupBioChanged extends ProfileSetupEvent { - /// The new bio value. - final String bio; - - /// Creates a [ProfileSetupBioChanged] event. - const ProfileSetupBioChanged(this.bio); - - @override - List get props => [bio]; -} - -/// Event triggered when the preferred locations change. -class ProfileSetupLocationsChanged extends ProfileSetupEvent { - /// The new list of locations. - final List locations; - - /// Creates a [ProfileSetupLocationsChanged] event. - const ProfileSetupLocationsChanged(this.locations); - - @override - List get props => [locations]; -} - -/// Event triggered when the max distance changes. -class ProfileSetupDistanceChanged extends ProfileSetupEvent { - /// The new max distance value in miles. - final double distance; - - /// Creates a [ProfileSetupDistanceChanged] event. - const ProfileSetupDistanceChanged(this.distance); - - @override - List get props => [distance]; -} - -/// Event triggered when the skills change. -class ProfileSetupSkillsChanged extends ProfileSetupEvent { - /// The new list of selected skills. - final List skills; - - /// Creates a [ProfileSetupSkillsChanged] event. - const ProfileSetupSkillsChanged(this.skills); - - @override - List get props => [skills]; -} - -/// Event triggered when the industries change. -class ProfileSetupIndustriesChanged extends ProfileSetupEvent { - /// The new list of selected industries. - final List industries; - - /// Creates a [ProfileSetupIndustriesChanged] event. - const ProfileSetupIndustriesChanged(this.industries); - - @override - List get props => [industries]; -} - -/// Event triggered when the profile submission is requested. -class ProfileSetupSubmitted extends ProfileSetupEvent { - /// Creates a [ProfileSetupSubmitted] event. - const ProfileSetupSubmitted(); -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/blocs/profile_setup/profile_setup_state.dart b/apps/packages/features/staff/authentication/lib/src/presentation/blocs/profile_setup/profile_setup_state.dart deleted file mode 100644 index bcfc7832..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/blocs/profile_setup/profile_setup_state.dart +++ /dev/null @@ -1,78 +0,0 @@ -import 'package:equatable/equatable.dart'; - -/// Enum defining the status of the profile setup process. -enum ProfileSetupStatus { initial, loading, success, failure } - -/// State for the ProfileSetupBloc. -class ProfileSetupState extends Equatable { - /// The user's full name. - final String fullName; - - /// The user's bio or short description. - final String bio; - - /// List of preferred work locations (e.g., cities, zip codes). - final List preferredLocations; - - /// Maximum distance in miles the user is willing to travel. - final double maxDistanceMiles; - - /// List of skills selected by the user. - final List skills; - - /// List of industries selected by the user. - final List industries; - - /// The current status of the profile setup process. - final ProfileSetupStatus status; - - /// Error message if the status is [ProfileSetupStatus.failure]. - final String? errorMessage; - - /// Creates a [ProfileSetupState] instance. - const ProfileSetupState({ - this.fullName = '', - this.bio = '', - this.preferredLocations = const [], - this.maxDistanceMiles = 25, - this.skills = const [], - this.industries = const [], - this.status = ProfileSetupStatus.initial, - this.errorMessage, - }); - - /// Creates a copy of the current state with updated values. - ProfileSetupState copyWith({ - String? fullName, - String? bio, - List? preferredLocations, - double? maxDistanceMiles, - List? skills, - List? industries, - ProfileSetupStatus? status, - String? errorMessage, - }) { - return ProfileSetupState( - fullName: fullName ?? this.fullName, - bio: bio ?? this.bio, - preferredLocations: preferredLocations ?? this.preferredLocations, - maxDistanceMiles: maxDistanceMiles ?? this.maxDistanceMiles, - skills: skills ?? this.skills, - industries: industries ?? this.industries, - status: status ?? this.status, - errorMessage: errorMessage, - ); - } - - @override - List get props => [ - fullName, - bio, - preferredLocations, - maxDistanceMiles, - skills, - industries, - status, - errorMessage, - ]; -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/navigation/auth_navigator.dart b/apps/packages/features/staff/authentication/lib/src/presentation/navigation/auth_navigator.dart deleted file mode 100644 index 66cfd92a..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/navigation/auth_navigator.dart +++ /dev/null @@ -1,21 +0,0 @@ -import 'package:flutter_modular/flutter_modular.dart'; -import '../../domain/ui_entities/auth_mode.dart'; - -/// Extension on [IModularNavigator] to provide strongly-typed navigation -/// for the staff authentication feature. -extension AuthNavigator on IModularNavigator { - /// Navigates to the phone verification page. - void pushPhoneVerification(AuthMode mode) { - pushNamed('./phone-verification', arguments: {'mode': mode.name}); - } - - /// Navigates to the profile setup page, replacing the current route. - void pushReplacementProfileSetup() { - pushReplacementNamed('./profile-setup'); - } - - /// Navigates to the worker home (external to this module). - void pushWorkerHome() { - pushNamed('/worker-home'); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/pages/get_started_page.dart b/apps/packages/features/staff/authentication/lib/src/presentation/pages/get_started_page.dart deleted file mode 100644 index 9132ab92..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/pages/get_started_page.dart +++ /dev/null @@ -1,64 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_modular/flutter_modular.dart'; -import 'package:staff_authentication/src/domain/ui_entities/auth_mode.dart'; -import '../navigation/auth_navigator.dart'; // Import the extension -import '../widgets/get_started_page/get_started_actions.dart'; -import '../widgets/get_started_page/get_started_background.dart'; -import '../widgets/get_started_page/get_started_header.dart'; - -/// The entry point page for staff authentication. -/// -/// This page provides the user with the initial options to either sign up -/// for a new account or log in to an existing one. It uses a series of -/// sub-widgets to maintain a clean and modular structure. -class GetStartedPage extends StatelessWidget { - /// Creates a [GetStartedPage]. - const GetStartedPage({super.key}); - - /// On sign up pressed callback. - void onSignUpPressed() { - Modular.to.pushPhoneVerification(AuthMode.signup); - } - - /// On login pressed callback. - void onLoginPressed() { - Modular.to.pushPhoneVerification(AuthMode.login); - } - - @override - Widget build(BuildContext context) { - return Scaffold( - body: SafeArea( - child: Column( - children: [ - // Background - const Expanded(child: GetStartedBackground()), - - // Content Overlay - Padding( - padding: const EdgeInsets.all(24.0), - child: Column( - mainAxisAlignment: MainAxisAlignment.end, - crossAxisAlignment: CrossAxisAlignment.stretch, - children: [ - // Main text and actions - const GetStartedHeader(), - - const SizedBox(height: 48), - - // Actions - GetStartedActions( - onSignUpPressed: onSignUpPressed, - onLoginPressed: onLoginPressed, - ), - - const SizedBox(height: 32), - ], - ), - ), - ], - ), - ), - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/pages/phone_verification_page.dart b/apps/packages/features/staff/authentication/lib/src/presentation/pages/phone_verification_page.dart deleted file mode 100644 index 68efe765..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/pages/phone_verification_page.dart +++ /dev/null @@ -1,124 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:flutter_modular/flutter_modular.dart'; -import 'package:design_system/design_system.dart'; -import 'package:staff_authentication/src/domain/ui_entities/auth_mode.dart'; -import 'package:staff_authentication/src/presentation/blocs/auth_event.dart'; -import 'package:staff_authentication/src/presentation/blocs/auth_state.dart'; -import 'package:staff_authentication/src/presentation/blocs/auth_bloc.dart'; -import '../widgets/phone_verification_page/phone_input.dart'; -import '../widgets/phone_verification_page/otp_verification.dart'; -import 'package:staff_authentication/staff_authentication.dart'; -import '../navigation/auth_navigator.dart'; // Import the extension - -/// A combined page for phone number entry and OTP verification. -/// -/// This page coordinates the authentication flow by switching between -/// [PhoneInput] and [OtpVerification] based on the current [AuthState]. -class PhoneVerificationPage extends StatelessWidget { - /// The authentication mode (login or signup). - final AuthMode mode; - - /// Creates a [PhoneVerificationPage]. - const PhoneVerificationPage({super.key, required this.mode}); - - /// Handles the request to send a verification code to the provided phone number. - void _onSendCode({ - required BuildContext context, - required String phoneNumber, - }) { - if (phoneNumber.length == 10) { - BlocProvider.of( - context, - ).add(AuthSignInRequested(phoneNumber: '+1$phoneNumber', mode: mode)); - } else { - ScaffoldMessenger.of(context).showSnackBar( - SnackBar( - content: Text( - t.staff_authentication.phone_verification_page.validation_error, - ), - ), - ); - } - } - - /// Handles the submission of the OTP code. - void _onOtpSubmitted({ - required BuildContext context, - required String otp, - required String verificationId, - }) { - BlocProvider.of( - context, - ).add(AuthOtpSubmitted(verificationId: verificationId, smsCode: otp)); - } - - /// Handles the request to resend the verification code using the phone number in the state. - void _onResend({required BuildContext context}) { - BlocProvider.of(context).add(AuthSignInRequested(mode: mode)); - } - - @override - Widget build(BuildContext context) { - return BlocProvider( - create: (context) => Modular.get(), - child: Builder( - builder: (context) { - return BlocListener( - listener: (context, state) { - if (state.status == AuthStatus.authenticated) { - if (state.mode == AuthMode.signup) { - Modular.to.pushReplacementProfileSetup(); - } else { - Modular.to.pushWorkerHome(); - } - } - }, - child: BlocBuilder( - builder: (context, state) { - // Check if we are in the OTP step - final bool isOtpStep = - state.status == AuthStatus.codeSent || - (state.status == AuthStatus.error && - state.verificationId != null) || - (state.status == AuthStatus.loading && - state.verificationId != null); - - return Scaffold( - appBar: const UiAppBar( - centerTitle: true, - showBackButton: true, - ), - body: SafeArea( - child: isOtpStep - ? OtpVerification( - state: state, - onOtpSubmitted: (otp) => _onOtpSubmitted( - context: context, - otp: otp, - verificationId: state.verificationId ?? '', - ), - onResend: () => _onResend(context: context), - onContinue: () => _onOtpSubmitted( - context: context, - otp: state.otp, - verificationId: state.verificationId ?? '', - ), - ) - : PhoneInput( - state: state, - onSendCode: () => _onSendCode( - context: context, - phoneNumber: state.phoneNumber, - ), - ), - ), - ); - }, - ), - ); - }, - ), - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/pages/profile_setup_page.dart b/apps/packages/features/staff/authentication/lib/src/presentation/pages/profile_setup_page.dart deleted file mode 100644 index 0704f6d4..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/pages/profile_setup_page.dart +++ /dev/null @@ -1,236 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:flutter_modular/flutter_modular.dart' - hide ModularWatchExtension; -import '../blocs/profile_setup/profile_setup_bloc.dart'; -import '../widgets/profile_setup_page/profile_setup_basic_info.dart'; -import '../widgets/profile_setup_page/profile_setup_location.dart'; -import '../widgets/profile_setup_page/profile_setup_experience.dart'; -import '../widgets/profile_setup_page/profile_setup_header.dart'; -import 'package:staff_authentication/staff_authentication.dart'; -import '../navigation/auth_navigator.dart'; // Import the extension - -/// Page for setting up the user profile after authentication. -class ProfileSetupPage extends StatefulWidget { - const ProfileSetupPage({super.key}); - - @override - State createState() => _ProfileSetupPageState(); -} - -class _ProfileSetupPageState extends State { - /// Current step index. - int _currentStep = 0; - - /// List of steps in the profile setup process. - List> get _steps => [ - { - 'id': 'basic', - 'title': t.staff_authentication.profile_setup_page.steps.basic, - 'icon': UiIcons.user, - }, - { - 'id': 'location', - 'title': t.staff_authentication.profile_setup_page.steps.location, - 'icon': UiIcons.mapPin, - }, - { - 'id': 'experience', - 'title': t.staff_authentication.profile_setup_page.steps.experience, - 'icon': UiIcons.briefcase, - }, - ]; - - /// Handles the "Next" button tap logic. - void _handleNext({ - required BuildContext context, - required ProfileSetupState state, - required int stepsCount, - }) { - if (_currStepValid(state: state)) { - if (_currentStep < stepsCount - 1) { - setState(() => _currentStep++); - } else { - BlocProvider.of( - context, - ).add(const ProfileSetupSubmitted()); - } - } - } - - /// Handles the "Back" button tap logic. - void _handleBack() { - if (_currentStep > 0) { - setState(() => _currentStep--); - } - } - - /// Checks if the current step is valid. - bool _currStepValid({required ProfileSetupState state}) { - switch (_currentStep) { - case 0: - return state.fullName.trim().length >= 2; - case 1: - return state.preferredLocations.isNotEmpty; - case 2: - return state.skills.isNotEmpty; - default: - return true; - } - } - - @override - /// Builds the profile setup page UI. - Widget build(BuildContext context) { - final steps = _steps; - - // Calculate progress - final double progress = (_currentStep + 1) / steps.length; - - return BlocProvider( - create: (context) => Modular.get(), - child: BlocConsumer( - listener: (context, state) { - if (state.status == ProfileSetupStatus.success) { - Modular.to.pushWorkerHome(); - } else if (state.status == ProfileSetupStatus.failure) { - ScaffoldMessenger.of(context).showSnackBar( - SnackBar( - content: Text( - state.errorMessage ?? - t.staff_authentication.profile_setup_page.error_occurred, - ), - ), - ); - } - }, - builder: (context, state) { - final isCreatingProfile = state.status == ProfileSetupStatus.loading; - - return Scaffold( - body: SafeArea( - child: Column( - children: [ - // Progress Bar - LinearProgressIndicator(value: progress), - - // Header (Back + Step Count) - ProfileSetupHeader( - currentStep: _currentStep, - totalSteps: steps.length, - onBackTap: _handleBack, - ), - - // Step Indicators - UiStepIndicator( - stepIcons: steps - .map((step) => step['icon'] as IconData) - .toList(), - currentStep: _currentStep, - ), - - // Content Area - Expanded( - child: AnimatedSwitcher( - duration: const Duration(milliseconds: 300), - child: SingleChildScrollView( - key: ValueKey(_currentStep), - padding: const EdgeInsets.all(UiConstants.space6), - child: _buildStepContent( - context: context, - state: state, - ), - ), - ), - ), - - // Footer - Container( - padding: const EdgeInsets.all(UiConstants.space6), - decoration: const BoxDecoration( - border: Border( - top: BorderSide(color: UiColors.separatorSecondary), - ), - ), - child: isCreatingProfile - ? ElevatedButton( - onPressed: null, - child: const SizedBox( - width: 24, - height: 24, - child: CircularProgressIndicator(strokeWidth: 2), - ), - ) - : UiButton.primary( - text: _currentStep == steps.length - 1 - ? t - .staff_authentication - .profile_setup_page - .complete_setup_button - : t.common.continue_text, - trailingIcon: _currentStep < steps.length - 1 - ? UiIcons.arrowRight - : null, - onPressed: _currStepValid(state: state) - ? () => _handleNext( - context: context, - state: state, - stepsCount: steps.length, - ) - : null, - ), - ), - ], - ), - ), - ); - }, - ), - ); - } - - /// Builds the content for the current step. - Widget _buildStepContent({ - required BuildContext context, - required ProfileSetupState state, - }) { - switch (_currentStep) { - case 0: - return ProfileSetupBasicInfo( - fullName: state.fullName, - bio: state.bio, - onFullNameChanged: (val) => BlocProvider.of( - context, - ).add(ProfileSetupFullNameChanged(val)), - onBioChanged: (val) => BlocProvider.of( - context, - ).add(ProfileSetupBioChanged(val)), - ); - case 1: - return ProfileSetupLocation( - preferredLocations: state.preferredLocations, - maxDistanceMiles: state.maxDistanceMiles, - onLocationsChanged: (val) => BlocProvider.of( - context, - ).add(ProfileSetupLocationsChanged(val)), - onDistanceChanged: (val) => BlocProvider.of( - context, - ).add(ProfileSetupDistanceChanged(val)), - ); - case 2: - return ProfileSetupExperience( - skills: state.skills, - industries: state.industries, - onSkillsChanged: (val) => BlocProvider.of( - context, - ).add(ProfileSetupSkillsChanged(val)), - onIndustriesChanged: (val) => BlocProvider.of( - context, - ).add(ProfileSetupIndustriesChanged(val)), - ); - default: - return const SizedBox.shrink(); - } - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/common/auth_trouble_link.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/common/auth_trouble_link.dart deleted file mode 100644 index 8adf684f..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/common/auth_trouble_link.dart +++ /dev/null @@ -1,27 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:staff_authentication/staff_authentication.dart'; - -/// A common widget that displays a "Having trouble? Contact Support" link. -class AuthTroubleLink extends StatelessWidget { - /// Creates an [AuthTroubleLink]. - const AuthTroubleLink({super.key}); - - @override - Widget build(BuildContext context) { - return Row( - mainAxisAlignment: MainAxisAlignment.center, - spacing: UiConstants.space1, - children: [ - Text( - t.staff_authentication.common.trouble_question, - style: UiTypography.body2r.textSecondary, - ), - Text( - t.staff_authentication.common.contact_support, - style: UiTypography.body2b.textLink, - ), - ], - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/common/section_title_subtitle.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/common/section_title_subtitle.dart deleted file mode 100644 index e4e75e76..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/common/section_title_subtitle.dart +++ /dev/null @@ -1,32 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; - -/// A widget for displaying a section title and subtitle -class SectionTitleSubtitle extends StatelessWidget { - /// The title of the section - final String title; - - /// The subtitle of the section - final String subtitle; - - const SectionTitleSubtitle({ - super.key, - required this.title, - required this.subtitle, - }); - - @override - Widget build(BuildContext context) { - return Column( - crossAxisAlignment: CrossAxisAlignment.start, - spacing: UiConstants.space1, - children: [ - // Title - Text(title, style: UiTypography.headline1m), - - // Subtitle - Text(subtitle, style: UiTypography.body2r.textSecondary), - ], - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/get_started_page/get_started_actions.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/get_started_page/get_started_actions.dart deleted file mode 100644 index ac8878b0..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/get_started_page/get_started_actions.dart +++ /dev/null @@ -1,42 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:staff_authentication/staff_authentication.dart'; - -/// A widget that displays the primary action buttons (Sign Up and Log In) -/// for the Get Started page. -class GetStartedActions extends StatelessWidget { - /// Void callback for when the Sign Up button is pressed. - final VoidCallback onSignUpPressed; - - /// Void callback for when the Log In button is pressed. - final VoidCallback onLoginPressed; - - /// Creates a [GetStartedActions]. - const GetStartedActions({ - super.key, - required this.onSignUpPressed, - required this.onLoginPressed, - }); - - @override - Widget build(BuildContext context) { - return Column( - crossAxisAlignment: CrossAxisAlignment.stretch, - children: [ - // Sign Up Button - UiButton.primary( - text: t.staff_authentication.get_started_page.sign_up_button, - onPressed: onSignUpPressed, - ), - - const SizedBox(height: 12), - - // Log In Button - UiButton.secondary( - text: t.staff_authentication.get_started_page.log_in_button, - onPressed: onLoginPressed, - ), - ], - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/get_started_page/get_started_background.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/get_started_page/get_started_background.dart deleted file mode 100644 index bd9c6376..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/get_started_page/get_started_background.dart +++ /dev/null @@ -1,51 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; - -/// A widget that displays the background for the Get Started page. -class GetStartedBackground extends StatelessWidget { - /// Creates a [GetStartedBackground]. - const GetStartedBackground({super.key}); - - @override - Widget build(BuildContext context) { - return Padding( - padding: const EdgeInsets.only(top: 24.0), - child: Column( - children: [ - // Logo - Image.asset(UiImageAssets.logoBlue, height: 40), - - Expanded( - child: Column( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - // Hero Image - Container( - width: 288, - height: 288, - margin: const EdgeInsets.only(bottom: 32), - decoration: BoxDecoration( - shape: BoxShape.circle, - color: UiColors.secondaryForeground.withAlpha( - 64, - ), // 0.5 opacity - ), - child: Padding( - padding: const EdgeInsets.all(8.0), - child: ClipOval( - child: Image.network( - 'https://images.unsplash.com/photo-1577219491135-ce391730fb2c?w=400&h=400&fit=crop&crop=faces', - fit: BoxFit.cover, - ), - ), - ), - ), - const SizedBox(height: 32), - ], - ), - ), - ], - ), - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/get_started_page/get_started_header.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/get_started_page/get_started_header.dart deleted file mode 100644 index 4ef77b9e..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/get_started_page/get_started_header.dart +++ /dev/null @@ -1,39 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:design_system/design_system.dart'; -import 'package:staff_authentication/staff_authentication.dart'; - -/// A widget that displays the welcome text and description on the Get Started page. -class GetStartedHeader extends StatelessWidget { - /// Creates a [GetStartedHeader]. - const GetStartedHeader({super.key}); - - @override - Widget build(BuildContext context) { - return Column( - crossAxisAlignment: CrossAxisAlignment.stretch, - children: [ - RichText( - textAlign: TextAlign.center, - text: TextSpan( - style: UiTypography.displayM, - children: [ - TextSpan( - text: t.staff_authentication.get_started_page.title_part1, - ), - TextSpan( - text: t.staff_authentication.get_started_page.title_part2, - style: UiTypography.displayMb.textLink, - ), - ], - ), - ), - const SizedBox(height: 16), - Text( - t.staff_authentication.get_started_page.subtitle, - textAlign: TextAlign.center, - style: UiTypography.body1r.textSecondary, - ), - ], - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification.dart deleted file mode 100644 index daf95684..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification.dart +++ /dev/null @@ -1,65 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:staff_authentication/src/presentation/blocs/auth_state.dart'; -import 'otp_verification/otp_input_field.dart'; -import 'otp_verification/otp_resend_section.dart'; -import 'otp_verification/otp_verification_actions.dart'; -import 'otp_verification/otp_verification_header.dart'; - -/// A widget that displays the OTP verification UI. -class OtpVerification extends StatelessWidget { - /// The current state of the authentication process. - final AuthState state; - - /// Callback for when the OTP is submitted. - final ValueChanged onOtpSubmitted; - - /// Callback for when a new code is requested. - final VoidCallback onResend; - - /// Callback for the "Continue" action. - final VoidCallback onContinue; - - /// Creates an [OtpVerification]. - const OtpVerification({ - super.key, - required this.state, - required this.onOtpSubmitted, - required this.onResend, - required this.onContinue, - }); - - @override - Widget build(BuildContext context) { - return Column( - children: [ - Expanded( - child: SingleChildScrollView( - padding: const EdgeInsets.symmetric( - horizontal: UiConstants.space6, - vertical: UiConstants.space8, - ), - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - OtpVerificationHeader(phoneNumber: state.phoneNumber), - const SizedBox(height: UiConstants.space8), - OtpInputField( - error: state.errorMessage ?? '', - onCompleted: onOtpSubmitted, - ), - const SizedBox(height: UiConstants.space6), - OtpResendSection(onResend: onResend, hasError: state.hasError), - ], - ), - ), - ), - OtpVerificationActions( - isLoading: state.isLoading, - canSubmit: state.otp.length == 6, - onContinue: onContinue, - ), - ], - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification/otp_input_field.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification/otp_input_field.dart deleted file mode 100644 index 78c2d4ba..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification/otp_input_field.dart +++ /dev/null @@ -1,127 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter/services.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import '../../../blocs/auth_event.dart'; -import '../../../blocs/auth_bloc.dart'; - -/// A widget that displays a 6-digit OTP input field. -/// -/// This widget handles its own internal [TextEditingController]s and focus nodes. -/// It dispatches [AuthOtpUpdated] to the [AuthBloc] on every change. -class OtpInputField extends StatefulWidget { - /// Callback for when the OTP code is fully entered (6 digits). - final ValueChanged onCompleted; - - /// The error message to display, if any. - final String error; - - /// Creates an [OtpInputField]. - const OtpInputField({ - super.key, - required this.onCompleted, - required this.error, - }); - - @override - State createState() => _OtpInputFieldState(); -} - -class _OtpInputFieldState extends State { - final List _controllers = List.generate( - 6, - (_) => TextEditingController(), - ); - final List _focusNodes = List.generate(6, (_) => FocusNode()); - - @override - void dispose() { - for (final controller in _controllers) { - controller.dispose(); - } - for (final node in _focusNodes) { - node.dispose(); - } - super.dispose(); - } - - /// Helper getter to compute the current OTP code from all controllers. - String get _otpCode => _controllers.map((c) => c.text).join(); - - /// Handles changes to the OTP input fields. - void _onChanged({ - required BuildContext context, - required int index, - required String value, - }) { - if (value.length == 1 && index < 5) { - _focusNodes[index + 1].requestFocus(); - } - - // Notify the Bloc of the change - BlocProvider.of(context).add(AuthOtpUpdated(_otpCode)); - - if (_otpCode.length == 6) { - widget.onCompleted(_otpCode); - } - } - - @override - Widget build(BuildContext context) { - return Column( - children: [ - Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: List.generate(6, (index) { - return SizedBox( - width: 56, - height: 56, - child: TextField( - controller: _controllers[index], - focusNode: _focusNodes[index], - keyboardType: TextInputType.number, - inputFormatters: [FilteringTextInputFormatter.digitsOnly], - textAlign: TextAlign.center, - maxLength: 1, - style: UiTypography.headline3m, - decoration: InputDecoration( - counterText: '', - border: OutlineInputBorder( - borderSide: BorderSide( - color: widget.error.isNotEmpty - ? UiColors.textError - : (_controllers[index].text.isNotEmpty - ? UiColors.primary - : UiColors.border), - width: 2, - ), - ), - enabledBorder: OutlineInputBorder( - borderRadius: UiConstants.radiusMd, - borderSide: BorderSide( - color: widget.error.isNotEmpty - ? UiColors.textError - : (_controllers[index].text.isNotEmpty - ? UiColors.primary - : UiColors.border), - width: 2, - ), - ), - ), - onChanged: (value) => - _onChanged(context: context, index: index, value: value), - ), - ); - }), - ), - if (widget.error.isNotEmpty) - Padding( - padding: const EdgeInsets.only(top: UiConstants.space4), - child: Center( - child: Text(widget.error, style: UiTypography.body2r.textError), - ), - ), - ], - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification/otp_resend_section.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification/otp_resend_section.dart deleted file mode 100644 index c6fecde7..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification/otp_resend_section.dart +++ /dev/null @@ -1,75 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:staff_authentication/staff_authentication.dart'; - -/// A widget that handles the OTP resend logic and countdown timer. -class OtpResendSection extends StatefulWidget { - /// Callback for when the resend link is pressed. - final VoidCallback onResend; - - /// Whether an error is currently displayed. (Used for layout tweaks in the original code) - final bool hasError; - - /// Creates an [OtpResendSection]. - const OtpResendSection({ - super.key, - required this.onResend, - this.hasError = false, - }); - - @override - State createState() => _OtpResendSectionState(); -} - -class _OtpResendSectionState extends State { - int _countdown = 30; - - @override - void initState() { - super.initState(); - _startCountdown(); - } - - /// Starts the countdown timer. - void _startCountdown() { - Future.delayed(const Duration(seconds: 1), () { - if (mounted && _countdown > 0) { - setState(() => _countdown--); - _startCountdown(); - } - }); - } - - @override - Widget build(BuildContext context) { - return Center( - child: Text.rich( - TextSpan( - children: [ - TextSpan( - text: widget.hasError - ? '' - : '${t.staff_authentication.otp_verification.did_not_get_code} ', - style: UiTypography.body2r.textSecondary, - ), - WidgetSpan( - child: GestureDetector( - onTap: _countdown > 0 ? null : widget.onResend, - child: Text( - _countdown > 0 - ? t.staff_authentication.otp_verification.resend_in( - seconds: _countdown.toString(), - ) - : t.staff_authentication.otp_verification.resend_code, - style: (_countdown > 0 - ? UiTypography.body2r.textSecondary - : UiTypography.body2b.textPrimary), - ), - ), - ), - ], - ), - ), - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification/otp_verification_actions.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification/otp_verification_actions.dart deleted file mode 100644 index ed9ad086..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification/otp_verification_actions.dart +++ /dev/null @@ -1,56 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:staff_authentication/staff_authentication.dart'; -import '../../common/auth_trouble_link.dart'; - -/// A widget that displays the primary action button and trouble link for OTP verification. -class OtpVerificationActions extends StatelessWidget { - /// Whether the verification process is currently loading. - final bool isLoading; - - /// Whether the submit button should be enabled. - final bool canSubmit; - - /// Callback for when the Continue button is pressed. - final VoidCallback? onContinue; - - /// Creates an [OtpVerificationActions]. - const OtpVerificationActions({ - super.key, - required this.isLoading, - required this.canSubmit, - this.onContinue, - }); - - @override - Widget build(BuildContext context) { - return Container( - padding: const EdgeInsets.all(UiConstants.space6), - decoration: const BoxDecoration( - border: Border( - top: BorderSide(color: UiColors.separatorSecondary, width: 1), - ), - ), - child: Column( - crossAxisAlignment: CrossAxisAlignment.stretch, - children: [ - isLoading - ? ElevatedButton( - onPressed: null, - child: const SizedBox( - width: 20, - height: 20, - child: CircularProgressIndicator(strokeWidth: 2), - ), - ) - : UiButton.primary( - text: t.common.continue_text, - onPressed: canSubmit ? onContinue : null, - ), - const SizedBox(height: UiConstants.space4), - const AuthTroubleLink(), - ], - ), - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification/otp_verification_header.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification/otp_verification_header.dart deleted file mode 100644 index ecc9a953..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/otp_verification/otp_verification_header.dart +++ /dev/null @@ -1,44 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:staff_authentication/staff_authentication.dart'; - -/// A widget that displays the title and subtitle for the OTP Verification page. -class OtpVerificationHeader extends StatelessWidget { - /// The phone number to which the code was sent. - final String phoneNumber; - - /// Creates an [OtpVerificationHeader]. - const OtpVerificationHeader({super.key, required this.phoneNumber}); - - @override - Widget build(BuildContext context) { - return Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - t.staff_authentication.phone_verification_page.enter_code_title, - style: UiTypography.headline1m, - ), - const SizedBox(height: UiConstants.space2), - Text.rich( - TextSpan( - text: t - .staff_authentication - .phone_verification_page - .code_sent_message, - style: UiTypography.body2r.textSecondary, - children: [ - TextSpan(text: '+1 $phoneNumber', style: UiTypography.body2b), - TextSpan( - text: t - .staff_authentication - .phone_verification_page - .code_sent_instruction, - ), - ], - ), - ), - ], - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/phone_input.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/phone_input.dart deleted file mode 100644 index 082b09a7..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/phone_input.dart +++ /dev/null @@ -1,54 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:staff_authentication/src/presentation/blocs/auth_bloc.dart'; -import 'package:staff_authentication/src/presentation/blocs/auth_event.dart'; -import 'package:staff_authentication/src/presentation/blocs/auth_state.dart'; -import 'phone_input/phone_input_actions.dart'; -import 'phone_input/phone_input_form_field.dart'; -import 'phone_input/phone_input_header.dart'; - -/// A widget that displays the phone number entry UI. -class PhoneInput extends StatelessWidget { - /// The current state of the authentication process. - final AuthState state; - - /// Callback for when the "Send Code" action is triggered. - final VoidCallback onSendCode; - - /// Creates a [PhoneInput]. - const PhoneInput({super.key, required this.state, required this.onSendCode}); - - @override - Widget build(BuildContext context) { - return Column( - children: [ - Expanded( - child: SingleChildScrollView( - padding: const EdgeInsets.symmetric( - horizontal: UiConstants.space6, - vertical: UiConstants.space8, - ), - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const PhoneInputHeader(), - const SizedBox(height: UiConstants.space8), - PhoneInputFormField( - initialValue: state.phoneNumber, - error: state.errorMessage ?? '', - onChanged: (value) { - BlocProvider.of( - context, - ).add(AuthPhoneUpdated(value)); - }, - ), - ], - ), - ), - ), - PhoneInputActions(isLoading: state.isLoading, onSendCode: onSendCode), - ], - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/phone_input/phone_input_actions.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/phone_input/phone_input_actions.dart deleted file mode 100644 index 8d321eb3..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/phone_input/phone_input_actions.dart +++ /dev/null @@ -1,53 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:staff_authentication/src/presentation/widgets/common/auth_trouble_link.dart'; -import 'package:staff_authentication/staff_authentication.dart'; - -/// A widget that displays the primary action button and trouble link for Phone Input. -class PhoneInputActions extends StatelessWidget { - /// Whether the sign-in process is currently loading. - final bool isLoading; - - /// Callback for when the Send Code button is pressed. - final VoidCallback? onSendCode; - - /// Creates a [PhoneInputActions]. - const PhoneInputActions({ - super.key, - required this.isLoading, - this.onSendCode, - }); - - @override - Widget build(BuildContext context) { - return Container( - padding: const EdgeInsets.all(UiConstants.space6), - decoration: const BoxDecoration( - border: Border(top: BorderSide(color: UiColors.separatorSecondary)), - ), - child: Column( - crossAxisAlignment: CrossAxisAlignment.stretch, - children: [ - isLoading - ? UiButton.secondary( - onPressed: null, - child: const SizedBox( - width: 20, - height: 20, - child: CircularProgressIndicator(strokeWidth: 2), - ), - ) - : UiButton.primary( - text: t - .staff_authentication - .phone_verification_page - .send_code_button, - onPressed: onSendCode, - ), - const SizedBox(height: UiConstants.space4), - const AuthTroubleLink(), - ], - ), - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/phone_input/phone_input_form_field.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/phone_input/phone_input_form_field.dart deleted file mode 100644 index 5e13a8ee..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/phone_input/phone_input_form_field.dart +++ /dev/null @@ -1,96 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter/services.dart'; -import 'package:staff_authentication/staff_authentication.dart'; - -/// A widget that displays the phone number input field with country code. -/// -/// This widget handles its own [TextEditingController] to manage input. -class PhoneInputFormField extends StatefulWidget { - /// The initial value for the phone number. - final String initialValue; - - /// The error message to display, if any. - final String error; - - /// Callback for when the text field value changes. - final ValueChanged onChanged; - - /// Creates a [PhoneInputFormField]. - const PhoneInputFormField({ - super.key, - this.initialValue = '', - required this.error, - required this.onChanged, - }); - - @override - State createState() => _PhoneInputFormFieldState(); -} - -class _PhoneInputFormFieldState extends State { - late final TextEditingController _controller; - - @override - void initState() { - super.initState(); - _controller = TextEditingController(text: widget.initialValue); - } - - @override - void dispose() { - _controller.dispose(); - super.dispose(); - } - - @override - Widget build(BuildContext context) { - return Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - t.staff_authentication.phone_input.label, - style: UiTypography.footnote1m.textSecondary, - ), - const SizedBox(height: UiConstants.space2), - Row( - children: [ - Container( - width: 100, - height: 48, - alignment: Alignment.center, - child: Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Text('🇺🇸', style: UiTypography.headline2m), - const SizedBox(width: UiConstants.space1), - Text('+1', style: UiTypography.body1m), - ], - ), - ), - const SizedBox(width: UiConstants.space2), - Expanded( - child: TextField( - controller: _controller, - keyboardType: TextInputType.phone, - inputFormatters: [ - FilteringTextInputFormatter.digitsOnly, - LengthLimitingTextInputFormatter(10), - ], - decoration: InputDecoration( - hintText: t.staff_authentication.phone_input.hint, - ), - onChanged: widget.onChanged, - ), - ), - ], - ), - if (widget.error.isNotEmpty) - Padding( - padding: const EdgeInsets.only(top: UiConstants.space2), - child: Text(widget.error, style: UiTypography.body2r.textError), - ), - ], - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/phone_input/phone_input_header.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/phone_input/phone_input_header.dart deleted file mode 100644 index 2b8360c1..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/phone_verification_page/phone_input/phone_input_header.dart +++ /dev/null @@ -1,27 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:staff_authentication/staff_authentication.dart'; - -/// A widget that displays the title and subtitle for the Phone Input page. -class PhoneInputHeader extends StatelessWidget { - /// Creates a [PhoneInputHeader]. - const PhoneInputHeader({super.key}); - - @override - Widget build(BuildContext context) { - return Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text( - t.staff_authentication.phone_input.title, - style: UiTypography.headline1m, - ), - const SizedBox(height: UiConstants.space1), - Text( - t.staff_authentication.phone_input.subtitle, - style: UiTypography.body2r.textSecondary, - ), - ], - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/profile_setup_page/profile_setup_basic_info.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/profile_setup_page/profile_setup_basic_info.dart deleted file mode 100644 index c7b1e46b..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/profile_setup_page/profile_setup_basic_info.dart +++ /dev/null @@ -1,100 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:staff_authentication/src/presentation/widgets/common/section_title_subtitle.dart'; -import 'package:staff_authentication/staff_authentication.dart'; - -/// A widget for setting up basic profile information (photo, name, bio). -class ProfileSetupBasicInfo extends StatelessWidget { - /// The user's full name. - final String fullName; - - /// The user's bio. - final String bio; - - /// Callback for when the full name changes. - final ValueChanged onFullNameChanged; - - /// Callback for when the bio changes. - final ValueChanged onBioChanged; - - /// Creates a [ProfileSetupBasicInfo] widget. - const ProfileSetupBasicInfo({ - super.key, - required this.fullName, - required this.bio, - required this.onFullNameChanged, - required this.onBioChanged, - }); - - @override - /// Builds the basic info step UI. - Widget build(BuildContext context) { - return Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - SectionTitleSubtitle( - title: t.staff_authentication.profile_setup_page.basic_info.title, - subtitle: - t.staff_authentication.profile_setup_page.basic_info.subtitle, - ), - const SizedBox(height: UiConstants.space8), - - // Photo Upload - Center( - child: Stack( - children: [ - Container( - width: 120, - height: 120, - decoration: BoxDecoration( - shape: BoxShape.circle, - color: UiColors.secondary, - border: Border.all( - color: UiColors.secondaryForeground.withAlpha(24), - width: 4, - ), - ), - child: const Icon( - UiIcons.user, - size: 48, - color: UiColors.iconSecondary, - ), - ), - Positioned( - bottom: 0, - right: 0, - child: UiIconButton.secondary(icon: UiIcons.camera), - ), - ], - ), - ), - const SizedBox(height: UiConstants.space8), - - // Full Name - UiTextField( - label: t - .staff_authentication - .profile_setup_page - .basic_info - .full_name_label, - hintText: t - .staff_authentication - .profile_setup_page - .basic_info - .full_name_hint, - onChanged: onFullNameChanged, - ), - const SizedBox(height: UiConstants.space6), - - // Bio - UiTextField( - label: t.staff_authentication.profile_setup_page.basic_info.bio_label, - hintText: - t.staff_authentication.profile_setup_page.basic_info.bio_hint, - maxLines: 3, - onChanged: onBioChanged, - ), - ], - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/profile_setup_page/profile_setup_experience.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/profile_setup_page/profile_setup_experience.dart deleted file mode 100644 index 7babdb60..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/profile_setup_page/profile_setup_experience.dart +++ /dev/null @@ -1,265 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:staff_authentication/src/presentation/widgets/common/section_title_subtitle.dart'; -import 'package:staff_authentication/staff_authentication.dart'; - -/// A widget for setting up skills and preferred industries. -class ProfileSetupExperience extends StatelessWidget { - /// The list of selected skills. - final List skills; - - /// The list of selected industries. - final List industries; - - /// Callback for when skills change. - final ValueChanged> onSkillsChanged; - - /// Callback for when industries change. - final ValueChanged> onIndustriesChanged; - - static const List _allSkillKeys = [ - 'food_service', - 'bartending', - 'warehouse', - 'retail', - 'events', - 'customer_service', - 'cleaning', - 'security', - 'driving', - 'cooking', - ]; - - static const List _allIndustryKeys = [ - 'hospitality', - 'food_service', - 'warehouse', - 'events', - 'retail', - 'healthcare', - ]; - - /// Creates a [ProfileSetupExperience] widget. - const ProfileSetupExperience({ - super.key, - required this.skills, - required this.industries, - required this.onSkillsChanged, - required this.onIndustriesChanged, - }); - - /// Toggles a skill. - void _toggleSkill({required String skill}) { - final updatedList = List.from(skills); - if (updatedList.contains(skill)) { - updatedList.remove(skill); - } else { - updatedList.add(skill); - } - onSkillsChanged(updatedList); - } - - /// Toggles an industry. - void _toggleIndustry({required String industry}) { - final updatedList = List.from(industries); - if (updatedList.contains(industry)) { - updatedList.remove(industry); - } else { - updatedList.add(industry); - } - onIndustriesChanged(updatedList); - } - - @override - /// Builds the experience setup step UI. - Widget build(BuildContext context) { - return Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - SectionTitleSubtitle( - title: t.staff_authentication.profile_setup_page.experience.title, - subtitle: - t.staff_authentication.profile_setup_page.experience.subtitle, - ), - const SizedBox(height: UiConstants.space8), - - // Skills - Text( - t.staff_authentication.profile_setup_page.experience.skills_label, - style: UiTypography.body2m, - ), - const SizedBox(height: UiConstants.space3), - Wrap( - spacing: UiConstants.space2, - runSpacing: UiConstants.space2, - children: _allSkillKeys.map((key) { - final isSelected = skills.contains(key); - // Dynamic translation access - final label = _getSkillLabel(key); - - return UiChip( - label: label, - isSelected: isSelected, - onTap: () => _toggleSkill(skill: key), - leadingIcon: isSelected ? UiIcons.check : null, - variant: UiChipVariant.primary, - ); - }).toList(), - ), - - const SizedBox(height: UiConstants.space8), - - // Industries - Text( - t.staff_authentication.profile_setup_page.experience.industries_label, - style: UiTypography.body2m, - ), - const SizedBox(height: UiConstants.space3), - Wrap( - spacing: UiConstants.space2, - runSpacing: UiConstants.space2, - children: _allIndustryKeys.map((key) { - final isSelected = industries.contains(key); - final label = _getIndustryLabel(key); - - return UiChip( - label: label, - isSelected: isSelected, - onTap: () => _toggleIndustry(industry: key), - leadingIcon: isSelected ? UiIcons.check : null, - variant: isSelected - ? UiChipVariant.accent - : UiChipVariant.primary, - ); - }).toList(), - ), - ], - ); - } - - String _getSkillLabel(String key) { - switch (key) { - case 'food_service': - return t - .staff_authentication - .profile_setup_page - .experience - .skills - .food_service; - case 'bartending': - return t - .staff_authentication - .profile_setup_page - .experience - .skills - .bartending; - case 'warehouse': - return t - .staff_authentication - .profile_setup_page - .experience - .skills - .warehouse; - case 'retail': - return t - .staff_authentication - .profile_setup_page - .experience - .skills - .retail; - case 'events': - return t - .staff_authentication - .profile_setup_page - .experience - .skills - .events; - case 'customer_service': - return t - .staff_authentication - .profile_setup_page - .experience - .skills - .customer_service; - case 'cleaning': - return t - .staff_authentication - .profile_setup_page - .experience - .skills - .cleaning; - case 'security': - return t - .staff_authentication - .profile_setup_page - .experience - .skills - .security; - case 'driving': - return t - .staff_authentication - .profile_setup_page - .experience - .skills - .driving; - case 'cooking': - return t - .staff_authentication - .profile_setup_page - .experience - .skills - .cooking; - default: - return key; - } - } - - String _getIndustryLabel(String key) { - switch (key) { - case 'hospitality': - return t - .staff_authentication - .profile_setup_page - .experience - .industries - .hospitality; - case 'food_service': - return t - .staff_authentication - .profile_setup_page - .experience - .industries - .food_service; - case 'warehouse': - return t - .staff_authentication - .profile_setup_page - .experience - .industries - .warehouse; - case 'events': - return t - .staff_authentication - .profile_setup_page - .experience - .industries - .events; - case 'retail': - return t - .staff_authentication - .profile_setup_page - .experience - .industries - .retail; - case 'healthcare': - return t - .staff_authentication - .profile_setup_page - .experience - .industries - .healthcare; - default: - return key; - } - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/profile_setup_page/profile_setup_header.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/profile_setup_page/profile_setup_header.dart deleted file mode 100644 index 738e7539..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/profile_setup_page/profile_setup_header.dart +++ /dev/null @@ -1,57 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:staff_authentication/staff_authentication.dart'; - -/// A header widget for the profile setup page showing back button and step count. -class ProfileSetupHeader extends StatelessWidget { - /// The current step index (0-based). - final int currentStep; - - /// The total number of steps. - final int totalSteps; - - /// Callback when the back button is tapped. - final VoidCallback? onBackTap; - - /// Creates a [ProfileSetupHeader]. - const ProfileSetupHeader({ - super.key, - required this.currentStep, - required this.totalSteps, - this.onBackTap, - }); - - @override - /// Builds the header UI. - Widget build(BuildContext context) { - return Padding( - padding: const EdgeInsets.symmetric( - horizontal: UiConstants.space5, - vertical: UiConstants.space4, - ), - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - if (currentStep > 0 && onBackTap != null) - GestureDetector( - onTap: onBackTap, - child: const Icon( - UiIcons.chevronLeft, - size: 20, - color: UiColors.textSecondary, - ), - ) - else - const SizedBox(width: UiConstants.space6), - Text( - t.staff_authentication.profile_setup_page.step_indicator( - current: currentStep + 1, - total: totalSteps, - ), - style: UiTypography.footnote1r.textSecondary, - ), - ], - ), - ); - } -} diff --git a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/profile_setup_page/profile_setup_location.dart b/apps/packages/features/staff/authentication/lib/src/presentation/widgets/profile_setup_page/profile_setup_location.dart deleted file mode 100644 index 9e3f6c76..00000000 --- a/apps/packages/features/staff/authentication/lib/src/presentation/widgets/profile_setup_page/profile_setup_location.dart +++ /dev/null @@ -1,165 +0,0 @@ -import 'package:design_system/design_system.dart'; -import 'package:flutter/material.dart'; -import 'package:staff_authentication/src/presentation/widgets/common/section_title_subtitle.dart'; -import 'package:staff_authentication/staff_authentication.dart'; - -/// A widget for setting up preferred work locations and distance. -class ProfileSetupLocation extends StatefulWidget { - /// The list of preferred locations. - final List preferredLocations; - - /// The maximum distance in miles. - final double maxDistanceMiles; - - /// Callback for when the preferred locations list changes. - final ValueChanged> onLocationsChanged; - - /// Callback for when the max distance changes. - final ValueChanged onDistanceChanged; - - /// Creates a [ProfileSetupLocation] widget. - const ProfileSetupLocation({ - super.key, - required this.preferredLocations, - required this.maxDistanceMiles, - required this.onLocationsChanged, - required this.onDistanceChanged, - }); - - @override - State createState() => _ProfileSetupLocationState(); -} - -class _ProfileSetupLocationState extends State { - final TextEditingController _locationController = TextEditingController(); - - @override - void dispose() { - _locationController.dispose(); - super.dispose(); - } - - /// Adds the current text from the controller as a location. - void _addLocation() { - final loc = _locationController.text.trim(); - if (loc.isNotEmpty && !widget.preferredLocations.contains(loc)) { - final updatedList = List.from(widget.preferredLocations) - ..add(loc); - widget.onLocationsChanged(updatedList); - _locationController.clear(); - } - } - - @override - /// Builds the location setup step UI. - Widget build(BuildContext context) { - return Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - SectionTitleSubtitle( - title: t.staff_authentication.profile_setup_page.location.title, - subtitle: t.staff_authentication.profile_setup_page.location.subtitle, - ), - const SizedBox(height: UiConstants.space8), - - // Add Location input - Row( - crossAxisAlignment: CrossAxisAlignment.end, - spacing: UiConstants.space2, - children: [ - Expanded( - child: UiTextField( - label: t - .staff_authentication - .profile_setup_page - .location - .add_location_label, - controller: _locationController, - hintText: t - .staff_authentication - .profile_setup_page - .location - .add_location_hint, - onSubmitted: (_) => _addLocation(), - ), - ), - UiButton.secondary( - text: - t.staff_authentication.profile_setup_page.location.add_button, - onPressed: _addLocation, - style: OutlinedButton.styleFrom( - minimumSize: const Size(0, 48), - maximumSize: const Size(double.infinity, 48), - ), - ), - ], - ), - - const SizedBox(height: UiConstants.space4), - - // Location Badges - if (widget.preferredLocations.isNotEmpty) - Wrap( - spacing: UiConstants.space2, - runSpacing: UiConstants.space2, - children: widget.preferredLocations.map((loc) { - return UiChip( - label: loc, - leadingIcon: UiIcons.mapPin, - trailingIcon: UiIcons.close, - onTrailingIconTap: () => _removeLocation(location: loc), - variant: UiChipVariant.secondary, - ); - }).toList(), - ), - - const SizedBox(height: UiConstants.space8), - // Slider - Text( - t.staff_authentication.profile_setup_page.location.max_distance( - distance: widget.maxDistanceMiles.round().toString(), - ), - style: UiTypography.body2m, - ), - const SizedBox(height: UiConstants.space2), - Slider( - value: widget.maxDistanceMiles, - min: 5, - max: 50, - onChanged: widget.onDistanceChanged, - ), - Padding( - padding: const EdgeInsets.symmetric(horizontal: UiConstants.space2), - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Text( - t - .staff_authentication - .profile_setup_page - .location - .min_dist_label, - style: UiTypography.footnote1r.textSecondary, - ), - Text( - t - .staff_authentication - .profile_setup_page - .location - .max_dist_label, - style: UiTypography.footnote1r.textSecondary, - ), - ], - ), - ), - ], - ); - } - - /// Removes the specified [location] from the list. - void _removeLocation({required String location}) { - final updatedList = List.from(widget.preferredLocations) - ..remove(location); - widget.onLocationsChanged(updatedList); - } -} diff --git a/apps/packages/features/staff/authentication/lib/staff_authentication.dart b/apps/packages/features/staff/authentication/lib/staff_authentication.dart deleted file mode 100644 index 2c272187..00000000 --- a/apps/packages/features/staff/authentication/lib/staff_authentication.dart +++ /dev/null @@ -1,65 +0,0 @@ -library staff_authentication; - -import 'package:flutter_modular/flutter_modular.dart'; -import 'package:krow_data_connect/krow_data_connect.dart'; -import 'package:staff_authentication/src/data/repositories_impl/auth_repository_impl.dart'; -import 'package:staff_authentication/src/domain/repositories/auth_repository_interface.dart'; -import 'package:staff_authentication/src/domain/usecases/sign_in_with_phone_usecase.dart'; -import 'package:staff_authentication/src/domain/usecases/verify_otp_usecase.dart'; -import 'package:staff_authentication/src/presentation/blocs/auth_bloc.dart'; -import 'package:staff_authentication/src/presentation/blocs/profile_setup/profile_setup_bloc.dart'; -import 'package:staff_authentication/src/presentation/pages/get_started_page.dart'; -import 'package:staff_authentication/src/presentation/pages/phone_verification_page.dart'; -import 'package:staff_authentication/src/presentation/pages/profile_setup_page.dart'; -import 'package:staff_authentication/src/domain/ui_entities/auth_mode.dart'; - -export 'src/domain/ui_entities/auth_mode.dart'; -export 'src/presentation/pages/get_started_page.dart'; -export 'src/presentation/pages/phone_verification_page.dart'; -export 'src/presentation/pages/profile_setup_page.dart'; -export 'package:core_localization/core_localization.dart'; - -/// A [Module] for the staff authentication feature. -class StaffAuthenticationModule extends Module { - @override - List get imports => [DataConnectModule()]; - - @override - void binds(Injector i) { - // Repositories - i.addLazySingleton( - () => AuthRepositoryImpl(mock: i.get()), - ); - - // UseCases - i.addLazySingleton(SignInWithPhoneUseCase.new); - i.addLazySingleton(VerifyOtpUseCase.new); - - // BLoCs - i.addLazySingleton( - () => AuthBloc( - signInUseCase: i.get(), - verifyOtpUseCase: i.get(), - ), - ); - i.add(ProfileSetupBloc.new); - } - - @override - void routes(r) { - r.child('/', child: (_) => const GetStartedPage()); - r.child( - '/phone-verification', - child: (context) { - final Map? data = r.args.data; - final String? modeName = data?['mode']; - final AuthMode mode = AuthMode.values.firstWhere( - (e) => e.name == modeName, - orElse: () => AuthMode.login, - ); - return PhoneVerificationPage(mode: mode); - }, - ); - r.child('/profile-setup', child: (_) => const ProfileSetupPage()); - } -} diff --git a/apps/packages/features/staff/authentication/pubspec.yaml b/apps/packages/features/staff/authentication/pubspec.yaml deleted file mode 100644 index f7dded13..00000000 --- a/apps/packages/features/staff/authentication/pubspec.yaml +++ /dev/null @@ -1,43 +0,0 @@ -name: staff_authentication -description: Staff Authentication and Onboarding feature. -version: 0.0.1 -publish_to: none -resolution: workspace - -environment: - sdk: '>=3.10.0 <4.0.0' - flutter: ">=3.0.0" - -dependencies: - flutter: - sdk: flutter - flutter_bloc: ^8.1.0 - flutter_modular: ^6.3.0 - equatable: ^2.0.5 - lucide_icons: ^0.257.0 - firebase_core: ^4.2.1 - firebase_auth: ^6.1.2 # Updated for compatibility - firebase_data_connect: ^0.2.2+1 - - # Architecture Packages - krow_domain: - path: ../../../../domain - krow_data_connect: - path: ../../../../data_connect - krow_core: - path: ../../../../core - design_system: - path: ../../../../design_system - core_localization: - path: ../../../core_localization - - -dev_dependencies: - flutter_test: - sdk: flutter - bloc_test: ^9.1.0 - mocktail: ^1.0.0 - build_runner: ^2.4.15 - -flutter: - uses-material-design: true diff --git a/apps/pubspec.lock b/apps/pubspec.lock deleted file mode 100644 index 792e68eb..00000000 --- a/apps/pubspec.lock +++ /dev/null @@ -1,1215 +0,0 @@ -# Generated by pub -# See https://dart.dev/tools/pub/glossary#lockfile -packages: - _fe_analyzer_shared: - dependency: transitive - description: - name: _fe_analyzer_shared - sha256: c209688d9f5a5f26b2fb47a188131a6fb9e876ae9e47af3737c0b4f58a93470d - url: "https://pub.dev" - source: hosted - version: "91.0.0" - _flutterfire_internals: - dependency: transitive - description: - name: _flutterfire_internals - sha256: cd83f7d6bd4e4c0b0b4fef802e8796784032e1cc23d7b0e982cf5d05d9bbe182 - url: "https://pub.dev" - source: hosted - version: "1.3.66" - analyzer: - dependency: transitive - description: - name: analyzer - sha256: f51c8499b35f9b26820cfe914828a6a98a94efd5cc78b37bb7d03debae3a1d08 - url: "https://pub.dev" - source: hosted - version: "8.4.1" - ansi_styles: - dependency: transitive - description: - name: ansi_styles - sha256: "9c656cc12b3c27b17dd982b2cc5c0cfdfbdabd7bc8f3ae5e8542d9867b47ce8a" - url: "https://pub.dev" - source: hosted - version: "0.3.2+1" - archive: - dependency: transitive - description: - name: archive - sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d - url: "https://pub.dev" - source: hosted - version: "3.6.1" - args: - dependency: transitive - description: - name: args - sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04 - url: "https://pub.dev" - source: hosted - version: "2.7.0" - async: - dependency: transitive - description: - name: async - sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb" - url: "https://pub.dev" - source: hosted - version: "2.13.0" - auto_injector: - dependency: transitive - description: - name: auto_injector - sha256: "1fc2624898e92485122eb2b1698dd42511d7ff6574f84a3a8606fc4549a1e8f8" - url: "https://pub.dev" - source: hosted - version: "2.1.1" - bloc: - dependency: transitive - description: - name: bloc - sha256: "106842ad6569f0b60297619e9e0b1885c2fb9bf84812935490e6c5275777804e" - url: "https://pub.dev" - source: hosted - version: "8.1.4" - bloc_test: - dependency: transitive - description: - name: bloc_test - sha256: "165a6ec950d9252ebe36dc5335f2e6eb13055f33d56db0eeb7642768849b43d2" - url: "https://pub.dev" - source: hosted - version: "9.1.7" - boolean_selector: - dependency: transitive - description: - name: boolean_selector - sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea" - url: "https://pub.dev" - source: hosted - version: "2.1.2" - build: - dependency: transitive - description: - name: build - sha256: "275bf6bb2a00a9852c28d4e0b410da1d833a734d57d39d44f94bfc895a484ec3" - url: "https://pub.dev" - source: hosted - version: "4.0.4" - build_config: - dependency: transitive - description: - name: build_config - sha256: "4f64382b97504dc2fcdf487d5aae33418e08b4703fc21249e4db6d804a4d0187" - url: "https://pub.dev" - source: hosted - version: "1.2.0" - build_daemon: - dependency: transitive - description: - name: build_daemon - sha256: bf05f6e12cfea92d3c09308d7bcdab1906cd8a179b023269eed00c071004b957 - url: "https://pub.dev" - source: hosted - version: "4.1.1" - build_runner: - dependency: transitive - description: - name: build_runner - sha256: b4d854962a32fd9f8efc0b76f98214790b833af8b2e9b2df6bfc927c0415a072 - url: "https://pub.dev" - source: hosted - version: "2.10.5" - built_collection: - dependency: transitive - description: - name: built_collection - sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100" - url: "https://pub.dev" - source: hosted - version: "5.1.1" - built_value: - dependency: transitive - description: - name: built_value - sha256: "7931c90b84bc573fef103548e354258ae4c9d28d140e41961df6843c5d60d4d8" - url: "https://pub.dev" - source: hosted - version: "8.12.3" - characters: - dependency: transitive - description: - name: characters - sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803 - url: "https://pub.dev" - source: hosted - version: "1.4.0" - charcode: - dependency: transitive - description: - name: charcode - sha256: fb0f1107cac15a5ea6ef0a6ef71a807b9e4267c713bb93e00e92d737cc8dbd8a - url: "https://pub.dev" - source: hosted - version: "1.4.0" - checked_yaml: - dependency: transitive - description: - name: checked_yaml - sha256: "959525d3162f249993882720d52b7e0c833978df229be20702b33d48d91de70f" - url: "https://pub.dev" - source: hosted - version: "2.0.4" - cli_config: - dependency: transitive - description: - name: cli_config - sha256: ac20a183a07002b700f0c25e61b7ee46b23c309d76ab7b7640a028f18e4d99ec - url: "https://pub.dev" - source: hosted - version: "0.2.0" - cli_launcher: - dependency: transitive - description: - name: cli_launcher - sha256: "17d2744fb9a254c49ec8eda582536abe714ea0131533e24389843a4256f82eac" - url: "https://pub.dev" - source: hosted - version: "0.3.2+1" - cli_util: - dependency: transitive - description: - name: cli_util - sha256: ff6785f7e9e3c38ac98b2fb035701789de90154024a75b6cb926445e83197d1c - url: "https://pub.dev" - source: hosted - version: "0.4.2" - clock: - dependency: transitive - description: - name: clock - sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b - url: "https://pub.dev" - source: hosted - version: "1.1.2" - code_assets: - dependency: transitive - description: - name: code_assets - sha256: ae0db647e668cbb295a3527f0938e4039e004c80099dce2f964102373f5ce0b5 - url: "https://pub.dev" - source: hosted - version: "0.19.10" - code_builder: - dependency: transitive - description: - name: code_builder - sha256: "6a6cab2ba4680d6423f34a9b972a4c9a94ebe1b62ecec4e1a1f2cba91fd1319d" - url: "https://pub.dev" - source: hosted - version: "4.11.1" - collection: - dependency: transitive - description: - name: collection - sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76" - url: "https://pub.dev" - source: hosted - version: "1.19.1" - conventional_commit: - dependency: transitive - description: - name: conventional_commit - sha256: c40b1b449ce2a63fa2ce852f35e3890b1e182f5951819934c0e4a66254bc0dc3 - url: "https://pub.dev" - source: hosted - version: "0.6.1+1" - convert: - dependency: transitive - description: - name: convert - sha256: b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68 - url: "https://pub.dev" - source: hosted - version: "3.1.2" - coverage: - dependency: transitive - description: - name: coverage - sha256: "5da775aa218eaf2151c721b16c01c7676fbfdd99cebba2bf64e8b807a28ff94d" - url: "https://pub.dev" - source: hosted - version: "1.15.0" - crypto: - dependency: transitive - description: - name: crypto - sha256: c8ea0233063ba03258fbcf2ca4d6dadfefe14f02fab57702265467a19f27fadf - url: "https://pub.dev" - source: hosted - version: "3.0.7" - csv: - dependency: transitive - description: - name: csv - sha256: c6aa2679b2a18cb57652920f674488d89712efaf4d3fdf2e537215b35fc19d6c - url: "https://pub.dev" - source: hosted - version: "6.0.0" - cupertino_icons: - dependency: transitive - description: - name: cupertino_icons - sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 - url: "https://pub.dev" - source: hosted - version: "1.0.8" - dart_style: - dependency: transitive - description: - name: dart_style - sha256: a9c30492da18ff84efe2422ba2d319a89942d93e58eb0b73d32abe822ef54b7b - url: "https://pub.dev" - source: hosted - version: "3.1.3" - diff_match_patch: - dependency: transitive - description: - name: diff_match_patch - sha256: "2efc9e6e8f449d0abe15be240e2c2a3bcd977c8d126cfd70598aee60af35c0a4" - url: "https://pub.dev" - source: hosted - version: "0.4.1" - equatable: - dependency: transitive - description: - name: equatable - sha256: "3e0141505477fd8ad55d6eb4e7776d3fe8430be8e497ccb1521370c3f21a3e2b" - url: "https://pub.dev" - source: hosted - version: "2.0.8" - fake_async: - dependency: transitive - description: - name: fake_async - sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44" - url: "https://pub.dev" - source: hosted - version: "1.3.3" - ffi: - dependency: transitive - description: - name: ffi - sha256: d07d37192dbf97461359c1518788f203b0c9102cfd2c35a716b823741219542c - url: "https://pub.dev" - source: hosted - version: "2.1.5" - file: - dependency: transitive - description: - name: file - sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4 - url: "https://pub.dev" - source: hosted - version: "7.0.1" - firebase_app_check: - dependency: transitive - description: - name: firebase_app_check - sha256: "45f0d279ea7ae4eac1867a4c85aa225761e3ac0ccf646386a860b2bc16581f76" - url: "https://pub.dev" - source: hosted - version: "0.4.1+4" - firebase_app_check_platform_interface: - dependency: transitive - description: - name: firebase_app_check_platform_interface - sha256: e32b4e6adeaac207a6f7afe0906d97c0811de42fb200d9b6317a09155de65e2b - url: "https://pub.dev" - source: hosted - version: "0.2.1+4" - firebase_app_check_web: - dependency: transitive - description: - name: firebase_app_check_web - sha256: "2cbc8a18a34813a7e31d7b30f989973087421cd5d0e397b4dd88a90289aa2bed" - url: "https://pub.dev" - source: hosted - version: "0.2.2+2" - firebase_auth: - dependency: transitive - description: - name: firebase_auth - sha256: b20d1540460814c5984474c1e9dd833bdbcff6ecd8d6ad86cc9da8cfd581c172 - url: "https://pub.dev" - source: hosted - version: "6.1.4" - firebase_auth_platform_interface: - dependency: transitive - description: - name: firebase_auth_platform_interface - sha256: fd0225320b6bbc92460c86352d16b60aea15f9ef88292774cca97b0522ea9f72 - url: "https://pub.dev" - source: hosted - version: "8.1.6" - firebase_auth_web: - dependency: transitive - description: - name: firebase_auth_web - sha256: be7dccb263b89fbda2a564de9d8193118196e8481ffb937222a025cdfdf82c40 - url: "https://pub.dev" - source: hosted - version: "6.1.2" - firebase_core: - dependency: transitive - description: - name: firebase_core - sha256: "923085c881663ef685269b013e241b428e1fb03cdd0ebde265d9b40ff18abf80" - url: "https://pub.dev" - source: hosted - version: "4.4.0" - firebase_core_platform_interface: - dependency: transitive - description: - name: firebase_core_platform_interface - sha256: cccb4f572325dc14904c02fcc7db6323ad62ba02536833dddb5c02cac7341c64 - url: "https://pub.dev" - source: hosted - version: "6.0.2" - firebase_core_web: - dependency: transitive - description: - name: firebase_core_web - sha256: "83e7356c704131ca4d8d8dd57e360d8acecbca38b1a3705c7ae46cc34c708084" - url: "https://pub.dev" - source: hosted - version: "3.4.0" - firebase_data_connect: - dependency: transitive - description: - name: firebase_data_connect - sha256: "01d0f8e33c520a6e6f59cf5ac6ff281d1927f7837f094fa8eb5fdb0b1b328ad8" - url: "https://pub.dev" - source: hosted - version: "0.2.2+2" - fixnum: - dependency: transitive - description: - name: fixnum - sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be - url: "https://pub.dev" - source: hosted - version: "1.1.1" - flutter: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - flutter_bloc: - dependency: transitive - description: - name: flutter_bloc - sha256: b594505eac31a0518bdcb4b5b79573b8d9117b193cc80cc12e17d639b10aa27a - url: "https://pub.dev" - source: hosted - version: "8.1.6" - flutter_lints: - dependency: transitive - description: - name: flutter_lints - sha256: "3105dc8492f6183fb076ccf1f351ac3d60564bff92e20bfc4af9cc1651f4e7e1" - url: "https://pub.dev" - source: hosted - version: "6.0.0" - flutter_localizations: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - flutter_modular: - dependency: transitive - description: - name: flutter_modular - sha256: "33a63d9fe61429d12b3dfa04795ed890f17d179d3d38e988ba7969651fcd5586" - url: "https://pub.dev" - source: hosted - version: "6.4.1" - flutter_test: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - flutter_web_plugins: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - font_awesome_flutter: - dependency: transitive - description: - name: font_awesome_flutter - sha256: b9011df3a1fa02993630b8fb83526368cf2206a711259830325bab2f1d2a4eb0 - url: "https://pub.dev" - source: hosted - version: "10.12.0" - frontend_server_client: - dependency: transitive - description: - name: frontend_server_client - sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694 - url: "https://pub.dev" - source: hosted - version: "4.0.0" - glob: - dependency: transitive - description: - name: glob - sha256: c3f1ee72c96f8f78935e18aa8cecced9ab132419e8625dc187e1c2408efc20de - url: "https://pub.dev" - source: hosted - version: "2.1.3" - google_fonts: - dependency: transitive - description: - name: google_fonts - sha256: ca1cc501704c47e478f69a667d7f2d882755ddf7baad3f60c3b1256594467022 - url: "https://pub.dev" - source: hosted - version: "7.0.2" - google_identity_services_web: - dependency: transitive - description: - name: google_identity_services_web - sha256: "5d187c46dc59e02646e10fe82665fc3884a9b71bc1c90c2b8b749316d33ee454" - url: "https://pub.dev" - source: hosted - version: "0.3.3+1" - googleapis_auth: - dependency: transitive - description: - name: googleapis_auth - sha256: befd71383a955535060acde8792e7efc11d2fccd03dd1d3ec434e85b68775938 - url: "https://pub.dev" - source: hosted - version: "1.6.0" - graphs: - dependency: transitive - description: - name: graphs - sha256: "741bbf84165310a68ff28fe9e727332eef1407342fca52759cb21ad8177bb8d0" - url: "https://pub.dev" - source: hosted - version: "2.3.2" - grpc: - dependency: transitive - description: - name: grpc - sha256: e93ee3bce45c134bf44e9728119102358c7cd69de7832d9a874e2e74eb8cab40 - url: "https://pub.dev" - source: hosted - version: "3.2.4" - hooks: - dependency: transitive - description: - name: hooks - sha256: "5410b9f4f6c9f01e8ff0eb81c9801ea13a3c3d39f8f0b1613cda08e27eab3c18" - url: "https://pub.dev" - source: hosted - version: "0.20.5" - http: - dependency: transitive - description: - name: http - sha256: "87721a4a50b19c7f1d49001e51409bddc46303966ce89a65af4f4e6004896412" - url: "https://pub.dev" - source: hosted - version: "1.6.0" - http2: - dependency: transitive - description: - name: http2 - sha256: "382d3aefc5bd6dc68c6b892d7664f29b5beb3251611ae946a98d35158a82bbfa" - url: "https://pub.dev" - source: hosted - version: "2.3.1" - http_multi_server: - dependency: transitive - description: - name: http_multi_server - sha256: aa6199f908078bb1c5efb8d8638d4ae191aac11b311132c3ef48ce352fb52ef8 - url: "https://pub.dev" - source: hosted - version: "3.2.2" - http_parser: - dependency: transitive - description: - name: http_parser - sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571" - url: "https://pub.dev" - source: hosted - version: "4.1.2" - intl: - dependency: transitive - description: - name: intl - sha256: "3df61194eb431efc39c4ceba583b95633a403f46c9fd341e550ce0bfa50e9aa5" - url: "https://pub.dev" - source: hosted - version: "0.20.2" - io: - dependency: transitive - description: - name: io - sha256: dfd5a80599cf0165756e3181807ed3e77daf6dd4137caaad72d0b7931597650b - url: "https://pub.dev" - source: hosted - version: "1.0.5" - js: - dependency: transitive - description: - name: js - sha256: "53385261521cc4a0c4658fd0ad07a7d14591cf8fc33abbceae306ddb974888dc" - url: "https://pub.dev" - source: hosted - version: "0.7.2" - json_annotation: - dependency: transitive - description: - name: json_annotation - sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" - url: "https://pub.dev" - source: hosted - version: "4.9.0" - leak_tracker: - dependency: transitive - description: - name: leak_tracker - sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de" - url: "https://pub.dev" - source: hosted - version: "11.0.2" - leak_tracker_flutter_testing: - dependency: transitive - description: - name: leak_tracker_flutter_testing - sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1" - url: "https://pub.dev" - source: hosted - version: "3.0.10" - leak_tracker_testing: - dependency: transitive - description: - name: leak_tracker_testing - sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1" - url: "https://pub.dev" - source: hosted - version: "3.0.2" - lints: - dependency: transitive - description: - name: lints - sha256: a5e2b223cb7c9c8efdc663ef484fdd95bb243bff242ef5b13e26883547fce9a0 - url: "https://pub.dev" - source: hosted - version: "6.0.0" - logger: - dependency: transitive - description: - name: logger - sha256: a7967e31b703831a893bbc3c3dd11db08126fe5f369b5c648a36f821979f5be3 - url: "https://pub.dev" - source: hosted - version: "2.6.2" - logging: - dependency: transitive - description: - name: logging - sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61 - url: "https://pub.dev" - source: hosted - version: "1.3.0" - lucide_icons: - dependency: transitive - description: - name: lucide_icons - sha256: ad24d0fd65707e48add30bebada7d90bff2a1bba0a72d6e9b19d44246b0e83c4 - url: "https://pub.dev" - source: hosted - version: "0.257.0" - matcher: - dependency: transitive - description: - name: matcher - sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 - url: "https://pub.dev" - source: hosted - version: "0.12.17" - material_color_utilities: - dependency: transitive - description: - name: material_color_utilities - sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec - url: "https://pub.dev" - source: hosted - version: "0.11.1" - melos: - dependency: "direct dev" - description: - name: melos - sha256: ff2da25990d83b0db883eb257e4fa25eb78150a329e7bfab7a379499d0f5f6f7 - url: "https://pub.dev" - source: hosted - version: "7.3.0" - meta: - dependency: transitive - description: - name: meta - sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394" - url: "https://pub.dev" - source: hosted - version: "1.17.0" - mime: - dependency: transitive - description: - name: mime - sha256: "41a20518f0cb1256669420fdba0cd90d21561e560ac240f26ef8322e45bb7ed6" - url: "https://pub.dev" - source: hosted - version: "2.0.0" - mocktail: - dependency: transitive - description: - name: mocktail - sha256: "890df3f9688106f25755f26b1c60589a92b3ab91a22b8b224947ad041bf172d8" - url: "https://pub.dev" - source: hosted - version: "1.0.4" - modular_core: - dependency: transitive - description: - name: modular_core - sha256: "1db0420a0dfb8a2c6dca846e7cbaa4ffeb778e247916dbcb27fb25aa566e5436" - url: "https://pub.dev" - source: hosted - version: "3.4.1" - mustache_template: - dependency: transitive - description: - name: mustache_template - sha256: "4326d0002ff58c74b9486990ccbdab08157fca3c996fe9e197aff9d61badf307" - url: "https://pub.dev" - source: hosted - version: "2.0.3" - native_toolchain_c: - dependency: transitive - description: - name: native_toolchain_c - sha256: f8872ea6c7a50ce08db9ae280ca2b8efdd973157ce462826c82f3c3051d154ce - url: "https://pub.dev" - source: hosted - version: "0.17.2" - nested: - dependency: transitive - description: - name: nested - sha256: "03bac4c528c64c95c722ec99280375a6f2fc708eec17c7b3f07253b626cd2a20" - url: "https://pub.dev" - source: hosted - version: "1.0.0" - node_preamble: - dependency: transitive - description: - name: node_preamble - sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db" - url: "https://pub.dev" - source: hosted - version: "2.0.2" - objective_c: - dependency: transitive - description: - name: objective_c - sha256: "55eb67ede1002d9771b3f9264d2c9d30bc364f0267bc1c6cc0883280d5f0c7cb" - url: "https://pub.dev" - source: hosted - version: "9.2.2" - package_config: - dependency: transitive - description: - name: package_config - sha256: f096c55ebb7deb7e384101542bfba8c52696c1b56fca2eb62827989ef2353bbc - url: "https://pub.dev" - source: hosted - version: "2.2.0" - path: - dependency: transitive - description: - name: path - sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" - url: "https://pub.dev" - source: hosted - version: "1.9.1" - path_provider: - dependency: transitive - description: - name: path_provider - sha256: "50c5dd5b6e1aaf6fb3a78b33f6aa3afca52bf903a8a5298f53101fdaee55bbcd" - url: "https://pub.dev" - source: hosted - version: "2.1.5" - path_provider_android: - dependency: transitive - description: - name: path_provider_android - sha256: f2c65e21139ce2c3dad46922be8272bb5963516045659e71bb16e151c93b580e - url: "https://pub.dev" - source: hosted - version: "2.2.22" - path_provider_foundation: - dependency: transitive - description: - name: path_provider_foundation - sha256: "2a376b7d6392d80cd3705782d2caa734ca4727776db0b6ec36ef3f1855197699" - url: "https://pub.dev" - source: hosted - version: "2.6.0" - path_provider_linux: - dependency: transitive - description: - name: path_provider_linux - sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279 - url: "https://pub.dev" - source: hosted - version: "2.2.1" - path_provider_platform_interface: - dependency: transitive - description: - name: path_provider_platform_interface - sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334" - url: "https://pub.dev" - source: hosted - version: "2.1.2" - path_provider_windows: - dependency: transitive - description: - name: path_provider_windows - sha256: bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7 - url: "https://pub.dev" - source: hosted - version: "2.3.0" - petitparser: - dependency: transitive - description: - name: petitparser - sha256: "1a97266a94f7350d30ae522c0af07890c70b8e62c71e8e3920d1db4d23c057d1" - url: "https://pub.dev" - source: hosted - version: "7.0.1" - platform: - dependency: transitive - description: - name: platform - sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984" - url: "https://pub.dev" - source: hosted - version: "3.1.6" - plugin_platform_interface: - dependency: transitive - description: - name: plugin_platform_interface - sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" - url: "https://pub.dev" - source: hosted - version: "2.1.8" - pool: - dependency: transitive - description: - name: pool - sha256: "978783255c543aa3586a1b3c21f6e9d720eb315376a915872c61ef8b5c20177d" - url: "https://pub.dev" - source: hosted - version: "1.5.2" - process: - dependency: transitive - description: - name: process - sha256: c6248e4526673988586e8c00bb22a49210c258dc91df5227d5da9748ecf79744 - url: "https://pub.dev" - source: hosted - version: "5.0.5" - prompts: - dependency: transitive - description: - name: prompts - sha256: "3773b845e85a849f01e793c4fc18a45d52d7783b4cb6c0569fad19f9d0a774a1" - url: "https://pub.dev" - source: hosted - version: "2.0.0" - protobuf: - dependency: transitive - description: - name: protobuf - sha256: "68645b24e0716782e58948f8467fd42a880f255096a821f9e7d0ec625b00c84d" - url: "https://pub.dev" - source: hosted - version: "3.1.0" - provider: - dependency: transitive - description: - name: provider - sha256: "4e82183fa20e5ca25703ead7e05de9e4cceed1fbd1eadc1ac3cb6f565a09f272" - url: "https://pub.dev" - source: hosted - version: "6.1.5+1" - pub_semver: - dependency: transitive - description: - name: pub_semver - sha256: "5bfcf68ca79ef689f8990d1160781b4bad40a3bd5e5218ad4076ddb7f4081585" - url: "https://pub.dev" - source: hosted - version: "2.2.0" - pub_updater: - dependency: transitive - description: - name: pub_updater - sha256: "739a0161d73a6974c0675b864fb0cf5147305f7b077b7f03a58fa7a9ab3e7e7d" - url: "https://pub.dev" - source: hosted - version: "0.5.0" - pubspec_parse: - dependency: transitive - description: - name: pubspec_parse - sha256: "0560ba233314abbed0a48a2956f7f022cce7c3e1e73df540277da7544cad4082" - url: "https://pub.dev" - source: hosted - version: "1.5.0" - rename: - dependency: transitive - description: - name: rename - sha256: da5f4d67f8c68f066ad04edfd6585495dbe595f2baf3b1999eb6af1805d79539 - url: "https://pub.dev" - source: hosted - version: "3.1.0" - result_dart: - dependency: transitive - description: - name: result_dart - sha256: "0666b21fbdf697b3bdd9986348a380aa204b3ebe7c146d8e4cdaa7ce735e6054" - url: "https://pub.dev" - source: hosted - version: "2.1.1" - shared_preferences: - dependency: transitive - description: - name: shared_preferences - sha256: "2939ae520c9024cb197fc20dee269cd8cdbf564c8b5746374ec6cacdc5169e64" - url: "https://pub.dev" - source: hosted - version: "2.5.4" - shared_preferences_android: - dependency: transitive - description: - name: shared_preferences_android - sha256: "83af5c682796c0f7719c2bbf74792d113e40ae97981b8f266fa84574573556bc" - url: "https://pub.dev" - source: hosted - version: "2.4.18" - shared_preferences_foundation: - dependency: transitive - description: - name: shared_preferences_foundation - sha256: "4e7eaffc2b17ba398759f1151415869a34771ba11ebbccd1b0145472a619a64f" - url: "https://pub.dev" - source: hosted - version: "2.5.6" - shared_preferences_linux: - dependency: transitive - description: - name: shared_preferences_linux - sha256: "580abfd40f415611503cae30adf626e6656dfb2f0cee8f465ece7b6defb40f2f" - url: "https://pub.dev" - source: hosted - version: "2.4.1" - shared_preferences_platform_interface: - dependency: transitive - description: - name: shared_preferences_platform_interface - sha256: "57cbf196c486bc2cf1f02b85784932c6094376284b3ad5779d1b1c6c6a816b80" - url: "https://pub.dev" - source: hosted - version: "2.4.1" - shared_preferences_web: - dependency: transitive - description: - name: shared_preferences_web - sha256: c49bd060261c9a3f0ff445892695d6212ff603ef3115edbb448509d407600019 - url: "https://pub.dev" - source: hosted - version: "2.4.3" - shared_preferences_windows: - dependency: transitive - description: - name: shared_preferences_windows - sha256: "94ef0f72b2d71bc3e700e025db3710911bd51a71cefb65cc609dd0d9a982e3c1" - url: "https://pub.dev" - source: hosted - version: "2.4.1" - shelf: - dependency: transitive - description: - name: shelf - sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12 - url: "https://pub.dev" - source: hosted - version: "1.4.2" - shelf_packages_handler: - dependency: transitive - description: - name: shelf_packages_handler - sha256: "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e" - url: "https://pub.dev" - source: hosted - version: "3.0.2" - shelf_static: - dependency: transitive - description: - name: shelf_static - sha256: c87c3875f91262785dade62d135760c2c69cb217ac759485334c5857ad89f6e3 - url: "https://pub.dev" - source: hosted - version: "1.1.3" - shelf_web_socket: - dependency: transitive - description: - name: shelf_web_socket - sha256: "3632775c8e90d6c9712f883e633716432a27758216dfb61bd86a8321c0580925" - url: "https://pub.dev" - source: hosted - version: "3.0.0" - sky_engine: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - slang: - dependency: transitive - description: - name: slang - sha256: "13e3b6f07adc51ab751e7889647774d294cbce7a3382f81d9e5029acfe9c37b2" - url: "https://pub.dev" - source: hosted - version: "4.12.0" - slang_build_runner: - dependency: transitive - description: - name: slang_build_runner - sha256: "453d74b5430153a3c4150d5ba8f6380e0785f3939f7511f10ac5b6cf9bb7d2a7" - url: "https://pub.dev" - source: hosted - version: "4.12.0" - slang_flutter: - dependency: transitive - description: - name: slang_flutter - sha256: "0a4545cca5404d6b7487cf61cf1fe56c52daeb08de56a7574ee8381fbad035a0" - url: "https://pub.dev" - source: hosted - version: "4.12.0" - source_map_stack_trace: - dependency: transitive - description: - name: source_map_stack_trace - sha256: c0713a43e323c3302c2abe2a1cc89aa057a387101ebd280371d6a6c9fa68516b - url: "https://pub.dev" - source: hosted - version: "2.1.2" - source_maps: - dependency: transitive - description: - name: source_maps - sha256: "190222579a448b03896e0ca6eca5998fa810fda630c1d65e2f78b3f638f54812" - url: "https://pub.dev" - source: hosted - version: "0.10.13" - source_span: - dependency: transitive - description: - name: source_span - sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c" - url: "https://pub.dev" - source: hosted - version: "1.10.1" - stack_trace: - dependency: transitive - description: - name: stack_trace - sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1" - url: "https://pub.dev" - source: hosted - version: "1.12.1" - stream_channel: - dependency: transitive - description: - name: stream_channel - sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d" - url: "https://pub.dev" - source: hosted - version: "2.1.4" - stream_transform: - dependency: transitive - description: - name: stream_transform - sha256: ad47125e588cfd37a9a7f86c7d6356dde8dfe89d071d293f80ca9e9273a33871 - url: "https://pub.dev" - source: hosted - version: "2.1.1" - string_scanner: - dependency: transitive - description: - name: string_scanner - sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43" - url: "https://pub.dev" - source: hosted - version: "1.4.1" - term_glyph: - dependency: transitive - description: - name: term_glyph - sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e" - url: "https://pub.dev" - source: hosted - version: "1.2.2" - test: - dependency: transitive - description: - name: test - sha256: "75906bf273541b676716d1ca7627a17e4c4070a3a16272b7a3dc7da3b9f3f6b7" - url: "https://pub.dev" - source: hosted - version: "1.26.3" - test_api: - dependency: transitive - description: - name: test_api - sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55 - url: "https://pub.dev" - source: hosted - version: "0.7.7" - test_core: - dependency: transitive - description: - name: test_core - sha256: "0cc24b5ff94b38d2ae73e1eb43cc302b77964fbf67abad1e296025b78deb53d0" - url: "https://pub.dev" - source: hosted - version: "0.6.12" - typed_data: - dependency: transitive - description: - name: typed_data - sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 - url: "https://pub.dev" - source: hosted - version: "1.4.0" - uuid: - dependency: transitive - description: - name: uuid - sha256: a11b666489b1954e01d992f3d601b1804a33937b5a8fe677bd26b8a9f96f96e8 - url: "https://pub.dev" - source: hosted - version: "4.5.2" - vector_math: - dependency: transitive - description: - name: vector_math - sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b - url: "https://pub.dev" - source: hosted - version: "2.2.0" - vm_service: - dependency: transitive - description: - name: vm_service - sha256: "45caa6c5917fa127b5dbcfbd1fa60b14e583afdc08bfc96dda38886ca252eb60" - url: "https://pub.dev" - source: hosted - version: "15.0.2" - watcher: - dependency: transitive - description: - name: watcher - sha256: "1398c9f081a753f9226febe8900fce8f7d0a67163334e1c94a2438339d79d635" - url: "https://pub.dev" - source: hosted - version: "1.2.1" - web: - dependency: transitive - description: - name: web - sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a" - url: "https://pub.dev" - source: hosted - version: "1.1.1" - web_socket: - dependency: transitive - description: - name: web_socket - sha256: "34d64019aa8e36bf9842ac014bb5d2f5586ca73df5e4d9bf5c936975cae6982c" - url: "https://pub.dev" - source: hosted - version: "1.0.1" - web_socket_channel: - dependency: transitive - description: - name: web_socket_channel - sha256: d645757fb0f4773d602444000a8131ff5d48c9e47adfe9772652dd1a4f2d45c8 - url: "https://pub.dev" - source: hosted - version: "3.0.3" - webkit_inspection_protocol: - dependency: transitive - description: - name: webkit_inspection_protocol - sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572" - url: "https://pub.dev" - source: hosted - version: "1.2.1" - xdg_directories: - dependency: transitive - description: - name: xdg_directories - sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - xml: - dependency: transitive - description: - name: xml - sha256: "971043b3a0d3da28727e40ed3e0b5d18b742fa5a68665cca88e74b7876d5e025" - url: "https://pub.dev" - source: hosted - version: "6.6.1" - yaml: - dependency: transitive - description: - name: yaml - sha256: b9da305ac7c39faa3f030eccd175340f968459dae4af175130b3fc47e40d76ce - url: "https://pub.dev" - source: hosted - version: "3.1.3" - yaml_edit: - dependency: transitive - description: - name: yaml_edit - sha256: ec709065bb2c911b336853b67f3732dd13e0336bd065cc2f1061d7610ddf45e3 - url: "https://pub.dev" - source: hosted - version: "2.2.3" -sdks: - dart: ">=3.10.7 <4.0.0" - flutter: ">=3.38.4" diff --git a/apps/pubspec.yaml b/apps/pubspec.yaml deleted file mode 100644 index 9ff2ff69..00000000 --- a/apps/pubspec.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: flutter_melos_modular_scaffold -publish_to: 'none' -description: "A sample project using melos and modular scaffold." -environment: - sdk: '>=3.10.0 <4.0.0' -workspace: - - packages/design_system - - packages/core - - packages/domain - - packages/data_connect - - packages/core_localization - - packages/features/staff/authentication - - packages/features/client/authentication - - packages/features/client/home - - apps/staff - - apps/client - - apps/design_system_viewer - -dev_dependencies: - melos: ^7.3.0 diff --git a/backend/dataconnect/connector/connector.yaml b/backend/dataconnect/connector/connector.yaml index c467ce2b..a2aae747 100644 --- a/backend/dataconnect/connector/connector.yaml +++ b/backend/dataconnect/connector/connector.yaml @@ -1,5 +1,7 @@ connectorId: example generate: dartSdk: - - outputDir: ../../../apps/packages/data_connect/lib/src/dataconnect_generated + - outputDir: ../../../apps/mobile-client/lib/dataconnect_generated + package: dataconnect_generated/generated.dart + - outputDir: ../../../apps/mobile-staff/lib/dataconnect_generated package: dataconnect_generated/generated.dart From 5bc5530540537e9113535647a99edc31ee451437 Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Thu, 22 Jan 2026 11:59:17 -0500 Subject: [PATCH 02/19] chore: Redesign settings profile header UI Updated the SettingsProfileHeader widget to use a lighter background, reduced the expanded height, and adjusted layout to a horizontal row with updated avatar and text styles. Added new spacing constants to UiConstants for improved layout control. --- .../design_system/lib/src/ui_constants.dart | 10 ++- .../settings_profile_header.dart | 82 +++++++++---------- 2 files changed, 43 insertions(+), 49 deletions(-) diff --git a/apps/mobile/packages/design_system/lib/src/ui_constants.dart b/apps/mobile/packages/design_system/lib/src/ui_constants.dart index 4bce22fa..819699b1 100644 --- a/apps/mobile/packages/design_system/lib/src/ui_constants.dart +++ b/apps/mobile/packages/design_system/lib/src/ui_constants.dart @@ -5,11 +5,11 @@ class UiConstants { UiConstants._(); // --- Border Radii --- - + /// Base radius: 12px static const double radiusBase = 12.0; static final BorderRadius radiusLg = BorderRadius.circular(radiusBase); - + /// Medium radius: 6px static const double radiusMdValue = 6.0; static final BorderRadius radiusMd = BorderRadius.circular(radiusMdValue); @@ -19,12 +19,12 @@ class UiConstants { /// Extra small radius: 2px static final BorderRadius radiusXs = BorderRadius.circular(2.0); - + /// Large/Full radius static final BorderRadius radiusFull = BorderRadius.circular(999.0); // --- Spacing --- - + static const double space0 = 0.0; static const double space1 = 4.0; static const double space2 = 8.0; @@ -35,4 +35,6 @@ class UiConstants { static const double space8 = 32.0; static const double space10 = 40.0; static const double space12 = 48.0; + static const double space14 = 56.0; + static const double space16 = 64.0; } diff --git a/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_profile_header.dart b/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_profile_header.dart index 8ef63b89..b3ec10d0 100644 --- a/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_profile_header.dart +++ b/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_profile_header.dart @@ -13,64 +13,63 @@ class SettingsProfileHeader extends StatelessWidget { final labels = t.client_settings.profile; return SliverAppBar( - backgroundColor: UiColors.primary, - expandedHeight: 200, + backgroundColor: UiColors.bgSecondary, + expandedHeight: 140, pinned: true, + elevation: 0, + shape: const Border(bottom: BorderSide(color: UiColors.border, width: 1)), + leading: IconButton( + icon: const Icon(UiIcons.chevronLeft, color: UiColors.textSecondary), + onPressed: () => Modular.to.pop(), + ), flexibleSpace: FlexibleSpaceBar( background: Container( - decoration: const BoxDecoration( - gradient: LinearGradient( - colors: [UiColors.primary, Color(0xFF0047FF)], - begin: Alignment.topLeft, - end: Alignment.bottomRight, - ), - ), - child: Column( - mainAxisAlignment: MainAxisAlignment.center, + padding: const EdgeInsets.symmetric(horizontal: UiConstants.space8), + margin: const EdgeInsets.only(top: UiConstants.space14), + child: Row( + crossAxisAlignment: CrossAxisAlignment.center, + mainAxisAlignment: MainAxisAlignment.start, + spacing: UiConstants.space4, children: [ - const SizedBox(height: UiConstants.space5 * 2), Container( - width: 80, - height: 80, + width: 64, + height: 64, decoration: BoxDecoration( shape: BoxShape.circle, - border: Border.all( - color: UiColors.white.withValues(alpha: 0.24), - width: 4, - ), + border: Border.all(color: UiColors.border, width: 2), color: UiColors.white, ), child: const Center( child: Text( 'C', style: TextStyle( - fontSize: 32, + fontSize: 24, fontWeight: FontWeight.bold, color: UiColors.primary, ), ), ), ), - const SizedBox(height: UiConstants.space3), - Text( - 'Your Company', - style: UiTypography.body1b.copyWith(color: UiColors.white), - ), - const SizedBox(height: UiConstants.space1), - Row( + Column( + crossAxisAlignment: CrossAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.center, children: [ - Icon( - UiIcons.mail, - size: 14, - color: UiColors.white.withValues(alpha: 0.7), - ), - const SizedBox(width: UiConstants.space2), - Text( - 'client@example.com', - style: UiTypography.footnote1r.copyWith( - color: UiColors.white.withValues(alpha: 0.7), - ), + Text('Your Company', style: UiTypography.body1b), + const SizedBox(height: UiConstants.space1), + Row( + mainAxisAlignment: MainAxisAlignment.start, + spacing: UiConstants.space1, + children: [ + Icon( + UiIcons.mail, + size: 14, + color: UiColors.textSecondary, + ), + Text( + 'client@example.com', + style: UiTypography.footnote1r.textSecondary, + ), + ], ), ], ), @@ -78,14 +77,7 @@ class SettingsProfileHeader extends StatelessWidget { ), ), ), - leading: IconButton( - icon: const Icon(UiIcons.arrowLeft, color: UiColors.white), - onPressed: () => Modular.to.pop(), - ), - title: Text( - labels.title, - style: UiTypography.body1b.copyWith(color: UiColors.white), - ), + title: Text(labels.title, style: UiTypography.body1b), ); } } From d456bf9dc92895b2b5749b807277a83276c058ef Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Thu, 22 Jan 2026 12:06:07 -0500 Subject: [PATCH 03/19] Update mobile app docs and add gen:all Melos script Revised the main README to clarify the mobile app structure and added a detailed README for the mobile apps. Introduced a new 'gen:all' script in Melos to run both localization and build_runner generation, and updated the info script to reflect this addition. --- README.md | 5 ++-- apps/mobile/README.md | 68 ++++++++++++++++++++++++++++++++++++++++++ apps/mobile/melos.yaml | 7 +++++ 3 files changed, 78 insertions(+), 2 deletions(-) create mode 100644 apps/mobile/README.md diff --git a/README.md b/README.md index 695004f7..04116b6a 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,9 @@ KROW is a comprehensive workforce management platform designed to streamline ope ### 📦 Apps (`/apps`) These are the production-ready applications for our users: - **`web-dashboard/`**: The primary React/Vite dashboard for Admin, Vendors, and Clients. -- **`mobile-client/`**: Flutter application for final clients to manage orders and billing. -- **`mobile-staff/`**: Flutter application for staff members (scheduling, clock-in/out, earnings). +- **`mobile/`**: Flutter applications for client and staff. + - `client`: The application for final clients to manage orders and billing. + - `staff`: The application for staff members (scheduling, clock-in/out, earnings). ### ⚙️ Backend (`/backend`) The core data engine powering all applications: diff --git a/apps/mobile/README.md b/apps/mobile/README.md new file mode 100644 index 00000000..a708b8eb --- /dev/null +++ b/apps/mobile/README.md @@ -0,0 +1,68 @@ +# KROW Workforce Mobile 📱 + +This folder holds the mobile app code for the KROW Workforce apps. +This project uses [Melos](https://melos.invertase.dev/) to manage multiple Flutter packages and applications. + +## 📂 Project Structure + +The project is organized into modular packages to ensure separation of concerns and maintainability. + +- **`apps/`**: Main application entry points. + - `client`: The application for businesses/clients. + - `staff`: The application for workforce/staff. + - `design_system_viewer`: A gallery of our design system components. +- **`packages/`**: Shared logic and feature modules. + - `features/`: UI and business logic for specific features (e.g., Auth, Home, Hubs). + - `features/client`: Client specific features. + - `features/staff`: Staff specific features. + - `design_system/`: Shared UI components, tokens (colors, spacing), and core widgets. + - `domain/`: Shared business entities and repository interfaces. + - `data_connect/`: Data access layer (Mocks and Firebase Data Connect SDK). + - `core_localization/`: Internationalization using Slang. + - `core/`: Base utilities and common logic. + +## 🚀 Getting Started + +### 1. Prerequisites +Ensure you have the Flutter SDK installed and configured. + +### 2. Initial Setup +Run the following command from the **project root** to install Melos, bootstrap all packages, and generate localization files: + +```bash +# Using Makefile +make mobile-install +# Using Melos +melos bootstrap +``` + +### 3. Running the Apps +You can run the applications using Melos scripts or through the `Makefile`: + +#### Client App +```bash +# Using Melos +melos run start:client -d android # or ios +# Using Makefile +make mobile-client-dev-android +``` + +#### Staff App +```bash +# Using Melos +melos run start:staff -d android # or ios +# Using Makefile +make mobile-staff-dev-android +``` + +## 🛠 Useful Commands + +- **Bootstrap**: `melos bootstrap` (Installs all dependencies) +- **Generate All**: `melos run gen:all` (Localization + Code Generation) +- **Analyze**: `melos run analyze:all` +- **Help**: `melos run info` (Shows all available custom scripts) + +## 🏗 Coding Principles +- **Clean Architecture**: We strictly follow Domain-Driven Design and Clean Architecture. +- **Modularity**: Every feature should be its own package in `packages/features/`. Client and staff specific features should be in their respective packages. +- **Consistency**: Use the `design_system` package for all UI elements to ensure a premium, unified look. diff --git a/apps/mobile/melos.yaml b/apps/mobile/melos.yaml index fb6c4bda..ae2cce43 100644 --- a/apps/mobile/melos.yaml +++ b/apps/mobile/melos.yaml @@ -27,9 +27,16 @@ scripts: echo " CODE GENERATION:" echo " - melos run gen:l10n : Generate Slang l10n" echo " - melos run gen:build : Run build_runner" + echo " - melos run gen:all : Run l10n and build_runner" echo "============================================================" description: "Display information about available custom Melos commands." + gen:all: + run: | + melos run gen:l10n + melos run gen:build + description: "Run both localization and build_runner generation across all packages." + gen:l10n: exec: dart run slang description: "Generate localization files using Slang across all packages." From 7d3b4da8d4d23f72bc65bf88bdef59a0de5afcd4 Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Thu, 22 Jan 2026 12:19:05 -0500 Subject: [PATCH 04/19] Centralize and update analysis options configuration Replaces the old analytics_options.yaml with a new analysis_options.yaml at the workspace root, consolidating lint rules and analyzer settings. Updates all references in subprojects to use the new file, and adds flutter_lints as a direct dev dependency in pubspec.yaml for consistent linting across the workspace. --- apps/mobile/analysis_options.yaml | 26 +++++++++++++++++++ apps/mobile/analytics_options.yaml | 0 apps/mobile/apps/client/analysis_options.yaml | 2 +- .../analysis_options.yaml | 2 +- apps/mobile/apps/staff/analysis_options.yaml | 2 +- .../core_localization/analysis_options.yaml | 5 +--- .../design_system/analysis_options.yaml | 2 +- apps/mobile/pubspec.lock | 2 +- apps/mobile/pubspec.yaml | 1 + 9 files changed, 33 insertions(+), 9 deletions(-) create mode 100644 apps/mobile/analysis_options.yaml delete mode 100644 apps/mobile/analytics_options.yaml diff --git a/apps/mobile/analysis_options.yaml b/apps/mobile/analysis_options.yaml new file mode 100644 index 00000000..cec4e925 --- /dev/null +++ b/apps/mobile/analysis_options.yaml @@ -0,0 +1,26 @@ +include: package:flutter_lints/flutter.yaml + +analyzer: + exclude: + - "**/dataconnect_generated/**" + - "**/*.g.dart" + - "**/*.freezed.dart" + - "**/*.config.dart" + errors: + # Set the severity of the always_specify_types rule to warning as requested. + always_specify_types: warning + +linter: + rules: + # Every variable should have an explicit type. + - always_specify_types + + # Additional common best practices not always enforced by default + - prefer_const_constructors + - prefer_const_declarations + - prefer_final_locals + - avoid_void_async + - unawaited_futures + - sort_constructors_first + - camel_case_types + - library_private_types_in_public_api diff --git a/apps/mobile/analytics_options.yaml b/apps/mobile/analytics_options.yaml deleted file mode 100644 index e69de29b..00000000 diff --git a/apps/mobile/apps/client/analysis_options.yaml b/apps/mobile/apps/client/analysis_options.yaml index 856be8f8..fac60e24 100644 --- a/apps/mobile/apps/client/analysis_options.yaml +++ b/apps/mobile/apps/client/analysis_options.yaml @@ -1 +1 @@ -include: ../../analytics_options.yaml \ No newline at end of file +include: ../../analysis_options.yaml \ No newline at end of file diff --git a/apps/mobile/apps/design_system_viewer/analysis_options.yaml b/apps/mobile/apps/design_system_viewer/analysis_options.yaml index 856be8f8..fac60e24 100644 --- a/apps/mobile/apps/design_system_viewer/analysis_options.yaml +++ b/apps/mobile/apps/design_system_viewer/analysis_options.yaml @@ -1 +1 @@ -include: ../../analytics_options.yaml \ No newline at end of file +include: ../../analysis_options.yaml \ No newline at end of file diff --git a/apps/mobile/apps/staff/analysis_options.yaml b/apps/mobile/apps/staff/analysis_options.yaml index 856be8f8..fac60e24 100644 --- a/apps/mobile/apps/staff/analysis_options.yaml +++ b/apps/mobile/apps/staff/analysis_options.yaml @@ -1 +1 @@ -include: ../../analytics_options.yaml \ No newline at end of file +include: ../../analysis_options.yaml \ No newline at end of file diff --git a/apps/mobile/packages/core_localization/analysis_options.yaml b/apps/mobile/packages/core_localization/analysis_options.yaml index a5744c1c..f04c6cf0 100644 --- a/apps/mobile/packages/core_localization/analysis_options.yaml +++ b/apps/mobile/packages/core_localization/analysis_options.yaml @@ -1,4 +1 @@ -include: package:flutter_lints/flutter.yaml - -# Additional information about this file can be found at -# https://dart.dev/guides/language/analysis-options +include: ../../analysis_options.yaml diff --git a/apps/mobile/packages/design_system/analysis_options.yaml b/apps/mobile/packages/design_system/analysis_options.yaml index ec9d7265..f04c6cf0 100644 --- a/apps/mobile/packages/design_system/analysis_options.yaml +++ b/apps/mobile/packages/design_system/analysis_options.yaml @@ -1 +1 @@ -include: ../../analytics_options.yaml +include: ../../analysis_options.yaml diff --git a/apps/mobile/pubspec.lock b/apps/mobile/pubspec.lock index 792e68eb..903fdd09 100644 --- a/apps/mobile/pubspec.lock +++ b/apps/mobile/pubspec.lock @@ -415,7 +415,7 @@ packages: source: hosted version: "8.1.6" flutter_lints: - dependency: transitive + dependency: "direct dev" description: name: flutter_lints sha256: "3105dc8492f6183fb076ccf1f351ac3d60564bff92e20bfc4af9cc1651f4e7e1" diff --git a/apps/mobile/pubspec.yaml b/apps/mobile/pubspec.yaml index 29036572..73112335 100644 --- a/apps/mobile/pubspec.yaml +++ b/apps/mobile/pubspec.yaml @@ -20,6 +20,7 @@ workspace: dev_dependencies: melos: ^7.3.0 + flutter_lints: ^6.0.0 melos: scripts: From c211c4712dbcc2440e175275db7c0c6ba996ea5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Salazar?= <73718835+joshrs23@users.noreply.github.com> Date: Thu, 22 Jan 2026 12:24:57 -0500 Subject: [PATCH 05/19] modications for hubs and teams --- backend/dataconnect/connector/connector.yaml | 2 +- backend/dataconnect/connector/team/mutations.gql | 2 +- backend/dataconnect/connector/team/queries.gql | 2 +- backend/dataconnect/connector/teamHub/mutations.gql | 6 +++--- backend/dataconnect/connector/teamHub/queries.gql | 2 +- backend/dataconnect/schema/team.gql | 2 +- backend/dataconnect/schema/teamHub.gql | 6 +++--- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/backend/dataconnect/connector/connector.yaml b/backend/dataconnect/connector/connector.yaml index c467ce2b..1cf85dcd 100644 --- a/backend/dataconnect/connector/connector.yaml +++ b/backend/dataconnect/connector/connector.yaml @@ -1,5 +1,5 @@ connectorId: example generate: dartSdk: - - outputDir: ../../../apps/packages/data_connect/lib/src/dataconnect_generated + - outputDir: ../../../apps/mobile/packages/data_connect/lib/src/dataconnect_generated package: dataconnect_generated/generated.dart diff --git a/backend/dataconnect/connector/team/mutations.gql b/backend/dataconnect/connector/team/mutations.gql index 2f29e088..70c87e5a 100644 --- a/backend/dataconnect/connector/team/mutations.gql +++ b/backend/dataconnect/connector/team/mutations.gql @@ -1,6 +1,6 @@ mutation createTeam( $teamName: String! - $ownerId: String! + $ownerId: UUID! $ownerName: String! $ownerRole: String! $email: String diff --git a/backend/dataconnect/connector/team/queries.gql b/backend/dataconnect/connector/team/queries.gql index 63fd2771..85ac4764 100644 --- a/backend/dataconnect/connector/team/queries.gql +++ b/backend/dataconnect/connector/team/queries.gql @@ -44,7 +44,7 @@ query getTeamById($id: UUID!) @auth(level: USER) { } } -query getTeamsByOwnerId($ownerId: String!) @auth(level: USER) { +query getTeamsByOwnerId($ownerId: UUID!) @auth(level: USER) { teams(where: { ownerId: { eq: $ownerId } }) { id teamName diff --git a/backend/dataconnect/connector/teamHub/mutations.gql b/backend/dataconnect/connector/teamHub/mutations.gql index b145c46f..9569aa79 100644 --- a/backend/dataconnect/connector/teamHub/mutations.gql +++ b/backend/dataconnect/connector/teamHub/mutations.gql @@ -3,9 +3,9 @@ mutation createTeamHub( $hubName: String! $address: String! $city: String! - $state: String! - $zipCode: String! - $managerName: String! + $state: String + $zipCode: String + $managerName: String $isActive: Boolean $departments: Any ) @auth(level: USER) { diff --git a/backend/dataconnect/connector/teamHub/queries.gql b/backend/dataconnect/connector/teamHub/queries.gql index 240a17b1..697b50c3 100644 --- a/backend/dataconnect/connector/teamHub/queries.gql +++ b/backend/dataconnect/connector/teamHub/queries.gql @@ -56,7 +56,7 @@ query getTeamHubsByTeamId($teamId: UUID!) @auth(level: USER) { # LIST TEAM HUBS BY OWNER (Vendor/Business) # ------------------------------------------------------------ query listTeamHubsByOwnerId( - $ownerId: String! + $ownerId: UUID! ) @auth(level: USER) { teamHubs( where: { diff --git a/backend/dataconnect/schema/team.gql b/backend/dataconnect/schema/team.gql index e747e6b5..ccfb2d8a 100644 --- a/backend/dataconnect/schema/team.gql +++ b/backend/dataconnect/schema/team.gql @@ -3,7 +3,7 @@ type Team @table(name: "teams") { id: UUID! @default(expr: "uuidV4()") teamName: String! - ownerId: String! #vendor/business + ownerId: UUID! #vendor/business ownerName: String! ownerRole: String! email: String diff --git a/backend/dataconnect/schema/teamHub.gql b/backend/dataconnect/schema/teamHub.gql index fada65a5..01a79da2 100644 --- a/backend/dataconnect/schema/teamHub.gql +++ b/backend/dataconnect/schema/teamHub.gql @@ -7,9 +7,9 @@ type TeamHub @table(name: "team_hubs") { hubName: String! address: String! city: String! - state: String! - zipCode: String! - managerName: String! + state: String + zipCode: String + managerName: String isActive: Boolean! @default(expr: "true") departments: Any From fdf28beae4e19e76bfb0b91930e2794a32f2d06e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Salazar?= <73718835+joshrs23@users.noreply.github.com> Date: Thu, 22 Jan 2026 12:25:24 -0500 Subject: [PATCH 06/19] new schemas of teams and hubs --- .../dataconnect_generated/.guides/usage.md | 24 +- .../lib/src/dataconnect_generated/README.md | 33609 ++++++++-------- .../create_team_hub.dart | 56 +- .../src/dataconnect_generated/generated.dart | 3512 +- .../get_team_hub_by_id.dart | 30 +- .../get_team_hubs_by_team_id.dart | 30 +- .../dataconnect_generated/list_team_hubs.dart | 30 +- .../list_team_hubs_by_owner_id.dart | 30 +- .../features/client/hubs/lib/client_hubs.dart | 6 +- .../hub_repository_impl.dart | 165 +- 10 files changed, 18825 insertions(+), 18667 deletions(-) diff --git a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/.guides/usage.md b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/.guides/usage.md index 0cc3f883..ef4f658b 100644 --- a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/.guides/usage.md +++ b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/.guides/usage.md @@ -1,16 +1,16 @@ # Basic Usage ```dart -ExampleConnector.instance.createDocument(createDocumentVariables).execute(); -ExampleConnector.instance.updateDocument(updateDocumentVariables).execute(); -ExampleConnector.instance.deleteDocument(deleteDocumentVariables).execute(); -ExampleConnector.instance.createConversation(createConversationVariables).execute(); -ExampleConnector.instance.updateConversation(updateConversationVariables).execute(); -ExampleConnector.instance.updateConversationLastMessage(updateConversationLastMessageVariables).execute(); -ExampleConnector.instance.deleteConversation(deleteConversationVariables).execute(); -ExampleConnector.instance.listHubs().execute(); -ExampleConnector.instance.getHubById(getHubByIdVariables).execute(); -ExampleConnector.instance.getHubsByOwnerId(getHubsByOwnerIdVariables).execute(); +ExampleConnector.instance.createFaqData(createFaqDataVariables).execute(); +ExampleConnector.instance.updateFaqData(updateFaqDataVariables).execute(); +ExampleConnector.instance.deleteFaqData(deleteFaqDataVariables).execute(); +ExampleConnector.instance.createLevel(createLevelVariables).execute(); +ExampleConnector.instance.updateLevel(updateLevelVariables).execute(); +ExampleConnector.instance.deleteLevel(deleteLevelVariables).execute(); +ExampleConnector.instance.listMessages().execute(); +ExampleConnector.instance.getMessageById(getMessageByIdVariables).execute(); +ExampleConnector.instance.getMessagesByConversationId(getMessagesByConversationIdVariables).execute(); +ExampleConnector.instance.createRole(createRoleVariables).execute(); ``` @@ -23,8 +23,8 @@ Optional fields can be discovered based on classes that have `Optional` object t This is an example of a mutation with an optional field: ```dart -await ExampleConnector.instance.filterVendorBenefitPlans({ ... }) -.vendorId(...) +await ExampleConnector.instance.updateBusiness({ ... }) +.businessName(...) .execute(); ``` diff --git a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/README.md b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/README.md index e7cfd881..e7c3d06b 100644 --- a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/README.md +++ b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/README.md @@ -21,17 +21,17 @@ ExampleConnector.instance.dataConnect.useDataConnectEmulator(host, port); You can also call queries and mutations by using the connector class. ## Queries -### listHubs +### listMessages #### Required Arguments ```dart // No required arguments -ExampleConnector.instance.listHubs().execute(); +ExampleConnector.instance.listMessages().execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -46,8 +46,8 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.listHubs(); -listHubsData data = result.data; +final result = await ExampleConnector.instance.listMessages(); +listMessagesData data = result.data; final ref = result.ref; ``` @@ -55,18 +55,18 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -final ref = ExampleConnector.instance.listHubs().ref(); +final ref = ExampleConnector.instance.listMessages().ref(); ref.execute(); ref.subscribe(...); ``` -### getHubById +### getMessageById #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.getHubById( +ExampleConnector.instance.getMessageById( id: id, ).execute(); ``` @@ -74,7 +74,7 @@ ExampleConnector.instance.getHubById( #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -89,10 +89,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.getHubById( +final result = await ExampleConnector.instance.getMessageById( id: id, ); -getHubByIdData data = result.data; +getMessageByIdData data = result.data; final ref = result.ref; ``` @@ -102,7 +102,7 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.getHubById( +final ref = ExampleConnector.instance.getMessageById( id: id, ).ref(); ref.execute(); @@ -111,19 +111,19 @@ ref.subscribe(...); ``` -### getHubsByOwnerId +### getMessagesByConversationId #### Required Arguments ```dart -String ownerId = ...; -ExampleConnector.instance.getHubsByOwnerId( - ownerId: ownerId, +String conversationId = ...; +ExampleConnector.instance.getMessagesByConversationId( + conversationId: conversationId, ).execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -138,10 +138,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.getHubsByOwnerId( - ownerId: ownerId, +final result = await ExampleConnector.instance.getMessagesByConversationId( + conversationId: conversationId, ); -getHubsByOwnerIdData data = result.data; +getMessagesByConversationIdData data = result.data; final ref = result.ref; ``` @@ -149,10 +149,10 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String ownerId = ...; +String conversationId = ...; -final ref = ExampleConnector.instance.getHubsByOwnerId( - ownerId: ownerId, +final ref = ExampleConnector.instance.getMessagesByConversationId( + conversationId: conversationId, ).ref(); ref.execute(); @@ -160,917 +160,6 @@ ref.subscribe(...); ``` -### filterHubs -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterHubs().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterHubs, we created `filterHubsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterHubsVariablesBuilder { - ... - - FilterHubsVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - FilterHubsVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - FilterHubsVariablesBuilder nfcTagId(String? t) { - _nfcTagId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterHubs() -.ownerId(ownerId) -.name(name) -.nfcTagId(nfcTagId) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterHubs(); -filterHubsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterHubs().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listCategories -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listCategories().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listCategories(); -listCategoriesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listCategories().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getCategoryById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getCategoryById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getCategoryById( - id: id, -); -getCategoryByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getCategoryById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterCategories -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterCategories().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterCategories, we created `filterCategoriesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterCategoriesVariablesBuilder { - ... - - FilterCategoriesVariablesBuilder categoryId(String? t) { - _categoryId.value = t; - return this; - } - FilterCategoriesVariablesBuilder label(String? t) { - _label.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterCategories() -.categoryId(categoryId) -.label(label) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterCategories(); -filterCategoriesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterCategories().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTeamHubs -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTeamHubs().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTeamHubs(); -listTeamHubsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTeamHubs().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamHubById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTeamHubById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamHubById( - id: id, -); -getTeamHubByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTeamHubById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamHubsByTeamId -#### Required Arguments -```dart -String teamId = ...; -ExampleConnector.instance.getTeamHubsByTeamId( - teamId: teamId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamHubsByTeamId( - teamId: teamId, -); -getTeamHubsByTeamIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamId = ...; - -final ref = ExampleConnector.instance.getTeamHubsByTeamId( - teamId: teamId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTeamHubsByOwnerId -#### Required Arguments -```dart -String ownerId = ...; -ExampleConnector.instance.listTeamHubsByOwnerId( - ownerId: ownerId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTeamHubsByOwnerId( - ownerId: ownerId, -); -listTeamHubsByOwnerIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; - -final ref = ExampleConnector.instance.listTeamHubsByOwnerId( - ownerId: ownerId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listActivityLogs -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listActivityLogs().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listActivityLogs, we created `listActivityLogsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListActivityLogsVariablesBuilder { - ... - - ListActivityLogsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListActivityLogsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listActivityLogs() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listActivityLogs(); -listActivityLogsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listActivityLogs().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getActivityLogById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getActivityLogById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getActivityLogById( - id: id, -); -getActivityLogByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getActivityLogById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listActivityLogsByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.listActivityLogsByUserId( - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listActivityLogsByUserId, we created `listActivityLogsByUserIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListActivityLogsByUserIdVariablesBuilder { - ... - ListActivityLogsByUserIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListActivityLogsByUserIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listActivityLogsByUserId( - userId: userId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listActivityLogsByUserId( - userId: userId, -); -listActivityLogsByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.listActivityLogsByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listUnreadActivityLogsByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.listUnreadActivityLogsByUserId( - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listUnreadActivityLogsByUserId, we created `listUnreadActivityLogsByUserIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListUnreadActivityLogsByUserIdVariablesBuilder { - ... - ListUnreadActivityLogsByUserIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListUnreadActivityLogsByUserIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listUnreadActivityLogsByUserId( - userId: userId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listUnreadActivityLogsByUserId( - userId: userId, -); -listUnreadActivityLogsByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.listUnreadActivityLogsByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterActivityLogs -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterActivityLogs().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterActivityLogs, we created `filterActivityLogsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterActivityLogsVariablesBuilder { - ... - - FilterActivityLogsVariablesBuilder userId(String? t) { - _userId.value = t; - return this; - } - FilterActivityLogsVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - FilterActivityLogsVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - FilterActivityLogsVariablesBuilder isRead(bool? t) { - _isRead.value = t; - return this; - } - FilterActivityLogsVariablesBuilder activityType(ActivityType? t) { - _activityType.value = t; - return this; - } - FilterActivityLogsVariablesBuilder iconType(ActivityIconType? t) { - _iconType.value = t; - return this; - } - FilterActivityLogsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterActivityLogsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterActivityLogs() -.userId(userId) -.dateFrom(dateFrom) -.dateTo(dateTo) -.isRead(isRead) -.activityType(activityType) -.iconType(iconType) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterActivityLogs(); -filterActivityLogsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterActivityLogs().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listLevels -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listLevels().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listLevels(); -listLevelsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listLevels().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getLevelById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getLevelById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getLevelById( - id: id, -); -getLevelByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getLevelById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterLevels -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterLevels().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterLevels, we created `filterLevelsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterLevelsVariablesBuilder { - ... - - FilterLevelsVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - FilterLevelsVariablesBuilder xpRequired(int? t) { - _xpRequired.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterLevels() -.name(name) -.xpRequired(xpRequired) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterLevels(); -filterLevelsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterLevels().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - ### getShiftRoleById #### Required Arguments ```dart @@ -1425,178 +514,39 @@ ref.subscribe(...); ``` -### getVendorById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getVendorById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getVendorById( - id: id, -); -getVendorByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getVendorById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getVendorByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.getVendorByUserId( - userId: userId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getVendorByUserId( - userId: userId, -); -getVendorByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.getVendorByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listVendors +### listInvoiceTemplates #### Required Arguments ```dart // No required arguments -ExampleConnector.instance.listVendors().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listVendors(); -listVendorsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listVendors().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listShifts -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listShifts().execute(); +ExampleConnector.instance.listInvoiceTemplates().execute(); ``` #### Optional Arguments -We return a builder for each query. For listShifts, we created `listShiftsBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For listInvoiceTemplates, we created `listInvoiceTemplatesBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class ListShiftsVariablesBuilder { +class ListInvoiceTemplatesVariablesBuilder { ... - ListShiftsVariablesBuilder offset(int? t) { + ListInvoiceTemplatesVariablesBuilder offset(int? t) { _offset.value = t; return this; } - ListShiftsVariablesBuilder limit(int? t) { + ListInvoiceTemplatesVariablesBuilder limit(int? t) { _limit.value = t; return this; } ... } -ExampleConnector.instance.listShifts() +ExampleConnector.instance.listInvoiceTemplates() .offset(offset) .limit(limit) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -1611,8 +561,8 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.listShifts(); -listShiftsData data = result.data; +final result = await ExampleConnector.instance.listInvoiceTemplates(); +listInvoiceTemplatesData data = result.data; final ref = result.ref; ``` @@ -1620,18 +570,18 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -final ref = ExampleConnector.instance.listShifts().ref(); +final ref = ExampleConnector.instance.listInvoiceTemplates().ref(); ref.execute(); ref.subscribe(...); ``` -### getShiftById +### getInvoiceTemplateById #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.getShiftById( +ExampleConnector.instance.getInvoiceTemplateById( id: id, ).execute(); ``` @@ -1639,7 +589,7 @@ ExampleConnector.instance.getShiftById( #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -1654,10 +604,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.getShiftById( +final result = await ExampleConnector.instance.getInvoiceTemplateById( id: id, ); -getShiftByIdData data = result.data; +getInvoiceTemplateByIdData data = result.data; final ref = result.ref; ``` @@ -1667,7 +617,7 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.getShiftById( +final ref = ExampleConnector.instance.getInvoiceTemplateById( id: id, ).ref(); ref.execute(); @@ -1676,135 +626,42 @@ ref.subscribe(...); ``` -### filterShifts +### listInvoiceTemplatesByOwnerId #### Required Arguments ```dart -// No required arguments -ExampleConnector.instance.filterShifts().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterShifts, we created `filterShiftsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterShiftsVariablesBuilder { - ... - - FilterShiftsVariablesBuilder status(ShiftStatus? t) { - _status.value = t; - return this; - } - FilterShiftsVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - FilterShiftsVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - FilterShiftsVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - FilterShiftsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterShiftsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterShifts() -.status(status) -.orderId(orderId) -.dateFrom(dateFrom) -.dateTo(dateTo) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterShifts(); -filterShiftsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterShifts().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getShiftsByBusinessId -#### Required Arguments -```dart -String businessId = ...; -ExampleConnector.instance.getShiftsByBusinessId( - businessId: businessId, +String ownerId = ...; +ExampleConnector.instance.listInvoiceTemplatesByOwnerId( + ownerId: ownerId, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For getShiftsByBusinessId, we created `getShiftsByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For listInvoiceTemplatesByOwnerId, we created `listInvoiceTemplatesByOwnerIdBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class GetShiftsByBusinessIdVariablesBuilder { +class ListInvoiceTemplatesByOwnerIdVariablesBuilder { ... - GetShiftsByBusinessIdVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - GetShiftsByBusinessIdVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - GetShiftsByBusinessIdVariablesBuilder offset(int? t) { + ListInvoiceTemplatesByOwnerIdVariablesBuilder offset(int? t) { _offset.value = t; return this; } - GetShiftsByBusinessIdVariablesBuilder limit(int? t) { + ListInvoiceTemplatesByOwnerIdVariablesBuilder limit(int? t) { _limit.value = t; return this; } ... } -ExampleConnector.instance.getShiftsByBusinessId( - businessId: businessId, +ExampleConnector.instance.listInvoiceTemplatesByOwnerId( + ownerId: ownerId, ) -.dateFrom(dateFrom) -.dateTo(dateTo) .offset(offset) .limit(limit) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -1819,10 +676,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.getShiftsByBusinessId( - businessId: businessId, +final result = await ExampleConnector.instance.listInvoiceTemplatesByOwnerId( + ownerId: ownerId, ); -getShiftsByBusinessIdData data = result.data; +listInvoiceTemplatesByOwnerIdData data = result.data; final ref = result.ref; ``` @@ -1830,10 +687,10 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String businessId = ...; +String ownerId = ...; -final ref = ExampleConnector.instance.getShiftsByBusinessId( - businessId: businessId, +final ref = ExampleConnector.instance.listInvoiceTemplatesByOwnerId( + ownerId: ownerId, ).ref(); ref.execute(); @@ -1841,52 +698,42 @@ ref.subscribe(...); ``` -### getShiftsByVendorId +### listInvoiceTemplatesByVendorId #### Required Arguments ```dart String vendorId = ...; -ExampleConnector.instance.getShiftsByVendorId( +ExampleConnector.instance.listInvoiceTemplatesByVendorId( vendorId: vendorId, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For getShiftsByVendorId, we created `getShiftsByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For listInvoiceTemplatesByVendorId, we created `listInvoiceTemplatesByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class GetShiftsByVendorIdVariablesBuilder { +class ListInvoiceTemplatesByVendorIdVariablesBuilder { ... - GetShiftsByVendorIdVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - GetShiftsByVendorIdVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - GetShiftsByVendorIdVariablesBuilder offset(int? t) { + ListInvoiceTemplatesByVendorIdVariablesBuilder offset(int? t) { _offset.value = t; return this; } - GetShiftsByVendorIdVariablesBuilder limit(int? t) { + ListInvoiceTemplatesByVendorIdVariablesBuilder limit(int? t) { _limit.value = t; return this; } ... } -ExampleConnector.instance.getShiftsByVendorId( +ExampleConnector.instance.listInvoiceTemplatesByVendorId( vendorId: vendorId, ) -.dateFrom(dateFrom) -.dateTo(dateTo) .offset(offset) .limit(limit) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -1901,10 +748,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.getShiftsByVendorId( +final result = await ExampleConnector.instance.listInvoiceTemplatesByVendorId( vendorId: vendorId, ); -getShiftsByVendorIdData data = result.data; +listInvoiceTemplatesByVendorIdData data = result.data; final ref = result.ref; ``` @@ -1914,7 +761,7 @@ An example of how to use the `Ref` object is shown below: ```dart String vendorId = ...; -final ref = ExampleConnector.instance.getShiftsByVendorId( +final ref = ExampleConnector.instance.listInvoiceTemplatesByVendorId( vendorId: vendorId, ).ref(); ref.execute(); @@ -1923,17 +770,42 @@ ref.subscribe(...); ``` -### listCourses +### listInvoiceTemplatesByBusinessId #### Required Arguments ```dart -// No required arguments -ExampleConnector.instance.listCourses().execute(); +String businessId = ...; +ExampleConnector.instance.listInvoiceTemplatesByBusinessId( + businessId: businessId, +).execute(); ``` +#### Optional Arguments +We return a builder for each query. For listInvoiceTemplatesByBusinessId, we created `listInvoiceTemplatesByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListInvoiceTemplatesByBusinessIdVariablesBuilder { + ... + ListInvoiceTemplatesByBusinessIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListInvoiceTemplatesByBusinessIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + ... +} +ExampleConnector.instance.listInvoiceTemplatesByBusinessId( + businessId: businessId, +) +.offset(offset) +.limit(limit) +.execute(); +``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -1948,8 +820,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.listCourses(); -listCoursesData data = result.data; +final result = await ExampleConnector.instance.listInvoiceTemplatesByBusinessId( + businessId: businessId, +); +listInvoiceTemplatesByBusinessIdData data = result.data; final ref = result.ref; ``` @@ -1957,18 +831,262 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -final ref = ExampleConnector.instance.listCourses().ref(); +String businessId = ...; + +final ref = ExampleConnector.instance.listInvoiceTemplatesByBusinessId( + businessId: businessId, +).ref(); ref.execute(); ref.subscribe(...); ``` -### getCourseById +### listInvoiceTemplatesByOrderId +#### Required Arguments +```dart +String orderId = ...; +ExampleConnector.instance.listInvoiceTemplatesByOrderId( + orderId: orderId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listInvoiceTemplatesByOrderId, we created `listInvoiceTemplatesByOrderIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListInvoiceTemplatesByOrderIdVariablesBuilder { + ... + ListInvoiceTemplatesByOrderIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListInvoiceTemplatesByOrderIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listInvoiceTemplatesByOrderId( + orderId: orderId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listInvoiceTemplatesByOrderId( + orderId: orderId, +); +listInvoiceTemplatesByOrderIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String orderId = ...; + +final ref = ExampleConnector.instance.listInvoiceTemplatesByOrderId( + orderId: orderId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### searchInvoiceTemplatesByOwnerAndName +#### Required Arguments +```dart +String ownerId = ...; +String name = ...; +ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( + ownerId: ownerId, + name: name, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For searchInvoiceTemplatesByOwnerAndName, we created `searchInvoiceTemplatesByOwnerAndNameBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder { + ... + SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( + ownerId: ownerId, + name: name, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( + ownerId: ownerId, + name: name, +); +searchInvoiceTemplatesByOwnerAndNameData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String ownerId = ...; +String name = ...; + +final ref = ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( + ownerId: ownerId, + name: name, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listBusinesses +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listBusinesses().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listBusinesses(); +listBusinessesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listBusinesses().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getBusinessesByUserId +#### Required Arguments +```dart +String userId = ...; +ExampleConnector.instance.getBusinessesByUserId( + userId: userId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getBusinessesByUserId( + userId: userId, +); +getBusinessesByUserIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String userId = ...; + +final ref = ExampleConnector.instance.getBusinessesByUserId( + userId: userId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getBusinessById #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.getCourseById( +ExampleConnector.instance.getBusinessById( id: id, ).execute(); ``` @@ -1976,7 +1094,7 @@ ExampleConnector.instance.getCourseById( #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -1991,10 +1109,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.getCourseById( +final result = await ExampleConnector.instance.getBusinessById( id: id, ); -getCourseByIdData data = result.data; +getBusinessByIdData data = result.data; final ref = result.ref; ``` @@ -2004,7 +1122,7 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.getCourseById( +final ref = ExampleConnector.instance.getBusinessById( id: id, ).ref(); ref.execute(); @@ -2013,49 +1131,2038 @@ ref.subscribe(...); ``` -### filterCourses +### listRecentPayments #### Required Arguments ```dart // No required arguments -ExampleConnector.instance.filterCourses().execute(); +ExampleConnector.instance.listRecentPayments().execute(); ``` #### Optional Arguments -We return a builder for each query. For filterCourses, we created `filterCoursesBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For listRecentPayments, we created `listRecentPaymentsBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class FilterCoursesVariablesBuilder { +class ListRecentPaymentsVariablesBuilder { ... - FilterCoursesVariablesBuilder categoryId(String? t) { + ListRecentPaymentsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListRecentPaymentsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listRecentPayments() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRecentPayments(); +listRecentPaymentsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listRecentPayments().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getRecentPaymentById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getRecentPaymentById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getRecentPaymentById( + id: id, +); +getRecentPaymentByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getRecentPaymentById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listRecentPaymentsByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.listRecentPaymentsByStaffId( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listRecentPaymentsByStaffId, we created `listRecentPaymentsByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListRecentPaymentsByStaffIdVariablesBuilder { + ... + ListRecentPaymentsByStaffIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListRecentPaymentsByStaffIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listRecentPaymentsByStaffId( + staffId: staffId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRecentPaymentsByStaffId( + staffId: staffId, +); +listRecentPaymentsByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.listRecentPaymentsByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listRecentPaymentsByApplicationId +#### Required Arguments +```dart +String applicationId = ...; +ExampleConnector.instance.listRecentPaymentsByApplicationId( + applicationId: applicationId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listRecentPaymentsByApplicationId, we created `listRecentPaymentsByApplicationIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListRecentPaymentsByApplicationIdVariablesBuilder { + ... + ListRecentPaymentsByApplicationIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListRecentPaymentsByApplicationIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listRecentPaymentsByApplicationId( + applicationId: applicationId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRecentPaymentsByApplicationId( + applicationId: applicationId, +); +listRecentPaymentsByApplicationIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String applicationId = ...; + +final ref = ExampleConnector.instance.listRecentPaymentsByApplicationId( + applicationId: applicationId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listRecentPaymentsByInvoiceId +#### Required Arguments +```dart +String invoiceId = ...; +ExampleConnector.instance.listRecentPaymentsByInvoiceId( + invoiceId: invoiceId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listRecentPaymentsByInvoiceId, we created `listRecentPaymentsByInvoiceIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListRecentPaymentsByInvoiceIdVariablesBuilder { + ... + ListRecentPaymentsByInvoiceIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListRecentPaymentsByInvoiceIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listRecentPaymentsByInvoiceId( + invoiceId: invoiceId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRecentPaymentsByInvoiceId( + invoiceId: invoiceId, +); +listRecentPaymentsByInvoiceIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String invoiceId = ...; + +final ref = ExampleConnector.instance.listRecentPaymentsByInvoiceId( + invoiceId: invoiceId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listRecentPaymentsByStatus +#### Required Arguments +```dart +RecentPaymentStatus status = ...; +ExampleConnector.instance.listRecentPaymentsByStatus( + status: status, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listRecentPaymentsByStatus, we created `listRecentPaymentsByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListRecentPaymentsByStatusVariablesBuilder { + ... + ListRecentPaymentsByStatusVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListRecentPaymentsByStatusVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listRecentPaymentsByStatus( + status: status, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRecentPaymentsByStatus( + status: status, +); +listRecentPaymentsByStatusData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +RecentPaymentStatus status = ...; + +final ref = ExampleConnector.instance.listRecentPaymentsByStatus( + status: status, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listRecentPaymentsByInvoiceIds +#### Required Arguments +```dart +String invoiceIds = ...; +ExampleConnector.instance.listRecentPaymentsByInvoiceIds( + invoiceIds: invoiceIds, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listRecentPaymentsByInvoiceIds, we created `listRecentPaymentsByInvoiceIdsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListRecentPaymentsByInvoiceIdsVariablesBuilder { + ... + ListRecentPaymentsByInvoiceIdsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListRecentPaymentsByInvoiceIdsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listRecentPaymentsByInvoiceIds( + invoiceIds: invoiceIds, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRecentPaymentsByInvoiceIds( + invoiceIds: invoiceIds, +); +listRecentPaymentsByInvoiceIdsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String invoiceIds = ...; + +final ref = ExampleConnector.instance.listRecentPaymentsByInvoiceIds( + invoiceIds: invoiceIds, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listRecentPaymentsByBusinessId +#### Required Arguments +```dart +String businessId = ...; +ExampleConnector.instance.listRecentPaymentsByBusinessId( + businessId: businessId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listRecentPaymentsByBusinessId, we created `listRecentPaymentsByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListRecentPaymentsByBusinessIdVariablesBuilder { + ... + ListRecentPaymentsByBusinessIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListRecentPaymentsByBusinessIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listRecentPaymentsByBusinessId( + businessId: businessId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRecentPaymentsByBusinessId( + businessId: businessId, +); +listRecentPaymentsByBusinessIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String businessId = ...; + +final ref = ExampleConnector.instance.listRecentPaymentsByBusinessId( + businessId: businessId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listTeamHudDepartments +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listTeamHudDepartments().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listTeamHudDepartments, we created `listTeamHudDepartmentsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListTeamHudDepartmentsVariablesBuilder { + ... + + ListTeamHudDepartmentsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListTeamHudDepartmentsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listTeamHudDepartments() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listTeamHudDepartments(); +listTeamHudDepartmentsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listTeamHudDepartments().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTeamHudDepartmentById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getTeamHudDepartmentById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTeamHudDepartmentById( + id: id, +); +getTeamHudDepartmentByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getTeamHudDepartmentById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listTeamHudDepartmentsByTeamHubId +#### Required Arguments +```dart +String teamHubId = ...; +ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( + teamHubId: teamHubId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listTeamHudDepartmentsByTeamHubId, we created `listTeamHudDepartmentsByTeamHubIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListTeamHudDepartmentsByTeamHubIdVariablesBuilder { + ... + ListTeamHudDepartmentsByTeamHubIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListTeamHudDepartmentsByTeamHubIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( + teamHubId: teamHubId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( + teamHubId: teamHubId, +); +listTeamHudDepartmentsByTeamHubIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String teamHubId = ...; + +final ref = ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( + teamHubId: teamHubId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaff +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listStaff().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaff(); +listStaffData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listStaff().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getStaffById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getStaffById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getStaffById( + id: id, +); +getStaffByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getStaffById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getStaffByUserId +#### Required Arguments +```dart +String userId = ...; +ExampleConnector.instance.getStaffByUserId( + userId: userId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getStaffByUserId( + userId: userId, +); +getStaffByUserIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String userId = ...; + +final ref = ExampleConnector.instance.getStaffByUserId( + userId: userId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterStaff +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterStaff().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterStaff, we created `filterStaffBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterStaffVariablesBuilder { + ... + + FilterStaffVariablesBuilder ownerId(String? t) { + _ownerId.value = t; + return this; + } + FilterStaffVariablesBuilder fullName(String? t) { + _fullName.value = t; + return this; + } + FilterStaffVariablesBuilder level(String? t) { + _level.value = t; + return this; + } + FilterStaffVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterStaff() +.ownerId(ownerId) +.fullName(fullName) +.level(level) +.email(email) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterStaff(); +filterStaffData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterStaff().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getStaffDocumentByKey +#### Required Arguments +```dart +String staffId = ...; +String documentId = ...; +ExampleConnector.instance.getStaffDocumentByKey( + staffId: staffId, + documentId: documentId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getStaffDocumentByKey( + staffId: staffId, + documentId: documentId, +); +getStaffDocumentByKeyData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +String documentId = ...; + +final ref = ExampleConnector.instance.getStaffDocumentByKey( + staffId: staffId, + documentId: documentId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffDocumentsByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.listStaffDocumentsByStaffId( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffDocumentsByStaffId, we created `listStaffDocumentsByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffDocumentsByStaffIdVariablesBuilder { + ... + ListStaffDocumentsByStaffIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffDocumentsByStaffIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffDocumentsByStaffId( + staffId: staffId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffDocumentsByStaffId( + staffId: staffId, +); +listStaffDocumentsByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.listStaffDocumentsByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffDocumentsByDocumentType +#### Required Arguments +```dart +DocumentType documentType = ...; +ExampleConnector.instance.listStaffDocumentsByDocumentType( + documentType: documentType, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffDocumentsByDocumentType, we created `listStaffDocumentsByDocumentTypeBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffDocumentsByDocumentTypeVariablesBuilder { + ... + ListStaffDocumentsByDocumentTypeVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffDocumentsByDocumentTypeVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffDocumentsByDocumentType( + documentType: documentType, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffDocumentsByDocumentType( + documentType: documentType, +); +listStaffDocumentsByDocumentTypeData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +DocumentType documentType = ...; + +final ref = ExampleConnector.instance.listStaffDocumentsByDocumentType( + documentType: documentType, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffDocumentsByStatus +#### Required Arguments +```dart +DocumentStatus status = ...; +ExampleConnector.instance.listStaffDocumentsByStatus( + status: status, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffDocumentsByStatus, we created `listStaffDocumentsByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffDocumentsByStatusVariablesBuilder { + ... + ListStaffDocumentsByStatusVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffDocumentsByStatusVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffDocumentsByStatus( + status: status, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffDocumentsByStatus( + status: status, +); +listStaffDocumentsByStatusData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +DocumentStatus status = ...; + +final ref = ExampleConnector.instance.listStaffDocumentsByStatus( + status: status, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listVendorBenefitPlans +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listVendorBenefitPlans().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listVendorBenefitPlans, we created `listVendorBenefitPlansBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListVendorBenefitPlansVariablesBuilder { + ... + + ListVendorBenefitPlansVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListVendorBenefitPlansVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listVendorBenefitPlans() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listVendorBenefitPlans(); +listVendorBenefitPlansData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listVendorBenefitPlans().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getVendorBenefitPlanById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getVendorBenefitPlanById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getVendorBenefitPlanById( + id: id, +); +getVendorBenefitPlanByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getVendorBenefitPlanById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listVendorBenefitPlansByVendorId +#### Required Arguments +```dart +String vendorId = ...; +ExampleConnector.instance.listVendorBenefitPlansByVendorId( + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listVendorBenefitPlansByVendorId, we created `listVendorBenefitPlansByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListVendorBenefitPlansByVendorIdVariablesBuilder { + ... + ListVendorBenefitPlansByVendorIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListVendorBenefitPlansByVendorIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listVendorBenefitPlansByVendorId( + vendorId: vendorId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listVendorBenefitPlansByVendorId( + vendorId: vendorId, +); +listVendorBenefitPlansByVendorIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; + +final ref = ExampleConnector.instance.listVendorBenefitPlansByVendorId( + vendorId: vendorId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listActiveVendorBenefitPlansByVendorId +#### Required Arguments +```dart +String vendorId = ...; +ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listActiveVendorBenefitPlansByVendorId, we created `listActiveVendorBenefitPlansByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListActiveVendorBenefitPlansByVendorIdVariablesBuilder { + ... + ListActiveVendorBenefitPlansByVendorIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListActiveVendorBenefitPlansByVendorIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( + vendorId: vendorId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( + vendorId: vendorId, +); +listActiveVendorBenefitPlansByVendorIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; + +final ref = ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( + vendorId: vendorId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterVendorBenefitPlans +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterVendorBenefitPlans().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterVendorBenefitPlans, we created `filterVendorBenefitPlansBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterVendorBenefitPlansVariablesBuilder { + ... + + FilterVendorBenefitPlansVariablesBuilder vendorId(String? t) { + _vendorId.value = t; + return this; + } + FilterVendorBenefitPlansVariablesBuilder title(String? t) { + _title.value = t; + return this; + } + FilterVendorBenefitPlansVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + FilterVendorBenefitPlansVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + FilterVendorBenefitPlansVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterVendorBenefitPlans() +.vendorId(vendorId) +.title(title) +.isActive(isActive) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterVendorBenefitPlans(); +filterVendorBenefitPlansData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterVendorBenefitPlans().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listLevels +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listLevels().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listLevels(); +listLevelsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listLevels().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getLevelById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getLevelById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getLevelById( + id: id, +); +getLevelByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getLevelById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterLevels +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterLevels().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterLevels, we created `filterLevelsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterLevelsVariablesBuilder { + ... + + FilterLevelsVariablesBuilder name(String? t) { + _name.value = t; + return this; + } + FilterLevelsVariablesBuilder xpRequired(int? t) { + _xpRequired.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterLevels() +.name(name) +.xpRequired(xpRequired) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterLevels(); +filterLevelsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterLevels().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listAccounts +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listAccounts().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listAccounts(); +listAccountsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listAccounts().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getAccountById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getAccountById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getAccountById( + id: id, +); +getAccountByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getAccountById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getAccountsByOwnerId +#### Required Arguments +```dart +String ownerId = ...; +ExampleConnector.instance.getAccountsByOwnerId( + ownerId: ownerId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getAccountsByOwnerId( + ownerId: ownerId, +); +getAccountsByOwnerIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String ownerId = ...; + +final ref = ExampleConnector.instance.getAccountsByOwnerId( + ownerId: ownerId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterAccounts +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterAccounts().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterAccounts, we created `filterAccountsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterAccountsVariablesBuilder { + ... + + FilterAccountsVariablesBuilder bank(String? t) { + _bank.value = t; + return this; + } + FilterAccountsVariablesBuilder type(AccountType? t) { + _type.value = t; + return this; + } + FilterAccountsVariablesBuilder isPrimary(bool? t) { + _isPrimary.value = t; + return this; + } + FilterAccountsVariablesBuilder ownerId(String? t) { + _ownerId.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterAccounts() +.bank(bank) +.type(type) +.isPrimary(isPrimary) +.ownerId(ownerId) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterAccounts(); +filterAccountsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterAccounts().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listCategories +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listCategories().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listCategories(); +listCategoriesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listCategories().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getCategoryById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getCategoryById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getCategoryById( + id: id, +); +getCategoryByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getCategoryById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterCategories +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterCategories().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterCategories, we created `filterCategoriesBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterCategoriesVariablesBuilder { + ... + + FilterCategoriesVariablesBuilder categoryId(String? t) { _categoryId.value = t; return this; } - FilterCoursesVariablesBuilder isCertification(bool? t) { - _isCertification.value = t; - return this; - } - FilterCoursesVariablesBuilder levelRequired(String? t) { - _levelRequired.value = t; - return this; - } - FilterCoursesVariablesBuilder completed(bool? t) { - _completed.value = t; + FilterCategoriesVariablesBuilder label(String? t) { + _label.value = t; return this; } ... } -ExampleConnector.instance.filterCourses() +ExampleConnector.instance.filterCategories() .categoryId(categoryId) -.isCertification(isCertification) -.levelRequired(levelRequired) -.completed(completed) +.label(label) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -2070,8 +3177,8 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.filterCourses(); -filterCoursesData data = result.data; +final result = await ExampleConnector.instance.filterCategories(); +filterCategoriesData data = result.data; final ref = result.ref; ``` @@ -2079,24 +3186,46 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -final ref = ExampleConnector.instance.filterCourses().ref(); +final ref = ExampleConnector.instance.filterCategories().ref(); ref.execute(); ref.subscribe(...); ``` -### listDocuments +### listClientFeedbacks #### Required Arguments ```dart // No required arguments -ExampleConnector.instance.listDocuments().execute(); +ExampleConnector.instance.listClientFeedbacks().execute(); ``` +#### Optional Arguments +We return a builder for each query. For listClientFeedbacks, we created `listClientFeedbacksBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListClientFeedbacksVariablesBuilder { + ... + + ListClientFeedbacksVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListClientFeedbacksVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + ... +} +ExampleConnector.instance.listClientFeedbacks() +.offset(offset) +.limit(limit) +.execute(); +``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -2111,8 +3240,8 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.listDocuments(); -listDocumentsData data = result.data; +final result = await ExampleConnector.instance.listClientFeedbacks(); +listClientFeedbacksData data = result.data; final ref = result.ref; ``` @@ -2120,18 +3249,18 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -final ref = ExampleConnector.instance.listDocuments().ref(); +final ref = ExampleConnector.instance.listClientFeedbacks().ref(); ref.execute(); ref.subscribe(...); ``` -### getDocumentById +### getClientFeedbackById #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.getDocumentById( +ExampleConnector.instance.getClientFeedbackById( id: id, ).execute(); ``` @@ -2139,7 +3268,7 @@ ExampleConnector.instance.getDocumentById( #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -2154,10 +3283,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.getDocumentById( +final result = await ExampleConnector.instance.getClientFeedbackById( id: id, ); -getDocumentByIdData data = result.data; +getClientFeedbackByIdData data = result.data; final ref = result.ref; ``` @@ -2167,7 +3296,7 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.getDocumentById( +final ref = ExampleConnector.instance.getClientFeedbackById( id: id, ).ref(); ref.execute(); @@ -2176,34 +3305,42 @@ ref.subscribe(...); ``` -### filterDocuments +### listClientFeedbacksByBusinessId #### Required Arguments ```dart -// No required arguments -ExampleConnector.instance.filterDocuments().execute(); +String businessId = ...; +ExampleConnector.instance.listClientFeedbacksByBusinessId( + businessId: businessId, +).execute(); ``` #### Optional Arguments -We return a builder for each query. For filterDocuments, we created `filterDocumentsBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For listClientFeedbacksByBusinessId, we created `listClientFeedbacksByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class FilterDocumentsVariablesBuilder { +class ListClientFeedbacksByBusinessIdVariablesBuilder { ... - - FilterDocumentsVariablesBuilder documentType(DocumentType? t) { - _documentType.value = t; + ListClientFeedbacksByBusinessIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListClientFeedbacksByBusinessIdVariablesBuilder limit(int? t) { + _limit.value = t; return this; } ... } -ExampleConnector.instance.filterDocuments() -.documentType(documentType) +ExampleConnector.instance.listClientFeedbacksByBusinessId( + businessId: businessId, +) +.offset(offset) +.limit(limit) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -2218,8 +3355,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.filterDocuments(); -filterDocumentsData data = result.data; +final result = await ExampleConnector.instance.listClientFeedbacksByBusinessId( + businessId: businessId, +); +listClientFeedbacksByBusinessIdData data = result.data; final ref = result.ref; ``` @@ -2227,7 +3366,915 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -final ref = ExampleConnector.instance.filterDocuments().ref(); +String businessId = ...; + +final ref = ExampleConnector.instance.listClientFeedbacksByBusinessId( + businessId: businessId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listClientFeedbacksByVendorId +#### Required Arguments +```dart +String vendorId = ...; +ExampleConnector.instance.listClientFeedbacksByVendorId( + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listClientFeedbacksByVendorId, we created `listClientFeedbacksByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListClientFeedbacksByVendorIdVariablesBuilder { + ... + ListClientFeedbacksByVendorIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListClientFeedbacksByVendorIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listClientFeedbacksByVendorId( + vendorId: vendorId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listClientFeedbacksByVendorId( + vendorId: vendorId, +); +listClientFeedbacksByVendorIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; + +final ref = ExampleConnector.instance.listClientFeedbacksByVendorId( + vendorId: vendorId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listClientFeedbacksByBusinessAndVendor +#### Required Arguments +```dart +String businessId = ...; +String vendorId = ...; +ExampleConnector.instance.listClientFeedbacksByBusinessAndVendor( + businessId: businessId, + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listClientFeedbacksByBusinessAndVendor, we created `listClientFeedbacksByBusinessAndVendorBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListClientFeedbacksByBusinessAndVendorVariablesBuilder { + ... + ListClientFeedbacksByBusinessAndVendorVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListClientFeedbacksByBusinessAndVendorVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listClientFeedbacksByBusinessAndVendor( + businessId: businessId, + vendorId: vendorId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listClientFeedbacksByBusinessAndVendor( + businessId: businessId, + vendorId: vendorId, +); +listClientFeedbacksByBusinessAndVendorData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String businessId = ...; +String vendorId = ...; + +final ref = ExampleConnector.instance.listClientFeedbacksByBusinessAndVendor( + businessId: businessId, + vendorId: vendorId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterClientFeedbacks +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterClientFeedbacks().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterClientFeedbacks, we created `filterClientFeedbacksBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterClientFeedbacksVariablesBuilder { + ... + + FilterClientFeedbacksVariablesBuilder businessId(String? t) { + _businessId.value = t; + return this; + } + FilterClientFeedbacksVariablesBuilder vendorId(String? t) { + _vendorId.value = t; + return this; + } + FilterClientFeedbacksVariablesBuilder ratingMin(int? t) { + _ratingMin.value = t; + return this; + } + FilterClientFeedbacksVariablesBuilder ratingMax(int? t) { + _ratingMax.value = t; + return this; + } + FilterClientFeedbacksVariablesBuilder dateFrom(Timestamp? t) { + _dateFrom.value = t; + return this; + } + FilterClientFeedbacksVariablesBuilder dateTo(Timestamp? t) { + _dateTo.value = t; + return this; + } + FilterClientFeedbacksVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + FilterClientFeedbacksVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterClientFeedbacks() +.businessId(businessId) +.vendorId(vendorId) +.ratingMin(ratingMin) +.ratingMax(ratingMax) +.dateFrom(dateFrom) +.dateTo(dateTo) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterClientFeedbacks(); +filterClientFeedbacksData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterClientFeedbacks().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listClientFeedbackRatingsByVendorId +#### Required Arguments +```dart +String vendorId = ...; +ExampleConnector.instance.listClientFeedbackRatingsByVendorId( + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listClientFeedbackRatingsByVendorId, we created `listClientFeedbackRatingsByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListClientFeedbackRatingsByVendorIdVariablesBuilder { + ... + ListClientFeedbackRatingsByVendorIdVariablesBuilder dateFrom(Timestamp? t) { + _dateFrom.value = t; + return this; + } + ListClientFeedbackRatingsByVendorIdVariablesBuilder dateTo(Timestamp? t) { + _dateTo.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listClientFeedbackRatingsByVendorId( + vendorId: vendorId, +) +.dateFrom(dateFrom) +.dateTo(dateTo) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listClientFeedbackRatingsByVendorId( + vendorId: vendorId, +); +listClientFeedbackRatingsByVendorIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; + +final ref = ExampleConnector.instance.listClientFeedbackRatingsByVendorId( + vendorId: vendorId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getMyTasks +#### Required Arguments +```dart +String teamMemberId = ...; +ExampleConnector.instance.getMyTasks( + teamMemberId: teamMemberId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getMyTasks( + teamMemberId: teamMemberId, +); +getMyTasksData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String teamMemberId = ...; + +final ref = ExampleConnector.instance.getMyTasks( + teamMemberId: teamMemberId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getMemberTaskByIdKey +#### Required Arguments +```dart +String teamMemberId = ...; +String taskId = ...; +ExampleConnector.instance.getMemberTaskByIdKey( + teamMemberId: teamMemberId, + taskId: taskId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getMemberTaskByIdKey( + teamMemberId: teamMemberId, + taskId: taskId, +); +getMemberTaskByIdKeyData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String teamMemberId = ...; +String taskId = ...; + +final ref = ExampleConnector.instance.getMemberTaskByIdKey( + teamMemberId: teamMemberId, + taskId: taskId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getMemberTasksByTaskId +#### Required Arguments +```dart +String taskId = ...; +ExampleConnector.instance.getMemberTasksByTaskId( + taskId: taskId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getMemberTasksByTaskId( + taskId: taskId, +); +getMemberTasksByTaskIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String taskId = ...; + +final ref = ExampleConnector.instance.getMemberTasksByTaskId( + taskId: taskId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listFaqDatas +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listFaqDatas().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listFaqDatas(); +listFaqDatasData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listFaqDatas().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getFaqDataById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getFaqDataById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getFaqDataById( + id: id, +); +getFaqDataByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getFaqDataById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterFaqDatas +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterFaqDatas().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterFaqDatas, we created `filterFaqDatasBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterFaqDatasVariablesBuilder { + ... + + FilterFaqDatasVariablesBuilder category(String? t) { + _category.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterFaqDatas() +.category(category) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterFaqDatas(); +filterFaqDatasData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterFaqDatas().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listApplications +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listApplications().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listApplications(); +listApplicationsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listApplications().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getApplicationById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getApplicationById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getApplicationById( + id: id, +); +getApplicationByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getApplicationById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getApplicationsByShiftId +#### Required Arguments +```dart +String shiftId = ...; +ExampleConnector.instance.getApplicationsByShiftId( + shiftId: shiftId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getApplicationsByShiftId( + shiftId: shiftId, +); +getApplicationsByShiftIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String shiftId = ...; + +final ref = ExampleConnector.instance.getApplicationsByShiftId( + shiftId: shiftId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getApplicationsByShiftIdAndStatus +#### Required Arguments +```dart +String shiftId = ...; +ApplicationStatus status = ...; +ExampleConnector.instance.getApplicationsByShiftIdAndStatus( + shiftId: shiftId, + status: status, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For getApplicationsByShiftIdAndStatus, we created `getApplicationsByShiftIdAndStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class GetApplicationsByShiftIdAndStatusVariablesBuilder { + ... + GetApplicationsByShiftIdAndStatusVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + GetApplicationsByShiftIdAndStatusVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.getApplicationsByShiftIdAndStatus( + shiftId: shiftId, + status: status, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getApplicationsByShiftIdAndStatus( + shiftId: shiftId, + status: status, +); +getApplicationsByShiftIdAndStatusData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String shiftId = ...; +ApplicationStatus status = ...; + +final ref = ExampleConnector.instance.getApplicationsByShiftIdAndStatus( + shiftId: shiftId, + status: status, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getApplicationsByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.getApplicationsByStaffId( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For getApplicationsByStaffId, we created `getApplicationsByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class GetApplicationsByStaffIdVariablesBuilder { + ... + GetApplicationsByStaffIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + GetApplicationsByStaffIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.getApplicationsByStaffId( + staffId: staffId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getApplicationsByStaffId( + staffId: staffId, +); +getApplicationsByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.getApplicationsByStaffId( + staffId: staffId, +).ref(); ref.execute(); ref.subscribe(...); @@ -2578,3001 +4625,6 @@ ref.subscribe(...); ``` -### listAttireOptions -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listAttireOptions().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAttireOptions(); -listAttireOptionsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listAttireOptions().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getAttireOptionById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getAttireOptionById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getAttireOptionById( - id: id, -); -getAttireOptionByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getAttireOptionById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterAttireOptions -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterAttireOptions().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterAttireOptions, we created `filterAttireOptionsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterAttireOptionsVariablesBuilder { - ... - - FilterAttireOptionsVariablesBuilder itemId(String? t) { - _itemId.value = t; - return this; - } - FilterAttireOptionsVariablesBuilder isMandatory(bool? t) { - _isMandatory.value = t; - return this; - } - FilterAttireOptionsVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterAttireOptions() -.itemId(itemId) -.isMandatory(isMandatory) -.vendorId(vendorId) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterAttireOptions(); -filterAttireOptionsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterAttireOptions().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTaxForms -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTaxForms().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTaxForms(); -listTaxFormsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTaxForms().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTaxFormById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTaxFormById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTaxFormById( - id: id, -); -getTaxFormByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTaxFormById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTaxFormsBystaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.getTaxFormsBystaffId( - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTaxFormsBystaffId( - staffId: staffId, -); -getTaxFormsBystaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.getTaxFormsBystaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterTaxForms -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterTaxForms().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterTaxForms, we created `filterTaxFormsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterTaxFormsVariablesBuilder { - ... - - FilterTaxFormsVariablesBuilder formType(TaxFormType? t) { - _formType.value = t; - return this; - } - FilterTaxFormsVariablesBuilder status(TaxFormStatus? t) { - _status.value = t; - return this; - } - FilterTaxFormsVariablesBuilder staffId(String? t) { - _staffId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterTaxForms() -.formType(formType) -.status(status) -.staffId(staffId) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterTaxForms(); -filterTaxFormsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterTaxForms().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTeams -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTeams().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTeams(); -listTeamsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTeams().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTeamById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamById( - id: id, -); -getTeamByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTeamById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamsByOwnerId -#### Required Arguments -```dart -String ownerId = ...; -ExampleConnector.instance.getTeamsByOwnerId( - ownerId: ownerId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamsByOwnerId( - ownerId: ownerId, -); -getTeamsByOwnerIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; - -final ref = ExampleConnector.instance.getTeamsByOwnerId( - ownerId: ownerId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTeamHudDepartments -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTeamHudDepartments().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listTeamHudDepartments, we created `listTeamHudDepartmentsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListTeamHudDepartmentsVariablesBuilder { - ... - - ListTeamHudDepartmentsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListTeamHudDepartmentsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listTeamHudDepartments() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTeamHudDepartments(); -listTeamHudDepartmentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTeamHudDepartments().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamHudDepartmentById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTeamHudDepartmentById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamHudDepartmentById( - id: id, -); -getTeamHudDepartmentByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTeamHudDepartmentById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTeamHudDepartmentsByTeamHubId -#### Required Arguments -```dart -String teamHubId = ...; -ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( - teamHubId: teamHubId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listTeamHudDepartmentsByTeamHubId, we created `listTeamHudDepartmentsByTeamHubIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListTeamHudDepartmentsByTeamHubIdVariablesBuilder { - ... - ListTeamHudDepartmentsByTeamHubIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListTeamHudDepartmentsByTeamHubIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( - teamHubId: teamHubId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( - teamHubId: teamHubId, -); -listTeamHudDepartmentsByTeamHubIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamHubId = ...; - -final ref = ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( - teamHubId: teamHubId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listCustomRateCards -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listCustomRateCards().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listCustomRateCards(); -listCustomRateCardsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listCustomRateCards().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getCustomRateCardById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getCustomRateCardById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getCustomRateCardById( - id: id, -); -getCustomRateCardByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getCustomRateCardById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listMessages -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listMessages().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listMessages(); -listMessagesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listMessages().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getMessageById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getMessageById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getMessageById( - id: id, -); -getMessageByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getMessageById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getMessagesByConversationId -#### Required Arguments -```dart -String conversationId = ...; -ExampleConnector.instance.getMessagesByConversationId( - conversationId: conversationId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getMessagesByConversationId( - conversationId: conversationId, -); -getMessagesByConversationIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; - -final ref = ExampleConnector.instance.getMessagesByConversationId( - conversationId: conversationId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffDocumentByKey -#### Required Arguments -```dart -String staffId = ...; -String documentId = ...; -ExampleConnector.instance.getStaffDocumentByKey( - staffId: staffId, - documentId: documentId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffDocumentByKey( - staffId: staffId, - documentId: documentId, -); -getStaffDocumentByKeyData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String documentId = ...; - -final ref = ExampleConnector.instance.getStaffDocumentByKey( - staffId: staffId, - documentId: documentId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffDocumentsByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listStaffDocumentsByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffDocumentsByStaffId, we created `listStaffDocumentsByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffDocumentsByStaffIdVariablesBuilder { - ... - ListStaffDocumentsByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffDocumentsByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffDocumentsByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffDocumentsByStaffId( - staffId: staffId, -); -listStaffDocumentsByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listStaffDocumentsByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffDocumentsByDocumentType -#### Required Arguments -```dart -DocumentType documentType = ...; -ExampleConnector.instance.listStaffDocumentsByDocumentType( - documentType: documentType, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffDocumentsByDocumentType, we created `listStaffDocumentsByDocumentTypeBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffDocumentsByDocumentTypeVariablesBuilder { - ... - ListStaffDocumentsByDocumentTypeVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffDocumentsByDocumentTypeVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffDocumentsByDocumentType( - documentType: documentType, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffDocumentsByDocumentType( - documentType: documentType, -); -listStaffDocumentsByDocumentTypeData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -DocumentType documentType = ...; - -final ref = ExampleConnector.instance.listStaffDocumentsByDocumentType( - documentType: documentType, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffDocumentsByStatus -#### Required Arguments -```dart -DocumentStatus status = ...; -ExampleConnector.instance.listStaffDocumentsByStatus( - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffDocumentsByStatus, we created `listStaffDocumentsByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffDocumentsByStatusVariablesBuilder { - ... - ListStaffDocumentsByStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffDocumentsByStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffDocumentsByStatus( - status: status, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffDocumentsByStatus( - status: status, -); -listStaffDocumentsByStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -DocumentStatus status = ...; - -final ref = ExampleConnector.instance.listStaffDocumentsByStatus( - status: status, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getWorkforceById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getWorkforceById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getWorkforceById( - id: id, -); -getWorkforceByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getWorkforceById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getWorkforceByVendorAndStaff -#### Required Arguments -```dart -String vendorId = ...; -String staffId = ...; -ExampleConnector.instance.getWorkforceByVendorAndStaff( - vendorId: vendorId, - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getWorkforceByVendorAndStaff( - vendorId: vendorId, - staffId: staffId, -); -getWorkforceByVendorAndStaffData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -String staffId = ...; - -final ref = ExampleConnector.instance.getWorkforceByVendorAndStaff( - vendorId: vendorId, - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listWorkforceByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listWorkforceByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listWorkforceByVendorId, we created `listWorkforceByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListWorkforceByVendorIdVariablesBuilder { - ... - ListWorkforceByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListWorkforceByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listWorkforceByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listWorkforceByVendorId( - vendorId: vendorId, -); -listWorkforceByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listWorkforceByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listWorkforceByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listWorkforceByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listWorkforceByStaffId, we created `listWorkforceByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListWorkforceByStaffIdVariablesBuilder { - ... - ListWorkforceByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListWorkforceByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listWorkforceByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listWorkforceByStaffId( - staffId: staffId, -); -listWorkforceByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listWorkforceByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getWorkforceByVendorAndNumber -#### Required Arguments -```dart -String vendorId = ...; -String workforceNumber = ...; -ExampleConnector.instance.getWorkforceByVendorAndNumber( - vendorId: vendorId, - workforceNumber: workforceNumber, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getWorkforceByVendorAndNumber( - vendorId: vendorId, - workforceNumber: workforceNumber, -); -getWorkforceByVendorAndNumberData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -String workforceNumber = ...; - -final ref = ExampleConnector.instance.getWorkforceByVendorAndNumber( - vendorId: vendorId, - workforceNumber: workforceNumber, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listEmergencyContacts -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listEmergencyContacts().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listEmergencyContacts(); -listEmergencyContactsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listEmergencyContacts().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getEmergencyContactById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getEmergencyContactById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getEmergencyContactById( - id: id, -); -getEmergencyContactByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getEmergencyContactById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getEmergencyContactsByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.getEmergencyContactsByStaffId( - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getEmergencyContactsByStaffId( - staffId: staffId, -); -getEmergencyContactsByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.getEmergencyContactsByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listFaqDatas -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listFaqDatas().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listFaqDatas(); -listFaqDatasData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listFaqDatas().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getFaqDataById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getFaqDataById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getFaqDataById( - id: id, -); -getFaqDataByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getFaqDataById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterFaqDatas -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterFaqDatas().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterFaqDatas, we created `filterFaqDatasBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterFaqDatasVariablesBuilder { - ... - - FilterFaqDatasVariablesBuilder category(String? t) { - _category.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterFaqDatas() -.category(category) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterFaqDatas(); -filterFaqDatasData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterFaqDatas().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffAvailabilityStats -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listStaffAvailabilityStats().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffAvailabilityStats, we created `listStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffAvailabilityStatsVariablesBuilder { - ... - - ListStaffAvailabilityStatsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffAvailabilityStatsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffAvailabilityStats() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffAvailabilityStats(); -listStaffAvailabilityStatsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listStaffAvailabilityStats().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffAvailabilityStatsByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.getStaffAvailabilityStatsByStaffId( - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffAvailabilityStatsByStaffId( - staffId: staffId, -); -getStaffAvailabilityStatsByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.getStaffAvailabilityStatsByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterStaffAvailabilityStats -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterStaffAvailabilityStats().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterStaffAvailabilityStats, we created `filterStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterStaffAvailabilityStatsVariablesBuilder { - ... - - FilterStaffAvailabilityStatsVariablesBuilder needWorkIndexMin(int? t) { - _needWorkIndexMin.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder needWorkIndexMax(int? t) { - _needWorkIndexMax.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder utilizationMin(int? t) { - _utilizationMin.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder utilizationMax(int? t) { - _utilizationMax.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder acceptanceRateMin(int? t) { - _acceptanceRateMin.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder acceptanceRateMax(int? t) { - _acceptanceRateMax.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder lastShiftAfter(Timestamp? t) { - _lastShiftAfter.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder lastShiftBefore(Timestamp? t) { - _lastShiftBefore.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterStaffAvailabilityStats() -.needWorkIndexMin(needWorkIndexMin) -.needWorkIndexMax(needWorkIndexMax) -.utilizationMin(utilizationMin) -.utilizationMax(utilizationMax) -.acceptanceRateMin(acceptanceRateMin) -.acceptanceRateMax(acceptanceRateMax) -.lastShiftAfter(lastShiftAfter) -.lastShiftBefore(lastShiftBefore) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterStaffAvailabilityStats(); -filterStaffAvailabilityStatsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterStaffAvailabilityStats().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listBusinesses -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listBusinesses().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listBusinesses(); -listBusinessesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listBusinesses().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getBusinessesByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.getBusinessesByUserId( - userId: userId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getBusinessesByUserId( - userId: userId, -); -getBusinessesByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.getBusinessesByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getBusinessById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getBusinessById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getBusinessById( - id: id, -); -getBusinessByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getBusinessById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffCourseById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getStaffCourseById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffCourseById( - id: id, -); -getStaffCourseByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getStaffCourseById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffCoursesByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listStaffCoursesByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffCoursesByStaffId, we created `listStaffCoursesByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffCoursesByStaffIdVariablesBuilder { - ... - ListStaffCoursesByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffCoursesByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffCoursesByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffCoursesByStaffId( - staffId: staffId, -); -listStaffCoursesByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listStaffCoursesByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffCoursesByCourseId -#### Required Arguments -```dart -String courseId = ...; -ExampleConnector.instance.listStaffCoursesByCourseId( - courseId: courseId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffCoursesByCourseId, we created `listStaffCoursesByCourseIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffCoursesByCourseIdVariablesBuilder { - ... - ListStaffCoursesByCourseIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffCoursesByCourseIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffCoursesByCourseId( - courseId: courseId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffCoursesByCourseId( - courseId: courseId, -); -listStaffCoursesByCourseIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String courseId = ...; - -final ref = ExampleConnector.instance.listStaffCoursesByCourseId( - courseId: courseId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffCourseByStaffAndCourse -#### Required Arguments -```dart -String staffId = ...; -String courseId = ...; -ExampleConnector.instance.getStaffCourseByStaffAndCourse( - staffId: staffId, - courseId: courseId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffCourseByStaffAndCourse( - staffId: staffId, - courseId: courseId, -); -getStaffCourseByStaffAndCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String courseId = ...; - -final ref = ExampleConnector.instance.getStaffCourseByStaffAndCourse( - staffId: staffId, - courseId: courseId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTasks -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTasks().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTasks(); -listTasksData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTasks().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTaskById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTaskById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTaskById( - id: id, -); -getTaskByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTaskById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTasksByOwnerId -#### Required Arguments -```dart -String ownerId = ...; -ExampleConnector.instance.getTasksByOwnerId( - ownerId: ownerId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTasksByOwnerId( - ownerId: ownerId, -); -getTasksByOwnerIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; - -final ref = ExampleConnector.instance.getTasksByOwnerId( - ownerId: ownerId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterTasks -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterTasks().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterTasks, we created `filterTasksBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterTasksVariablesBuilder { - ... - - FilterTasksVariablesBuilder status(TaskStatus? t) { - _status.value = t; - return this; - } - FilterTasksVariablesBuilder priority(TaskPriority? t) { - _priority.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterTasks() -.status(status) -.priority(priority) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterTasks(); -filterTasksData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterTasks().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listAssignments -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listAssignments().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listAssignments, we created `listAssignmentsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListAssignmentsVariablesBuilder { - ... - - ListAssignmentsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListAssignmentsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listAssignments() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAssignments(); -listAssignmentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listAssignments().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getAssignmentById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getAssignmentById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getAssignmentById( - id: id, -); -getAssignmentByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getAssignmentById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listAssignmentsByWorkforceId -#### Required Arguments -```dart -String workforceId = ...; -ExampleConnector.instance.listAssignmentsByWorkforceId( - workforceId: workforceId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listAssignmentsByWorkforceId, we created `listAssignmentsByWorkforceIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListAssignmentsByWorkforceIdVariablesBuilder { - ... - ListAssignmentsByWorkforceIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListAssignmentsByWorkforceIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listAssignmentsByWorkforceId( - workforceId: workforceId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAssignmentsByWorkforceId( - workforceId: workforceId, -); -listAssignmentsByWorkforceIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String workforceId = ...; - -final ref = ExampleConnector.instance.listAssignmentsByWorkforceId( - workforceId: workforceId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listAssignmentsByWorkforceIds -#### Required Arguments -```dart -String workforceIds = ...; -ExampleConnector.instance.listAssignmentsByWorkforceIds( - workforceIds: workforceIds, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listAssignmentsByWorkforceIds, we created `listAssignmentsByWorkforceIdsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListAssignmentsByWorkforceIdsVariablesBuilder { - ... - ListAssignmentsByWorkforceIdsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListAssignmentsByWorkforceIdsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listAssignmentsByWorkforceIds( - workforceIds: workforceIds, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAssignmentsByWorkforceIds( - workforceIds: workforceIds, -); -listAssignmentsByWorkforceIdsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String workforceIds = ...; - -final ref = ExampleConnector.instance.listAssignmentsByWorkforceIds( - workforceIds: workforceIds, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listAssignmentsByShiftRole -#### Required Arguments -```dart -String shiftId = ...; -String roleId = ...; -ExampleConnector.instance.listAssignmentsByShiftRole( - shiftId: shiftId, - roleId: roleId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listAssignmentsByShiftRole, we created `listAssignmentsByShiftRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListAssignmentsByShiftRoleVariablesBuilder { - ... - ListAssignmentsByShiftRoleVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListAssignmentsByShiftRoleVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listAssignmentsByShiftRole( - shiftId: shiftId, - roleId: roleId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAssignmentsByShiftRole( - shiftId: shiftId, - roleId: roleId, -); -listAssignmentsByShiftRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.listAssignmentsByShiftRole( - shiftId: shiftId, - roleId: roleId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterAssignments -#### Required Arguments -```dart -String shiftIds = ...; -String roleIds = ...; -ExampleConnector.instance.filterAssignments( - shiftIds: shiftIds, - roleIds: roleIds, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterAssignments, we created `filterAssignmentsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterAssignmentsVariablesBuilder { - ... - FilterAssignmentsVariablesBuilder status(AssignmentStatus? t) { - _status.value = t; - return this; - } - FilterAssignmentsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterAssignmentsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterAssignments( - shiftIds: shiftIds, - roleIds: roleIds, -) -.status(status) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterAssignments( - shiftIds: shiftIds, - roleIds: roleIds, -); -filterAssignmentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftIds = ...; -String roleIds = ...; - -final ref = ExampleConnector.instance.filterAssignments( - shiftIds: shiftIds, - roleIds: roleIds, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - ### listInvoices #### Required Arguments ```dart @@ -6148,4479 +5200,6 @@ ref.subscribe(...); ``` -### listTaskComments -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTaskComments().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTaskComments(); -listTaskCommentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTaskComments().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTaskCommentById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTaskCommentById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTaskCommentById( - id: id, -); -getTaskCommentByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTaskCommentById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTaskCommentsByTaskId -#### Required Arguments -```dart -String taskId = ...; -ExampleConnector.instance.getTaskCommentsByTaskId( - taskId: taskId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTaskCommentsByTaskId( - taskId: taskId, -); -getTaskCommentsByTaskIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String taskId = ...; - -final ref = ExampleConnector.instance.getTaskCommentsByTaskId( - taskId: taskId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listVendorRates -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listVendorRates().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listVendorRates(); -listVendorRatesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listVendorRates().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getVendorRateById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getVendorRateById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getVendorRateById( - id: id, -); -getVendorRateByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getVendorRateById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listApplications -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listApplications().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listApplications(); -listApplicationsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listApplications().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getApplicationById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getApplicationById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getApplicationById( - id: id, -); -getApplicationByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getApplicationById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getApplicationsByShiftId -#### Required Arguments -```dart -String shiftId = ...; -ExampleConnector.instance.getApplicationsByShiftId( - shiftId: shiftId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getApplicationsByShiftId( - shiftId: shiftId, -); -getApplicationsByShiftIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; - -final ref = ExampleConnector.instance.getApplicationsByShiftId( - shiftId: shiftId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getApplicationsByShiftIdAndStatus -#### Required Arguments -```dart -String shiftId = ...; -ApplicationStatus status = ...; -ExampleConnector.instance.getApplicationsByShiftIdAndStatus( - shiftId: shiftId, - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getApplicationsByShiftIdAndStatus, we created `getApplicationsByShiftIdAndStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetApplicationsByShiftIdAndStatusVariablesBuilder { - ... - GetApplicationsByShiftIdAndStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetApplicationsByShiftIdAndStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getApplicationsByShiftIdAndStatus( - shiftId: shiftId, - status: status, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getApplicationsByShiftIdAndStatus( - shiftId: shiftId, - status: status, -); -getApplicationsByShiftIdAndStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; -ApplicationStatus status = ...; - -final ref = ExampleConnector.instance.getApplicationsByShiftIdAndStatus( - shiftId: shiftId, - status: status, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getApplicationsByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.getApplicationsByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getApplicationsByStaffId, we created `getApplicationsByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetApplicationsByStaffIdVariablesBuilder { - ... - GetApplicationsByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetApplicationsByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getApplicationsByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getApplicationsByStaffId( - staffId: staffId, -); -getApplicationsByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.getApplicationsByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoiceTemplates -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listInvoiceTemplates().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoiceTemplates, we created `listInvoiceTemplatesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoiceTemplatesVariablesBuilder { - ... - - ListInvoiceTemplatesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoiceTemplates() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoiceTemplates(); -listInvoiceTemplatesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listInvoiceTemplates().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getInvoiceTemplateById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getInvoiceTemplateById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getInvoiceTemplateById( - id: id, -); -getInvoiceTemplateByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getInvoiceTemplateById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoiceTemplatesByOwnerId -#### Required Arguments -```dart -String ownerId = ...; -ExampleConnector.instance.listInvoiceTemplatesByOwnerId( - ownerId: ownerId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoiceTemplatesByOwnerId, we created `listInvoiceTemplatesByOwnerIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoiceTemplatesByOwnerIdVariablesBuilder { - ... - ListInvoiceTemplatesByOwnerIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesByOwnerIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoiceTemplatesByOwnerId( - ownerId: ownerId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoiceTemplatesByOwnerId( - ownerId: ownerId, -); -listInvoiceTemplatesByOwnerIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; - -final ref = ExampleConnector.instance.listInvoiceTemplatesByOwnerId( - ownerId: ownerId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoiceTemplatesByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listInvoiceTemplatesByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoiceTemplatesByVendorId, we created `listInvoiceTemplatesByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoiceTemplatesByVendorIdVariablesBuilder { - ... - ListInvoiceTemplatesByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoiceTemplatesByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoiceTemplatesByVendorId( - vendorId: vendorId, -); -listInvoiceTemplatesByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listInvoiceTemplatesByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoiceTemplatesByBusinessId -#### Required Arguments -```dart -String businessId = ...; -ExampleConnector.instance.listInvoiceTemplatesByBusinessId( - businessId: businessId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoiceTemplatesByBusinessId, we created `listInvoiceTemplatesByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoiceTemplatesByBusinessIdVariablesBuilder { - ... - ListInvoiceTemplatesByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoiceTemplatesByBusinessId( - businessId: businessId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoiceTemplatesByBusinessId( - businessId: businessId, -); -listInvoiceTemplatesByBusinessIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; - -final ref = ExampleConnector.instance.listInvoiceTemplatesByBusinessId( - businessId: businessId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoiceTemplatesByOrderId -#### Required Arguments -```dart -String orderId = ...; -ExampleConnector.instance.listInvoiceTemplatesByOrderId( - orderId: orderId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoiceTemplatesByOrderId, we created `listInvoiceTemplatesByOrderIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoiceTemplatesByOrderIdVariablesBuilder { - ... - ListInvoiceTemplatesByOrderIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesByOrderIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoiceTemplatesByOrderId( - orderId: orderId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoiceTemplatesByOrderId( - orderId: orderId, -); -listInvoiceTemplatesByOrderIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String orderId = ...; - -final ref = ExampleConnector.instance.listInvoiceTemplatesByOrderId( - orderId: orderId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### searchInvoiceTemplatesByOwnerAndName -#### Required Arguments -```dart -String ownerId = ...; -String name = ...; -ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( - ownerId: ownerId, - name: name, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For searchInvoiceTemplatesByOwnerAndName, we created `searchInvoiceTemplatesByOwnerAndNameBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder { - ... - SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( - ownerId: ownerId, - name: name, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( - ownerId: ownerId, - name: name, -); -searchInvoiceTemplatesByOwnerAndNameData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; -String name = ...; - -final ref = ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( - ownerId: ownerId, - name: name, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRoles -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listRoles().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRoles(); -listRolesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listRoles().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getRoleById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getRoleById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getRoleById( - id: id, -); -getRoleByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getRoleById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRolesByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listRolesByVendorId( - vendorId: vendorId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRolesByVendorId( - vendorId: vendorId, -); -listRolesByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listRolesByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRolesByroleCategoryId -#### Required Arguments -```dart -String roleCategoryId = ...; -ExampleConnector.instance.listRolesByroleCategoryId( - roleCategoryId: roleCategoryId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRolesByroleCategoryId( - roleCategoryId: roleCategoryId, -); -listRolesByroleCategoryIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String roleCategoryId = ...; - -final ref = ExampleConnector.instance.listRolesByroleCategoryId( - roleCategoryId: roleCategoryId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaff -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listStaff().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaff(); -listStaffData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listStaff().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getStaffById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffById( - id: id, -); -getStaffByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getStaffById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.getStaffByUserId( - userId: userId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffByUserId( - userId: userId, -); -getStaffByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.getStaffByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterStaff -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterStaff().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterStaff, we created `filterStaffBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterStaffVariablesBuilder { - ... - - FilterStaffVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - FilterStaffVariablesBuilder fullName(String? t) { - _fullName.value = t; - return this; - } - FilterStaffVariablesBuilder level(String? t) { - _level.value = t; - return this; - } - FilterStaffVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterStaff() -.ownerId(ownerId) -.fullName(fullName) -.level(level) -.email(email) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterStaff(); -filterStaffData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterStaff().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listUserConversations -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listUserConversations().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listUserConversations, we created `listUserConversationsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListUserConversationsVariablesBuilder { - ... - - ListUserConversationsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListUserConversationsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listUserConversations() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listUserConversations(); -listUserConversationsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listUserConversations().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getUserConversationByKey -#### Required Arguments -```dart -String conversationId = ...; -String userId = ...; -ExampleConnector.instance.getUserConversationByKey( - conversationId: conversationId, - userId: userId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getUserConversationByKey( - conversationId: conversationId, - userId: userId, -); -getUserConversationByKeyData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; -String userId = ...; - -final ref = ExampleConnector.instance.getUserConversationByKey( - conversationId: conversationId, - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listUserConversationsByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.listUserConversationsByUserId( - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listUserConversationsByUserId, we created `listUserConversationsByUserIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListUserConversationsByUserIdVariablesBuilder { - ... - ListUserConversationsByUserIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListUserConversationsByUserIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listUserConversationsByUserId( - userId: userId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listUserConversationsByUserId( - userId: userId, -); -listUserConversationsByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.listUserConversationsByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listUnreadUserConversationsByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.listUnreadUserConversationsByUserId( - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listUnreadUserConversationsByUserId, we created `listUnreadUserConversationsByUserIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListUnreadUserConversationsByUserIdVariablesBuilder { - ... - ListUnreadUserConversationsByUserIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListUnreadUserConversationsByUserIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listUnreadUserConversationsByUserId( - userId: userId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listUnreadUserConversationsByUserId( - userId: userId, -); -listUnreadUserConversationsByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.listUnreadUserConversationsByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listUserConversationsByConversationId -#### Required Arguments -```dart -String conversationId = ...; -ExampleConnector.instance.listUserConversationsByConversationId( - conversationId: conversationId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listUserConversationsByConversationId, we created `listUserConversationsByConversationIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListUserConversationsByConversationIdVariablesBuilder { - ... - ListUserConversationsByConversationIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListUserConversationsByConversationIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listUserConversationsByConversationId( - conversationId: conversationId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listUserConversationsByConversationId( - conversationId: conversationId, -); -listUserConversationsByConversationIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; - -final ref = ExampleConnector.instance.listUserConversationsByConversationId( - conversationId: conversationId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterUserConversations -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterUserConversations().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterUserConversations, we created `filterUserConversationsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterUserConversationsVariablesBuilder { - ... - - FilterUserConversationsVariablesBuilder userId(String? t) { - _userId.value = t; - return this; - } - FilterUserConversationsVariablesBuilder conversationId(String? t) { - _conversationId.value = t; - return this; - } - FilterUserConversationsVariablesBuilder unreadMin(int? t) { - _unreadMin.value = t; - return this; - } - FilterUserConversationsVariablesBuilder unreadMax(int? t) { - _unreadMax.value = t; - return this; - } - FilterUserConversationsVariablesBuilder lastReadAfter(Timestamp? t) { - _lastReadAfter.value = t; - return this; - } - FilterUserConversationsVariablesBuilder lastReadBefore(Timestamp? t) { - _lastReadBefore.value = t; - return this; - } - FilterUserConversationsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterUserConversationsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterUserConversations() -.userId(userId) -.conversationId(conversationId) -.unreadMin(unreadMin) -.unreadMax(unreadMax) -.lastReadAfter(lastReadAfter) -.lastReadBefore(lastReadBefore) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterUserConversations(); -filterUserConversationsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterUserConversations().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listCertificates -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listCertificates().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listCertificates(); -listCertificatesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listCertificates().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getCertificateById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getCertificateById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getCertificateById( - id: id, -); -getCertificateByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getCertificateById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listCertificatesByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listCertificatesByStaffId( - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listCertificatesByStaffId( - staffId: staffId, -); -listCertificatesByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listCertificatesByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getMyTasks -#### Required Arguments -```dart -String teamMemberId = ...; -ExampleConnector.instance.getMyTasks( - teamMemberId: teamMemberId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getMyTasks( - teamMemberId: teamMemberId, -); -getMyTasksData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamMemberId = ...; - -final ref = ExampleConnector.instance.getMyTasks( - teamMemberId: teamMemberId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getMemberTaskByIdKey -#### Required Arguments -```dart -String teamMemberId = ...; -String taskId = ...; -ExampleConnector.instance.getMemberTaskByIdKey( - teamMemberId: teamMemberId, - taskId: taskId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getMemberTaskByIdKey( - teamMemberId: teamMemberId, - taskId: taskId, -); -getMemberTaskByIdKeyData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamMemberId = ...; -String taskId = ...; - -final ref = ExampleConnector.instance.getMemberTaskByIdKey( - teamMemberId: teamMemberId, - taskId: taskId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getMemberTasksByTaskId -#### Required Arguments -```dart -String taskId = ...; -ExampleConnector.instance.getMemberTasksByTaskId( - taskId: taskId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getMemberTasksByTaskId( - taskId: taskId, -); -getMemberTasksByTaskIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String taskId = ...; - -final ref = ExampleConnector.instance.getMemberTasksByTaskId( - taskId: taskId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPayments -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listRecentPayments().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPayments, we created `listRecentPaymentsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsVariablesBuilder { - ... - - ListRecentPaymentsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPayments() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPayments(); -listRecentPaymentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listRecentPayments().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getRecentPaymentById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getRecentPaymentById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getRecentPaymentById( - id: id, -); -getRecentPaymentByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getRecentPaymentById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listRecentPaymentsByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByStaffId, we created `listRecentPaymentsByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByStaffIdVariablesBuilder { - ... - ListRecentPaymentsByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByStaffId( - staffId: staffId, -); -listRecentPaymentsByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByApplicationId -#### Required Arguments -```dart -String applicationId = ...; -ExampleConnector.instance.listRecentPaymentsByApplicationId( - applicationId: applicationId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByApplicationId, we created `listRecentPaymentsByApplicationIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByApplicationIdVariablesBuilder { - ... - ListRecentPaymentsByApplicationIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByApplicationIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByApplicationId( - applicationId: applicationId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByApplicationId( - applicationId: applicationId, -); -listRecentPaymentsByApplicationIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String applicationId = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByApplicationId( - applicationId: applicationId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByInvoiceId -#### Required Arguments -```dart -String invoiceId = ...; -ExampleConnector.instance.listRecentPaymentsByInvoiceId( - invoiceId: invoiceId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByInvoiceId, we created `listRecentPaymentsByInvoiceIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByInvoiceIdVariablesBuilder { - ... - ListRecentPaymentsByInvoiceIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByInvoiceIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByInvoiceId( - invoiceId: invoiceId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByInvoiceId( - invoiceId: invoiceId, -); -listRecentPaymentsByInvoiceIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String invoiceId = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByInvoiceId( - invoiceId: invoiceId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByStatus -#### Required Arguments -```dart -RecentPaymentStatus status = ...; -ExampleConnector.instance.listRecentPaymentsByStatus( - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByStatus, we created `listRecentPaymentsByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByStatusVariablesBuilder { - ... - ListRecentPaymentsByStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByStatus( - status: status, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByStatus( - status: status, -); -listRecentPaymentsByStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -RecentPaymentStatus status = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByStatus( - status: status, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByInvoiceIds -#### Required Arguments -```dart -String invoiceIds = ...; -ExampleConnector.instance.listRecentPaymentsByInvoiceIds( - invoiceIds: invoiceIds, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByInvoiceIds, we created `listRecentPaymentsByInvoiceIdsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByInvoiceIdsVariablesBuilder { - ... - ListRecentPaymentsByInvoiceIdsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByInvoiceIdsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByInvoiceIds( - invoiceIds: invoiceIds, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByInvoiceIds( - invoiceIds: invoiceIds, -); -listRecentPaymentsByInvoiceIdsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String invoiceIds = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByInvoiceIds( - invoiceIds: invoiceIds, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByBusinessId -#### Required Arguments -```dart -String businessId = ...; -ExampleConnector.instance.listRecentPaymentsByBusinessId( - businessId: businessId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByBusinessId, we created `listRecentPaymentsByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByBusinessIdVariablesBuilder { - ... - ListRecentPaymentsByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByBusinessId( - businessId: businessId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByBusinessId( - businessId: businessId, -); -listRecentPaymentsByBusinessIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByBusinessId( - businessId: businessId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRoleCategories -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listRoleCategories().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRoleCategories(); -listRoleCategoriesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listRoleCategories().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getRoleCategoryById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getRoleCategoryById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getRoleCategoryById( - id: id, -); -getRoleCategoryByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getRoleCategoryById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getRoleCategoriesByCategory -#### Required Arguments -```dart -RoleCategoryType category = ...; -ExampleConnector.instance.getRoleCategoriesByCategory( - category: category, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getRoleCategoriesByCategory( - category: category, -); -getRoleCategoriesByCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -RoleCategoryType category = ...; - -final ref = ExampleConnector.instance.getRoleCategoriesByCategory( - category: category, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listUsers -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listUsers().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listUsers(); -listUsersData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listUsers().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getUserById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getUserById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getUserById( - id: id, -); -getUserByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getUserById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterUsers -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterUsers().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterUsers, we created `filterUsersBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterUsersVariablesBuilder { - ... - - FilterUsersVariablesBuilder id(String? t) { - _id.value = t; - return this; - } - FilterUsersVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - FilterUsersVariablesBuilder role(UserBaseRole? t) { - _role.value = t; - return this; - } - FilterUsersVariablesBuilder userRole(String? t) { - _userRole.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterUsers() -.id(id) -.email(email) -.role(role) -.userRole(userRole) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterUsers(); -filterUsersData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterUsers().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listClientFeedbacks -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listClientFeedbacks().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listClientFeedbacks, we created `listClientFeedbacksBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListClientFeedbacksVariablesBuilder { - ... - - ListClientFeedbacksVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListClientFeedbacksVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listClientFeedbacks() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listClientFeedbacks(); -listClientFeedbacksData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listClientFeedbacks().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getClientFeedbackById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getClientFeedbackById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getClientFeedbackById( - id: id, -); -getClientFeedbackByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getClientFeedbackById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listClientFeedbacksByBusinessId -#### Required Arguments -```dart -String businessId = ...; -ExampleConnector.instance.listClientFeedbacksByBusinessId( - businessId: businessId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listClientFeedbacksByBusinessId, we created `listClientFeedbacksByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListClientFeedbacksByBusinessIdVariablesBuilder { - ... - ListClientFeedbacksByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListClientFeedbacksByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listClientFeedbacksByBusinessId( - businessId: businessId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listClientFeedbacksByBusinessId( - businessId: businessId, -); -listClientFeedbacksByBusinessIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; - -final ref = ExampleConnector.instance.listClientFeedbacksByBusinessId( - businessId: businessId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listClientFeedbacksByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listClientFeedbacksByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listClientFeedbacksByVendorId, we created `listClientFeedbacksByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListClientFeedbacksByVendorIdVariablesBuilder { - ... - ListClientFeedbacksByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListClientFeedbacksByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listClientFeedbacksByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listClientFeedbacksByVendorId( - vendorId: vendorId, -); -listClientFeedbacksByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listClientFeedbacksByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listClientFeedbacksByBusinessAndVendor -#### Required Arguments -```dart -String businessId = ...; -String vendorId = ...; -ExampleConnector.instance.listClientFeedbacksByBusinessAndVendor( - businessId: businessId, - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listClientFeedbacksByBusinessAndVendor, we created `listClientFeedbacksByBusinessAndVendorBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListClientFeedbacksByBusinessAndVendorVariablesBuilder { - ... - ListClientFeedbacksByBusinessAndVendorVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListClientFeedbacksByBusinessAndVendorVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listClientFeedbacksByBusinessAndVendor( - businessId: businessId, - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listClientFeedbacksByBusinessAndVendor( - businessId: businessId, - vendorId: vendorId, -); -listClientFeedbacksByBusinessAndVendorData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; -String vendorId = ...; - -final ref = ExampleConnector.instance.listClientFeedbacksByBusinessAndVendor( - businessId: businessId, - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterClientFeedbacks -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterClientFeedbacks().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterClientFeedbacks, we created `filterClientFeedbacksBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterClientFeedbacksVariablesBuilder { - ... - - FilterClientFeedbacksVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder ratingMin(int? t) { - _ratingMin.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder ratingMax(int? t) { - _ratingMax.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterClientFeedbacksVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterClientFeedbacks() -.businessId(businessId) -.vendorId(vendorId) -.ratingMin(ratingMin) -.ratingMax(ratingMax) -.dateFrom(dateFrom) -.dateTo(dateTo) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterClientFeedbacks(); -filterClientFeedbacksData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterClientFeedbacks().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listClientFeedbackRatingsByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listClientFeedbackRatingsByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listClientFeedbackRatingsByVendorId, we created `listClientFeedbackRatingsByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListClientFeedbackRatingsByVendorIdVariablesBuilder { - ... - ListClientFeedbackRatingsByVendorIdVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - ListClientFeedbackRatingsByVendorIdVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listClientFeedbackRatingsByVendorId( - vendorId: vendorId, -) -.dateFrom(dateFrom) -.dateTo(dateTo) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listClientFeedbackRatingsByVendorId( - vendorId: vendorId, -); -listClientFeedbackRatingsByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listClientFeedbackRatingsByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffRoles -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listStaffRoles().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffRoles, we created `listStaffRolesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffRolesVariablesBuilder { - ... - - ListStaffRolesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffRolesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffRoles() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffRoles(); -listStaffRolesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listStaffRoles().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffRoleByKey -#### Required Arguments -```dart -String staffId = ...; -String roleId = ...; -ExampleConnector.instance.getStaffRoleByKey( - staffId: staffId, - roleId: roleId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffRoleByKey( - staffId: staffId, - roleId: roleId, -); -getStaffRoleByKeyData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.getStaffRoleByKey( - staffId: staffId, - roleId: roleId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffRolesByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listStaffRolesByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffRolesByStaffId, we created `listStaffRolesByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffRolesByStaffIdVariablesBuilder { - ... - ListStaffRolesByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffRolesByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffRolesByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffRolesByStaffId( - staffId: staffId, -); -listStaffRolesByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listStaffRolesByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffRolesByRoleId -#### Required Arguments -```dart -String roleId = ...; -ExampleConnector.instance.listStaffRolesByRoleId( - roleId: roleId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffRolesByRoleId, we created `listStaffRolesByRoleIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffRolesByRoleIdVariablesBuilder { - ... - ListStaffRolesByRoleIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffRolesByRoleIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffRolesByRoleId( - roleId: roleId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffRolesByRoleId( - roleId: roleId, -); -listStaffRolesByRoleIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String roleId = ...; - -final ref = ExampleConnector.instance.listStaffRolesByRoleId( - roleId: roleId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterStaffRoles -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterStaffRoles().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterStaffRoles, we created `filterStaffRolesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterStaffRolesVariablesBuilder { - ... - - FilterStaffRolesVariablesBuilder staffId(String? t) { - _staffId.value = t; - return this; - } - FilterStaffRolesVariablesBuilder roleId(String? t) { - _roleId.value = t; - return this; - } - FilterStaffRolesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterStaffRolesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterStaffRoles() -.staffId(staffId) -.roleId(roleId) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterStaffRoles(); -filterStaffRolesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterStaffRoles().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listAccounts -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listAccounts().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAccounts(); -listAccountsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listAccounts().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getAccountById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getAccountById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getAccountById( - id: id, -); -getAccountByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getAccountById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getAccountsByOwnerId -#### Required Arguments -```dart -String ownerId = ...; -ExampleConnector.instance.getAccountsByOwnerId( - ownerId: ownerId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getAccountsByOwnerId( - ownerId: ownerId, -); -getAccountsByOwnerIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; - -final ref = ExampleConnector.instance.getAccountsByOwnerId( - ownerId: ownerId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterAccounts -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterAccounts().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterAccounts, we created `filterAccountsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterAccountsVariablesBuilder { - ... - - FilterAccountsVariablesBuilder bank(String? t) { - _bank.value = t; - return this; - } - FilterAccountsVariablesBuilder type(AccountType? t) { - _type.value = t; - return this; - } - FilterAccountsVariablesBuilder isPrimary(bool? t) { - _isPrimary.value = t; - return this; - } - FilterAccountsVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterAccounts() -.bank(bank) -.type(type) -.isPrimary(isPrimary) -.ownerId(ownerId) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterAccounts(); -filterAccountsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterAccounts().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listOrders -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listOrders().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listOrders, we created `listOrdersBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListOrdersVariablesBuilder { - ... - - ListOrdersVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListOrdersVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listOrders() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listOrders(); -listOrdersData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listOrders().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getOrderById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getOrderById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getOrderById( - id: id, -); -getOrderByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getOrderById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getOrdersByBusinessId -#### Required Arguments -```dart -String businessId = ...; -ExampleConnector.instance.getOrdersByBusinessId( - businessId: businessId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getOrdersByBusinessId, we created `getOrdersByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetOrdersByBusinessIdVariablesBuilder { - ... - GetOrdersByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetOrdersByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getOrdersByBusinessId( - businessId: businessId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getOrdersByBusinessId( - businessId: businessId, -); -getOrdersByBusinessIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; - -final ref = ExampleConnector.instance.getOrdersByBusinessId( - businessId: businessId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getOrdersByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.getOrdersByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getOrdersByVendorId, we created `getOrdersByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetOrdersByVendorIdVariablesBuilder { - ... - GetOrdersByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetOrdersByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getOrdersByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getOrdersByVendorId( - vendorId: vendorId, -); -getOrdersByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.getOrdersByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getOrdersByStatus -#### Required Arguments -```dart -OrderStatus status = ...; -ExampleConnector.instance.getOrdersByStatus( - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getOrdersByStatus, we created `getOrdersByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetOrdersByStatusVariablesBuilder { - ... - GetOrdersByStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetOrdersByStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getOrdersByStatus( - status: status, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getOrdersByStatus( - status: status, -); -getOrdersByStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -OrderStatus status = ...; - -final ref = ExampleConnector.instance.getOrdersByStatus( - status: status, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getOrdersByDateRange -#### Required Arguments -```dart -Timestamp start = ...; -Timestamp end = ...; -ExampleConnector.instance.getOrdersByDateRange( - start: start, - end: end, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getOrdersByDateRange, we created `getOrdersByDateRangeBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetOrdersByDateRangeVariablesBuilder { - ... - GetOrdersByDateRangeVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetOrdersByDateRangeVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getOrdersByDateRange( - start: start, - end: end, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getOrdersByDateRange( - start: start, - end: end, -); -getOrdersByDateRangeData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -Timestamp start = ...; -Timestamp end = ...; - -final ref = ExampleConnector.instance.getOrdersByDateRange( - start: start, - end: end, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getRapidOrders -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.getRapidOrders().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getRapidOrders, we created `getRapidOrdersBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetRapidOrdersVariablesBuilder { - ... - - GetRapidOrdersVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetRapidOrdersVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getRapidOrders() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getRapidOrders(); -getRapidOrdersData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.getRapidOrders().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - ### listShiftsForCoverage #### Required Arguments ```dart @@ -11667,6 +6246,5735 @@ ref.subscribe(...); ``` +### listRoles +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listRoles().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRoles(); +listRolesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listRoles().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getRoleById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getRoleById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getRoleById( + id: id, +); +getRoleByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getRoleById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listRolesByVendorId +#### Required Arguments +```dart +String vendorId = ...; +ExampleConnector.instance.listRolesByVendorId( + vendorId: vendorId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRolesByVendorId( + vendorId: vendorId, +); +listRolesByVendorIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; + +final ref = ExampleConnector.instance.listRolesByVendorId( + vendorId: vendorId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listRolesByroleCategoryId +#### Required Arguments +```dart +String roleCategoryId = ...; +ExampleConnector.instance.listRolesByroleCategoryId( + roleCategoryId: roleCategoryId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRolesByroleCategoryId( + roleCategoryId: roleCategoryId, +); +listRolesByroleCategoryIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String roleCategoryId = ...; + +final ref = ExampleConnector.instance.listRolesByroleCategoryId( + roleCategoryId: roleCategoryId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listTaxForms +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listTaxForms().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listTaxForms(); +listTaxFormsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listTaxForms().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTaxFormById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getTaxFormById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTaxFormById( + id: id, +); +getTaxFormByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getTaxFormById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTaxFormsBystaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.getTaxFormsBystaffId( + staffId: staffId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTaxFormsBystaffId( + staffId: staffId, +); +getTaxFormsBystaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.getTaxFormsBystaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterTaxForms +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterTaxForms().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterTaxForms, we created `filterTaxFormsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterTaxFormsVariablesBuilder { + ... + + FilterTaxFormsVariablesBuilder formType(TaxFormType? t) { + _formType.value = t; + return this; + } + FilterTaxFormsVariablesBuilder status(TaxFormStatus? t) { + _status.value = t; + return this; + } + FilterTaxFormsVariablesBuilder staffId(String? t) { + _staffId.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterTaxForms() +.formType(formType) +.status(status) +.staffId(staffId) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterTaxForms(); +filterTaxFormsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterTaxForms().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listCertificates +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listCertificates().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listCertificates(); +listCertificatesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listCertificates().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getCertificateById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getCertificateById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getCertificateById( + id: id, +); +getCertificateByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getCertificateById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listCertificatesByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.listCertificatesByStaffId( + staffId: staffId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listCertificatesByStaffId( + staffId: staffId, +); +listCertificatesByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.listCertificatesByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listTeamMembers +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listTeamMembers().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listTeamMembers(); +listTeamMembersData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listTeamMembers().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTeamMemberById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getTeamMemberById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTeamMemberById( + id: id, +); +getTeamMemberByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getTeamMemberById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTeamMembersByTeamId +#### Required Arguments +```dart +String teamId = ...; +ExampleConnector.instance.getTeamMembersByTeamId( + teamId: teamId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTeamMembersByTeamId( + teamId: teamId, +); +getTeamMembersByTeamIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String teamId = ...; + +final ref = ExampleConnector.instance.getTeamMembersByTeamId( + teamId: teamId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listUserConversations +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listUserConversations().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listUserConversations, we created `listUserConversationsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListUserConversationsVariablesBuilder { + ... + + ListUserConversationsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListUserConversationsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listUserConversations() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listUserConversations(); +listUserConversationsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listUserConversations().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getUserConversationByKey +#### Required Arguments +```dart +String conversationId = ...; +String userId = ...; +ExampleConnector.instance.getUserConversationByKey( + conversationId: conversationId, + userId: userId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getUserConversationByKey( + conversationId: conversationId, + userId: userId, +); +getUserConversationByKeyData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String conversationId = ...; +String userId = ...; + +final ref = ExampleConnector.instance.getUserConversationByKey( + conversationId: conversationId, + userId: userId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listUserConversationsByUserId +#### Required Arguments +```dart +String userId = ...; +ExampleConnector.instance.listUserConversationsByUserId( + userId: userId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listUserConversationsByUserId, we created `listUserConversationsByUserIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListUserConversationsByUserIdVariablesBuilder { + ... + ListUserConversationsByUserIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListUserConversationsByUserIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listUserConversationsByUserId( + userId: userId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listUserConversationsByUserId( + userId: userId, +); +listUserConversationsByUserIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String userId = ...; + +final ref = ExampleConnector.instance.listUserConversationsByUserId( + userId: userId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listUnreadUserConversationsByUserId +#### Required Arguments +```dart +String userId = ...; +ExampleConnector.instance.listUnreadUserConversationsByUserId( + userId: userId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listUnreadUserConversationsByUserId, we created `listUnreadUserConversationsByUserIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListUnreadUserConversationsByUserIdVariablesBuilder { + ... + ListUnreadUserConversationsByUserIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListUnreadUserConversationsByUserIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listUnreadUserConversationsByUserId( + userId: userId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listUnreadUserConversationsByUserId( + userId: userId, +); +listUnreadUserConversationsByUserIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String userId = ...; + +final ref = ExampleConnector.instance.listUnreadUserConversationsByUserId( + userId: userId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listUserConversationsByConversationId +#### Required Arguments +```dart +String conversationId = ...; +ExampleConnector.instance.listUserConversationsByConversationId( + conversationId: conversationId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listUserConversationsByConversationId, we created `listUserConversationsByConversationIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListUserConversationsByConversationIdVariablesBuilder { + ... + ListUserConversationsByConversationIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListUserConversationsByConversationIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listUserConversationsByConversationId( + conversationId: conversationId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listUserConversationsByConversationId( + conversationId: conversationId, +); +listUserConversationsByConversationIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String conversationId = ...; + +final ref = ExampleConnector.instance.listUserConversationsByConversationId( + conversationId: conversationId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterUserConversations +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterUserConversations().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterUserConversations, we created `filterUserConversationsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterUserConversationsVariablesBuilder { + ... + + FilterUserConversationsVariablesBuilder userId(String? t) { + _userId.value = t; + return this; + } + FilterUserConversationsVariablesBuilder conversationId(String? t) { + _conversationId.value = t; + return this; + } + FilterUserConversationsVariablesBuilder unreadMin(int? t) { + _unreadMin.value = t; + return this; + } + FilterUserConversationsVariablesBuilder unreadMax(int? t) { + _unreadMax.value = t; + return this; + } + FilterUserConversationsVariablesBuilder lastReadAfter(Timestamp? t) { + _lastReadAfter.value = t; + return this; + } + FilterUserConversationsVariablesBuilder lastReadBefore(Timestamp? t) { + _lastReadBefore.value = t; + return this; + } + FilterUserConversationsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + FilterUserConversationsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterUserConversations() +.userId(userId) +.conversationId(conversationId) +.unreadMin(unreadMin) +.unreadMax(unreadMax) +.lastReadAfter(lastReadAfter) +.lastReadBefore(lastReadBefore) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterUserConversations(); +filterUserConversationsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterUserConversations().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listDocuments +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listDocuments().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listDocuments(); +listDocumentsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listDocuments().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getDocumentById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getDocumentById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getDocumentById( + id: id, +); +getDocumentByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getDocumentById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterDocuments +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterDocuments().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterDocuments, we created `filterDocumentsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterDocumentsVariablesBuilder { + ... + + FilterDocumentsVariablesBuilder documentType(DocumentType? t) { + _documentType.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterDocuments() +.documentType(documentType) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterDocuments(); +filterDocumentsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterDocuments().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listTaskComments +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listTaskComments().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listTaskComments(); +listTaskCommentsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listTaskComments().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTaskCommentById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getTaskCommentById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTaskCommentById( + id: id, +); +getTaskCommentByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getTaskCommentById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTaskCommentsByTaskId +#### Required Arguments +```dart +String taskId = ...; +ExampleConnector.instance.getTaskCommentsByTaskId( + taskId: taskId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTaskCommentsByTaskId( + taskId: taskId, +); +getTaskCommentsByTaskIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String taskId = ...; + +final ref = ExampleConnector.instance.getTaskCommentsByTaskId( + taskId: taskId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listTeams +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listTeams().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listTeams(); +listTeamsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listTeams().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTeamById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getTeamById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTeamById( + id: id, +); +getTeamByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getTeamById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTeamsByOwnerId +#### Required Arguments +```dart +String ownerId = ...; +ExampleConnector.instance.getTeamsByOwnerId( + ownerId: ownerId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTeamsByOwnerId( + ownerId: ownerId, +); +getTeamsByOwnerIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String ownerId = ...; + +final ref = ExampleConnector.instance.getTeamsByOwnerId( + ownerId: ownerId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getWorkforceById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getWorkforceById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getWorkforceById( + id: id, +); +getWorkforceByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getWorkforceById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getWorkforceByVendorAndStaff +#### Required Arguments +```dart +String vendorId = ...; +String staffId = ...; +ExampleConnector.instance.getWorkforceByVendorAndStaff( + vendorId: vendorId, + staffId: staffId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getWorkforceByVendorAndStaff( + vendorId: vendorId, + staffId: staffId, +); +getWorkforceByVendorAndStaffData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; +String staffId = ...; + +final ref = ExampleConnector.instance.getWorkforceByVendorAndStaff( + vendorId: vendorId, + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listWorkforceByVendorId +#### Required Arguments +```dart +String vendorId = ...; +ExampleConnector.instance.listWorkforceByVendorId( + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listWorkforceByVendorId, we created `listWorkforceByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListWorkforceByVendorIdVariablesBuilder { + ... + ListWorkforceByVendorIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListWorkforceByVendorIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listWorkforceByVendorId( + vendorId: vendorId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listWorkforceByVendorId( + vendorId: vendorId, +); +listWorkforceByVendorIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; + +final ref = ExampleConnector.instance.listWorkforceByVendorId( + vendorId: vendorId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listWorkforceByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.listWorkforceByStaffId( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listWorkforceByStaffId, we created `listWorkforceByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListWorkforceByStaffIdVariablesBuilder { + ... + ListWorkforceByStaffIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListWorkforceByStaffIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listWorkforceByStaffId( + staffId: staffId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listWorkforceByStaffId( + staffId: staffId, +); +listWorkforceByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.listWorkforceByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getWorkforceByVendorAndNumber +#### Required Arguments +```dart +String vendorId = ...; +String workforceNumber = ...; +ExampleConnector.instance.getWorkforceByVendorAndNumber( + vendorId: vendorId, + workforceNumber: workforceNumber, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getWorkforceByVendorAndNumber( + vendorId: vendorId, + workforceNumber: workforceNumber, +); +getWorkforceByVendorAndNumberData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; +String workforceNumber = ...; + +final ref = ExampleConnector.instance.getWorkforceByVendorAndNumber( + vendorId: vendorId, + workforceNumber: workforceNumber, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listHubs +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listHubs().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listHubs(); +listHubsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listHubs().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getHubById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getHubById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getHubById( + id: id, +); +getHubByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getHubById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getHubsByOwnerId +#### Required Arguments +```dart +String ownerId = ...; +ExampleConnector.instance.getHubsByOwnerId( + ownerId: ownerId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getHubsByOwnerId( + ownerId: ownerId, +); +getHubsByOwnerIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String ownerId = ...; + +final ref = ExampleConnector.instance.getHubsByOwnerId( + ownerId: ownerId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterHubs +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterHubs().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterHubs, we created `filterHubsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterHubsVariablesBuilder { + ... + + FilterHubsVariablesBuilder ownerId(String? t) { + _ownerId.value = t; + return this; + } + FilterHubsVariablesBuilder name(String? t) { + _name.value = t; + return this; + } + FilterHubsVariablesBuilder nfcTagId(String? t) { + _nfcTagId.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterHubs() +.ownerId(ownerId) +.name(name) +.nfcTagId(nfcTagId) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterHubs(); +filterHubsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterHubs().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffRoles +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listStaffRoles().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffRoles, we created `listStaffRolesBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffRolesVariablesBuilder { + ... + + ListStaffRolesVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffRolesVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffRoles() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffRoles(); +listStaffRolesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listStaffRoles().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getStaffRoleByKey +#### Required Arguments +```dart +String staffId = ...; +String roleId = ...; +ExampleConnector.instance.getStaffRoleByKey( + staffId: staffId, + roleId: roleId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getStaffRoleByKey( + staffId: staffId, + roleId: roleId, +); +getStaffRoleByKeyData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +String roleId = ...; + +final ref = ExampleConnector.instance.getStaffRoleByKey( + staffId: staffId, + roleId: roleId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffRolesByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.listStaffRolesByStaffId( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffRolesByStaffId, we created `listStaffRolesByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffRolesByStaffIdVariablesBuilder { + ... + ListStaffRolesByStaffIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffRolesByStaffIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffRolesByStaffId( + staffId: staffId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffRolesByStaffId( + staffId: staffId, +); +listStaffRolesByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.listStaffRolesByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffRolesByRoleId +#### Required Arguments +```dart +String roleId = ...; +ExampleConnector.instance.listStaffRolesByRoleId( + roleId: roleId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffRolesByRoleId, we created `listStaffRolesByRoleIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffRolesByRoleIdVariablesBuilder { + ... + ListStaffRolesByRoleIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffRolesByRoleIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffRolesByRoleId( + roleId: roleId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffRolesByRoleId( + roleId: roleId, +); +listStaffRolesByRoleIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String roleId = ...; + +final ref = ExampleConnector.instance.listStaffRolesByRoleId( + roleId: roleId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterStaffRoles +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterStaffRoles().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterStaffRoles, we created `filterStaffRolesBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterStaffRolesVariablesBuilder { + ... + + FilterStaffRolesVariablesBuilder staffId(String? t) { + _staffId.value = t; + return this; + } + FilterStaffRolesVariablesBuilder roleId(String? t) { + _roleId.value = t; + return this; + } + FilterStaffRolesVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + FilterStaffRolesVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterStaffRoles() +.staffId(staffId) +.roleId(roleId) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterStaffRoles(); +filterStaffRolesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterStaffRoles().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listTeamHubs +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listTeamHubs().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listTeamHubs(); +listTeamHubsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listTeamHubs().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTeamHubById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getTeamHubById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTeamHubById( + id: id, +); +getTeamHubByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getTeamHubById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTeamHubsByTeamId +#### Required Arguments +```dart +String teamId = ...; +ExampleConnector.instance.getTeamHubsByTeamId( + teamId: teamId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTeamHubsByTeamId( + teamId: teamId, +); +getTeamHubsByTeamIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String teamId = ...; + +final ref = ExampleConnector.instance.getTeamHubsByTeamId( + teamId: teamId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listTeamHubsByOwnerId +#### Required Arguments +```dart +String ownerId = ...; +ExampleConnector.instance.listTeamHubsByOwnerId( + ownerId: ownerId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listTeamHubsByOwnerId( + ownerId: ownerId, +); +listTeamHubsByOwnerIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String ownerId = ...; + +final ref = ExampleConnector.instance.listTeamHubsByOwnerId( + ownerId: ownerId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listOrders +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listOrders().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listOrders, we created `listOrdersBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListOrdersVariablesBuilder { + ... + + ListOrdersVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListOrdersVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listOrders() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listOrders(); +listOrdersData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listOrders().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getOrderById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getOrderById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getOrderById( + id: id, +); +getOrderByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getOrderById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getOrdersByBusinessId +#### Required Arguments +```dart +String businessId = ...; +ExampleConnector.instance.getOrdersByBusinessId( + businessId: businessId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For getOrdersByBusinessId, we created `getOrdersByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class GetOrdersByBusinessIdVariablesBuilder { + ... + GetOrdersByBusinessIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + GetOrdersByBusinessIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.getOrdersByBusinessId( + businessId: businessId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getOrdersByBusinessId( + businessId: businessId, +); +getOrdersByBusinessIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String businessId = ...; + +final ref = ExampleConnector.instance.getOrdersByBusinessId( + businessId: businessId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getOrdersByVendorId +#### Required Arguments +```dart +String vendorId = ...; +ExampleConnector.instance.getOrdersByVendorId( + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For getOrdersByVendorId, we created `getOrdersByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class GetOrdersByVendorIdVariablesBuilder { + ... + GetOrdersByVendorIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + GetOrdersByVendorIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.getOrdersByVendorId( + vendorId: vendorId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getOrdersByVendorId( + vendorId: vendorId, +); +getOrdersByVendorIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; + +final ref = ExampleConnector.instance.getOrdersByVendorId( + vendorId: vendorId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getOrdersByStatus +#### Required Arguments +```dart +OrderStatus status = ...; +ExampleConnector.instance.getOrdersByStatus( + status: status, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For getOrdersByStatus, we created `getOrdersByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class GetOrdersByStatusVariablesBuilder { + ... + GetOrdersByStatusVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + GetOrdersByStatusVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.getOrdersByStatus( + status: status, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getOrdersByStatus( + status: status, +); +getOrdersByStatusData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +OrderStatus status = ...; + +final ref = ExampleConnector.instance.getOrdersByStatus( + status: status, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getOrdersByDateRange +#### Required Arguments +```dart +Timestamp start = ...; +Timestamp end = ...; +ExampleConnector.instance.getOrdersByDateRange( + start: start, + end: end, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For getOrdersByDateRange, we created `getOrdersByDateRangeBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class GetOrdersByDateRangeVariablesBuilder { + ... + GetOrdersByDateRangeVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + GetOrdersByDateRangeVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.getOrdersByDateRange( + start: start, + end: end, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getOrdersByDateRange( + start: start, + end: end, +); +getOrdersByDateRangeData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +Timestamp start = ...; +Timestamp end = ...; + +final ref = ExampleConnector.instance.getOrdersByDateRange( + start: start, + end: end, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getRapidOrders +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.getRapidOrders().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For getRapidOrders, we created `getRapidOrdersBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class GetRapidOrdersVariablesBuilder { + ... + + GetRapidOrdersVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + GetRapidOrdersVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.getRapidOrders() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getRapidOrders(); +getRapidOrdersData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.getRapidOrders().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffAvailabilityStats +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listStaffAvailabilityStats().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffAvailabilityStats, we created `listStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffAvailabilityStatsVariablesBuilder { + ... + + ListStaffAvailabilityStatsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffAvailabilityStatsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffAvailabilityStats() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffAvailabilityStats(); +listStaffAvailabilityStatsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listStaffAvailabilityStats().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getStaffAvailabilityStatsByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.getStaffAvailabilityStatsByStaffId( + staffId: staffId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getStaffAvailabilityStatsByStaffId( + staffId: staffId, +); +getStaffAvailabilityStatsByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.getStaffAvailabilityStatsByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterStaffAvailabilityStats +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterStaffAvailabilityStats().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterStaffAvailabilityStats, we created `filterStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterStaffAvailabilityStatsVariablesBuilder { + ... + + FilterStaffAvailabilityStatsVariablesBuilder needWorkIndexMin(int? t) { + _needWorkIndexMin.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder needWorkIndexMax(int? t) { + _needWorkIndexMax.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder utilizationMin(int? t) { + _utilizationMin.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder utilizationMax(int? t) { + _utilizationMax.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder acceptanceRateMin(int? t) { + _acceptanceRateMin.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder acceptanceRateMax(int? t) { + _acceptanceRateMax.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder lastShiftAfter(Timestamp? t) { + _lastShiftAfter.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder lastShiftBefore(Timestamp? t) { + _lastShiftBefore.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterStaffAvailabilityStats() +.needWorkIndexMin(needWorkIndexMin) +.needWorkIndexMax(needWorkIndexMax) +.utilizationMin(utilizationMin) +.utilizationMax(utilizationMax) +.acceptanceRateMin(acceptanceRateMin) +.acceptanceRateMax(acceptanceRateMax) +.lastShiftAfter(lastShiftAfter) +.lastShiftBefore(lastShiftBefore) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterStaffAvailabilityStats(); +filterStaffAvailabilityStatsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterStaffAvailabilityStats().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getStaffCourseById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getStaffCourseById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getStaffCourseById( + id: id, +); +getStaffCourseByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getStaffCourseById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffCoursesByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.listStaffCoursesByStaffId( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffCoursesByStaffId, we created `listStaffCoursesByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffCoursesByStaffIdVariablesBuilder { + ... + ListStaffCoursesByStaffIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffCoursesByStaffIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffCoursesByStaffId( + staffId: staffId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffCoursesByStaffId( + staffId: staffId, +); +listStaffCoursesByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.listStaffCoursesByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffCoursesByCourseId +#### Required Arguments +```dart +String courseId = ...; +ExampleConnector.instance.listStaffCoursesByCourseId( + courseId: courseId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffCoursesByCourseId, we created `listStaffCoursesByCourseIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffCoursesByCourseIdVariablesBuilder { + ... + ListStaffCoursesByCourseIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffCoursesByCourseIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffCoursesByCourseId( + courseId: courseId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffCoursesByCourseId( + courseId: courseId, +); +listStaffCoursesByCourseIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String courseId = ...; + +final ref = ExampleConnector.instance.listStaffCoursesByCourseId( + courseId: courseId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getStaffCourseByStaffAndCourse +#### Required Arguments +```dart +String staffId = ...; +String courseId = ...; +ExampleConnector.instance.getStaffCourseByStaffAndCourse( + staffId: staffId, + courseId: courseId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getStaffCourseByStaffAndCourse( + staffId: staffId, + courseId: courseId, +); +getStaffCourseByStaffAndCourseData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +String courseId = ...; + +final ref = ExampleConnector.instance.getStaffCourseByStaffAndCourse( + staffId: staffId, + courseId: courseId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listAssignments +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listAssignments().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listAssignments, we created `listAssignmentsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListAssignmentsVariablesBuilder { + ... + + ListAssignmentsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListAssignmentsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listAssignments() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listAssignments(); +listAssignmentsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listAssignments().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getAssignmentById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getAssignmentById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getAssignmentById( + id: id, +); +getAssignmentByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getAssignmentById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listAssignmentsByWorkforceId +#### Required Arguments +```dart +String workforceId = ...; +ExampleConnector.instance.listAssignmentsByWorkforceId( + workforceId: workforceId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listAssignmentsByWorkforceId, we created `listAssignmentsByWorkforceIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListAssignmentsByWorkforceIdVariablesBuilder { + ... + ListAssignmentsByWorkforceIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListAssignmentsByWorkforceIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listAssignmentsByWorkforceId( + workforceId: workforceId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listAssignmentsByWorkforceId( + workforceId: workforceId, +); +listAssignmentsByWorkforceIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String workforceId = ...; + +final ref = ExampleConnector.instance.listAssignmentsByWorkforceId( + workforceId: workforceId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listAssignmentsByWorkforceIds +#### Required Arguments +```dart +String workforceIds = ...; +ExampleConnector.instance.listAssignmentsByWorkforceIds( + workforceIds: workforceIds, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listAssignmentsByWorkforceIds, we created `listAssignmentsByWorkforceIdsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListAssignmentsByWorkforceIdsVariablesBuilder { + ... + ListAssignmentsByWorkforceIdsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListAssignmentsByWorkforceIdsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listAssignmentsByWorkforceIds( + workforceIds: workforceIds, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listAssignmentsByWorkforceIds( + workforceIds: workforceIds, +); +listAssignmentsByWorkforceIdsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String workforceIds = ...; + +final ref = ExampleConnector.instance.listAssignmentsByWorkforceIds( + workforceIds: workforceIds, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listAssignmentsByShiftRole +#### Required Arguments +```dart +String shiftId = ...; +String roleId = ...; +ExampleConnector.instance.listAssignmentsByShiftRole( + shiftId: shiftId, + roleId: roleId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listAssignmentsByShiftRole, we created `listAssignmentsByShiftRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListAssignmentsByShiftRoleVariablesBuilder { + ... + ListAssignmentsByShiftRoleVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListAssignmentsByShiftRoleVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listAssignmentsByShiftRole( + shiftId: shiftId, + roleId: roleId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listAssignmentsByShiftRole( + shiftId: shiftId, + roleId: roleId, +); +listAssignmentsByShiftRoleData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String shiftId = ...; +String roleId = ...; + +final ref = ExampleConnector.instance.listAssignmentsByShiftRole( + shiftId: shiftId, + roleId: roleId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterAssignments +#### Required Arguments +```dart +String shiftIds = ...; +String roleIds = ...; +ExampleConnector.instance.filterAssignments( + shiftIds: shiftIds, + roleIds: roleIds, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterAssignments, we created `filterAssignmentsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterAssignmentsVariablesBuilder { + ... + FilterAssignmentsVariablesBuilder status(AssignmentStatus? t) { + _status.value = t; + return this; + } + FilterAssignmentsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + FilterAssignmentsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterAssignments( + shiftIds: shiftIds, + roleIds: roleIds, +) +.status(status) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterAssignments( + shiftIds: shiftIds, + roleIds: roleIds, +); +filterAssignmentsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String shiftIds = ...; +String roleIds = ...; + +final ref = ExampleConnector.instance.filterAssignments( + shiftIds: shiftIds, + roleIds: roleIds, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listCourses +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listCourses().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listCourses(); +listCoursesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listCourses().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getCourseById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getCourseById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getCourseById( + id: id, +); +getCourseByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getCourseById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterCourses +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterCourses().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterCourses, we created `filterCoursesBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterCoursesVariablesBuilder { + ... + + FilterCoursesVariablesBuilder categoryId(String? t) { + _categoryId.value = t; + return this; + } + FilterCoursesVariablesBuilder isCertification(bool? t) { + _isCertification.value = t; + return this; + } + FilterCoursesVariablesBuilder levelRequired(String? t) { + _levelRequired.value = t; + return this; + } + FilterCoursesVariablesBuilder completed(bool? t) { + _completed.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterCourses() +.categoryId(categoryId) +.isCertification(isCertification) +.levelRequired(levelRequired) +.completed(completed) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterCourses(); +filterCoursesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterCourses().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listCustomRateCards +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listCustomRateCards().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listCustomRateCards(); +listCustomRateCardsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listCustomRateCards().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getCustomRateCardById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getCustomRateCardById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getCustomRateCardById( + id: id, +); +getCustomRateCardByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getCustomRateCardById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffAvailabilities +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listStaffAvailabilities().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffAvailabilities, we created `listStaffAvailabilitiesBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffAvailabilitiesVariablesBuilder { + ... + + ListStaffAvailabilitiesVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffAvailabilitiesVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffAvailabilities() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffAvailabilities(); +listStaffAvailabilitiesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listStaffAvailabilities().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffAvailabilitiesByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.listStaffAvailabilitiesByStaffId( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffAvailabilitiesByStaffId, we created `listStaffAvailabilitiesByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffAvailabilitiesByStaffIdVariablesBuilder { + ... + ListStaffAvailabilitiesByStaffIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffAvailabilitiesByStaffIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffAvailabilitiesByStaffId( + staffId: staffId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffAvailabilitiesByStaffId( + staffId: staffId, +); +listStaffAvailabilitiesByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.listStaffAvailabilitiesByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getStaffAvailabilityByKey +#### Required Arguments +```dart +String staffId = ...; +DayOfWeek day = ...; +AvailabilitySlot slot = ...; +ExampleConnector.instance.getStaffAvailabilityByKey( + staffId: staffId, + day: day, + slot: slot, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getStaffAvailabilityByKey( + staffId: staffId, + day: day, + slot: slot, +); +getStaffAvailabilityByKeyData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +DayOfWeek day = ...; +AvailabilitySlot slot = ...; + +final ref = ExampleConnector.instance.getStaffAvailabilityByKey( + staffId: staffId, + day: day, + slot: slot, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffAvailabilitiesByDay +#### Required Arguments +```dart +DayOfWeek day = ...; +ExampleConnector.instance.listStaffAvailabilitiesByDay( + day: day, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffAvailabilitiesByDay, we created `listStaffAvailabilitiesByDayBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffAvailabilitiesByDayVariablesBuilder { + ... + ListStaffAvailabilitiesByDayVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffAvailabilitiesByDayVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffAvailabilitiesByDay( + day: day, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffAvailabilitiesByDay( + day: day, +); +listStaffAvailabilitiesByDayData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +DayOfWeek day = ...; + +final ref = ExampleConnector.instance.listStaffAvailabilitiesByDay( + day: day, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listUsers +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listUsers().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listUsers(); +listUsersData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listUsers().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getUserById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getUserById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getUserById( + id: id, +); +getUserByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getUserById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterUsers +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterUsers().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterUsers, we created `filterUsersBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterUsersVariablesBuilder { + ... + + FilterUsersVariablesBuilder id(String? t) { + _id.value = t; + return this; + } + FilterUsersVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + FilterUsersVariablesBuilder role(UserBaseRole? t) { + _role.value = t; + return this; + } + FilterUsersVariablesBuilder userRole(String? t) { + _userRole.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterUsers() +.id(id) +.email(email) +.role(role) +.userRole(userRole) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterUsers(); +filterUsersData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterUsers().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listActivityLogs +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listActivityLogs().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listActivityLogs, we created `listActivityLogsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListActivityLogsVariablesBuilder { + ... + + ListActivityLogsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListActivityLogsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listActivityLogs() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listActivityLogs(); +listActivityLogsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listActivityLogs().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getActivityLogById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getActivityLogById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getActivityLogById( + id: id, +); +getActivityLogByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getActivityLogById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listActivityLogsByUserId +#### Required Arguments +```dart +String userId = ...; +ExampleConnector.instance.listActivityLogsByUserId( + userId: userId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listActivityLogsByUserId, we created `listActivityLogsByUserIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListActivityLogsByUserIdVariablesBuilder { + ... + ListActivityLogsByUserIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListActivityLogsByUserIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listActivityLogsByUserId( + userId: userId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listActivityLogsByUserId( + userId: userId, +); +listActivityLogsByUserIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String userId = ...; + +final ref = ExampleConnector.instance.listActivityLogsByUserId( + userId: userId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listUnreadActivityLogsByUserId +#### Required Arguments +```dart +String userId = ...; +ExampleConnector.instance.listUnreadActivityLogsByUserId( + userId: userId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listUnreadActivityLogsByUserId, we created `listUnreadActivityLogsByUserIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListUnreadActivityLogsByUserIdVariablesBuilder { + ... + ListUnreadActivityLogsByUserIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListUnreadActivityLogsByUserIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listUnreadActivityLogsByUserId( + userId: userId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listUnreadActivityLogsByUserId( + userId: userId, +); +listUnreadActivityLogsByUserIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String userId = ...; + +final ref = ExampleConnector.instance.listUnreadActivityLogsByUserId( + userId: userId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterActivityLogs +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterActivityLogs().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterActivityLogs, we created `filterActivityLogsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterActivityLogsVariablesBuilder { + ... + + FilterActivityLogsVariablesBuilder userId(String? t) { + _userId.value = t; + return this; + } + FilterActivityLogsVariablesBuilder dateFrom(Timestamp? t) { + _dateFrom.value = t; + return this; + } + FilterActivityLogsVariablesBuilder dateTo(Timestamp? t) { + _dateTo.value = t; + return this; + } + FilterActivityLogsVariablesBuilder isRead(bool? t) { + _isRead.value = t; + return this; + } + FilterActivityLogsVariablesBuilder activityType(ActivityType? t) { + _activityType.value = t; + return this; + } + FilterActivityLogsVariablesBuilder iconType(ActivityIconType? t) { + _iconType.value = t; + return this; + } + FilterActivityLogsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + FilterActivityLogsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterActivityLogs() +.userId(userId) +.dateFrom(dateFrom) +.dateTo(dateTo) +.isRead(isRead) +.activityType(activityType) +.iconType(iconType) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterActivityLogs(); +filterActivityLogsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterActivityLogs().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listAttireOptions +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listAttireOptions().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listAttireOptions(); +listAttireOptionsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listAttireOptions().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getAttireOptionById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getAttireOptionById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getAttireOptionById( + id: id, +); +getAttireOptionByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getAttireOptionById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterAttireOptions +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterAttireOptions().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterAttireOptions, we created `filterAttireOptionsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterAttireOptionsVariablesBuilder { + ... + + FilterAttireOptionsVariablesBuilder itemId(String? t) { + _itemId.value = t; + return this; + } + FilterAttireOptionsVariablesBuilder isMandatory(bool? t) { + _isMandatory.value = t; + return this; + } + FilterAttireOptionsVariablesBuilder vendorId(String? t) { + _vendorId.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterAttireOptions() +.itemId(itemId) +.isMandatory(isMandatory) +.vendorId(vendorId) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterAttireOptions(); +filterAttireOptionsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterAttireOptions().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listRoleCategories +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listRoleCategories().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRoleCategories(); +listRoleCategoriesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listRoleCategories().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getRoleCategoryById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getRoleCategoryById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getRoleCategoryById( + id: id, +); +getRoleCategoryByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getRoleCategoryById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getRoleCategoriesByCategory +#### Required Arguments +```dart +RoleCategoryType category = ...; +ExampleConnector.instance.getRoleCategoriesByCategory( + category: category, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getRoleCategoriesByCategory( + category: category, +); +getRoleCategoriesByCategoryData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +RoleCategoryType category = ...; + +final ref = ExampleConnector.instance.getRoleCategoriesByCategory( + category: category, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listShifts +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listShifts().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listShifts, we created `listShiftsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListShiftsVariablesBuilder { + ... + + ListShiftsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListShiftsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listShifts() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listShifts(); +listShiftsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listShifts().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getShiftById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getShiftById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getShiftById( + id: id, +); +getShiftByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getShiftById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterShifts +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterShifts().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterShifts, we created `filterShiftsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterShiftsVariablesBuilder { + ... + + FilterShiftsVariablesBuilder status(ShiftStatus? t) { + _status.value = t; + return this; + } + FilterShiftsVariablesBuilder orderId(String? t) { + _orderId.value = t; + return this; + } + FilterShiftsVariablesBuilder dateFrom(Timestamp? t) { + _dateFrom.value = t; + return this; + } + FilterShiftsVariablesBuilder dateTo(Timestamp? t) { + _dateTo.value = t; + return this; + } + FilterShiftsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + FilterShiftsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterShifts() +.status(status) +.orderId(orderId) +.dateFrom(dateFrom) +.dateTo(dateTo) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterShifts(); +filterShiftsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterShifts().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getShiftsByBusinessId +#### Required Arguments +```dart +String businessId = ...; +ExampleConnector.instance.getShiftsByBusinessId( + businessId: businessId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For getShiftsByBusinessId, we created `getShiftsByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class GetShiftsByBusinessIdVariablesBuilder { + ... + GetShiftsByBusinessIdVariablesBuilder dateFrom(Timestamp? t) { + _dateFrom.value = t; + return this; + } + GetShiftsByBusinessIdVariablesBuilder dateTo(Timestamp? t) { + _dateTo.value = t; + return this; + } + GetShiftsByBusinessIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + GetShiftsByBusinessIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.getShiftsByBusinessId( + businessId: businessId, +) +.dateFrom(dateFrom) +.dateTo(dateTo) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getShiftsByBusinessId( + businessId: businessId, +); +getShiftsByBusinessIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String businessId = ...; + +final ref = ExampleConnector.instance.getShiftsByBusinessId( + businessId: businessId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getShiftsByVendorId +#### Required Arguments +```dart +String vendorId = ...; +ExampleConnector.instance.getShiftsByVendorId( + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For getShiftsByVendorId, we created `getShiftsByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class GetShiftsByVendorIdVariablesBuilder { + ... + GetShiftsByVendorIdVariablesBuilder dateFrom(Timestamp? t) { + _dateFrom.value = t; + return this; + } + GetShiftsByVendorIdVariablesBuilder dateTo(Timestamp? t) { + _dateTo.value = t; + return this; + } + GetShiftsByVendorIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + GetShiftsByVendorIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.getShiftsByVendorId( + vendorId: vendorId, +) +.dateFrom(dateFrom) +.dateTo(dateTo) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getShiftsByVendorId( + vendorId: vendorId, +); +getShiftsByVendorIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; + +final ref = ExampleConnector.instance.getShiftsByVendorId( + vendorId: vendorId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getVendorById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getVendorById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getVendorById( + id: id, +); +getVendorByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getVendorById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getVendorByUserId +#### Required Arguments +```dart +String userId = ...; +ExampleConnector.instance.getVendorByUserId( + userId: userId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getVendorByUserId( + userId: userId, +); +getVendorByUserIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String userId = ...; + +final ref = ExampleConnector.instance.getVendorByUserId( + userId: userId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listVendors +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listVendors().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listVendors(); +listVendorsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listVendors().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + ### listBenefitsData #### Required Arguments ```dart @@ -12000,39 +12308,407 @@ ref.subscribe(...); ``` -### listStaffAvailabilities +### listEmergencyContacts #### Required Arguments ```dart // No required arguments -ExampleConnector.instance.listStaffAvailabilities().execute(); +ExampleConnector.instance.listEmergencyContacts().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listEmergencyContacts(); +listEmergencyContactsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listEmergencyContacts().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getEmergencyContactById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getEmergencyContactById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getEmergencyContactById( + id: id, +); +getEmergencyContactByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getEmergencyContactById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getEmergencyContactsByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.getEmergencyContactsByStaffId( + staffId: staffId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getEmergencyContactsByStaffId( + staffId: staffId, +); +getEmergencyContactsByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.getEmergencyContactsByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listVendorRates +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listVendorRates().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listVendorRates(); +listVendorRatesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listVendorRates().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getVendorRateById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getVendorRateById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getVendorRateById( + id: id, +); +getVendorRateByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getVendorRateById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listTasks +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listTasks().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listTasks(); +listTasksData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listTasks().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTaskById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getTaskById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTaskById( + id: id, +); +getTaskByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getTaskById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTasksByOwnerId +#### Required Arguments +```dart +String ownerId = ...; +ExampleConnector.instance.getTasksByOwnerId( + ownerId: ownerId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTasksByOwnerId( + ownerId: ownerId, +); +getTasksByOwnerIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String ownerId = ...; + +final ref = ExampleConnector.instance.getTasksByOwnerId( + ownerId: ownerId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterTasks +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterTasks().execute(); ``` #### Optional Arguments -We return a builder for each query. For listStaffAvailabilities, we created `listStaffAvailabilitiesBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For filterTasks, we created `filterTasksBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class ListStaffAvailabilitiesVariablesBuilder { +class FilterTasksVariablesBuilder { ... - ListStaffAvailabilitiesVariablesBuilder offset(int? t) { - _offset.value = t; + FilterTasksVariablesBuilder status(TaskStatus? t) { + _status.value = t; return this; } - ListStaffAvailabilitiesVariablesBuilder limit(int? t) { - _limit.value = t; + FilterTasksVariablesBuilder priority(TaskPriority? t) { + _priority.value = t; return this; } ... } -ExampleConnector.instance.listStaffAvailabilities() -.offset(offset) -.limit(limit) +ExampleConnector.instance.filterTasks() +.status(status) +.priority(priority) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -12047,8 +12723,8 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.listStaffAvailabilities(); -listStaffAvailabilitiesData data = result.data; +final result = await ExampleConnector.instance.filterTasks(); +filterTasksData data = result.data; final ref = result.ref; ``` @@ -12056,683 +12732,7 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -final ref = ExampleConnector.instance.listStaffAvailabilities().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffAvailabilitiesByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listStaffAvailabilitiesByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffAvailabilitiesByStaffId, we created `listStaffAvailabilitiesByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffAvailabilitiesByStaffIdVariablesBuilder { - ... - ListStaffAvailabilitiesByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffAvailabilitiesByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffAvailabilitiesByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffAvailabilitiesByStaffId( - staffId: staffId, -); -listStaffAvailabilitiesByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listStaffAvailabilitiesByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffAvailabilityByKey -#### Required Arguments -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; -ExampleConnector.instance.getStaffAvailabilityByKey( - staffId: staffId, - day: day, - slot: slot, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffAvailabilityByKey( - staffId: staffId, - day: day, - slot: slot, -); -getStaffAvailabilityByKeyData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; - -final ref = ExampleConnector.instance.getStaffAvailabilityByKey( - staffId: staffId, - day: day, - slot: slot, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffAvailabilitiesByDay -#### Required Arguments -```dart -DayOfWeek day = ...; -ExampleConnector.instance.listStaffAvailabilitiesByDay( - day: day, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffAvailabilitiesByDay, we created `listStaffAvailabilitiesByDayBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffAvailabilitiesByDayVariablesBuilder { - ... - ListStaffAvailabilitiesByDayVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffAvailabilitiesByDayVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffAvailabilitiesByDay( - day: day, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffAvailabilitiesByDay( - day: day, -); -listStaffAvailabilitiesByDayData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -DayOfWeek day = ...; - -final ref = ExampleConnector.instance.listStaffAvailabilitiesByDay( - day: day, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTeamMembers -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTeamMembers().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTeamMembers(); -listTeamMembersData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTeamMembers().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamMemberById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTeamMemberById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamMemberById( - id: id, -); -getTeamMemberByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTeamMemberById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamMembersByTeamId -#### Required Arguments -```dart -String teamId = ...; -ExampleConnector.instance.getTeamMembersByTeamId( - teamId: teamId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamMembersByTeamId( - teamId: teamId, -); -getTeamMembersByTeamIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamId = ...; - -final ref = ExampleConnector.instance.getTeamMembersByTeamId( - teamId: teamId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listVendorBenefitPlans -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listVendorBenefitPlans().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listVendorBenefitPlans, we created `listVendorBenefitPlansBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListVendorBenefitPlansVariablesBuilder { - ... - - ListVendorBenefitPlansVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListVendorBenefitPlansVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listVendorBenefitPlans() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listVendorBenefitPlans(); -listVendorBenefitPlansData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listVendorBenefitPlans().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getVendorBenefitPlanById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getVendorBenefitPlanById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getVendorBenefitPlanById( - id: id, -); -getVendorBenefitPlanByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getVendorBenefitPlanById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listVendorBenefitPlansByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listVendorBenefitPlansByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listVendorBenefitPlansByVendorId, we created `listVendorBenefitPlansByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListVendorBenefitPlansByVendorIdVariablesBuilder { - ... - ListVendorBenefitPlansByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListVendorBenefitPlansByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listVendorBenefitPlansByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listVendorBenefitPlansByVendorId( - vendorId: vendorId, -); -listVendorBenefitPlansByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listVendorBenefitPlansByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listActiveVendorBenefitPlansByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listActiveVendorBenefitPlansByVendorId, we created `listActiveVendorBenefitPlansByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListActiveVendorBenefitPlansByVendorIdVariablesBuilder { - ... - ListActiveVendorBenefitPlansByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListActiveVendorBenefitPlansByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( - vendorId: vendorId, -); -listActiveVendorBenefitPlansByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterVendorBenefitPlans -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterVendorBenefitPlans().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterVendorBenefitPlans, we created `filterVendorBenefitPlansBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterVendorBenefitPlansVariablesBuilder { - ... - - FilterVendorBenefitPlansVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - FilterVendorBenefitPlansVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - FilterVendorBenefitPlansVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - FilterVendorBenefitPlansVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterVendorBenefitPlansVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterVendorBenefitPlans() -.vendorId(vendorId) -.title(title) -.isActive(isActive) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterVendorBenefitPlans(); -filterVendorBenefitPlansData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterVendorBenefitPlans().ref(); +final ref = ExampleConnector.instance.filterTasks().ref(); ref.execute(); ref.subscribe(...); @@ -12740,40 +12740,37 @@ ref.subscribe(...); ## Mutations -### createDocument +### createFaqData #### Required Arguments ```dart -DocumentType documentType = ...; -String name = ...; -ExampleConnector.instance.createDocument( - documentType: documentType, - name: name, +String category = ...; +ExampleConnector.instance.createFaqData( + category: category, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For createDocument, we created `createDocumentBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For createFaqData, we created `createFaqDataBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class CreateDocumentVariablesBuilder { +class CreateFaqDataVariablesBuilder { ... - CreateDocumentVariablesBuilder description(String? t) { - _description.value = t; + CreateFaqDataVariablesBuilder questions(List? t) { + _questions.value = t; return this; } ... } -ExampleConnector.instance.createDocument( - documentType: documentType, - name: name, +ExampleConnector.instance.createFaqData( + category: category, ) -.description(description) +.questions(questions) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -12783,11 +12780,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.createDocument( - documentType: documentType, - name: name, +final result = await ExampleConnector.instance.createFaqData( + category: category, ); -createDocumentData data = result.data; +createFaqDataData data = result.data; final ref = result.ref; ``` @@ -12795,58 +12791,239 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -DocumentType documentType = ...; -String name = ...; +String category = ...; -final ref = ExampleConnector.instance.createDocument( - documentType: documentType, - name: name, +final ref = ExampleConnector.instance.createFaqData( + category: category, ).ref(); ref.execute(); ``` -### updateDocument +### updateFaqData #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.updateDocument( +ExampleConnector.instance.updateFaqData( id: id, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For updateDocument, we created `updateDocumentBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For updateFaqData, we created `updateFaqDataBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class UpdateDocumentVariablesBuilder { +class UpdateFaqDataVariablesBuilder { ... - UpdateDocumentVariablesBuilder documentType(DocumentType? t) { - _documentType.value = t; + UpdateFaqDataVariablesBuilder category(String? t) { + _category.value = t; return this; } - UpdateDocumentVariablesBuilder name(String? t) { + UpdateFaqDataVariablesBuilder questions(List? t) { + _questions.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateFaqData( + id: id, +) +.category(category) +.questions(questions) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateFaqData( + id: id, +); +updateFaqDataData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateFaqData( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteFaqData +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteFaqData( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteFaqData( + id: id, +); +deleteFaqDataData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteFaqData( + id: id, +).ref(); +ref.execute(); +``` + + +### createLevel +#### Required Arguments +```dart +String name = ...; +int xpRequired = ...; +ExampleConnector.instance.createLevel( + name: name, + xpRequired: xpRequired, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createLevel, we created `createLevelBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateLevelVariablesBuilder { + ... + CreateLevelVariablesBuilder icon(String? t) { + _icon.value = t; + return this; + } + CreateLevelVariablesBuilder colors(AnyValue? t) { + _colors.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createLevel( + name: name, + xpRequired: xpRequired, +) +.icon(icon) +.colors(colors) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createLevel( + name: name, + xpRequired: xpRequired, +); +createLevelData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String name = ...; +int xpRequired = ...; + +final ref = ExampleConnector.instance.createLevel( + name: name, + xpRequired: xpRequired, +).ref(); +ref.execute(); +``` + + +### updateLevel +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateLevel( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateLevel, we created `updateLevelBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateLevelVariablesBuilder { + ... + UpdateLevelVariablesBuilder name(String? t) { _name.value = t; return this; } - UpdateDocumentVariablesBuilder description(String? t) { - _description.value = t; + UpdateLevelVariablesBuilder xpRequired(int? t) { + _xpRequired.value = t; + return this; + } + UpdateLevelVariablesBuilder icon(String? t) { + _icon.value = t; + return this; + } + UpdateLevelVariablesBuilder colors(AnyValue? t) { + _colors.value = t; return this; } ... } -ExampleConnector.instance.updateDocument( +ExampleConnector.instance.updateLevel( id: id, ) -.documentType(documentType) .name(name) -.description(description) +.xpRequired(xpRequired) +.icon(icon) +.colors(colors) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -12856,10 +13033,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.updateDocument( +final result = await ExampleConnector.instance.updateLevel( id: id, ); -updateDocumentData data = result.data; +updateLevelData data = result.data; final ref = result.ref; ``` @@ -12869,18 +13046,18 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.updateDocument( +final ref = ExampleConnector.instance.updateLevel( id: id, ).ref(); ref.execute(); ``` -### deleteDocument +### deleteLevel #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.deleteDocument( +ExampleConnector.instance.deleteLevel( id: id, ).execute(); ``` @@ -12888,7 +13065,7 @@ ExampleConnector.instance.deleteDocument( #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -12898,10 +13075,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.deleteDocument( +final result = await ExampleConnector.instance.deleteLevel( id: id, ); -deleteDocumentData data = result.data; +deleteLevelData data = result.data; final ref = result.ref; ``` @@ -12911,7 +13088,394 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.deleteDocument( +final ref = ExampleConnector.instance.deleteLevel( + id: id, +).ref(); +ref.execute(); +``` + + +### createRole +#### Required Arguments +```dart +String name = ...; +double costPerHour = ...; +String vendorId = ...; +String roleCategoryId = ...; +ExampleConnector.instance.createRole( + name: name, + costPerHour: costPerHour, + vendorId: vendorId, + roleCategoryId: roleCategoryId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createRole( + name: name, + costPerHour: costPerHour, + vendorId: vendorId, + roleCategoryId: roleCategoryId, +); +createRoleData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String name = ...; +double costPerHour = ...; +String vendorId = ...; +String roleCategoryId = ...; + +final ref = ExampleConnector.instance.createRole( + name: name, + costPerHour: costPerHour, + vendorId: vendorId, + roleCategoryId: roleCategoryId, +).ref(); +ref.execute(); +``` + + +### updateRole +#### Required Arguments +```dart +String id = ...; +String roleCategoryId = ...; +ExampleConnector.instance.updateRole( + id: id, + roleCategoryId: roleCategoryId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateRole, we created `updateRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateRoleVariablesBuilder { + ... + UpdateRoleVariablesBuilder name(String? t) { + _name.value = t; + return this; + } + UpdateRoleVariablesBuilder costPerHour(double? t) { + _costPerHour.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateRole( + id: id, + roleCategoryId: roleCategoryId, +) +.name(name) +.costPerHour(costPerHour) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateRole( + id: id, + roleCategoryId: roleCategoryId, +); +updateRoleData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; +String roleCategoryId = ...; + +final ref = ExampleConnector.instance.updateRole( + id: id, + roleCategoryId: roleCategoryId, +).ref(); +ref.execute(); +``` + + +### deleteRole +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteRole( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteRole( + id: id, +); +deleteRoleData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteRole( + id: id, +).ref(); +ref.execute(); +``` + + +### createApplication +#### Required Arguments +```dart +String shiftId = ...; +String staffId = ...; +ApplicationStatus status = ...; +ApplicationOrigin origin = ...; +String roleId = ...; +ExampleConnector.instance.createApplication( + shiftId: shiftId, + staffId: staffId, + status: status, + origin: origin, + roleId: roleId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createApplication, we created `createApplicationBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateApplicationVariablesBuilder { + ... + CreateApplicationVariablesBuilder checkInTime(Timestamp? t) { + _checkInTime.value = t; + return this; + } + CreateApplicationVariablesBuilder checkOutTime(Timestamp? t) { + _checkOutTime.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createApplication( + shiftId: shiftId, + staffId: staffId, + status: status, + origin: origin, + roleId: roleId, +) +.checkInTime(checkInTime) +.checkOutTime(checkOutTime) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createApplication( + shiftId: shiftId, + staffId: staffId, + status: status, + origin: origin, + roleId: roleId, +); +createApplicationData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String shiftId = ...; +String staffId = ...; +ApplicationStatus status = ...; +ApplicationOrigin origin = ...; +String roleId = ...; + +final ref = ExampleConnector.instance.createApplication( + shiftId: shiftId, + staffId: staffId, + status: status, + origin: origin, + roleId: roleId, +).ref(); +ref.execute(); +``` + + +### updateApplicationStatus +#### Required Arguments +```dart +String id = ...; +String roleId = ...; +ExampleConnector.instance.updateApplicationStatus( + id: id, + roleId: roleId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateApplicationStatus, we created `updateApplicationStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateApplicationStatusVariablesBuilder { + ... + UpdateApplicationStatusVariablesBuilder shiftId(String? t) { + _shiftId.value = t; + return this; + } + UpdateApplicationStatusVariablesBuilder staffId(String? t) { + _staffId.value = t; + return this; + } + UpdateApplicationStatusVariablesBuilder status(ApplicationStatus? t) { + _status.value = t; + return this; + } + UpdateApplicationStatusVariablesBuilder checkInTime(Timestamp? t) { + _checkInTime.value = t; + return this; + } + UpdateApplicationStatusVariablesBuilder checkOutTime(Timestamp? t) { + _checkOutTime.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateApplicationStatus( + id: id, + roleId: roleId, +) +.shiftId(shiftId) +.staffId(staffId) +.status(status) +.checkInTime(checkInTime) +.checkOutTime(checkOutTime) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateApplicationStatus( + id: id, + roleId: roleId, +); +updateApplicationStatusData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; +String roleId = ...; + +final ref = ExampleConnector.instance.updateApplicationStatus( + id: id, + roleId: roleId, +).ref(); +ref.execute(); +``` + + +### deleteApplication +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteApplication( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteApplication( + id: id, +); +deleteApplicationData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteApplication( id: id, ).ref(); ref.execute(); @@ -13196,6 +13760,1247 @@ ref.execute(); ``` +### CreateAssignment +#### Required Arguments +```dart +String workforceId = ...; +String roleId = ...; +String shiftId = ...; +ExampleConnector.instance.createAssignment( + workforceId: workforceId, + roleId: roleId, + shiftId: shiftId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For CreateAssignment, we created `CreateAssignmentBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateAssignmentVariablesBuilder { + ... + CreateAssignmentVariablesBuilder title(String? t) { + _title.value = t; + return this; + } + CreateAssignmentVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + CreateAssignmentVariablesBuilder instructions(String? t) { + _instructions.value = t; + return this; + } + CreateAssignmentVariablesBuilder status(AssignmentStatus? t) { + _status.value = t; + return this; + } + CreateAssignmentVariablesBuilder tipsAvailable(bool? t) { + _tipsAvailable.value = t; + return this; + } + CreateAssignmentVariablesBuilder travelTime(bool? t) { + _travelTime.value = t; + return this; + } + CreateAssignmentVariablesBuilder mealProvided(bool? t) { + _mealProvided.value = t; + return this; + } + CreateAssignmentVariablesBuilder parkingAvailable(bool? t) { + _parkingAvailable.value = t; + return this; + } + CreateAssignmentVariablesBuilder gasCompensation(bool? t) { + _gasCompensation.value = t; + return this; + } + CreateAssignmentVariablesBuilder managers(List? t) { + _managers.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createAssignment( + workforceId: workforceId, + roleId: roleId, + shiftId: shiftId, +) +.title(title) +.description(description) +.instructions(instructions) +.status(status) +.tipsAvailable(tipsAvailable) +.travelTime(travelTime) +.mealProvided(mealProvided) +.parkingAvailable(parkingAvailable) +.gasCompensation(gasCompensation) +.managers(managers) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createAssignment( + workforceId: workforceId, + roleId: roleId, + shiftId: shiftId, +); +CreateAssignmentData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String workforceId = ...; +String roleId = ...; +String shiftId = ...; + +final ref = ExampleConnector.instance.createAssignment( + workforceId: workforceId, + roleId: roleId, + shiftId: shiftId, +).ref(); +ref.execute(); +``` + + +### UpdateAssignment +#### Required Arguments +```dart +String id = ...; +String roleId = ...; +String shiftId = ...; +ExampleConnector.instance.updateAssignment( + id: id, + roleId: roleId, + shiftId: shiftId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For UpdateAssignment, we created `UpdateAssignmentBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateAssignmentVariablesBuilder { + ... + UpdateAssignmentVariablesBuilder title(String? t) { + _title.value = t; + return this; + } + UpdateAssignmentVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + UpdateAssignmentVariablesBuilder instructions(String? t) { + _instructions.value = t; + return this; + } + UpdateAssignmentVariablesBuilder status(AssignmentStatus? t) { + _status.value = t; + return this; + } + UpdateAssignmentVariablesBuilder tipsAvailable(bool? t) { + _tipsAvailable.value = t; + return this; + } + UpdateAssignmentVariablesBuilder travelTime(bool? t) { + _travelTime.value = t; + return this; + } + UpdateAssignmentVariablesBuilder mealProvided(bool? t) { + _mealProvided.value = t; + return this; + } + UpdateAssignmentVariablesBuilder parkingAvailable(bool? t) { + _parkingAvailable.value = t; + return this; + } + UpdateAssignmentVariablesBuilder gasCompensation(bool? t) { + _gasCompensation.value = t; + return this; + } + UpdateAssignmentVariablesBuilder managers(List? t) { + _managers.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateAssignment( + id: id, + roleId: roleId, + shiftId: shiftId, +) +.title(title) +.description(description) +.instructions(instructions) +.status(status) +.tipsAvailable(tipsAvailable) +.travelTime(travelTime) +.mealProvided(mealProvided) +.parkingAvailable(parkingAvailable) +.gasCompensation(gasCompensation) +.managers(managers) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateAssignment( + id: id, + roleId: roleId, + shiftId: shiftId, +); +UpdateAssignmentData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; +String roleId = ...; +String shiftId = ...; + +final ref = ExampleConnector.instance.updateAssignment( + id: id, + roleId: roleId, + shiftId: shiftId, +).ref(); +ref.execute(); +``` + + +### DeleteAssignment +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteAssignment( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteAssignment( + id: id, +); +DeleteAssignmentData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteAssignment( + id: id, +).ref(); +ref.execute(); +``` + + +### createAttireOption +#### Required Arguments +```dart +String itemId = ...; +String label = ...; +ExampleConnector.instance.createAttireOption( + itemId: itemId, + label: label, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createAttireOption, we created `createAttireOptionBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateAttireOptionVariablesBuilder { + ... + CreateAttireOptionVariablesBuilder icon(String? t) { + _icon.value = t; + return this; + } + CreateAttireOptionVariablesBuilder imageUrl(String? t) { + _imageUrl.value = t; + return this; + } + CreateAttireOptionVariablesBuilder isMandatory(bool? t) { + _isMandatory.value = t; + return this; + } + CreateAttireOptionVariablesBuilder vendorId(String? t) { + _vendorId.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createAttireOption( + itemId: itemId, + label: label, +) +.icon(icon) +.imageUrl(imageUrl) +.isMandatory(isMandatory) +.vendorId(vendorId) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createAttireOption( + itemId: itemId, + label: label, +); +createAttireOptionData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String itemId = ...; +String label = ...; + +final ref = ExampleConnector.instance.createAttireOption( + itemId: itemId, + label: label, +).ref(); +ref.execute(); +``` + + +### updateAttireOption +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateAttireOption( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateAttireOption, we created `updateAttireOptionBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateAttireOptionVariablesBuilder { + ... + UpdateAttireOptionVariablesBuilder itemId(String? t) { + _itemId.value = t; + return this; + } + UpdateAttireOptionVariablesBuilder label(String? t) { + _label.value = t; + return this; + } + UpdateAttireOptionVariablesBuilder icon(String? t) { + _icon.value = t; + return this; + } + UpdateAttireOptionVariablesBuilder imageUrl(String? t) { + _imageUrl.value = t; + return this; + } + UpdateAttireOptionVariablesBuilder isMandatory(bool? t) { + _isMandatory.value = t; + return this; + } + UpdateAttireOptionVariablesBuilder vendorId(String? t) { + _vendorId.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateAttireOption( + id: id, +) +.itemId(itemId) +.label(label) +.icon(icon) +.imageUrl(imageUrl) +.isMandatory(isMandatory) +.vendorId(vendorId) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateAttireOption( + id: id, +); +updateAttireOptionData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateAttireOption( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteAttireOption +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteAttireOption( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteAttireOption( + id: id, +); +deleteAttireOptionData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteAttireOption( + id: id, +).ref(); +ref.execute(); +``` + + +### createRoleCategory +#### Required Arguments +```dart +String roleName = ...; +RoleCategoryType category = ...; +ExampleConnector.instance.createRoleCategory( + roleName: roleName, + category: category, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createRoleCategory( + roleName: roleName, + category: category, +); +createRoleCategoryData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String roleName = ...; +RoleCategoryType category = ...; + +final ref = ExampleConnector.instance.createRoleCategory( + roleName: roleName, + category: category, +).ref(); +ref.execute(); +``` + + +### updateRoleCategory +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateRoleCategory( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateRoleCategory, we created `updateRoleCategoryBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateRoleCategoryVariablesBuilder { + ... + UpdateRoleCategoryVariablesBuilder roleName(String? t) { + _roleName.value = t; + return this; + } + UpdateRoleCategoryVariablesBuilder category(RoleCategoryType? t) { + _category.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateRoleCategory( + id: id, +) +.roleName(roleName) +.category(category) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateRoleCategory( + id: id, +); +updateRoleCategoryData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateRoleCategory( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteRoleCategory +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteRoleCategory( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteRoleCategory( + id: id, +); +deleteRoleCategoryData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteRoleCategory( + id: id, +).ref(); +ref.execute(); +``` + + +### createStaffAvailabilityStats +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.createStaffAvailabilityStats( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createStaffAvailabilityStats, we created `createStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateStaffAvailabilityStatsVariablesBuilder { + ... + CreateStaffAvailabilityStatsVariablesBuilder needWorkIndex(int? t) { + _needWorkIndex.value = t; + return this; + } + CreateStaffAvailabilityStatsVariablesBuilder utilizationPercentage(int? t) { + _utilizationPercentage.value = t; + return this; + } + CreateStaffAvailabilityStatsVariablesBuilder predictedAvailabilityScore(int? t) { + _predictedAvailabilityScore.value = t; + return this; + } + CreateStaffAvailabilityStatsVariablesBuilder scheduledHoursThisPeriod(int? t) { + _scheduledHoursThisPeriod.value = t; + return this; + } + CreateStaffAvailabilityStatsVariablesBuilder desiredHoursThisPeriod(int? t) { + _desiredHoursThisPeriod.value = t; + return this; + } + CreateStaffAvailabilityStatsVariablesBuilder lastShiftDate(Timestamp? t) { + _lastShiftDate.value = t; + return this; + } + CreateStaffAvailabilityStatsVariablesBuilder acceptanceRate(int? t) { + _acceptanceRate.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createStaffAvailabilityStats( + staffId: staffId, +) +.needWorkIndex(needWorkIndex) +.utilizationPercentage(utilizationPercentage) +.predictedAvailabilityScore(predictedAvailabilityScore) +.scheduledHoursThisPeriod(scheduledHoursThisPeriod) +.desiredHoursThisPeriod(desiredHoursThisPeriod) +.lastShiftDate(lastShiftDate) +.acceptanceRate(acceptanceRate) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createStaffAvailabilityStats( + staffId: staffId, +); +createStaffAvailabilityStatsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.createStaffAvailabilityStats( + staffId: staffId, +).ref(); +ref.execute(); +``` + + +### updateStaffAvailabilityStats +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.updateStaffAvailabilityStats( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateStaffAvailabilityStats, we created `updateStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateStaffAvailabilityStatsVariablesBuilder { + ... + UpdateStaffAvailabilityStatsVariablesBuilder needWorkIndex(int? t) { + _needWorkIndex.value = t; + return this; + } + UpdateStaffAvailabilityStatsVariablesBuilder utilizationPercentage(int? t) { + _utilizationPercentage.value = t; + return this; + } + UpdateStaffAvailabilityStatsVariablesBuilder predictedAvailabilityScore(int? t) { + _predictedAvailabilityScore.value = t; + return this; + } + UpdateStaffAvailabilityStatsVariablesBuilder scheduledHoursThisPeriod(int? t) { + _scheduledHoursThisPeriod.value = t; + return this; + } + UpdateStaffAvailabilityStatsVariablesBuilder desiredHoursThisPeriod(int? t) { + _desiredHoursThisPeriod.value = t; + return this; + } + UpdateStaffAvailabilityStatsVariablesBuilder lastShiftDate(Timestamp? t) { + _lastShiftDate.value = t; + return this; + } + UpdateStaffAvailabilityStatsVariablesBuilder acceptanceRate(int? t) { + _acceptanceRate.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateStaffAvailabilityStats( + staffId: staffId, +) +.needWorkIndex(needWorkIndex) +.utilizationPercentage(utilizationPercentage) +.predictedAvailabilityScore(predictedAvailabilityScore) +.scheduledHoursThisPeriod(scheduledHoursThisPeriod) +.desiredHoursThisPeriod(desiredHoursThisPeriod) +.lastShiftDate(lastShiftDate) +.acceptanceRate(acceptanceRate) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateStaffAvailabilityStats( + staffId: staffId, +); +updateStaffAvailabilityStatsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.updateStaffAvailabilityStats( + staffId: staffId, +).ref(); +ref.execute(); +``` + + +### deleteStaffAvailabilityStats +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.deleteStaffAvailabilityStats( + staffId: staffId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteStaffAvailabilityStats( + staffId: staffId, +); +deleteStaffAvailabilityStatsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.deleteStaffAvailabilityStats( + staffId: staffId, +).ref(); +ref.execute(); +``` + + +### CreateUser +#### Required Arguments +```dart +String id = ...; +UserBaseRole role = ...; +ExampleConnector.instance.createUser( + id: id, + role: role, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For CreateUser, we created `CreateUserBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateUserVariablesBuilder { + ... + CreateUserVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + CreateUserVariablesBuilder fullName(String? t) { + _fullName.value = t; + return this; + } + CreateUserVariablesBuilder userRole(String? t) { + _userRole.value = t; + return this; + } + CreateUserVariablesBuilder photoUrl(String? t) { + _photoUrl.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createUser( + id: id, + role: role, +) +.email(email) +.fullName(fullName) +.userRole(userRole) +.photoUrl(photoUrl) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createUser( + id: id, + role: role, +); +CreateUserData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; +UserBaseRole role = ...; + +final ref = ExampleConnector.instance.createUser( + id: id, + role: role, +).ref(); +ref.execute(); +``` + + +### UpdateUser +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateUser( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For UpdateUser, we created `UpdateUserBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateUserVariablesBuilder { + ... + UpdateUserVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + UpdateUserVariablesBuilder fullName(String? t) { + _fullName.value = t; + return this; + } + UpdateUserVariablesBuilder role(UserBaseRole? t) { + _role.value = t; + return this; + } + UpdateUserVariablesBuilder userRole(String? t) { + _userRole.value = t; + return this; + } + UpdateUserVariablesBuilder photoUrl(String? t) { + _photoUrl.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateUser( + id: id, +) +.email(email) +.fullName(fullName) +.role(role) +.userRole(userRole) +.photoUrl(photoUrl) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateUser( + id: id, +); +UpdateUserData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateUser( + id: id, +).ref(); +ref.execute(); +``` + + +### DeleteUser +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteUser( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteUser( + id: id, +); +DeleteUserData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteUser( + id: id, +).ref(); +ref.execute(); +``` + + +### createCategory +#### Required Arguments +```dart +String categoryId = ...; +String label = ...; +ExampleConnector.instance.createCategory( + categoryId: categoryId, + label: label, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createCategory, we created `createCategoryBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateCategoryVariablesBuilder { + ... + CreateCategoryVariablesBuilder icon(String? t) { + _icon.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createCategory( + categoryId: categoryId, + label: label, +) +.icon(icon) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createCategory( + categoryId: categoryId, + label: label, +); +createCategoryData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String categoryId = ...; +String label = ...; + +final ref = ExampleConnector.instance.createCategory( + categoryId: categoryId, + label: label, +).ref(); +ref.execute(); +``` + + +### updateCategory +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateCategory( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateCategory, we created `updateCategoryBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateCategoryVariablesBuilder { + ... + UpdateCategoryVariablesBuilder categoryId(String? t) { + _categoryId.value = t; + return this; + } + UpdateCategoryVariablesBuilder label(String? t) { + _label.value = t; + return this; + } + UpdateCategoryVariablesBuilder icon(String? t) { + _icon.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateCategory( + id: id, +) +.categoryId(categoryId) +.label(label) +.icon(icon) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateCategory( + id: id, +); +updateCategoryData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateCategory( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteCategory +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteCategory( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteCategory( + id: id, +); +deleteCategoryData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteCategory( + id: id, +).ref(); +ref.execute(); +``` + + ### createInvoice #### Required Arguments ```dart @@ -13555,72 +15360,43 @@ ref.execute(); ``` -### createVendorRate +### createWorkforce #### Required Arguments ```dart String vendorId = ...; -ExampleConnector.instance.createVendorRate( +String staffId = ...; +String workforceNumber = ...; +ExampleConnector.instance.createWorkforce( vendorId: vendorId, + staffId: staffId, + workforceNumber: workforceNumber, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For createVendorRate, we created `createVendorRateBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For createWorkforce, we created `createWorkforceBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class CreateVendorRateVariablesBuilder { +class CreateWorkforceVariablesBuilder { ... - CreateVendorRateVariablesBuilder roleName(String? t) { - _roleName.value = t; - return this; - } - CreateVendorRateVariablesBuilder category(CategoryType? t) { - _category.value = t; - return this; - } - CreateVendorRateVariablesBuilder clientRate(double? t) { - _clientRate.value = t; - return this; - } - CreateVendorRateVariablesBuilder employeeWage(double? t) { - _employeeWage.value = t; - return this; - } - CreateVendorRateVariablesBuilder markupPercentage(double? t) { - _markupPercentage.value = t; - return this; - } - CreateVendorRateVariablesBuilder vendorFeePercentage(double? t) { - _vendorFeePercentage.value = t; - return this; - } - CreateVendorRateVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateVendorRateVariablesBuilder notes(String? t) { - _notes.value = t; + CreateWorkforceVariablesBuilder employmentType(WorkforceEmploymentType? t) { + _employmentType.value = t; return this; } ... } -ExampleConnector.instance.createVendorRate( +ExampleConnector.instance.createWorkforce( vendorId: vendorId, + staffId: staffId, + workforceNumber: workforceNumber, ) -.roleName(roleName) -.category(category) -.clientRate(clientRate) -.employeeWage(employeeWage) -.markupPercentage(markupPercentage) -.vendorFeePercentage(vendorFeePercentage) -.isActive(isActive) -.notes(notes) +.employmentType(employmentType) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -13630,10 +15406,12 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.createVendorRate( +final result = await ExampleConnector.instance.createWorkforce( vendorId: vendorId, + staffId: staffId, + workforceNumber: workforceNumber, ); -createVendorRateData data = result.data; +createWorkforceData data = result.data; final ref = result.ref; ``` @@ -13642,85 +15420,59 @@ Each builder returns an `execute` function, which is a helper function that crea An example of how to use the `Ref` object is shown below: ```dart String vendorId = ...; +String staffId = ...; +String workforceNumber = ...; -final ref = ExampleConnector.instance.createVendorRate( +final ref = ExampleConnector.instance.createWorkforce( vendorId: vendorId, + staffId: staffId, + workforceNumber: workforceNumber, ).ref(); ref.execute(); ``` -### updateVendorRate +### updateWorkforce #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.updateVendorRate( +ExampleConnector.instance.updateWorkforce( id: id, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For updateVendorRate, we created `updateVendorRateBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For updateWorkforce, we created `updateWorkforceBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class UpdateVendorRateVariablesBuilder { +class UpdateWorkforceVariablesBuilder { ... - UpdateVendorRateVariablesBuilder vendorId(String? t) { - _vendorId.value = t; + UpdateWorkforceVariablesBuilder workforceNumber(String? t) { + _workforceNumber.value = t; return this; } - UpdateVendorRateVariablesBuilder roleName(String? t) { - _roleName.value = t; + UpdateWorkforceVariablesBuilder employmentType(WorkforceEmploymentType? t) { + _employmentType.value = t; return this; } - UpdateVendorRateVariablesBuilder category(CategoryType? t) { - _category.value = t; - return this; - } - UpdateVendorRateVariablesBuilder clientRate(double? t) { - _clientRate.value = t; - return this; - } - UpdateVendorRateVariablesBuilder employeeWage(double? t) { - _employeeWage.value = t; - return this; - } - UpdateVendorRateVariablesBuilder markupPercentage(double? t) { - _markupPercentage.value = t; - return this; - } - UpdateVendorRateVariablesBuilder vendorFeePercentage(double? t) { - _vendorFeePercentage.value = t; - return this; - } - UpdateVendorRateVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateVendorRateVariablesBuilder notes(String? t) { - _notes.value = t; + UpdateWorkforceVariablesBuilder status(WorkforceStatus? t) { + _status.value = t; return this; } ... } -ExampleConnector.instance.updateVendorRate( +ExampleConnector.instance.updateWorkforce( id: id, ) -.vendorId(vendorId) -.roleName(roleName) -.category(category) -.clientRate(clientRate) -.employeeWage(employeeWage) -.markupPercentage(markupPercentage) -.vendorFeePercentage(vendorFeePercentage) -.isActive(isActive) -.notes(notes) +.workforceNumber(workforceNumber) +.employmentType(employmentType) +.status(status) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -13730,10 +15482,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.updateVendorRate( +final result = await ExampleConnector.instance.updateWorkforce( id: id, ); -updateVendorRateData data = result.data; +updateWorkforceData data = result.data; final ref = result.ref; ``` @@ -13743,18 +15495,18 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.updateVendorRate( +final ref = ExampleConnector.instance.updateWorkforce( id: id, ).ref(); ref.execute(); ``` -### deleteVendorRate +### deactivateWorkforce #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.deleteVendorRate( +ExampleConnector.instance.deactivateWorkforce( id: id, ).execute(); ``` @@ -13762,7 +15514,7 @@ ExampleConnector.instance.deleteVendorRate( #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -13772,10 +15524,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.deleteVendorRate( +final result = await ExampleConnector.instance.deactivateWorkforce( id: id, ); -deleteVendorRateData data = result.data; +deactivateWorkforceData data = result.data; final ref = result.ref; ``` @@ -13785,7 +15537,7 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.deleteVendorRate( +final ref = ExampleConnector.instance.deactivateWorkforce( id: id, ).ref(); ref.execute(); @@ -14000,2415 +15752,6 @@ ref.execute(); ``` -### createTeam -#### Required Arguments -```dart -String teamName = ...; -String ownerId = ...; -String ownerName = ...; -String ownerRole = ...; -ExampleConnector.instance.createTeam( - teamName: teamName, - ownerId: ownerId, - ownerName: ownerName, - ownerRole: ownerRole, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTeam, we created `createTeamBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTeamVariablesBuilder { - ... - CreateTeamVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateTeamVariablesBuilder companyLogo(String? t) { - _companyLogo.value = t; - return this; - } - CreateTeamVariablesBuilder totalMembers(int? t) { - _totalMembers.value = t; - return this; - } - CreateTeamVariablesBuilder activeMembers(int? t) { - _activeMembers.value = t; - return this; - } - CreateTeamVariablesBuilder totalHubs(int? t) { - _totalHubs.value = t; - return this; - } - CreateTeamVariablesBuilder departments(AnyValue? t) { - _departments.value = t; - return this; - } - CreateTeamVariablesBuilder favoriteStaffCount(int? t) { - _favoriteStaffCount.value = t; - return this; - } - CreateTeamVariablesBuilder blockedStaffCount(int? t) { - _blockedStaffCount.value = t; - return this; - } - CreateTeamVariablesBuilder favoriteStaff(AnyValue? t) { - _favoriteStaff.value = t; - return this; - } - CreateTeamVariablesBuilder blockedStaff(AnyValue? t) { - _blockedStaff.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTeam( - teamName: teamName, - ownerId: ownerId, - ownerName: ownerName, - ownerRole: ownerRole, -) -.email(email) -.companyLogo(companyLogo) -.totalMembers(totalMembers) -.activeMembers(activeMembers) -.totalHubs(totalHubs) -.departments(departments) -.favoriteStaffCount(favoriteStaffCount) -.blockedStaffCount(blockedStaffCount) -.favoriteStaff(favoriteStaff) -.blockedStaff(blockedStaff) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTeam( - teamName: teamName, - ownerId: ownerId, - ownerName: ownerName, - ownerRole: ownerRole, -); -createTeamData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamName = ...; -String ownerId = ...; -String ownerName = ...; -String ownerRole = ...; - -final ref = ExampleConnector.instance.createTeam( - teamName: teamName, - ownerId: ownerId, - ownerName: ownerName, - ownerRole: ownerRole, -).ref(); -ref.execute(); -``` - - -### updateTeam -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTeam( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTeam, we created `updateTeamBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTeamVariablesBuilder { - ... - UpdateTeamVariablesBuilder teamName(String? t) { - _teamName.value = t; - return this; - } - UpdateTeamVariablesBuilder ownerName(String? t) { - _ownerName.value = t; - return this; - } - UpdateTeamVariablesBuilder ownerRole(String? t) { - _ownerRole.value = t; - return this; - } - UpdateTeamVariablesBuilder companyLogo(String? t) { - _companyLogo.value = t; - return this; - } - UpdateTeamVariablesBuilder totalMembers(int? t) { - _totalMembers.value = t; - return this; - } - UpdateTeamVariablesBuilder activeMembers(int? t) { - _activeMembers.value = t; - return this; - } - UpdateTeamVariablesBuilder totalHubs(int? t) { - _totalHubs.value = t; - return this; - } - UpdateTeamVariablesBuilder departments(AnyValue? t) { - _departments.value = t; - return this; - } - UpdateTeamVariablesBuilder favoriteStaffCount(int? t) { - _favoriteStaffCount.value = t; - return this; - } - UpdateTeamVariablesBuilder blockedStaffCount(int? t) { - _blockedStaffCount.value = t; - return this; - } - UpdateTeamVariablesBuilder favoriteStaff(AnyValue? t) { - _favoriteStaff.value = t; - return this; - } - UpdateTeamVariablesBuilder blockedStaff(AnyValue? t) { - _blockedStaff.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTeam( - id: id, -) -.teamName(teamName) -.ownerName(ownerName) -.ownerRole(ownerRole) -.companyLogo(companyLogo) -.totalMembers(totalMembers) -.activeMembers(activeMembers) -.totalHubs(totalHubs) -.departments(departments) -.favoriteStaffCount(favoriteStaffCount) -.blockedStaffCount(blockedStaffCount) -.favoriteStaff(favoriteStaff) -.blockedStaff(blockedStaff) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTeam( - id: id, -); -updateTeamData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTeam( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteTeam -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTeam( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTeam( - id: id, -); -deleteTeamData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTeam( - id: id, -).ref(); -ref.execute(); -``` - - -### createVendor -#### Required Arguments -```dart -String userId = ...; -String companyName = ...; -ExampleConnector.instance.createVendor( - userId: userId, - companyName: companyName, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createVendor, we created `createVendorBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateVendorVariablesBuilder { - ... - CreateVendorVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateVendorVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - CreateVendorVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - CreateVendorVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - CreateVendorVariablesBuilder billingAddress(String? t) { - _billingAddress.value = t; - return this; - } - CreateVendorVariablesBuilder timezone(String? t) { - _timezone.value = t; - return this; - } - CreateVendorVariablesBuilder legalName(String? t) { - _legalName.value = t; - return this; - } - CreateVendorVariablesBuilder doingBusinessAs(String? t) { - _doingBusinessAs.value = t; - return this; - } - CreateVendorVariablesBuilder region(String? t) { - _region.value = t; - return this; - } - CreateVendorVariablesBuilder state(String? t) { - _state.value = t; - return this; - } - CreateVendorVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - CreateVendorVariablesBuilder serviceSpecialty(String? t) { - _serviceSpecialty.value = t; - return this; - } - CreateVendorVariablesBuilder approvalStatus(ApprovalStatus? t) { - _approvalStatus.value = t; - return this; - } - CreateVendorVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateVendorVariablesBuilder markup(double? t) { - _markup.value = t; - return this; - } - CreateVendorVariablesBuilder fee(double? t) { - _fee.value = t; - return this; - } - CreateVendorVariablesBuilder csat(double? t) { - _csat.value = t; - return this; - } - CreateVendorVariablesBuilder tier(VendorTier? t) { - _tier.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createVendor( - userId: userId, - companyName: companyName, -) -.email(email) -.phone(phone) -.photoUrl(photoUrl) -.address(address) -.billingAddress(billingAddress) -.timezone(timezone) -.legalName(legalName) -.doingBusinessAs(doingBusinessAs) -.region(region) -.state(state) -.city(city) -.serviceSpecialty(serviceSpecialty) -.approvalStatus(approvalStatus) -.isActive(isActive) -.markup(markup) -.fee(fee) -.csat(csat) -.tier(tier) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createVendor( - userId: userId, - companyName: companyName, -); -createVendorData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; -String companyName = ...; - -final ref = ExampleConnector.instance.createVendor( - userId: userId, - companyName: companyName, -).ref(); -ref.execute(); -``` - - -### updateVendor -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateVendor( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateVendor, we created `updateVendorBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateVendorVariablesBuilder { - ... - UpdateVendorVariablesBuilder companyName(String? t) { - _companyName.value = t; - return this; - } - UpdateVendorVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - UpdateVendorVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - UpdateVendorVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - UpdateVendorVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - UpdateVendorVariablesBuilder billingAddress(String? t) { - _billingAddress.value = t; - return this; - } - UpdateVendorVariablesBuilder timezone(String? t) { - _timezone.value = t; - return this; - } - UpdateVendorVariablesBuilder legalName(String? t) { - _legalName.value = t; - return this; - } - UpdateVendorVariablesBuilder doingBusinessAs(String? t) { - _doingBusinessAs.value = t; - return this; - } - UpdateVendorVariablesBuilder region(String? t) { - _region.value = t; - return this; - } - UpdateVendorVariablesBuilder state(String? t) { - _state.value = t; - return this; - } - UpdateVendorVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - UpdateVendorVariablesBuilder serviceSpecialty(String? t) { - _serviceSpecialty.value = t; - return this; - } - UpdateVendorVariablesBuilder approvalStatus(ApprovalStatus? t) { - _approvalStatus.value = t; - return this; - } - UpdateVendorVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateVendorVariablesBuilder markup(double? t) { - _markup.value = t; - return this; - } - UpdateVendorVariablesBuilder fee(double? t) { - _fee.value = t; - return this; - } - UpdateVendorVariablesBuilder csat(double? t) { - _csat.value = t; - return this; - } - UpdateVendorVariablesBuilder tier(VendorTier? t) { - _tier.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateVendor( - id: id, -) -.companyName(companyName) -.email(email) -.phone(phone) -.photoUrl(photoUrl) -.address(address) -.billingAddress(billingAddress) -.timezone(timezone) -.legalName(legalName) -.doingBusinessAs(doingBusinessAs) -.region(region) -.state(state) -.city(city) -.serviceSpecialty(serviceSpecialty) -.approvalStatus(approvalStatus) -.isActive(isActive) -.markup(markup) -.fee(fee) -.csat(csat) -.tier(tier) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateVendor( - id: id, -); -updateVendorData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateVendor( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteVendor -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteVendor( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteVendor( - id: id, -); -deleteVendorData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteVendor( - id: id, -).ref(); -ref.execute(); -``` - - -### createWorkforce -#### Required Arguments -```dart -String vendorId = ...; -String staffId = ...; -String workforceNumber = ...; -ExampleConnector.instance.createWorkforce( - vendorId: vendorId, - staffId: staffId, - workforceNumber: workforceNumber, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createWorkforce, we created `createWorkforceBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateWorkforceVariablesBuilder { - ... - CreateWorkforceVariablesBuilder employmentType(WorkforceEmploymentType? t) { - _employmentType.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createWorkforce( - vendorId: vendorId, - staffId: staffId, - workforceNumber: workforceNumber, -) -.employmentType(employmentType) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createWorkforce( - vendorId: vendorId, - staffId: staffId, - workforceNumber: workforceNumber, -); -createWorkforceData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -String staffId = ...; -String workforceNumber = ...; - -final ref = ExampleConnector.instance.createWorkforce( - vendorId: vendorId, - staffId: staffId, - workforceNumber: workforceNumber, -).ref(); -ref.execute(); -``` - - -### updateWorkforce -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateWorkforce( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateWorkforce, we created `updateWorkforceBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateWorkforceVariablesBuilder { - ... - UpdateWorkforceVariablesBuilder workforceNumber(String? t) { - _workforceNumber.value = t; - return this; - } - UpdateWorkforceVariablesBuilder employmentType(WorkforceEmploymentType? t) { - _employmentType.value = t; - return this; - } - UpdateWorkforceVariablesBuilder status(WorkforceStatus? t) { - _status.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateWorkforce( - id: id, -) -.workforceNumber(workforceNumber) -.employmentType(employmentType) -.status(status) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateWorkforce( - id: id, -); -updateWorkforceData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateWorkforce( - id: id, -).ref(); -ref.execute(); -``` - - -### deactivateWorkforce -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deactivateWorkforce( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deactivateWorkforce( - id: id, -); -deactivateWorkforceData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deactivateWorkforce( - id: id, -).ref(); -ref.execute(); -``` - - -### createBusiness -#### Required Arguments -```dart -String businessName = ...; -String userId = ...; -BusinessRateGroup rateGroup = ...; -BusinessStatus status = ...; -ExampleConnector.instance.createBusiness( - businessName: businessName, - userId: userId, - rateGroup: rateGroup, - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createBusiness, we created `createBusinessBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateBusinessVariablesBuilder { - ... - CreateBusinessVariablesBuilder contactName(String? t) { - _contactName.value = t; - return this; - } - CreateBusinessVariablesBuilder companyLogoUrl(String? t) { - _companyLogoUrl.value = t; - return this; - } - CreateBusinessVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - CreateBusinessVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateBusinessVariablesBuilder hubBuilding(String? t) { - _hubBuilding.value = t; - return this; - } - CreateBusinessVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - CreateBusinessVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - CreateBusinessVariablesBuilder area(BusinessArea? t) { - _area.value = t; - return this; - } - CreateBusinessVariablesBuilder sector(BusinessSector? t) { - _sector.value = t; - return this; - } - CreateBusinessVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createBusiness( - businessName: businessName, - userId: userId, - rateGroup: rateGroup, - status: status, -) -.contactName(contactName) -.companyLogoUrl(companyLogoUrl) -.phone(phone) -.email(email) -.hubBuilding(hubBuilding) -.address(address) -.city(city) -.area(area) -.sector(sector) -.notes(notes) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createBusiness( - businessName: businessName, - userId: userId, - rateGroup: rateGroup, - status: status, -); -createBusinessData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessName = ...; -String userId = ...; -BusinessRateGroup rateGroup = ...; -BusinessStatus status = ...; - -final ref = ExampleConnector.instance.createBusiness( - businessName: businessName, - userId: userId, - rateGroup: rateGroup, - status: status, -).ref(); -ref.execute(); -``` - - -### updateBusiness -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateBusiness( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateBusiness, we created `updateBusinessBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateBusinessVariablesBuilder { - ... - UpdateBusinessVariablesBuilder businessName(String? t) { - _businessName.value = t; - return this; - } - UpdateBusinessVariablesBuilder contactName(String? t) { - _contactName.value = t; - return this; - } - UpdateBusinessVariablesBuilder companyLogoUrl(String? t) { - _companyLogoUrl.value = t; - return this; - } - UpdateBusinessVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - UpdateBusinessVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - UpdateBusinessVariablesBuilder hubBuilding(String? t) { - _hubBuilding.value = t; - return this; - } - UpdateBusinessVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - UpdateBusinessVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - UpdateBusinessVariablesBuilder area(BusinessArea? t) { - _area.value = t; - return this; - } - UpdateBusinessVariablesBuilder sector(BusinessSector? t) { - _sector.value = t; - return this; - } - UpdateBusinessVariablesBuilder rateGroup(BusinessRateGroup? t) { - _rateGroup.value = t; - return this; - } - UpdateBusinessVariablesBuilder status(BusinessStatus? t) { - _status.value = t; - return this; - } - UpdateBusinessVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateBusiness( - id: id, -) -.businessName(businessName) -.contactName(contactName) -.companyLogoUrl(companyLogoUrl) -.phone(phone) -.email(email) -.hubBuilding(hubBuilding) -.address(address) -.city(city) -.area(area) -.sector(sector) -.rateGroup(rateGroup) -.status(status) -.notes(notes) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateBusiness( - id: id, -); -updateBusinessData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateBusiness( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteBusiness -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteBusiness( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteBusiness( - id: id, -); -deleteBusinessData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteBusiness( - id: id, -).ref(); -ref.execute(); -``` - - -### createHub -#### Required Arguments -```dart -String name = ...; -String ownerId = ...; -ExampleConnector.instance.createHub( - name: name, - ownerId: ownerId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createHub, we created `createHubBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateHubVariablesBuilder { - ... - CreateHubVariablesBuilder locationName(String? t) { - _locationName.value = t; - return this; - } - CreateHubVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - CreateHubVariablesBuilder nfcTagId(String? t) { - _nfcTagId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createHub( - name: name, - ownerId: ownerId, -) -.locationName(locationName) -.address(address) -.nfcTagId(nfcTagId) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createHub( - name: name, - ownerId: ownerId, -); -createHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; -String ownerId = ...; - -final ref = ExampleConnector.instance.createHub( - name: name, - ownerId: ownerId, -).ref(); -ref.execute(); -``` - - -### updateHub -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateHub( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateHub, we created `updateHubBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateHubVariablesBuilder { - ... - UpdateHubVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateHubVariablesBuilder locationName(String? t) { - _locationName.value = t; - return this; - } - UpdateHubVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - UpdateHubVariablesBuilder nfcTagId(String? t) { - _nfcTagId.value = t; - return this; - } - UpdateHubVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateHub( - id: id, -) -.name(name) -.locationName(locationName) -.address(address) -.nfcTagId(nfcTagId) -.ownerId(ownerId) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateHub( - id: id, -); -updateHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateHub( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteHub -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteHub( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteHub( - id: id, -); -deleteHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteHub( - id: id, -).ref(); -ref.execute(); -``` - - -### createLevel -#### Required Arguments -```dart -String name = ...; -int xpRequired = ...; -ExampleConnector.instance.createLevel( - name: name, - xpRequired: xpRequired, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createLevel, we created `createLevelBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateLevelVariablesBuilder { - ... - CreateLevelVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - CreateLevelVariablesBuilder colors(AnyValue? t) { - _colors.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createLevel( - name: name, - xpRequired: xpRequired, -) -.icon(icon) -.colors(colors) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createLevel( - name: name, - xpRequired: xpRequired, -); -createLevelData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; -int xpRequired = ...; - -final ref = ExampleConnector.instance.createLevel( - name: name, - xpRequired: xpRequired, -).ref(); -ref.execute(); -``` - - -### updateLevel -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateLevel( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateLevel, we created `updateLevelBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateLevelVariablesBuilder { - ... - UpdateLevelVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateLevelVariablesBuilder xpRequired(int? t) { - _xpRequired.value = t; - return this; - } - UpdateLevelVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - UpdateLevelVariablesBuilder colors(AnyValue? t) { - _colors.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateLevel( - id: id, -) -.name(name) -.xpRequired(xpRequired) -.icon(icon) -.colors(colors) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateLevel( - id: id, -); -updateLevelData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateLevel( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteLevel -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteLevel( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteLevel( - id: id, -); -deleteLevelData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteLevel( - id: id, -).ref(); -ref.execute(); -``` - - -### createRecentPayment -#### Required Arguments -```dart -String staffId = ...; -String applicationId = ...; -String invoiceId = ...; -ExampleConnector.instance.createRecentPayment( - staffId: staffId, - applicationId: applicationId, - invoiceId: invoiceId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createRecentPayment, we created `createRecentPaymentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateRecentPaymentVariablesBuilder { - ... - - CreateRecentPaymentVariablesBuilder workedTime(String? t) { - _workedTime.value = t; - return this; - } - CreateRecentPaymentVariablesBuilder status(RecentPaymentStatus? t) { - _status.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createRecentPayment( - staffId: staffId, - applicationId: applicationId, - invoiceId: invoiceId, -) -.workedTime(workedTime) -.status(status) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createRecentPayment( - staffId: staffId, - applicationId: applicationId, - invoiceId: invoiceId, -); -createRecentPaymentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String applicationId = ...; -String invoiceId = ...; - -final ref = ExampleConnector.instance.createRecentPayment( - staffId: staffId, - applicationId: applicationId, - invoiceId: invoiceId, -).ref(); -ref.execute(); -``` - - -### updateRecentPayment -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateRecentPayment( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateRecentPayment, we created `updateRecentPaymentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateRecentPaymentVariablesBuilder { - ... - UpdateRecentPaymentVariablesBuilder workedTime(String? t) { - _workedTime.value = t; - return this; - } - UpdateRecentPaymentVariablesBuilder status(RecentPaymentStatus? t) { - _status.value = t; - return this; - } - UpdateRecentPaymentVariablesBuilder staffId(String? t) { - _staffId.value = t; - return this; - } - UpdateRecentPaymentVariablesBuilder applicationId(String? t) { - _applicationId.value = t; - return this; - } - UpdateRecentPaymentVariablesBuilder invoiceId(String? t) { - _invoiceId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateRecentPayment( - id: id, -) -.workedTime(workedTime) -.status(status) -.staffId(staffId) -.applicationId(applicationId) -.invoiceId(invoiceId) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateRecentPayment( - id: id, -); -updateRecentPaymentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateRecentPayment( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteRecentPayment -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteRecentPayment( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteRecentPayment( - id: id, -); -deleteRecentPaymentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteRecentPayment( - id: id, -).ref(); -ref.execute(); -``` - - -### createTeamHudDepartment -#### Required Arguments -```dart -String name = ...; -String teamHubId = ...; -ExampleConnector.instance.createTeamHudDepartment( - name: name, - teamHubId: teamHubId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTeamHudDepartment, we created `createTeamHudDepartmentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTeamHudDepartmentVariablesBuilder { - ... - CreateTeamHudDepartmentVariablesBuilder costCenter(String? t) { - _costCenter.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTeamHudDepartment( - name: name, - teamHubId: teamHubId, -) -.costCenter(costCenter) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTeamHudDepartment( - name: name, - teamHubId: teamHubId, -); -createTeamHudDepartmentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; -String teamHubId = ...; - -final ref = ExampleConnector.instance.createTeamHudDepartment( - name: name, - teamHubId: teamHubId, -).ref(); -ref.execute(); -``` - - -### updateTeamHudDepartment -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTeamHudDepartment( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTeamHudDepartment, we created `updateTeamHudDepartmentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTeamHudDepartmentVariablesBuilder { - ... - UpdateTeamHudDepartmentVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateTeamHudDepartmentVariablesBuilder costCenter(String? t) { - _costCenter.value = t; - return this; - } - UpdateTeamHudDepartmentVariablesBuilder teamHubId(String? t) { - _teamHubId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTeamHudDepartment( - id: id, -) -.name(name) -.costCenter(costCenter) -.teamHubId(teamHubId) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTeamHudDepartment( - id: id, -); -updateTeamHudDepartmentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTeamHudDepartment( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteTeamHudDepartment -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTeamHudDepartment( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTeamHudDepartment( - id: id, -); -deleteTeamHudDepartmentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTeamHudDepartment( - id: id, -).ref(); -ref.execute(); -``` - - -### createTeamMember -#### Required Arguments -```dart -String teamId = ...; -TeamMemberRole role = ...; -String userId = ...; -ExampleConnector.instance.createTeamMember( - teamId: teamId, - role: role, - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTeamMember, we created `createTeamMemberBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTeamMemberVariablesBuilder { - ... - CreateTeamMemberVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - CreateTeamMemberVariablesBuilder department(String? t) { - _department.value = t; - return this; - } - CreateTeamMemberVariablesBuilder teamHubId(String? t) { - _teamHubId.value = t; - return this; - } - CreateTeamMemberVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateTeamMemberVariablesBuilder inviteStatus(TeamMemberInviteStatus? t) { - _inviteStatus.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTeamMember( - teamId: teamId, - role: role, - userId: userId, -) -.title(title) -.department(department) -.teamHubId(teamHubId) -.isActive(isActive) -.inviteStatus(inviteStatus) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTeamMember( - teamId: teamId, - role: role, - userId: userId, -); -createTeamMemberData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamId = ...; -TeamMemberRole role = ...; -String userId = ...; - -final ref = ExampleConnector.instance.createTeamMember( - teamId: teamId, - role: role, - userId: userId, -).ref(); -ref.execute(); -``` - - -### updateTeamMember -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTeamMember( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTeamMember, we created `updateTeamMemberBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTeamMemberVariablesBuilder { - ... - UpdateTeamMemberVariablesBuilder role(TeamMemberRole? t) { - _role.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder department(String? t) { - _department.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder teamHubId(String? t) { - _teamHubId.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder inviteStatus(TeamMemberInviteStatus? t) { - _inviteStatus.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTeamMember( - id: id, -) -.role(role) -.title(title) -.department(department) -.teamHubId(teamHubId) -.isActive(isActive) -.inviteStatus(inviteStatus) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTeamMember( - id: id, -); -updateTeamMemberData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTeamMember( - id: id, -).ref(); -ref.execute(); -``` - - -### updateTeamMemberInviteStatus -#### Required Arguments -```dart -String id = ...; -TeamMemberInviteStatus inviteStatus = ...; -ExampleConnector.instance.updateTeamMemberInviteStatus( - id: id, - inviteStatus: inviteStatus, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTeamMemberInviteStatus( - id: id, - inviteStatus: inviteStatus, -); -updateTeamMemberInviteStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; -TeamMemberInviteStatus inviteStatus = ...; - -final ref = ExampleConnector.instance.updateTeamMemberInviteStatus( - id: id, - inviteStatus: inviteStatus, -).ref(); -ref.execute(); -``` - - -### acceptInviteByCode -#### Required Arguments -```dart -String inviteCode = ...; -ExampleConnector.instance.acceptInviteByCode( - inviteCode: inviteCode, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.acceptInviteByCode( - inviteCode: inviteCode, -); -acceptInviteByCodeData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String inviteCode = ...; - -final ref = ExampleConnector.instance.acceptInviteByCode( - inviteCode: inviteCode, -).ref(); -ref.execute(); -``` - - -### cancelInviteByCode -#### Required Arguments -```dart -String inviteCode = ...; -ExampleConnector.instance.cancelInviteByCode( - inviteCode: inviteCode, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.cancelInviteByCode( - inviteCode: inviteCode, -); -cancelInviteByCodeData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String inviteCode = ...; - -final ref = ExampleConnector.instance.cancelInviteByCode( - inviteCode: inviteCode, -).ref(); -ref.execute(); -``` - - -### deleteTeamMember -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTeamMember( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTeamMember( - id: id, -); -deleteTeamMemberData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTeamMember( - id: id, -).ref(); -ref.execute(); -``` - - -### CreateUser -#### Required Arguments -```dart -String id = ...; -UserBaseRole role = ...; -ExampleConnector.instance.createUser( - id: id, - role: role, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For CreateUser, we created `CreateUserBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateUserVariablesBuilder { - ... - CreateUserVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateUserVariablesBuilder fullName(String? t) { - _fullName.value = t; - return this; - } - CreateUserVariablesBuilder userRole(String? t) { - _userRole.value = t; - return this; - } - CreateUserVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createUser( - id: id, - role: role, -) -.email(email) -.fullName(fullName) -.userRole(userRole) -.photoUrl(photoUrl) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createUser( - id: id, - role: role, -); -CreateUserData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; -UserBaseRole role = ...; - -final ref = ExampleConnector.instance.createUser( - id: id, - role: role, -).ref(); -ref.execute(); -``` - - -### UpdateUser -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateUser( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For UpdateUser, we created `UpdateUserBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateUserVariablesBuilder { - ... - UpdateUserVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - UpdateUserVariablesBuilder fullName(String? t) { - _fullName.value = t; - return this; - } - UpdateUserVariablesBuilder role(UserBaseRole? t) { - _role.value = t; - return this; - } - UpdateUserVariablesBuilder userRole(String? t) { - _userRole.value = t; - return this; - } - UpdateUserVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateUser( - id: id, -) -.email(email) -.fullName(fullName) -.role(role) -.userRole(userRole) -.photoUrl(photoUrl) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateUser( - id: id, -); -UpdateUserData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateUser( - id: id, -).ref(); -ref.execute(); -``` - - -### DeleteUser -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteUser( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteUser( - id: id, -); -DeleteUserData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteUser( - id: id, -).ref(); -ref.execute(); -``` - - ### createShift #### Required Arguments ```dart @@ -17002,392 +16345,6 @@ ref.execute(); ``` -### createAttireOption -#### Required Arguments -```dart -String itemId = ...; -String label = ...; -ExampleConnector.instance.createAttireOption( - itemId: itemId, - label: label, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createAttireOption, we created `createAttireOptionBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateAttireOptionVariablesBuilder { - ... - CreateAttireOptionVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - CreateAttireOptionVariablesBuilder imageUrl(String? t) { - _imageUrl.value = t; - return this; - } - CreateAttireOptionVariablesBuilder isMandatory(bool? t) { - _isMandatory.value = t; - return this; - } - CreateAttireOptionVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createAttireOption( - itemId: itemId, - label: label, -) -.icon(icon) -.imageUrl(imageUrl) -.isMandatory(isMandatory) -.vendorId(vendorId) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createAttireOption( - itemId: itemId, - label: label, -); -createAttireOptionData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String itemId = ...; -String label = ...; - -final ref = ExampleConnector.instance.createAttireOption( - itemId: itemId, - label: label, -).ref(); -ref.execute(); -``` - - -### updateAttireOption -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateAttireOption( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateAttireOption, we created `updateAttireOptionBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateAttireOptionVariablesBuilder { - ... - UpdateAttireOptionVariablesBuilder itemId(String? t) { - _itemId.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder label(String? t) { - _label.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder imageUrl(String? t) { - _imageUrl.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder isMandatory(bool? t) { - _isMandatory.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateAttireOption( - id: id, -) -.itemId(itemId) -.label(label) -.icon(icon) -.imageUrl(imageUrl) -.isMandatory(isMandatory) -.vendorId(vendorId) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateAttireOption( - id: id, -); -updateAttireOptionData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateAttireOption( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteAttireOption -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteAttireOption( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteAttireOption( - id: id, -); -deleteAttireOptionData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteAttireOption( - id: id, -).ref(); -ref.execute(); -``` - - -### createCategory -#### Required Arguments -```dart -String categoryId = ...; -String label = ...; -ExampleConnector.instance.createCategory( - categoryId: categoryId, - label: label, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createCategory, we created `createCategoryBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateCategoryVariablesBuilder { - ... - CreateCategoryVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createCategory( - categoryId: categoryId, - label: label, -) -.icon(icon) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createCategory( - categoryId: categoryId, - label: label, -); -createCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String categoryId = ...; -String label = ...; - -final ref = ExampleConnector.instance.createCategory( - categoryId: categoryId, - label: label, -).ref(); -ref.execute(); -``` - - -### updateCategory -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateCategory( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateCategory, we created `updateCategoryBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateCategoryVariablesBuilder { - ... - UpdateCategoryVariablesBuilder categoryId(String? t) { - _categoryId.value = t; - return this; - } - UpdateCategoryVariablesBuilder label(String? t) { - _label.value = t; - return this; - } - UpdateCategoryVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateCategory( - id: id, -) -.categoryId(categoryId) -.label(label) -.icon(icon) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateCategory( - id: id, -); -updateCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateCategory( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteCategory -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteCategory( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteCategory( - id: id, -); -deleteCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteCategory( - id: id, -).ref(); -ref.execute(); -``` - - ### CreateStaff #### Required Arguments ```dart @@ -17866,6 +16823,1405 @@ ref.execute(); ``` +### createTask +#### Required Arguments +```dart +String taskName = ...; +TaskPriority priority = ...; +TaskStatus status = ...; +String ownerId = ...; +ExampleConnector.instance.createTask( + taskName: taskName, + priority: priority, + status: status, + ownerId: ownerId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createTask, we created `createTaskBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateTaskVariablesBuilder { + ... + CreateTaskVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + CreateTaskVariablesBuilder dueDate(Timestamp? t) { + _dueDate.value = t; + return this; + } + CreateTaskVariablesBuilder progress(int? t) { + _progress.value = t; + return this; + } + CreateTaskVariablesBuilder orderIndex(int? t) { + _orderIndex.value = t; + return this; + } + CreateTaskVariablesBuilder commentCount(int? t) { + _commentCount.value = t; + return this; + } + CreateTaskVariablesBuilder attachmentCount(int? t) { + _attachmentCount.value = t; + return this; + } + CreateTaskVariablesBuilder files(AnyValue? t) { + _files.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createTask( + taskName: taskName, + priority: priority, + status: status, + ownerId: ownerId, +) +.description(description) +.dueDate(dueDate) +.progress(progress) +.orderIndex(orderIndex) +.commentCount(commentCount) +.attachmentCount(attachmentCount) +.files(files) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createTask( + taskName: taskName, + priority: priority, + status: status, + ownerId: ownerId, +); +createTaskData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String taskName = ...; +TaskPriority priority = ...; +TaskStatus status = ...; +String ownerId = ...; + +final ref = ExampleConnector.instance.createTask( + taskName: taskName, + priority: priority, + status: status, + ownerId: ownerId, +).ref(); +ref.execute(); +``` + + +### updateTask +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateTask( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateTask, we created `updateTaskBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateTaskVariablesBuilder { + ... + UpdateTaskVariablesBuilder taskName(String? t) { + _taskName.value = t; + return this; + } + UpdateTaskVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + UpdateTaskVariablesBuilder priority(TaskPriority? t) { + _priority.value = t; + return this; + } + UpdateTaskVariablesBuilder status(TaskStatus? t) { + _status.value = t; + return this; + } + UpdateTaskVariablesBuilder dueDate(Timestamp? t) { + _dueDate.value = t; + return this; + } + UpdateTaskVariablesBuilder progress(int? t) { + _progress.value = t; + return this; + } + UpdateTaskVariablesBuilder assignedMembers(AnyValue? t) { + _assignedMembers.value = t; + return this; + } + UpdateTaskVariablesBuilder orderIndex(int? t) { + _orderIndex.value = t; + return this; + } + UpdateTaskVariablesBuilder commentCount(int? t) { + _commentCount.value = t; + return this; + } + UpdateTaskVariablesBuilder attachmentCount(int? t) { + _attachmentCount.value = t; + return this; + } + UpdateTaskVariablesBuilder files(AnyValue? t) { + _files.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateTask( + id: id, +) +.taskName(taskName) +.description(description) +.priority(priority) +.status(status) +.dueDate(dueDate) +.progress(progress) +.assignedMembers(assignedMembers) +.orderIndex(orderIndex) +.commentCount(commentCount) +.attachmentCount(attachmentCount) +.files(files) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateTask( + id: id, +); +updateTaskData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateTask( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteTask +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteTask( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteTask( + id: id, +); +deleteTaskData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteTask( + id: id, +).ref(); +ref.execute(); +``` + + +### createTeamMember +#### Required Arguments +```dart +String teamId = ...; +TeamMemberRole role = ...; +String userId = ...; +ExampleConnector.instance.createTeamMember( + teamId: teamId, + role: role, + userId: userId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createTeamMember, we created `createTeamMemberBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateTeamMemberVariablesBuilder { + ... + CreateTeamMemberVariablesBuilder title(String? t) { + _title.value = t; + return this; + } + CreateTeamMemberVariablesBuilder department(String? t) { + _department.value = t; + return this; + } + CreateTeamMemberVariablesBuilder teamHubId(String? t) { + _teamHubId.value = t; + return this; + } + CreateTeamMemberVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + CreateTeamMemberVariablesBuilder inviteStatus(TeamMemberInviteStatus? t) { + _inviteStatus.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createTeamMember( + teamId: teamId, + role: role, + userId: userId, +) +.title(title) +.department(department) +.teamHubId(teamHubId) +.isActive(isActive) +.inviteStatus(inviteStatus) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createTeamMember( + teamId: teamId, + role: role, + userId: userId, +); +createTeamMemberData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String teamId = ...; +TeamMemberRole role = ...; +String userId = ...; + +final ref = ExampleConnector.instance.createTeamMember( + teamId: teamId, + role: role, + userId: userId, +).ref(); +ref.execute(); +``` + + +### updateTeamMember +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateTeamMember( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateTeamMember, we created `updateTeamMemberBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateTeamMemberVariablesBuilder { + ... + UpdateTeamMemberVariablesBuilder role(TeamMemberRole? t) { + _role.value = t; + return this; + } + UpdateTeamMemberVariablesBuilder title(String? t) { + _title.value = t; + return this; + } + UpdateTeamMemberVariablesBuilder department(String? t) { + _department.value = t; + return this; + } + UpdateTeamMemberVariablesBuilder teamHubId(String? t) { + _teamHubId.value = t; + return this; + } + UpdateTeamMemberVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + UpdateTeamMemberVariablesBuilder inviteStatus(TeamMemberInviteStatus? t) { + _inviteStatus.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateTeamMember( + id: id, +) +.role(role) +.title(title) +.department(department) +.teamHubId(teamHubId) +.isActive(isActive) +.inviteStatus(inviteStatus) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateTeamMember( + id: id, +); +updateTeamMemberData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateTeamMember( + id: id, +).ref(); +ref.execute(); +``` + + +### updateTeamMemberInviteStatus +#### Required Arguments +```dart +String id = ...; +TeamMemberInviteStatus inviteStatus = ...; +ExampleConnector.instance.updateTeamMemberInviteStatus( + id: id, + inviteStatus: inviteStatus, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateTeamMemberInviteStatus( + id: id, + inviteStatus: inviteStatus, +); +updateTeamMemberInviteStatusData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; +TeamMemberInviteStatus inviteStatus = ...; + +final ref = ExampleConnector.instance.updateTeamMemberInviteStatus( + id: id, + inviteStatus: inviteStatus, +).ref(); +ref.execute(); +``` + + +### acceptInviteByCode +#### Required Arguments +```dart +String inviteCode = ...; +ExampleConnector.instance.acceptInviteByCode( + inviteCode: inviteCode, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.acceptInviteByCode( + inviteCode: inviteCode, +); +acceptInviteByCodeData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String inviteCode = ...; + +final ref = ExampleConnector.instance.acceptInviteByCode( + inviteCode: inviteCode, +).ref(); +ref.execute(); +``` + + +### cancelInviteByCode +#### Required Arguments +```dart +String inviteCode = ...; +ExampleConnector.instance.cancelInviteByCode( + inviteCode: inviteCode, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.cancelInviteByCode( + inviteCode: inviteCode, +); +cancelInviteByCodeData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String inviteCode = ...; + +final ref = ExampleConnector.instance.cancelInviteByCode( + inviteCode: inviteCode, +).ref(); +ref.execute(); +``` + + +### deleteTeamMember +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteTeamMember( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteTeamMember( + id: id, +); +deleteTeamMemberData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteTeamMember( + id: id, +).ref(); +ref.execute(); +``` + + +### createTeam +#### Required Arguments +```dart +String teamName = ...; +String ownerId = ...; +String ownerName = ...; +String ownerRole = ...; +ExampleConnector.instance.createTeam( + teamName: teamName, + ownerId: ownerId, + ownerName: ownerName, + ownerRole: ownerRole, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createTeam, we created `createTeamBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateTeamVariablesBuilder { + ... + CreateTeamVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + CreateTeamVariablesBuilder companyLogo(String? t) { + _companyLogo.value = t; + return this; + } + CreateTeamVariablesBuilder totalMembers(int? t) { + _totalMembers.value = t; + return this; + } + CreateTeamVariablesBuilder activeMembers(int? t) { + _activeMembers.value = t; + return this; + } + CreateTeamVariablesBuilder totalHubs(int? t) { + _totalHubs.value = t; + return this; + } + CreateTeamVariablesBuilder departments(AnyValue? t) { + _departments.value = t; + return this; + } + CreateTeamVariablesBuilder favoriteStaffCount(int? t) { + _favoriteStaffCount.value = t; + return this; + } + CreateTeamVariablesBuilder blockedStaffCount(int? t) { + _blockedStaffCount.value = t; + return this; + } + CreateTeamVariablesBuilder favoriteStaff(AnyValue? t) { + _favoriteStaff.value = t; + return this; + } + CreateTeamVariablesBuilder blockedStaff(AnyValue? t) { + _blockedStaff.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createTeam( + teamName: teamName, + ownerId: ownerId, + ownerName: ownerName, + ownerRole: ownerRole, +) +.email(email) +.companyLogo(companyLogo) +.totalMembers(totalMembers) +.activeMembers(activeMembers) +.totalHubs(totalHubs) +.departments(departments) +.favoriteStaffCount(favoriteStaffCount) +.blockedStaffCount(blockedStaffCount) +.favoriteStaff(favoriteStaff) +.blockedStaff(blockedStaff) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createTeam( + teamName: teamName, + ownerId: ownerId, + ownerName: ownerName, + ownerRole: ownerRole, +); +createTeamData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String teamName = ...; +String ownerId = ...; +String ownerName = ...; +String ownerRole = ...; + +final ref = ExampleConnector.instance.createTeam( + teamName: teamName, + ownerId: ownerId, + ownerName: ownerName, + ownerRole: ownerRole, +).ref(); +ref.execute(); +``` + + +### updateTeam +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateTeam( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateTeam, we created `updateTeamBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateTeamVariablesBuilder { + ... + UpdateTeamVariablesBuilder teamName(String? t) { + _teamName.value = t; + return this; + } + UpdateTeamVariablesBuilder ownerName(String? t) { + _ownerName.value = t; + return this; + } + UpdateTeamVariablesBuilder ownerRole(String? t) { + _ownerRole.value = t; + return this; + } + UpdateTeamVariablesBuilder companyLogo(String? t) { + _companyLogo.value = t; + return this; + } + UpdateTeamVariablesBuilder totalMembers(int? t) { + _totalMembers.value = t; + return this; + } + UpdateTeamVariablesBuilder activeMembers(int? t) { + _activeMembers.value = t; + return this; + } + UpdateTeamVariablesBuilder totalHubs(int? t) { + _totalHubs.value = t; + return this; + } + UpdateTeamVariablesBuilder departments(AnyValue? t) { + _departments.value = t; + return this; + } + UpdateTeamVariablesBuilder favoriteStaffCount(int? t) { + _favoriteStaffCount.value = t; + return this; + } + UpdateTeamVariablesBuilder blockedStaffCount(int? t) { + _blockedStaffCount.value = t; + return this; + } + UpdateTeamVariablesBuilder favoriteStaff(AnyValue? t) { + _favoriteStaff.value = t; + return this; + } + UpdateTeamVariablesBuilder blockedStaff(AnyValue? t) { + _blockedStaff.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateTeam( + id: id, +) +.teamName(teamName) +.ownerName(ownerName) +.ownerRole(ownerRole) +.companyLogo(companyLogo) +.totalMembers(totalMembers) +.activeMembers(activeMembers) +.totalHubs(totalHubs) +.departments(departments) +.favoriteStaffCount(favoriteStaffCount) +.blockedStaffCount(blockedStaffCount) +.favoriteStaff(favoriteStaff) +.blockedStaff(blockedStaff) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateTeam( + id: id, +); +updateTeamData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateTeam( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteTeam +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteTeam( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteTeam( + id: id, +); +deleteTeamData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteTeam( + id: id, +).ref(); +ref.execute(); +``` + + +### createBenefitsData +#### Required Arguments +```dart +String vendorBenefitPlanId = ...; +String staffId = ...; +int current = ...; +ExampleConnector.instance.createBenefitsData( + vendorBenefitPlanId: vendorBenefitPlanId, + staffId: staffId, + current: current, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createBenefitsData( + vendorBenefitPlanId: vendorBenefitPlanId, + staffId: staffId, + current: current, +); +createBenefitsDataData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorBenefitPlanId = ...; +String staffId = ...; +int current = ...; + +final ref = ExampleConnector.instance.createBenefitsData( + vendorBenefitPlanId: vendorBenefitPlanId, + staffId: staffId, + current: current, +).ref(); +ref.execute(); +``` + + +### updateBenefitsData +#### Required Arguments +```dart +String staffId = ...; +String vendorBenefitPlanId = ...; +ExampleConnector.instance.updateBenefitsData( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateBenefitsData, we created `updateBenefitsDataBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateBenefitsDataVariablesBuilder { + ... + UpdateBenefitsDataVariablesBuilder current(int? t) { + _current.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateBenefitsData( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, +) +.current(current) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateBenefitsData( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, +); +updateBenefitsDataData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +String vendorBenefitPlanId = ...; + +final ref = ExampleConnector.instance.updateBenefitsData( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, +).ref(); +ref.execute(); +``` + + +### deleteBenefitsData +#### Required Arguments +```dart +String staffId = ...; +String vendorBenefitPlanId = ...; +ExampleConnector.instance.deleteBenefitsData( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteBenefitsData( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, +); +deleteBenefitsDataData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +String vendorBenefitPlanId = ...; + +final ref = ExampleConnector.instance.deleteBenefitsData( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, +).ref(); +ref.execute(); +``` + + +### createOrder +#### Required Arguments +```dart +String vendorId = ...; +String businessId = ...; +OrderType orderType = ...; +ExampleConnector.instance.createOrder( + vendorId: vendorId, + businessId: businessId, + orderType: orderType, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createOrder, we created `createOrderBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateOrderVariablesBuilder { + ... + CreateOrderVariablesBuilder location(String? t) { + _location.value = t; + return this; + } + CreateOrderVariablesBuilder status(OrderStatus? t) { + _status.value = t; + return this; + } + CreateOrderVariablesBuilder date(Timestamp? t) { + _date.value = t; + return this; + } + CreateOrderVariablesBuilder startDate(Timestamp? t) { + _startDate.value = t; + return this; + } + CreateOrderVariablesBuilder endDate(Timestamp? t) { + _endDate.value = t; + return this; + } + CreateOrderVariablesBuilder duration(OrderDuration? t) { + _duration.value = t; + return this; + } + CreateOrderVariablesBuilder lunchBreak(int? t) { + _lunchBreak.value = t; + return this; + } + CreateOrderVariablesBuilder total(double? t) { + _total.value = t; + return this; + } + CreateOrderVariablesBuilder eventName(String? t) { + _eventName.value = t; + return this; + } + CreateOrderVariablesBuilder assignedStaff(AnyValue? t) { + _assignedStaff.value = t; + return this; + } + CreateOrderVariablesBuilder shifts(AnyValue? t) { + _shifts.value = t; + return this; + } + CreateOrderVariablesBuilder requested(int? t) { + _requested.value = t; + return this; + } + CreateOrderVariablesBuilder hub(String? t) { + _hub.value = t; + return this; + } + CreateOrderVariablesBuilder recurringDays(AnyValue? t) { + _recurringDays.value = t; + return this; + } + CreateOrderVariablesBuilder permanentStartDate(Timestamp? t) { + _permanentStartDate.value = t; + return this; + } + CreateOrderVariablesBuilder permanentDays(AnyValue? t) { + _permanentDays.value = t; + return this; + } + CreateOrderVariablesBuilder notes(String? t) { + _notes.value = t; + return this; + } + CreateOrderVariablesBuilder detectedConflicts(AnyValue? t) { + _detectedConflicts.value = t; + return this; + } + CreateOrderVariablesBuilder poReference(String? t) { + _poReference.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createOrder( + vendorId: vendorId, + businessId: businessId, + orderType: orderType, +) +.location(location) +.status(status) +.date(date) +.startDate(startDate) +.endDate(endDate) +.duration(duration) +.lunchBreak(lunchBreak) +.total(total) +.eventName(eventName) +.assignedStaff(assignedStaff) +.shifts(shifts) +.requested(requested) +.hub(hub) +.recurringDays(recurringDays) +.permanentStartDate(permanentStartDate) +.permanentDays(permanentDays) +.notes(notes) +.detectedConflicts(detectedConflicts) +.poReference(poReference) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createOrder( + vendorId: vendorId, + businessId: businessId, + orderType: orderType, +); +createOrderData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; +String businessId = ...; +OrderType orderType = ...; + +final ref = ExampleConnector.instance.createOrder( + vendorId: vendorId, + businessId: businessId, + orderType: orderType, +).ref(); +ref.execute(); +``` + + +### updateOrder +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateOrder( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateOrder, we created `updateOrderBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateOrderVariablesBuilder { + ... + UpdateOrderVariablesBuilder vendorId(String? t) { + _vendorId.value = t; + return this; + } + UpdateOrderVariablesBuilder businessId(String? t) { + _businessId.value = t; + return this; + } + UpdateOrderVariablesBuilder location(String? t) { + _location.value = t; + return this; + } + UpdateOrderVariablesBuilder status(OrderStatus? t) { + _status.value = t; + return this; + } + UpdateOrderVariablesBuilder startDate(Timestamp? t) { + _startDate.value = t; + return this; + } + UpdateOrderVariablesBuilder endDate(Timestamp? t) { + _endDate.value = t; + return this; + } + UpdateOrderVariablesBuilder total(double? t) { + _total.value = t; + return this; + } + UpdateOrderVariablesBuilder eventName(String? t) { + _eventName.value = t; + return this; + } + UpdateOrderVariablesBuilder assignedStaff(AnyValue? t) { + _assignedStaff.value = t; + return this; + } + UpdateOrderVariablesBuilder shifts(AnyValue? t) { + _shifts.value = t; + return this; + } + UpdateOrderVariablesBuilder requested(int? t) { + _requested.value = t; + return this; + } + UpdateOrderVariablesBuilder hub(String? t) { + _hub.value = t; + return this; + } + UpdateOrderVariablesBuilder recurringDays(AnyValue? t) { + _recurringDays.value = t; + return this; + } + UpdateOrderVariablesBuilder permanentDays(AnyValue? t) { + _permanentDays.value = t; + return this; + } + UpdateOrderVariablesBuilder notes(String? t) { + _notes.value = t; + return this; + } + UpdateOrderVariablesBuilder detectedConflicts(AnyValue? t) { + _detectedConflicts.value = t; + return this; + } + UpdateOrderVariablesBuilder poReference(String? t) { + _poReference.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateOrder( + id: id, +) +.vendorId(vendorId) +.businessId(businessId) +.location(location) +.status(status) +.startDate(startDate) +.endDate(endDate) +.total(total) +.eventName(eventName) +.assignedStaff(assignedStaff) +.shifts(shifts) +.requested(requested) +.hub(hub) +.recurringDays(recurringDays) +.permanentDays(permanentDays) +.notes(notes) +.detectedConflicts(detectedConflicts) +.poReference(poReference) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateOrder( + id: id, +); +updateOrderData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateOrder( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteOrder +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteOrder( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteOrder( + id: id, +); +deleteOrderData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteOrder( + id: id, +).ref(); +ref.execute(); +``` + + ### createStaffDocument #### Required Arguments ```dart @@ -18072,6 +18428,235 @@ ref.execute(); ``` +### createCourse +#### Required Arguments +```dart +String categoryId = ...; +ExampleConnector.instance.createCourse( + categoryId: categoryId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createCourse, we created `createCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateCourseVariablesBuilder { + ... + + CreateCourseVariablesBuilder title(String? t) { + _title.value = t; + return this; + } + CreateCourseVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + CreateCourseVariablesBuilder thumbnailUrl(String? t) { + _thumbnailUrl.value = t; + return this; + } + CreateCourseVariablesBuilder durationMinutes(int? t) { + _durationMinutes.value = t; + return this; + } + CreateCourseVariablesBuilder xpReward(int? t) { + _xpReward.value = t; + return this; + } + CreateCourseVariablesBuilder levelRequired(String? t) { + _levelRequired.value = t; + return this; + } + CreateCourseVariablesBuilder isCertification(bool? t) { + _isCertification.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createCourse( + categoryId: categoryId, +) +.title(title) +.description(description) +.thumbnailUrl(thumbnailUrl) +.durationMinutes(durationMinutes) +.xpReward(xpReward) +.levelRequired(levelRequired) +.isCertification(isCertification) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createCourse( + categoryId: categoryId, +); +createCourseData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String categoryId = ...; + +final ref = ExampleConnector.instance.createCourse( + categoryId: categoryId, +).ref(); +ref.execute(); +``` + + +### updateCourse +#### Required Arguments +```dart +String id = ...; +String categoryId = ...; +ExampleConnector.instance.updateCourse( + id: id, + categoryId: categoryId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateCourse, we created `updateCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateCourseVariablesBuilder { + ... + UpdateCourseVariablesBuilder title(String? t) { + _title.value = t; + return this; + } + UpdateCourseVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + UpdateCourseVariablesBuilder thumbnailUrl(String? t) { + _thumbnailUrl.value = t; + return this; + } + UpdateCourseVariablesBuilder durationMinutes(int? t) { + _durationMinutes.value = t; + return this; + } + UpdateCourseVariablesBuilder xpReward(int? t) { + _xpReward.value = t; + return this; + } + UpdateCourseVariablesBuilder levelRequired(String? t) { + _levelRequired.value = t; + return this; + } + UpdateCourseVariablesBuilder isCertification(bool? t) { + _isCertification.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateCourse( + id: id, + categoryId: categoryId, +) +.title(title) +.description(description) +.thumbnailUrl(thumbnailUrl) +.durationMinutes(durationMinutes) +.xpReward(xpReward) +.levelRequired(levelRequired) +.isCertification(isCertification) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateCourse( + id: id, + categoryId: categoryId, +); +updateCourseData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; +String categoryId = ...; + +final ref = ExampleConnector.instance.updateCourse( + id: id, + categoryId: categoryId, +).ref(); +ref.execute(); +``` + + +### deleteCourse +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteCourse( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteCourse( + id: id, +); +deleteCourseData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteCourse( + id: id, +).ref(); +ref.execute(); +``` + + ### createStaffRole #### Required Arguments ```dart @@ -18185,1443 +18770,6 @@ ref.execute(); ``` -### CreateCertificate -#### Required Arguments -```dart -String name = ...; -CertificateStatus status = ...; -String staffId = ...; -ExampleConnector.instance.createCertificate( - name: name, - status: status, - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For CreateCertificate, we created `CreateCertificateBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateCertificateVariablesBuilder { - ... - CreateCertificateVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateCertificateVariablesBuilder expiry(Timestamp? t) { - _expiry.value = t; - return this; - } - CreateCertificateVariablesBuilder fileUrl(String? t) { - _fileUrl.value = t; - return this; - } - CreateCertificateVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - CreateCertificateVariablesBuilder certificationType(ComplianceType? t) { - _certificationType.value = t; - return this; - } - CreateCertificateVariablesBuilder issuer(String? t) { - _issuer.value = t; - return this; - } - CreateCertificateVariablesBuilder validationStatus(ValidationStatus? t) { - _validationStatus.value = t; - return this; - } - CreateCertificateVariablesBuilder certificateNumber(String? t) { - _certificateNumber.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createCertificate( - name: name, - status: status, - staffId: staffId, -) -.description(description) -.expiry(expiry) -.fileUrl(fileUrl) -.icon(icon) -.certificationType(certificationType) -.issuer(issuer) -.validationStatus(validationStatus) -.certificateNumber(certificateNumber) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createCertificate( - name: name, - status: status, - staffId: staffId, -); -CreateCertificateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; -CertificateStatus status = ...; -String staffId = ...; - -final ref = ExampleConnector.instance.createCertificate( - name: name, - status: status, - staffId: staffId, -).ref(); -ref.execute(); -``` - - -### UpdateCertificate -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateCertificate( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For UpdateCertificate, we created `UpdateCertificateBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateCertificateVariablesBuilder { - ... - UpdateCertificateVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateCertificateVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateCertificateVariablesBuilder expiry(Timestamp? t) { - _expiry.value = t; - return this; - } - UpdateCertificateVariablesBuilder status(CertificateStatus? t) { - _status.value = t; - return this; - } - UpdateCertificateVariablesBuilder fileUrl(String? t) { - _fileUrl.value = t; - return this; - } - UpdateCertificateVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - UpdateCertificateVariablesBuilder staffId(String? t) { - _staffId.value = t; - return this; - } - UpdateCertificateVariablesBuilder certificationType(ComplianceType? t) { - _certificationType.value = t; - return this; - } - UpdateCertificateVariablesBuilder issuer(String? t) { - _issuer.value = t; - return this; - } - UpdateCertificateVariablesBuilder validationStatus(ValidationStatus? t) { - _validationStatus.value = t; - return this; - } - UpdateCertificateVariablesBuilder certificateNumber(String? t) { - _certificateNumber.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateCertificate( - id: id, -) -.name(name) -.description(description) -.expiry(expiry) -.status(status) -.fileUrl(fileUrl) -.icon(icon) -.staffId(staffId) -.certificationType(certificationType) -.issuer(issuer) -.validationStatus(validationStatus) -.certificateNumber(certificateNumber) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateCertificate( - id: id, -); -UpdateCertificateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateCertificate( - id: id, -).ref(); -ref.execute(); -``` - - -### DeleteCertificate -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteCertificate( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteCertificate( - id: id, -); -DeleteCertificateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteCertificate( - id: id, -).ref(); -ref.execute(); -``` - - -### createFaqData -#### Required Arguments -```dart -String category = ...; -ExampleConnector.instance.createFaqData( - category: category, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createFaqData, we created `createFaqDataBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateFaqDataVariablesBuilder { - ... - CreateFaqDataVariablesBuilder questions(List? t) { - _questions.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createFaqData( - category: category, -) -.questions(questions) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createFaqData( - category: category, -); -createFaqDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String category = ...; - -final ref = ExampleConnector.instance.createFaqData( - category: category, -).ref(); -ref.execute(); -``` - - -### updateFaqData -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateFaqData( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateFaqData, we created `updateFaqDataBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateFaqDataVariablesBuilder { - ... - UpdateFaqDataVariablesBuilder category(String? t) { - _category.value = t; - return this; - } - UpdateFaqDataVariablesBuilder questions(List? t) { - _questions.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateFaqData( - id: id, -) -.category(category) -.questions(questions) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateFaqData( - id: id, -); -updateFaqDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateFaqData( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteFaqData -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteFaqData( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteFaqData( - id: id, -); -deleteFaqDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteFaqData( - id: id, -).ref(); -ref.execute(); -``` - - -### createStaffAvailabilityStats -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.createStaffAvailabilityStats( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createStaffAvailabilityStats, we created `createStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateStaffAvailabilityStatsVariablesBuilder { - ... - CreateStaffAvailabilityStatsVariablesBuilder needWorkIndex(int? t) { - _needWorkIndex.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder utilizationPercentage(int? t) { - _utilizationPercentage.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder predictedAvailabilityScore(int? t) { - _predictedAvailabilityScore.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder scheduledHoursThisPeriod(int? t) { - _scheduledHoursThisPeriod.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder desiredHoursThisPeriod(int? t) { - _desiredHoursThisPeriod.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder lastShiftDate(Timestamp? t) { - _lastShiftDate.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder acceptanceRate(int? t) { - _acceptanceRate.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createStaffAvailabilityStats( - staffId: staffId, -) -.needWorkIndex(needWorkIndex) -.utilizationPercentage(utilizationPercentage) -.predictedAvailabilityScore(predictedAvailabilityScore) -.scheduledHoursThisPeriod(scheduledHoursThisPeriod) -.desiredHoursThisPeriod(desiredHoursThisPeriod) -.lastShiftDate(lastShiftDate) -.acceptanceRate(acceptanceRate) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createStaffAvailabilityStats( - staffId: staffId, -); -createStaffAvailabilityStatsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.createStaffAvailabilityStats( - staffId: staffId, -).ref(); -ref.execute(); -``` - - -### updateStaffAvailabilityStats -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.updateStaffAvailabilityStats( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateStaffAvailabilityStats, we created `updateStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateStaffAvailabilityStatsVariablesBuilder { - ... - UpdateStaffAvailabilityStatsVariablesBuilder needWorkIndex(int? t) { - _needWorkIndex.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder utilizationPercentage(int? t) { - _utilizationPercentage.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder predictedAvailabilityScore(int? t) { - _predictedAvailabilityScore.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder scheduledHoursThisPeriod(int? t) { - _scheduledHoursThisPeriod.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder desiredHoursThisPeriod(int? t) { - _desiredHoursThisPeriod.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder lastShiftDate(Timestamp? t) { - _lastShiftDate.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder acceptanceRate(int? t) { - _acceptanceRate.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateStaffAvailabilityStats( - staffId: staffId, -) -.needWorkIndex(needWorkIndex) -.utilizationPercentage(utilizationPercentage) -.predictedAvailabilityScore(predictedAvailabilityScore) -.scheduledHoursThisPeriod(scheduledHoursThisPeriod) -.desiredHoursThisPeriod(desiredHoursThisPeriod) -.lastShiftDate(lastShiftDate) -.acceptanceRate(acceptanceRate) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateStaffAvailabilityStats( - staffId: staffId, -); -updateStaffAvailabilityStatsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.updateStaffAvailabilityStats( - staffId: staffId, -).ref(); -ref.execute(); -``` - - -### deleteStaffAvailabilityStats -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.deleteStaffAvailabilityStats( - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteStaffAvailabilityStats( - staffId: staffId, -); -deleteStaffAvailabilityStatsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.deleteStaffAvailabilityStats( - staffId: staffId, -).ref(); -ref.execute(); -``` - - -### createActivityLog -#### Required Arguments -```dart -String userId = ...; -Timestamp date = ...; -String title = ...; -String description = ...; -ActivityType activityType = ...; -ExampleConnector.instance.createActivityLog( - userId: userId, - date: date, - title: title, - description: description, - activityType: activityType, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createActivityLog, we created `createActivityLogBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateActivityLogVariablesBuilder { - ... - CreateActivityLogVariablesBuilder hourStart(String? t) { - _hourStart.value = t; - return this; - } - CreateActivityLogVariablesBuilder hourEnd(String? t) { - _hourEnd.value = t; - return this; - } - CreateActivityLogVariablesBuilder totalhours(String? t) { - _totalhours.value = t; - return this; - } - CreateActivityLogVariablesBuilder iconType(ActivityIconType? t) { - _iconType.value = t; - return this; - } - CreateActivityLogVariablesBuilder iconColor(String? t) { - _iconColor.value = t; - return this; - } - CreateActivityLogVariablesBuilder isRead(bool? t) { - _isRead.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createActivityLog( - userId: userId, - date: date, - title: title, - description: description, - activityType: activityType, -) -.hourStart(hourStart) -.hourEnd(hourEnd) -.totalhours(totalhours) -.iconType(iconType) -.iconColor(iconColor) -.isRead(isRead) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createActivityLog( - userId: userId, - date: date, - title: title, - description: description, - activityType: activityType, -); -createActivityLogData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; -Timestamp date = ...; -String title = ...; -String description = ...; -ActivityType activityType = ...; - -final ref = ExampleConnector.instance.createActivityLog( - userId: userId, - date: date, - title: title, - description: description, - activityType: activityType, -).ref(); -ref.execute(); -``` - - -### updateActivityLog -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateActivityLog( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateActivityLog, we created `updateActivityLogBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateActivityLogVariablesBuilder { - ... - UpdateActivityLogVariablesBuilder userId(String? t) { - _userId.value = t; - return this; - } - UpdateActivityLogVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - UpdateActivityLogVariablesBuilder hourStart(String? t) { - _hourStart.value = t; - return this; - } - UpdateActivityLogVariablesBuilder hourEnd(String? t) { - _hourEnd.value = t; - return this; - } - UpdateActivityLogVariablesBuilder totalhours(String? t) { - _totalhours.value = t; - return this; - } - UpdateActivityLogVariablesBuilder iconType(ActivityIconType? t) { - _iconType.value = t; - return this; - } - UpdateActivityLogVariablesBuilder iconColor(String? t) { - _iconColor.value = t; - return this; - } - UpdateActivityLogVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateActivityLogVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateActivityLogVariablesBuilder isRead(bool? t) { - _isRead.value = t; - return this; - } - UpdateActivityLogVariablesBuilder activityType(ActivityType? t) { - _activityType.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateActivityLog( - id: id, -) -.userId(userId) -.date(date) -.hourStart(hourStart) -.hourEnd(hourEnd) -.totalhours(totalhours) -.iconType(iconType) -.iconColor(iconColor) -.title(title) -.description(description) -.isRead(isRead) -.activityType(activityType) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateActivityLog( - id: id, -); -updateActivityLogData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateActivityLog( - id: id, -).ref(); -ref.execute(); -``` - - -### markActivityLogAsRead -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.markActivityLogAsRead( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.markActivityLogAsRead( - id: id, -); -markActivityLogAsReadData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.markActivityLogAsRead( - id: id, -).ref(); -ref.execute(); -``` - - -### markActivityLogsAsRead -#### Required Arguments -```dart -String ids = ...; -ExampleConnector.instance.markActivityLogsAsRead( - ids: ids, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.markActivityLogsAsRead( - ids: ids, -); -markActivityLogsAsReadData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ids = ...; - -final ref = ExampleConnector.instance.markActivityLogsAsRead( - ids: ids, -).ref(); -ref.execute(); -``` - - -### deleteActivityLog -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteActivityLog( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteActivityLog( - id: id, -); -deleteActivityLogData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteActivityLog( - id: id, -).ref(); -ref.execute(); -``` - - -### createStaffAvailability -#### Required Arguments -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; -ExampleConnector.instance.createStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createStaffAvailability, we created `createStaffAvailabilityBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateStaffAvailabilityVariablesBuilder { - ... - CreateStaffAvailabilityVariablesBuilder status(AvailabilityStatus? t) { - _status.value = t; - return this; - } - CreateStaffAvailabilityVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -) -.status(status) -.notes(notes) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -); -createStaffAvailabilityData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; - -final ref = ExampleConnector.instance.createStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).ref(); -ref.execute(); -``` - - -### updateStaffAvailability -#### Required Arguments -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; -ExampleConnector.instance.updateStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateStaffAvailability, we created `updateStaffAvailabilityBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateStaffAvailabilityVariablesBuilder { - ... - UpdateStaffAvailabilityVariablesBuilder status(AvailabilityStatus? t) { - _status.value = t; - return this; - } - UpdateStaffAvailabilityVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -) -.status(status) -.notes(notes) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -); -updateStaffAvailabilityData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; - -final ref = ExampleConnector.instance.updateStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).ref(); -ref.execute(); -``` - - -### deleteStaffAvailability -#### Required Arguments -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; -ExampleConnector.instance.deleteStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -); -deleteStaffAvailabilityData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; - -final ref = ExampleConnector.instance.deleteStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).ref(); -ref.execute(); -``` - - -### createTeamHub -#### Required Arguments -```dart -String teamId = ...; -String hubName = ...; -String address = ...; -String city = ...; -String state = ...; -String zipCode = ...; -String managerName = ...; -ExampleConnector.instance.createTeamHub( - teamId: teamId, - hubName: hubName, - address: address, - city: city, - state: state, - zipCode: zipCode, - managerName: managerName, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTeamHub, we created `createTeamHubBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTeamHubVariablesBuilder { - ... - CreateTeamHubVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateTeamHubVariablesBuilder departments(AnyValue? t) { - _departments.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTeamHub( - teamId: teamId, - hubName: hubName, - address: address, - city: city, - state: state, - zipCode: zipCode, - managerName: managerName, -) -.isActive(isActive) -.departments(departments) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTeamHub( - teamId: teamId, - hubName: hubName, - address: address, - city: city, - state: state, - zipCode: zipCode, - managerName: managerName, -); -createTeamHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamId = ...; -String hubName = ...; -String address = ...; -String city = ...; -String state = ...; -String zipCode = ...; -String managerName = ...; - -final ref = ExampleConnector.instance.createTeamHub( - teamId: teamId, - hubName: hubName, - address: address, - city: city, - state: state, - zipCode: zipCode, - managerName: managerName, -).ref(); -ref.execute(); -``` - - -### updateTeamHub -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTeamHub( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTeamHub, we created `updateTeamHubBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTeamHubVariablesBuilder { - ... - UpdateTeamHubVariablesBuilder hubName(String? t) { - _hubName.value = t; - return this; - } - UpdateTeamHubVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - UpdateTeamHubVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - UpdateTeamHubVariablesBuilder state(String? t) { - _state.value = t; - return this; - } - UpdateTeamHubVariablesBuilder zipCode(String? t) { - _zipCode.value = t; - return this; - } - UpdateTeamHubVariablesBuilder managerName(String? t) { - _managerName.value = t; - return this; - } - UpdateTeamHubVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateTeamHubVariablesBuilder departments(AnyValue? t) { - _departments.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTeamHub( - id: id, -) -.hubName(hubName) -.address(address) -.city(city) -.state(state) -.zipCode(zipCode) -.managerName(managerName) -.isActive(isActive) -.departments(departments) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTeamHub( - id: id, -); -updateTeamHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTeamHub( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteTeamHub -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTeamHub( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTeamHub( - id: id, -); -deleteTeamHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTeamHub( - id: id, -).ref(); -ref.execute(); -``` - - ### createUserConversation #### Required Arguments ```dart @@ -19929,2362 +19077,6 @@ ref.execute(); ``` -### createMemberTask -#### Required Arguments -```dart -String teamMemberId = ...; -String taskId = ...; -ExampleConnector.instance.createMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -); -createMemberTaskData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamMemberId = ...; -String taskId = ...; - -final ref = ExampleConnector.instance.createMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -).ref(); -ref.execute(); -``` - - -### deleteMemberTask -#### Required Arguments -```dart -String teamMemberId = ...; -String taskId = ...; -ExampleConnector.instance.deleteMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -); -deleteMemberTaskData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamMemberId = ...; -String taskId = ...; - -final ref = ExampleConnector.instance.deleteMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -).ref(); -ref.execute(); -``` - - -### createTask -#### Required Arguments -```dart -String taskName = ...; -TaskPriority priority = ...; -TaskStatus status = ...; -String ownerId = ...; -ExampleConnector.instance.createTask( - taskName: taskName, - priority: priority, - status: status, - ownerId: ownerId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTask, we created `createTaskBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTaskVariablesBuilder { - ... - CreateTaskVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateTaskVariablesBuilder dueDate(Timestamp? t) { - _dueDate.value = t; - return this; - } - CreateTaskVariablesBuilder progress(int? t) { - _progress.value = t; - return this; - } - CreateTaskVariablesBuilder orderIndex(int? t) { - _orderIndex.value = t; - return this; - } - CreateTaskVariablesBuilder commentCount(int? t) { - _commentCount.value = t; - return this; - } - CreateTaskVariablesBuilder attachmentCount(int? t) { - _attachmentCount.value = t; - return this; - } - CreateTaskVariablesBuilder files(AnyValue? t) { - _files.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTask( - taskName: taskName, - priority: priority, - status: status, - ownerId: ownerId, -) -.description(description) -.dueDate(dueDate) -.progress(progress) -.orderIndex(orderIndex) -.commentCount(commentCount) -.attachmentCount(attachmentCount) -.files(files) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTask( - taskName: taskName, - priority: priority, - status: status, - ownerId: ownerId, -); -createTaskData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String taskName = ...; -TaskPriority priority = ...; -TaskStatus status = ...; -String ownerId = ...; - -final ref = ExampleConnector.instance.createTask( - taskName: taskName, - priority: priority, - status: status, - ownerId: ownerId, -).ref(); -ref.execute(); -``` - - -### updateTask -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTask( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTask, we created `updateTaskBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTaskVariablesBuilder { - ... - UpdateTaskVariablesBuilder taskName(String? t) { - _taskName.value = t; - return this; - } - UpdateTaskVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateTaskVariablesBuilder priority(TaskPriority? t) { - _priority.value = t; - return this; - } - UpdateTaskVariablesBuilder status(TaskStatus? t) { - _status.value = t; - return this; - } - UpdateTaskVariablesBuilder dueDate(Timestamp? t) { - _dueDate.value = t; - return this; - } - UpdateTaskVariablesBuilder progress(int? t) { - _progress.value = t; - return this; - } - UpdateTaskVariablesBuilder assignedMembers(AnyValue? t) { - _assignedMembers.value = t; - return this; - } - UpdateTaskVariablesBuilder orderIndex(int? t) { - _orderIndex.value = t; - return this; - } - UpdateTaskVariablesBuilder commentCount(int? t) { - _commentCount.value = t; - return this; - } - UpdateTaskVariablesBuilder attachmentCount(int? t) { - _attachmentCount.value = t; - return this; - } - UpdateTaskVariablesBuilder files(AnyValue? t) { - _files.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTask( - id: id, -) -.taskName(taskName) -.description(description) -.priority(priority) -.status(status) -.dueDate(dueDate) -.progress(progress) -.assignedMembers(assignedMembers) -.orderIndex(orderIndex) -.commentCount(commentCount) -.attachmentCount(attachmentCount) -.files(files) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTask( - id: id, -); -updateTaskData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTask( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteTask -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTask( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTask( - id: id, -); -deleteTaskData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTask( - id: id, -).ref(); -ref.execute(); -``` - - -### createVendorBenefitPlan -#### Required Arguments -```dart -String vendorId = ...; -String title = ...; -ExampleConnector.instance.createVendorBenefitPlan( - vendorId: vendorId, - title: title, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createVendorBenefitPlan, we created `createVendorBenefitPlanBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateVendorBenefitPlanVariablesBuilder { - ... - CreateVendorBenefitPlanVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateVendorBenefitPlanVariablesBuilder requestLabel(String? t) { - _requestLabel.value = t; - return this; - } - CreateVendorBenefitPlanVariablesBuilder total(int? t) { - _total.value = t; - return this; - } - CreateVendorBenefitPlanVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateVendorBenefitPlanVariablesBuilder createdBy(String? t) { - _createdBy.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createVendorBenefitPlan( - vendorId: vendorId, - title: title, -) -.description(description) -.requestLabel(requestLabel) -.total(total) -.isActive(isActive) -.createdBy(createdBy) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createVendorBenefitPlan( - vendorId: vendorId, - title: title, -); -createVendorBenefitPlanData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -String title = ...; - -final ref = ExampleConnector.instance.createVendorBenefitPlan( - vendorId: vendorId, - title: title, -).ref(); -ref.execute(); -``` - - -### updateVendorBenefitPlan -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateVendorBenefitPlan( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateVendorBenefitPlan, we created `updateVendorBenefitPlanBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateVendorBenefitPlanVariablesBuilder { - ... - UpdateVendorBenefitPlanVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder requestLabel(String? t) { - _requestLabel.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder total(int? t) { - _total.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder createdBy(String? t) { - _createdBy.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateVendorBenefitPlan( - id: id, -) -.vendorId(vendorId) -.title(title) -.description(description) -.requestLabel(requestLabel) -.total(total) -.isActive(isActive) -.createdBy(createdBy) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateVendorBenefitPlan( - id: id, -); -updateVendorBenefitPlanData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateVendorBenefitPlan( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteVendorBenefitPlan -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteVendorBenefitPlan( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteVendorBenefitPlan( - id: id, -); -deleteVendorBenefitPlanData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteVendorBenefitPlan( - id: id, -).ref(); -ref.execute(); -``` - - -### createTaskComment -#### Required Arguments -```dart -String taskId = ...; -String teamMemberId = ...; -String comment = ...; -ExampleConnector.instance.createTaskComment( - taskId: taskId, - teamMemberId: teamMemberId, - comment: comment, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTaskComment, we created `createTaskCommentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTaskCommentVariablesBuilder { - ... - CreateTaskCommentVariablesBuilder isSystem(bool? t) { - _isSystem.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTaskComment( - taskId: taskId, - teamMemberId: teamMemberId, - comment: comment, -) -.isSystem(isSystem) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTaskComment( - taskId: taskId, - teamMemberId: teamMemberId, - comment: comment, -); -createTaskCommentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String taskId = ...; -String teamMemberId = ...; -String comment = ...; - -final ref = ExampleConnector.instance.createTaskComment( - taskId: taskId, - teamMemberId: teamMemberId, - comment: comment, -).ref(); -ref.execute(); -``` - - -### updateTaskComment -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTaskComment( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTaskComment, we created `updateTaskCommentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTaskCommentVariablesBuilder { - ... - UpdateTaskCommentVariablesBuilder comment(String? t) { - _comment.value = t; - return this; - } - UpdateTaskCommentVariablesBuilder isSystem(bool? t) { - _isSystem.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTaskComment( - id: id, -) -.comment(comment) -.isSystem(isSystem) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTaskComment( - id: id, -); -updateTaskCommentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTaskComment( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteTaskComment -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTaskComment( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTaskComment( - id: id, -); -deleteTaskCommentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTaskComment( - id: id, -).ref(); -ref.execute(); -``` - - -### createTaxForm -#### Required Arguments -```dart -TaxFormType formType = ...; -String title = ...; -String staffId = ...; -ExampleConnector.instance.createTaxForm( - formType: formType, - title: title, - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTaxForm, we created `createTaxFormBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTaxFormVariablesBuilder { - ... - CreateTaxFormVariablesBuilder subtitle(String? t) { - _subtitle.value = t; - return this; - } - CreateTaxFormVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateTaxFormVariablesBuilder status(TaxFormStatus? t) { - _status.value = t; - return this; - } - CreateTaxFormVariablesBuilder formData(AnyValue? t) { - _formData.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTaxForm( - formType: formType, - title: title, - staffId: staffId, -) -.subtitle(subtitle) -.description(description) -.status(status) -.formData(formData) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTaxForm( - formType: formType, - title: title, - staffId: staffId, -); -createTaxFormData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -TaxFormType formType = ...; -String title = ...; -String staffId = ...; - -final ref = ExampleConnector.instance.createTaxForm( - formType: formType, - title: title, - staffId: staffId, -).ref(); -ref.execute(); -``` - - -### updateTaxForm -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTaxForm( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTaxForm, we created `updateTaxFormBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTaxFormVariablesBuilder { - ... - UpdateTaxFormVariablesBuilder status(TaxFormStatus? t) { - _status.value = t; - return this; - } - UpdateTaxFormVariablesBuilder formData(AnyValue? t) { - _formData.value = t; - return this; - } - UpdateTaxFormVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateTaxFormVariablesBuilder subtitle(String? t) { - _subtitle.value = t; - return this; - } - UpdateTaxFormVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTaxForm( - id: id, -) -.status(status) -.formData(formData) -.title(title) -.subtitle(subtitle) -.description(description) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTaxForm( - id: id, -); -updateTaxFormData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTaxForm( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteTaxForm -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTaxForm( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTaxForm( - id: id, -); -deleteTaxFormData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTaxForm( - id: id, -).ref(); -ref.execute(); -``` - - -### createMessage -#### Required Arguments -```dart -String conversationId = ...; -String senderId = ...; -String content = ...; -ExampleConnector.instance.createMessage( - conversationId: conversationId, - senderId: senderId, - content: content, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createMessage, we created `createMessageBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateMessageVariablesBuilder { - ... - CreateMessageVariablesBuilder isSystem(bool? t) { - _isSystem.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createMessage( - conversationId: conversationId, - senderId: senderId, - content: content, -) -.isSystem(isSystem) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createMessage( - conversationId: conversationId, - senderId: senderId, - content: content, -); -createMessageData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; -String senderId = ...; -String content = ...; - -final ref = ExampleConnector.instance.createMessage( - conversationId: conversationId, - senderId: senderId, - content: content, -).ref(); -ref.execute(); -``` - - -### updateMessage -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateMessage( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateMessage, we created `updateMessageBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateMessageVariablesBuilder { - ... - UpdateMessageVariablesBuilder conversationId(String? t) { - _conversationId.value = t; - return this; - } - UpdateMessageVariablesBuilder senderId(String? t) { - _senderId.value = t; - return this; - } - UpdateMessageVariablesBuilder content(String? t) { - _content.value = t; - return this; - } - UpdateMessageVariablesBuilder isSystem(bool? t) { - _isSystem.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateMessage( - id: id, -) -.conversationId(conversationId) -.senderId(senderId) -.content(content) -.isSystem(isSystem) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateMessage( - id: id, -); -updateMessageData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateMessage( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteMessage -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteMessage( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteMessage( - id: id, -); -deleteMessageData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteMessage( - id: id, -).ref(); -ref.execute(); -``` - - -### createApplication -#### Required Arguments -```dart -String shiftId = ...; -String staffId = ...; -ApplicationStatus status = ...; -ApplicationOrigin origin = ...; -String roleId = ...; -ExampleConnector.instance.createApplication( - shiftId: shiftId, - staffId: staffId, - status: status, - origin: origin, - roleId: roleId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createApplication, we created `createApplicationBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateApplicationVariablesBuilder { - ... - CreateApplicationVariablesBuilder checkInTime(Timestamp? t) { - _checkInTime.value = t; - return this; - } - CreateApplicationVariablesBuilder checkOutTime(Timestamp? t) { - _checkOutTime.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createApplication( - shiftId: shiftId, - staffId: staffId, - status: status, - origin: origin, - roleId: roleId, -) -.checkInTime(checkInTime) -.checkOutTime(checkOutTime) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createApplication( - shiftId: shiftId, - staffId: staffId, - status: status, - origin: origin, - roleId: roleId, -); -createApplicationData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; -String staffId = ...; -ApplicationStatus status = ...; -ApplicationOrigin origin = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.createApplication( - shiftId: shiftId, - staffId: staffId, - status: status, - origin: origin, - roleId: roleId, -).ref(); -ref.execute(); -``` - - -### updateApplicationStatus -#### Required Arguments -```dart -String id = ...; -String roleId = ...; -ExampleConnector.instance.updateApplicationStatus( - id: id, - roleId: roleId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateApplicationStatus, we created `updateApplicationStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateApplicationStatusVariablesBuilder { - ... - UpdateApplicationStatusVariablesBuilder shiftId(String? t) { - _shiftId.value = t; - return this; - } - UpdateApplicationStatusVariablesBuilder staffId(String? t) { - _staffId.value = t; - return this; - } - UpdateApplicationStatusVariablesBuilder status(ApplicationStatus? t) { - _status.value = t; - return this; - } - UpdateApplicationStatusVariablesBuilder checkInTime(Timestamp? t) { - _checkInTime.value = t; - return this; - } - UpdateApplicationStatusVariablesBuilder checkOutTime(Timestamp? t) { - _checkOutTime.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateApplicationStatus( - id: id, - roleId: roleId, -) -.shiftId(shiftId) -.staffId(staffId) -.status(status) -.checkInTime(checkInTime) -.checkOutTime(checkOutTime) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateApplicationStatus( - id: id, - roleId: roleId, -); -updateApplicationStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.updateApplicationStatus( - id: id, - roleId: roleId, -).ref(); -ref.execute(); -``` - - -### deleteApplication -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteApplication( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteApplication( - id: id, -); -deleteApplicationData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteApplication( - id: id, -).ref(); -ref.execute(); -``` - - -### CreateAssignment -#### Required Arguments -```dart -String workforceId = ...; -String roleId = ...; -String shiftId = ...; -ExampleConnector.instance.createAssignment( - workforceId: workforceId, - roleId: roleId, - shiftId: shiftId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For CreateAssignment, we created `CreateAssignmentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateAssignmentVariablesBuilder { - ... - CreateAssignmentVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - CreateAssignmentVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateAssignmentVariablesBuilder instructions(String? t) { - _instructions.value = t; - return this; - } - CreateAssignmentVariablesBuilder status(AssignmentStatus? t) { - _status.value = t; - return this; - } - CreateAssignmentVariablesBuilder tipsAvailable(bool? t) { - _tipsAvailable.value = t; - return this; - } - CreateAssignmentVariablesBuilder travelTime(bool? t) { - _travelTime.value = t; - return this; - } - CreateAssignmentVariablesBuilder mealProvided(bool? t) { - _mealProvided.value = t; - return this; - } - CreateAssignmentVariablesBuilder parkingAvailable(bool? t) { - _parkingAvailable.value = t; - return this; - } - CreateAssignmentVariablesBuilder gasCompensation(bool? t) { - _gasCompensation.value = t; - return this; - } - CreateAssignmentVariablesBuilder managers(List? t) { - _managers.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createAssignment( - workforceId: workforceId, - roleId: roleId, - shiftId: shiftId, -) -.title(title) -.description(description) -.instructions(instructions) -.status(status) -.tipsAvailable(tipsAvailable) -.travelTime(travelTime) -.mealProvided(mealProvided) -.parkingAvailable(parkingAvailable) -.gasCompensation(gasCompensation) -.managers(managers) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createAssignment( - workforceId: workforceId, - roleId: roleId, - shiftId: shiftId, -); -CreateAssignmentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String workforceId = ...; -String roleId = ...; -String shiftId = ...; - -final ref = ExampleConnector.instance.createAssignment( - workforceId: workforceId, - roleId: roleId, - shiftId: shiftId, -).ref(); -ref.execute(); -``` - - -### UpdateAssignment -#### Required Arguments -```dart -String id = ...; -String roleId = ...; -String shiftId = ...; -ExampleConnector.instance.updateAssignment( - id: id, - roleId: roleId, - shiftId: shiftId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For UpdateAssignment, we created `UpdateAssignmentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateAssignmentVariablesBuilder { - ... - UpdateAssignmentVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateAssignmentVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateAssignmentVariablesBuilder instructions(String? t) { - _instructions.value = t; - return this; - } - UpdateAssignmentVariablesBuilder status(AssignmentStatus? t) { - _status.value = t; - return this; - } - UpdateAssignmentVariablesBuilder tipsAvailable(bool? t) { - _tipsAvailable.value = t; - return this; - } - UpdateAssignmentVariablesBuilder travelTime(bool? t) { - _travelTime.value = t; - return this; - } - UpdateAssignmentVariablesBuilder mealProvided(bool? t) { - _mealProvided.value = t; - return this; - } - UpdateAssignmentVariablesBuilder parkingAvailable(bool? t) { - _parkingAvailable.value = t; - return this; - } - UpdateAssignmentVariablesBuilder gasCompensation(bool? t) { - _gasCompensation.value = t; - return this; - } - UpdateAssignmentVariablesBuilder managers(List? t) { - _managers.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateAssignment( - id: id, - roleId: roleId, - shiftId: shiftId, -) -.title(title) -.description(description) -.instructions(instructions) -.status(status) -.tipsAvailable(tipsAvailable) -.travelTime(travelTime) -.mealProvided(mealProvided) -.parkingAvailable(parkingAvailable) -.gasCompensation(gasCompensation) -.managers(managers) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateAssignment( - id: id, - roleId: roleId, - shiftId: shiftId, -); -UpdateAssignmentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; -String roleId = ...; -String shiftId = ...; - -final ref = ExampleConnector.instance.updateAssignment( - id: id, - roleId: roleId, - shiftId: shiftId, -).ref(); -ref.execute(); -``` - - -### DeleteAssignment -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteAssignment( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteAssignment( - id: id, -); -DeleteAssignmentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteAssignment( - id: id, -).ref(); -ref.execute(); -``` - - -### createBenefitsData -#### Required Arguments -```dart -String vendorBenefitPlanId = ...; -String staffId = ...; -int current = ...; -ExampleConnector.instance.createBenefitsData( - vendorBenefitPlanId: vendorBenefitPlanId, - staffId: staffId, - current: current, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createBenefitsData( - vendorBenefitPlanId: vendorBenefitPlanId, - staffId: staffId, - current: current, -); -createBenefitsDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorBenefitPlanId = ...; -String staffId = ...; -int current = ...; - -final ref = ExampleConnector.instance.createBenefitsData( - vendorBenefitPlanId: vendorBenefitPlanId, - staffId: staffId, - current: current, -).ref(); -ref.execute(); -``` - - -### updateBenefitsData -#### Required Arguments -```dart -String staffId = ...; -String vendorBenefitPlanId = ...; -ExampleConnector.instance.updateBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateBenefitsData, we created `updateBenefitsDataBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateBenefitsDataVariablesBuilder { - ... - UpdateBenefitsDataVariablesBuilder current(int? t) { - _current.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -) -.current(current) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -); -updateBenefitsDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String vendorBenefitPlanId = ...; - -final ref = ExampleConnector.instance.updateBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -).ref(); -ref.execute(); -``` - - -### deleteBenefitsData -#### Required Arguments -```dart -String staffId = ...; -String vendorBenefitPlanId = ...; -ExampleConnector.instance.deleteBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -); -deleteBenefitsDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String vendorBenefitPlanId = ...; - -final ref = ExampleConnector.instance.deleteBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -).ref(); -ref.execute(); -``` - - -### createCustomRateCard -#### Required Arguments -```dart -String name = ...; -ExampleConnector.instance.createCustomRateCard( - name: name, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createCustomRateCard, we created `createCustomRateCardBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateCustomRateCardVariablesBuilder { - ... - CreateCustomRateCardVariablesBuilder baseBook(String? t) { - _baseBook.value = t; - return this; - } - CreateCustomRateCardVariablesBuilder discount(double? t) { - _discount.value = t; - return this; - } - CreateCustomRateCardVariablesBuilder isDefault(bool? t) { - _isDefault.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createCustomRateCard( - name: name, -) -.baseBook(baseBook) -.discount(discount) -.isDefault(isDefault) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createCustomRateCard( - name: name, -); -createCustomRateCardData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; - -final ref = ExampleConnector.instance.createCustomRateCard( - name: name, -).ref(); -ref.execute(); -``` - - -### updateCustomRateCard -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateCustomRateCard( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateCustomRateCard, we created `updateCustomRateCardBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateCustomRateCardVariablesBuilder { - ... - UpdateCustomRateCardVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateCustomRateCardVariablesBuilder baseBook(String? t) { - _baseBook.value = t; - return this; - } - UpdateCustomRateCardVariablesBuilder discount(double? t) { - _discount.value = t; - return this; - } - UpdateCustomRateCardVariablesBuilder isDefault(bool? t) { - _isDefault.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateCustomRateCard( - id: id, -) -.name(name) -.baseBook(baseBook) -.discount(discount) -.isDefault(isDefault) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateCustomRateCard( - id: id, -); -updateCustomRateCardData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateCustomRateCard( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteCustomRateCard -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteCustomRateCard( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteCustomRateCard( - id: id, -); -deleteCustomRateCardData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteCustomRateCard( - id: id, -).ref(); -ref.execute(); -``` - - -### createRoleCategory -#### Required Arguments -```dart -String roleName = ...; -RoleCategoryType category = ...; -ExampleConnector.instance.createRoleCategory( - roleName: roleName, - category: category, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createRoleCategory( - roleName: roleName, - category: category, -); -createRoleCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String roleName = ...; -RoleCategoryType category = ...; - -final ref = ExampleConnector.instance.createRoleCategory( - roleName: roleName, - category: category, -).ref(); -ref.execute(); -``` - - -### updateRoleCategory -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateRoleCategory( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateRoleCategory, we created `updateRoleCategoryBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateRoleCategoryVariablesBuilder { - ... - UpdateRoleCategoryVariablesBuilder roleName(String? t) { - _roleName.value = t; - return this; - } - UpdateRoleCategoryVariablesBuilder category(RoleCategoryType? t) { - _category.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateRoleCategory( - id: id, -) -.roleName(roleName) -.category(category) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateRoleCategory( - id: id, -); -updateRoleCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateRoleCategory( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteRoleCategory -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteRoleCategory( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteRoleCategory( - id: id, -); -deleteRoleCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteRoleCategory( - id: id, -).ref(); -ref.execute(); -``` - - -### createStaffCourse -#### Required Arguments -```dart -String staffId = ...; -String courseId = ...; -ExampleConnector.instance.createStaffCourse( - staffId: staffId, - courseId: courseId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createStaffCourse, we created `createStaffCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateStaffCourseVariablesBuilder { - ... - CreateStaffCourseVariablesBuilder progressPercent(int? t) { - _progressPercent.value = t; - return this; - } - CreateStaffCourseVariablesBuilder completed(bool? t) { - _completed.value = t; - return this; - } - CreateStaffCourseVariablesBuilder completedAt(Timestamp? t) { - _completedAt.value = t; - return this; - } - CreateStaffCourseVariablesBuilder startedAt(Timestamp? t) { - _startedAt.value = t; - return this; - } - CreateStaffCourseVariablesBuilder lastAccessedAt(Timestamp? t) { - _lastAccessedAt.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createStaffCourse( - staffId: staffId, - courseId: courseId, -) -.progressPercent(progressPercent) -.completed(completed) -.completedAt(completedAt) -.startedAt(startedAt) -.lastAccessedAt(lastAccessedAt) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createStaffCourse( - staffId: staffId, - courseId: courseId, -); -createStaffCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String courseId = ...; - -final ref = ExampleConnector.instance.createStaffCourse( - staffId: staffId, - courseId: courseId, -).ref(); -ref.execute(); -``` - - -### updateStaffCourse -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateStaffCourse( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateStaffCourse, we created `updateStaffCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateStaffCourseVariablesBuilder { - ... - UpdateStaffCourseVariablesBuilder progressPercent(int? t) { - _progressPercent.value = t; - return this; - } - UpdateStaffCourseVariablesBuilder completed(bool? t) { - _completed.value = t; - return this; - } - UpdateStaffCourseVariablesBuilder completedAt(Timestamp? t) { - _completedAt.value = t; - return this; - } - UpdateStaffCourseVariablesBuilder startedAt(Timestamp? t) { - _startedAt.value = t; - return this; - } - UpdateStaffCourseVariablesBuilder lastAccessedAt(Timestamp? t) { - _lastAccessedAt.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateStaffCourse( - id: id, -) -.progressPercent(progressPercent) -.completed(completed) -.completedAt(completedAt) -.startedAt(startedAt) -.lastAccessedAt(lastAccessedAt) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateStaffCourse( - id: id, -); -updateStaffCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateStaffCourse( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteStaffCourse -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteStaffCourse( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteStaffCourse( - id: id, -); -deleteStaffCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteStaffCourse( - id: id, -).ref(); -ref.execute(); -``` - - ### createAccount #### Required Arguments ```dart @@ -22480,404 +19272,6 @@ ref.execute(); ``` -### createCourse -#### Required Arguments -```dart -String categoryId = ...; -ExampleConnector.instance.createCourse( - categoryId: categoryId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createCourse, we created `createCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateCourseVariablesBuilder { - ... - - CreateCourseVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - CreateCourseVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateCourseVariablesBuilder thumbnailUrl(String? t) { - _thumbnailUrl.value = t; - return this; - } - CreateCourseVariablesBuilder durationMinutes(int? t) { - _durationMinutes.value = t; - return this; - } - CreateCourseVariablesBuilder xpReward(int? t) { - _xpReward.value = t; - return this; - } - CreateCourseVariablesBuilder levelRequired(String? t) { - _levelRequired.value = t; - return this; - } - CreateCourseVariablesBuilder isCertification(bool? t) { - _isCertification.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createCourse( - categoryId: categoryId, -) -.title(title) -.description(description) -.thumbnailUrl(thumbnailUrl) -.durationMinutes(durationMinutes) -.xpReward(xpReward) -.levelRequired(levelRequired) -.isCertification(isCertification) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createCourse( - categoryId: categoryId, -); -createCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String categoryId = ...; - -final ref = ExampleConnector.instance.createCourse( - categoryId: categoryId, -).ref(); -ref.execute(); -``` - - -### updateCourse -#### Required Arguments -```dart -String id = ...; -String categoryId = ...; -ExampleConnector.instance.updateCourse( - id: id, - categoryId: categoryId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateCourse, we created `updateCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateCourseVariablesBuilder { - ... - UpdateCourseVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateCourseVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateCourseVariablesBuilder thumbnailUrl(String? t) { - _thumbnailUrl.value = t; - return this; - } - UpdateCourseVariablesBuilder durationMinutes(int? t) { - _durationMinutes.value = t; - return this; - } - UpdateCourseVariablesBuilder xpReward(int? t) { - _xpReward.value = t; - return this; - } - UpdateCourseVariablesBuilder levelRequired(String? t) { - _levelRequired.value = t; - return this; - } - UpdateCourseVariablesBuilder isCertification(bool? t) { - _isCertification.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateCourse( - id: id, - categoryId: categoryId, -) -.title(title) -.description(description) -.thumbnailUrl(thumbnailUrl) -.durationMinutes(durationMinutes) -.xpReward(xpReward) -.levelRequired(levelRequired) -.isCertification(isCertification) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateCourse( - id: id, - categoryId: categoryId, -); -updateCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; -String categoryId = ...; - -final ref = ExampleConnector.instance.updateCourse( - id: id, - categoryId: categoryId, -).ref(); -ref.execute(); -``` - - -### deleteCourse -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteCourse( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteCourse( - id: id, -); -deleteCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteCourse( - id: id, -).ref(); -ref.execute(); -``` - - -### createEmergencyContact -#### Required Arguments -```dart -String name = ...; -String phone = ...; -RelationshipType relationship = ...; -String staffId = ...; -ExampleConnector.instance.createEmergencyContact( - name: name, - phone: phone, - relationship: relationship, - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createEmergencyContact( - name: name, - phone: phone, - relationship: relationship, - staffId: staffId, -); -createEmergencyContactData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; -String phone = ...; -RelationshipType relationship = ...; -String staffId = ...; - -final ref = ExampleConnector.instance.createEmergencyContact( - name: name, - phone: phone, - relationship: relationship, - staffId: staffId, -).ref(); -ref.execute(); -``` - - -### updateEmergencyContact -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateEmergencyContact( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateEmergencyContact, we created `updateEmergencyContactBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateEmergencyContactVariablesBuilder { - ... - UpdateEmergencyContactVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateEmergencyContactVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - UpdateEmergencyContactVariablesBuilder relationship(RelationshipType? t) { - _relationship.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateEmergencyContact( - id: id, -) -.name(name) -.phone(phone) -.relationship(relationship) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateEmergencyContact( - id: id, -); -updateEmergencyContactData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateEmergencyContact( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteEmergencyContact -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteEmergencyContact( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteEmergencyContact( - id: id, -); -deleteEmergencyContactData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteEmergencyContact( - id: id, -).ref(); -ref.execute(); -``` - - ### createInvoiceTemplate #### Required Arguments ```dart @@ -23226,25 +19620,21 @@ ref.execute(); ``` -### createRole +### createMemberTask #### Required Arguments ```dart -String name = ...; -double costPerHour = ...; -String vendorId = ...; -String roleCategoryId = ...; -ExampleConnector.instance.createRole( - name: name, - costPerHour: costPerHour, - vendorId: vendorId, - roleCategoryId: roleCategoryId, +String teamMemberId = ...; +String taskId = ...; +ExampleConnector.instance.createMemberTask( + teamMemberId: teamMemberId, + taskId: taskId, ).execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -23254,13 +19644,11 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.createRole( - name: name, - costPerHour: costPerHour, - vendorId: vendorId, - roleCategoryId: roleCategoryId, +final result = await ExampleConnector.instance.createMemberTask( + teamMemberId: teamMemberId, + taskId: taskId, ); -createRoleData data = result.data; +createMemberTaskData data = result.data; final ref = result.ref; ``` @@ -23268,60 +19656,101 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String name = ...; -double costPerHour = ...; -String vendorId = ...; -String roleCategoryId = ...; +String teamMemberId = ...; +String taskId = ...; -final ref = ExampleConnector.instance.createRole( - name: name, - costPerHour: costPerHour, - vendorId: vendorId, - roleCategoryId: roleCategoryId, +final ref = ExampleConnector.instance.createMemberTask( + teamMemberId: teamMemberId, + taskId: taskId, ).ref(); ref.execute(); ``` -### updateRole +### deleteMemberTask #### Required Arguments ```dart -String id = ...; -String roleCategoryId = ...; -ExampleConnector.instance.updateRole( - id: id, - roleCategoryId: roleCategoryId, +String teamMemberId = ...; +String taskId = ...; +ExampleConnector.instance.deleteMemberTask( + teamMemberId: teamMemberId, + taskId: taskId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteMemberTask( + teamMemberId: teamMemberId, + taskId: taskId, +); +deleteMemberTaskData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String teamMemberId = ...; +String taskId = ...; + +final ref = ExampleConnector.instance.deleteMemberTask( + teamMemberId: teamMemberId, + taskId: taskId, +).ref(); +ref.execute(); +``` + + +### createMessage +#### Required Arguments +```dart +String conversationId = ...; +String senderId = ...; +String content = ...; +ExampleConnector.instance.createMessage( + conversationId: conversationId, + senderId: senderId, + content: content, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For updateRole, we created `updateRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For createMessage, we created `createMessageBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class UpdateRoleVariablesBuilder { +class CreateMessageVariablesBuilder { ... - UpdateRoleVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateRoleVariablesBuilder costPerHour(double? t) { - _costPerHour.value = t; + CreateMessageVariablesBuilder isSystem(bool? t) { + _isSystem.value = t; return this; } ... } -ExampleConnector.instance.updateRole( - id: id, - roleCategoryId: roleCategoryId, +ExampleConnector.instance.createMessage( + conversationId: conversationId, + senderId: senderId, + content: content, ) -.name(name) -.costPerHour(costPerHour) +.isSystem(isSystem) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -23331,11 +19760,91 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.updateRole( - id: id, - roleCategoryId: roleCategoryId, +final result = await ExampleConnector.instance.createMessage( + conversationId: conversationId, + senderId: senderId, + content: content, ); -updateRoleData data = result.data; +createMessageData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String conversationId = ...; +String senderId = ...; +String content = ...; + +final ref = ExampleConnector.instance.createMessage( + conversationId: conversationId, + senderId: senderId, + content: content, +).ref(); +ref.execute(); +``` + + +### updateMessage +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateMessage( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateMessage, we created `updateMessageBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateMessageVariablesBuilder { + ... + UpdateMessageVariablesBuilder conversationId(String? t) { + _conversationId.value = t; + return this; + } + UpdateMessageVariablesBuilder senderId(String? t) { + _senderId.value = t; + return this; + } + UpdateMessageVariablesBuilder content(String? t) { + _content.value = t; + return this; + } + UpdateMessageVariablesBuilder isSystem(bool? t) { + _isSystem.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateMessage( + id: id, +) +.conversationId(conversationId) +.senderId(senderId) +.content(content) +.isSystem(isSystem) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateMessage( + id: id, +); +updateMessageData data = result.data; final ref = result.ref; ``` @@ -23344,21 +19853,19 @@ Each builder returns an `execute` function, which is a helper function that crea An example of how to use the `Ref` object is shown below: ```dart String id = ...; -String roleCategoryId = ...; -final ref = ExampleConnector.instance.updateRole( +final ref = ExampleConnector.instance.updateMessage( id: id, - roleCategoryId: roleCategoryId, ).ref(); ref.execute(); ``` -### deleteRole +### deleteMessage #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.deleteRole( +ExampleConnector.instance.deleteMessage( id: id, ).execute(); ``` @@ -23366,7 +19873,7 @@ ExampleConnector.instance.deleteRole( #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -23376,10 +19883,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.deleteRole( +final result = await ExampleConnector.instance.deleteMessage( id: id, ); -deleteRoleData data = result.data; +deleteMessageData data = result.data; final ref = result.ref; ``` @@ -23389,140 +19896,203 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.deleteRole( +final ref = ExampleConnector.instance.deleteMessage( id: id, ).ref(); ref.execute(); ``` -### createOrder +### createActivityLog #### Required Arguments ```dart -String vendorId = ...; -String businessId = ...; -OrderType orderType = ...; -ExampleConnector.instance.createOrder( - vendorId: vendorId, - businessId: businessId, - orderType: orderType, +String userId = ...; +Timestamp date = ...; +String title = ...; +String description = ...; +ActivityType activityType = ...; +ExampleConnector.instance.createActivityLog( + userId: userId, + date: date, + title: title, + description: description, + activityType: activityType, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For createOrder, we created `createOrderBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For createActivityLog, we created `createActivityLogBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class CreateOrderVariablesBuilder { +class CreateActivityLogVariablesBuilder { ... - CreateOrderVariablesBuilder location(String? t) { - _location.value = t; + CreateActivityLogVariablesBuilder hourStart(String? t) { + _hourStart.value = t; return this; } - CreateOrderVariablesBuilder status(OrderStatus? t) { - _status.value = t; + CreateActivityLogVariablesBuilder hourEnd(String? t) { + _hourEnd.value = t; return this; } - CreateOrderVariablesBuilder date(Timestamp? t) { + CreateActivityLogVariablesBuilder totalhours(String? t) { + _totalhours.value = t; + return this; + } + CreateActivityLogVariablesBuilder iconType(ActivityIconType? t) { + _iconType.value = t; + return this; + } + CreateActivityLogVariablesBuilder iconColor(String? t) { + _iconColor.value = t; + return this; + } + CreateActivityLogVariablesBuilder isRead(bool? t) { + _isRead.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createActivityLog( + userId: userId, + date: date, + title: title, + description: description, + activityType: activityType, +) +.hourStart(hourStart) +.hourEnd(hourEnd) +.totalhours(totalhours) +.iconType(iconType) +.iconColor(iconColor) +.isRead(isRead) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createActivityLog( + userId: userId, + date: date, + title: title, + description: description, + activityType: activityType, +); +createActivityLogData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String userId = ...; +Timestamp date = ...; +String title = ...; +String description = ...; +ActivityType activityType = ...; + +final ref = ExampleConnector.instance.createActivityLog( + userId: userId, + date: date, + title: title, + description: description, + activityType: activityType, +).ref(); +ref.execute(); +``` + + +### updateActivityLog +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateActivityLog( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateActivityLog, we created `updateActivityLogBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateActivityLogVariablesBuilder { + ... + UpdateActivityLogVariablesBuilder userId(String? t) { + _userId.value = t; + return this; + } + UpdateActivityLogVariablesBuilder date(Timestamp? t) { _date.value = t; return this; } - CreateOrderVariablesBuilder startDate(Timestamp? t) { - _startDate.value = t; + UpdateActivityLogVariablesBuilder hourStart(String? t) { + _hourStart.value = t; return this; } - CreateOrderVariablesBuilder endDate(Timestamp? t) { - _endDate.value = t; + UpdateActivityLogVariablesBuilder hourEnd(String? t) { + _hourEnd.value = t; return this; } - CreateOrderVariablesBuilder duration(OrderDuration? t) { - _duration.value = t; + UpdateActivityLogVariablesBuilder totalhours(String? t) { + _totalhours.value = t; return this; } - CreateOrderVariablesBuilder lunchBreak(int? t) { - _lunchBreak.value = t; + UpdateActivityLogVariablesBuilder iconType(ActivityIconType? t) { + _iconType.value = t; return this; } - CreateOrderVariablesBuilder total(double? t) { - _total.value = t; + UpdateActivityLogVariablesBuilder iconColor(String? t) { + _iconColor.value = t; return this; } - CreateOrderVariablesBuilder eventName(String? t) { - _eventName.value = t; + UpdateActivityLogVariablesBuilder title(String? t) { + _title.value = t; return this; } - CreateOrderVariablesBuilder assignedStaff(AnyValue? t) { - _assignedStaff.value = t; + UpdateActivityLogVariablesBuilder description(String? t) { + _description.value = t; return this; } - CreateOrderVariablesBuilder shifts(AnyValue? t) { - _shifts.value = t; + UpdateActivityLogVariablesBuilder isRead(bool? t) { + _isRead.value = t; return this; } - CreateOrderVariablesBuilder requested(int? t) { - _requested.value = t; - return this; - } - CreateOrderVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - CreateOrderVariablesBuilder recurringDays(AnyValue? t) { - _recurringDays.value = t; - return this; - } - CreateOrderVariablesBuilder permanentStartDate(Timestamp? t) { - _permanentStartDate.value = t; - return this; - } - CreateOrderVariablesBuilder permanentDays(AnyValue? t) { - _permanentDays.value = t; - return this; - } - CreateOrderVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - CreateOrderVariablesBuilder detectedConflicts(AnyValue? t) { - _detectedConflicts.value = t; - return this; - } - CreateOrderVariablesBuilder poReference(String? t) { - _poReference.value = t; + UpdateActivityLogVariablesBuilder activityType(ActivityType? t) { + _activityType.value = t; return this; } ... } -ExampleConnector.instance.createOrder( - vendorId: vendorId, - businessId: businessId, - orderType: orderType, +ExampleConnector.instance.updateActivityLog( + id: id, ) -.location(location) -.status(status) +.userId(userId) .date(date) -.startDate(startDate) -.endDate(endDate) -.duration(duration) -.lunchBreak(lunchBreak) -.total(total) -.eventName(eventName) -.assignedStaff(assignedStaff) -.shifts(shifts) -.requested(requested) -.hub(hub) -.recurringDays(recurringDays) -.permanentStartDate(permanentStartDate) -.permanentDays(permanentDays) -.notes(notes) -.detectedConflicts(detectedConflicts) -.poReference(poReference) +.hourStart(hourStart) +.hourEnd(hourEnd) +.totalhours(totalhours) +.iconType(iconType) +.iconColor(iconColor) +.title(title) +.description(description) +.isRead(isRead) +.activityType(activityType) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -23532,12 +20102,843 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.createOrder( - vendorId: vendorId, - businessId: businessId, - orderType: orderType, +final result = await ExampleConnector.instance.updateActivityLog( + id: id, ); -createOrderData data = result.data; +updateActivityLogData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateActivityLog( + id: id, +).ref(); +ref.execute(); +``` + + +### markActivityLogAsRead +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.markActivityLogAsRead( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.markActivityLogAsRead( + id: id, +); +markActivityLogAsReadData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.markActivityLogAsRead( + id: id, +).ref(); +ref.execute(); +``` + + +### markActivityLogsAsRead +#### Required Arguments +```dart +String ids = ...; +ExampleConnector.instance.markActivityLogsAsRead( + ids: ids, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.markActivityLogsAsRead( + ids: ids, +); +markActivityLogsAsReadData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String ids = ...; + +final ref = ExampleConnector.instance.markActivityLogsAsRead( + ids: ids, +).ref(); +ref.execute(); +``` + + +### deleteActivityLog +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteActivityLog( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteActivityLog( + id: id, +); +deleteActivityLogData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteActivityLog( + id: id, +).ref(); +ref.execute(); +``` + + +### createHub +#### Required Arguments +```dart +String name = ...; +String ownerId = ...; +ExampleConnector.instance.createHub( + name: name, + ownerId: ownerId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createHub, we created `createHubBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateHubVariablesBuilder { + ... + CreateHubVariablesBuilder locationName(String? t) { + _locationName.value = t; + return this; + } + CreateHubVariablesBuilder address(String? t) { + _address.value = t; + return this; + } + CreateHubVariablesBuilder nfcTagId(String? t) { + _nfcTagId.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createHub( + name: name, + ownerId: ownerId, +) +.locationName(locationName) +.address(address) +.nfcTagId(nfcTagId) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createHub( + name: name, + ownerId: ownerId, +); +createHubData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String name = ...; +String ownerId = ...; + +final ref = ExampleConnector.instance.createHub( + name: name, + ownerId: ownerId, +).ref(); +ref.execute(); +``` + + +### updateHub +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateHub( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateHub, we created `updateHubBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateHubVariablesBuilder { + ... + UpdateHubVariablesBuilder name(String? t) { + _name.value = t; + return this; + } + UpdateHubVariablesBuilder locationName(String? t) { + _locationName.value = t; + return this; + } + UpdateHubVariablesBuilder address(String? t) { + _address.value = t; + return this; + } + UpdateHubVariablesBuilder nfcTagId(String? t) { + _nfcTagId.value = t; + return this; + } + UpdateHubVariablesBuilder ownerId(String? t) { + _ownerId.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateHub( + id: id, +) +.name(name) +.locationName(locationName) +.address(address) +.nfcTagId(nfcTagId) +.ownerId(ownerId) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateHub( + id: id, +); +updateHubData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateHub( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteHub +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteHub( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteHub( + id: id, +); +deleteHubData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteHub( + id: id, +).ref(); +ref.execute(); +``` + + +### createTaskComment +#### Required Arguments +```dart +String taskId = ...; +String teamMemberId = ...; +String comment = ...; +ExampleConnector.instance.createTaskComment( + taskId: taskId, + teamMemberId: teamMemberId, + comment: comment, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createTaskComment, we created `createTaskCommentBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateTaskCommentVariablesBuilder { + ... + CreateTaskCommentVariablesBuilder isSystem(bool? t) { + _isSystem.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createTaskComment( + taskId: taskId, + teamMemberId: teamMemberId, + comment: comment, +) +.isSystem(isSystem) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createTaskComment( + taskId: taskId, + teamMemberId: teamMemberId, + comment: comment, +); +createTaskCommentData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String taskId = ...; +String teamMemberId = ...; +String comment = ...; + +final ref = ExampleConnector.instance.createTaskComment( + taskId: taskId, + teamMemberId: teamMemberId, + comment: comment, +).ref(); +ref.execute(); +``` + + +### updateTaskComment +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateTaskComment( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateTaskComment, we created `updateTaskCommentBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateTaskCommentVariablesBuilder { + ... + UpdateTaskCommentVariablesBuilder comment(String? t) { + _comment.value = t; + return this; + } + UpdateTaskCommentVariablesBuilder isSystem(bool? t) { + _isSystem.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateTaskComment( + id: id, +) +.comment(comment) +.isSystem(isSystem) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateTaskComment( + id: id, +); +updateTaskCommentData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateTaskComment( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteTaskComment +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteTaskComment( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteTaskComment( + id: id, +); +deleteTaskCommentData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteTaskComment( + id: id, +).ref(); +ref.execute(); +``` + + +### createTeamHub +#### Required Arguments +```dart +String teamId = ...; +String hubName = ...; +String address = ...; +String city = ...; +ExampleConnector.instance.createTeamHub( + teamId: teamId, + hubName: hubName, + address: address, + city: city, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createTeamHub, we created `createTeamHubBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateTeamHubVariablesBuilder { + ... + CreateTeamHubVariablesBuilder state(String? t) { + _state.value = t; + return this; + } + CreateTeamHubVariablesBuilder zipCode(String? t) { + _zipCode.value = t; + return this; + } + CreateTeamHubVariablesBuilder managerName(String? t) { + _managerName.value = t; + return this; + } + CreateTeamHubVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + CreateTeamHubVariablesBuilder departments(AnyValue? t) { + _departments.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createTeamHub( + teamId: teamId, + hubName: hubName, + address: address, + city: city, +) +.state(state) +.zipCode(zipCode) +.managerName(managerName) +.isActive(isActive) +.departments(departments) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createTeamHub( + teamId: teamId, + hubName: hubName, + address: address, + city: city, +); +createTeamHubData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String teamId = ...; +String hubName = ...; +String address = ...; +String city = ...; + +final ref = ExampleConnector.instance.createTeamHub( + teamId: teamId, + hubName: hubName, + address: address, + city: city, +).ref(); +ref.execute(); +``` + + +### updateTeamHub +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateTeamHub( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateTeamHub, we created `updateTeamHubBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateTeamHubVariablesBuilder { + ... + UpdateTeamHubVariablesBuilder hubName(String? t) { + _hubName.value = t; + return this; + } + UpdateTeamHubVariablesBuilder address(String? t) { + _address.value = t; + return this; + } + UpdateTeamHubVariablesBuilder city(String? t) { + _city.value = t; + return this; + } + UpdateTeamHubVariablesBuilder state(String? t) { + _state.value = t; + return this; + } + UpdateTeamHubVariablesBuilder zipCode(String? t) { + _zipCode.value = t; + return this; + } + UpdateTeamHubVariablesBuilder managerName(String? t) { + _managerName.value = t; + return this; + } + UpdateTeamHubVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + UpdateTeamHubVariablesBuilder departments(AnyValue? t) { + _departments.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateTeamHub( + id: id, +) +.hubName(hubName) +.address(address) +.city(city) +.state(state) +.zipCode(zipCode) +.managerName(managerName) +.isActive(isActive) +.departments(departments) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateTeamHub( + id: id, +); +updateTeamHubData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateTeamHub( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteTeamHub +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteTeamHub( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteTeamHub( + id: id, +); +deleteTeamHubData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteTeamHub( + id: id, +).ref(); +ref.execute(); +``` + + +### createVendorRate +#### Required Arguments +```dart +String vendorId = ...; +ExampleConnector.instance.createVendorRate( + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createVendorRate, we created `createVendorRateBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateVendorRateVariablesBuilder { + ... + CreateVendorRateVariablesBuilder roleName(String? t) { + _roleName.value = t; + return this; + } + CreateVendorRateVariablesBuilder category(CategoryType? t) { + _category.value = t; + return this; + } + CreateVendorRateVariablesBuilder clientRate(double? t) { + _clientRate.value = t; + return this; + } + CreateVendorRateVariablesBuilder employeeWage(double? t) { + _employeeWage.value = t; + return this; + } + CreateVendorRateVariablesBuilder markupPercentage(double? t) { + _markupPercentage.value = t; + return this; + } + CreateVendorRateVariablesBuilder vendorFeePercentage(double? t) { + _vendorFeePercentage.value = t; + return this; + } + CreateVendorRateVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + CreateVendorRateVariablesBuilder notes(String? t) { + _notes.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createVendorRate( + vendorId: vendorId, +) +.roleName(roleName) +.category(category) +.clientRate(clientRate) +.employeeWage(employeeWage) +.markupPercentage(markupPercentage) +.vendorFeePercentage(vendorFeePercentage) +.isActive(isActive) +.notes(notes) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createVendorRate( + vendorId: vendorId, +); +createVendorRateData data = result.data; final ref = result.ref; ``` @@ -23546,129 +20947,85 @@ Each builder returns an `execute` function, which is a helper function that crea An example of how to use the `Ref` object is shown below: ```dart String vendorId = ...; -String businessId = ...; -OrderType orderType = ...; -final ref = ExampleConnector.instance.createOrder( +final ref = ExampleConnector.instance.createVendorRate( vendorId: vendorId, - businessId: businessId, - orderType: orderType, ).ref(); ref.execute(); ``` -### updateOrder +### updateVendorRate #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.updateOrder( +ExampleConnector.instance.updateVendorRate( id: id, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For updateOrder, we created `updateOrderBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For updateVendorRate, we created `updateVendorRateBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class UpdateOrderVariablesBuilder { +class UpdateVendorRateVariablesBuilder { ... - UpdateOrderVariablesBuilder vendorId(String? t) { + UpdateVendorRateVariablesBuilder vendorId(String? t) { _vendorId.value = t; return this; } - UpdateOrderVariablesBuilder businessId(String? t) { - _businessId.value = t; + UpdateVendorRateVariablesBuilder roleName(String? t) { + _roleName.value = t; return this; } - UpdateOrderVariablesBuilder location(String? t) { - _location.value = t; + UpdateVendorRateVariablesBuilder category(CategoryType? t) { + _category.value = t; return this; } - UpdateOrderVariablesBuilder status(OrderStatus? t) { - _status.value = t; + UpdateVendorRateVariablesBuilder clientRate(double? t) { + _clientRate.value = t; return this; } - UpdateOrderVariablesBuilder startDate(Timestamp? t) { - _startDate.value = t; + UpdateVendorRateVariablesBuilder employeeWage(double? t) { + _employeeWage.value = t; return this; } - UpdateOrderVariablesBuilder endDate(Timestamp? t) { - _endDate.value = t; + UpdateVendorRateVariablesBuilder markupPercentage(double? t) { + _markupPercentage.value = t; return this; } - UpdateOrderVariablesBuilder total(double? t) { - _total.value = t; + UpdateVendorRateVariablesBuilder vendorFeePercentage(double? t) { + _vendorFeePercentage.value = t; return this; } - UpdateOrderVariablesBuilder eventName(String? t) { - _eventName.value = t; + UpdateVendorRateVariablesBuilder isActive(bool? t) { + _isActive.value = t; return this; } - UpdateOrderVariablesBuilder assignedStaff(AnyValue? t) { - _assignedStaff.value = t; - return this; - } - UpdateOrderVariablesBuilder shifts(AnyValue? t) { - _shifts.value = t; - return this; - } - UpdateOrderVariablesBuilder requested(int? t) { - _requested.value = t; - return this; - } - UpdateOrderVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - UpdateOrderVariablesBuilder recurringDays(AnyValue? t) { - _recurringDays.value = t; - return this; - } - UpdateOrderVariablesBuilder permanentDays(AnyValue? t) { - _permanentDays.value = t; - return this; - } - UpdateOrderVariablesBuilder notes(String? t) { + UpdateVendorRateVariablesBuilder notes(String? t) { _notes.value = t; return this; } - UpdateOrderVariablesBuilder detectedConflicts(AnyValue? t) { - _detectedConflicts.value = t; - return this; - } - UpdateOrderVariablesBuilder poReference(String? t) { - _poReference.value = t; - return this; - } ... } -ExampleConnector.instance.updateOrder( +ExampleConnector.instance.updateVendorRate( id: id, ) .vendorId(vendorId) -.businessId(businessId) -.location(location) -.status(status) -.startDate(startDate) -.endDate(endDate) -.total(total) -.eventName(eventName) -.assignedStaff(assignedStaff) -.shifts(shifts) -.requested(requested) -.hub(hub) -.recurringDays(recurringDays) -.permanentDays(permanentDays) +.roleName(roleName) +.category(category) +.clientRate(clientRate) +.employeeWage(employeeWage) +.markupPercentage(markupPercentage) +.vendorFeePercentage(vendorFeePercentage) +.isActive(isActive) .notes(notes) -.detectedConflicts(detectedConflicts) -.poReference(poReference) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -23678,10 +21035,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.updateOrder( +final result = await ExampleConnector.instance.updateVendorRate( id: id, ); -updateOrderData data = result.data; +updateVendorRateData data = result.data; final ref = result.ref; ``` @@ -23691,18 +21048,18 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.updateOrder( +final ref = ExampleConnector.instance.updateVendorRate( id: id, ).ref(); ref.execute(); ``` -### deleteOrder +### deleteVendorRate #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.deleteOrder( +ExampleConnector.instance.deleteVendorRate( id: id, ).execute(); ``` @@ -23710,7 +21067,7 @@ ExampleConnector.instance.deleteOrder( #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -23720,10 +21077,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.deleteOrder( +final result = await ExampleConnector.instance.deleteVendorRate( id: id, ); -deleteOrderData data = result.data; +deleteVendorRateData data = result.data; final ref = result.ref; ``` @@ -23733,7 +21090,2647 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.deleteOrder( +final ref = ExampleConnector.instance.deleteVendorRate( + id: id, +).ref(); +ref.execute(); +``` + + +### createCustomRateCard +#### Required Arguments +```dart +String name = ...; +ExampleConnector.instance.createCustomRateCard( + name: name, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createCustomRateCard, we created `createCustomRateCardBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateCustomRateCardVariablesBuilder { + ... + CreateCustomRateCardVariablesBuilder baseBook(String? t) { + _baseBook.value = t; + return this; + } + CreateCustomRateCardVariablesBuilder discount(double? t) { + _discount.value = t; + return this; + } + CreateCustomRateCardVariablesBuilder isDefault(bool? t) { + _isDefault.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createCustomRateCard( + name: name, +) +.baseBook(baseBook) +.discount(discount) +.isDefault(isDefault) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createCustomRateCard( + name: name, +); +createCustomRateCardData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String name = ...; + +final ref = ExampleConnector.instance.createCustomRateCard( + name: name, +).ref(); +ref.execute(); +``` + + +### updateCustomRateCard +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateCustomRateCard( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateCustomRateCard, we created `updateCustomRateCardBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateCustomRateCardVariablesBuilder { + ... + UpdateCustomRateCardVariablesBuilder name(String? t) { + _name.value = t; + return this; + } + UpdateCustomRateCardVariablesBuilder baseBook(String? t) { + _baseBook.value = t; + return this; + } + UpdateCustomRateCardVariablesBuilder discount(double? t) { + _discount.value = t; + return this; + } + UpdateCustomRateCardVariablesBuilder isDefault(bool? t) { + _isDefault.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateCustomRateCard( + id: id, +) +.name(name) +.baseBook(baseBook) +.discount(discount) +.isDefault(isDefault) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateCustomRateCard( + id: id, +); +updateCustomRateCardData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateCustomRateCard( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteCustomRateCard +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteCustomRateCard( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteCustomRateCard( + id: id, +); +deleteCustomRateCardData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteCustomRateCard( + id: id, +).ref(); +ref.execute(); +``` + + +### createStaffCourse +#### Required Arguments +```dart +String staffId = ...; +String courseId = ...; +ExampleConnector.instance.createStaffCourse( + staffId: staffId, + courseId: courseId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createStaffCourse, we created `createStaffCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateStaffCourseVariablesBuilder { + ... + CreateStaffCourseVariablesBuilder progressPercent(int? t) { + _progressPercent.value = t; + return this; + } + CreateStaffCourseVariablesBuilder completed(bool? t) { + _completed.value = t; + return this; + } + CreateStaffCourseVariablesBuilder completedAt(Timestamp? t) { + _completedAt.value = t; + return this; + } + CreateStaffCourseVariablesBuilder startedAt(Timestamp? t) { + _startedAt.value = t; + return this; + } + CreateStaffCourseVariablesBuilder lastAccessedAt(Timestamp? t) { + _lastAccessedAt.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createStaffCourse( + staffId: staffId, + courseId: courseId, +) +.progressPercent(progressPercent) +.completed(completed) +.completedAt(completedAt) +.startedAt(startedAt) +.lastAccessedAt(lastAccessedAt) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createStaffCourse( + staffId: staffId, + courseId: courseId, +); +createStaffCourseData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +String courseId = ...; + +final ref = ExampleConnector.instance.createStaffCourse( + staffId: staffId, + courseId: courseId, +).ref(); +ref.execute(); +``` + + +### updateStaffCourse +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateStaffCourse( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateStaffCourse, we created `updateStaffCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateStaffCourseVariablesBuilder { + ... + UpdateStaffCourseVariablesBuilder progressPercent(int? t) { + _progressPercent.value = t; + return this; + } + UpdateStaffCourseVariablesBuilder completed(bool? t) { + _completed.value = t; + return this; + } + UpdateStaffCourseVariablesBuilder completedAt(Timestamp? t) { + _completedAt.value = t; + return this; + } + UpdateStaffCourseVariablesBuilder startedAt(Timestamp? t) { + _startedAt.value = t; + return this; + } + UpdateStaffCourseVariablesBuilder lastAccessedAt(Timestamp? t) { + _lastAccessedAt.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateStaffCourse( + id: id, +) +.progressPercent(progressPercent) +.completed(completed) +.completedAt(completedAt) +.startedAt(startedAt) +.lastAccessedAt(lastAccessedAt) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateStaffCourse( + id: id, +); +updateStaffCourseData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateStaffCourse( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteStaffCourse +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteStaffCourse( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteStaffCourse( + id: id, +); +deleteStaffCourseData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteStaffCourse( + id: id, +).ref(); +ref.execute(); +``` + + +### createVendor +#### Required Arguments +```dart +String userId = ...; +String companyName = ...; +ExampleConnector.instance.createVendor( + userId: userId, + companyName: companyName, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createVendor, we created `createVendorBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateVendorVariablesBuilder { + ... + CreateVendorVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + CreateVendorVariablesBuilder phone(String? t) { + _phone.value = t; + return this; + } + CreateVendorVariablesBuilder photoUrl(String? t) { + _photoUrl.value = t; + return this; + } + CreateVendorVariablesBuilder address(String? t) { + _address.value = t; + return this; + } + CreateVendorVariablesBuilder billingAddress(String? t) { + _billingAddress.value = t; + return this; + } + CreateVendorVariablesBuilder timezone(String? t) { + _timezone.value = t; + return this; + } + CreateVendorVariablesBuilder legalName(String? t) { + _legalName.value = t; + return this; + } + CreateVendorVariablesBuilder doingBusinessAs(String? t) { + _doingBusinessAs.value = t; + return this; + } + CreateVendorVariablesBuilder region(String? t) { + _region.value = t; + return this; + } + CreateVendorVariablesBuilder state(String? t) { + _state.value = t; + return this; + } + CreateVendorVariablesBuilder city(String? t) { + _city.value = t; + return this; + } + CreateVendorVariablesBuilder serviceSpecialty(String? t) { + _serviceSpecialty.value = t; + return this; + } + CreateVendorVariablesBuilder approvalStatus(ApprovalStatus? t) { + _approvalStatus.value = t; + return this; + } + CreateVendorVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + CreateVendorVariablesBuilder markup(double? t) { + _markup.value = t; + return this; + } + CreateVendorVariablesBuilder fee(double? t) { + _fee.value = t; + return this; + } + CreateVendorVariablesBuilder csat(double? t) { + _csat.value = t; + return this; + } + CreateVendorVariablesBuilder tier(VendorTier? t) { + _tier.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createVendor( + userId: userId, + companyName: companyName, +) +.email(email) +.phone(phone) +.photoUrl(photoUrl) +.address(address) +.billingAddress(billingAddress) +.timezone(timezone) +.legalName(legalName) +.doingBusinessAs(doingBusinessAs) +.region(region) +.state(state) +.city(city) +.serviceSpecialty(serviceSpecialty) +.approvalStatus(approvalStatus) +.isActive(isActive) +.markup(markup) +.fee(fee) +.csat(csat) +.tier(tier) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createVendor( + userId: userId, + companyName: companyName, +); +createVendorData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String userId = ...; +String companyName = ...; + +final ref = ExampleConnector.instance.createVendor( + userId: userId, + companyName: companyName, +).ref(); +ref.execute(); +``` + + +### updateVendor +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateVendor( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateVendor, we created `updateVendorBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateVendorVariablesBuilder { + ... + UpdateVendorVariablesBuilder companyName(String? t) { + _companyName.value = t; + return this; + } + UpdateVendorVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + UpdateVendorVariablesBuilder phone(String? t) { + _phone.value = t; + return this; + } + UpdateVendorVariablesBuilder photoUrl(String? t) { + _photoUrl.value = t; + return this; + } + UpdateVendorVariablesBuilder address(String? t) { + _address.value = t; + return this; + } + UpdateVendorVariablesBuilder billingAddress(String? t) { + _billingAddress.value = t; + return this; + } + UpdateVendorVariablesBuilder timezone(String? t) { + _timezone.value = t; + return this; + } + UpdateVendorVariablesBuilder legalName(String? t) { + _legalName.value = t; + return this; + } + UpdateVendorVariablesBuilder doingBusinessAs(String? t) { + _doingBusinessAs.value = t; + return this; + } + UpdateVendorVariablesBuilder region(String? t) { + _region.value = t; + return this; + } + UpdateVendorVariablesBuilder state(String? t) { + _state.value = t; + return this; + } + UpdateVendorVariablesBuilder city(String? t) { + _city.value = t; + return this; + } + UpdateVendorVariablesBuilder serviceSpecialty(String? t) { + _serviceSpecialty.value = t; + return this; + } + UpdateVendorVariablesBuilder approvalStatus(ApprovalStatus? t) { + _approvalStatus.value = t; + return this; + } + UpdateVendorVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + UpdateVendorVariablesBuilder markup(double? t) { + _markup.value = t; + return this; + } + UpdateVendorVariablesBuilder fee(double? t) { + _fee.value = t; + return this; + } + UpdateVendorVariablesBuilder csat(double? t) { + _csat.value = t; + return this; + } + UpdateVendorVariablesBuilder tier(VendorTier? t) { + _tier.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateVendor( + id: id, +) +.companyName(companyName) +.email(email) +.phone(phone) +.photoUrl(photoUrl) +.address(address) +.billingAddress(billingAddress) +.timezone(timezone) +.legalName(legalName) +.doingBusinessAs(doingBusinessAs) +.region(region) +.state(state) +.city(city) +.serviceSpecialty(serviceSpecialty) +.approvalStatus(approvalStatus) +.isActive(isActive) +.markup(markup) +.fee(fee) +.csat(csat) +.tier(tier) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateVendor( + id: id, +); +updateVendorData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateVendor( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteVendor +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteVendor( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteVendor( + id: id, +); +deleteVendorData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteVendor( + id: id, +).ref(); +ref.execute(); +``` + + +### createDocument +#### Required Arguments +```dart +DocumentType documentType = ...; +String name = ...; +ExampleConnector.instance.createDocument( + documentType: documentType, + name: name, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createDocument, we created `createDocumentBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateDocumentVariablesBuilder { + ... + CreateDocumentVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createDocument( + documentType: documentType, + name: name, +) +.description(description) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createDocument( + documentType: documentType, + name: name, +); +createDocumentData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +DocumentType documentType = ...; +String name = ...; + +final ref = ExampleConnector.instance.createDocument( + documentType: documentType, + name: name, +).ref(); +ref.execute(); +``` + + +### updateDocument +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateDocument( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateDocument, we created `updateDocumentBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateDocumentVariablesBuilder { + ... + UpdateDocumentVariablesBuilder documentType(DocumentType? t) { + _documentType.value = t; + return this; + } + UpdateDocumentVariablesBuilder name(String? t) { + _name.value = t; + return this; + } + UpdateDocumentVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateDocument( + id: id, +) +.documentType(documentType) +.name(name) +.description(description) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateDocument( + id: id, +); +updateDocumentData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateDocument( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteDocument +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteDocument( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteDocument( + id: id, +); +deleteDocumentData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteDocument( + id: id, +).ref(); +ref.execute(); +``` + + +### createEmergencyContact +#### Required Arguments +```dart +String name = ...; +String phone = ...; +RelationshipType relationship = ...; +String staffId = ...; +ExampleConnector.instance.createEmergencyContact( + name: name, + phone: phone, + relationship: relationship, + staffId: staffId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createEmergencyContact( + name: name, + phone: phone, + relationship: relationship, + staffId: staffId, +); +createEmergencyContactData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String name = ...; +String phone = ...; +RelationshipType relationship = ...; +String staffId = ...; + +final ref = ExampleConnector.instance.createEmergencyContact( + name: name, + phone: phone, + relationship: relationship, + staffId: staffId, +).ref(); +ref.execute(); +``` + + +### updateEmergencyContact +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateEmergencyContact( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateEmergencyContact, we created `updateEmergencyContactBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateEmergencyContactVariablesBuilder { + ... + UpdateEmergencyContactVariablesBuilder name(String? t) { + _name.value = t; + return this; + } + UpdateEmergencyContactVariablesBuilder phone(String? t) { + _phone.value = t; + return this; + } + UpdateEmergencyContactVariablesBuilder relationship(RelationshipType? t) { + _relationship.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateEmergencyContact( + id: id, +) +.name(name) +.phone(phone) +.relationship(relationship) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateEmergencyContact( + id: id, +); +updateEmergencyContactData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateEmergencyContact( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteEmergencyContact +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteEmergencyContact( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteEmergencyContact( + id: id, +); +deleteEmergencyContactData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteEmergencyContact( + id: id, +).ref(); +ref.execute(); +``` + + +### CreateCertificate +#### Required Arguments +```dart +String name = ...; +CertificateStatus status = ...; +String staffId = ...; +ExampleConnector.instance.createCertificate( + name: name, + status: status, + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For CreateCertificate, we created `CreateCertificateBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateCertificateVariablesBuilder { + ... + CreateCertificateVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + CreateCertificateVariablesBuilder expiry(Timestamp? t) { + _expiry.value = t; + return this; + } + CreateCertificateVariablesBuilder fileUrl(String? t) { + _fileUrl.value = t; + return this; + } + CreateCertificateVariablesBuilder icon(String? t) { + _icon.value = t; + return this; + } + CreateCertificateVariablesBuilder certificationType(ComplianceType? t) { + _certificationType.value = t; + return this; + } + CreateCertificateVariablesBuilder issuer(String? t) { + _issuer.value = t; + return this; + } + CreateCertificateVariablesBuilder validationStatus(ValidationStatus? t) { + _validationStatus.value = t; + return this; + } + CreateCertificateVariablesBuilder certificateNumber(String? t) { + _certificateNumber.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createCertificate( + name: name, + status: status, + staffId: staffId, +) +.description(description) +.expiry(expiry) +.fileUrl(fileUrl) +.icon(icon) +.certificationType(certificationType) +.issuer(issuer) +.validationStatus(validationStatus) +.certificateNumber(certificateNumber) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createCertificate( + name: name, + status: status, + staffId: staffId, +); +CreateCertificateData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String name = ...; +CertificateStatus status = ...; +String staffId = ...; + +final ref = ExampleConnector.instance.createCertificate( + name: name, + status: status, + staffId: staffId, +).ref(); +ref.execute(); +``` + + +### UpdateCertificate +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateCertificate( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For UpdateCertificate, we created `UpdateCertificateBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateCertificateVariablesBuilder { + ... + UpdateCertificateVariablesBuilder name(String? t) { + _name.value = t; + return this; + } + UpdateCertificateVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + UpdateCertificateVariablesBuilder expiry(Timestamp? t) { + _expiry.value = t; + return this; + } + UpdateCertificateVariablesBuilder status(CertificateStatus? t) { + _status.value = t; + return this; + } + UpdateCertificateVariablesBuilder fileUrl(String? t) { + _fileUrl.value = t; + return this; + } + UpdateCertificateVariablesBuilder icon(String? t) { + _icon.value = t; + return this; + } + UpdateCertificateVariablesBuilder staffId(String? t) { + _staffId.value = t; + return this; + } + UpdateCertificateVariablesBuilder certificationType(ComplianceType? t) { + _certificationType.value = t; + return this; + } + UpdateCertificateVariablesBuilder issuer(String? t) { + _issuer.value = t; + return this; + } + UpdateCertificateVariablesBuilder validationStatus(ValidationStatus? t) { + _validationStatus.value = t; + return this; + } + UpdateCertificateVariablesBuilder certificateNumber(String? t) { + _certificateNumber.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateCertificate( + id: id, +) +.name(name) +.description(description) +.expiry(expiry) +.status(status) +.fileUrl(fileUrl) +.icon(icon) +.staffId(staffId) +.certificationType(certificationType) +.issuer(issuer) +.validationStatus(validationStatus) +.certificateNumber(certificateNumber) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateCertificate( + id: id, +); +UpdateCertificateData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateCertificate( + id: id, +).ref(); +ref.execute(); +``` + + +### DeleteCertificate +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteCertificate( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteCertificate( + id: id, +); +DeleteCertificateData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteCertificate( + id: id, +).ref(); +ref.execute(); +``` + + +### createRecentPayment +#### Required Arguments +```dart +String staffId = ...; +String applicationId = ...; +String invoiceId = ...; +ExampleConnector.instance.createRecentPayment( + staffId: staffId, + applicationId: applicationId, + invoiceId: invoiceId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createRecentPayment, we created `createRecentPaymentBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateRecentPaymentVariablesBuilder { + ... + + CreateRecentPaymentVariablesBuilder workedTime(String? t) { + _workedTime.value = t; + return this; + } + CreateRecentPaymentVariablesBuilder status(RecentPaymentStatus? t) { + _status.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createRecentPayment( + staffId: staffId, + applicationId: applicationId, + invoiceId: invoiceId, +) +.workedTime(workedTime) +.status(status) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createRecentPayment( + staffId: staffId, + applicationId: applicationId, + invoiceId: invoiceId, +); +createRecentPaymentData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +String applicationId = ...; +String invoiceId = ...; + +final ref = ExampleConnector.instance.createRecentPayment( + staffId: staffId, + applicationId: applicationId, + invoiceId: invoiceId, +).ref(); +ref.execute(); +``` + + +### updateRecentPayment +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateRecentPayment( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateRecentPayment, we created `updateRecentPaymentBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateRecentPaymentVariablesBuilder { + ... + UpdateRecentPaymentVariablesBuilder workedTime(String? t) { + _workedTime.value = t; + return this; + } + UpdateRecentPaymentVariablesBuilder status(RecentPaymentStatus? t) { + _status.value = t; + return this; + } + UpdateRecentPaymentVariablesBuilder staffId(String? t) { + _staffId.value = t; + return this; + } + UpdateRecentPaymentVariablesBuilder applicationId(String? t) { + _applicationId.value = t; + return this; + } + UpdateRecentPaymentVariablesBuilder invoiceId(String? t) { + _invoiceId.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateRecentPayment( + id: id, +) +.workedTime(workedTime) +.status(status) +.staffId(staffId) +.applicationId(applicationId) +.invoiceId(invoiceId) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateRecentPayment( + id: id, +); +updateRecentPaymentData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateRecentPayment( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteRecentPayment +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteRecentPayment( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteRecentPayment( + id: id, +); +deleteRecentPaymentData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteRecentPayment( + id: id, +).ref(); +ref.execute(); +``` + + +### createTeamHudDepartment +#### Required Arguments +```dart +String name = ...; +String teamHubId = ...; +ExampleConnector.instance.createTeamHudDepartment( + name: name, + teamHubId: teamHubId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createTeamHudDepartment, we created `createTeamHudDepartmentBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateTeamHudDepartmentVariablesBuilder { + ... + CreateTeamHudDepartmentVariablesBuilder costCenter(String? t) { + _costCenter.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createTeamHudDepartment( + name: name, + teamHubId: teamHubId, +) +.costCenter(costCenter) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createTeamHudDepartment( + name: name, + teamHubId: teamHubId, +); +createTeamHudDepartmentData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String name = ...; +String teamHubId = ...; + +final ref = ExampleConnector.instance.createTeamHudDepartment( + name: name, + teamHubId: teamHubId, +).ref(); +ref.execute(); +``` + + +### updateTeamHudDepartment +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateTeamHudDepartment( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateTeamHudDepartment, we created `updateTeamHudDepartmentBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateTeamHudDepartmentVariablesBuilder { + ... + UpdateTeamHudDepartmentVariablesBuilder name(String? t) { + _name.value = t; + return this; + } + UpdateTeamHudDepartmentVariablesBuilder costCenter(String? t) { + _costCenter.value = t; + return this; + } + UpdateTeamHudDepartmentVariablesBuilder teamHubId(String? t) { + _teamHubId.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateTeamHudDepartment( + id: id, +) +.name(name) +.costCenter(costCenter) +.teamHubId(teamHubId) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateTeamHudDepartment( + id: id, +); +updateTeamHudDepartmentData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateTeamHudDepartment( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteTeamHudDepartment +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteTeamHudDepartment( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteTeamHudDepartment( + id: id, +); +deleteTeamHudDepartmentData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteTeamHudDepartment( + id: id, +).ref(); +ref.execute(); +``` + + +### createVendorBenefitPlan +#### Required Arguments +```dart +String vendorId = ...; +String title = ...; +ExampleConnector.instance.createVendorBenefitPlan( + vendorId: vendorId, + title: title, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createVendorBenefitPlan, we created `createVendorBenefitPlanBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateVendorBenefitPlanVariablesBuilder { + ... + CreateVendorBenefitPlanVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + CreateVendorBenefitPlanVariablesBuilder requestLabel(String? t) { + _requestLabel.value = t; + return this; + } + CreateVendorBenefitPlanVariablesBuilder total(int? t) { + _total.value = t; + return this; + } + CreateVendorBenefitPlanVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + CreateVendorBenefitPlanVariablesBuilder createdBy(String? t) { + _createdBy.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createVendorBenefitPlan( + vendorId: vendorId, + title: title, +) +.description(description) +.requestLabel(requestLabel) +.total(total) +.isActive(isActive) +.createdBy(createdBy) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createVendorBenefitPlan( + vendorId: vendorId, + title: title, +); +createVendorBenefitPlanData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; +String title = ...; + +final ref = ExampleConnector.instance.createVendorBenefitPlan( + vendorId: vendorId, + title: title, +).ref(); +ref.execute(); +``` + + +### updateVendorBenefitPlan +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateVendorBenefitPlan( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateVendorBenefitPlan, we created `updateVendorBenefitPlanBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateVendorBenefitPlanVariablesBuilder { + ... + UpdateVendorBenefitPlanVariablesBuilder vendorId(String? t) { + _vendorId.value = t; + return this; + } + UpdateVendorBenefitPlanVariablesBuilder title(String? t) { + _title.value = t; + return this; + } + UpdateVendorBenefitPlanVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + UpdateVendorBenefitPlanVariablesBuilder requestLabel(String? t) { + _requestLabel.value = t; + return this; + } + UpdateVendorBenefitPlanVariablesBuilder total(int? t) { + _total.value = t; + return this; + } + UpdateVendorBenefitPlanVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + UpdateVendorBenefitPlanVariablesBuilder createdBy(String? t) { + _createdBy.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateVendorBenefitPlan( + id: id, +) +.vendorId(vendorId) +.title(title) +.description(description) +.requestLabel(requestLabel) +.total(total) +.isActive(isActive) +.createdBy(createdBy) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateVendorBenefitPlan( + id: id, +); +updateVendorBenefitPlanData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateVendorBenefitPlan( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteVendorBenefitPlan +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteVendorBenefitPlan( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteVendorBenefitPlan( + id: id, +); +deleteVendorBenefitPlanData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteVendorBenefitPlan( + id: id, +).ref(); +ref.execute(); +``` + + +### createStaffAvailability +#### Required Arguments +```dart +String staffId = ...; +DayOfWeek day = ...; +AvailabilitySlot slot = ...; +ExampleConnector.instance.createStaffAvailability( + staffId: staffId, + day: day, + slot: slot, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createStaffAvailability, we created `createStaffAvailabilityBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateStaffAvailabilityVariablesBuilder { + ... + CreateStaffAvailabilityVariablesBuilder status(AvailabilityStatus? t) { + _status.value = t; + return this; + } + CreateStaffAvailabilityVariablesBuilder notes(String? t) { + _notes.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createStaffAvailability( + staffId: staffId, + day: day, + slot: slot, +) +.status(status) +.notes(notes) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createStaffAvailability( + staffId: staffId, + day: day, + slot: slot, +); +createStaffAvailabilityData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +DayOfWeek day = ...; +AvailabilitySlot slot = ...; + +final ref = ExampleConnector.instance.createStaffAvailability( + staffId: staffId, + day: day, + slot: slot, +).ref(); +ref.execute(); +``` + + +### updateStaffAvailability +#### Required Arguments +```dart +String staffId = ...; +DayOfWeek day = ...; +AvailabilitySlot slot = ...; +ExampleConnector.instance.updateStaffAvailability( + staffId: staffId, + day: day, + slot: slot, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateStaffAvailability, we created `updateStaffAvailabilityBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateStaffAvailabilityVariablesBuilder { + ... + UpdateStaffAvailabilityVariablesBuilder status(AvailabilityStatus? t) { + _status.value = t; + return this; + } + UpdateStaffAvailabilityVariablesBuilder notes(String? t) { + _notes.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateStaffAvailability( + staffId: staffId, + day: day, + slot: slot, +) +.status(status) +.notes(notes) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateStaffAvailability( + staffId: staffId, + day: day, + slot: slot, +); +updateStaffAvailabilityData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +DayOfWeek day = ...; +AvailabilitySlot slot = ...; + +final ref = ExampleConnector.instance.updateStaffAvailability( + staffId: staffId, + day: day, + slot: slot, +).ref(); +ref.execute(); +``` + + +### deleteStaffAvailability +#### Required Arguments +```dart +String staffId = ...; +DayOfWeek day = ...; +AvailabilitySlot slot = ...; +ExampleConnector.instance.deleteStaffAvailability( + staffId: staffId, + day: day, + slot: slot, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteStaffAvailability( + staffId: staffId, + day: day, + slot: slot, +); +deleteStaffAvailabilityData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +DayOfWeek day = ...; +AvailabilitySlot slot = ...; + +final ref = ExampleConnector.instance.deleteStaffAvailability( + staffId: staffId, + day: day, + slot: slot, +).ref(); +ref.execute(); +``` + + +### createTaxForm +#### Required Arguments +```dart +TaxFormType formType = ...; +String title = ...; +String staffId = ...; +ExampleConnector.instance.createTaxForm( + formType: formType, + title: title, + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createTaxForm, we created `createTaxFormBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateTaxFormVariablesBuilder { + ... + CreateTaxFormVariablesBuilder subtitle(String? t) { + _subtitle.value = t; + return this; + } + CreateTaxFormVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + CreateTaxFormVariablesBuilder status(TaxFormStatus? t) { + _status.value = t; + return this; + } + CreateTaxFormVariablesBuilder formData(AnyValue? t) { + _formData.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createTaxForm( + formType: formType, + title: title, + staffId: staffId, +) +.subtitle(subtitle) +.description(description) +.status(status) +.formData(formData) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createTaxForm( + formType: formType, + title: title, + staffId: staffId, +); +createTaxFormData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +TaxFormType formType = ...; +String title = ...; +String staffId = ...; + +final ref = ExampleConnector.instance.createTaxForm( + formType: formType, + title: title, + staffId: staffId, +).ref(); +ref.execute(); +``` + + +### updateTaxForm +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateTaxForm( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateTaxForm, we created `updateTaxFormBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateTaxFormVariablesBuilder { + ... + UpdateTaxFormVariablesBuilder status(TaxFormStatus? t) { + _status.value = t; + return this; + } + UpdateTaxFormVariablesBuilder formData(AnyValue? t) { + _formData.value = t; + return this; + } + UpdateTaxFormVariablesBuilder title(String? t) { + _title.value = t; + return this; + } + UpdateTaxFormVariablesBuilder subtitle(String? t) { + _subtitle.value = t; + return this; + } + UpdateTaxFormVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateTaxForm( + id: id, +) +.status(status) +.formData(formData) +.title(title) +.subtitle(subtitle) +.description(description) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateTaxForm( + id: id, +); +updateTaxFormData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateTaxForm( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteTaxForm +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteTaxForm( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteTaxForm( + id: id, +); +deleteTaxFormData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteTaxForm( + id: id, +).ref(); +ref.execute(); +``` + + +### createBusiness +#### Required Arguments +```dart +String businessName = ...; +String userId = ...; +BusinessRateGroup rateGroup = ...; +BusinessStatus status = ...; +ExampleConnector.instance.createBusiness( + businessName: businessName, + userId: userId, + rateGroup: rateGroup, + status: status, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createBusiness, we created `createBusinessBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateBusinessVariablesBuilder { + ... + CreateBusinessVariablesBuilder contactName(String? t) { + _contactName.value = t; + return this; + } + CreateBusinessVariablesBuilder companyLogoUrl(String? t) { + _companyLogoUrl.value = t; + return this; + } + CreateBusinessVariablesBuilder phone(String? t) { + _phone.value = t; + return this; + } + CreateBusinessVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + CreateBusinessVariablesBuilder hubBuilding(String? t) { + _hubBuilding.value = t; + return this; + } + CreateBusinessVariablesBuilder address(String? t) { + _address.value = t; + return this; + } + CreateBusinessVariablesBuilder city(String? t) { + _city.value = t; + return this; + } + CreateBusinessVariablesBuilder area(BusinessArea? t) { + _area.value = t; + return this; + } + CreateBusinessVariablesBuilder sector(BusinessSector? t) { + _sector.value = t; + return this; + } + CreateBusinessVariablesBuilder notes(String? t) { + _notes.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createBusiness( + businessName: businessName, + userId: userId, + rateGroup: rateGroup, + status: status, +) +.contactName(contactName) +.companyLogoUrl(companyLogoUrl) +.phone(phone) +.email(email) +.hubBuilding(hubBuilding) +.address(address) +.city(city) +.area(area) +.sector(sector) +.notes(notes) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createBusiness( + businessName: businessName, + userId: userId, + rateGroup: rateGroup, + status: status, +); +createBusinessData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String businessName = ...; +String userId = ...; +BusinessRateGroup rateGroup = ...; +BusinessStatus status = ...; + +final ref = ExampleConnector.instance.createBusiness( + businessName: businessName, + userId: userId, + rateGroup: rateGroup, + status: status, +).ref(); +ref.execute(); +``` + + +### updateBusiness +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateBusiness( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateBusiness, we created `updateBusinessBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateBusinessVariablesBuilder { + ... + UpdateBusinessVariablesBuilder businessName(String? t) { + _businessName.value = t; + return this; + } + UpdateBusinessVariablesBuilder contactName(String? t) { + _contactName.value = t; + return this; + } + UpdateBusinessVariablesBuilder companyLogoUrl(String? t) { + _companyLogoUrl.value = t; + return this; + } + UpdateBusinessVariablesBuilder phone(String? t) { + _phone.value = t; + return this; + } + UpdateBusinessVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + UpdateBusinessVariablesBuilder hubBuilding(String? t) { + _hubBuilding.value = t; + return this; + } + UpdateBusinessVariablesBuilder address(String? t) { + _address.value = t; + return this; + } + UpdateBusinessVariablesBuilder city(String? t) { + _city.value = t; + return this; + } + UpdateBusinessVariablesBuilder area(BusinessArea? t) { + _area.value = t; + return this; + } + UpdateBusinessVariablesBuilder sector(BusinessSector? t) { + _sector.value = t; + return this; + } + UpdateBusinessVariablesBuilder rateGroup(BusinessRateGroup? t) { + _rateGroup.value = t; + return this; + } + UpdateBusinessVariablesBuilder status(BusinessStatus? t) { + _status.value = t; + return this; + } + UpdateBusinessVariablesBuilder notes(String? t) { + _notes.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateBusiness( + id: id, +) +.businessName(businessName) +.contactName(contactName) +.companyLogoUrl(companyLogoUrl) +.phone(phone) +.email(email) +.hubBuilding(hubBuilding) +.address(address) +.city(city) +.area(area) +.sector(sector) +.rateGroup(rateGroup) +.status(status) +.notes(notes) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateBusiness( + id: id, +); +updateBusinessData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateBusiness( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteBusiness +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteBusiness( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteBusiness( + id: id, +); +deleteBusinessData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteBusiness( id: id, ).ref(); ref.execute(); diff --git a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/create_team_hub.dart b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/create_team_hub.dart index 05034b67..5cf2fab7 100644 --- a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/create_team_hub.dart +++ b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/create_team_hub.dart @@ -5,13 +5,25 @@ class CreateTeamHubVariablesBuilder { String hubName; String address; String city; - String state; - String zipCode; - String managerName; + Optional _state = Optional.optional(nativeFromJson, nativeToJson); + Optional _zipCode = Optional.optional(nativeFromJson, nativeToJson); + Optional _managerName = Optional.optional(nativeFromJson, nativeToJson); Optional _isActive = Optional.optional(nativeFromJson, nativeToJson); Optional _departments = Optional.optional(AnyValue.fromJson, defaultSerializer); - final FirebaseDataConnect _dataConnect; CreateTeamHubVariablesBuilder isActive(bool? t) { + final FirebaseDataConnect _dataConnect; CreateTeamHubVariablesBuilder state(String? t) { + _state.value = t; + return this; + } + CreateTeamHubVariablesBuilder zipCode(String? t) { + _zipCode.value = t; + return this; + } + CreateTeamHubVariablesBuilder managerName(String? t) { + _managerName.value = t; + return this; + } + CreateTeamHubVariablesBuilder isActive(bool? t) { _isActive.value = t; return this; } @@ -20,7 +32,7 @@ class CreateTeamHubVariablesBuilder { return this; } - CreateTeamHubVariablesBuilder(this._dataConnect, {required this.teamId,required this.hubName,required this.address,required this.city,required this.state,required this.zipCode,required this.managerName,}); + CreateTeamHubVariablesBuilder(this._dataConnect, {required this.teamId,required this.hubName,required this.address,required this.city,}); Deserializer dataDeserializer = (dynamic json) => CreateTeamHubData.fromJson(jsonDecode(json)); Serializer varsSerializer = (CreateTeamHubVariables vars) => jsonEncode(vars.toJson()); Future> execute() { @@ -28,7 +40,7 @@ class CreateTeamHubVariablesBuilder { } MutationRef ref() { - CreateTeamHubVariables vars= CreateTeamHubVariables(teamId: teamId,hubName: hubName,address: address,city: city,state: state,zipCode: zipCode,managerName: managerName,isActive: _isActive,departments: _departments,); + CreateTeamHubVariables vars= CreateTeamHubVariables(teamId: teamId,hubName: hubName,address: address,city: city,state: _state,zipCode: _zipCode,managerName: _managerName,isActive: _isActive,departments: _departments,); return _dataConnect.mutation("createTeamHub", dataDeserializer, varsSerializer, vars); } } @@ -107,9 +119,9 @@ class CreateTeamHubVariables { final String hubName; final String address; final String city; - final String state; - final String zipCode; - final String managerName; + late final Optionalstate; + late final OptionalzipCode; + late final OptionalmanagerName; late final OptionalisActive; late final Optionaldepartments; @Deprecated('fromJson is deprecated for Variable classes as they are no longer required for deserialization.') @@ -118,18 +130,24 @@ class CreateTeamHubVariables { teamId = nativeFromJson(json['teamId']), hubName = nativeFromJson(json['hubName']), address = nativeFromJson(json['address']), - city = nativeFromJson(json['city']), - state = nativeFromJson(json['state']), - zipCode = nativeFromJson(json['zipCode']), - managerName = nativeFromJson(json['managerName']) { + city = nativeFromJson(json['city']) { + state = Optional.optional(nativeFromJson, nativeToJson); + state.value = json['state'] == null ? null : nativeFromJson(json['state']); + zipCode = Optional.optional(nativeFromJson, nativeToJson); + zipCode.value = json['zipCode'] == null ? null : nativeFromJson(json['zipCode']); + + + managerName = Optional.optional(nativeFromJson, nativeToJson); + managerName.value = json['managerName'] == null ? null : nativeFromJson(json['managerName']); + isActive = Optional.optional(nativeFromJson, nativeToJson); isActive.value = json['isActive'] == null ? null : nativeFromJson(json['isActive']); @@ -170,9 +188,15 @@ class CreateTeamHubVariables { json['hubName'] = nativeToJson(hubName); json['address'] = nativeToJson(address); json['city'] = nativeToJson(city); - json['state'] = nativeToJson(state); - json['zipCode'] = nativeToJson(zipCode); - json['managerName'] = nativeToJson(managerName); + if(state.state == OptionalState.set) { + json['state'] = state.toJson(); + } + if(zipCode.state == OptionalState.set) { + json['zipCode'] = zipCode.toJson(); + } + if(managerName.state == OptionalState.set) { + json['managerName'] = managerName.toJson(); + } if(isActive.state == OptionalState.set) { json['isActive'] = isActive.toJson(); } diff --git a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/generated.dart b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/generated.dart index 1a07ae01..90c08cc4 100644 --- a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/generated.dart +++ b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/generated.dart @@ -4,99 +4,11 @@ import 'package:flutter/foundation.dart'; import 'dart:convert'; import 'package:flutter/foundation.dart'; -part 'create_document.dart'; +part 'create_faq_data.dart'; -part 'update_document.dart'; +part 'update_faq_data.dart'; -part 'delete_document.dart'; - -part 'create_conversation.dart'; - -part 'update_conversation.dart'; - -part 'update_conversation_last_message.dart'; - -part 'delete_conversation.dart'; - -part 'list_hubs.dart'; - -part 'get_hub_by_id.dart'; - -part 'get_hubs_by_owner_id.dart'; - -part 'filter_hubs.dart'; - -part 'create_invoice.dart'; - -part 'update_invoice.dart'; - -part 'delete_invoice.dart'; - -part 'create_vendor_rate.dart'; - -part 'update_vendor_rate.dart'; - -part 'delete_vendor_rate.dart'; - -part 'list_categories.dart'; - -part 'get_category_by_id.dart'; - -part 'filter_categories.dart'; - -part 'create_client_feedback.dart'; - -part 'update_client_feedback.dart'; - -part 'delete_client_feedback.dart'; - -part 'create_team.dart'; - -part 'update_team.dart'; - -part 'delete_team.dart'; - -part 'list_team_hubs.dart'; - -part 'get_team_hub_by_id.dart'; - -part 'get_team_hubs_by_team_id.dart'; - -part 'list_team_hubs_by_owner_id.dart'; - -part 'create_vendor.dart'; - -part 'update_vendor.dart'; - -part 'delete_vendor.dart'; - -part 'create_workforce.dart'; - -part 'update_workforce.dart'; - -part 'deactivate_workforce.dart'; - -part 'create_business.dart'; - -part 'update_business.dart'; - -part 'delete_business.dart'; - -part 'list_activity_logs.dart'; - -part 'get_activity_log_by_id.dart'; - -part 'list_activity_logs_by_user_id.dart'; - -part 'list_unread_activity_logs_by_user_id.dart'; - -part 'filter_activity_logs.dart'; - -part 'create_hub.dart'; - -part 'update_hub.dart'; - -part 'delete_hub.dart'; +part 'delete_faq_data.dart'; part 'create_level.dart'; @@ -104,17 +16,17 @@ part 'update_level.dart'; part 'delete_level.dart'; -part 'list_levels.dart'; +part 'list_messages.dart'; -part 'get_level_by_id.dart'; +part 'get_message_by_id.dart'; -part 'filter_levels.dart'; +part 'get_messages_by_conversation_id.dart'; -part 'create_recent_payment.dart'; +part 'create_role.dart'; -part 'update_recent_payment.dart'; +part 'update_role.dart'; -part 'delete_recent_payment.dart'; +part 'delete_role.dart'; part 'get_shift_role_by_id.dart'; @@ -126,315 +38,19 @@ part 'list_shift_roles_by_shift_id_and_time_range.dart'; part 'list_shift_roles_by_vendor_id.dart'; -part 'create_team_hud_department.dart'; +part 'create_application.dart'; -part 'update_team_hud_department.dart'; +part 'update_application_status.dart'; -part 'delete_team_hud_department.dart'; +part 'delete_application.dart'; -part 'create_team_member.dart'; +part 'create_conversation.dart'; -part 'update_team_member.dart'; +part 'update_conversation.dart'; -part 'update_team_member_invite_status.dart'; +part 'update_conversation_last_message.dart'; -part 'accept_invite_by_code.dart'; - -part 'cancel_invite_by_code.dart'; - -part 'delete_team_member.dart'; - -part 'create_user.dart'; - -part 'update_user.dart'; - -part 'delete_user.dart'; - -part 'get_vendor_by_id.dart'; - -part 'get_vendor_by_user_id.dart'; - -part 'list_vendors.dart'; - -part 'create_shift.dart'; - -part 'update_shift.dart'; - -part 'delete_shift.dart'; - -part 'list_shifts.dart'; - -part 'get_shift_by_id.dart'; - -part 'filter_shifts.dart'; - -part 'get_shifts_by_business_id.dart'; - -part 'get_shifts_by_vendor_id.dart'; - -part 'create_shift_role.dart'; - -part 'update_shift_role.dart'; - -part 'delete_shift_role.dart'; - -part 'list_courses.dart'; - -part 'get_course_by_id.dart'; - -part 'filter_courses.dart'; - -part 'list_documents.dart'; - -part 'get_document_by_id.dart'; - -part 'filter_documents.dart'; - -part 'create_attire_option.dart'; - -part 'update_attire_option.dart'; - -part 'delete_attire_option.dart'; - -part 'create_category.dart'; - -part 'update_category.dart'; - -part 'delete_category.dart'; - -part 'list_conversations.dart'; - -part 'get_conversation_by_id.dart'; - -part 'list_conversations_by_type.dart'; - -part 'list_conversations_by_status.dart'; - -part 'filter_conversations.dart'; - -part 'list_attire_options.dart'; - -part 'get_attire_option_by_id.dart'; - -part 'filter_attire_options.dart'; - -part 'create_staff.dart'; - -part 'update_staff.dart'; - -part 'delete_staff.dart'; - -part 'create_staff_document.dart'; - -part 'update_staff_document.dart'; - -part 'delete_staff_document.dart'; - -part 'create_staff_role.dart'; - -part 'delete_staff_role.dart'; - -part 'list_tax_forms.dart'; - -part 'get_tax_form_by_id.dart'; - -part 'get_tax_forms_bystaff_id.dart'; - -part 'filter_tax_forms.dart'; - -part 'list_teams.dart'; - -part 'get_team_by_id.dart'; - -part 'get_teams_by_owner_id.dart'; - -part 'list_team_hud_departments.dart'; - -part 'get_team_hud_department_by_id.dart'; - -part 'list_team_hud_departments_by_team_hub_id.dart'; - -part 'create_certificate.dart'; - -part 'update_certificate.dart'; - -part 'delete_certificate.dart'; - -part 'list_custom_rate_cards.dart'; - -part 'get_custom_rate_card_by_id.dart'; - -part 'create_faq_data.dart'; - -part 'update_faq_data.dart'; - -part 'delete_faq_data.dart'; - -part 'list_messages.dart'; - -part 'get_message_by_id.dart'; - -part 'get_messages_by_conversation_id.dart'; - -part 'create_staff_availability_stats.dart'; - -part 'update_staff_availability_stats.dart'; - -part 'delete_staff_availability_stats.dart'; - -part 'get_staff_document_by_key.dart'; - -part 'list_staff_documents_by_staff_id.dart'; - -part 'list_staff_documents_by_document_type.dart'; - -part 'list_staff_documents_by_status.dart'; - -part 'get_workforce_by_id.dart'; - -part 'get_workforce_by_vendor_and_staff.dart'; - -part 'list_workforce_by_vendor_id.dart'; - -part 'list_workforce_by_staff_id.dart'; - -part 'get_workforce_by_vendor_and_number.dart'; - -part 'create_activity_log.dart'; - -part 'update_activity_log.dart'; - -part 'mark_activity_log_as_read.dart'; - -part 'mark_activity_logs_as_read.dart'; - -part 'delete_activity_log.dart'; - -part 'list_emergency_contacts.dart'; - -part 'get_emergency_contact_by_id.dart'; - -part 'get_emergency_contacts_by_staff_id.dart'; - -part 'list_faq_datas.dart'; - -part 'get_faq_data_by_id.dart'; - -part 'filter_faq_datas.dart'; - -part 'create_staff_availability.dart'; - -part 'update_staff_availability.dart'; - -part 'delete_staff_availability.dart'; - -part 'list_staff_availability_stats.dart'; - -part 'get_staff_availability_stats_by_staff_id.dart'; - -part 'filter_staff_availability_stats.dart'; - -part 'create_team_hub.dart'; - -part 'update_team_hub.dart'; - -part 'delete_team_hub.dart'; - -part 'create_user_conversation.dart'; - -part 'update_user_conversation.dart'; - -part 'mark_conversation_as_read.dart'; - -part 'increment_unread_for_user.dart'; - -part 'delete_user_conversation.dart'; - -part 'list_businesses.dart'; - -part 'get_businesses_by_user_id.dart'; - -part 'get_business_by_id.dart'; - -part 'create_member_task.dart'; - -part 'delete_member_task.dart'; - -part 'get_staff_course_by_id.dart'; - -part 'list_staff_courses_by_staff_id.dart'; - -part 'list_staff_courses_by_course_id.dart'; - -part 'get_staff_course_by_staff_and_course.dart'; - -part 'create_task.dart'; - -part 'update_task.dart'; - -part 'delete_task.dart'; - -part 'list_tasks.dart'; - -part 'get_task_by_id.dart'; - -part 'get_tasks_by_owner_id.dart'; - -part 'filter_tasks.dart'; - -part 'list_assignments.dart'; - -part 'get_assignment_by_id.dart'; - -part 'list_assignments_by_workforce_id.dart'; - -part 'list_assignments_by_workforce_ids.dart'; - -part 'list_assignments_by_shift_role.dart'; - -part 'filter_assignments.dart'; - -part 'list_invoices.dart'; - -part 'get_invoice_by_id.dart'; - -part 'list_invoices_by_vendor_id.dart'; - -part 'list_invoices_by_business_id.dart'; - -part 'list_invoices_by_order_id.dart'; - -part 'list_invoices_by_status.dart'; - -part 'filter_invoices.dart'; - -part 'list_overdue_invoices.dart'; - -part 'list_task_comments.dart'; - -part 'get_task_comment_by_id.dart'; - -part 'get_task_comments_by_task_id.dart'; - -part 'create_vendor_benefit_plan.dart'; - -part 'update_vendor_benefit_plan.dart'; - -part 'delete_vendor_benefit_plan.dart'; - -part 'list_vendor_rates.dart'; - -part 'get_vendor_rate_by_id.dart'; - -part 'list_applications.dart'; - -part 'get_application_by_id.dart'; - -part 'get_applications_by_shift_id.dart'; - -part 'get_applications_by_shift_id_and_status.dart'; - -part 'get_applications_by_staff_id.dart'; +part 'delete_conversation.dart'; part 'list_invoice_templates.dart'; @@ -450,51 +66,23 @@ part 'list_invoice_templates_by_order_id.dart'; part 'search_invoice_templates_by_owner_and_name.dart'; -part 'list_roles.dart'; +part 'create_assignment.dart'; -part 'get_role_by_id.dart'; +part 'update_assignment.dart'; -part 'list_roles_by_vendor_id.dart'; +part 'delete_assignment.dart'; -part 'list_roles_byrole_category_id.dart'; +part 'create_attire_option.dart'; -part 'list_staff.dart'; +part 'update_attire_option.dart'; -part 'get_staff_by_id.dart'; +part 'delete_attire_option.dart'; -part 'get_staff_by_user_id.dart'; +part 'list_businesses.dart'; -part 'filter_staff.dart'; +part 'get_businesses_by_user_id.dart'; -part 'create_task_comment.dart'; - -part 'update_task_comment.dart'; - -part 'delete_task_comment.dart'; - -part 'list_user_conversations.dart'; - -part 'get_user_conversation_by_key.dart'; - -part 'list_user_conversations_by_user_id.dart'; - -part 'list_unread_user_conversations_by_user_id.dart'; - -part 'list_user_conversations_by_conversation_id.dart'; - -part 'filter_user_conversations.dart'; - -part 'list_certificates.dart'; - -part 'get_certificate_by_id.dart'; - -part 'list_certificates_by_staff_id.dart'; - -part 'get_my_tasks.dart'; - -part 'get_member_task_by_id_key.dart'; - -part 'get_member_tasks_by_task_id.dart'; +part 'get_business_by_id.dart'; part 'list_recent_payments.dart'; @@ -512,47 +100,135 @@ part 'list_recent_payments_by_invoice_ids.dart'; part 'list_recent_payments_by_business_id.dart'; -part 'create_tax_form.dart'; +part 'create_role_category.dart'; -part 'update_tax_form.dart'; +part 'update_role_category.dart'; -part 'delete_tax_form.dart'; +part 'delete_role_category.dart'; -part 'create_message.dart'; +part 'create_staff_availability_stats.dart'; -part 'update_message.dart'; +part 'update_staff_availability_stats.dart'; -part 'delete_message.dart'; +part 'delete_staff_availability_stats.dart'; -part 'list_role_categories.dart'; +part 'list_team_hud_departments.dart'; -part 'get_role_category_by_id.dart'; +part 'get_team_hud_department_by_id.dart'; -part 'get_role_categories_by_category.dart'; +part 'list_team_hud_departments_by_team_hub_id.dart'; -part 'create_application.dart'; +part 'create_user.dart'; -part 'update_application_status.dart'; +part 'update_user.dart'; -part 'delete_application.dart'; +part 'delete_user.dart'; -part 'create_assignment.dart'; +part 'create_category.dart'; -part 'update_assignment.dart'; +part 'update_category.dart'; -part 'delete_assignment.dart'; +part 'delete_category.dart'; -part 'create_benefits_data.dart'; +part 'create_invoice.dart'; -part 'update_benefits_data.dart'; +part 'update_invoice.dart'; -part 'delete_benefits_data.dart'; +part 'delete_invoice.dart'; -part 'list_users.dart'; +part 'list_staff.dart'; -part 'get_user_by_id.dart'; +part 'get_staff_by_id.dart'; -part 'filter_users.dart'; +part 'get_staff_by_user_id.dart'; + +part 'filter_staff.dart'; + +part 'get_staff_document_by_key.dart'; + +part 'list_staff_documents_by_staff_id.dart'; + +part 'list_staff_documents_by_document_type.dart'; + +part 'list_staff_documents_by_status.dart'; + +part 'list_vendor_benefit_plans.dart'; + +part 'get_vendor_benefit_plan_by_id.dart'; + +part 'list_vendor_benefit_plans_by_vendor_id.dart'; + +part 'list_active_vendor_benefit_plans_by_vendor_id.dart'; + +part 'filter_vendor_benefit_plans.dart'; + +part 'create_workforce.dart'; + +part 'update_workforce.dart'; + +part 'deactivate_workforce.dart'; + +part 'create_client_feedback.dart'; + +part 'update_client_feedback.dart'; + +part 'delete_client_feedback.dart'; + +part 'list_levels.dart'; + +part 'get_level_by_id.dart'; + +part 'filter_levels.dart'; + +part 'create_shift.dart'; + +part 'update_shift.dart'; + +part 'delete_shift.dart'; + +part 'create_shift_role.dart'; + +part 'update_shift_role.dart'; + +part 'delete_shift_role.dart'; + +part 'create_staff.dart'; + +part 'update_staff.dart'; + +part 'delete_staff.dart'; + +part 'create_task.dart'; + +part 'update_task.dart'; + +part 'delete_task.dart'; + +part 'create_team_member.dart'; + +part 'update_team_member.dart'; + +part 'update_team_member_invite_status.dart'; + +part 'accept_invite_by_code.dart'; + +part 'cancel_invite_by_code.dart'; + +part 'delete_team_member.dart'; + +part 'list_accounts.dart'; + +part 'get_account_by_id.dart'; + +part 'get_accounts_by_owner_id.dart'; + +part 'filter_accounts.dart'; + +part 'list_categories.dart'; + +part 'get_category_by_id.dart'; + +part 'filter_categories.dart'; part 'list_client_feedbacks.dart'; @@ -568,47 +244,61 @@ part 'filter_client_feedbacks.dart'; part 'list_client_feedback_ratings_by_vendor_id.dart'; -part 'create_custom_rate_card.dart'; +part 'get_my_tasks.dart'; -part 'update_custom_rate_card.dart'; +part 'get_member_task_by_id_key.dart'; -part 'delete_custom_rate_card.dart'; +part 'get_member_tasks_by_task_id.dart'; -part 'create_role_category.dart'; +part 'create_team.dart'; -part 'update_role_category.dart'; +part 'update_team.dart'; -part 'delete_role_category.dart'; +part 'delete_team.dart'; -part 'create_staff_course.dart'; +part 'create_benefits_data.dart'; -part 'update_staff_course.dart'; +part 'update_benefits_data.dart'; -part 'delete_staff_course.dart'; +part 'delete_benefits_data.dart'; -part 'list_staff_roles.dart'; +part 'list_faq_datas.dart'; -part 'get_staff_role_by_key.dart'; +part 'get_faq_data_by_id.dart'; -part 'list_staff_roles_by_staff_id.dart'; +part 'filter_faq_datas.dart'; -part 'list_staff_roles_by_role_id.dart'; +part 'create_order.dart'; -part 'filter_staff_roles.dart'; +part 'update_order.dart'; -part 'create_account.dart'; +part 'delete_order.dart'; -part 'update_account.dart'; +part 'create_staff_document.dart'; -part 'delete_account.dart'; +part 'update_staff_document.dart'; -part 'list_accounts.dart'; +part 'delete_staff_document.dart'; -part 'get_account_by_id.dart'; +part 'list_applications.dart'; -part 'get_accounts_by_owner_id.dart'; +part 'get_application_by_id.dart'; -part 'filter_accounts.dart'; +part 'get_applications_by_shift_id.dart'; + +part 'get_applications_by_shift_id_and_status.dart'; + +part 'get_applications_by_staff_id.dart'; + +part 'list_conversations.dart'; + +part 'get_conversation_by_id.dart'; + +part 'list_conversations_by_type.dart'; + +part 'list_conversations_by_status.dart'; + +part 'filter_conversations.dart'; part 'create_course.dart'; @@ -616,31 +306,21 @@ part 'update_course.dart'; part 'delete_course.dart'; -part 'create_emergency_contact.dart'; +part 'list_invoices.dart'; -part 'update_emergency_contact.dart'; +part 'get_invoice_by_id.dart'; -part 'delete_emergency_contact.dart'; +part 'list_invoices_by_vendor_id.dart'; -part 'create_invoice_template.dart'; +part 'list_invoices_by_business_id.dart'; -part 'update_invoice_template.dart'; +part 'list_invoices_by_order_id.dart'; -part 'delete_invoice_template.dart'; +part 'list_invoices_by_status.dart'; -part 'list_orders.dart'; +part 'filter_invoices.dart'; -part 'get_order_by_id.dart'; - -part 'get_orders_by_business_id.dart'; - -part 'get_orders_by_vendor_id.dart'; - -part 'get_orders_by_status.dart'; - -part 'get_orders_by_date_range.dart'; - -part 'get_rapid_orders.dart'; +part 'list_overdue_invoices.dart'; part 'list_shifts_for_coverage.dart'; @@ -680,11 +360,301 @@ part 'list_applications_for_performance.dart'; part 'list_staff_for_performance.dart'; -part 'create_role.dart'; +part 'list_roles.dart'; -part 'update_role.dart'; +part 'get_role_by_id.dart'; -part 'delete_role.dart'; +part 'list_roles_by_vendor_id.dart'; + +part 'list_roles_byrole_category_id.dart'; + +part 'create_staff_role.dart'; + +part 'delete_staff_role.dart'; + +part 'list_tax_forms.dart'; + +part 'get_tax_form_by_id.dart'; + +part 'get_tax_forms_bystaff_id.dart'; + +part 'filter_tax_forms.dart'; + +part 'list_certificates.dart'; + +part 'get_certificate_by_id.dart'; + +part 'list_certificates_by_staff_id.dart'; + +part 'list_team_members.dart'; + +part 'get_team_member_by_id.dart'; + +part 'get_team_members_by_team_id.dart'; + +part 'create_user_conversation.dart'; + +part 'update_user_conversation.dart'; + +part 'mark_conversation_as_read.dart'; + +part 'increment_unread_for_user.dart'; + +part 'delete_user_conversation.dart'; + +part 'list_user_conversations.dart'; + +part 'get_user_conversation_by_key.dart'; + +part 'list_user_conversations_by_user_id.dart'; + +part 'list_unread_user_conversations_by_user_id.dart'; + +part 'list_user_conversations_by_conversation_id.dart'; + +part 'filter_user_conversations.dart'; + +part 'list_documents.dart'; + +part 'get_document_by_id.dart'; + +part 'filter_documents.dart'; + +part 'create_account.dart'; + +part 'update_account.dart'; + +part 'delete_account.dart'; + +part 'create_invoice_template.dart'; + +part 'update_invoice_template.dart'; + +part 'delete_invoice_template.dart'; + +part 'create_member_task.dart'; + +part 'delete_member_task.dart'; + +part 'create_message.dart'; + +part 'update_message.dart'; + +part 'delete_message.dart'; + +part 'list_task_comments.dart'; + +part 'get_task_comment_by_id.dart'; + +part 'get_task_comments_by_task_id.dart'; + +part 'list_teams.dart'; + +part 'get_team_by_id.dart'; + +part 'get_teams_by_owner_id.dart'; + +part 'get_workforce_by_id.dart'; + +part 'get_workforce_by_vendor_and_staff.dart'; + +part 'list_workforce_by_vendor_id.dart'; + +part 'list_workforce_by_staff_id.dart'; + +part 'get_workforce_by_vendor_and_number.dart'; + +part 'create_activity_log.dart'; + +part 'update_activity_log.dart'; + +part 'mark_activity_log_as_read.dart'; + +part 'mark_activity_logs_as_read.dart'; + +part 'delete_activity_log.dart'; + +part 'create_hub.dart'; + +part 'update_hub.dart'; + +part 'delete_hub.dart'; + +part 'list_hubs.dart'; + +part 'get_hub_by_id.dart'; + +part 'get_hubs_by_owner_id.dart'; + +part 'filter_hubs.dart'; + +part 'list_staff_roles.dart'; + +part 'get_staff_role_by_key.dart'; + +part 'list_staff_roles_by_staff_id.dart'; + +part 'list_staff_roles_by_role_id.dart'; + +part 'filter_staff_roles.dart'; + +part 'list_team_hubs.dart'; + +part 'get_team_hub_by_id.dart'; + +part 'get_team_hubs_by_team_id.dart'; + +part 'list_team_hubs_by_owner_id.dart'; + +part 'list_orders.dart'; + +part 'get_order_by_id.dart'; + +part 'get_orders_by_business_id.dart'; + +part 'get_orders_by_vendor_id.dart'; + +part 'get_orders_by_status.dart'; + +part 'get_orders_by_date_range.dart'; + +part 'get_rapid_orders.dart'; + +part 'list_staff_availability_stats.dart'; + +part 'get_staff_availability_stats_by_staff_id.dart'; + +part 'filter_staff_availability_stats.dart'; + +part 'get_staff_course_by_id.dart'; + +part 'list_staff_courses_by_staff_id.dart'; + +part 'list_staff_courses_by_course_id.dart'; + +part 'get_staff_course_by_staff_and_course.dart'; + +part 'create_task_comment.dart'; + +part 'update_task_comment.dart'; + +part 'delete_task_comment.dart'; + +part 'create_team_hub.dart'; + +part 'update_team_hub.dart'; + +part 'delete_team_hub.dart'; + +part 'create_vendor_rate.dart'; + +part 'update_vendor_rate.dart'; + +part 'delete_vendor_rate.dart'; + +part 'list_assignments.dart'; + +part 'get_assignment_by_id.dart'; + +part 'list_assignments_by_workforce_id.dart'; + +part 'list_assignments_by_workforce_ids.dart'; + +part 'list_assignments_by_shift_role.dart'; + +part 'filter_assignments.dart'; + +part 'list_courses.dart'; + +part 'get_course_by_id.dart'; + +part 'filter_courses.dart'; + +part 'create_custom_rate_card.dart'; + +part 'update_custom_rate_card.dart'; + +part 'delete_custom_rate_card.dart'; + +part 'list_custom_rate_cards.dart'; + +part 'get_custom_rate_card_by_id.dart'; + +part 'list_staff_availabilities.dart'; + +part 'list_staff_availabilities_by_staff_id.dart'; + +part 'get_staff_availability_by_key.dart'; + +part 'list_staff_availabilities_by_day.dart'; + +part 'create_staff_course.dart'; + +part 'update_staff_course.dart'; + +part 'delete_staff_course.dart'; + +part 'list_users.dart'; + +part 'get_user_by_id.dart'; + +part 'filter_users.dart'; + +part 'create_vendor.dart'; + +part 'update_vendor.dart'; + +part 'delete_vendor.dart'; + +part 'create_document.dart'; + +part 'update_document.dart'; + +part 'delete_document.dart'; + +part 'list_activity_logs.dart'; + +part 'get_activity_log_by_id.dart'; + +part 'list_activity_logs_by_user_id.dart'; + +part 'list_unread_activity_logs_by_user_id.dart'; + +part 'filter_activity_logs.dart'; + +part 'list_attire_options.dart'; + +part 'get_attire_option_by_id.dart'; + +part 'filter_attire_options.dart'; + +part 'create_emergency_contact.dart'; + +part 'update_emergency_contact.dart'; + +part 'delete_emergency_contact.dart'; + +part 'list_role_categories.dart'; + +part 'get_role_category_by_id.dart'; + +part 'get_role_categories_by_category.dart'; + +part 'list_shifts.dart'; + +part 'get_shift_by_id.dart'; + +part 'filter_shifts.dart'; + +part 'get_shifts_by_business_id.dart'; + +part 'get_shifts_by_vendor_id.dart'; + +part 'get_vendor_by_id.dart'; + +part 'get_vendor_by_user_id.dart'; + +part 'list_vendors.dart'; part 'list_benefits_data.dart'; @@ -696,35 +666,65 @@ part 'list_benefits_data_by_vendor_benefit_plan_id.dart'; part 'list_benefits_data_by_vendor_benefit_plan_ids.dart'; -part 'create_order.dart'; +part 'create_certificate.dart'; -part 'update_order.dart'; +part 'update_certificate.dart'; -part 'delete_order.dart'; +part 'delete_certificate.dart'; -part 'list_staff_availabilities.dart'; +part 'list_emergency_contacts.dart'; -part 'list_staff_availabilities_by_staff_id.dart'; +part 'get_emergency_contact_by_id.dart'; -part 'get_staff_availability_by_key.dart'; +part 'get_emergency_contacts_by_staff_id.dart'; -part 'list_staff_availabilities_by_day.dart'; +part 'create_recent_payment.dart'; -part 'list_team_members.dart'; +part 'update_recent_payment.dart'; -part 'get_team_member_by_id.dart'; +part 'delete_recent_payment.dart'; -part 'get_team_members_by_team_id.dart'; +part 'create_team_hud_department.dart'; -part 'list_vendor_benefit_plans.dart'; +part 'update_team_hud_department.dart'; -part 'get_vendor_benefit_plan_by_id.dart'; +part 'delete_team_hud_department.dart'; -part 'list_vendor_benefit_plans_by_vendor_id.dart'; +part 'create_vendor_benefit_plan.dart'; -part 'list_active_vendor_benefit_plans_by_vendor_id.dart'; +part 'update_vendor_benefit_plan.dart'; -part 'filter_vendor_benefit_plans.dart'; +part 'delete_vendor_benefit_plan.dart'; + +part 'list_vendor_rates.dart'; + +part 'get_vendor_rate_by_id.dart'; + +part 'create_staff_availability.dart'; + +part 'update_staff_availability.dart'; + +part 'delete_staff_availability.dart'; + +part 'list_tasks.dart'; + +part 'get_task_by_id.dart'; + +part 'get_tasks_by_owner_id.dart'; + +part 'filter_tasks.dart'; + +part 'create_tax_form.dart'; + +part 'update_tax_form.dart'; + +part 'delete_tax_form.dart'; + +part 'create_business.dart'; + +part 'update_business.dart'; + +part 'delete_business.dart'; @@ -2675,238 +2675,18 @@ class Unknown extends EnumValue { class ExampleConnector { - CreateDocumentVariablesBuilder createDocument ({required DocumentType documentType, required String name, }) { - return CreateDocumentVariablesBuilder(dataConnect, documentType: documentType,name: name,); + CreateFaqDataVariablesBuilder createFaqData ({required String category, }) { + return CreateFaqDataVariablesBuilder(dataConnect, category: category,); } - UpdateDocumentVariablesBuilder updateDocument ({required String id, }) { - return UpdateDocumentVariablesBuilder(dataConnect, id: id,); + UpdateFaqDataVariablesBuilder updateFaqData ({required String id, }) { + return UpdateFaqDataVariablesBuilder(dataConnect, id: id,); } - DeleteDocumentVariablesBuilder deleteDocument ({required String id, }) { - return DeleteDocumentVariablesBuilder(dataConnect, id: id,); - } - - - CreateConversationVariablesBuilder createConversation () { - return CreateConversationVariablesBuilder(dataConnect, ); - } - - - UpdateConversationVariablesBuilder updateConversation ({required String id, }) { - return UpdateConversationVariablesBuilder(dataConnect, id: id,); - } - - - UpdateConversationLastMessageVariablesBuilder updateConversationLastMessage ({required String id, }) { - return UpdateConversationLastMessageVariablesBuilder(dataConnect, id: id,); - } - - - DeleteConversationVariablesBuilder deleteConversation ({required String id, }) { - return DeleteConversationVariablesBuilder(dataConnect, id: id,); - } - - - ListHubsVariablesBuilder listHubs () { - return ListHubsVariablesBuilder(dataConnect, ); - } - - - GetHubByIdVariablesBuilder getHubById ({required String id, }) { - return GetHubByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetHubsByOwnerIdVariablesBuilder getHubsByOwnerId ({required String ownerId, }) { - return GetHubsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); - } - - - FilterHubsVariablesBuilder filterHubs () { - return FilterHubsVariablesBuilder(dataConnect, ); - } - - - CreateInvoiceVariablesBuilder createInvoice ({required InvoiceStatus status, required String vendorId, required String businessId, required String orderId, required String invoiceNumber, required Timestamp issueDate, required Timestamp dueDate, required double amount, }) { - return CreateInvoiceVariablesBuilder(dataConnect, status: status,vendorId: vendorId,businessId: businessId,orderId: orderId,invoiceNumber: invoiceNumber,issueDate: issueDate,dueDate: dueDate,amount: amount,); - } - - - UpdateInvoiceVariablesBuilder updateInvoice ({required String id, }) { - return UpdateInvoiceVariablesBuilder(dataConnect, id: id,); - } - - - DeleteInvoiceVariablesBuilder deleteInvoice ({required String id, }) { - return DeleteInvoiceVariablesBuilder(dataConnect, id: id,); - } - - - CreateVendorRateVariablesBuilder createVendorRate ({required String vendorId, }) { - return CreateVendorRateVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - UpdateVendorRateVariablesBuilder updateVendorRate ({required String id, }) { - return UpdateVendorRateVariablesBuilder(dataConnect, id: id,); - } - - - DeleteVendorRateVariablesBuilder deleteVendorRate ({required String id, }) { - return DeleteVendorRateVariablesBuilder(dataConnect, id: id,); - } - - - ListCategoriesVariablesBuilder listCategories () { - return ListCategoriesVariablesBuilder(dataConnect, ); - } - - - GetCategoryByIdVariablesBuilder getCategoryById ({required String id, }) { - return GetCategoryByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterCategoriesVariablesBuilder filterCategories () { - return FilterCategoriesVariablesBuilder(dataConnect, ); - } - - - CreateClientFeedbackVariablesBuilder createClientFeedback ({required String businessId, required String vendorId, }) { - return CreateClientFeedbackVariablesBuilder(dataConnect, businessId: businessId,vendorId: vendorId,); - } - - - UpdateClientFeedbackVariablesBuilder updateClientFeedback ({required String id, }) { - return UpdateClientFeedbackVariablesBuilder(dataConnect, id: id,); - } - - - DeleteClientFeedbackVariablesBuilder deleteClientFeedback ({required String id, }) { - return DeleteClientFeedbackVariablesBuilder(dataConnect, id: id,); - } - - - CreateTeamVariablesBuilder createTeam ({required String teamName, required String ownerId, required String ownerName, required String ownerRole, }) { - return CreateTeamVariablesBuilder(dataConnect, teamName: teamName,ownerId: ownerId,ownerName: ownerName,ownerRole: ownerRole,); - } - - - UpdateTeamVariablesBuilder updateTeam ({required String id, }) { - return UpdateTeamVariablesBuilder(dataConnect, id: id,); - } - - - DeleteTeamVariablesBuilder deleteTeam ({required String id, }) { - return DeleteTeamVariablesBuilder(dataConnect, id: id,); - } - - - ListTeamHubsVariablesBuilder listTeamHubs () { - return ListTeamHubsVariablesBuilder(dataConnect, ); - } - - - GetTeamHubByIdVariablesBuilder getTeamHubById ({required String id, }) { - return GetTeamHubByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetTeamHubsByTeamIdVariablesBuilder getTeamHubsByTeamId ({required String teamId, }) { - return GetTeamHubsByTeamIdVariablesBuilder(dataConnect, teamId: teamId,); - } - - - ListTeamHubsByOwnerIdVariablesBuilder listTeamHubsByOwnerId ({required String ownerId, }) { - return ListTeamHubsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); - } - - - CreateVendorVariablesBuilder createVendor ({required String userId, required String companyName, }) { - return CreateVendorVariablesBuilder(dataConnect, userId: userId,companyName: companyName,); - } - - - UpdateVendorVariablesBuilder updateVendor ({required String id, }) { - return UpdateVendorVariablesBuilder(dataConnect, id: id,); - } - - - DeleteVendorVariablesBuilder deleteVendor ({required String id, }) { - return DeleteVendorVariablesBuilder(dataConnect, id: id,); - } - - - CreateWorkforceVariablesBuilder createWorkforce ({required String vendorId, required String staffId, required String workforceNumber, }) { - return CreateWorkforceVariablesBuilder(dataConnect, vendorId: vendorId,staffId: staffId,workforceNumber: workforceNumber,); - } - - - UpdateWorkforceVariablesBuilder updateWorkforce ({required String id, }) { - return UpdateWorkforceVariablesBuilder(dataConnect, id: id,); - } - - - DeactivateWorkforceVariablesBuilder deactivateWorkforce ({required String id, }) { - return DeactivateWorkforceVariablesBuilder(dataConnect, id: id,); - } - - - CreateBusinessVariablesBuilder createBusiness ({required String businessName, required String userId, required BusinessRateGroup rateGroup, required BusinessStatus status, }) { - return CreateBusinessVariablesBuilder(dataConnect, businessName: businessName,userId: userId,rateGroup: rateGroup,status: status,); - } - - - UpdateBusinessVariablesBuilder updateBusiness ({required String id, }) { - return UpdateBusinessVariablesBuilder(dataConnect, id: id,); - } - - - DeleteBusinessVariablesBuilder deleteBusiness ({required String id, }) { - return DeleteBusinessVariablesBuilder(dataConnect, id: id,); - } - - - ListActivityLogsVariablesBuilder listActivityLogs () { - return ListActivityLogsVariablesBuilder(dataConnect, ); - } - - - GetActivityLogByIdVariablesBuilder getActivityLogById ({required String id, }) { - return GetActivityLogByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListActivityLogsByUserIdVariablesBuilder listActivityLogsByUserId ({required String userId, }) { - return ListActivityLogsByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - ListUnreadActivityLogsByUserIdVariablesBuilder listUnreadActivityLogsByUserId ({required String userId, }) { - return ListUnreadActivityLogsByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - FilterActivityLogsVariablesBuilder filterActivityLogs () { - return FilterActivityLogsVariablesBuilder(dataConnect, ); - } - - - CreateHubVariablesBuilder createHub ({required String name, required String ownerId, }) { - return CreateHubVariablesBuilder(dataConnect, name: name,ownerId: ownerId,); - } - - - UpdateHubVariablesBuilder updateHub ({required String id, }) { - return UpdateHubVariablesBuilder(dataConnect, id: id,); - } - - - DeleteHubVariablesBuilder deleteHub ({required String id, }) { - return DeleteHubVariablesBuilder(dataConnect, id: id,); + DeleteFaqDataVariablesBuilder deleteFaqData ({required String id, }) { + return DeleteFaqDataVariablesBuilder(dataConnect, id: id,); } @@ -2925,33 +2705,33 @@ class ExampleConnector { } - ListLevelsVariablesBuilder listLevels () { - return ListLevelsVariablesBuilder(dataConnect, ); + ListMessagesVariablesBuilder listMessages () { + return ListMessagesVariablesBuilder(dataConnect, ); } - GetLevelByIdVariablesBuilder getLevelById ({required String id, }) { - return GetLevelByIdVariablesBuilder(dataConnect, id: id,); + GetMessageByIdVariablesBuilder getMessageById ({required String id, }) { + return GetMessageByIdVariablesBuilder(dataConnect, id: id,); } - FilterLevelsVariablesBuilder filterLevels () { - return FilterLevelsVariablesBuilder(dataConnect, ); + GetMessagesByConversationIdVariablesBuilder getMessagesByConversationId ({required String conversationId, }) { + return GetMessagesByConversationIdVariablesBuilder(dataConnect, conversationId: conversationId,); } - CreateRecentPaymentVariablesBuilder createRecentPayment ({required String staffId, required String applicationId, required String invoiceId, }) { - return CreateRecentPaymentVariablesBuilder(dataConnect, staffId: staffId,applicationId: applicationId,invoiceId: invoiceId,); + CreateRoleVariablesBuilder createRole ({required String name, required double costPerHour, required String vendorId, required String roleCategoryId, }) { + return CreateRoleVariablesBuilder(dataConnect, name: name,costPerHour: costPerHour,vendorId: vendorId,roleCategoryId: roleCategoryId,); } - UpdateRecentPaymentVariablesBuilder updateRecentPayment ({required String id, }) { - return UpdateRecentPaymentVariablesBuilder(dataConnect, id: id,); + UpdateRoleVariablesBuilder updateRole ({required String id, required String roleCategoryId, }) { + return UpdateRoleVariablesBuilder(dataConnect, id: id,roleCategoryId: roleCategoryId,); } - DeleteRecentPaymentVariablesBuilder deleteRecentPayment ({required String id, }) { - return DeleteRecentPaymentVariablesBuilder(dataConnect, id: id,); + DeleteRoleVariablesBuilder deleteRole ({required String id, }) { + return DeleteRoleVariablesBuilder(dataConnect, id: id,); } @@ -2980,778 +2760,38 @@ class ExampleConnector { } - CreateTeamHudDepartmentVariablesBuilder createTeamHudDepartment ({required String name, required String teamHubId, }) { - return CreateTeamHudDepartmentVariablesBuilder(dataConnect, name: name,teamHubId: teamHubId,); + CreateApplicationVariablesBuilder createApplication ({required String shiftId, required String staffId, required ApplicationStatus status, required ApplicationOrigin origin, required String roleId, }) { + return CreateApplicationVariablesBuilder(dataConnect, shiftId: shiftId,staffId: staffId,status: status,origin: origin,roleId: roleId,); } - UpdateTeamHudDepartmentVariablesBuilder updateTeamHudDepartment ({required String id, }) { - return UpdateTeamHudDepartmentVariablesBuilder(dataConnect, id: id,); + UpdateApplicationStatusVariablesBuilder updateApplicationStatus ({required String id, required String roleId, }) { + return UpdateApplicationStatusVariablesBuilder(dataConnect, id: id,roleId: roleId,); } - DeleteTeamHudDepartmentVariablesBuilder deleteTeamHudDepartment ({required String id, }) { - return DeleteTeamHudDepartmentVariablesBuilder(dataConnect, id: id,); + DeleteApplicationVariablesBuilder deleteApplication ({required String id, }) { + return DeleteApplicationVariablesBuilder(dataConnect, id: id,); } - CreateTeamMemberVariablesBuilder createTeamMember ({required String teamId, required TeamMemberRole role, required String userId, }) { - return CreateTeamMemberVariablesBuilder(dataConnect, teamId: teamId,role: role,userId: userId,); + CreateConversationVariablesBuilder createConversation () { + return CreateConversationVariablesBuilder(dataConnect, ); } - UpdateTeamMemberVariablesBuilder updateTeamMember ({required String id, }) { - return UpdateTeamMemberVariablesBuilder(dataConnect, id: id,); + UpdateConversationVariablesBuilder updateConversation ({required String id, }) { + return UpdateConversationVariablesBuilder(dataConnect, id: id,); } - UpdateTeamMemberInviteStatusVariablesBuilder updateTeamMemberInviteStatus ({required String id, required TeamMemberInviteStatus inviteStatus, }) { - return UpdateTeamMemberInviteStatusVariablesBuilder(dataConnect, id: id,inviteStatus: inviteStatus,); + UpdateConversationLastMessageVariablesBuilder updateConversationLastMessage ({required String id, }) { + return UpdateConversationLastMessageVariablesBuilder(dataConnect, id: id,); } - AcceptInviteByCodeVariablesBuilder acceptInviteByCode ({required String inviteCode, }) { - return AcceptInviteByCodeVariablesBuilder(dataConnect, inviteCode: inviteCode,); - } - - - CancelInviteByCodeVariablesBuilder cancelInviteByCode ({required String inviteCode, }) { - return CancelInviteByCodeVariablesBuilder(dataConnect, inviteCode: inviteCode,); - } - - - DeleteTeamMemberVariablesBuilder deleteTeamMember ({required String id, }) { - return DeleteTeamMemberVariablesBuilder(dataConnect, id: id,); - } - - - CreateUserVariablesBuilder createUser ({required String id, required UserBaseRole role, }) { - return CreateUserVariablesBuilder(dataConnect, id: id,role: role,); - } - - - UpdateUserVariablesBuilder updateUser ({required String id, }) { - return UpdateUserVariablesBuilder(dataConnect, id: id,); - } - - - DeleteUserVariablesBuilder deleteUser ({required String id, }) { - return DeleteUserVariablesBuilder(dataConnect, id: id,); - } - - - GetVendorByIdVariablesBuilder getVendorById ({required String id, }) { - return GetVendorByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetVendorByUserIdVariablesBuilder getVendorByUserId ({required String userId, }) { - return GetVendorByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - ListVendorsVariablesBuilder listVendors () { - return ListVendorsVariablesBuilder(dataConnect, ); - } - - - CreateShiftVariablesBuilder createShift ({required String title, required String orderId, }) { - return CreateShiftVariablesBuilder(dataConnect, title: title,orderId: orderId,); - } - - - UpdateShiftVariablesBuilder updateShift ({required String id, }) { - return UpdateShiftVariablesBuilder(dataConnect, id: id,); - } - - - DeleteShiftVariablesBuilder deleteShift ({required String id, }) { - return DeleteShiftVariablesBuilder(dataConnect, id: id,); - } - - - ListShiftsVariablesBuilder listShifts () { - return ListShiftsVariablesBuilder(dataConnect, ); - } - - - GetShiftByIdVariablesBuilder getShiftById ({required String id, }) { - return GetShiftByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterShiftsVariablesBuilder filterShifts () { - return FilterShiftsVariablesBuilder(dataConnect, ); - } - - - GetShiftsByBusinessIdVariablesBuilder getShiftsByBusinessId ({required String businessId, }) { - return GetShiftsByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); - } - - - GetShiftsByVendorIdVariablesBuilder getShiftsByVendorId ({required String vendorId, }) { - return GetShiftsByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - CreateShiftRoleVariablesBuilder createShiftRole ({required String shiftId, required String roleId, required int count, }) { - return CreateShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,count: count,); - } - - - UpdateShiftRoleVariablesBuilder updateShiftRole ({required String shiftId, required String roleId, }) { - return UpdateShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,); - } - - - DeleteShiftRoleVariablesBuilder deleteShiftRole ({required String shiftId, required String roleId, }) { - return DeleteShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,); - } - - - ListCoursesVariablesBuilder listCourses () { - return ListCoursesVariablesBuilder(dataConnect, ); - } - - - GetCourseByIdVariablesBuilder getCourseById ({required String id, }) { - return GetCourseByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterCoursesVariablesBuilder filterCourses () { - return FilterCoursesVariablesBuilder(dataConnect, ); - } - - - ListDocumentsVariablesBuilder listDocuments () { - return ListDocumentsVariablesBuilder(dataConnect, ); - } - - - GetDocumentByIdVariablesBuilder getDocumentById ({required String id, }) { - return GetDocumentByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterDocumentsVariablesBuilder filterDocuments () { - return FilterDocumentsVariablesBuilder(dataConnect, ); - } - - - CreateAttireOptionVariablesBuilder createAttireOption ({required String itemId, required String label, }) { - return CreateAttireOptionVariablesBuilder(dataConnect, itemId: itemId,label: label,); - } - - - UpdateAttireOptionVariablesBuilder updateAttireOption ({required String id, }) { - return UpdateAttireOptionVariablesBuilder(dataConnect, id: id,); - } - - - DeleteAttireOptionVariablesBuilder deleteAttireOption ({required String id, }) { - return DeleteAttireOptionVariablesBuilder(dataConnect, id: id,); - } - - - CreateCategoryVariablesBuilder createCategory ({required String categoryId, required String label, }) { - return CreateCategoryVariablesBuilder(dataConnect, categoryId: categoryId,label: label,); - } - - - UpdateCategoryVariablesBuilder updateCategory ({required String id, }) { - return UpdateCategoryVariablesBuilder(dataConnect, id: id,); - } - - - DeleteCategoryVariablesBuilder deleteCategory ({required String id, }) { - return DeleteCategoryVariablesBuilder(dataConnect, id: id,); - } - - - ListConversationsVariablesBuilder listConversations () { - return ListConversationsVariablesBuilder(dataConnect, ); - } - - - GetConversationByIdVariablesBuilder getConversationById ({required String id, }) { - return GetConversationByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListConversationsByTypeVariablesBuilder listConversationsByType ({required ConversationType conversationType, }) { - return ListConversationsByTypeVariablesBuilder(dataConnect, conversationType: conversationType,); - } - - - ListConversationsByStatusVariablesBuilder listConversationsByStatus ({required ConversationStatus status, }) { - return ListConversationsByStatusVariablesBuilder(dataConnect, status: status,); - } - - - FilterConversationsVariablesBuilder filterConversations () { - return FilterConversationsVariablesBuilder(dataConnect, ); - } - - - ListAttireOptionsVariablesBuilder listAttireOptions () { - return ListAttireOptionsVariablesBuilder(dataConnect, ); - } - - - GetAttireOptionByIdVariablesBuilder getAttireOptionById ({required String id, }) { - return GetAttireOptionByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterAttireOptionsVariablesBuilder filterAttireOptions () { - return FilterAttireOptionsVariablesBuilder(dataConnect, ); - } - - - CreateStaffVariablesBuilder createStaff ({required String userId, required String fullName, }) { - return CreateStaffVariablesBuilder(dataConnect, userId: userId,fullName: fullName,); - } - - - UpdateStaffVariablesBuilder updateStaff ({required String id, }) { - return UpdateStaffVariablesBuilder(dataConnect, id: id,); - } - - - DeleteStaffVariablesBuilder deleteStaff ({required String id, }) { - return DeleteStaffVariablesBuilder(dataConnect, id: id,); - } - - - CreateStaffDocumentVariablesBuilder createStaffDocument ({required String staffId, required String staffName, required String documentId, required DocumentStatus status, }) { - return CreateStaffDocumentVariablesBuilder(dataConnect, staffId: staffId,staffName: staffName,documentId: documentId,status: status,); - } - - - UpdateStaffDocumentVariablesBuilder updateStaffDocument ({required String staffId, required String documentId, }) { - return UpdateStaffDocumentVariablesBuilder(dataConnect, staffId: staffId,documentId: documentId,); - } - - - DeleteStaffDocumentVariablesBuilder deleteStaffDocument ({required String staffId, required String documentId, }) { - return DeleteStaffDocumentVariablesBuilder(dataConnect, staffId: staffId,documentId: documentId,); - } - - - CreateStaffRoleVariablesBuilder createStaffRole ({required String staffId, required String roleId, }) { - return CreateStaffRoleVariablesBuilder(dataConnect, staffId: staffId,roleId: roleId,); - } - - - DeleteStaffRoleVariablesBuilder deleteStaffRole ({required String staffId, required String roleId, }) { - return DeleteStaffRoleVariablesBuilder(dataConnect, staffId: staffId,roleId: roleId,); - } - - - ListTaxFormsVariablesBuilder listTaxForms () { - return ListTaxFormsVariablesBuilder(dataConnect, ); - } - - - GetTaxFormByIdVariablesBuilder getTaxFormById ({required String id, }) { - return GetTaxFormByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetTaxFormsBystaffIdVariablesBuilder getTaxFormsBystaffId ({required String staffId, }) { - return GetTaxFormsBystaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - FilterTaxFormsVariablesBuilder filterTaxForms () { - return FilterTaxFormsVariablesBuilder(dataConnect, ); - } - - - ListTeamsVariablesBuilder listTeams () { - return ListTeamsVariablesBuilder(dataConnect, ); - } - - - GetTeamByIdVariablesBuilder getTeamById ({required String id, }) { - return GetTeamByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetTeamsByOwnerIdVariablesBuilder getTeamsByOwnerId ({required String ownerId, }) { - return GetTeamsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); - } - - - ListTeamHudDepartmentsVariablesBuilder listTeamHudDepartments () { - return ListTeamHudDepartmentsVariablesBuilder(dataConnect, ); - } - - - GetTeamHudDepartmentByIdVariablesBuilder getTeamHudDepartmentById ({required String id, }) { - return GetTeamHudDepartmentByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListTeamHudDepartmentsByTeamHubIdVariablesBuilder listTeamHudDepartmentsByTeamHubId ({required String teamHubId, }) { - return ListTeamHudDepartmentsByTeamHubIdVariablesBuilder(dataConnect, teamHubId: teamHubId,); - } - - - CreateCertificateVariablesBuilder createCertificate ({required String name, required CertificateStatus status, required String staffId, }) { - return CreateCertificateVariablesBuilder(dataConnect, name: name,status: status,staffId: staffId,); - } - - - UpdateCertificateVariablesBuilder updateCertificate ({required String id, }) { - return UpdateCertificateVariablesBuilder(dataConnect, id: id,); - } - - - DeleteCertificateVariablesBuilder deleteCertificate ({required String id, }) { - return DeleteCertificateVariablesBuilder(dataConnect, id: id,); - } - - - ListCustomRateCardsVariablesBuilder listCustomRateCards () { - return ListCustomRateCardsVariablesBuilder(dataConnect, ); - } - - - GetCustomRateCardByIdVariablesBuilder getCustomRateCardById ({required String id, }) { - return GetCustomRateCardByIdVariablesBuilder(dataConnect, id: id,); - } - - - CreateFaqDataVariablesBuilder createFaqData ({required String category, }) { - return CreateFaqDataVariablesBuilder(dataConnect, category: category,); - } - - - UpdateFaqDataVariablesBuilder updateFaqData ({required String id, }) { - return UpdateFaqDataVariablesBuilder(dataConnect, id: id,); - } - - - DeleteFaqDataVariablesBuilder deleteFaqData ({required String id, }) { - return DeleteFaqDataVariablesBuilder(dataConnect, id: id,); - } - - - ListMessagesVariablesBuilder listMessages () { - return ListMessagesVariablesBuilder(dataConnect, ); - } - - - GetMessageByIdVariablesBuilder getMessageById ({required String id, }) { - return GetMessageByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetMessagesByConversationIdVariablesBuilder getMessagesByConversationId ({required String conversationId, }) { - return GetMessagesByConversationIdVariablesBuilder(dataConnect, conversationId: conversationId,); - } - - - CreateStaffAvailabilityStatsVariablesBuilder createStaffAvailabilityStats ({required String staffId, }) { - return CreateStaffAvailabilityStatsVariablesBuilder(dataConnect, staffId: staffId,); - } - - - UpdateStaffAvailabilityStatsVariablesBuilder updateStaffAvailabilityStats ({required String staffId, }) { - return UpdateStaffAvailabilityStatsVariablesBuilder(dataConnect, staffId: staffId,); - } - - - DeleteStaffAvailabilityStatsVariablesBuilder deleteStaffAvailabilityStats ({required String staffId, }) { - return DeleteStaffAvailabilityStatsVariablesBuilder(dataConnect, staffId: staffId,); - } - - - GetStaffDocumentByKeyVariablesBuilder getStaffDocumentByKey ({required String staffId, required String documentId, }) { - return GetStaffDocumentByKeyVariablesBuilder(dataConnect, staffId: staffId,documentId: documentId,); - } - - - ListStaffDocumentsByStaffIdVariablesBuilder listStaffDocumentsByStaffId ({required String staffId, }) { - return ListStaffDocumentsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - ListStaffDocumentsByDocumentTypeVariablesBuilder listStaffDocumentsByDocumentType ({required DocumentType documentType, }) { - return ListStaffDocumentsByDocumentTypeVariablesBuilder(dataConnect, documentType: documentType,); - } - - - ListStaffDocumentsByStatusVariablesBuilder listStaffDocumentsByStatus ({required DocumentStatus status, }) { - return ListStaffDocumentsByStatusVariablesBuilder(dataConnect, status: status,); - } - - - GetWorkforceByIdVariablesBuilder getWorkforceById ({required String id, }) { - return GetWorkforceByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetWorkforceByVendorAndStaffVariablesBuilder getWorkforceByVendorAndStaff ({required String vendorId, required String staffId, }) { - return GetWorkforceByVendorAndStaffVariablesBuilder(dataConnect, vendorId: vendorId,staffId: staffId,); - } - - - ListWorkforceByVendorIdVariablesBuilder listWorkforceByVendorId ({required String vendorId, }) { - return ListWorkforceByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - ListWorkforceByStaffIdVariablesBuilder listWorkforceByStaffId ({required String staffId, }) { - return ListWorkforceByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - GetWorkforceByVendorAndNumberVariablesBuilder getWorkforceByVendorAndNumber ({required String vendorId, required String workforceNumber, }) { - return GetWorkforceByVendorAndNumberVariablesBuilder(dataConnect, vendorId: vendorId,workforceNumber: workforceNumber,); - } - - - CreateActivityLogVariablesBuilder createActivityLog ({required String userId, required Timestamp date, required String title, required String description, required ActivityType activityType, }) { - return CreateActivityLogVariablesBuilder(dataConnect, userId: userId,date: date,title: title,description: description,activityType: activityType,); - } - - - UpdateActivityLogVariablesBuilder updateActivityLog ({required String id, }) { - return UpdateActivityLogVariablesBuilder(dataConnect, id: id,); - } - - - MarkActivityLogAsReadVariablesBuilder markActivityLogAsRead ({required String id, }) { - return MarkActivityLogAsReadVariablesBuilder(dataConnect, id: id,); - } - - - MarkActivityLogsAsReadVariablesBuilder markActivityLogsAsRead ({required List ids, }) { - return MarkActivityLogsAsReadVariablesBuilder(dataConnect, ids: ids,); - } - - - DeleteActivityLogVariablesBuilder deleteActivityLog ({required String id, }) { - return DeleteActivityLogVariablesBuilder(dataConnect, id: id,); - } - - - ListEmergencyContactsVariablesBuilder listEmergencyContacts () { - return ListEmergencyContactsVariablesBuilder(dataConnect, ); - } - - - GetEmergencyContactByIdVariablesBuilder getEmergencyContactById ({required String id, }) { - return GetEmergencyContactByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetEmergencyContactsByStaffIdVariablesBuilder getEmergencyContactsByStaffId ({required String staffId, }) { - return GetEmergencyContactsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - ListFaqDatasVariablesBuilder listFaqDatas () { - return ListFaqDatasVariablesBuilder(dataConnect, ); - } - - - GetFaqDataByIdVariablesBuilder getFaqDataById ({required String id, }) { - return GetFaqDataByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterFaqDatasVariablesBuilder filterFaqDatas () { - return FilterFaqDatasVariablesBuilder(dataConnect, ); - } - - - CreateStaffAvailabilityVariablesBuilder createStaffAvailability ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { - return CreateStaffAvailabilityVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); - } - - - UpdateStaffAvailabilityVariablesBuilder updateStaffAvailability ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { - return UpdateStaffAvailabilityVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); - } - - - DeleteStaffAvailabilityVariablesBuilder deleteStaffAvailability ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { - return DeleteStaffAvailabilityVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); - } - - - ListStaffAvailabilityStatsVariablesBuilder listStaffAvailabilityStats () { - return ListStaffAvailabilityStatsVariablesBuilder(dataConnect, ); - } - - - GetStaffAvailabilityStatsByStaffIdVariablesBuilder getStaffAvailabilityStatsByStaffId ({required String staffId, }) { - return GetStaffAvailabilityStatsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - FilterStaffAvailabilityStatsVariablesBuilder filterStaffAvailabilityStats () { - return FilterStaffAvailabilityStatsVariablesBuilder(dataConnect, ); - } - - - CreateTeamHubVariablesBuilder createTeamHub ({required String teamId, required String hubName, required String address, required String city, required String state, required String zipCode, required String managerName, }) { - return CreateTeamHubVariablesBuilder(dataConnect, teamId: teamId,hubName: hubName,address: address,city: city,state: state,zipCode: zipCode,managerName: managerName,); - } - - - UpdateTeamHubVariablesBuilder updateTeamHub ({required String id, }) { - return UpdateTeamHubVariablesBuilder(dataConnect, id: id,); - } - - - DeleteTeamHubVariablesBuilder deleteTeamHub ({required String id, }) { - return DeleteTeamHubVariablesBuilder(dataConnect, id: id,); - } - - - CreateUserConversationVariablesBuilder createUserConversation ({required String conversationId, required String userId, }) { - return CreateUserConversationVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); - } - - - UpdateUserConversationVariablesBuilder updateUserConversation ({required String conversationId, required String userId, }) { - return UpdateUserConversationVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); - } - - - MarkConversationAsReadVariablesBuilder markConversationAsRead ({required String conversationId, required String userId, }) { - return MarkConversationAsReadVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); - } - - - IncrementUnreadForUserVariablesBuilder incrementUnreadForUser ({required String conversationId, required String userId, required int unreadCount, }) { - return IncrementUnreadForUserVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,unreadCount: unreadCount,); - } - - - DeleteUserConversationVariablesBuilder deleteUserConversation ({required String conversationId, required String userId, }) { - return DeleteUserConversationVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); - } - - - ListBusinessesVariablesBuilder listBusinesses () { - return ListBusinessesVariablesBuilder(dataConnect, ); - } - - - GetBusinessesByUserIdVariablesBuilder getBusinessesByUserId ({required String userId, }) { - return GetBusinessesByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - GetBusinessByIdVariablesBuilder getBusinessById ({required String id, }) { - return GetBusinessByIdVariablesBuilder(dataConnect, id: id,); - } - - - CreateMemberTaskVariablesBuilder createMemberTask ({required String teamMemberId, required String taskId, }) { - return CreateMemberTaskVariablesBuilder(dataConnect, teamMemberId: teamMemberId,taskId: taskId,); - } - - - DeleteMemberTaskVariablesBuilder deleteMemberTask ({required String teamMemberId, required String taskId, }) { - return DeleteMemberTaskVariablesBuilder(dataConnect, teamMemberId: teamMemberId,taskId: taskId,); - } - - - GetStaffCourseByIdVariablesBuilder getStaffCourseById ({required String id, }) { - return GetStaffCourseByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListStaffCoursesByStaffIdVariablesBuilder listStaffCoursesByStaffId ({required String staffId, }) { - return ListStaffCoursesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - ListStaffCoursesByCourseIdVariablesBuilder listStaffCoursesByCourseId ({required String courseId, }) { - return ListStaffCoursesByCourseIdVariablesBuilder(dataConnect, courseId: courseId,); - } - - - GetStaffCourseByStaffAndCourseVariablesBuilder getStaffCourseByStaffAndCourse ({required String staffId, required String courseId, }) { - return GetStaffCourseByStaffAndCourseVariablesBuilder(dataConnect, staffId: staffId,courseId: courseId,); - } - - - CreateTaskVariablesBuilder createTask ({required String taskName, required TaskPriority priority, required TaskStatus status, required String ownerId, }) { - return CreateTaskVariablesBuilder(dataConnect, taskName: taskName,priority: priority,status: status,ownerId: ownerId,); - } - - - UpdateTaskVariablesBuilder updateTask ({required String id, }) { - return UpdateTaskVariablesBuilder(dataConnect, id: id,); - } - - - DeleteTaskVariablesBuilder deleteTask ({required String id, }) { - return DeleteTaskVariablesBuilder(dataConnect, id: id,); - } - - - ListTasksVariablesBuilder listTasks () { - return ListTasksVariablesBuilder(dataConnect, ); - } - - - GetTaskByIdVariablesBuilder getTaskById ({required String id, }) { - return GetTaskByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetTasksByOwnerIdVariablesBuilder getTasksByOwnerId ({required String ownerId, }) { - return GetTasksByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); - } - - - FilterTasksVariablesBuilder filterTasks () { - return FilterTasksVariablesBuilder(dataConnect, ); - } - - - ListAssignmentsVariablesBuilder listAssignments () { - return ListAssignmentsVariablesBuilder(dataConnect, ); - } - - - GetAssignmentByIdVariablesBuilder getAssignmentById ({required String id, }) { - return GetAssignmentByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListAssignmentsByWorkforceIdVariablesBuilder listAssignmentsByWorkforceId ({required String workforceId, }) { - return ListAssignmentsByWorkforceIdVariablesBuilder(dataConnect, workforceId: workforceId,); - } - - - ListAssignmentsByWorkforceIdsVariablesBuilder listAssignmentsByWorkforceIds ({required List workforceIds, }) { - return ListAssignmentsByWorkforceIdsVariablesBuilder(dataConnect, workforceIds: workforceIds,); - } - - - ListAssignmentsByShiftRoleVariablesBuilder listAssignmentsByShiftRole ({required String shiftId, required String roleId, }) { - return ListAssignmentsByShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,); - } - - - FilterAssignmentsVariablesBuilder filterAssignments ({required List shiftIds, required List roleIds, }) { - return FilterAssignmentsVariablesBuilder(dataConnect, shiftIds: shiftIds,roleIds: roleIds,); - } - - - ListInvoicesVariablesBuilder listInvoices () { - return ListInvoicesVariablesBuilder(dataConnect, ); - } - - - GetInvoiceByIdVariablesBuilder getInvoiceById ({required String id, }) { - return GetInvoiceByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListInvoicesByVendorIdVariablesBuilder listInvoicesByVendorId ({required String vendorId, }) { - return ListInvoicesByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - ListInvoicesByBusinessIdVariablesBuilder listInvoicesByBusinessId ({required String businessId, }) { - return ListInvoicesByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); - } - - - ListInvoicesByOrderIdVariablesBuilder listInvoicesByOrderId ({required String orderId, }) { - return ListInvoicesByOrderIdVariablesBuilder(dataConnect, orderId: orderId,); - } - - - ListInvoicesByStatusVariablesBuilder listInvoicesByStatus ({required InvoiceStatus status, }) { - return ListInvoicesByStatusVariablesBuilder(dataConnect, status: status,); - } - - - FilterInvoicesVariablesBuilder filterInvoices () { - return FilterInvoicesVariablesBuilder(dataConnect, ); - } - - - ListOverdueInvoicesVariablesBuilder listOverdueInvoices ({required Timestamp now, }) { - return ListOverdueInvoicesVariablesBuilder(dataConnect, now: now,); - } - - - ListTaskCommentsVariablesBuilder listTaskComments () { - return ListTaskCommentsVariablesBuilder(dataConnect, ); - } - - - GetTaskCommentByIdVariablesBuilder getTaskCommentById ({required String id, }) { - return GetTaskCommentByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetTaskCommentsByTaskIdVariablesBuilder getTaskCommentsByTaskId ({required String taskId, }) { - return GetTaskCommentsByTaskIdVariablesBuilder(dataConnect, taskId: taskId,); - } - - - CreateVendorBenefitPlanVariablesBuilder createVendorBenefitPlan ({required String vendorId, required String title, }) { - return CreateVendorBenefitPlanVariablesBuilder(dataConnect, vendorId: vendorId,title: title,); - } - - - UpdateVendorBenefitPlanVariablesBuilder updateVendorBenefitPlan ({required String id, }) { - return UpdateVendorBenefitPlanVariablesBuilder(dataConnect, id: id,); - } - - - DeleteVendorBenefitPlanVariablesBuilder deleteVendorBenefitPlan ({required String id, }) { - return DeleteVendorBenefitPlanVariablesBuilder(dataConnect, id: id,); - } - - - ListVendorRatesVariablesBuilder listVendorRates () { - return ListVendorRatesVariablesBuilder(dataConnect, ); - } - - - GetVendorRateByIdVariablesBuilder getVendorRateById ({required String id, }) { - return GetVendorRateByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListApplicationsVariablesBuilder listApplications () { - return ListApplicationsVariablesBuilder(dataConnect, ); - } - - - GetApplicationByIdVariablesBuilder getApplicationById ({required String id, }) { - return GetApplicationByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetApplicationsByShiftIdVariablesBuilder getApplicationsByShiftId ({required String shiftId, }) { - return GetApplicationsByShiftIdVariablesBuilder(dataConnect, shiftId: shiftId,); - } - - - GetApplicationsByShiftIdAndStatusVariablesBuilder getApplicationsByShiftIdAndStatus ({required String shiftId, required ApplicationStatus status, }) { - return GetApplicationsByShiftIdAndStatusVariablesBuilder(dataConnect, shiftId: shiftId,status: status,); - } - - - GetApplicationsByStaffIdVariablesBuilder getApplicationsByStaffId ({required String staffId, }) { - return GetApplicationsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + DeleteConversationVariablesBuilder deleteConversation ({required String id, }) { + return DeleteConversationVariablesBuilder(dataConnect, id: id,); } @@ -3790,118 +2830,48 @@ class ExampleConnector { } - ListRolesVariablesBuilder listRoles () { - return ListRolesVariablesBuilder(dataConnect, ); + CreateAssignmentVariablesBuilder createAssignment ({required String workforceId, required String roleId, required String shiftId, }) { + return CreateAssignmentVariablesBuilder(dataConnect, workforceId: workforceId,roleId: roleId,shiftId: shiftId,); } - GetRoleByIdVariablesBuilder getRoleById ({required String id, }) { - return GetRoleByIdVariablesBuilder(dataConnect, id: id,); + UpdateAssignmentVariablesBuilder updateAssignment ({required String id, required String roleId, required String shiftId, }) { + return UpdateAssignmentVariablesBuilder(dataConnect, id: id,roleId: roleId,shiftId: shiftId,); } - ListRolesByVendorIdVariablesBuilder listRolesByVendorId ({required String vendorId, }) { - return ListRolesByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); + DeleteAssignmentVariablesBuilder deleteAssignment ({required String id, }) { + return DeleteAssignmentVariablesBuilder(dataConnect, id: id,); } - ListRolesByroleCategoryIdVariablesBuilder listRolesByroleCategoryId ({required String roleCategoryId, }) { - return ListRolesByroleCategoryIdVariablesBuilder(dataConnect, roleCategoryId: roleCategoryId,); + CreateAttireOptionVariablesBuilder createAttireOption ({required String itemId, required String label, }) { + return CreateAttireOptionVariablesBuilder(dataConnect, itemId: itemId,label: label,); } - ListStaffVariablesBuilder listStaff () { - return ListStaffVariablesBuilder(dataConnect, ); + UpdateAttireOptionVariablesBuilder updateAttireOption ({required String id, }) { + return UpdateAttireOptionVariablesBuilder(dataConnect, id: id,); } - GetStaffByIdVariablesBuilder getStaffById ({required String id, }) { - return GetStaffByIdVariablesBuilder(dataConnect, id: id,); + DeleteAttireOptionVariablesBuilder deleteAttireOption ({required String id, }) { + return DeleteAttireOptionVariablesBuilder(dataConnect, id: id,); } - GetStaffByUserIdVariablesBuilder getStaffByUserId ({required String userId, }) { - return GetStaffByUserIdVariablesBuilder(dataConnect, userId: userId,); + ListBusinessesVariablesBuilder listBusinesses () { + return ListBusinessesVariablesBuilder(dataConnect, ); } - FilterStaffVariablesBuilder filterStaff () { - return FilterStaffVariablesBuilder(dataConnect, ); + GetBusinessesByUserIdVariablesBuilder getBusinessesByUserId ({required String userId, }) { + return GetBusinessesByUserIdVariablesBuilder(dataConnect, userId: userId,); } - CreateTaskCommentVariablesBuilder createTaskComment ({required String taskId, required String teamMemberId, required String comment, }) { - return CreateTaskCommentVariablesBuilder(dataConnect, taskId: taskId,teamMemberId: teamMemberId,comment: comment,); - } - - - UpdateTaskCommentVariablesBuilder updateTaskComment ({required String id, }) { - return UpdateTaskCommentVariablesBuilder(dataConnect, id: id,); - } - - - DeleteTaskCommentVariablesBuilder deleteTaskComment ({required String id, }) { - return DeleteTaskCommentVariablesBuilder(dataConnect, id: id,); - } - - - ListUserConversationsVariablesBuilder listUserConversations () { - return ListUserConversationsVariablesBuilder(dataConnect, ); - } - - - GetUserConversationByKeyVariablesBuilder getUserConversationByKey ({required String conversationId, required String userId, }) { - return GetUserConversationByKeyVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); - } - - - ListUserConversationsByUserIdVariablesBuilder listUserConversationsByUserId ({required String userId, }) { - return ListUserConversationsByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - ListUnreadUserConversationsByUserIdVariablesBuilder listUnreadUserConversationsByUserId ({required String userId, }) { - return ListUnreadUserConversationsByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - ListUserConversationsByConversationIdVariablesBuilder listUserConversationsByConversationId ({required String conversationId, }) { - return ListUserConversationsByConversationIdVariablesBuilder(dataConnect, conversationId: conversationId,); - } - - - FilterUserConversationsVariablesBuilder filterUserConversations () { - return FilterUserConversationsVariablesBuilder(dataConnect, ); - } - - - ListCertificatesVariablesBuilder listCertificates () { - return ListCertificatesVariablesBuilder(dataConnect, ); - } - - - GetCertificateByIdVariablesBuilder getCertificateById ({required String id, }) { - return GetCertificateByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListCertificatesByStaffIdVariablesBuilder listCertificatesByStaffId ({required String staffId, }) { - return ListCertificatesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - GetMyTasksVariablesBuilder getMyTasks ({required String teamMemberId, }) { - return GetMyTasksVariablesBuilder(dataConnect, teamMemberId: teamMemberId,); - } - - - GetMemberTaskByIdKeyVariablesBuilder getMemberTaskByIdKey ({required String teamMemberId, required String taskId, }) { - return GetMemberTaskByIdKeyVariablesBuilder(dataConnect, teamMemberId: teamMemberId,taskId: taskId,); - } - - - GetMemberTasksByTaskIdVariablesBuilder getMemberTasksByTaskId ({required String taskId, }) { - return GetMemberTasksByTaskIdVariablesBuilder(dataConnect, taskId: taskId,); + GetBusinessByIdVariablesBuilder getBusinessById ({required String id, }) { + return GetBusinessByIdVariablesBuilder(dataConnect, id: id,); } @@ -3945,108 +2915,328 @@ class ExampleConnector { } - CreateTaxFormVariablesBuilder createTaxForm ({required TaxFormType formType, required String title, required String staffId, }) { - return CreateTaxFormVariablesBuilder(dataConnect, formType: formType,title: title,staffId: staffId,); + CreateRoleCategoryVariablesBuilder createRoleCategory ({required String roleName, required RoleCategoryType category, }) { + return CreateRoleCategoryVariablesBuilder(dataConnect, roleName: roleName,category: category,); } - UpdateTaxFormVariablesBuilder updateTaxForm ({required String id, }) { - return UpdateTaxFormVariablesBuilder(dataConnect, id: id,); + UpdateRoleCategoryVariablesBuilder updateRoleCategory ({required String id, }) { + return UpdateRoleCategoryVariablesBuilder(dataConnect, id: id,); } - DeleteTaxFormVariablesBuilder deleteTaxForm ({required String id, }) { - return DeleteTaxFormVariablesBuilder(dataConnect, id: id,); + DeleteRoleCategoryVariablesBuilder deleteRoleCategory ({required String id, }) { + return DeleteRoleCategoryVariablesBuilder(dataConnect, id: id,); } - CreateMessageVariablesBuilder createMessage ({required String conversationId, required String senderId, required String content, }) { - return CreateMessageVariablesBuilder(dataConnect, conversationId: conversationId,senderId: senderId,content: content,); + CreateStaffAvailabilityStatsVariablesBuilder createStaffAvailabilityStats ({required String staffId, }) { + return CreateStaffAvailabilityStatsVariablesBuilder(dataConnect, staffId: staffId,); } - UpdateMessageVariablesBuilder updateMessage ({required String id, }) { - return UpdateMessageVariablesBuilder(dataConnect, id: id,); + UpdateStaffAvailabilityStatsVariablesBuilder updateStaffAvailabilityStats ({required String staffId, }) { + return UpdateStaffAvailabilityStatsVariablesBuilder(dataConnect, staffId: staffId,); } - DeleteMessageVariablesBuilder deleteMessage ({required String id, }) { - return DeleteMessageVariablesBuilder(dataConnect, id: id,); + DeleteStaffAvailabilityStatsVariablesBuilder deleteStaffAvailabilityStats ({required String staffId, }) { + return DeleteStaffAvailabilityStatsVariablesBuilder(dataConnect, staffId: staffId,); } - ListRoleCategoriesVariablesBuilder listRoleCategories () { - return ListRoleCategoriesVariablesBuilder(dataConnect, ); + ListTeamHudDepartmentsVariablesBuilder listTeamHudDepartments () { + return ListTeamHudDepartmentsVariablesBuilder(dataConnect, ); } - GetRoleCategoryByIdVariablesBuilder getRoleCategoryById ({required String id, }) { - return GetRoleCategoryByIdVariablesBuilder(dataConnect, id: id,); + GetTeamHudDepartmentByIdVariablesBuilder getTeamHudDepartmentById ({required String id, }) { + return GetTeamHudDepartmentByIdVariablesBuilder(dataConnect, id: id,); } - GetRoleCategoriesByCategoryVariablesBuilder getRoleCategoriesByCategory ({required RoleCategoryType category, }) { - return GetRoleCategoriesByCategoryVariablesBuilder(dataConnect, category: category,); + ListTeamHudDepartmentsByTeamHubIdVariablesBuilder listTeamHudDepartmentsByTeamHubId ({required String teamHubId, }) { + return ListTeamHudDepartmentsByTeamHubIdVariablesBuilder(dataConnect, teamHubId: teamHubId,); } - CreateApplicationVariablesBuilder createApplication ({required String shiftId, required String staffId, required ApplicationStatus status, required ApplicationOrigin origin, required String roleId, }) { - return CreateApplicationVariablesBuilder(dataConnect, shiftId: shiftId,staffId: staffId,status: status,origin: origin,roleId: roleId,); + CreateUserVariablesBuilder createUser ({required String id, required UserBaseRole role, }) { + return CreateUserVariablesBuilder(dataConnect, id: id,role: role,); } - UpdateApplicationStatusVariablesBuilder updateApplicationStatus ({required String id, required String roleId, }) { - return UpdateApplicationStatusVariablesBuilder(dataConnect, id: id,roleId: roleId,); + UpdateUserVariablesBuilder updateUser ({required String id, }) { + return UpdateUserVariablesBuilder(dataConnect, id: id,); } - DeleteApplicationVariablesBuilder deleteApplication ({required String id, }) { - return DeleteApplicationVariablesBuilder(dataConnect, id: id,); + DeleteUserVariablesBuilder deleteUser ({required String id, }) { + return DeleteUserVariablesBuilder(dataConnect, id: id,); } - CreateAssignmentVariablesBuilder createAssignment ({required String workforceId, required String roleId, required String shiftId, }) { - return CreateAssignmentVariablesBuilder(dataConnect, workforceId: workforceId,roleId: roleId,shiftId: shiftId,); + CreateCategoryVariablesBuilder createCategory ({required String categoryId, required String label, }) { + return CreateCategoryVariablesBuilder(dataConnect, categoryId: categoryId,label: label,); } - UpdateAssignmentVariablesBuilder updateAssignment ({required String id, required String roleId, required String shiftId, }) { - return UpdateAssignmentVariablesBuilder(dataConnect, id: id,roleId: roleId,shiftId: shiftId,); + UpdateCategoryVariablesBuilder updateCategory ({required String id, }) { + return UpdateCategoryVariablesBuilder(dataConnect, id: id,); } - DeleteAssignmentVariablesBuilder deleteAssignment ({required String id, }) { - return DeleteAssignmentVariablesBuilder(dataConnect, id: id,); + DeleteCategoryVariablesBuilder deleteCategory ({required String id, }) { + return DeleteCategoryVariablesBuilder(dataConnect, id: id,); } - CreateBenefitsDataVariablesBuilder createBenefitsData ({required String vendorBenefitPlanId, required String staffId, required int current, }) { - return CreateBenefitsDataVariablesBuilder(dataConnect, vendorBenefitPlanId: vendorBenefitPlanId,staffId: staffId,current: current,); + CreateInvoiceVariablesBuilder createInvoice ({required InvoiceStatus status, required String vendorId, required String businessId, required String orderId, required String invoiceNumber, required Timestamp issueDate, required Timestamp dueDate, required double amount, }) { + return CreateInvoiceVariablesBuilder(dataConnect, status: status,vendorId: vendorId,businessId: businessId,orderId: orderId,invoiceNumber: invoiceNumber,issueDate: issueDate,dueDate: dueDate,amount: amount,); } - UpdateBenefitsDataVariablesBuilder updateBenefitsData ({required String staffId, required String vendorBenefitPlanId, }) { - return UpdateBenefitsDataVariablesBuilder(dataConnect, staffId: staffId,vendorBenefitPlanId: vendorBenefitPlanId,); + UpdateInvoiceVariablesBuilder updateInvoice ({required String id, }) { + return UpdateInvoiceVariablesBuilder(dataConnect, id: id,); } - DeleteBenefitsDataVariablesBuilder deleteBenefitsData ({required String staffId, required String vendorBenefitPlanId, }) { - return DeleteBenefitsDataVariablesBuilder(dataConnect, staffId: staffId,vendorBenefitPlanId: vendorBenefitPlanId,); + DeleteInvoiceVariablesBuilder deleteInvoice ({required String id, }) { + return DeleteInvoiceVariablesBuilder(dataConnect, id: id,); } - ListUsersVariablesBuilder listUsers () { - return ListUsersVariablesBuilder(dataConnect, ); + ListStaffVariablesBuilder listStaff () { + return ListStaffVariablesBuilder(dataConnect, ); } - GetUserByIdVariablesBuilder getUserById ({required String id, }) { - return GetUserByIdVariablesBuilder(dataConnect, id: id,); + GetStaffByIdVariablesBuilder getStaffById ({required String id, }) { + return GetStaffByIdVariablesBuilder(dataConnect, id: id,); } - FilterUsersVariablesBuilder filterUsers () { - return FilterUsersVariablesBuilder(dataConnect, ); + GetStaffByUserIdVariablesBuilder getStaffByUserId ({required String userId, }) { + return GetStaffByUserIdVariablesBuilder(dataConnect, userId: userId,); + } + + + FilterStaffVariablesBuilder filterStaff () { + return FilterStaffVariablesBuilder(dataConnect, ); + } + + + GetStaffDocumentByKeyVariablesBuilder getStaffDocumentByKey ({required String staffId, required String documentId, }) { + return GetStaffDocumentByKeyVariablesBuilder(dataConnect, staffId: staffId,documentId: documentId,); + } + + + ListStaffDocumentsByStaffIdVariablesBuilder listStaffDocumentsByStaffId ({required String staffId, }) { + return ListStaffDocumentsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + ListStaffDocumentsByDocumentTypeVariablesBuilder listStaffDocumentsByDocumentType ({required DocumentType documentType, }) { + return ListStaffDocumentsByDocumentTypeVariablesBuilder(dataConnect, documentType: documentType,); + } + + + ListStaffDocumentsByStatusVariablesBuilder listStaffDocumentsByStatus ({required DocumentStatus status, }) { + return ListStaffDocumentsByStatusVariablesBuilder(dataConnect, status: status,); + } + + + ListVendorBenefitPlansVariablesBuilder listVendorBenefitPlans () { + return ListVendorBenefitPlansVariablesBuilder(dataConnect, ); + } + + + GetVendorBenefitPlanByIdVariablesBuilder getVendorBenefitPlanById ({required String id, }) { + return GetVendorBenefitPlanByIdVariablesBuilder(dataConnect, id: id,); + } + + + ListVendorBenefitPlansByVendorIdVariablesBuilder listVendorBenefitPlansByVendorId ({required String vendorId, }) { + return ListVendorBenefitPlansByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); + } + + + ListActiveVendorBenefitPlansByVendorIdVariablesBuilder listActiveVendorBenefitPlansByVendorId ({required String vendorId, }) { + return ListActiveVendorBenefitPlansByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); + } + + + FilterVendorBenefitPlansVariablesBuilder filterVendorBenefitPlans () { + return FilterVendorBenefitPlansVariablesBuilder(dataConnect, ); + } + + + CreateWorkforceVariablesBuilder createWorkforce ({required String vendorId, required String staffId, required String workforceNumber, }) { + return CreateWorkforceVariablesBuilder(dataConnect, vendorId: vendorId,staffId: staffId,workforceNumber: workforceNumber,); + } + + + UpdateWorkforceVariablesBuilder updateWorkforce ({required String id, }) { + return UpdateWorkforceVariablesBuilder(dataConnect, id: id,); + } + + + DeactivateWorkforceVariablesBuilder deactivateWorkforce ({required String id, }) { + return DeactivateWorkforceVariablesBuilder(dataConnect, id: id,); + } + + + CreateClientFeedbackVariablesBuilder createClientFeedback ({required String businessId, required String vendorId, }) { + return CreateClientFeedbackVariablesBuilder(dataConnect, businessId: businessId,vendorId: vendorId,); + } + + + UpdateClientFeedbackVariablesBuilder updateClientFeedback ({required String id, }) { + return UpdateClientFeedbackVariablesBuilder(dataConnect, id: id,); + } + + + DeleteClientFeedbackVariablesBuilder deleteClientFeedback ({required String id, }) { + return DeleteClientFeedbackVariablesBuilder(dataConnect, id: id,); + } + + + ListLevelsVariablesBuilder listLevels () { + return ListLevelsVariablesBuilder(dataConnect, ); + } + + + GetLevelByIdVariablesBuilder getLevelById ({required String id, }) { + return GetLevelByIdVariablesBuilder(dataConnect, id: id,); + } + + + FilterLevelsVariablesBuilder filterLevels () { + return FilterLevelsVariablesBuilder(dataConnect, ); + } + + + CreateShiftVariablesBuilder createShift ({required String title, required String orderId, }) { + return CreateShiftVariablesBuilder(dataConnect, title: title,orderId: orderId,); + } + + + UpdateShiftVariablesBuilder updateShift ({required String id, }) { + return UpdateShiftVariablesBuilder(dataConnect, id: id,); + } + + + DeleteShiftVariablesBuilder deleteShift ({required String id, }) { + return DeleteShiftVariablesBuilder(dataConnect, id: id,); + } + + + CreateShiftRoleVariablesBuilder createShiftRole ({required String shiftId, required String roleId, required int count, }) { + return CreateShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,count: count,); + } + + + UpdateShiftRoleVariablesBuilder updateShiftRole ({required String shiftId, required String roleId, }) { + return UpdateShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,); + } + + + DeleteShiftRoleVariablesBuilder deleteShiftRole ({required String shiftId, required String roleId, }) { + return DeleteShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,); + } + + + CreateStaffVariablesBuilder createStaff ({required String userId, required String fullName, }) { + return CreateStaffVariablesBuilder(dataConnect, userId: userId,fullName: fullName,); + } + + + UpdateStaffVariablesBuilder updateStaff ({required String id, }) { + return UpdateStaffVariablesBuilder(dataConnect, id: id,); + } + + + DeleteStaffVariablesBuilder deleteStaff ({required String id, }) { + return DeleteStaffVariablesBuilder(dataConnect, id: id,); + } + + + CreateTaskVariablesBuilder createTask ({required String taskName, required TaskPriority priority, required TaskStatus status, required String ownerId, }) { + return CreateTaskVariablesBuilder(dataConnect, taskName: taskName,priority: priority,status: status,ownerId: ownerId,); + } + + + UpdateTaskVariablesBuilder updateTask ({required String id, }) { + return UpdateTaskVariablesBuilder(dataConnect, id: id,); + } + + + DeleteTaskVariablesBuilder deleteTask ({required String id, }) { + return DeleteTaskVariablesBuilder(dataConnect, id: id,); + } + + + CreateTeamMemberVariablesBuilder createTeamMember ({required String teamId, required TeamMemberRole role, required String userId, }) { + return CreateTeamMemberVariablesBuilder(dataConnect, teamId: teamId,role: role,userId: userId,); + } + + + UpdateTeamMemberVariablesBuilder updateTeamMember ({required String id, }) { + return UpdateTeamMemberVariablesBuilder(dataConnect, id: id,); + } + + + UpdateTeamMemberInviteStatusVariablesBuilder updateTeamMemberInviteStatus ({required String id, required TeamMemberInviteStatus inviteStatus, }) { + return UpdateTeamMemberInviteStatusVariablesBuilder(dataConnect, id: id,inviteStatus: inviteStatus,); + } + + + AcceptInviteByCodeVariablesBuilder acceptInviteByCode ({required String inviteCode, }) { + return AcceptInviteByCodeVariablesBuilder(dataConnect, inviteCode: inviteCode,); + } + + + CancelInviteByCodeVariablesBuilder cancelInviteByCode ({required String inviteCode, }) { + return CancelInviteByCodeVariablesBuilder(dataConnect, inviteCode: inviteCode,); + } + + + DeleteTeamMemberVariablesBuilder deleteTeamMember ({required String id, }) { + return DeleteTeamMemberVariablesBuilder(dataConnect, id: id,); + } + + + ListAccountsVariablesBuilder listAccounts () { + return ListAccountsVariablesBuilder(dataConnect, ); + } + + + GetAccountByIdVariablesBuilder getAccountById ({required String id, }) { + return GetAccountByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetAccountsByOwnerIdVariablesBuilder getAccountsByOwnerId ({required String ownerId, }) { + return GetAccountsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); + } + + + FilterAccountsVariablesBuilder filterAccounts () { + return FilterAccountsVariablesBuilder(dataConnect, ); + } + + + ListCategoriesVariablesBuilder listCategories () { + return ListCategoriesVariablesBuilder(dataConnect, ); + } + + + GetCategoryByIdVariablesBuilder getCategoryById ({required String id, }) { + return GetCategoryByIdVariablesBuilder(dataConnect, id: id,); + } + + + FilterCategoriesVariablesBuilder filterCategories () { + return FilterCategoriesVariablesBuilder(dataConnect, ); } @@ -4085,108 +3275,143 @@ class ExampleConnector { } - CreateCustomRateCardVariablesBuilder createCustomRateCard ({required String name, }) { - return CreateCustomRateCardVariablesBuilder(dataConnect, name: name,); + GetMyTasksVariablesBuilder getMyTasks ({required String teamMemberId, }) { + return GetMyTasksVariablesBuilder(dataConnect, teamMemberId: teamMemberId,); } - UpdateCustomRateCardVariablesBuilder updateCustomRateCard ({required String id, }) { - return UpdateCustomRateCardVariablesBuilder(dataConnect, id: id,); + GetMemberTaskByIdKeyVariablesBuilder getMemberTaskByIdKey ({required String teamMemberId, required String taskId, }) { + return GetMemberTaskByIdKeyVariablesBuilder(dataConnect, teamMemberId: teamMemberId,taskId: taskId,); } - DeleteCustomRateCardVariablesBuilder deleteCustomRateCard ({required String id, }) { - return DeleteCustomRateCardVariablesBuilder(dataConnect, id: id,); + GetMemberTasksByTaskIdVariablesBuilder getMemberTasksByTaskId ({required String taskId, }) { + return GetMemberTasksByTaskIdVariablesBuilder(dataConnect, taskId: taskId,); } - CreateRoleCategoryVariablesBuilder createRoleCategory ({required String roleName, required RoleCategoryType category, }) { - return CreateRoleCategoryVariablesBuilder(dataConnect, roleName: roleName,category: category,); + CreateTeamVariablesBuilder createTeam ({required String teamName, required String ownerId, required String ownerName, required String ownerRole, }) { + return CreateTeamVariablesBuilder(dataConnect, teamName: teamName,ownerId: ownerId,ownerName: ownerName,ownerRole: ownerRole,); } - UpdateRoleCategoryVariablesBuilder updateRoleCategory ({required String id, }) { - return UpdateRoleCategoryVariablesBuilder(dataConnect, id: id,); + UpdateTeamVariablesBuilder updateTeam ({required String id, }) { + return UpdateTeamVariablesBuilder(dataConnect, id: id,); } - DeleteRoleCategoryVariablesBuilder deleteRoleCategory ({required String id, }) { - return DeleteRoleCategoryVariablesBuilder(dataConnect, id: id,); + DeleteTeamVariablesBuilder deleteTeam ({required String id, }) { + return DeleteTeamVariablesBuilder(dataConnect, id: id,); } - CreateStaffCourseVariablesBuilder createStaffCourse ({required String staffId, required String courseId, }) { - return CreateStaffCourseVariablesBuilder(dataConnect, staffId: staffId,courseId: courseId,); + CreateBenefitsDataVariablesBuilder createBenefitsData ({required String vendorBenefitPlanId, required String staffId, required int current, }) { + return CreateBenefitsDataVariablesBuilder(dataConnect, vendorBenefitPlanId: vendorBenefitPlanId,staffId: staffId,current: current,); } - UpdateStaffCourseVariablesBuilder updateStaffCourse ({required String id, }) { - return UpdateStaffCourseVariablesBuilder(dataConnect, id: id,); + UpdateBenefitsDataVariablesBuilder updateBenefitsData ({required String staffId, required String vendorBenefitPlanId, }) { + return UpdateBenefitsDataVariablesBuilder(dataConnect, staffId: staffId,vendorBenefitPlanId: vendorBenefitPlanId,); } - DeleteStaffCourseVariablesBuilder deleteStaffCourse ({required String id, }) { - return DeleteStaffCourseVariablesBuilder(dataConnect, id: id,); + DeleteBenefitsDataVariablesBuilder deleteBenefitsData ({required String staffId, required String vendorBenefitPlanId, }) { + return DeleteBenefitsDataVariablesBuilder(dataConnect, staffId: staffId,vendorBenefitPlanId: vendorBenefitPlanId,); } - ListStaffRolesVariablesBuilder listStaffRoles () { - return ListStaffRolesVariablesBuilder(dataConnect, ); + ListFaqDatasVariablesBuilder listFaqDatas () { + return ListFaqDatasVariablesBuilder(dataConnect, ); } - GetStaffRoleByKeyVariablesBuilder getStaffRoleByKey ({required String staffId, required String roleId, }) { - return GetStaffRoleByKeyVariablesBuilder(dataConnect, staffId: staffId,roleId: roleId,); + GetFaqDataByIdVariablesBuilder getFaqDataById ({required String id, }) { + return GetFaqDataByIdVariablesBuilder(dataConnect, id: id,); } - ListStaffRolesByStaffIdVariablesBuilder listStaffRolesByStaffId ({required String staffId, }) { - return ListStaffRolesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + FilterFaqDatasVariablesBuilder filterFaqDatas () { + return FilterFaqDatasVariablesBuilder(dataConnect, ); } - ListStaffRolesByRoleIdVariablesBuilder listStaffRolesByRoleId ({required String roleId, }) { - return ListStaffRolesByRoleIdVariablesBuilder(dataConnect, roleId: roleId,); + CreateOrderVariablesBuilder createOrder ({required String vendorId, required String businessId, required OrderType orderType, }) { + return CreateOrderVariablesBuilder(dataConnect, vendorId: vendorId,businessId: businessId,orderType: orderType,); } - FilterStaffRolesVariablesBuilder filterStaffRoles () { - return FilterStaffRolesVariablesBuilder(dataConnect, ); + UpdateOrderVariablesBuilder updateOrder ({required String id, }) { + return UpdateOrderVariablesBuilder(dataConnect, id: id,); } - CreateAccountVariablesBuilder createAccount ({required String bank, required AccountType type, required String last4, required String ownerId, }) { - return CreateAccountVariablesBuilder(dataConnect, bank: bank,type: type,last4: last4,ownerId: ownerId,); + DeleteOrderVariablesBuilder deleteOrder ({required String id, }) { + return DeleteOrderVariablesBuilder(dataConnect, id: id,); } - UpdateAccountVariablesBuilder updateAccount ({required String id, }) { - return UpdateAccountVariablesBuilder(dataConnect, id: id,); + CreateStaffDocumentVariablesBuilder createStaffDocument ({required String staffId, required String staffName, required String documentId, required DocumentStatus status, }) { + return CreateStaffDocumentVariablesBuilder(dataConnect, staffId: staffId,staffName: staffName,documentId: documentId,status: status,); } - DeleteAccountVariablesBuilder deleteAccount ({required String id, }) { - return DeleteAccountVariablesBuilder(dataConnect, id: id,); + UpdateStaffDocumentVariablesBuilder updateStaffDocument ({required String staffId, required String documentId, }) { + return UpdateStaffDocumentVariablesBuilder(dataConnect, staffId: staffId,documentId: documentId,); } - ListAccountsVariablesBuilder listAccounts () { - return ListAccountsVariablesBuilder(dataConnect, ); + DeleteStaffDocumentVariablesBuilder deleteStaffDocument ({required String staffId, required String documentId, }) { + return DeleteStaffDocumentVariablesBuilder(dataConnect, staffId: staffId,documentId: documentId,); } - GetAccountByIdVariablesBuilder getAccountById ({required String id, }) { - return GetAccountByIdVariablesBuilder(dataConnect, id: id,); + ListApplicationsVariablesBuilder listApplications () { + return ListApplicationsVariablesBuilder(dataConnect, ); } - GetAccountsByOwnerIdVariablesBuilder getAccountsByOwnerId ({required String ownerId, }) { - return GetAccountsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); + GetApplicationByIdVariablesBuilder getApplicationById ({required String id, }) { + return GetApplicationByIdVariablesBuilder(dataConnect, id: id,); } - FilterAccountsVariablesBuilder filterAccounts () { - return FilterAccountsVariablesBuilder(dataConnect, ); + GetApplicationsByShiftIdVariablesBuilder getApplicationsByShiftId ({required String shiftId, }) { + return GetApplicationsByShiftIdVariablesBuilder(dataConnect, shiftId: shiftId,); + } + + + GetApplicationsByShiftIdAndStatusVariablesBuilder getApplicationsByShiftIdAndStatus ({required String shiftId, required ApplicationStatus status, }) { + return GetApplicationsByShiftIdAndStatusVariablesBuilder(dataConnect, shiftId: shiftId,status: status,); + } + + + GetApplicationsByStaffIdVariablesBuilder getApplicationsByStaffId ({required String staffId, }) { + return GetApplicationsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + ListConversationsVariablesBuilder listConversations () { + return ListConversationsVariablesBuilder(dataConnect, ); + } + + + GetConversationByIdVariablesBuilder getConversationById ({required String id, }) { + return GetConversationByIdVariablesBuilder(dataConnect, id: id,); + } + + + ListConversationsByTypeVariablesBuilder listConversationsByType ({required ConversationType conversationType, }) { + return ListConversationsByTypeVariablesBuilder(dataConnect, conversationType: conversationType,); + } + + + ListConversationsByStatusVariablesBuilder listConversationsByStatus ({required ConversationStatus status, }) { + return ListConversationsByStatusVariablesBuilder(dataConnect, status: status,); + } + + + FilterConversationsVariablesBuilder filterConversations () { + return FilterConversationsVariablesBuilder(dataConnect, ); } @@ -4205,68 +3430,43 @@ class ExampleConnector { } - CreateEmergencyContactVariablesBuilder createEmergencyContact ({required String name, required String phone, required RelationshipType relationship, required String staffId, }) { - return CreateEmergencyContactVariablesBuilder(dataConnect, name: name,phone: phone,relationship: relationship,staffId: staffId,); + ListInvoicesVariablesBuilder listInvoices () { + return ListInvoicesVariablesBuilder(dataConnect, ); } - UpdateEmergencyContactVariablesBuilder updateEmergencyContact ({required String id, }) { - return UpdateEmergencyContactVariablesBuilder(dataConnect, id: id,); + GetInvoiceByIdVariablesBuilder getInvoiceById ({required String id, }) { + return GetInvoiceByIdVariablesBuilder(dataConnect, id: id,); } - DeleteEmergencyContactVariablesBuilder deleteEmergencyContact ({required String id, }) { - return DeleteEmergencyContactVariablesBuilder(dataConnect, id: id,); + ListInvoicesByVendorIdVariablesBuilder listInvoicesByVendorId ({required String vendorId, }) { + return ListInvoicesByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); } - CreateInvoiceTemplateVariablesBuilder createInvoiceTemplate ({required String name, required String ownerId, }) { - return CreateInvoiceTemplateVariablesBuilder(dataConnect, name: name,ownerId: ownerId,); + ListInvoicesByBusinessIdVariablesBuilder listInvoicesByBusinessId ({required String businessId, }) { + return ListInvoicesByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); } - UpdateInvoiceTemplateVariablesBuilder updateInvoiceTemplate ({required String id, }) { - return UpdateInvoiceTemplateVariablesBuilder(dataConnect, id: id,); + ListInvoicesByOrderIdVariablesBuilder listInvoicesByOrderId ({required String orderId, }) { + return ListInvoicesByOrderIdVariablesBuilder(dataConnect, orderId: orderId,); } - DeleteInvoiceTemplateVariablesBuilder deleteInvoiceTemplate ({required String id, }) { - return DeleteInvoiceTemplateVariablesBuilder(dataConnect, id: id,); + ListInvoicesByStatusVariablesBuilder listInvoicesByStatus ({required InvoiceStatus status, }) { + return ListInvoicesByStatusVariablesBuilder(dataConnect, status: status,); } - ListOrdersVariablesBuilder listOrders () { - return ListOrdersVariablesBuilder(dataConnect, ); + FilterInvoicesVariablesBuilder filterInvoices () { + return FilterInvoicesVariablesBuilder(dataConnect, ); } - GetOrderByIdVariablesBuilder getOrderById ({required String id, }) { - return GetOrderByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetOrdersByBusinessIdVariablesBuilder getOrdersByBusinessId ({required String businessId, }) { - return GetOrdersByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); - } - - - GetOrdersByVendorIdVariablesBuilder getOrdersByVendorId ({required String vendorId, }) { - return GetOrdersByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - GetOrdersByStatusVariablesBuilder getOrdersByStatus ({required OrderStatus status, }) { - return GetOrdersByStatusVariablesBuilder(dataConnect, status: status,); - } - - - GetOrdersByDateRangeVariablesBuilder getOrdersByDateRange ({required Timestamp start, required Timestamp end, }) { - return GetOrdersByDateRangeVariablesBuilder(dataConnect, start: start,end: end,); - } - - - GetRapidOrdersVariablesBuilder getRapidOrders () { - return GetRapidOrdersVariablesBuilder(dataConnect, ); + ListOverdueInvoicesVariablesBuilder listOverdueInvoices ({required Timestamp now, }) { + return ListOverdueInvoicesVariablesBuilder(dataConnect, now: now,); } @@ -4365,18 +3565,743 @@ class ExampleConnector { } - CreateRoleVariablesBuilder createRole ({required String name, required double costPerHour, required String vendorId, required String roleCategoryId, }) { - return CreateRoleVariablesBuilder(dataConnect, name: name,costPerHour: costPerHour,vendorId: vendorId,roleCategoryId: roleCategoryId,); + ListRolesVariablesBuilder listRoles () { + return ListRolesVariablesBuilder(dataConnect, ); } - UpdateRoleVariablesBuilder updateRole ({required String id, required String roleCategoryId, }) { - return UpdateRoleVariablesBuilder(dataConnect, id: id,roleCategoryId: roleCategoryId,); + GetRoleByIdVariablesBuilder getRoleById ({required String id, }) { + return GetRoleByIdVariablesBuilder(dataConnect, id: id,); } - DeleteRoleVariablesBuilder deleteRole ({required String id, }) { - return DeleteRoleVariablesBuilder(dataConnect, id: id,); + ListRolesByVendorIdVariablesBuilder listRolesByVendorId ({required String vendorId, }) { + return ListRolesByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); + } + + + ListRolesByroleCategoryIdVariablesBuilder listRolesByroleCategoryId ({required String roleCategoryId, }) { + return ListRolesByroleCategoryIdVariablesBuilder(dataConnect, roleCategoryId: roleCategoryId,); + } + + + CreateStaffRoleVariablesBuilder createStaffRole ({required String staffId, required String roleId, }) { + return CreateStaffRoleVariablesBuilder(dataConnect, staffId: staffId,roleId: roleId,); + } + + + DeleteStaffRoleVariablesBuilder deleteStaffRole ({required String staffId, required String roleId, }) { + return DeleteStaffRoleVariablesBuilder(dataConnect, staffId: staffId,roleId: roleId,); + } + + + ListTaxFormsVariablesBuilder listTaxForms () { + return ListTaxFormsVariablesBuilder(dataConnect, ); + } + + + GetTaxFormByIdVariablesBuilder getTaxFormById ({required String id, }) { + return GetTaxFormByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetTaxFormsBystaffIdVariablesBuilder getTaxFormsBystaffId ({required String staffId, }) { + return GetTaxFormsBystaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + FilterTaxFormsVariablesBuilder filterTaxForms () { + return FilterTaxFormsVariablesBuilder(dataConnect, ); + } + + + ListCertificatesVariablesBuilder listCertificates () { + return ListCertificatesVariablesBuilder(dataConnect, ); + } + + + GetCertificateByIdVariablesBuilder getCertificateById ({required String id, }) { + return GetCertificateByIdVariablesBuilder(dataConnect, id: id,); + } + + + ListCertificatesByStaffIdVariablesBuilder listCertificatesByStaffId ({required String staffId, }) { + return ListCertificatesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + ListTeamMembersVariablesBuilder listTeamMembers () { + return ListTeamMembersVariablesBuilder(dataConnect, ); + } + + + GetTeamMemberByIdVariablesBuilder getTeamMemberById ({required String id, }) { + return GetTeamMemberByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetTeamMembersByTeamIdVariablesBuilder getTeamMembersByTeamId ({required String teamId, }) { + return GetTeamMembersByTeamIdVariablesBuilder(dataConnect, teamId: teamId,); + } + + + CreateUserConversationVariablesBuilder createUserConversation ({required String conversationId, required String userId, }) { + return CreateUserConversationVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); + } + + + UpdateUserConversationVariablesBuilder updateUserConversation ({required String conversationId, required String userId, }) { + return UpdateUserConversationVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); + } + + + MarkConversationAsReadVariablesBuilder markConversationAsRead ({required String conversationId, required String userId, }) { + return MarkConversationAsReadVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); + } + + + IncrementUnreadForUserVariablesBuilder incrementUnreadForUser ({required String conversationId, required String userId, required int unreadCount, }) { + return IncrementUnreadForUserVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,unreadCount: unreadCount,); + } + + + DeleteUserConversationVariablesBuilder deleteUserConversation ({required String conversationId, required String userId, }) { + return DeleteUserConversationVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); + } + + + ListUserConversationsVariablesBuilder listUserConversations () { + return ListUserConversationsVariablesBuilder(dataConnect, ); + } + + + GetUserConversationByKeyVariablesBuilder getUserConversationByKey ({required String conversationId, required String userId, }) { + return GetUserConversationByKeyVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); + } + + + ListUserConversationsByUserIdVariablesBuilder listUserConversationsByUserId ({required String userId, }) { + return ListUserConversationsByUserIdVariablesBuilder(dataConnect, userId: userId,); + } + + + ListUnreadUserConversationsByUserIdVariablesBuilder listUnreadUserConversationsByUserId ({required String userId, }) { + return ListUnreadUserConversationsByUserIdVariablesBuilder(dataConnect, userId: userId,); + } + + + ListUserConversationsByConversationIdVariablesBuilder listUserConversationsByConversationId ({required String conversationId, }) { + return ListUserConversationsByConversationIdVariablesBuilder(dataConnect, conversationId: conversationId,); + } + + + FilterUserConversationsVariablesBuilder filterUserConversations () { + return FilterUserConversationsVariablesBuilder(dataConnect, ); + } + + + ListDocumentsVariablesBuilder listDocuments () { + return ListDocumentsVariablesBuilder(dataConnect, ); + } + + + GetDocumentByIdVariablesBuilder getDocumentById ({required String id, }) { + return GetDocumentByIdVariablesBuilder(dataConnect, id: id,); + } + + + FilterDocumentsVariablesBuilder filterDocuments () { + return FilterDocumentsVariablesBuilder(dataConnect, ); + } + + + CreateAccountVariablesBuilder createAccount ({required String bank, required AccountType type, required String last4, required String ownerId, }) { + return CreateAccountVariablesBuilder(dataConnect, bank: bank,type: type,last4: last4,ownerId: ownerId,); + } + + + UpdateAccountVariablesBuilder updateAccount ({required String id, }) { + return UpdateAccountVariablesBuilder(dataConnect, id: id,); + } + + + DeleteAccountVariablesBuilder deleteAccount ({required String id, }) { + return DeleteAccountVariablesBuilder(dataConnect, id: id,); + } + + + CreateInvoiceTemplateVariablesBuilder createInvoiceTemplate ({required String name, required String ownerId, }) { + return CreateInvoiceTemplateVariablesBuilder(dataConnect, name: name,ownerId: ownerId,); + } + + + UpdateInvoiceTemplateVariablesBuilder updateInvoiceTemplate ({required String id, }) { + return UpdateInvoiceTemplateVariablesBuilder(dataConnect, id: id,); + } + + + DeleteInvoiceTemplateVariablesBuilder deleteInvoiceTemplate ({required String id, }) { + return DeleteInvoiceTemplateVariablesBuilder(dataConnect, id: id,); + } + + + CreateMemberTaskVariablesBuilder createMemberTask ({required String teamMemberId, required String taskId, }) { + return CreateMemberTaskVariablesBuilder(dataConnect, teamMemberId: teamMemberId,taskId: taskId,); + } + + + DeleteMemberTaskVariablesBuilder deleteMemberTask ({required String teamMemberId, required String taskId, }) { + return DeleteMemberTaskVariablesBuilder(dataConnect, teamMemberId: teamMemberId,taskId: taskId,); + } + + + CreateMessageVariablesBuilder createMessage ({required String conversationId, required String senderId, required String content, }) { + return CreateMessageVariablesBuilder(dataConnect, conversationId: conversationId,senderId: senderId,content: content,); + } + + + UpdateMessageVariablesBuilder updateMessage ({required String id, }) { + return UpdateMessageVariablesBuilder(dataConnect, id: id,); + } + + + DeleteMessageVariablesBuilder deleteMessage ({required String id, }) { + return DeleteMessageVariablesBuilder(dataConnect, id: id,); + } + + + ListTaskCommentsVariablesBuilder listTaskComments () { + return ListTaskCommentsVariablesBuilder(dataConnect, ); + } + + + GetTaskCommentByIdVariablesBuilder getTaskCommentById ({required String id, }) { + return GetTaskCommentByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetTaskCommentsByTaskIdVariablesBuilder getTaskCommentsByTaskId ({required String taskId, }) { + return GetTaskCommentsByTaskIdVariablesBuilder(dataConnect, taskId: taskId,); + } + + + ListTeamsVariablesBuilder listTeams () { + return ListTeamsVariablesBuilder(dataConnect, ); + } + + + GetTeamByIdVariablesBuilder getTeamById ({required String id, }) { + return GetTeamByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetTeamsByOwnerIdVariablesBuilder getTeamsByOwnerId ({required String ownerId, }) { + return GetTeamsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); + } + + + GetWorkforceByIdVariablesBuilder getWorkforceById ({required String id, }) { + return GetWorkforceByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetWorkforceByVendorAndStaffVariablesBuilder getWorkforceByVendorAndStaff ({required String vendorId, required String staffId, }) { + return GetWorkforceByVendorAndStaffVariablesBuilder(dataConnect, vendorId: vendorId,staffId: staffId,); + } + + + ListWorkforceByVendorIdVariablesBuilder listWorkforceByVendorId ({required String vendorId, }) { + return ListWorkforceByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); + } + + + ListWorkforceByStaffIdVariablesBuilder listWorkforceByStaffId ({required String staffId, }) { + return ListWorkforceByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + GetWorkforceByVendorAndNumberVariablesBuilder getWorkforceByVendorAndNumber ({required String vendorId, required String workforceNumber, }) { + return GetWorkforceByVendorAndNumberVariablesBuilder(dataConnect, vendorId: vendorId,workforceNumber: workforceNumber,); + } + + + CreateActivityLogVariablesBuilder createActivityLog ({required String userId, required Timestamp date, required String title, required String description, required ActivityType activityType, }) { + return CreateActivityLogVariablesBuilder(dataConnect, userId: userId,date: date,title: title,description: description,activityType: activityType,); + } + + + UpdateActivityLogVariablesBuilder updateActivityLog ({required String id, }) { + return UpdateActivityLogVariablesBuilder(dataConnect, id: id,); + } + + + MarkActivityLogAsReadVariablesBuilder markActivityLogAsRead ({required String id, }) { + return MarkActivityLogAsReadVariablesBuilder(dataConnect, id: id,); + } + + + MarkActivityLogsAsReadVariablesBuilder markActivityLogsAsRead ({required List ids, }) { + return MarkActivityLogsAsReadVariablesBuilder(dataConnect, ids: ids,); + } + + + DeleteActivityLogVariablesBuilder deleteActivityLog ({required String id, }) { + return DeleteActivityLogVariablesBuilder(dataConnect, id: id,); + } + + + CreateHubVariablesBuilder createHub ({required String name, required String ownerId, }) { + return CreateHubVariablesBuilder(dataConnect, name: name,ownerId: ownerId,); + } + + + UpdateHubVariablesBuilder updateHub ({required String id, }) { + return UpdateHubVariablesBuilder(dataConnect, id: id,); + } + + + DeleteHubVariablesBuilder deleteHub ({required String id, }) { + return DeleteHubVariablesBuilder(dataConnect, id: id,); + } + + + ListHubsVariablesBuilder listHubs () { + return ListHubsVariablesBuilder(dataConnect, ); + } + + + GetHubByIdVariablesBuilder getHubById ({required String id, }) { + return GetHubByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetHubsByOwnerIdVariablesBuilder getHubsByOwnerId ({required String ownerId, }) { + return GetHubsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); + } + + + FilterHubsVariablesBuilder filterHubs () { + return FilterHubsVariablesBuilder(dataConnect, ); + } + + + ListStaffRolesVariablesBuilder listStaffRoles () { + return ListStaffRolesVariablesBuilder(dataConnect, ); + } + + + GetStaffRoleByKeyVariablesBuilder getStaffRoleByKey ({required String staffId, required String roleId, }) { + return GetStaffRoleByKeyVariablesBuilder(dataConnect, staffId: staffId,roleId: roleId,); + } + + + ListStaffRolesByStaffIdVariablesBuilder listStaffRolesByStaffId ({required String staffId, }) { + return ListStaffRolesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + ListStaffRolesByRoleIdVariablesBuilder listStaffRolesByRoleId ({required String roleId, }) { + return ListStaffRolesByRoleIdVariablesBuilder(dataConnect, roleId: roleId,); + } + + + FilterStaffRolesVariablesBuilder filterStaffRoles () { + return FilterStaffRolesVariablesBuilder(dataConnect, ); + } + + + ListTeamHubsVariablesBuilder listTeamHubs () { + return ListTeamHubsVariablesBuilder(dataConnect, ); + } + + + GetTeamHubByIdVariablesBuilder getTeamHubById ({required String id, }) { + return GetTeamHubByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetTeamHubsByTeamIdVariablesBuilder getTeamHubsByTeamId ({required String teamId, }) { + return GetTeamHubsByTeamIdVariablesBuilder(dataConnect, teamId: teamId,); + } + + + ListTeamHubsByOwnerIdVariablesBuilder listTeamHubsByOwnerId ({required String ownerId, }) { + return ListTeamHubsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); + } + + + ListOrdersVariablesBuilder listOrders () { + return ListOrdersVariablesBuilder(dataConnect, ); + } + + + GetOrderByIdVariablesBuilder getOrderById ({required String id, }) { + return GetOrderByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetOrdersByBusinessIdVariablesBuilder getOrdersByBusinessId ({required String businessId, }) { + return GetOrdersByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); + } + + + GetOrdersByVendorIdVariablesBuilder getOrdersByVendorId ({required String vendorId, }) { + return GetOrdersByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); + } + + + GetOrdersByStatusVariablesBuilder getOrdersByStatus ({required OrderStatus status, }) { + return GetOrdersByStatusVariablesBuilder(dataConnect, status: status,); + } + + + GetOrdersByDateRangeVariablesBuilder getOrdersByDateRange ({required Timestamp start, required Timestamp end, }) { + return GetOrdersByDateRangeVariablesBuilder(dataConnect, start: start,end: end,); + } + + + GetRapidOrdersVariablesBuilder getRapidOrders () { + return GetRapidOrdersVariablesBuilder(dataConnect, ); + } + + + ListStaffAvailabilityStatsVariablesBuilder listStaffAvailabilityStats () { + return ListStaffAvailabilityStatsVariablesBuilder(dataConnect, ); + } + + + GetStaffAvailabilityStatsByStaffIdVariablesBuilder getStaffAvailabilityStatsByStaffId ({required String staffId, }) { + return GetStaffAvailabilityStatsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + FilterStaffAvailabilityStatsVariablesBuilder filterStaffAvailabilityStats () { + return FilterStaffAvailabilityStatsVariablesBuilder(dataConnect, ); + } + + + GetStaffCourseByIdVariablesBuilder getStaffCourseById ({required String id, }) { + return GetStaffCourseByIdVariablesBuilder(dataConnect, id: id,); + } + + + ListStaffCoursesByStaffIdVariablesBuilder listStaffCoursesByStaffId ({required String staffId, }) { + return ListStaffCoursesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + ListStaffCoursesByCourseIdVariablesBuilder listStaffCoursesByCourseId ({required String courseId, }) { + return ListStaffCoursesByCourseIdVariablesBuilder(dataConnect, courseId: courseId,); + } + + + GetStaffCourseByStaffAndCourseVariablesBuilder getStaffCourseByStaffAndCourse ({required String staffId, required String courseId, }) { + return GetStaffCourseByStaffAndCourseVariablesBuilder(dataConnect, staffId: staffId,courseId: courseId,); + } + + + CreateTaskCommentVariablesBuilder createTaskComment ({required String taskId, required String teamMemberId, required String comment, }) { + return CreateTaskCommentVariablesBuilder(dataConnect, taskId: taskId,teamMemberId: teamMemberId,comment: comment,); + } + + + UpdateTaskCommentVariablesBuilder updateTaskComment ({required String id, }) { + return UpdateTaskCommentVariablesBuilder(dataConnect, id: id,); + } + + + DeleteTaskCommentVariablesBuilder deleteTaskComment ({required String id, }) { + return DeleteTaskCommentVariablesBuilder(dataConnect, id: id,); + } + + + CreateTeamHubVariablesBuilder createTeamHub ({required String teamId, required String hubName, required String address, required String city, }) { + return CreateTeamHubVariablesBuilder(dataConnect, teamId: teamId,hubName: hubName,address: address,city: city,); + } + + + UpdateTeamHubVariablesBuilder updateTeamHub ({required String id, }) { + return UpdateTeamHubVariablesBuilder(dataConnect, id: id,); + } + + + DeleteTeamHubVariablesBuilder deleteTeamHub ({required String id, }) { + return DeleteTeamHubVariablesBuilder(dataConnect, id: id,); + } + + + CreateVendorRateVariablesBuilder createVendorRate ({required String vendorId, }) { + return CreateVendorRateVariablesBuilder(dataConnect, vendorId: vendorId,); + } + + + UpdateVendorRateVariablesBuilder updateVendorRate ({required String id, }) { + return UpdateVendorRateVariablesBuilder(dataConnect, id: id,); + } + + + DeleteVendorRateVariablesBuilder deleteVendorRate ({required String id, }) { + return DeleteVendorRateVariablesBuilder(dataConnect, id: id,); + } + + + ListAssignmentsVariablesBuilder listAssignments () { + return ListAssignmentsVariablesBuilder(dataConnect, ); + } + + + GetAssignmentByIdVariablesBuilder getAssignmentById ({required String id, }) { + return GetAssignmentByIdVariablesBuilder(dataConnect, id: id,); + } + + + ListAssignmentsByWorkforceIdVariablesBuilder listAssignmentsByWorkforceId ({required String workforceId, }) { + return ListAssignmentsByWorkforceIdVariablesBuilder(dataConnect, workforceId: workforceId,); + } + + + ListAssignmentsByWorkforceIdsVariablesBuilder listAssignmentsByWorkforceIds ({required List workforceIds, }) { + return ListAssignmentsByWorkforceIdsVariablesBuilder(dataConnect, workforceIds: workforceIds,); + } + + + ListAssignmentsByShiftRoleVariablesBuilder listAssignmentsByShiftRole ({required String shiftId, required String roleId, }) { + return ListAssignmentsByShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,); + } + + + FilterAssignmentsVariablesBuilder filterAssignments ({required List shiftIds, required List roleIds, }) { + return FilterAssignmentsVariablesBuilder(dataConnect, shiftIds: shiftIds,roleIds: roleIds,); + } + + + ListCoursesVariablesBuilder listCourses () { + return ListCoursesVariablesBuilder(dataConnect, ); + } + + + GetCourseByIdVariablesBuilder getCourseById ({required String id, }) { + return GetCourseByIdVariablesBuilder(dataConnect, id: id,); + } + + + FilterCoursesVariablesBuilder filterCourses () { + return FilterCoursesVariablesBuilder(dataConnect, ); + } + + + CreateCustomRateCardVariablesBuilder createCustomRateCard ({required String name, }) { + return CreateCustomRateCardVariablesBuilder(dataConnect, name: name,); + } + + + UpdateCustomRateCardVariablesBuilder updateCustomRateCard ({required String id, }) { + return UpdateCustomRateCardVariablesBuilder(dataConnect, id: id,); + } + + + DeleteCustomRateCardVariablesBuilder deleteCustomRateCard ({required String id, }) { + return DeleteCustomRateCardVariablesBuilder(dataConnect, id: id,); + } + + + ListCustomRateCardsVariablesBuilder listCustomRateCards () { + return ListCustomRateCardsVariablesBuilder(dataConnect, ); + } + + + GetCustomRateCardByIdVariablesBuilder getCustomRateCardById ({required String id, }) { + return GetCustomRateCardByIdVariablesBuilder(dataConnect, id: id,); + } + + + ListStaffAvailabilitiesVariablesBuilder listStaffAvailabilities () { + return ListStaffAvailabilitiesVariablesBuilder(dataConnect, ); + } + + + ListStaffAvailabilitiesByStaffIdVariablesBuilder listStaffAvailabilitiesByStaffId ({required String staffId, }) { + return ListStaffAvailabilitiesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + GetStaffAvailabilityByKeyVariablesBuilder getStaffAvailabilityByKey ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { + return GetStaffAvailabilityByKeyVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); + } + + + ListStaffAvailabilitiesByDayVariablesBuilder listStaffAvailabilitiesByDay ({required DayOfWeek day, }) { + return ListStaffAvailabilitiesByDayVariablesBuilder(dataConnect, day: day,); + } + + + CreateStaffCourseVariablesBuilder createStaffCourse ({required String staffId, required String courseId, }) { + return CreateStaffCourseVariablesBuilder(dataConnect, staffId: staffId,courseId: courseId,); + } + + + UpdateStaffCourseVariablesBuilder updateStaffCourse ({required String id, }) { + return UpdateStaffCourseVariablesBuilder(dataConnect, id: id,); + } + + + DeleteStaffCourseVariablesBuilder deleteStaffCourse ({required String id, }) { + return DeleteStaffCourseVariablesBuilder(dataConnect, id: id,); + } + + + ListUsersVariablesBuilder listUsers () { + return ListUsersVariablesBuilder(dataConnect, ); + } + + + GetUserByIdVariablesBuilder getUserById ({required String id, }) { + return GetUserByIdVariablesBuilder(dataConnect, id: id,); + } + + + FilterUsersVariablesBuilder filterUsers () { + return FilterUsersVariablesBuilder(dataConnect, ); + } + + + CreateVendorVariablesBuilder createVendor ({required String userId, required String companyName, }) { + return CreateVendorVariablesBuilder(dataConnect, userId: userId,companyName: companyName,); + } + + + UpdateVendorVariablesBuilder updateVendor ({required String id, }) { + return UpdateVendorVariablesBuilder(dataConnect, id: id,); + } + + + DeleteVendorVariablesBuilder deleteVendor ({required String id, }) { + return DeleteVendorVariablesBuilder(dataConnect, id: id,); + } + + + CreateDocumentVariablesBuilder createDocument ({required DocumentType documentType, required String name, }) { + return CreateDocumentVariablesBuilder(dataConnect, documentType: documentType,name: name,); + } + + + UpdateDocumentVariablesBuilder updateDocument ({required String id, }) { + return UpdateDocumentVariablesBuilder(dataConnect, id: id,); + } + + + DeleteDocumentVariablesBuilder deleteDocument ({required String id, }) { + return DeleteDocumentVariablesBuilder(dataConnect, id: id,); + } + + + ListActivityLogsVariablesBuilder listActivityLogs () { + return ListActivityLogsVariablesBuilder(dataConnect, ); + } + + + GetActivityLogByIdVariablesBuilder getActivityLogById ({required String id, }) { + return GetActivityLogByIdVariablesBuilder(dataConnect, id: id,); + } + + + ListActivityLogsByUserIdVariablesBuilder listActivityLogsByUserId ({required String userId, }) { + return ListActivityLogsByUserIdVariablesBuilder(dataConnect, userId: userId,); + } + + + ListUnreadActivityLogsByUserIdVariablesBuilder listUnreadActivityLogsByUserId ({required String userId, }) { + return ListUnreadActivityLogsByUserIdVariablesBuilder(dataConnect, userId: userId,); + } + + + FilterActivityLogsVariablesBuilder filterActivityLogs () { + return FilterActivityLogsVariablesBuilder(dataConnect, ); + } + + + ListAttireOptionsVariablesBuilder listAttireOptions () { + return ListAttireOptionsVariablesBuilder(dataConnect, ); + } + + + GetAttireOptionByIdVariablesBuilder getAttireOptionById ({required String id, }) { + return GetAttireOptionByIdVariablesBuilder(dataConnect, id: id,); + } + + + FilterAttireOptionsVariablesBuilder filterAttireOptions () { + return FilterAttireOptionsVariablesBuilder(dataConnect, ); + } + + + CreateEmergencyContactVariablesBuilder createEmergencyContact ({required String name, required String phone, required RelationshipType relationship, required String staffId, }) { + return CreateEmergencyContactVariablesBuilder(dataConnect, name: name,phone: phone,relationship: relationship,staffId: staffId,); + } + + + UpdateEmergencyContactVariablesBuilder updateEmergencyContact ({required String id, }) { + return UpdateEmergencyContactVariablesBuilder(dataConnect, id: id,); + } + + + DeleteEmergencyContactVariablesBuilder deleteEmergencyContact ({required String id, }) { + return DeleteEmergencyContactVariablesBuilder(dataConnect, id: id,); + } + + + ListRoleCategoriesVariablesBuilder listRoleCategories () { + return ListRoleCategoriesVariablesBuilder(dataConnect, ); + } + + + GetRoleCategoryByIdVariablesBuilder getRoleCategoryById ({required String id, }) { + return GetRoleCategoryByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetRoleCategoriesByCategoryVariablesBuilder getRoleCategoriesByCategory ({required RoleCategoryType category, }) { + return GetRoleCategoriesByCategoryVariablesBuilder(dataConnect, category: category,); + } + + + ListShiftsVariablesBuilder listShifts () { + return ListShiftsVariablesBuilder(dataConnect, ); + } + + + GetShiftByIdVariablesBuilder getShiftById ({required String id, }) { + return GetShiftByIdVariablesBuilder(dataConnect, id: id,); + } + + + FilterShiftsVariablesBuilder filterShifts () { + return FilterShiftsVariablesBuilder(dataConnect, ); + } + + + GetShiftsByBusinessIdVariablesBuilder getShiftsByBusinessId ({required String businessId, }) { + return GetShiftsByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); + } + + + GetShiftsByVendorIdVariablesBuilder getShiftsByVendorId ({required String vendorId, }) { + return GetShiftsByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); + } + + + GetVendorByIdVariablesBuilder getVendorById ({required String id, }) { + return GetVendorByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetVendorByUserIdVariablesBuilder getVendorByUserId ({required String userId, }) { + return GetVendorByUserIdVariablesBuilder(dataConnect, userId: userId,); + } + + + ListVendorsVariablesBuilder listVendors () { + return ListVendorsVariablesBuilder(dataConnect, ); } @@ -4405,78 +4330,153 @@ class ExampleConnector { } - CreateOrderVariablesBuilder createOrder ({required String vendorId, required String businessId, required OrderType orderType, }) { - return CreateOrderVariablesBuilder(dataConnect, vendorId: vendorId,businessId: businessId,orderType: orderType,); + CreateCertificateVariablesBuilder createCertificate ({required String name, required CertificateStatus status, required String staffId, }) { + return CreateCertificateVariablesBuilder(dataConnect, name: name,status: status,staffId: staffId,); } - UpdateOrderVariablesBuilder updateOrder ({required String id, }) { - return UpdateOrderVariablesBuilder(dataConnect, id: id,); + UpdateCertificateVariablesBuilder updateCertificate ({required String id, }) { + return UpdateCertificateVariablesBuilder(dataConnect, id: id,); } - DeleteOrderVariablesBuilder deleteOrder ({required String id, }) { - return DeleteOrderVariablesBuilder(dataConnect, id: id,); + DeleteCertificateVariablesBuilder deleteCertificate ({required String id, }) { + return DeleteCertificateVariablesBuilder(dataConnect, id: id,); } - ListStaffAvailabilitiesVariablesBuilder listStaffAvailabilities () { - return ListStaffAvailabilitiesVariablesBuilder(dataConnect, ); + ListEmergencyContactsVariablesBuilder listEmergencyContacts () { + return ListEmergencyContactsVariablesBuilder(dataConnect, ); } - ListStaffAvailabilitiesByStaffIdVariablesBuilder listStaffAvailabilitiesByStaffId ({required String staffId, }) { - return ListStaffAvailabilitiesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + GetEmergencyContactByIdVariablesBuilder getEmergencyContactById ({required String id, }) { + return GetEmergencyContactByIdVariablesBuilder(dataConnect, id: id,); } - GetStaffAvailabilityByKeyVariablesBuilder getStaffAvailabilityByKey ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { - return GetStaffAvailabilityByKeyVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); + GetEmergencyContactsByStaffIdVariablesBuilder getEmergencyContactsByStaffId ({required String staffId, }) { + return GetEmergencyContactsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); } - ListStaffAvailabilitiesByDayVariablesBuilder listStaffAvailabilitiesByDay ({required DayOfWeek day, }) { - return ListStaffAvailabilitiesByDayVariablesBuilder(dataConnect, day: day,); + CreateRecentPaymentVariablesBuilder createRecentPayment ({required String staffId, required String applicationId, required String invoiceId, }) { + return CreateRecentPaymentVariablesBuilder(dataConnect, staffId: staffId,applicationId: applicationId,invoiceId: invoiceId,); } - ListTeamMembersVariablesBuilder listTeamMembers () { - return ListTeamMembersVariablesBuilder(dataConnect, ); + UpdateRecentPaymentVariablesBuilder updateRecentPayment ({required String id, }) { + return UpdateRecentPaymentVariablesBuilder(dataConnect, id: id,); } - GetTeamMemberByIdVariablesBuilder getTeamMemberById ({required String id, }) { - return GetTeamMemberByIdVariablesBuilder(dataConnect, id: id,); + DeleteRecentPaymentVariablesBuilder deleteRecentPayment ({required String id, }) { + return DeleteRecentPaymentVariablesBuilder(dataConnect, id: id,); } - GetTeamMembersByTeamIdVariablesBuilder getTeamMembersByTeamId ({required String teamId, }) { - return GetTeamMembersByTeamIdVariablesBuilder(dataConnect, teamId: teamId,); + CreateTeamHudDepartmentVariablesBuilder createTeamHudDepartment ({required String name, required String teamHubId, }) { + return CreateTeamHudDepartmentVariablesBuilder(dataConnect, name: name,teamHubId: teamHubId,); } - ListVendorBenefitPlansVariablesBuilder listVendorBenefitPlans () { - return ListVendorBenefitPlansVariablesBuilder(dataConnect, ); + UpdateTeamHudDepartmentVariablesBuilder updateTeamHudDepartment ({required String id, }) { + return UpdateTeamHudDepartmentVariablesBuilder(dataConnect, id: id,); } - GetVendorBenefitPlanByIdVariablesBuilder getVendorBenefitPlanById ({required String id, }) { - return GetVendorBenefitPlanByIdVariablesBuilder(dataConnect, id: id,); + DeleteTeamHudDepartmentVariablesBuilder deleteTeamHudDepartment ({required String id, }) { + return DeleteTeamHudDepartmentVariablesBuilder(dataConnect, id: id,); } - ListVendorBenefitPlansByVendorIdVariablesBuilder listVendorBenefitPlansByVendorId ({required String vendorId, }) { - return ListVendorBenefitPlansByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); + CreateVendorBenefitPlanVariablesBuilder createVendorBenefitPlan ({required String vendorId, required String title, }) { + return CreateVendorBenefitPlanVariablesBuilder(dataConnect, vendorId: vendorId,title: title,); } - ListActiveVendorBenefitPlansByVendorIdVariablesBuilder listActiveVendorBenefitPlansByVendorId ({required String vendorId, }) { - return ListActiveVendorBenefitPlansByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); + UpdateVendorBenefitPlanVariablesBuilder updateVendorBenefitPlan ({required String id, }) { + return UpdateVendorBenefitPlanVariablesBuilder(dataConnect, id: id,); } - FilterVendorBenefitPlansVariablesBuilder filterVendorBenefitPlans () { - return FilterVendorBenefitPlansVariablesBuilder(dataConnect, ); + DeleteVendorBenefitPlanVariablesBuilder deleteVendorBenefitPlan ({required String id, }) { + return DeleteVendorBenefitPlanVariablesBuilder(dataConnect, id: id,); + } + + + ListVendorRatesVariablesBuilder listVendorRates () { + return ListVendorRatesVariablesBuilder(dataConnect, ); + } + + + GetVendorRateByIdVariablesBuilder getVendorRateById ({required String id, }) { + return GetVendorRateByIdVariablesBuilder(dataConnect, id: id,); + } + + + CreateStaffAvailabilityVariablesBuilder createStaffAvailability ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { + return CreateStaffAvailabilityVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); + } + + + UpdateStaffAvailabilityVariablesBuilder updateStaffAvailability ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { + return UpdateStaffAvailabilityVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); + } + + + DeleteStaffAvailabilityVariablesBuilder deleteStaffAvailability ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { + return DeleteStaffAvailabilityVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); + } + + + ListTasksVariablesBuilder listTasks () { + return ListTasksVariablesBuilder(dataConnect, ); + } + + + GetTaskByIdVariablesBuilder getTaskById ({required String id, }) { + return GetTaskByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetTasksByOwnerIdVariablesBuilder getTasksByOwnerId ({required String ownerId, }) { + return GetTasksByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); + } + + + FilterTasksVariablesBuilder filterTasks () { + return FilterTasksVariablesBuilder(dataConnect, ); + } + + + CreateTaxFormVariablesBuilder createTaxForm ({required TaxFormType formType, required String title, required String staffId, }) { + return CreateTaxFormVariablesBuilder(dataConnect, formType: formType,title: title,staffId: staffId,); + } + + + UpdateTaxFormVariablesBuilder updateTaxForm ({required String id, }) { + return UpdateTaxFormVariablesBuilder(dataConnect, id: id,); + } + + + DeleteTaxFormVariablesBuilder deleteTaxForm ({required String id, }) { + return DeleteTaxFormVariablesBuilder(dataConnect, id: id,); + } + + + CreateBusinessVariablesBuilder createBusiness ({required String businessName, required String userId, required BusinessRateGroup rateGroup, required BusinessStatus status, }) { + return CreateBusinessVariablesBuilder(dataConnect, businessName: businessName,userId: userId,rateGroup: rateGroup,status: status,); + } + + + UpdateBusinessVariablesBuilder updateBusiness ({required String id, }) { + return UpdateBusinessVariablesBuilder(dataConnect, id: id,); + } + + + DeleteBusinessVariablesBuilder deleteBusiness ({required String id, }) { + return DeleteBusinessVariablesBuilder(dataConnect, id: id,); } diff --git a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/get_team_hub_by_id.dart b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/get_team_hub_by_id.dart index 34b6452a..ab2d47b6 100644 --- a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/get_team_hub_by_id.dart +++ b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/get_team_hub_by_id.dart @@ -24,9 +24,9 @@ class GetTeamHubByIdTeamHub { final String hubName; final String address; final String city; - final String state; - final String zipCode; - final String managerName; + final String? state; + final String? zipCode; + final String? managerName; final bool isActive; final AnyValue? departments; final Timestamp? createdAt; @@ -39,9 +39,9 @@ class GetTeamHubByIdTeamHub { hubName = nativeFromJson(json['hubName']), address = nativeFromJson(json['address']), city = nativeFromJson(json['city']), - state = nativeFromJson(json['state']), - zipCode = nativeFromJson(json['zipCode']), - managerName = nativeFromJson(json['managerName']), + state = json['state'] == null ? null : nativeFromJson(json['state']), + zipCode = json['zipCode'] == null ? null : nativeFromJson(json['zipCode']), + managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), isActive = nativeFromJson(json['isActive']), departments = json['departments'] == null ? null : AnyValue.fromJson(json['departments']), createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), @@ -83,9 +83,15 @@ class GetTeamHubByIdTeamHub { json['hubName'] = nativeToJson(hubName); json['address'] = nativeToJson(address); json['city'] = nativeToJson(city); - json['state'] = nativeToJson(state); - json['zipCode'] = nativeToJson(zipCode); - json['managerName'] = nativeToJson(managerName); + if (state != null) { + json['state'] = nativeToJson(state); + } + if (zipCode != null) { + json['zipCode'] = nativeToJson(zipCode); + } + if (managerName != null) { + json['managerName'] = nativeToJson(managerName); + } json['isActive'] = nativeToJson(isActive); if (departments != null) { json['departments'] = departments!.toJson(); @@ -108,9 +114,9 @@ class GetTeamHubByIdTeamHub { required this.hubName, required this.address, required this.city, - required this.state, - required this.zipCode, - required this.managerName, + this.state, + this.zipCode, + this.managerName, required this.isActive, this.departments, this.createdAt, diff --git a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/get_team_hubs_by_team_id.dart b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/get_team_hubs_by_team_id.dart index 34ab0d41..732256c9 100644 --- a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/get_team_hubs_by_team_id.dart +++ b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/get_team_hubs_by_team_id.dart @@ -24,9 +24,9 @@ class GetTeamHubsByTeamIdTeamHubs { final String hubName; final String address; final String city; - final String state; - final String zipCode; - final String managerName; + final String? state; + final String? zipCode; + final String? managerName; final bool isActive; final AnyValue? departments; final Timestamp? createdAt; @@ -39,9 +39,9 @@ class GetTeamHubsByTeamIdTeamHubs { hubName = nativeFromJson(json['hubName']), address = nativeFromJson(json['address']), city = nativeFromJson(json['city']), - state = nativeFromJson(json['state']), - zipCode = nativeFromJson(json['zipCode']), - managerName = nativeFromJson(json['managerName']), + state = json['state'] == null ? null : nativeFromJson(json['state']), + zipCode = json['zipCode'] == null ? null : nativeFromJson(json['zipCode']), + managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), isActive = nativeFromJson(json['isActive']), departments = json['departments'] == null ? null : AnyValue.fromJson(json['departments']), createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), @@ -83,9 +83,15 @@ class GetTeamHubsByTeamIdTeamHubs { json['hubName'] = nativeToJson(hubName); json['address'] = nativeToJson(address); json['city'] = nativeToJson(city); - json['state'] = nativeToJson(state); - json['zipCode'] = nativeToJson(zipCode); - json['managerName'] = nativeToJson(managerName); + if (state != null) { + json['state'] = nativeToJson(state); + } + if (zipCode != null) { + json['zipCode'] = nativeToJson(zipCode); + } + if (managerName != null) { + json['managerName'] = nativeToJson(managerName); + } json['isActive'] = nativeToJson(isActive); if (departments != null) { json['departments'] = departments!.toJson(); @@ -108,9 +114,9 @@ class GetTeamHubsByTeamIdTeamHubs { required this.hubName, required this.address, required this.city, - required this.state, - required this.zipCode, - required this.managerName, + this.state, + this.zipCode, + this.managerName, required this.isActive, this.departments, this.createdAt, diff --git a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs.dart b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs.dart index c8d085b0..1a104f7f 100644 --- a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs.dart +++ b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs.dart @@ -23,9 +23,9 @@ class ListTeamHubsTeamHubs { final String hubName; final String address; final String city; - final String state; - final String zipCode; - final String managerName; + final String? state; + final String? zipCode; + final String? managerName; final bool isActive; final AnyValue? departments; final Timestamp? createdAt; @@ -38,9 +38,9 @@ class ListTeamHubsTeamHubs { hubName = nativeFromJson(json['hubName']), address = nativeFromJson(json['address']), city = nativeFromJson(json['city']), - state = nativeFromJson(json['state']), - zipCode = nativeFromJson(json['zipCode']), - managerName = nativeFromJson(json['managerName']), + state = json['state'] == null ? null : nativeFromJson(json['state']), + zipCode = json['zipCode'] == null ? null : nativeFromJson(json['zipCode']), + managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), isActive = nativeFromJson(json['isActive']), departments = json['departments'] == null ? null : AnyValue.fromJson(json['departments']), createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']), @@ -82,9 +82,15 @@ class ListTeamHubsTeamHubs { json['hubName'] = nativeToJson(hubName); json['address'] = nativeToJson(address); json['city'] = nativeToJson(city); - json['state'] = nativeToJson(state); - json['zipCode'] = nativeToJson(zipCode); - json['managerName'] = nativeToJson(managerName); + if (state != null) { + json['state'] = nativeToJson(state); + } + if (zipCode != null) { + json['zipCode'] = nativeToJson(zipCode); + } + if (managerName != null) { + json['managerName'] = nativeToJson(managerName); + } json['isActive'] = nativeToJson(isActive); if (departments != null) { json['departments'] = departments!.toJson(); @@ -107,9 +113,9 @@ class ListTeamHubsTeamHubs { required this.hubName, required this.address, required this.city, - required this.state, - required this.zipCode, - required this.managerName, + this.state, + this.zipCode, + this.managerName, required this.isActive, this.departments, this.createdAt, diff --git a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs_by_owner_id.dart b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs_by_owner_id.dart index 45a5e563..9735ab51 100644 --- a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs_by_owner_id.dart +++ b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs_by_owner_id.dart @@ -24,9 +24,9 @@ class ListTeamHubsByOwnerIdTeamHubs { final String hubName; final String address; final String city; - final String state; - final String zipCode; - final String managerName; + final String? state; + final String? zipCode; + final String? managerName; final bool isActive; final AnyValue? departments; final Timestamp? createdAt; @@ -37,9 +37,9 @@ class ListTeamHubsByOwnerIdTeamHubs { hubName = nativeFromJson(json['hubName']), address = nativeFromJson(json['address']), city = nativeFromJson(json['city']), - state = nativeFromJson(json['state']), - zipCode = nativeFromJson(json['zipCode']), - managerName = nativeFromJson(json['managerName']), + state = json['state'] == null ? null : nativeFromJson(json['state']), + zipCode = json['zipCode'] == null ? null : nativeFromJson(json['zipCode']), + managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), isActive = nativeFromJson(json['isActive']), departments = json['departments'] == null ? null : AnyValue.fromJson(json['departments']), createdAt = json['createdAt'] == null ? null : Timestamp.fromJson(json['createdAt']); @@ -77,9 +77,15 @@ class ListTeamHubsByOwnerIdTeamHubs { json['hubName'] = nativeToJson(hubName); json['address'] = nativeToJson(address); json['city'] = nativeToJson(city); - json['state'] = nativeToJson(state); - json['zipCode'] = nativeToJson(zipCode); - json['managerName'] = nativeToJson(managerName); + if (state != null) { + json['state'] = nativeToJson(state); + } + if (zipCode != null) { + json['zipCode'] = nativeToJson(zipCode); + } + if (managerName != null) { + json['managerName'] = nativeToJson(managerName); + } json['isActive'] = nativeToJson(isActive); if (departments != null) { json['departments'] = departments!.toJson(); @@ -96,9 +102,9 @@ class ListTeamHubsByOwnerIdTeamHubs { required this.hubName, required this.address, required this.city, - required this.state, - required this.zipCode, - required this.managerName, + this.state, + this.zipCode, + this.managerName, required this.isActive, this.departments, this.createdAt, diff --git a/apps/mobile/packages/features/client/hubs/lib/client_hubs.dart b/apps/mobile/packages/features/client/hubs/lib/client_hubs.dart index cf0828b5..09f92652 100644 --- a/apps/mobile/packages/features/client/hubs/lib/client_hubs.dart +++ b/apps/mobile/packages/features/client/hubs/lib/client_hubs.dart @@ -2,6 +2,7 @@ library client_hubs; import 'package:flutter_modular/flutter_modular.dart'; import 'package:krow_data_connect/krow_data_connect.dart'; +import 'package:firebase_auth/firebase_auth.dart' as firebase; import 'src/data/repositories_impl/hub_repository_impl.dart'; import 'src/domain/repositories/hub_repository_interface.dart'; import 'src/domain/usecases/assign_nfc_tag_usecase.dart'; @@ -22,7 +23,10 @@ class ClientHubsModule extends Module { void binds(Injector i) { // Repositories i.addLazySingleton( - () => HubRepositoryImpl(mock: i.get()), + () => HubRepositoryImpl( + firebaseAuth: firebase.FirebaseAuth.instance, + dataConnect: ExampleConnector.instance, + ), ); // UseCases diff --git a/apps/mobile/packages/features/client/hubs/lib/src/data/repositories_impl/hub_repository_impl.dart b/apps/mobile/packages/features/client/hubs/lib/src/data/repositories_impl/hub_repository_impl.dart index 578a9ea2..45123a65 100644 --- a/apps/mobile/packages/features/client/hubs/lib/src/data/repositories_impl/hub_repository_impl.dart +++ b/apps/mobile/packages/features/client/hubs/lib/src/data/repositories_impl/hub_repository_impl.dart @@ -1,45 +1,154 @@ -import 'package:krow_data_connect/krow_data_connect.dart'; -import 'package:krow_domain/krow_domain.dart'; +import 'package:firebase_auth/firebase_auth.dart' as firebase; +import 'package:krow_data_connect/krow_data_connect.dart' as dc; +import 'package:krow_domain/krow_domain.dart' as domain; import '../../domain/repositories/hub_repository_interface.dart'; -/// Implementation of [HubRepositoryInterface] that uses [BusinessRepositoryMock]. -/// -/// This class serves as a data adapter that bridges the domain repository interface -/// with the backend data source provided by the `data_connect` package. It strictly -/// delegates all operations to the [BusinessRepositoryMock], ensuring no business -/// logic resides in the data layer. +/// Implementation of [HubRepositoryInterface] backed by Data Connect. class HubRepositoryImpl implements HubRepositoryInterface { - /// The business repository mock from data connect. - final BusinessRepositoryMock mock; + final firebase.FirebaseAuth _firebaseAuth; + final dc.ExampleConnector _dataConnect; - /// Creates a [HubRepositoryImpl] instance. - /// - /// Takes a [BusinessRepositoryMock] as a dependency to perform data operations. - HubRepositoryImpl({required this.mock}); + HubRepositoryImpl({ + required firebase.FirebaseAuth firebaseAuth, + required dc.ExampleConnector dataConnect, + }) : _firebaseAuth = firebaseAuth, + _dataConnect = dataConnect; @override - Future> getHubs() { - // In a production environment, the business ID would be retrieved from - // a session manager or authentication state. For the current mock strategy, - // we use a hardcoded value 'biz_1' to represent the active client. - return mock.getHubs('biz_1'); + Future> getHubs() async { + final business = await _getBusinessForCurrentUser(); + final teamId = await _getOrCreateTeamId(business); + return _fetchHubsForTeam(teamId: teamId, businessId: business.id); } @override - Future createHub({required String name, required String address}) { - // Delegates hub creation to the mock repository. - return mock.createHub(businessId: 'biz_1', name: name, address: address); + Future createHub({ + required String name, + required String address, + }) async { + final business = await _getBusinessForCurrentUser(); + final teamId = await _getOrCreateTeamId(business); + final city = business.city; + if (city == null || city.isEmpty) { + throw Exception('Business city is missing.'); + } + + final result = await _dataConnect + .createTeamHub( + teamId: teamId, + hubName: name, + address: address, + city: city, + ) + .execute(); + final createdId = result.data?.teamHub_insert.id; + if (createdId == null) { + throw Exception('Hub creation failed.'); + } + + final hubs = await _fetchHubsForTeam( + teamId: teamId, + businessId: business.id, + ); + domain.Hub? createdHub; + for (final hub in hubs) { + if (hub.id == createdId) { + createdHub = hub; + break; + } + } + return createdHub ?? + domain.Hub( + id: createdId, + businessId: business.id, + name: name, + address: address, + nfcTagId: null, + status: domain.HubStatus.active, + ); } @override - Future deleteHub(String id) { - // Delegates hub deletion to the mock repository. - return mock.deleteHub(id); + Future deleteHub(String id) async { + await _dataConnect.deleteTeamHub(id: id).execute(); } @override - Future assignNfcTag({required String hubId, required String nfcTagId}) { - // Delegates NFC tag assignment to the mock repository. - return mock.assignNfcTag(hubId: hubId, nfcTagId: nfcTagId); + Future assignNfcTag({ + required String hubId, + required String nfcTagId, + }) { + throw UnimplementedError('NFC tag assignment is not supported for team hubs.'); + } + + Future _getBusinessForCurrentUser() async { + final user = _firebaseAuth.currentUser; + if (user == null) { + throw Exception('User is not authenticated.'); + } + + final result = await _dataConnect.getBusinessesByUserId( + userId: user.uid, + ).execute(); + if (result.data.businesses.isEmpty) { + await _firebaseAuth.signOut(); + throw Exception('No business found for this user. Please sign in again.'); + } + + return result.data.businesses.first; + } + + Future _getOrCreateTeamId( + dc.GetBusinessesByUserIdBusinesses business, + ) async { + final teamsResult = await _dataConnect.getTeamsByOwnerId( + ownerId: business.id, + ).execute(); + if (teamsResult.data.teams.isNotEmpty) { + return teamsResult.data.teams.first.id; + } + + final createTeamBuilder = _dataConnect.createTeam( + teamName: '${business.businessName} Team', + ownerId: business.id, + ownerName: business.contactName ?? '', + ownerRole: 'OWNER', + ); + if (business.email != null) { + createTeamBuilder.email(business.email); + } + + final createTeamResult = await createTeamBuilder.execute(); + final teamId = createTeamResult.data?.team_insert.id; + if (teamId == null) { + throw Exception('Team creation failed.'); + } + + return teamId; + } + + Future> _fetchHubsForTeam({ + required String teamId, + required String businessId, + }) async { + final hubsResult = await _dataConnect.getTeamHubsByTeamId( + teamId: teamId, + ).execute(); + + return hubsResult.data.teamHubs + .map( + (hub) => domain.Hub( + id: hub.id, + businessId: businessId, + name: hub.hubName, + address: hub.address, + nfcTagId: null, + status: + hub.isActive + ? domain.HubStatus.active + : domain.HubStatus.inactive, + ), + ) + .toList(); } } From 1b8a6466b06055b5e78e602f8f3e0fce88316dff Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Thu, 22 Jan 2026 12:28:10 -0500 Subject: [PATCH 07/19] chore: Refactor imports and update architecture package structure Reorganized and clarified dependency sections in multiple pubspec.yaml files, grouping architecture and feature packages. Updated import statements in AuthRepositoryImpl for direct usage of types. Added missing dependencies to client authentication. Removed obsolete documentation and summary files from design_system and client home packages. --- apps/mobile/apps/client/pubspec.yaml | 16 ++- apps/mobile/apps/staff/pubspec.yaml | 8 +- .../packages/design_system/CHANGELOG.md | 3 - apps/mobile/packages/design_system/LICENSE | 1 - apps/mobile/packages/design_system/README.md | 39 ----- .../auth_repository_impl.dart | 68 ++++----- .../client/authentication/pubspec.yaml | 6 +- .../features/client/home/REFACTOR_SUMMARY.md | 133 ------------------ .../features/client/home/pubspec.yaml | 1 + .../features/client/hubs/pubspec.yaml | 2 +- .../features/client/settings/pubspec.yaml | 1 + 11 files changed, 60 insertions(+), 218 deletions(-) delete mode 100644 apps/mobile/packages/design_system/CHANGELOG.md delete mode 100644 apps/mobile/packages/design_system/LICENSE delete mode 100644 apps/mobile/packages/design_system/README.md delete mode 100644 apps/mobile/packages/features/client/home/REFACTOR_SUMMARY.md diff --git a/apps/mobile/apps/client/pubspec.yaml b/apps/mobile/apps/client/pubspec.yaml index edbf3c43..95b95834 100644 --- a/apps/mobile/apps/client/pubspec.yaml +++ b/apps/mobile/apps/client/pubspec.yaml @@ -11,22 +11,26 @@ dependencies: flutter: sdk: flutter cupertino_icons: ^1.0.8 + flutter_modular: ^6.3.2 + flutter_bloc: ^8.1.3 + flutter_localizations: + sdk: flutter + + # Architecture Packages design_system: path: ../../packages/design_system + core_localization: + path: ../../packages/core_localization + + # Feature Packages client_authentication: path: ../../packages/features/client/authentication client_home: path: ../../packages/features/client/home client_settings: path: ../../packages/features/client/settings - core_localization: - path: ../../packages/core_localization client_hubs: path: ../../packages/features/client/hubs - flutter_modular: ^6.3.2 - flutter_bloc: ^8.1.3 - flutter_localizations: - sdk: flutter dev_dependencies: flutter_test: diff --git a/apps/mobile/apps/staff/pubspec.yaml b/apps/mobile/apps/staff/pubspec.yaml index 659a41ad..4a968d93 100644 --- a/apps/mobile/apps/staff/pubspec.yaml +++ b/apps/mobile/apps/staff/pubspec.yaml @@ -13,12 +13,16 @@ dependencies: sdk: flutter cupertino_icons: ^1.0.8 flutter_modular: ^6.3.0 + + # Architecture Packages design_system: path: ../../packages/design_system - staff_authentication: - path: ../../packages/features/staff/authentication core_localization: path: ../../packages/core_localization + + # Feature Packages + staff_authentication: + path: ../../packages/features/staff/authentication dev_dependencies: flutter_test: diff --git a/apps/mobile/packages/design_system/CHANGELOG.md b/apps/mobile/packages/design_system/CHANGELOG.md deleted file mode 100644 index 41cc7d81..00000000 --- a/apps/mobile/packages/design_system/CHANGELOG.md +++ /dev/null @@ -1,3 +0,0 @@ -## 0.0.1 - -* TODO: Describe initial release. diff --git a/apps/mobile/packages/design_system/LICENSE b/apps/mobile/packages/design_system/LICENSE deleted file mode 100644 index ba75c69f..00000000 --- a/apps/mobile/packages/design_system/LICENSE +++ /dev/null @@ -1 +0,0 @@ -TODO: Add your license here. diff --git a/apps/mobile/packages/design_system/README.md b/apps/mobile/packages/design_system/README.md deleted file mode 100644 index 4a260d8d..00000000 --- a/apps/mobile/packages/design_system/README.md +++ /dev/null @@ -1,39 +0,0 @@ - - -TODO: Put a short description of the package here that helps potential users -know whether this package might be useful for them. - -## Features - -TODO: List what your package can do. Maybe include images, gifs, or videos. - -## Getting started - -TODO: List prerequisites and provide or point to information on how to -start using the package. - -## Usage - -TODO: Include short and useful examples for package users. Add longer examples -to `/example` folder. - -```dart -const like = 'sample'; -``` - -## Additional information - -TODO: Tell users more about the package: where to find more information, how to -contribute to the package, how to file issues, what response they can expect -from the package authors, and more. diff --git a/apps/mobile/packages/features/client/authentication/lib/src/data/repositories_impl/auth_repository_impl.dart b/apps/mobile/packages/features/client/authentication/lib/src/data/repositories_impl/auth_repository_impl.dart index ede79873..ef697865 100644 --- a/apps/mobile/packages/features/client/authentication/lib/src/data/repositories_impl/auth_repository_impl.dart +++ b/apps/mobile/packages/features/client/authentication/lib/src/data/repositories_impl/auth_repository_impl.dart @@ -1,5 +1,5 @@ -import 'package:firebase_auth/firebase_auth.dart' as firebase; -import 'package:krow_data_connect/krow_data_connect.dart' as dc; +import 'package:firebase_auth/firebase_auth.dart'; +import 'package:krow_data_connect/krow_data_connect.dart'; import 'package:krow_domain/krow_domain.dart' as domain; import '../../domain/repositories/auth_repository_interface.dart'; @@ -8,15 +8,15 @@ import '../../domain/repositories/auth_repository_interface.dart'; /// This implementation integrates with Firebase Authentication for user /// identity management and Krow's Data Connect SDK for storing user profile data. class AuthRepositoryImpl implements AuthRepositoryInterface { - final firebase.FirebaseAuth _firebaseAuth; - final dc.ExampleConnector _dataConnect; + final FirebaseAuth _firebaseAuth; + final ExampleConnector _dataConnect; /// Creates an [AuthRepositoryImpl] with the real dependencies. AuthRepositoryImpl({ - required firebase.FirebaseAuth firebaseAuth, - required dc.ExampleConnector dataConnect, - }) : _firebaseAuth = firebaseAuth, - _dataConnect = dataConnect; + required FirebaseAuth firebaseAuth, + required ExampleConnector dataConnect, + }) : _firebaseAuth = firebaseAuth, + _dataConnect = dataConnect; @override Future signInWithEmail({ @@ -40,8 +40,7 @@ class AuthRepositoryImpl implements AuthRepositoryInterface { ); //TO-DO: validate that user is business role and has business account - - } on firebase.FirebaseAuthException catch (e) { + } on FirebaseAuthException catch (e) { if (e.code == 'invalid-credential' || e.code == 'wrong-password') { throw Exception('Incorrect email or password.'); } else { @@ -72,23 +71,25 @@ class AuthRepositoryImpl implements AuthRepositoryInterface { // Client-specific business logic: // 1. Create a `Business` entity. // 2. Create a `User` entity associated with the business. - final createBusinessResponse = await _dataConnect.createBusiness( - businessName: companyName, - userId: firebaseUser.uid, - rateGroup: dc.BusinessRateGroup.STANDARD, - status: dc.BusinessStatus.PENDING, - ).execute(); + final createBusinessResponse = await _dataConnect + .createBusiness( + businessName: companyName, + userId: firebaseUser.uid, + rateGroup: BusinessRateGroup.STANDARD, + status: BusinessStatus.PENDING, + ) + .execute(); final businessData = createBusinessResponse.data?.business_insert; if (businessData == null) { await firebaseUser.delete(); // Rollback if business creation fails - throw Exception('Business creation failed after Firebase user registration.'); + throw Exception( + 'Business creation failed after Firebase user registration.', + ); } - final createUserResponse = await _dataConnect.createUser( - id: firebaseUser.uid, - role: dc.UserBaseRole.USER, - ) + final createUserResponse = await _dataConnect + .createUser(id: firebaseUser.uid, role: UserBaseRole.USER) .email(email) .userRole('BUSINESS') .execute(); @@ -97,15 +98,16 @@ class AuthRepositoryImpl implements AuthRepositoryInterface { if (newUserData == null) { await firebaseUser.delete(); // Rollback if user profile creation fails // TO-DO: Also delete the created Business if this fails - throw Exception('User profile creation failed after Firebase user registration.'); + throw Exception( + 'User profile creation failed after Firebase user registration.', + ); } return _getUserProfile( firebaseUserId: firebaseUser.uid, fallbackEmail: firebaseUser.email ?? email, ); - - } on firebase.FirebaseAuthException catch (e) { + } on FirebaseAuthException catch (e) { if (e.code == 'weak-password') { throw Exception('The password provided is too weak.'); } else if (e.code == 'email-already-in-use') { @@ -114,7 +116,9 @@ class AuthRepositoryImpl implements AuthRepositoryInterface { throw Exception('Sign-up error: ${e.message}'); } } catch (e) { - throw Exception('Failed to sign up and create user data: ${e.toString()}'); + throw Exception( + 'Failed to sign up and create user data: ${e.toString()}', + ); } } @@ -129,14 +133,18 @@ class AuthRepositoryImpl implements AuthRepositoryInterface { @override Future signInWithSocial({required String provider}) { - throw UnimplementedError('Social authentication with $provider is not yet implemented.'); + throw UnimplementedError( + 'Social authentication with $provider is not yet implemented.', + ); } Future _getUserProfile({ required String firebaseUserId, required String? fallbackEmail, }) async { - final response = await _dataConnect.getUserById(id: firebaseUserId).execute(); + final response = await _dataConnect + .getUserById(id: firebaseUserId) + .execute(); final user = response.data?.user; if (user == null) { throw Exception('Authenticated user profile not found in database.'); @@ -147,10 +155,6 @@ class AuthRepositoryImpl implements AuthRepositoryInterface { throw Exception('User email is missing in profile data.'); } - return domain.User( - id: user.id, - email: email, - role: user.role.stringValue, - ); + return domain.User(id: user.id, email: email, role: user.role.stringValue); } } diff --git a/apps/mobile/packages/features/client/authentication/pubspec.yaml b/apps/mobile/packages/features/client/authentication/pubspec.yaml index 590bcf27..a70cf83a 100644 --- a/apps/mobile/packages/features/client/authentication/pubspec.yaml +++ b/apps/mobile/packages/features/client/authentication/pubspec.yaml @@ -20,9 +20,13 @@ dependencies: # Architecture Packages design_system: - path: ../../../../design_system + path: ../../../design_system core_localization: path: ../../../core_localization + krow_data_connect: + path: ../../../data_connect + krow_domain: + path: ../../../domain dev_dependencies: flutter_test: diff --git a/apps/mobile/packages/features/client/home/REFACTOR_SUMMARY.md b/apps/mobile/packages/features/client/home/REFACTOR_SUMMARY.md deleted file mode 100644 index ad2d979b..00000000 --- a/apps/mobile/packages/features/client/home/REFACTOR_SUMMARY.md +++ /dev/null @@ -1,133 +0,0 @@ -# Client Home Feature - Architecture Refactor Summary - -## ✅ Completed Refactor - -The `packages/features/client/home` feature has been successfully refactored to fully comply with KROW Clean Architecture principles. - -## 📋 Changes Made - -### 1. Domain Layer Improvements - -**Created:** -- `lib/src/domain/entities/home_dashboard_data.dart` - - Proper domain entity to replace raw `Map` - - Immutable, equatable data class - - Clear field definitions with documentation - -**Updated:** -- `lib/src/domain/repositories/home_repository_interface.dart` - - Changed from `abstract class` to `abstract interface class` - - Return type changed from `Map` to `HomeDashboardData` - -- `lib/src/domain/usecases/get_dashboard_data_usecase.dart` - - Return type updated to `HomeDashboardData` - -### 2. Data Layer Improvements - -**Updated:** -- `lib/src/data/repositories_impl/home_repository_impl.dart` - - Returns `HomeDashboardData` entity instead of raw map - - Properly typed mock data - -### 3. Presentation Layer Refactor - -**Major Changes to `client_home_page.dart`:** -- ✅ Converted from `StatefulWidget` to `StatelessWidget` -- ✅ Removed local state management (moved to BLoC) -- ✅ BLoC lifecycle managed by `BlocProvider.create` -- ✅ All event dispatching uses `BlocProvider.of(context)` -- ✅ Removed direct BLoC instance storage -- ✅ Fixed deprecated `withOpacity` → `withValues(alpha:)` - -**Updated `client_home_state.dart`:** -- Replaced individual primitive fields with `HomeDashboardData` entity -- Simplified state structure -- Cleaner `copyWith` implementation - -**Updated `client_home_bloc.dart`:** -- Simplified event handler to use entity directly -- No more manual field extraction from maps - -**Widget Updates:** -- `coverage_widget.dart`: Now accepts typed parameters -- All widgets: Fixed deprecated `withOpacity` calls -- `shift_order_form_sheet.dart`: Fixed deprecated `value` → `initialValue` - -## 🎯 Architecture Compliance - -### ✅ Clean Architecture Rules -- [x] Domain layer is pure Dart (entities only) -- [x] Repository interfaces in domain, implementations in data -- [x] Use cases properly delegate to repositories -- [x] Presentation layer depends on domain abstractions -- [x] No feature-to-feature imports - -### ✅ Presentation Rules -- [x] Page is `StatelessWidget` -- [x] State managed by BLoC -- [x] No business logic in page -- [x] BLoC lifecycle properly managed -- [x] Named parameters used throughout - -### ✅ Code Quality -- [x] No deprecation warnings -- [x] All files have doc comments -- [x] Consistent naming conventions -- [x] `flutter analyze` passes with 0 issues - -## 📊 Before vs After - -### Before: -```dart -// StatefulWidget with local state -class ClientHomePage extends StatefulWidget { - late final ClientHomeBloc _homeBloc; - - @override - void initState() { - _homeBloc = Modular.get(); - } -} - -// Raw maps in domain -Future> getDashboardData(); - -// Manual field extraction -weeklySpending: data['weeklySpending'] as double?, -``` - -### After: -```dart -// StatelessWidget, BLoC-managed -class ClientHomePage extends StatelessWidget { - @override - Widget build(BuildContext context) { - return BlocProvider( - create: (context) => Modular.get()..add(ClientHomeStarted()), - // ... - ); - } -} - -// Typed entities -Future getDashboardData(); - -// Direct entity usage -dashboardData: data, -``` - -## 🔍 Reference Alignment - -The refactored code now matches the structure of `packages/features/staff/authentication`: -- StatelessWidget pages -- BLoC-managed state -- Typed domain entities -- Clean separation of concerns - -## 🚀 Next Steps - -The feature is now production-ready and follows all architectural guidelines. Future enhancements should: -1. Add unit tests for use cases -2. Add widget tests for pages -3. Add integration tests for complete flows -4. Consider extracting reusable widgets to design_system if used across features diff --git a/apps/mobile/packages/features/client/home/pubspec.yaml b/apps/mobile/packages/features/client/home/pubspec.yaml index 3ee5f5f7..6c32f138 100644 --- a/apps/mobile/packages/features/client/home/pubspec.yaml +++ b/apps/mobile/packages/features/client/home/pubspec.yaml @@ -16,6 +16,7 @@ dependencies: equatable: ^2.0.5 lucide_icons: ^0.257.0 + # Architecture Packages design_system: path: ../../../design_system core_localization: diff --git a/apps/mobile/packages/features/client/hubs/pubspec.yaml b/apps/mobile/packages/features/client/hubs/pubspec.yaml index f625494a..58edd20c 100644 --- a/apps/mobile/packages/features/client/hubs/pubspec.yaml +++ b/apps/mobile/packages/features/client/hubs/pubspec.yaml @@ -16,7 +16,7 @@ dependencies: equatable: ^2.0.5 lucide_icons: ^0.257.0 - # KROW Packages + # Architecture Packages krow_core: path: ../../../core krow_domain: diff --git a/apps/mobile/packages/features/client/settings/pubspec.yaml b/apps/mobile/packages/features/client/settings/pubspec.yaml index 67077c9a..85acb228 100644 --- a/apps/mobile/packages/features/client/settings/pubspec.yaml +++ b/apps/mobile/packages/features/client/settings/pubspec.yaml @@ -16,6 +16,7 @@ dependencies: equatable: ^2.0.5 lucide_icons: ^0.257.0 + # Architecture Packages design_system: path: ../../../design_system core_localization: From 703235d69b832ed8147c49994d22dda870ed2bb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Salazar?= <73718835+joshrs23@users.noreply.github.com> Date: Thu, 22 Jan 2026 12:37:08 -0500 Subject: [PATCH 08/19] making city null --- backend/dataconnect/connector/teamHub/mutations.gql | 2 +- backend/dataconnect/schema/teamHub.gql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/dataconnect/connector/teamHub/mutations.gql b/backend/dataconnect/connector/teamHub/mutations.gql index 9569aa79..38542c35 100644 --- a/backend/dataconnect/connector/teamHub/mutations.gql +++ b/backend/dataconnect/connector/teamHub/mutations.gql @@ -2,7 +2,7 @@ mutation createTeamHub( $teamId: UUID! $hubName: String! $address: String! - $city: String! + $city: String $state: String $zipCode: String $managerName: String diff --git a/backend/dataconnect/schema/teamHub.gql b/backend/dataconnect/schema/teamHub.gql index 01a79da2..a206a6fd 100644 --- a/backend/dataconnect/schema/teamHub.gql +++ b/backend/dataconnect/schema/teamHub.gql @@ -6,7 +6,7 @@ type TeamHub @table(name: "team_hubs") { hubName: String! address: String! - city: String! + city: String state: String zipCode: String managerName: String From c57cb65074bfb2b667641069305be850e6dabfae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Salazar?= <73718835+joshrs23@users.noreply.github.com> Date: Thu, 22 Jan 2026 12:37:21 -0500 Subject: [PATCH 09/19] new schemas --- .../dataconnect_generated/.guides/usage.md | 24 +- .../lib/src/dataconnect_generated/README.md | 29617 ++++++++-------- .../create_team_hub.dart | 24 +- .../src/dataconnect_generated/generated.dart | 3650 +- .../get_team_hub_by_id.dart | 10 +- .../get_team_hubs_by_team_id.dart | 10 +- .../dataconnect_generated/list_team_hubs.dart | 10 +- .../list_team_hubs_by_owner_id.dart | 10 +- .../hub_repository_impl.dart | 5 +- 9 files changed, 16686 insertions(+), 16674 deletions(-) diff --git a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/.guides/usage.md b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/.guides/usage.md index ef4f658b..82c678d2 100644 --- a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/.guides/usage.md +++ b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/.guides/usage.md @@ -1,16 +1,16 @@ # Basic Usage ```dart -ExampleConnector.instance.createFaqData(createFaqDataVariables).execute(); -ExampleConnector.instance.updateFaqData(updateFaqDataVariables).execute(); -ExampleConnector.instance.deleteFaqData(deleteFaqDataVariables).execute(); -ExampleConnector.instance.createLevel(createLevelVariables).execute(); -ExampleConnector.instance.updateLevel(updateLevelVariables).execute(); -ExampleConnector.instance.deleteLevel(deleteLevelVariables).execute(); -ExampleConnector.instance.listMessages().execute(); -ExampleConnector.instance.getMessageById(getMessageByIdVariables).execute(); -ExampleConnector.instance.getMessagesByConversationId(getMessagesByConversationIdVariables).execute(); -ExampleConnector.instance.createRole(createRoleVariables).execute(); +ExampleConnector.instance.createTeamHudDepartment(createTeamHudDepartmentVariables).execute(); +ExampleConnector.instance.updateTeamHudDepartment(updateTeamHudDepartmentVariables).execute(); +ExampleConnector.instance.deleteTeamHudDepartment(deleteTeamHudDepartmentVariables).execute(); +ExampleConnector.instance.listAssignments(listAssignmentsVariables).execute(); +ExampleConnector.instance.getAssignmentById(getAssignmentByIdVariables).execute(); +ExampleConnector.instance.listAssignmentsByWorkforceId(listAssignmentsByWorkforceIdVariables).execute(); +ExampleConnector.instance.listAssignmentsByWorkforceIds(listAssignmentsByWorkforceIdsVariables).execute(); +ExampleConnector.instance.listAssignmentsByShiftRole(listAssignmentsByShiftRoleVariables).execute(); +ExampleConnector.instance.filterAssignments(filterAssignmentsVariables).execute(); +ExampleConnector.instance.CreateCertificate(createCertificateVariables).execute(); ``` @@ -23,8 +23,8 @@ Optional fields can be discovered based on classes that have `Optional` object t This is an example of a mutation with an optional field: ```dart -await ExampleConnector.instance.updateBusiness({ ... }) -.businessName(...) +await ExampleConnector.instance.updateShift({ ... }) +.title(...) .execute(); ``` diff --git a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/README.md b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/README.md index e7c3d06b..97f17f4b 100644 --- a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/README.md +++ b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/README.md @@ -21,17 +21,39 @@ ExampleConnector.instance.dataConnect.useDataConnectEmulator(host, port); You can also call queries and mutations by using the connector class. ## Queries -### listMessages +### listAssignments #### Required Arguments ```dart // No required arguments -ExampleConnector.instance.listMessages().execute(); +ExampleConnector.instance.listAssignments().execute(); ``` +#### Optional Arguments +We return a builder for each query. For listAssignments, we created `listAssignmentsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListAssignmentsVariablesBuilder { + ... + + ListAssignmentsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListAssignmentsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + ... +} +ExampleConnector.instance.listAssignments() +.offset(offset) +.limit(limit) +.execute(); +``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -46,8 +68,8 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.listMessages(); -listMessagesData data = result.data; +final result = await ExampleConnector.instance.listAssignments(); +listAssignmentsData data = result.data; final ref = result.ref; ``` @@ -55,18 +77,18 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -final ref = ExampleConnector.instance.listMessages().ref(); +final ref = ExampleConnector.instance.listAssignments().ref(); ref.execute(); ref.subscribe(...); ``` -### getMessageById +### getAssignmentById #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.getMessageById( +ExampleConnector.instance.getAssignmentById( id: id, ).execute(); ``` @@ -74,7 +96,7 @@ ExampleConnector.instance.getMessageById( #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -89,10 +111,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.getMessageById( +final result = await ExampleConnector.instance.getAssignmentById( id: id, ); -getMessageByIdData data = result.data; +getAssignmentByIdData data = result.data; final ref = result.ref; ``` @@ -102,7 +124,7 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.getMessageById( +final ref = ExampleConnector.instance.getAssignmentById( id: id, ).ref(); ref.execute(); @@ -111,19 +133,42 @@ ref.subscribe(...); ``` -### getMessagesByConversationId +### listAssignmentsByWorkforceId #### Required Arguments ```dart -String conversationId = ...; -ExampleConnector.instance.getMessagesByConversationId( - conversationId: conversationId, +String workforceId = ...; +ExampleConnector.instance.listAssignmentsByWorkforceId( + workforceId: workforceId, ).execute(); ``` +#### Optional Arguments +We return a builder for each query. For listAssignmentsByWorkforceId, we created `listAssignmentsByWorkforceIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListAssignmentsByWorkforceIdVariablesBuilder { + ... + ListAssignmentsByWorkforceIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListAssignmentsByWorkforceIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + ... +} +ExampleConnector.instance.listAssignmentsByWorkforceId( + workforceId: workforceId, +) +.offset(offset) +.limit(limit) +.execute(); +``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -138,10 +183,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.getMessagesByConversationId( - conversationId: conversationId, +final result = await ExampleConnector.instance.listAssignmentsByWorkforceId( + workforceId: workforceId, ); -getMessagesByConversationIdData data = result.data; +listAssignmentsByWorkforceIdData data = result.data; final ref = result.ref; ``` @@ -149,10 +194,243 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String conversationId = ...; +String workforceId = ...; -final ref = ExampleConnector.instance.getMessagesByConversationId( - conversationId: conversationId, +final ref = ExampleConnector.instance.listAssignmentsByWorkforceId( + workforceId: workforceId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listAssignmentsByWorkforceIds +#### Required Arguments +```dart +String workforceIds = ...; +ExampleConnector.instance.listAssignmentsByWorkforceIds( + workforceIds: workforceIds, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listAssignmentsByWorkforceIds, we created `listAssignmentsByWorkforceIdsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListAssignmentsByWorkforceIdsVariablesBuilder { + ... + ListAssignmentsByWorkforceIdsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListAssignmentsByWorkforceIdsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listAssignmentsByWorkforceIds( + workforceIds: workforceIds, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listAssignmentsByWorkforceIds( + workforceIds: workforceIds, +); +listAssignmentsByWorkforceIdsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String workforceIds = ...; + +final ref = ExampleConnector.instance.listAssignmentsByWorkforceIds( + workforceIds: workforceIds, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listAssignmentsByShiftRole +#### Required Arguments +```dart +String shiftId = ...; +String roleId = ...; +ExampleConnector.instance.listAssignmentsByShiftRole( + shiftId: shiftId, + roleId: roleId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listAssignmentsByShiftRole, we created `listAssignmentsByShiftRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListAssignmentsByShiftRoleVariablesBuilder { + ... + ListAssignmentsByShiftRoleVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListAssignmentsByShiftRoleVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listAssignmentsByShiftRole( + shiftId: shiftId, + roleId: roleId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listAssignmentsByShiftRole( + shiftId: shiftId, + roleId: roleId, +); +listAssignmentsByShiftRoleData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String shiftId = ...; +String roleId = ...; + +final ref = ExampleConnector.instance.listAssignmentsByShiftRole( + shiftId: shiftId, + roleId: roleId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterAssignments +#### Required Arguments +```dart +String shiftIds = ...; +String roleIds = ...; +ExampleConnector.instance.filterAssignments( + shiftIds: shiftIds, + roleIds: roleIds, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterAssignments, we created `filterAssignmentsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterAssignmentsVariablesBuilder { + ... + FilterAssignmentsVariablesBuilder status(AssignmentStatus? t) { + _status.value = t; + return this; + } + FilterAssignmentsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + FilterAssignmentsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterAssignments( + shiftIds: shiftIds, + roleIds: roleIds, +) +.status(status) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterAssignments( + shiftIds: shiftIds, + roleIds: roleIds, +); +filterAssignmentsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String shiftIds = ...; +String roleIds = ...; + +final ref = ExampleConnector.instance.filterAssignments( + shiftIds: shiftIds, + roleIds: roleIds, ).ref(); ref.execute(); @@ -514,39 +792,214 @@ ref.subscribe(...); ``` -### listInvoiceTemplates +### listVendorRates #### Required Arguments ```dart // No required arguments -ExampleConnector.instance.listInvoiceTemplates().execute(); +ExampleConnector.instance.listVendorRates().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listVendorRates(); +listVendorRatesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listVendorRates().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getVendorRateById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getVendorRateById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getVendorRateById( + id: id, +); +getVendorRateByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getVendorRateById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listDocuments +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listDocuments().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listDocuments(); +listDocumentsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listDocuments().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getDocumentById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getDocumentById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getDocumentById( + id: id, +); +getDocumentByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getDocumentById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterDocuments +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterDocuments().execute(); ``` #### Optional Arguments -We return a builder for each query. For listInvoiceTemplates, we created `listInvoiceTemplatesBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For filterDocuments, we created `filterDocumentsBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class ListInvoiceTemplatesVariablesBuilder { +class FilterDocumentsVariablesBuilder { ... - ListInvoiceTemplatesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesVariablesBuilder limit(int? t) { - _limit.value = t; + FilterDocumentsVariablesBuilder documentType(DocumentType? t) { + _documentType.value = t; return this; } ... } -ExampleConnector.instance.listInvoiceTemplates() -.offset(offset) -.limit(limit) +ExampleConnector.instance.filterDocuments() +.documentType(documentType) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -561,8 +1014,8 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.listInvoiceTemplates(); -listInvoiceTemplatesData data = result.data; +final result = await ExampleConnector.instance.filterDocuments(); +filterDocumentsData data = result.data; final ref = result.ref; ``` @@ -570,2623 +1023,7 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -final ref = ExampleConnector.instance.listInvoiceTemplates().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getInvoiceTemplateById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getInvoiceTemplateById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getInvoiceTemplateById( - id: id, -); -getInvoiceTemplateByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getInvoiceTemplateById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoiceTemplatesByOwnerId -#### Required Arguments -```dart -String ownerId = ...; -ExampleConnector.instance.listInvoiceTemplatesByOwnerId( - ownerId: ownerId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoiceTemplatesByOwnerId, we created `listInvoiceTemplatesByOwnerIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoiceTemplatesByOwnerIdVariablesBuilder { - ... - ListInvoiceTemplatesByOwnerIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesByOwnerIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoiceTemplatesByOwnerId( - ownerId: ownerId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoiceTemplatesByOwnerId( - ownerId: ownerId, -); -listInvoiceTemplatesByOwnerIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; - -final ref = ExampleConnector.instance.listInvoiceTemplatesByOwnerId( - ownerId: ownerId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoiceTemplatesByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listInvoiceTemplatesByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoiceTemplatesByVendorId, we created `listInvoiceTemplatesByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoiceTemplatesByVendorIdVariablesBuilder { - ... - ListInvoiceTemplatesByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoiceTemplatesByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoiceTemplatesByVendorId( - vendorId: vendorId, -); -listInvoiceTemplatesByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listInvoiceTemplatesByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoiceTemplatesByBusinessId -#### Required Arguments -```dart -String businessId = ...; -ExampleConnector.instance.listInvoiceTemplatesByBusinessId( - businessId: businessId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoiceTemplatesByBusinessId, we created `listInvoiceTemplatesByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoiceTemplatesByBusinessIdVariablesBuilder { - ... - ListInvoiceTemplatesByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoiceTemplatesByBusinessId( - businessId: businessId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoiceTemplatesByBusinessId( - businessId: businessId, -); -listInvoiceTemplatesByBusinessIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; - -final ref = ExampleConnector.instance.listInvoiceTemplatesByBusinessId( - businessId: businessId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoiceTemplatesByOrderId -#### Required Arguments -```dart -String orderId = ...; -ExampleConnector.instance.listInvoiceTemplatesByOrderId( - orderId: orderId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoiceTemplatesByOrderId, we created `listInvoiceTemplatesByOrderIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoiceTemplatesByOrderIdVariablesBuilder { - ... - ListInvoiceTemplatesByOrderIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoiceTemplatesByOrderIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoiceTemplatesByOrderId( - orderId: orderId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoiceTemplatesByOrderId( - orderId: orderId, -); -listInvoiceTemplatesByOrderIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String orderId = ...; - -final ref = ExampleConnector.instance.listInvoiceTemplatesByOrderId( - orderId: orderId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### searchInvoiceTemplatesByOwnerAndName -#### Required Arguments -```dart -String ownerId = ...; -String name = ...; -ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( - ownerId: ownerId, - name: name, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For searchInvoiceTemplatesByOwnerAndName, we created `searchInvoiceTemplatesByOwnerAndNameBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder { - ... - SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( - ownerId: ownerId, - name: name, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( - ownerId: ownerId, - name: name, -); -searchInvoiceTemplatesByOwnerAndNameData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; -String name = ...; - -final ref = ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( - ownerId: ownerId, - name: name, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listBusinesses -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listBusinesses().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listBusinesses(); -listBusinessesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listBusinesses().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getBusinessesByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.getBusinessesByUserId( - userId: userId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getBusinessesByUserId( - userId: userId, -); -getBusinessesByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.getBusinessesByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getBusinessById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getBusinessById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getBusinessById( - id: id, -); -getBusinessByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getBusinessById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPayments -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listRecentPayments().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPayments, we created `listRecentPaymentsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsVariablesBuilder { - ... - - ListRecentPaymentsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPayments() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPayments(); -listRecentPaymentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listRecentPayments().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getRecentPaymentById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getRecentPaymentById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getRecentPaymentById( - id: id, -); -getRecentPaymentByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getRecentPaymentById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listRecentPaymentsByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByStaffId, we created `listRecentPaymentsByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByStaffIdVariablesBuilder { - ... - ListRecentPaymentsByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByStaffId( - staffId: staffId, -); -listRecentPaymentsByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByApplicationId -#### Required Arguments -```dart -String applicationId = ...; -ExampleConnector.instance.listRecentPaymentsByApplicationId( - applicationId: applicationId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByApplicationId, we created `listRecentPaymentsByApplicationIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByApplicationIdVariablesBuilder { - ... - ListRecentPaymentsByApplicationIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByApplicationIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByApplicationId( - applicationId: applicationId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByApplicationId( - applicationId: applicationId, -); -listRecentPaymentsByApplicationIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String applicationId = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByApplicationId( - applicationId: applicationId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByInvoiceId -#### Required Arguments -```dart -String invoiceId = ...; -ExampleConnector.instance.listRecentPaymentsByInvoiceId( - invoiceId: invoiceId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByInvoiceId, we created `listRecentPaymentsByInvoiceIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByInvoiceIdVariablesBuilder { - ... - ListRecentPaymentsByInvoiceIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByInvoiceIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByInvoiceId( - invoiceId: invoiceId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByInvoiceId( - invoiceId: invoiceId, -); -listRecentPaymentsByInvoiceIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String invoiceId = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByInvoiceId( - invoiceId: invoiceId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByStatus -#### Required Arguments -```dart -RecentPaymentStatus status = ...; -ExampleConnector.instance.listRecentPaymentsByStatus( - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByStatus, we created `listRecentPaymentsByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByStatusVariablesBuilder { - ... - ListRecentPaymentsByStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByStatus( - status: status, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByStatus( - status: status, -); -listRecentPaymentsByStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -RecentPaymentStatus status = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByStatus( - status: status, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByInvoiceIds -#### Required Arguments -```dart -String invoiceIds = ...; -ExampleConnector.instance.listRecentPaymentsByInvoiceIds( - invoiceIds: invoiceIds, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByInvoiceIds, we created `listRecentPaymentsByInvoiceIdsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByInvoiceIdsVariablesBuilder { - ... - ListRecentPaymentsByInvoiceIdsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByInvoiceIdsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByInvoiceIds( - invoiceIds: invoiceIds, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByInvoiceIds( - invoiceIds: invoiceIds, -); -listRecentPaymentsByInvoiceIdsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String invoiceIds = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByInvoiceIds( - invoiceIds: invoiceIds, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRecentPaymentsByBusinessId -#### Required Arguments -```dart -String businessId = ...; -ExampleConnector.instance.listRecentPaymentsByBusinessId( - businessId: businessId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listRecentPaymentsByBusinessId, we created `listRecentPaymentsByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListRecentPaymentsByBusinessIdVariablesBuilder { - ... - ListRecentPaymentsByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListRecentPaymentsByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listRecentPaymentsByBusinessId( - businessId: businessId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRecentPaymentsByBusinessId( - businessId: businessId, -); -listRecentPaymentsByBusinessIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; - -final ref = ExampleConnector.instance.listRecentPaymentsByBusinessId( - businessId: businessId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTeamHudDepartments -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTeamHudDepartments().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listTeamHudDepartments, we created `listTeamHudDepartmentsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListTeamHudDepartmentsVariablesBuilder { - ... - - ListTeamHudDepartmentsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListTeamHudDepartmentsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listTeamHudDepartments() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTeamHudDepartments(); -listTeamHudDepartmentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTeamHudDepartments().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamHudDepartmentById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTeamHudDepartmentById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamHudDepartmentById( - id: id, -); -getTeamHudDepartmentByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTeamHudDepartmentById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTeamHudDepartmentsByTeamHubId -#### Required Arguments -```dart -String teamHubId = ...; -ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( - teamHubId: teamHubId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listTeamHudDepartmentsByTeamHubId, we created `listTeamHudDepartmentsByTeamHubIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListTeamHudDepartmentsByTeamHubIdVariablesBuilder { - ... - ListTeamHudDepartmentsByTeamHubIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListTeamHudDepartmentsByTeamHubIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( - teamHubId: teamHubId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( - teamHubId: teamHubId, -); -listTeamHudDepartmentsByTeamHubIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamHubId = ...; - -final ref = ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( - teamHubId: teamHubId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaff -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listStaff().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaff(); -listStaffData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listStaff().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getStaffById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffById( - id: id, -); -getStaffByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getStaffById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.getStaffByUserId( - userId: userId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffByUserId( - userId: userId, -); -getStaffByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.getStaffByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterStaff -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterStaff().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterStaff, we created `filterStaffBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterStaffVariablesBuilder { - ... - - FilterStaffVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - FilterStaffVariablesBuilder fullName(String? t) { - _fullName.value = t; - return this; - } - FilterStaffVariablesBuilder level(String? t) { - _level.value = t; - return this; - } - FilterStaffVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterStaff() -.ownerId(ownerId) -.fullName(fullName) -.level(level) -.email(email) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterStaff(); -filterStaffData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterStaff().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffDocumentByKey -#### Required Arguments -```dart -String staffId = ...; -String documentId = ...; -ExampleConnector.instance.getStaffDocumentByKey( - staffId: staffId, - documentId: documentId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffDocumentByKey( - staffId: staffId, - documentId: documentId, -); -getStaffDocumentByKeyData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String documentId = ...; - -final ref = ExampleConnector.instance.getStaffDocumentByKey( - staffId: staffId, - documentId: documentId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffDocumentsByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listStaffDocumentsByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffDocumentsByStaffId, we created `listStaffDocumentsByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffDocumentsByStaffIdVariablesBuilder { - ... - ListStaffDocumentsByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffDocumentsByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffDocumentsByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffDocumentsByStaffId( - staffId: staffId, -); -listStaffDocumentsByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listStaffDocumentsByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffDocumentsByDocumentType -#### Required Arguments -```dart -DocumentType documentType = ...; -ExampleConnector.instance.listStaffDocumentsByDocumentType( - documentType: documentType, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffDocumentsByDocumentType, we created `listStaffDocumentsByDocumentTypeBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffDocumentsByDocumentTypeVariablesBuilder { - ... - ListStaffDocumentsByDocumentTypeVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffDocumentsByDocumentTypeVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffDocumentsByDocumentType( - documentType: documentType, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffDocumentsByDocumentType( - documentType: documentType, -); -listStaffDocumentsByDocumentTypeData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -DocumentType documentType = ...; - -final ref = ExampleConnector.instance.listStaffDocumentsByDocumentType( - documentType: documentType, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffDocumentsByStatus -#### Required Arguments -```dart -DocumentStatus status = ...; -ExampleConnector.instance.listStaffDocumentsByStatus( - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffDocumentsByStatus, we created `listStaffDocumentsByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffDocumentsByStatusVariablesBuilder { - ... - ListStaffDocumentsByStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffDocumentsByStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffDocumentsByStatus( - status: status, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffDocumentsByStatus( - status: status, -); -listStaffDocumentsByStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -DocumentStatus status = ...; - -final ref = ExampleConnector.instance.listStaffDocumentsByStatus( - status: status, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listVendorBenefitPlans -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listVendorBenefitPlans().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listVendorBenefitPlans, we created `listVendorBenefitPlansBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListVendorBenefitPlansVariablesBuilder { - ... - - ListVendorBenefitPlansVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListVendorBenefitPlansVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listVendorBenefitPlans() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listVendorBenefitPlans(); -listVendorBenefitPlansData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listVendorBenefitPlans().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getVendorBenefitPlanById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getVendorBenefitPlanById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getVendorBenefitPlanById( - id: id, -); -getVendorBenefitPlanByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getVendorBenefitPlanById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listVendorBenefitPlansByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listVendorBenefitPlansByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listVendorBenefitPlansByVendorId, we created `listVendorBenefitPlansByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListVendorBenefitPlansByVendorIdVariablesBuilder { - ... - ListVendorBenefitPlansByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListVendorBenefitPlansByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listVendorBenefitPlansByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listVendorBenefitPlansByVendorId( - vendorId: vendorId, -); -listVendorBenefitPlansByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listVendorBenefitPlansByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listActiveVendorBenefitPlansByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listActiveVendorBenefitPlansByVendorId, we created `listActiveVendorBenefitPlansByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListActiveVendorBenefitPlansByVendorIdVariablesBuilder { - ... - ListActiveVendorBenefitPlansByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListActiveVendorBenefitPlansByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( - vendorId: vendorId, -); -listActiveVendorBenefitPlansByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterVendorBenefitPlans -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterVendorBenefitPlans().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterVendorBenefitPlans, we created `filterVendorBenefitPlansBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterVendorBenefitPlansVariablesBuilder { - ... - - FilterVendorBenefitPlansVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - FilterVendorBenefitPlansVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - FilterVendorBenefitPlansVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - FilterVendorBenefitPlansVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterVendorBenefitPlansVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterVendorBenefitPlans() -.vendorId(vendorId) -.title(title) -.isActive(isActive) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterVendorBenefitPlans(); -filterVendorBenefitPlansData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterVendorBenefitPlans().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listLevels -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listLevels().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listLevels(); -listLevelsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listLevels().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getLevelById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getLevelById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getLevelById( - id: id, -); -getLevelByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getLevelById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterLevels -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterLevels().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterLevels, we created `filterLevelsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterLevelsVariablesBuilder { - ... - - FilterLevelsVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - FilterLevelsVariablesBuilder xpRequired(int? t) { - _xpRequired.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterLevels() -.name(name) -.xpRequired(xpRequired) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterLevels(); -filterLevelsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterLevels().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listAccounts -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listAccounts().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAccounts(); -listAccountsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listAccounts().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getAccountById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getAccountById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getAccountById( - id: id, -); -getAccountByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getAccountById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getAccountsByOwnerId -#### Required Arguments -```dart -String ownerId = ...; -ExampleConnector.instance.getAccountsByOwnerId( - ownerId: ownerId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getAccountsByOwnerId( - ownerId: ownerId, -); -getAccountsByOwnerIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; - -final ref = ExampleConnector.instance.getAccountsByOwnerId( - ownerId: ownerId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterAccounts -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterAccounts().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterAccounts, we created `filterAccountsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterAccountsVariablesBuilder { - ... - - FilterAccountsVariablesBuilder bank(String? t) { - _bank.value = t; - return this; - } - FilterAccountsVariablesBuilder type(AccountType? t) { - _type.value = t; - return this; - } - FilterAccountsVariablesBuilder isPrimary(bool? t) { - _isPrimary.value = t; - return this; - } - FilterAccountsVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterAccounts() -.bank(bank) -.type(type) -.isPrimary(isPrimary) -.ownerId(ownerId) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterAccounts(); -filterAccountsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterAccounts().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listCategories -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listCategories().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listCategories(); -listCategoriesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listCategories().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getCategoryById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getCategoryById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getCategoryById( - id: id, -); -getCategoryByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getCategoryById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterCategories -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterCategories().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterCategories, we created `filterCategoriesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterCategoriesVariablesBuilder { - ... - - FilterCategoriesVariablesBuilder categoryId(String? t) { - _categoryId.value = t; - return this; - } - FilterCategoriesVariablesBuilder label(String? t) { - _label.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterCategories() -.categoryId(categoryId) -.label(label) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterCategories(); -filterCategoriesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterCategories().ref(); +final ref = ExampleConnector.instance.filterDocuments().ref(); ref.execute(); ref.subscribe(...); @@ -3692,595 +1529,6 @@ ref.subscribe(...); ``` -### getMyTasks -#### Required Arguments -```dart -String teamMemberId = ...; -ExampleConnector.instance.getMyTasks( - teamMemberId: teamMemberId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getMyTasks( - teamMemberId: teamMemberId, -); -getMyTasksData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamMemberId = ...; - -final ref = ExampleConnector.instance.getMyTasks( - teamMemberId: teamMemberId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getMemberTaskByIdKey -#### Required Arguments -```dart -String teamMemberId = ...; -String taskId = ...; -ExampleConnector.instance.getMemberTaskByIdKey( - teamMemberId: teamMemberId, - taskId: taskId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getMemberTaskByIdKey( - teamMemberId: teamMemberId, - taskId: taskId, -); -getMemberTaskByIdKeyData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamMemberId = ...; -String taskId = ...; - -final ref = ExampleConnector.instance.getMemberTaskByIdKey( - teamMemberId: teamMemberId, - taskId: taskId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getMemberTasksByTaskId -#### Required Arguments -```dart -String taskId = ...; -ExampleConnector.instance.getMemberTasksByTaskId( - taskId: taskId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getMemberTasksByTaskId( - taskId: taskId, -); -getMemberTasksByTaskIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String taskId = ...; - -final ref = ExampleConnector.instance.getMemberTasksByTaskId( - taskId: taskId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listFaqDatas -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listFaqDatas().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listFaqDatas(); -listFaqDatasData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listFaqDatas().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getFaqDataById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getFaqDataById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getFaqDataById( - id: id, -); -getFaqDataByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getFaqDataById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterFaqDatas -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterFaqDatas().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterFaqDatas, we created `filterFaqDatasBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterFaqDatasVariablesBuilder { - ... - - FilterFaqDatasVariablesBuilder category(String? t) { - _category.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterFaqDatas() -.category(category) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterFaqDatas(); -filterFaqDatasData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterFaqDatas().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listApplications -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listApplications().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listApplications(); -listApplicationsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listApplications().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getApplicationById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getApplicationById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getApplicationById( - id: id, -); -getApplicationByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getApplicationById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getApplicationsByShiftId -#### Required Arguments -```dart -String shiftId = ...; -ExampleConnector.instance.getApplicationsByShiftId( - shiftId: shiftId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getApplicationsByShiftId( - shiftId: shiftId, -); -getApplicationsByShiftIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; - -final ref = ExampleConnector.instance.getApplicationsByShiftId( - shiftId: shiftId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getApplicationsByShiftIdAndStatus -#### Required Arguments -```dart -String shiftId = ...; -ApplicationStatus status = ...; -ExampleConnector.instance.getApplicationsByShiftIdAndStatus( - shiftId: shiftId, - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getApplicationsByShiftIdAndStatus, we created `getApplicationsByShiftIdAndStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetApplicationsByShiftIdAndStatusVariablesBuilder { - ... - GetApplicationsByShiftIdAndStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetApplicationsByShiftIdAndStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getApplicationsByShiftIdAndStatus( - shiftId: shiftId, - status: status, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getApplicationsByShiftIdAndStatus( - shiftId: shiftId, - status: status, -); -getApplicationsByShiftIdAndStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; -ApplicationStatus status = ...; - -final ref = ExampleConnector.instance.getApplicationsByShiftIdAndStatus( - shiftId: shiftId, - status: status, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getApplicationsByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.getApplicationsByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getApplicationsByStaffId, we created `getApplicationsByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetApplicationsByStaffIdVariablesBuilder { - ... - GetApplicationsByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetApplicationsByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getApplicationsByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getApplicationsByStaffId( - staffId: staffId, -); -getApplicationsByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.getApplicationsByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - ### listConversations #### Required Arguments ```dart @@ -4625,39 +1873,17 @@ ref.subscribe(...); ``` -### listInvoices +### listStaff #### Required Arguments ```dart // No required arguments -ExampleConnector.instance.listInvoices().execute(); +ExampleConnector.instance.listStaff().execute(); ``` -#### Optional Arguments -We return a builder for each query. For listInvoices, we created `listInvoicesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoicesVariablesBuilder { - ... - - ListInvoicesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoicesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - ... -} -ExampleConnector.instance.listInvoices() -.offset(offset) -.limit(limit) -.execute(); -``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -4672,8 +1898,8 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.listInvoices(); -listInvoicesData data = result.data; +final result = await ExampleConnector.instance.listStaff(); +listStaffData data = result.data; final ref = result.ref; ``` @@ -4681,18 +1907,18 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -final ref = ExampleConnector.instance.listInvoices().ref(); +final ref = ExampleConnector.instance.listStaff().ref(); ref.execute(); ref.subscribe(...); ``` -### getInvoiceById +### getStaffById #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.getInvoiceById( +ExampleConnector.instance.getStaffById( id: id, ).execute(); ``` @@ -4700,7 +1926,7 @@ ExampleConnector.instance.getInvoiceById( #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -4715,10 +1941,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.getInvoiceById( +final result = await ExampleConnector.instance.getStaffById( id: id, ); -getInvoiceByIdData data = result.data; +getStaffByIdData data = result.data; final ref = result.ref; ``` @@ -4728,7 +1954,7 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.getInvoiceById( +final ref = ExampleConnector.instance.getStaffById( id: id, ).ref(); ref.execute(); @@ -4737,42 +1963,19 @@ ref.subscribe(...); ``` -### listInvoicesByVendorId +### getStaffByUserId #### Required Arguments ```dart -String vendorId = ...; -ExampleConnector.instance.listInvoicesByVendorId( - vendorId: vendorId, +String userId = ...; +ExampleConnector.instance.getStaffByUserId( + userId: userId, ).execute(); ``` -#### Optional Arguments -We return a builder for each query. For listInvoicesByVendorId, we created `listInvoicesByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoicesByVendorIdVariablesBuilder { - ... - ListInvoicesByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoicesByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - ... -} -ExampleConnector.instance.listInvoicesByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -4787,10 +1990,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.listInvoicesByVendorId( - vendorId: vendorId, +final result = await ExampleConnector.instance.getStaffByUserId( + userId: userId, ); -listInvoicesByVendorIdData data = result.data; +getStaffByUserIdData data = result.data; final ref = result.ref; ``` @@ -4798,10 +2001,10 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String vendorId = ...; +String userId = ...; -final ref = ExampleConnector.instance.listInvoicesByVendorId( - vendorId: vendorId, +final ref = ExampleConnector.instance.getStaffByUserId( + userId: userId, ).ref(); ref.execute(); @@ -4809,295 +2012,980 @@ ref.subscribe(...); ``` -### listInvoicesByBusinessId -#### Required Arguments -```dart -String businessId = ...; -ExampleConnector.instance.listInvoicesByBusinessId( - businessId: businessId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoicesByBusinessId, we created `listInvoicesByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoicesByBusinessIdVariablesBuilder { - ... - ListInvoicesByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoicesByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoicesByBusinessId( - businessId: businessId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoicesByBusinessId( - businessId: businessId, -); -listInvoicesByBusinessIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; - -final ref = ExampleConnector.instance.listInvoicesByBusinessId( - businessId: businessId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoicesByOrderId -#### Required Arguments -```dart -String orderId = ...; -ExampleConnector.instance.listInvoicesByOrderId( - orderId: orderId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoicesByOrderId, we created `listInvoicesByOrderIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoicesByOrderIdVariablesBuilder { - ... - ListInvoicesByOrderIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoicesByOrderIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoicesByOrderId( - orderId: orderId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoicesByOrderId( - orderId: orderId, -); -listInvoicesByOrderIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String orderId = ...; - -final ref = ExampleConnector.instance.listInvoicesByOrderId( - orderId: orderId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listInvoicesByStatus -#### Required Arguments -```dart -InvoiceStatus status = ...; -ExampleConnector.instance.listInvoicesByStatus( - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listInvoicesByStatus, we created `listInvoicesByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListInvoicesByStatusVariablesBuilder { - ... - ListInvoicesByStatusVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListInvoicesByStatusVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listInvoicesByStatus( - status: status, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listInvoicesByStatus( - status: status, -); -listInvoicesByStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -InvoiceStatus status = ...; - -final ref = ExampleConnector.instance.listInvoicesByStatus( - status: status, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterInvoices +### filterStaff #### Required Arguments ```dart // No required arguments -ExampleConnector.instance.filterInvoices().execute(); +ExampleConnector.instance.filterStaff().execute(); ``` #### Optional Arguments -We return a builder for each query. For filterInvoices, we created `filterInvoicesBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For filterStaff, we created `filterStaffBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class FilterInvoicesVariablesBuilder { +class FilterStaffVariablesBuilder { ... - FilterInvoicesVariablesBuilder vendorId(String? t) { + FilterStaffVariablesBuilder ownerId(String? t) { + _ownerId.value = t; + return this; + } + FilterStaffVariablesBuilder fullName(String? t) { + _fullName.value = t; + return this; + } + FilterStaffVariablesBuilder level(String? t) { + _level.value = t; + return this; + } + FilterStaffVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterStaff() +.ownerId(ownerId) +.fullName(fullName) +.level(level) +.email(email) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterStaff(); +filterStaffData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterStaff().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffAvailabilities +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listStaffAvailabilities().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffAvailabilities, we created `listStaffAvailabilitiesBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffAvailabilitiesVariablesBuilder { + ... + + ListStaffAvailabilitiesVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffAvailabilitiesVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffAvailabilities() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffAvailabilities(); +listStaffAvailabilitiesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listStaffAvailabilities().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffAvailabilitiesByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.listStaffAvailabilitiesByStaffId( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffAvailabilitiesByStaffId, we created `listStaffAvailabilitiesByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffAvailabilitiesByStaffIdVariablesBuilder { + ... + ListStaffAvailabilitiesByStaffIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffAvailabilitiesByStaffIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffAvailabilitiesByStaffId( + staffId: staffId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffAvailabilitiesByStaffId( + staffId: staffId, +); +listStaffAvailabilitiesByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.listStaffAvailabilitiesByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getStaffAvailabilityByKey +#### Required Arguments +```dart +String staffId = ...; +DayOfWeek day = ...; +AvailabilitySlot slot = ...; +ExampleConnector.instance.getStaffAvailabilityByKey( + staffId: staffId, + day: day, + slot: slot, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getStaffAvailabilityByKey( + staffId: staffId, + day: day, + slot: slot, +); +getStaffAvailabilityByKeyData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +DayOfWeek day = ...; +AvailabilitySlot slot = ...; + +final ref = ExampleConnector.instance.getStaffAvailabilityByKey( + staffId: staffId, + day: day, + slot: slot, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffAvailabilitiesByDay +#### Required Arguments +```dart +DayOfWeek day = ...; +ExampleConnector.instance.listStaffAvailabilitiesByDay( + day: day, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffAvailabilitiesByDay, we created `listStaffAvailabilitiesByDayBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffAvailabilitiesByDayVariablesBuilder { + ... + ListStaffAvailabilitiesByDayVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffAvailabilitiesByDayVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffAvailabilitiesByDay( + day: day, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffAvailabilitiesByDay( + day: day, +); +listStaffAvailabilitiesByDayData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +DayOfWeek day = ...; + +final ref = ExampleConnector.instance.listStaffAvailabilitiesByDay( + day: day, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listTaskComments +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listTaskComments().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listTaskComments(); +listTaskCommentsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listTaskComments().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTaskCommentById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getTaskCommentById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTaskCommentById( + id: id, +); +getTaskCommentByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getTaskCommentById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTaskCommentsByTaskId +#### Required Arguments +```dart +String taskId = ...; +ExampleConnector.instance.getTaskCommentsByTaskId( + taskId: taskId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTaskCommentsByTaskId( + taskId: taskId, +); +getTaskCommentsByTaskIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String taskId = ...; + +final ref = ExampleConnector.instance.getTaskCommentsByTaskId( + taskId: taskId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listCategories +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listCategories().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listCategories(); +listCategoriesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listCategories().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getCategoryById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getCategoryById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getCategoryById( + id: id, +); +getCategoryByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getCategoryById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterCategories +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterCategories().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterCategories, we created `filterCategoriesBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterCategoriesVariablesBuilder { + ... + + FilterCategoriesVariablesBuilder categoryId(String? t) { + _categoryId.value = t; + return this; + } + FilterCategoriesVariablesBuilder label(String? t) { + _label.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterCategories() +.categoryId(categoryId) +.label(label) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterCategories(); +filterCategoriesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterCategories().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffAvailabilityStats +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listStaffAvailabilityStats().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffAvailabilityStats, we created `listStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffAvailabilityStatsVariablesBuilder { + ... + + ListStaffAvailabilityStatsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffAvailabilityStatsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffAvailabilityStats() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffAvailabilityStats(); +listStaffAvailabilityStatsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listStaffAvailabilityStats().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getStaffAvailabilityStatsByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.getStaffAvailabilityStatsByStaffId( + staffId: staffId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getStaffAvailabilityStatsByStaffId( + staffId: staffId, +); +getStaffAvailabilityStatsByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.getStaffAvailabilityStatsByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterStaffAvailabilityStats +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterStaffAvailabilityStats().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterStaffAvailabilityStats, we created `filterStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterStaffAvailabilityStatsVariablesBuilder { + ... + + FilterStaffAvailabilityStatsVariablesBuilder needWorkIndexMin(int? t) { + _needWorkIndexMin.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder needWorkIndexMax(int? t) { + _needWorkIndexMax.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder utilizationMin(int? t) { + _utilizationMin.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder utilizationMax(int? t) { + _utilizationMax.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder acceptanceRateMin(int? t) { + _acceptanceRateMin.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder acceptanceRateMax(int? t) { + _acceptanceRateMax.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder lastShiftAfter(Timestamp? t) { + _lastShiftAfter.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder lastShiftBefore(Timestamp? t) { + _lastShiftBefore.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + FilterStaffAvailabilityStatsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterStaffAvailabilityStats() +.needWorkIndexMin(needWorkIndexMin) +.needWorkIndexMax(needWorkIndexMax) +.utilizationMin(utilizationMin) +.utilizationMax(utilizationMax) +.acceptanceRateMin(acceptanceRateMin) +.acceptanceRateMax(acceptanceRateMax) +.lastShiftAfter(lastShiftAfter) +.lastShiftBefore(lastShiftBefore) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterStaffAvailabilityStats(); +filterStaffAvailabilityStatsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterStaffAvailabilityStats().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listAttireOptions +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listAttireOptions().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listAttireOptions(); +listAttireOptionsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listAttireOptions().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getAttireOptionById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getAttireOptionById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getAttireOptionById( + id: id, +); +getAttireOptionByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getAttireOptionById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterAttireOptions +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterAttireOptions().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterAttireOptions, we created `filterAttireOptionsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterAttireOptionsVariablesBuilder { + ... + + FilterAttireOptionsVariablesBuilder itemId(String? t) { + _itemId.value = t; + return this; + } + FilterAttireOptionsVariablesBuilder isMandatory(bool? t) { + _isMandatory.value = t; + return this; + } + FilterAttireOptionsVariablesBuilder vendorId(String? t) { _vendorId.value = t; return this; } - FilterInvoicesVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - FilterInvoicesVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - FilterInvoicesVariablesBuilder status(InvoiceStatus? t) { - _status.value = t; - return this; - } - FilterInvoicesVariablesBuilder issueDateFrom(Timestamp? t) { - _issueDateFrom.value = t; - return this; - } - FilterInvoicesVariablesBuilder issueDateTo(Timestamp? t) { - _issueDateTo.value = t; - return this; - } - FilterInvoicesVariablesBuilder dueDateFrom(Timestamp? t) { - _dueDateFrom.value = t; - return this; - } - FilterInvoicesVariablesBuilder dueDateTo(Timestamp? t) { - _dueDateTo.value = t; - return this; - } - FilterInvoicesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterInvoicesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } ... } -ExampleConnector.instance.filterInvoices() +ExampleConnector.instance.filterAttireOptions() +.itemId(itemId) +.isMandatory(isMandatory) .vendorId(vendorId) -.businessId(businessId) -.orderId(orderId) -.status(status) -.issueDateFrom(issueDateFrom) -.issueDateTo(issueDateTo) -.dueDateFrom(dueDateFrom) -.dueDateTo(dueDateTo) -.offset(offset) -.limit(limit) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -5112,8 +3000,8 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.filterInvoices(); -filterInvoicesData data = result.data; +final result = await ExampleConnector.instance.filterAttireOptions(); +filterAttireOptionsData data = result.data; final ref = result.ref; ``` @@ -5121,79 +3009,7 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -final ref = ExampleConnector.instance.filterInvoices().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listOverdueInvoices -#### Required Arguments -```dart -Timestamp now = ...; -ExampleConnector.instance.listOverdueInvoices( - now: now, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listOverdueInvoices, we created `listOverdueInvoicesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListOverdueInvoicesVariablesBuilder { - ... - ListOverdueInvoicesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListOverdueInvoicesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listOverdueInvoices( - now: now, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listOverdueInvoices( - now: now, -); -listOverdueInvoicesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -Timestamp now = ...; - -final ref = ExampleConnector.instance.listOverdueInvoices( - now: now, -).ref(); +final ref = ExampleConnector.instance.filterAttireOptions().ref(); ref.execute(); ref.subscribe(...); @@ -6246,6 +4062,3622 @@ ref.subscribe(...); ``` +### listRoleCategories +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listRoleCategories().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRoleCategories(); +listRoleCategoriesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listRoleCategories().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getRoleCategoryById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getRoleCategoryById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getRoleCategoryById( + id: id, +); +getRoleCategoryByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getRoleCategoryById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getRoleCategoriesByCategory +#### Required Arguments +```dart +RoleCategoryType category = ...; +ExampleConnector.instance.getRoleCategoriesByCategory( + category: category, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getRoleCategoriesByCategory( + category: category, +); +getRoleCategoriesByCategoryData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +RoleCategoryType category = ...; + +final ref = ExampleConnector.instance.getRoleCategoriesByCategory( + category: category, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listFaqDatas +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listFaqDatas().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listFaqDatas(); +listFaqDatasData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listFaqDatas().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getFaqDataById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getFaqDataById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getFaqDataById( + id: id, +); +getFaqDataByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getFaqDataById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterFaqDatas +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterFaqDatas().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterFaqDatas, we created `filterFaqDatasBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterFaqDatasVariablesBuilder { + ... + + FilterFaqDatasVariablesBuilder category(String? t) { + _category.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterFaqDatas() +.category(category) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterFaqDatas(); +filterFaqDatasData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterFaqDatas().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listMessages +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listMessages().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listMessages(); +listMessagesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listMessages().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getMessageById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getMessageById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getMessageById( + id: id, +); +getMessageByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getMessageById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getMessagesByConversationId +#### Required Arguments +```dart +String conversationId = ...; +ExampleConnector.instance.getMessagesByConversationId( + conversationId: conversationId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getMessagesByConversationId( + conversationId: conversationId, +); +getMessagesByConversationIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String conversationId = ...; + +final ref = ExampleConnector.instance.getMessagesByConversationId( + conversationId: conversationId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listTeamHudDepartments +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listTeamHudDepartments().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listTeamHudDepartments, we created `listTeamHudDepartmentsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListTeamHudDepartmentsVariablesBuilder { + ... + + ListTeamHudDepartmentsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListTeamHudDepartmentsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listTeamHudDepartments() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listTeamHudDepartments(); +listTeamHudDepartmentsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listTeamHudDepartments().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTeamHudDepartmentById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getTeamHudDepartmentById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTeamHudDepartmentById( + id: id, +); +getTeamHudDepartmentByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getTeamHudDepartmentById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listTeamHudDepartmentsByTeamHubId +#### Required Arguments +```dart +String teamHubId = ...; +ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( + teamHubId: teamHubId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listTeamHudDepartmentsByTeamHubId, we created `listTeamHudDepartmentsByTeamHubIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListTeamHudDepartmentsByTeamHubIdVariablesBuilder { + ... + ListTeamHudDepartmentsByTeamHubIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListTeamHudDepartmentsByTeamHubIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( + teamHubId: teamHubId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( + teamHubId: teamHubId, +); +listTeamHudDepartmentsByTeamHubIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String teamHubId = ...; + +final ref = ExampleConnector.instance.listTeamHudDepartmentsByTeamHubId( + teamHubId: teamHubId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getVendorById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getVendorById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getVendorById( + id: id, +); +getVendorByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getVendorById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getVendorByUserId +#### Required Arguments +```dart +String userId = ...; +ExampleConnector.instance.getVendorByUserId( + userId: userId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getVendorByUserId( + userId: userId, +); +getVendorByUserIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String userId = ...; + +final ref = ExampleConnector.instance.getVendorByUserId( + userId: userId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listVendors +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listVendors().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listVendors(); +listVendorsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listVendors().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listActivityLogs +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listActivityLogs().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listActivityLogs, we created `listActivityLogsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListActivityLogsVariablesBuilder { + ... + + ListActivityLogsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListActivityLogsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listActivityLogs() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listActivityLogs(); +listActivityLogsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listActivityLogs().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getActivityLogById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getActivityLogById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getActivityLogById( + id: id, +); +getActivityLogByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getActivityLogById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listActivityLogsByUserId +#### Required Arguments +```dart +String userId = ...; +ExampleConnector.instance.listActivityLogsByUserId( + userId: userId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listActivityLogsByUserId, we created `listActivityLogsByUserIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListActivityLogsByUserIdVariablesBuilder { + ... + ListActivityLogsByUserIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListActivityLogsByUserIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listActivityLogsByUserId( + userId: userId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listActivityLogsByUserId( + userId: userId, +); +listActivityLogsByUserIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String userId = ...; + +final ref = ExampleConnector.instance.listActivityLogsByUserId( + userId: userId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listUnreadActivityLogsByUserId +#### Required Arguments +```dart +String userId = ...; +ExampleConnector.instance.listUnreadActivityLogsByUserId( + userId: userId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listUnreadActivityLogsByUserId, we created `listUnreadActivityLogsByUserIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListUnreadActivityLogsByUserIdVariablesBuilder { + ... + ListUnreadActivityLogsByUserIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListUnreadActivityLogsByUserIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listUnreadActivityLogsByUserId( + userId: userId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listUnreadActivityLogsByUserId( + userId: userId, +); +listUnreadActivityLogsByUserIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String userId = ...; + +final ref = ExampleConnector.instance.listUnreadActivityLogsByUserId( + userId: userId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterActivityLogs +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterActivityLogs().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterActivityLogs, we created `filterActivityLogsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterActivityLogsVariablesBuilder { + ... + + FilterActivityLogsVariablesBuilder userId(String? t) { + _userId.value = t; + return this; + } + FilterActivityLogsVariablesBuilder dateFrom(Timestamp? t) { + _dateFrom.value = t; + return this; + } + FilterActivityLogsVariablesBuilder dateTo(Timestamp? t) { + _dateTo.value = t; + return this; + } + FilterActivityLogsVariablesBuilder isRead(bool? t) { + _isRead.value = t; + return this; + } + FilterActivityLogsVariablesBuilder activityType(ActivityType? t) { + _activityType.value = t; + return this; + } + FilterActivityLogsVariablesBuilder iconType(ActivityIconType? t) { + _iconType.value = t; + return this; + } + FilterActivityLogsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + FilterActivityLogsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterActivityLogs() +.userId(userId) +.dateFrom(dateFrom) +.dateTo(dateTo) +.isRead(isRead) +.activityType(activityType) +.iconType(iconType) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterActivityLogs(); +filterActivityLogsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterActivityLogs().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listApplications +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listApplications().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listApplications(); +listApplicationsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listApplications().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getApplicationById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getApplicationById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getApplicationById( + id: id, +); +getApplicationByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getApplicationById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getApplicationsByShiftId +#### Required Arguments +```dart +String shiftId = ...; +ExampleConnector.instance.getApplicationsByShiftId( + shiftId: shiftId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getApplicationsByShiftId( + shiftId: shiftId, +); +getApplicationsByShiftIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String shiftId = ...; + +final ref = ExampleConnector.instance.getApplicationsByShiftId( + shiftId: shiftId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getApplicationsByShiftIdAndStatus +#### Required Arguments +```dart +String shiftId = ...; +ApplicationStatus status = ...; +ExampleConnector.instance.getApplicationsByShiftIdAndStatus( + shiftId: shiftId, + status: status, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For getApplicationsByShiftIdAndStatus, we created `getApplicationsByShiftIdAndStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class GetApplicationsByShiftIdAndStatusVariablesBuilder { + ... + GetApplicationsByShiftIdAndStatusVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + GetApplicationsByShiftIdAndStatusVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.getApplicationsByShiftIdAndStatus( + shiftId: shiftId, + status: status, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getApplicationsByShiftIdAndStatus( + shiftId: shiftId, + status: status, +); +getApplicationsByShiftIdAndStatusData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String shiftId = ...; +ApplicationStatus status = ...; + +final ref = ExampleConnector.instance.getApplicationsByShiftIdAndStatus( + shiftId: shiftId, + status: status, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getApplicationsByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.getApplicationsByStaffId( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For getApplicationsByStaffId, we created `getApplicationsByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class GetApplicationsByStaffIdVariablesBuilder { + ... + GetApplicationsByStaffIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + GetApplicationsByStaffIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.getApplicationsByStaffId( + staffId: staffId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getApplicationsByStaffId( + staffId: staffId, +); +getApplicationsByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.getApplicationsByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listShifts +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listShifts().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listShifts, we created `listShiftsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListShiftsVariablesBuilder { + ... + + ListShiftsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListShiftsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listShifts() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listShifts(); +listShiftsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listShifts().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getShiftById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getShiftById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getShiftById( + id: id, +); +getShiftByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getShiftById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterShifts +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterShifts().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterShifts, we created `filterShiftsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterShiftsVariablesBuilder { + ... + + FilterShiftsVariablesBuilder status(ShiftStatus? t) { + _status.value = t; + return this; + } + FilterShiftsVariablesBuilder orderId(String? t) { + _orderId.value = t; + return this; + } + FilterShiftsVariablesBuilder dateFrom(Timestamp? t) { + _dateFrom.value = t; + return this; + } + FilterShiftsVariablesBuilder dateTo(Timestamp? t) { + _dateTo.value = t; + return this; + } + FilterShiftsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + FilterShiftsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterShifts() +.status(status) +.orderId(orderId) +.dateFrom(dateFrom) +.dateTo(dateTo) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterShifts(); +filterShiftsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterShifts().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getShiftsByBusinessId +#### Required Arguments +```dart +String businessId = ...; +ExampleConnector.instance.getShiftsByBusinessId( + businessId: businessId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For getShiftsByBusinessId, we created `getShiftsByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class GetShiftsByBusinessIdVariablesBuilder { + ... + GetShiftsByBusinessIdVariablesBuilder dateFrom(Timestamp? t) { + _dateFrom.value = t; + return this; + } + GetShiftsByBusinessIdVariablesBuilder dateTo(Timestamp? t) { + _dateTo.value = t; + return this; + } + GetShiftsByBusinessIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + GetShiftsByBusinessIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.getShiftsByBusinessId( + businessId: businessId, +) +.dateFrom(dateFrom) +.dateTo(dateTo) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getShiftsByBusinessId( + businessId: businessId, +); +getShiftsByBusinessIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String businessId = ...; + +final ref = ExampleConnector.instance.getShiftsByBusinessId( + businessId: businessId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getShiftsByVendorId +#### Required Arguments +```dart +String vendorId = ...; +ExampleConnector.instance.getShiftsByVendorId( + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For getShiftsByVendorId, we created `getShiftsByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class GetShiftsByVendorIdVariablesBuilder { + ... + GetShiftsByVendorIdVariablesBuilder dateFrom(Timestamp? t) { + _dateFrom.value = t; + return this; + } + GetShiftsByVendorIdVariablesBuilder dateTo(Timestamp? t) { + _dateTo.value = t; + return this; + } + GetShiftsByVendorIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + GetShiftsByVendorIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.getShiftsByVendorId( + vendorId: vendorId, +) +.dateFrom(dateFrom) +.dateTo(dateTo) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getShiftsByVendorId( + vendorId: vendorId, +); +getShiftsByVendorIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; + +final ref = ExampleConnector.instance.getShiftsByVendorId( + vendorId: vendorId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listTeamMembers +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listTeamMembers().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listTeamMembers(); +listTeamMembersData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listTeamMembers().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTeamMemberById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getTeamMemberById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTeamMemberById( + id: id, +); +getTeamMemberByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getTeamMemberById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTeamMembersByTeamId +#### Required Arguments +```dart +String teamId = ...; +ExampleConnector.instance.getTeamMembersByTeamId( + teamId: teamId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTeamMembersByTeamId( + teamId: teamId, +); +getTeamMembersByTeamIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String teamId = ...; + +final ref = ExampleConnector.instance.getTeamMembersByTeamId( + teamId: teamId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listCertificates +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listCertificates().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listCertificates(); +listCertificatesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listCertificates().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getCertificateById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getCertificateById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getCertificateById( + id: id, +); +getCertificateByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getCertificateById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listCertificatesByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.listCertificatesByStaffId( + staffId: staffId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listCertificatesByStaffId( + staffId: staffId, +); +listCertificatesByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.listCertificatesByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getStaffCourseById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getStaffCourseById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getStaffCourseById( + id: id, +); +getStaffCourseByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getStaffCourseById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffCoursesByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.listStaffCoursesByStaffId( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffCoursesByStaffId, we created `listStaffCoursesByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffCoursesByStaffIdVariablesBuilder { + ... + ListStaffCoursesByStaffIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffCoursesByStaffIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffCoursesByStaffId( + staffId: staffId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffCoursesByStaffId( + staffId: staffId, +); +listStaffCoursesByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.listStaffCoursesByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffCoursesByCourseId +#### Required Arguments +```dart +String courseId = ...; +ExampleConnector.instance.listStaffCoursesByCourseId( + courseId: courseId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffCoursesByCourseId, we created `listStaffCoursesByCourseIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffCoursesByCourseIdVariablesBuilder { + ... + ListStaffCoursesByCourseIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffCoursesByCourseIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffCoursesByCourseId( + courseId: courseId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffCoursesByCourseId( + courseId: courseId, +); +listStaffCoursesByCourseIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String courseId = ...; + +final ref = ExampleConnector.instance.listStaffCoursesByCourseId( + courseId: courseId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getStaffCourseByStaffAndCourse +#### Required Arguments +```dart +String staffId = ...; +String courseId = ...; +ExampleConnector.instance.getStaffCourseByStaffAndCourse( + staffId: staffId, + courseId: courseId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getStaffCourseByStaffAndCourse( + staffId: staffId, + courseId: courseId, +); +getStaffCourseByStaffAndCourseData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +String courseId = ...; + +final ref = ExampleConnector.instance.getStaffCourseByStaffAndCourse( + staffId: staffId, + courseId: courseId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getStaffDocumentByKey +#### Required Arguments +```dart +String staffId = ...; +String documentId = ...; +ExampleConnector.instance.getStaffDocumentByKey( + staffId: staffId, + documentId: documentId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getStaffDocumentByKey( + staffId: staffId, + documentId: documentId, +); +getStaffDocumentByKeyData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +String documentId = ...; + +final ref = ExampleConnector.instance.getStaffDocumentByKey( + staffId: staffId, + documentId: documentId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffDocumentsByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.listStaffDocumentsByStaffId( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffDocumentsByStaffId, we created `listStaffDocumentsByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffDocumentsByStaffIdVariablesBuilder { + ... + ListStaffDocumentsByStaffIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffDocumentsByStaffIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffDocumentsByStaffId( + staffId: staffId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffDocumentsByStaffId( + staffId: staffId, +); +listStaffDocumentsByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.listStaffDocumentsByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffDocumentsByDocumentType +#### Required Arguments +```dart +DocumentType documentType = ...; +ExampleConnector.instance.listStaffDocumentsByDocumentType( + documentType: documentType, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffDocumentsByDocumentType, we created `listStaffDocumentsByDocumentTypeBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffDocumentsByDocumentTypeVariablesBuilder { + ... + ListStaffDocumentsByDocumentTypeVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffDocumentsByDocumentTypeVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffDocumentsByDocumentType( + documentType: documentType, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffDocumentsByDocumentType( + documentType: documentType, +); +listStaffDocumentsByDocumentTypeData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +DocumentType documentType = ...; + +final ref = ExampleConnector.instance.listStaffDocumentsByDocumentType( + documentType: documentType, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listStaffDocumentsByStatus +#### Required Arguments +```dart +DocumentStatus status = ...; +ExampleConnector.instance.listStaffDocumentsByStatus( + status: status, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listStaffDocumentsByStatus, we created `listStaffDocumentsByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListStaffDocumentsByStatusVariablesBuilder { + ... + ListStaffDocumentsByStatusVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListStaffDocumentsByStatusVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listStaffDocumentsByStatus( + status: status, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listStaffDocumentsByStatus( + status: status, +); +listStaffDocumentsByStatusData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +DocumentStatus status = ...; + +final ref = ExampleConnector.instance.listStaffDocumentsByStatus( + status: status, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listCourses +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listCourses().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listCourses(); +listCoursesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listCourses().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getCourseById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getCourseById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getCourseById( + id: id, +); +getCourseByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getCourseById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterCourses +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterCourses().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterCourses, we created `filterCoursesBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterCoursesVariablesBuilder { + ... + + FilterCoursesVariablesBuilder categoryId(String? t) { + _categoryId.value = t; + return this; + } + FilterCoursesVariablesBuilder isCertification(bool? t) { + _isCertification.value = t; + return this; + } + FilterCoursesVariablesBuilder levelRequired(String? t) { + _levelRequired.value = t; + return this; + } + FilterCoursesVariablesBuilder completed(bool? t) { + _completed.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterCourses() +.categoryId(categoryId) +.isCertification(isCertification) +.levelRequired(levelRequired) +.completed(completed) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterCourses(); +filterCoursesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterCourses().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getWorkforceById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getWorkforceById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getWorkforceById( + id: id, +); +getWorkforceByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getWorkforceById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getWorkforceByVendorAndStaff +#### Required Arguments +```dart +String vendorId = ...; +String staffId = ...; +ExampleConnector.instance.getWorkforceByVendorAndStaff( + vendorId: vendorId, + staffId: staffId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getWorkforceByVendorAndStaff( + vendorId: vendorId, + staffId: staffId, +); +getWorkforceByVendorAndStaffData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; +String staffId = ...; + +final ref = ExampleConnector.instance.getWorkforceByVendorAndStaff( + vendorId: vendorId, + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listWorkforceByVendorId +#### Required Arguments +```dart +String vendorId = ...; +ExampleConnector.instance.listWorkforceByVendorId( + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listWorkforceByVendorId, we created `listWorkforceByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListWorkforceByVendorIdVariablesBuilder { + ... + ListWorkforceByVendorIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListWorkforceByVendorIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listWorkforceByVendorId( + vendorId: vendorId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listWorkforceByVendorId( + vendorId: vendorId, +); +listWorkforceByVendorIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; + +final ref = ExampleConnector.instance.listWorkforceByVendorId( + vendorId: vendorId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listWorkforceByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.listWorkforceByStaffId( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listWorkforceByStaffId, we created `listWorkforceByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListWorkforceByStaffIdVariablesBuilder { + ... + ListWorkforceByStaffIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListWorkforceByStaffIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listWorkforceByStaffId( + staffId: staffId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listWorkforceByStaffId( + staffId: staffId, +); +listWorkforceByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.listWorkforceByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getWorkforceByVendorAndNumber +#### Required Arguments +```dart +String vendorId = ...; +String workforceNumber = ...; +ExampleConnector.instance.getWorkforceByVendorAndNumber( + vendorId: vendorId, + workforceNumber: workforceNumber, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getWorkforceByVendorAndNumber( + vendorId: vendorId, + workforceNumber: workforceNumber, +); +getWorkforceByVendorAndNumberData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; +String workforceNumber = ...; + +final ref = ExampleConnector.instance.getWorkforceByVendorAndNumber( + vendorId: vendorId, + workforceNumber: workforceNumber, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listBenefitsData +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listBenefitsData().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listBenefitsData, we created `listBenefitsDataBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListBenefitsDataVariablesBuilder { + ... + + ListBenefitsDataVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListBenefitsDataVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listBenefitsData() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listBenefitsData(); +listBenefitsDataData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listBenefitsData().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getBenefitsDataByKey +#### Required Arguments +```dart +String staffId = ...; +String vendorBenefitPlanId = ...; +ExampleConnector.instance.getBenefitsDataByKey( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getBenefitsDataByKey( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, +); +getBenefitsDataByKeyData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +String vendorBenefitPlanId = ...; + +final ref = ExampleConnector.instance.getBenefitsDataByKey( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listBenefitsDataByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.listBenefitsDataByStaffId( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listBenefitsDataByStaffId, we created `listBenefitsDataByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListBenefitsDataByStaffIdVariablesBuilder { + ... + ListBenefitsDataByStaffIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListBenefitsDataByStaffIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listBenefitsDataByStaffId( + staffId: staffId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listBenefitsDataByStaffId( + staffId: staffId, +); +listBenefitsDataByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.listBenefitsDataByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listBenefitsDataByVendorBenefitPlanId +#### Required Arguments +```dart +String vendorBenefitPlanId = ...; +ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanId( + vendorBenefitPlanId: vendorBenefitPlanId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listBenefitsDataByVendorBenefitPlanId, we created `listBenefitsDataByVendorBenefitPlanIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder { + ... + ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanId( + vendorBenefitPlanId: vendorBenefitPlanId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanId( + vendorBenefitPlanId: vendorBenefitPlanId, +); +listBenefitsDataByVendorBenefitPlanIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorBenefitPlanId = ...; + +final ref = ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanId( + vendorBenefitPlanId: vendorBenefitPlanId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listBenefitsDataByVendorBenefitPlanIds +#### Required Arguments +```dart +String vendorBenefitPlanIds = ...; +ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanIds( + vendorBenefitPlanIds: vendorBenefitPlanIds, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listBenefitsDataByVendorBenefitPlanIds, we created `listBenefitsDataByVendorBenefitPlanIdsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder { + ... + ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanIds( + vendorBenefitPlanIds: vendorBenefitPlanIds, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanIds( + vendorBenefitPlanIds: vendorBenefitPlanIds, +); +listBenefitsDataByVendorBenefitPlanIdsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorBenefitPlanIds = ...; + +final ref = ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanIds( + vendorBenefitPlanIds: vendorBenefitPlanIds, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listBusinesses +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listBusinesses().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listBusinesses(); +listBusinessesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listBusinesses().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getBusinessesByUserId +#### Required Arguments +```dart +String userId = ...; +ExampleConnector.instance.getBusinessesByUserId( + userId: userId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getBusinessesByUserId( + userId: userId, +); +getBusinessesByUserIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String userId = ...; + +final ref = ExampleConnector.instance.getBusinessesByUserId( + userId: userId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getBusinessById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getBusinessById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getBusinessById( + id: id, +); +getBusinessByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getBusinessById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listTeams +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listTeams().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listTeams(); +listTeamsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listTeams().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTeamById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getTeamById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTeamById( + id: id, +); +getTeamByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getTeamById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTeamsByOwnerId +#### Required Arguments +```dart +String ownerId = ...; +ExampleConnector.instance.getTeamsByOwnerId( + ownerId: ownerId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTeamsByOwnerId( + ownerId: ownerId, +); +getTeamsByOwnerIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String ownerId = ...; + +final ref = ExampleConnector.instance.getTeamsByOwnerId( + ownerId: ownerId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + ### listRoles #### Required Arguments ```dart @@ -6434,6 +7866,1544 @@ ref.subscribe(...); ``` +### listAccounts +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listAccounts().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listAccounts(); +listAccountsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listAccounts().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getAccountById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getAccountById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getAccountById( + id: id, +); +getAccountByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getAccountById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getAccountsByOwnerId +#### Required Arguments +```dart +String ownerId = ...; +ExampleConnector.instance.getAccountsByOwnerId( + ownerId: ownerId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getAccountsByOwnerId( + ownerId: ownerId, +); +getAccountsByOwnerIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String ownerId = ...; + +final ref = ExampleConnector.instance.getAccountsByOwnerId( + ownerId: ownerId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterAccounts +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterAccounts().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterAccounts, we created `filterAccountsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterAccountsVariablesBuilder { + ... + + FilterAccountsVariablesBuilder bank(String? t) { + _bank.value = t; + return this; + } + FilterAccountsVariablesBuilder type(AccountType? t) { + _type.value = t; + return this; + } + FilterAccountsVariablesBuilder isPrimary(bool? t) { + _isPrimary.value = t; + return this; + } + FilterAccountsVariablesBuilder ownerId(String? t) { + _ownerId.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterAccounts() +.bank(bank) +.type(type) +.isPrimary(isPrimary) +.ownerId(ownerId) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterAccounts(); +filterAccountsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterAccounts().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listHubs +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listHubs().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listHubs(); +listHubsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listHubs().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getHubById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getHubById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getHubById( + id: id, +); +getHubByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getHubById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getHubsByOwnerId +#### Required Arguments +```dart +String ownerId = ...; +ExampleConnector.instance.getHubsByOwnerId( + ownerId: ownerId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getHubsByOwnerId( + ownerId: ownerId, +); +getHubsByOwnerIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String ownerId = ...; + +final ref = ExampleConnector.instance.getHubsByOwnerId( + ownerId: ownerId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterHubs +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterHubs().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterHubs, we created `filterHubsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterHubsVariablesBuilder { + ... + + FilterHubsVariablesBuilder ownerId(String? t) { + _ownerId.value = t; + return this; + } + FilterHubsVariablesBuilder name(String? t) { + _name.value = t; + return this; + } + FilterHubsVariablesBuilder nfcTagId(String? t) { + _nfcTagId.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterHubs() +.ownerId(ownerId) +.name(name) +.nfcTagId(nfcTagId) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterHubs(); +filterHubsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterHubs().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listInvoices +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listInvoices().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listInvoices, we created `listInvoicesBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListInvoicesVariablesBuilder { + ... + + ListInvoicesVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListInvoicesVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listInvoices() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listInvoices(); +listInvoicesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listInvoices().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getInvoiceById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getInvoiceById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getInvoiceById( + id: id, +); +getInvoiceByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getInvoiceById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listInvoicesByVendorId +#### Required Arguments +```dart +String vendorId = ...; +ExampleConnector.instance.listInvoicesByVendorId( + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listInvoicesByVendorId, we created `listInvoicesByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListInvoicesByVendorIdVariablesBuilder { + ... + ListInvoicesByVendorIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListInvoicesByVendorIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listInvoicesByVendorId( + vendorId: vendorId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listInvoicesByVendorId( + vendorId: vendorId, +); +listInvoicesByVendorIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; + +final ref = ExampleConnector.instance.listInvoicesByVendorId( + vendorId: vendorId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listInvoicesByBusinessId +#### Required Arguments +```dart +String businessId = ...; +ExampleConnector.instance.listInvoicesByBusinessId( + businessId: businessId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listInvoicesByBusinessId, we created `listInvoicesByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListInvoicesByBusinessIdVariablesBuilder { + ... + ListInvoicesByBusinessIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListInvoicesByBusinessIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listInvoicesByBusinessId( + businessId: businessId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listInvoicesByBusinessId( + businessId: businessId, +); +listInvoicesByBusinessIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String businessId = ...; + +final ref = ExampleConnector.instance.listInvoicesByBusinessId( + businessId: businessId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listInvoicesByOrderId +#### Required Arguments +```dart +String orderId = ...; +ExampleConnector.instance.listInvoicesByOrderId( + orderId: orderId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listInvoicesByOrderId, we created `listInvoicesByOrderIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListInvoicesByOrderIdVariablesBuilder { + ... + ListInvoicesByOrderIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListInvoicesByOrderIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listInvoicesByOrderId( + orderId: orderId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listInvoicesByOrderId( + orderId: orderId, +); +listInvoicesByOrderIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String orderId = ...; + +final ref = ExampleConnector.instance.listInvoicesByOrderId( + orderId: orderId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listInvoicesByStatus +#### Required Arguments +```dart +InvoiceStatus status = ...; +ExampleConnector.instance.listInvoicesByStatus( + status: status, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listInvoicesByStatus, we created `listInvoicesByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListInvoicesByStatusVariablesBuilder { + ... + ListInvoicesByStatusVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListInvoicesByStatusVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listInvoicesByStatus( + status: status, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listInvoicesByStatus( + status: status, +); +listInvoicesByStatusData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +InvoiceStatus status = ...; + +final ref = ExampleConnector.instance.listInvoicesByStatus( + status: status, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterInvoices +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterInvoices().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterInvoices, we created `filterInvoicesBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterInvoicesVariablesBuilder { + ... + + FilterInvoicesVariablesBuilder vendorId(String? t) { + _vendorId.value = t; + return this; + } + FilterInvoicesVariablesBuilder businessId(String? t) { + _businessId.value = t; + return this; + } + FilterInvoicesVariablesBuilder orderId(String? t) { + _orderId.value = t; + return this; + } + FilterInvoicesVariablesBuilder status(InvoiceStatus? t) { + _status.value = t; + return this; + } + FilterInvoicesVariablesBuilder issueDateFrom(Timestamp? t) { + _issueDateFrom.value = t; + return this; + } + FilterInvoicesVariablesBuilder issueDateTo(Timestamp? t) { + _issueDateTo.value = t; + return this; + } + FilterInvoicesVariablesBuilder dueDateFrom(Timestamp? t) { + _dueDateFrom.value = t; + return this; + } + FilterInvoicesVariablesBuilder dueDateTo(Timestamp? t) { + _dueDateTo.value = t; + return this; + } + FilterInvoicesVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + FilterInvoicesVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterInvoices() +.vendorId(vendorId) +.businessId(businessId) +.orderId(orderId) +.status(status) +.issueDateFrom(issueDateFrom) +.issueDateTo(issueDateTo) +.dueDateFrom(dueDateFrom) +.dueDateTo(dueDateTo) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterInvoices(); +filterInvoicesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterInvoices().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listOverdueInvoices +#### Required Arguments +```dart +Timestamp now = ...; +ExampleConnector.instance.listOverdueInvoices( + now: now, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listOverdueInvoices, we created `listOverdueInvoicesBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListOverdueInvoicesVariablesBuilder { + ... + ListOverdueInvoicesVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListOverdueInvoicesVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listOverdueInvoices( + now: now, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listOverdueInvoices( + now: now, +); +listOverdueInvoicesData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +Timestamp now = ...; + +final ref = ExampleConnector.instance.listOverdueInvoices( + now: now, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listRecentPayments +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listRecentPayments().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listRecentPayments, we created `listRecentPaymentsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListRecentPaymentsVariablesBuilder { + ... + + ListRecentPaymentsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListRecentPaymentsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listRecentPayments() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRecentPayments(); +listRecentPaymentsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listRecentPayments().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getRecentPaymentById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getRecentPaymentById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getRecentPaymentById( + id: id, +); +getRecentPaymentByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getRecentPaymentById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listRecentPaymentsByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.listRecentPaymentsByStaffId( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listRecentPaymentsByStaffId, we created `listRecentPaymentsByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListRecentPaymentsByStaffIdVariablesBuilder { + ... + ListRecentPaymentsByStaffIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListRecentPaymentsByStaffIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listRecentPaymentsByStaffId( + staffId: staffId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRecentPaymentsByStaffId( + staffId: staffId, +); +listRecentPaymentsByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.listRecentPaymentsByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listRecentPaymentsByApplicationId +#### Required Arguments +```dart +String applicationId = ...; +ExampleConnector.instance.listRecentPaymentsByApplicationId( + applicationId: applicationId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listRecentPaymentsByApplicationId, we created `listRecentPaymentsByApplicationIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListRecentPaymentsByApplicationIdVariablesBuilder { + ... + ListRecentPaymentsByApplicationIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListRecentPaymentsByApplicationIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listRecentPaymentsByApplicationId( + applicationId: applicationId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRecentPaymentsByApplicationId( + applicationId: applicationId, +); +listRecentPaymentsByApplicationIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String applicationId = ...; + +final ref = ExampleConnector.instance.listRecentPaymentsByApplicationId( + applicationId: applicationId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listRecentPaymentsByInvoiceId +#### Required Arguments +```dart +String invoiceId = ...; +ExampleConnector.instance.listRecentPaymentsByInvoiceId( + invoiceId: invoiceId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listRecentPaymentsByInvoiceId, we created `listRecentPaymentsByInvoiceIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListRecentPaymentsByInvoiceIdVariablesBuilder { + ... + ListRecentPaymentsByInvoiceIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListRecentPaymentsByInvoiceIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listRecentPaymentsByInvoiceId( + invoiceId: invoiceId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRecentPaymentsByInvoiceId( + invoiceId: invoiceId, +); +listRecentPaymentsByInvoiceIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String invoiceId = ...; + +final ref = ExampleConnector.instance.listRecentPaymentsByInvoiceId( + invoiceId: invoiceId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listRecentPaymentsByStatus +#### Required Arguments +```dart +RecentPaymentStatus status = ...; +ExampleConnector.instance.listRecentPaymentsByStatus( + status: status, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listRecentPaymentsByStatus, we created `listRecentPaymentsByStatusBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListRecentPaymentsByStatusVariablesBuilder { + ... + ListRecentPaymentsByStatusVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListRecentPaymentsByStatusVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listRecentPaymentsByStatus( + status: status, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRecentPaymentsByStatus( + status: status, +); +listRecentPaymentsByStatusData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +RecentPaymentStatus status = ...; + +final ref = ExampleConnector.instance.listRecentPaymentsByStatus( + status: status, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listRecentPaymentsByInvoiceIds +#### Required Arguments +```dart +String invoiceIds = ...; +ExampleConnector.instance.listRecentPaymentsByInvoiceIds( + invoiceIds: invoiceIds, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listRecentPaymentsByInvoiceIds, we created `listRecentPaymentsByInvoiceIdsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListRecentPaymentsByInvoiceIdsVariablesBuilder { + ... + ListRecentPaymentsByInvoiceIdsVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListRecentPaymentsByInvoiceIdsVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listRecentPaymentsByInvoiceIds( + invoiceIds: invoiceIds, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRecentPaymentsByInvoiceIds( + invoiceIds: invoiceIds, +); +listRecentPaymentsByInvoiceIdsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String invoiceIds = ...; + +final ref = ExampleConnector.instance.listRecentPaymentsByInvoiceIds( + invoiceIds: invoiceIds, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listRecentPaymentsByBusinessId +#### Required Arguments +```dart +String businessId = ...; +ExampleConnector.instance.listRecentPaymentsByBusinessId( + businessId: businessId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listRecentPaymentsByBusinessId, we created `listRecentPaymentsByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListRecentPaymentsByBusinessIdVariablesBuilder { + ... + ListRecentPaymentsByBusinessIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListRecentPaymentsByBusinessIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listRecentPaymentsByBusinessId( + businessId: businessId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listRecentPaymentsByBusinessId( + businessId: businessId, +); +listRecentPaymentsByBusinessIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String businessId = ...; + +final ref = ExampleConnector.instance.listRecentPaymentsByBusinessId( + businessId: businessId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + ### listTaxForms #### Required Arguments ```dart @@ -6641,17 +9611,39 @@ ref.subscribe(...); ``` -### listCertificates +### listInvoiceTemplates #### Required Arguments ```dart // No required arguments -ExampleConnector.instance.listCertificates().execute(); +ExampleConnector.instance.listInvoiceTemplates().execute(); ``` +#### Optional Arguments +We return a builder for each query. For listInvoiceTemplates, we created `listInvoiceTemplatesBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListInvoiceTemplatesVariablesBuilder { + ... + + ListInvoiceTemplatesVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListInvoiceTemplatesVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + ... +} +ExampleConnector.instance.listInvoiceTemplates() +.offset(offset) +.limit(limit) +.execute(); +``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -6666,8 +9658,8 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.listCertificates(); -listCertificatesData data = result.data; +final result = await ExampleConnector.instance.listInvoiceTemplates(); +listInvoiceTemplatesData data = result.data; final ref = result.ref; ``` @@ -6675,18 +9667,18 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -final ref = ExampleConnector.instance.listCertificates().ref(); +final ref = ExampleConnector.instance.listInvoiceTemplates().ref(); ref.execute(); ref.subscribe(...); ``` -### getCertificateById +### getInvoiceTemplateById #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.getCertificateById( +ExampleConnector.instance.getInvoiceTemplateById( id: id, ).execute(); ``` @@ -6694,7 +9686,7 @@ ExampleConnector.instance.getCertificateById( #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -6709,10 +9701,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.getCertificateById( +final result = await ExampleConnector.instance.getInvoiceTemplateById( id: id, ); -getCertificateByIdData data = result.data; +getInvoiceTemplateByIdData data = result.data; final ref = result.ref; ``` @@ -6722,7 +9714,7 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.getCertificateById( +final ref = ExampleConnector.instance.getInvoiceTemplateById( id: id, ).ref(); ref.execute(); @@ -6731,19 +9723,42 @@ ref.subscribe(...); ``` -### listCertificatesByStaffId +### listInvoiceTemplatesByOwnerId #### Required Arguments ```dart -String staffId = ...; -ExampleConnector.instance.listCertificatesByStaffId( - staffId: staffId, +String ownerId = ...; +ExampleConnector.instance.listInvoiceTemplatesByOwnerId( + ownerId: ownerId, ).execute(); ``` +#### Optional Arguments +We return a builder for each query. For listInvoiceTemplatesByOwnerId, we created `listInvoiceTemplatesByOwnerIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListInvoiceTemplatesByOwnerIdVariablesBuilder { + ... + ListInvoiceTemplatesByOwnerIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListInvoiceTemplatesByOwnerIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + ... +} +ExampleConnector.instance.listInvoiceTemplatesByOwnerId( + ownerId: ownerId, +) +.offset(offset) +.limit(limit) +.execute(); +``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -6758,10 +9773,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.listCertificatesByStaffId( - staffId: staffId, +final result = await ExampleConnector.instance.listInvoiceTemplatesByOwnerId( + ownerId: ownerId, ); -listCertificatesByStaffIdData data = result.data; +listInvoiceTemplatesByOwnerIdData data = result.data; final ref = result.ref; ``` @@ -6769,10 +9784,10 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String staffId = ...; +String ownerId = ...; -final ref = ExampleConnector.instance.listCertificatesByStaffId( - staffId: staffId, +final ref = ExampleConnector.instance.listInvoiceTemplatesByOwnerId( + ownerId: ownerId, ).ref(); ref.execute(); @@ -6780,17 +9795,311 @@ ref.subscribe(...); ``` -### listTeamMembers +### listInvoiceTemplatesByVendorId +#### Required Arguments +```dart +String vendorId = ...; +ExampleConnector.instance.listInvoiceTemplatesByVendorId( + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listInvoiceTemplatesByVendorId, we created `listInvoiceTemplatesByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListInvoiceTemplatesByVendorIdVariablesBuilder { + ... + ListInvoiceTemplatesByVendorIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListInvoiceTemplatesByVendorIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listInvoiceTemplatesByVendorId( + vendorId: vendorId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listInvoiceTemplatesByVendorId( + vendorId: vendorId, +); +listInvoiceTemplatesByVendorIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; + +final ref = ExampleConnector.instance.listInvoiceTemplatesByVendorId( + vendorId: vendorId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listInvoiceTemplatesByBusinessId +#### Required Arguments +```dart +String businessId = ...; +ExampleConnector.instance.listInvoiceTemplatesByBusinessId( + businessId: businessId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listInvoiceTemplatesByBusinessId, we created `listInvoiceTemplatesByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListInvoiceTemplatesByBusinessIdVariablesBuilder { + ... + ListInvoiceTemplatesByBusinessIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListInvoiceTemplatesByBusinessIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listInvoiceTemplatesByBusinessId( + businessId: businessId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listInvoiceTemplatesByBusinessId( + businessId: businessId, +); +listInvoiceTemplatesByBusinessIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String businessId = ...; + +final ref = ExampleConnector.instance.listInvoiceTemplatesByBusinessId( + businessId: businessId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listInvoiceTemplatesByOrderId +#### Required Arguments +```dart +String orderId = ...; +ExampleConnector.instance.listInvoiceTemplatesByOrderId( + orderId: orderId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listInvoiceTemplatesByOrderId, we created `listInvoiceTemplatesByOrderIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListInvoiceTemplatesByOrderIdVariablesBuilder { + ... + ListInvoiceTemplatesByOrderIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListInvoiceTemplatesByOrderIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listInvoiceTemplatesByOrderId( + orderId: orderId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listInvoiceTemplatesByOrderId( + orderId: orderId, +); +listInvoiceTemplatesByOrderIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String orderId = ...; + +final ref = ExampleConnector.instance.listInvoiceTemplatesByOrderId( + orderId: orderId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### searchInvoiceTemplatesByOwnerAndName +#### Required Arguments +```dart +String ownerId = ...; +String name = ...; +ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( + ownerId: ownerId, + name: name, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For searchInvoiceTemplatesByOwnerAndName, we created `searchInvoiceTemplatesByOwnerAndNameBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder { + ... + SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( + ownerId: ownerId, + name: name, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( + ownerId: ownerId, + name: name, +); +searchInvoiceTemplatesByOwnerAndNameData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String ownerId = ...; +String name = ...; + +final ref = ExampleConnector.instance.searchInvoiceTemplatesByOwnerAndName( + ownerId: ownerId, + name: name, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listLevels #### Required Arguments ```dart // No required arguments -ExampleConnector.instance.listTeamMembers().execute(); +ExampleConnector.instance.listLevels().execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -6805,8 +10114,8 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.listTeamMembers(); -listTeamMembersData data = result.data; +final result = await ExampleConnector.instance.listLevels(); +listLevelsData data = result.data; final ref = result.ref; ``` @@ -6814,18 +10123,18 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -final ref = ExampleConnector.instance.listTeamMembers().ref(); +final ref = ExampleConnector.instance.listLevels().ref(); ref.execute(); ref.subscribe(...); ``` -### getTeamMemberById +### getLevelById #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.getTeamMemberById( +ExampleConnector.instance.getLevelById( id: id, ).execute(); ``` @@ -6833,7 +10142,7 @@ ExampleConnector.instance.getTeamMemberById( #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -6848,10 +10157,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.getTeamMemberById( +final result = await ExampleConnector.instance.getLevelById( id: id, ); -getTeamMemberByIdData data = result.data; +getLevelByIdData data = result.data; final ref = result.ref; ``` @@ -6861,7 +10170,7 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.getTeamMemberById( +final ref = ExampleConnector.instance.getLevelById( id: id, ).ref(); ref.execute(); @@ -6870,11 +10179,164 @@ ref.subscribe(...); ``` -### getTeamMembersByTeamId +### filterLevels +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterLevels().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterLevels, we created `filterLevelsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterLevelsVariablesBuilder { + ... + + FilterLevelsVariablesBuilder name(String? t) { + _name.value = t; + return this; + } + FilterLevelsVariablesBuilder xpRequired(int? t) { + _xpRequired.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterLevels() +.name(name) +.xpRequired(xpRequired) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterLevels(); +filterLevelsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterLevels().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listTeamHubs +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listTeamHubs().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listTeamHubs(); +listTeamHubsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listTeamHubs().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTeamHubById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getTeamHubById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getTeamHubById( + id: id, +); +getTeamHubByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getTeamHubById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getTeamHubsByTeamId #### Required Arguments ```dart String teamId = ...; -ExampleConnector.instance.getTeamMembersByTeamId( +ExampleConnector.instance.getTeamHubsByTeamId( teamId: teamId, ).execute(); ``` @@ -6882,7 +10344,7 @@ ExampleConnector.instance.getTeamMembersByTeamId( #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -6897,10 +10359,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.getTeamMembersByTeamId( +final result = await ExampleConnector.instance.getTeamHubsByTeamId( teamId: teamId, ); -getTeamMembersByTeamIdData data = result.data; +getTeamHubsByTeamIdData data = result.data; final ref = result.ref; ``` @@ -6910,7 +10372,7 @@ An example of how to use the `Ref` object is shown below: ```dart String teamId = ...; -final ref = ExampleConnector.instance.getTeamMembersByTeamId( +final ref = ExampleConnector.instance.getTeamHubsByTeamId( teamId: teamId, ).ref(); ref.execute(); @@ -6919,6 +10381,55 @@ ref.subscribe(...); ``` +### listTeamHubsByOwnerId +#### Required Arguments +```dart +String ownerId = ...; +ExampleConnector.instance.listTeamHubsByOwnerId( + ownerId: ownerId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listTeamHubsByOwnerId( + ownerId: ownerId, +); +listTeamHubsByOwnerIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String ownerId = ...; + +final ref = ExampleConnector.instance.listTeamHubsByOwnerId( + ownerId: ownerId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + ### listUserConversations #### Required Arguments ```dart @@ -7345,940 +10856,6 @@ ref.subscribe(...); ``` -### listDocuments -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listDocuments().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listDocuments(); -listDocumentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listDocuments().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getDocumentById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getDocumentById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getDocumentById( - id: id, -); -getDocumentByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getDocumentById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterDocuments -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterDocuments().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterDocuments, we created `filterDocumentsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterDocumentsVariablesBuilder { - ... - - FilterDocumentsVariablesBuilder documentType(DocumentType? t) { - _documentType.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterDocuments() -.documentType(documentType) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterDocuments(); -filterDocumentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterDocuments().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTaskComments -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTaskComments().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTaskComments(); -listTaskCommentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTaskComments().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTaskCommentById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTaskCommentById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTaskCommentById( - id: id, -); -getTaskCommentByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTaskCommentById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTaskCommentsByTaskId -#### Required Arguments -```dart -String taskId = ...; -ExampleConnector.instance.getTaskCommentsByTaskId( - taskId: taskId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTaskCommentsByTaskId( - taskId: taskId, -); -getTaskCommentsByTaskIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String taskId = ...; - -final ref = ExampleConnector.instance.getTaskCommentsByTaskId( - taskId: taskId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTeams -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTeams().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTeams(); -listTeamsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTeams().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTeamById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamById( - id: id, -); -getTeamByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTeamById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTeamsByOwnerId -#### Required Arguments -```dart -String ownerId = ...; -ExampleConnector.instance.getTeamsByOwnerId( - ownerId: ownerId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTeamsByOwnerId( - ownerId: ownerId, -); -getTeamsByOwnerIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; - -final ref = ExampleConnector.instance.getTeamsByOwnerId( - ownerId: ownerId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getWorkforceById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getWorkforceById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getWorkforceById( - id: id, -); -getWorkforceByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getWorkforceById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getWorkforceByVendorAndStaff -#### Required Arguments -```dart -String vendorId = ...; -String staffId = ...; -ExampleConnector.instance.getWorkforceByVendorAndStaff( - vendorId: vendorId, - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getWorkforceByVendorAndStaff( - vendorId: vendorId, - staffId: staffId, -); -getWorkforceByVendorAndStaffData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -String staffId = ...; - -final ref = ExampleConnector.instance.getWorkforceByVendorAndStaff( - vendorId: vendorId, - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listWorkforceByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.listWorkforceByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listWorkforceByVendorId, we created `listWorkforceByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListWorkforceByVendorIdVariablesBuilder { - ... - ListWorkforceByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListWorkforceByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listWorkforceByVendorId( - vendorId: vendorId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listWorkforceByVendorId( - vendorId: vendorId, -); -listWorkforceByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.listWorkforceByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listWorkforceByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listWorkforceByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listWorkforceByStaffId, we created `listWorkforceByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListWorkforceByStaffIdVariablesBuilder { - ... - ListWorkforceByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListWorkforceByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listWorkforceByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listWorkforceByStaffId( - staffId: staffId, -); -listWorkforceByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listWorkforceByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getWorkforceByVendorAndNumber -#### Required Arguments -```dart -String vendorId = ...; -String workforceNumber = ...; -ExampleConnector.instance.getWorkforceByVendorAndNumber( - vendorId: vendorId, - workforceNumber: workforceNumber, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getWorkforceByVendorAndNumber( - vendorId: vendorId, - workforceNumber: workforceNumber, -); -getWorkforceByVendorAndNumberData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -String workforceNumber = ...; - -final ref = ExampleConnector.instance.getWorkforceByVendorAndNumber( - vendorId: vendorId, - workforceNumber: workforceNumber, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listHubs -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listHubs().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listHubs(); -listHubsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listHubs().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getHubById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getHubById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getHubById( - id: id, -); -getHubByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getHubById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getHubsByOwnerId -#### Required Arguments -```dart -String ownerId = ...; -ExampleConnector.instance.getHubsByOwnerId( - ownerId: ownerId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getHubsByOwnerId( - ownerId: ownerId, -); -getHubsByOwnerIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String ownerId = ...; - -final ref = ExampleConnector.instance.getHubsByOwnerId( - ownerId: ownerId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterHubs -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterHubs().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterHubs, we created `filterHubsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterHubsVariablesBuilder { - ... - - FilterHubsVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - FilterHubsVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - FilterHubsVariablesBuilder nfcTagId(String? t) { - _nfcTagId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterHubs() -.ownerId(ownerId) -.name(name) -.nfcTagId(nfcTagId) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterHubs(); -filterHubsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterHubs().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - ### listStaffRoles #### Required Arguments ```dart @@ -8613,17 +11190,17 @@ ref.subscribe(...); ``` -### listTeamHubs +### listTasks #### Required Arguments ```dart // No required arguments -ExampleConnector.instance.listTeamHubs().execute(); +ExampleConnector.instance.listTasks().execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -8638,8 +11215,8 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.listTeamHubs(); -listTeamHubsData data = result.data; +final result = await ExampleConnector.instance.listTasks(); +listTasksData data = result.data; final ref = result.ref; ``` @@ -8647,18 +11224,18 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -final ref = ExampleConnector.instance.listTeamHubs().ref(); +final ref = ExampleConnector.instance.listTasks().ref(); ref.execute(); ref.subscribe(...); ``` -### getTeamHubById +### getTaskById #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.getTeamHubById( +ExampleConnector.instance.getTaskById( id: id, ).execute(); ``` @@ -8666,7 +11243,7 @@ ExampleConnector.instance.getTeamHubById( #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -8681,10 +11258,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.getTeamHubById( +final result = await ExampleConnector.instance.getTaskById( id: id, ); -getTeamHubByIdData data = result.data; +getTaskByIdData data = result.data; final ref = result.ref; ``` @@ -8694,7 +11271,7 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.getTeamHubById( +final ref = ExampleConnector.instance.getTaskById( id: id, ).ref(); ref.execute(); @@ -8703,19 +11280,19 @@ ref.subscribe(...); ``` -### getTeamHubsByTeamId +### getTasksByOwnerId #### Required Arguments ```dart -String teamId = ...; -ExampleConnector.instance.getTeamHubsByTeamId( - teamId: teamId, +String ownerId = ...; +ExampleConnector.instance.getTasksByOwnerId( + ownerId: ownerId, ).execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -8730,10 +11307,10 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.getTeamHubsByTeamId( - teamId: teamId, +final result = await ExampleConnector.instance.getTasksByOwnerId( + ownerId: ownerId, ); -getTeamHubsByTeamIdData data = result.data; +getTasksByOwnerIdData data = result.data; final ref = result.ref; ``` @@ -8741,10 +11318,10 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String teamId = ...; +String ownerId = ...; -final ref = ExampleConnector.instance.getTeamHubsByTeamId( - teamId: teamId, +final ref = ExampleConnector.instance.getTasksByOwnerId( + ownerId: ownerId, ).ref(); ref.execute(); @@ -8752,19 +11329,39 @@ ref.subscribe(...); ``` -### listTeamHubsByOwnerId +### filterTasks #### Required Arguments ```dart -String ownerId = ...; -ExampleConnector.instance.listTeamHubsByOwnerId( - ownerId: ownerId, -).execute(); +// No required arguments +ExampleConnector.instance.filterTasks().execute(); ``` +#### Optional Arguments +We return a builder for each query. For filterTasks, we created `filterTasksBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterTasksVariablesBuilder { + ... + + FilterTasksVariablesBuilder status(TaskStatus? t) { + _status.value = t; + return this; + } + FilterTasksVariablesBuilder priority(TaskPriority? t) { + _priority.value = t; + return this; + } + ... +} +ExampleConnector.instance.filterTasks() +.status(status) +.priority(priority) +.execute(); +``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `QueryResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -8779,10 +11376,8 @@ class QueryResult extends OperationResult { QueryResult(super.dataConnect, super.data, super.ref); } -final result = await ExampleConnector.instance.listTeamHubsByOwnerId( - ownerId: ownerId, -); -listTeamHubsByOwnerIdData data = result.data; +final result = await ExampleConnector.instance.filterTasks(); +filterTasksData data = result.data; final ref = result.ref; ``` @@ -8790,10 +11385,884 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String ownerId = ...; +final ref = ExampleConnector.instance.filterTasks().ref(); +ref.execute(); -final ref = ExampleConnector.instance.listTeamHubsByOwnerId( - ownerId: ownerId, +ref.subscribe(...); +``` + + +### listUsers +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listUsers().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listUsers(); +listUsersData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listUsers().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getUserById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getUserById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getUserById( + id: id, +); +getUserByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getUserById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterUsers +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterUsers().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterUsers, we created `filterUsersBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterUsersVariablesBuilder { + ... + + FilterUsersVariablesBuilder id(String? t) { + _id.value = t; + return this; + } + FilterUsersVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + FilterUsersVariablesBuilder role(UserBaseRole? t) { + _role.value = t; + return this; + } + FilterUsersVariablesBuilder userRole(String? t) { + _userRole.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterUsers() +.id(id) +.email(email) +.role(role) +.userRole(userRole) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterUsers(); +filterUsersData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterUsers().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listEmergencyContacts +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listEmergencyContacts().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listEmergencyContacts(); +listEmergencyContactsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listEmergencyContacts().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getEmergencyContactById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getEmergencyContactById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getEmergencyContactById( + id: id, +); +getEmergencyContactByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getEmergencyContactById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getEmergencyContactsByStaffId +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.getEmergencyContactsByStaffId( + staffId: staffId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getEmergencyContactsByStaffId( + staffId: staffId, +); +getEmergencyContactsByStaffIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.getEmergencyContactsByStaffId( + staffId: staffId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listVendorBenefitPlans +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listVendorBenefitPlans().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listVendorBenefitPlans, we created `listVendorBenefitPlansBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListVendorBenefitPlansVariablesBuilder { + ... + + ListVendorBenefitPlansVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListVendorBenefitPlansVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listVendorBenefitPlans() +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listVendorBenefitPlans(); +listVendorBenefitPlansData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listVendorBenefitPlans().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getVendorBenefitPlanById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getVendorBenefitPlanById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getVendorBenefitPlanById( + id: id, +); +getVendorBenefitPlanByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getVendorBenefitPlanById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listVendorBenefitPlansByVendorId +#### Required Arguments +```dart +String vendorId = ...; +ExampleConnector.instance.listVendorBenefitPlansByVendorId( + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listVendorBenefitPlansByVendorId, we created `listVendorBenefitPlansByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListVendorBenefitPlansByVendorIdVariablesBuilder { + ... + ListVendorBenefitPlansByVendorIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListVendorBenefitPlansByVendorIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listVendorBenefitPlansByVendorId( + vendorId: vendorId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listVendorBenefitPlansByVendorId( + vendorId: vendorId, +); +listVendorBenefitPlansByVendorIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; + +final ref = ExampleConnector.instance.listVendorBenefitPlansByVendorId( + vendorId: vendorId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listActiveVendorBenefitPlansByVendorId +#### Required Arguments +```dart +String vendorId = ...; +ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For listActiveVendorBenefitPlansByVendorId, we created `listActiveVendorBenefitPlansByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class ListActiveVendorBenefitPlansByVendorIdVariablesBuilder { + ... + ListActiveVendorBenefitPlansByVendorIdVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + ListActiveVendorBenefitPlansByVendorIdVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( + vendorId: vendorId, +) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( + vendorId: vendorId, +); +listActiveVendorBenefitPlansByVendorIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; + +final ref = ExampleConnector.instance.listActiveVendorBenefitPlansByVendorId( + vendorId: vendorId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### filterVendorBenefitPlans +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.filterVendorBenefitPlans().execute(); +``` + +#### Optional Arguments +We return a builder for each query. For filterVendorBenefitPlans, we created `filterVendorBenefitPlansBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class FilterVendorBenefitPlansVariablesBuilder { + ... + + FilterVendorBenefitPlansVariablesBuilder vendorId(String? t) { + _vendorId.value = t; + return this; + } + FilterVendorBenefitPlansVariablesBuilder title(String? t) { + _title.value = t; + return this; + } + FilterVendorBenefitPlansVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + FilterVendorBenefitPlansVariablesBuilder offset(int? t) { + _offset.value = t; + return this; + } + FilterVendorBenefitPlansVariablesBuilder limit(int? t) { + _limit.value = t; + return this; + } + + ... +} +ExampleConnector.instance.filterVendorBenefitPlans() +.vendorId(vendorId) +.title(title) +.isActive(isActive) +.offset(offset) +.limit(limit) +.execute(); +``` + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.filterVendorBenefitPlans(); +filterVendorBenefitPlansData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.filterVendorBenefitPlans().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### listCustomRateCards +#### Required Arguments +```dart +// No required arguments +ExampleConnector.instance.listCustomRateCards().execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.listCustomRateCards(); +listCustomRateCardsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +final ref = ExampleConnector.instance.listCustomRateCards().ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getCustomRateCardById +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.getCustomRateCardById( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getCustomRateCardById( + id: id, +); +getCustomRateCardByIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.getCustomRateCardById( + id: id, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getMyTasks +#### Required Arguments +```dart +String teamMemberId = ...; +ExampleConnector.instance.getMyTasks( + teamMemberId: teamMemberId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getMyTasks( + teamMemberId: teamMemberId, +); +getMyTasksData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String teamMemberId = ...; + +final ref = ExampleConnector.instance.getMyTasks( + teamMemberId: teamMemberId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getMemberTaskByIdKey +#### Required Arguments +```dart +String teamMemberId = ...; +String taskId = ...; +ExampleConnector.instance.getMemberTaskByIdKey( + teamMemberId: teamMemberId, + taskId: taskId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getMemberTaskByIdKey( + teamMemberId: teamMemberId, + taskId: taskId, +); +getMemberTaskByIdKeyData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String teamMemberId = ...; +String taskId = ...; + +final ref = ExampleConnector.instance.getMemberTaskByIdKey( + teamMemberId: teamMemberId, + taskId: taskId, +).ref(); +ref.execute(); + +ref.subscribe(...); +``` + + +### getMemberTasksByTaskId +#### Required Arguments +```dart +String taskId = ...; +ExampleConnector.instance.getMemberTasksByTaskId( + taskId: taskId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `QueryResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +/// Result of a query request. Created to hold extra variables in the future. +class QueryResult extends OperationResult { + QueryResult(super.dataConnect, super.data, super.ref); +} + +final result = await ExampleConnector.instance.getMemberTasksByTaskId( + taskId: taskId, +); +getMemberTasksByTaskIdData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String taskId = ...; + +final ref = ExampleConnector.instance.getMemberTasksByTaskId( + taskId: taskId, ).ref(); ref.execute(); @@ -9269,192 +12738,42 @@ ref.execute(); ref.subscribe(...); ``` +## Mutations -### listStaffAvailabilityStats +### createTeamHudDepartment #### Required Arguments ```dart -// No required arguments -ExampleConnector.instance.listStaffAvailabilityStats().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffAvailabilityStats, we created `listStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffAvailabilityStatsVariablesBuilder { - ... - - ListStaffAvailabilityStatsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffAvailabilityStatsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffAvailabilityStats() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffAvailabilityStats(); -listStaffAvailabilityStatsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listStaffAvailabilityStats().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffAvailabilityStatsByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.getStaffAvailabilityStatsByStaffId( - staffId: staffId, +String name = ...; +String teamHubId = ...; +ExampleConnector.instance.createTeamHudDepartment( + name: name, + teamHubId: teamHubId, ).execute(); ``` - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffAvailabilityStatsByStaffId( - staffId: staffId, -); -getStaffAvailabilityStatsByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.getStaffAvailabilityStatsByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterStaffAvailabilityStats -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterStaffAvailabilityStats().execute(); -``` - #### Optional Arguments -We return a builder for each query. For filterStaffAvailabilityStats, we created `filterStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For createTeamHudDepartment, we created `createTeamHudDepartmentBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class FilterStaffAvailabilityStatsVariablesBuilder { +class CreateTeamHudDepartmentVariablesBuilder { ... - - FilterStaffAvailabilityStatsVariablesBuilder needWorkIndexMin(int? t) { - _needWorkIndexMin.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder needWorkIndexMax(int? t) { - _needWorkIndexMax.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder utilizationMin(int? t) { - _utilizationMin.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder utilizationMax(int? t) { - _utilizationMax.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder acceptanceRateMin(int? t) { - _acceptanceRateMin.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder acceptanceRateMax(int? t) { - _acceptanceRateMax.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder lastShiftAfter(Timestamp? t) { - _lastShiftAfter.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder lastShiftBefore(Timestamp? t) { - _lastShiftBefore.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterStaffAvailabilityStatsVariablesBuilder limit(int? t) { - _limit.value = t; + CreateTeamHudDepartmentVariablesBuilder costCenter(String? t) { + _costCenter.value = t; return this; } ... } -ExampleConnector.instance.filterStaffAvailabilityStats() -.needWorkIndexMin(needWorkIndexMin) -.needWorkIndexMax(needWorkIndexMax) -.utilizationMin(utilizationMin) -.utilizationMax(utilizationMax) -.acceptanceRateMin(acceptanceRateMin) -.acceptanceRateMax(acceptanceRateMax) -.lastShiftAfter(lastShiftAfter) -.lastShiftBefore(lastShiftBefore) -.offset(offset) -.limit(limit) +ExampleConnector.instance.createTeamHudDepartment( + name: name, + teamHubId: teamHubId, +) +.costCenter(costCenter) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -9464,13 +12783,11 @@ class OperationResult { FirebaseDataConnect dataConnect; } -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterStaffAvailabilityStats(); -filterStaffAvailabilityStatsData data = result.data; +final result = await ExampleConnector.instance.createTeamHudDepartment( + name: name, + teamHubId: teamHubId, +); +createTeamHudDepartmentData data = result.data; final ref = result.ref; ``` @@ -9478,26 +12795,58 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -final ref = ExampleConnector.instance.filterStaffAvailabilityStats().ref(); -ref.execute(); +String name = ...; +String teamHubId = ...; -ref.subscribe(...); +final ref = ExampleConnector.instance.createTeamHudDepartment( + name: name, + teamHubId: teamHubId, +).ref(); +ref.execute(); ``` -### getStaffCourseById +### updateTeamHudDepartment #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.getStaffCourseById( +ExampleConnector.instance.updateTeamHudDepartment( id: id, ).execute(); ``` +#### Optional Arguments +We return a builder for each query. For updateTeamHudDepartment, we created `updateTeamHudDepartmentBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateTeamHudDepartmentVariablesBuilder { + ... + UpdateTeamHudDepartmentVariablesBuilder name(String? t) { + _name.value = t; + return this; + } + UpdateTeamHudDepartmentVariablesBuilder costCenter(String? t) { + _costCenter.value = t; + return this; + } + UpdateTeamHudDepartmentVariablesBuilder teamHubId(String? t) { + _teamHubId.value = t; + return this; + } + ... +} +ExampleConnector.instance.updateTeamHudDepartment( + id: id, +) +.name(name) +.costCenter(costCenter) +.teamHubId(teamHubId) +.execute(); +``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -9507,15 +12856,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffCourseById( +final result = await ExampleConnector.instance.updateTeamHudDepartment( id: id, ); -getStaffCourseByIdData data = result.data; +updateTeamHudDepartmentData data = result.data; final ref = result.ref; ``` @@ -9525,281 +12869,18 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.getStaffCourseById( +final ref = ExampleConnector.instance.updateTeamHudDepartment( id: id, ).ref(); ref.execute(); - -ref.subscribe(...); ``` -### listStaffCoursesByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listStaffCoursesByStaffId( - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffCoursesByStaffId, we created `listStaffCoursesByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffCoursesByStaffIdVariablesBuilder { - ... - ListStaffCoursesByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffCoursesByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffCoursesByStaffId( - staffId: staffId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffCoursesByStaffId( - staffId: staffId, -); -listStaffCoursesByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.listStaffCoursesByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffCoursesByCourseId -#### Required Arguments -```dart -String courseId = ...; -ExampleConnector.instance.listStaffCoursesByCourseId( - courseId: courseId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffCoursesByCourseId, we created `listStaffCoursesByCourseIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffCoursesByCourseIdVariablesBuilder { - ... - ListStaffCoursesByCourseIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffCoursesByCourseIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffCoursesByCourseId( - courseId: courseId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffCoursesByCourseId( - courseId: courseId, -); -listStaffCoursesByCourseIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String courseId = ...; - -final ref = ExampleConnector.instance.listStaffCoursesByCourseId( - courseId: courseId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getStaffCourseByStaffAndCourse -#### Required Arguments -```dart -String staffId = ...; -String courseId = ...; -ExampleConnector.instance.getStaffCourseByStaffAndCourse( - staffId: staffId, - courseId: courseId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffCourseByStaffAndCourse( - staffId: staffId, - courseId: courseId, -); -getStaffCourseByStaffAndCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String courseId = ...; - -final ref = ExampleConnector.instance.getStaffCourseByStaffAndCourse( - staffId: staffId, - courseId: courseId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listAssignments -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listAssignments().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listAssignments, we created `listAssignmentsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListAssignmentsVariablesBuilder { - ... - - ListAssignmentsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListAssignmentsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listAssignments() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAssignments(); -listAssignmentsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listAssignments().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getAssignmentById +### deleteTeamHudDepartment #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.getAssignmentById( +ExampleConnector.instance.deleteTeamHudDepartment( id: id, ).execute(); ``` @@ -9807,7 +12888,7 @@ ExampleConnector.instance.getAssignmentById( #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -9817,15 +12898,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getAssignmentById( +final result = await ExampleConnector.instance.deleteTeamHudDepartment( id: id, ); -getAssignmentByIdData data = result.data; +deleteTeamHudDepartmentData data = result.data; final ref = result.ref; ``` @@ -9835,51 +12911,85 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.getAssignmentById( +final ref = ExampleConnector.instance.deleteTeamHudDepartment( id: id, ).ref(); ref.execute(); - -ref.subscribe(...); ``` -### listAssignmentsByWorkforceId +### CreateCertificate #### Required Arguments ```dart -String workforceId = ...; -ExampleConnector.instance.listAssignmentsByWorkforceId( - workforceId: workforceId, +String name = ...; +CertificateStatus status = ...; +String staffId = ...; +ExampleConnector.instance.createCertificate( + name: name, + status: status, + staffId: staffId, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For listAssignmentsByWorkforceId, we created `listAssignmentsByWorkforceIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For CreateCertificate, we created `CreateCertificateBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class ListAssignmentsByWorkforceIdVariablesBuilder { +class CreateCertificateVariablesBuilder { ... - ListAssignmentsByWorkforceIdVariablesBuilder offset(int? t) { - _offset.value = t; + CreateCertificateVariablesBuilder description(String? t) { + _description.value = t; return this; } - ListAssignmentsByWorkforceIdVariablesBuilder limit(int? t) { - _limit.value = t; + CreateCertificateVariablesBuilder expiry(Timestamp? t) { + _expiry.value = t; + return this; + } + CreateCertificateVariablesBuilder fileUrl(String? t) { + _fileUrl.value = t; + return this; + } + CreateCertificateVariablesBuilder icon(String? t) { + _icon.value = t; + return this; + } + CreateCertificateVariablesBuilder certificationType(ComplianceType? t) { + _certificationType.value = t; + return this; + } + CreateCertificateVariablesBuilder issuer(String? t) { + _issuer.value = t; + return this; + } + CreateCertificateVariablesBuilder validationStatus(ValidationStatus? t) { + _validationStatus.value = t; + return this; + } + CreateCertificateVariablesBuilder certificateNumber(String? t) { + _certificateNumber.value = t; return this; } ... } -ExampleConnector.instance.listAssignmentsByWorkforceId( - workforceId: workforceId, +ExampleConnector.instance.createCertificate( + name: name, + status: status, + staffId: staffId, ) -.offset(offset) -.limit(limit) +.description(description) +.expiry(expiry) +.fileUrl(fileUrl) +.icon(icon) +.certificationType(certificationType) +.issuer(issuer) +.validationStatus(validationStatus) +.certificateNumber(certificateNumber) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -9889,15 +12999,12 @@ class OperationResult { FirebaseDataConnect dataConnect; } -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAssignmentsByWorkforceId( - workforceId: workforceId, +final result = await ExampleConnector.instance.createCertificate( + name: name, + status: status, + staffId: staffId, ); -listAssignmentsByWorkforceIdData data = result.data; +CreateCertificateData data = result.data; final ref = result.ref; ``` @@ -9905,211 +13012,100 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String workforceId = ...; +String name = ...; +CertificateStatus status = ...; +String staffId = ...; -final ref = ExampleConnector.instance.listAssignmentsByWorkforceId( - workforceId: workforceId, +final ref = ExampleConnector.instance.createCertificate( + name: name, + status: status, + staffId: staffId, ).ref(); ref.execute(); - -ref.subscribe(...); ``` -### listAssignmentsByWorkforceIds +### UpdateCertificate #### Required Arguments ```dart -String workforceIds = ...; -ExampleConnector.instance.listAssignmentsByWorkforceIds( - workforceIds: workforceIds, +String id = ...; +ExampleConnector.instance.updateCertificate( + id: id, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For listAssignmentsByWorkforceIds, we created `listAssignmentsByWorkforceIdsBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For UpdateCertificate, we created `UpdateCertificateBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class ListAssignmentsByWorkforceIdsVariablesBuilder { +class UpdateCertificateVariablesBuilder { ... - ListAssignmentsByWorkforceIdsVariablesBuilder offset(int? t) { - _offset.value = t; + UpdateCertificateVariablesBuilder name(String? t) { + _name.value = t; return this; } - ListAssignmentsByWorkforceIdsVariablesBuilder limit(int? t) { - _limit.value = t; + UpdateCertificateVariablesBuilder description(String? t) { + _description.value = t; return this; } - - ... -} -ExampleConnector.instance.listAssignmentsByWorkforceIds( - workforceIds: workforceIds, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAssignmentsByWorkforceIds( - workforceIds: workforceIds, -); -listAssignmentsByWorkforceIdsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String workforceIds = ...; - -final ref = ExampleConnector.instance.listAssignmentsByWorkforceIds( - workforceIds: workforceIds, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listAssignmentsByShiftRole -#### Required Arguments -```dart -String shiftId = ...; -String roleId = ...; -ExampleConnector.instance.listAssignmentsByShiftRole( - shiftId: shiftId, - roleId: roleId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listAssignmentsByShiftRole, we created `listAssignmentsByShiftRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListAssignmentsByShiftRoleVariablesBuilder { - ... - ListAssignmentsByShiftRoleVariablesBuilder offset(int? t) { - _offset.value = t; + UpdateCertificateVariablesBuilder expiry(Timestamp? t) { + _expiry.value = t; return this; } - ListAssignmentsByShiftRoleVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listAssignmentsByShiftRole( - shiftId: shiftId, - roleId: roleId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAssignmentsByShiftRole( - shiftId: shiftId, - roleId: roleId, -); -listAssignmentsByShiftRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.listAssignmentsByShiftRole( - shiftId: shiftId, - roleId: roleId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterAssignments -#### Required Arguments -```dart -String shiftIds = ...; -String roleIds = ...; -ExampleConnector.instance.filterAssignments( - shiftIds: shiftIds, - roleIds: roleIds, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterAssignments, we created `filterAssignmentsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterAssignmentsVariablesBuilder { - ... - FilterAssignmentsVariablesBuilder status(AssignmentStatus? t) { + UpdateCertificateVariablesBuilder status(CertificateStatus? t) { _status.value = t; return this; } - FilterAssignmentsVariablesBuilder offset(int? t) { - _offset.value = t; + UpdateCertificateVariablesBuilder fileUrl(String? t) { + _fileUrl.value = t; return this; } - FilterAssignmentsVariablesBuilder limit(int? t) { - _limit.value = t; + UpdateCertificateVariablesBuilder icon(String? t) { + _icon.value = t; + return this; + } + UpdateCertificateVariablesBuilder staffId(String? t) { + _staffId.value = t; + return this; + } + UpdateCertificateVariablesBuilder certificationType(ComplianceType? t) { + _certificationType.value = t; + return this; + } + UpdateCertificateVariablesBuilder issuer(String? t) { + _issuer.value = t; + return this; + } + UpdateCertificateVariablesBuilder validationStatus(ValidationStatus? t) { + _validationStatus.value = t; + return this; + } + UpdateCertificateVariablesBuilder certificateNumber(String? t) { + _certificateNumber.value = t; return this; } ... } -ExampleConnector.instance.filterAssignments( - shiftIds: shiftIds, - roleIds: roleIds, +ExampleConnector.instance.updateCertificate( + id: id, ) +.name(name) +.description(description) +.expiry(expiry) .status(status) -.offset(offset) -.limit(limit) +.fileUrl(fileUrl) +.icon(icon) +.staffId(staffId) +.certificationType(certificationType) +.issuer(issuer) +.validationStatus(validationStatus) +.certificateNumber(certificateNumber) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -10119,16 +13115,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterAssignments( - shiftIds: shiftIds, - roleIds: roleIds, +final result = await ExampleConnector.instance.updateCertificate( + id: id, ); -filterAssignmentsData data = result.data; +UpdateCertificateData data = result.data; final ref = result.ref; ``` @@ -10136,65 +13126,20 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String shiftIds = ...; -String roleIds = ...; +String id = ...; -final ref = ExampleConnector.instance.filterAssignments( - shiftIds: shiftIds, - roleIds: roleIds, +final ref = ExampleConnector.instance.updateCertificate( + id: id, ).ref(); ref.execute(); - -ref.subscribe(...); ``` -### listCourses -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listCourses().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listCourses(); -listCoursesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listCourses().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getCourseById +### DeleteCertificate #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.getCourseById( +ExampleConnector.instance.deleteCertificate( id: id, ).execute(); ``` @@ -10202,7 +13147,7 @@ ExampleConnector.instance.getCourseById( #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -10212,15 +13157,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getCourseById( +final result = await ExampleConnector.instance.deleteCertificate( id: id, ); -getCourseByIdData data = result.data; +DeleteCertificateData data = result.data; final ref = result.ref; ``` @@ -10230,277 +13170,67 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.getCourseById( +final ref = ExampleConnector.instance.deleteCertificate( id: id, ).ref(); ref.execute(); - -ref.subscribe(...); ``` -### filterCourses +### createVendorBenefitPlan #### Required Arguments ```dart -// No required arguments -ExampleConnector.instance.filterCourses().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterCourses, we created `filterCoursesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterCoursesVariablesBuilder { - ... - - FilterCoursesVariablesBuilder categoryId(String? t) { - _categoryId.value = t; - return this; - } - FilterCoursesVariablesBuilder isCertification(bool? t) { - _isCertification.value = t; - return this; - } - FilterCoursesVariablesBuilder levelRequired(String? t) { - _levelRequired.value = t; - return this; - } - FilterCoursesVariablesBuilder completed(bool? t) { - _completed.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterCourses() -.categoryId(categoryId) -.isCertification(isCertification) -.levelRequired(levelRequired) -.completed(completed) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterCourses(); -filterCoursesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterCourses().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listCustomRateCards -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listCustomRateCards().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listCustomRateCards(); -listCustomRateCardsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listCustomRateCards().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getCustomRateCardById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getCustomRateCardById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getCustomRateCardById( - id: id, -); -getCustomRateCardByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getCustomRateCardById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffAvailabilities -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listStaffAvailabilities().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffAvailabilities, we created `listStaffAvailabilitiesBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffAvailabilitiesVariablesBuilder { - ... - - ListStaffAvailabilitiesVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffAvailabilitiesVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffAvailabilities() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffAvailabilities(); -listStaffAvailabilitiesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listStaffAvailabilities().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffAvailabilitiesByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listStaffAvailabilitiesByStaffId( - staffId: staffId, +String vendorId = ...; +String title = ...; +ExampleConnector.instance.createVendorBenefitPlan( + vendorId: vendorId, + title: title, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For listStaffAvailabilitiesByStaffId, we created `listStaffAvailabilitiesByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For createVendorBenefitPlan, we created `createVendorBenefitPlanBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class ListStaffAvailabilitiesByStaffIdVariablesBuilder { +class CreateVendorBenefitPlanVariablesBuilder { ... - ListStaffAvailabilitiesByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; + CreateVendorBenefitPlanVariablesBuilder description(String? t) { + _description.value = t; return this; } - ListStaffAvailabilitiesByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; + CreateVendorBenefitPlanVariablesBuilder requestLabel(String? t) { + _requestLabel.value = t; + return this; + } + CreateVendorBenefitPlanVariablesBuilder total(int? t) { + _total.value = t; + return this; + } + CreateVendorBenefitPlanVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + CreateVendorBenefitPlanVariablesBuilder createdBy(String? t) { + _createdBy.value = t; return this; } ... } -ExampleConnector.instance.listStaffAvailabilitiesByStaffId( - staffId: staffId, +ExampleConnector.instance.createVendorBenefitPlan( + vendorId: vendorId, + title: title, ) -.offset(offset) -.limit(limit) +.description(description) +.requestLabel(requestLabel) +.total(total) +.isActive(isActive) +.createdBy(createdBy) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -10510,15 +13240,11 @@ class OperationResult { FirebaseDataConnect dataConnect; } -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffAvailabilitiesByStaffId( - staffId: staffId, +final result = await ExampleConnector.instance.createVendorBenefitPlan( + vendorId: vendorId, + title: title, ); -listStaffAvailabilitiesByStaffIdData data = result.data; +createVendorBenefitPlanData data = result.data; final ref = result.ref; ``` @@ -10526,788 +13252,78 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String staffId = ...; +String vendorId = ...; +String title = ...; -final ref = ExampleConnector.instance.listStaffAvailabilitiesByStaffId( - staffId: staffId, +final ref = ExampleConnector.instance.createVendorBenefitPlan( + vendorId: vendorId, + title: title, ).ref(); ref.execute(); - -ref.subscribe(...); ``` -### getStaffAvailabilityByKey -#### Required Arguments -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; -ExampleConnector.instance.getStaffAvailabilityByKey( - staffId: staffId, - day: day, - slot: slot, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getStaffAvailabilityByKey( - staffId: staffId, - day: day, - slot: slot, -); -getStaffAvailabilityByKeyData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; - -final ref = ExampleConnector.instance.getStaffAvailabilityByKey( - staffId: staffId, - day: day, - slot: slot, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listStaffAvailabilitiesByDay -#### Required Arguments -```dart -DayOfWeek day = ...; -ExampleConnector.instance.listStaffAvailabilitiesByDay( - day: day, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listStaffAvailabilitiesByDay, we created `listStaffAvailabilitiesByDayBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListStaffAvailabilitiesByDayVariablesBuilder { - ... - ListStaffAvailabilitiesByDayVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListStaffAvailabilitiesByDayVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listStaffAvailabilitiesByDay( - day: day, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listStaffAvailabilitiesByDay( - day: day, -); -listStaffAvailabilitiesByDayData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -DayOfWeek day = ...; - -final ref = ExampleConnector.instance.listStaffAvailabilitiesByDay( - day: day, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listUsers -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listUsers().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listUsers(); -listUsersData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listUsers().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getUserById +### updateVendorBenefitPlan #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.getUserById( +ExampleConnector.instance.updateVendorBenefitPlan( id: id, ).execute(); ``` - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getUserById( - id: id, -); -getUserByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getUserById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterUsers -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterUsers().execute(); -``` - #### Optional Arguments -We return a builder for each query. For filterUsers, we created `filterUsersBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For updateVendorBenefitPlan, we created `updateVendorBenefitPlanBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class FilterUsersVariablesBuilder { +class UpdateVendorBenefitPlanVariablesBuilder { ... - - FilterUsersVariablesBuilder id(String? t) { - _id.value = t; - return this; - } - FilterUsersVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - FilterUsersVariablesBuilder role(UserBaseRole? t) { - _role.value = t; - return this; - } - FilterUsersVariablesBuilder userRole(String? t) { - _userRole.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterUsers() -.id(id) -.email(email) -.role(role) -.userRole(userRole) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterUsers(); -filterUsersData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterUsers().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listActivityLogs -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listActivityLogs().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listActivityLogs, we created `listActivityLogsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListActivityLogsVariablesBuilder { - ... - - ListActivityLogsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListActivityLogsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listActivityLogs() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listActivityLogs(); -listActivityLogsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listActivityLogs().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getActivityLogById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getActivityLogById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getActivityLogById( - id: id, -); -getActivityLogByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getActivityLogById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listActivityLogsByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.listActivityLogsByUserId( - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listActivityLogsByUserId, we created `listActivityLogsByUserIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListActivityLogsByUserIdVariablesBuilder { - ... - ListActivityLogsByUserIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListActivityLogsByUserIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listActivityLogsByUserId( - userId: userId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listActivityLogsByUserId( - userId: userId, -); -listActivityLogsByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.listActivityLogsByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listUnreadActivityLogsByUserId -#### Required Arguments -```dart -String userId = ...; -ExampleConnector.instance.listUnreadActivityLogsByUserId( - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listUnreadActivityLogsByUserId, we created `listUnreadActivityLogsByUserIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListUnreadActivityLogsByUserIdVariablesBuilder { - ... - ListUnreadActivityLogsByUserIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListUnreadActivityLogsByUserIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listUnreadActivityLogsByUserId( - userId: userId, -) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listUnreadActivityLogsByUserId( - userId: userId, -); -listUnreadActivityLogsByUserIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; - -final ref = ExampleConnector.instance.listUnreadActivityLogsByUserId( - userId: userId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterActivityLogs -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterActivityLogs().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterActivityLogs, we created `filterActivityLogsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterActivityLogsVariablesBuilder { - ... - - FilterActivityLogsVariablesBuilder userId(String? t) { - _userId.value = t; - return this; - } - FilterActivityLogsVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - FilterActivityLogsVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - FilterActivityLogsVariablesBuilder isRead(bool? t) { - _isRead.value = t; - return this; - } - FilterActivityLogsVariablesBuilder activityType(ActivityType? t) { - _activityType.value = t; - return this; - } - FilterActivityLogsVariablesBuilder iconType(ActivityIconType? t) { - _iconType.value = t; - return this; - } - FilterActivityLogsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterActivityLogsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterActivityLogs() -.userId(userId) -.dateFrom(dateFrom) -.dateTo(dateTo) -.isRead(isRead) -.activityType(activityType) -.iconType(iconType) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterActivityLogs(); -filterActivityLogsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterActivityLogs().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listAttireOptions -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listAttireOptions().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listAttireOptions(); -listAttireOptionsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listAttireOptions().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getAttireOptionById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getAttireOptionById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getAttireOptionById( - id: id, -); -getAttireOptionByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getAttireOptionById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### filterAttireOptions -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterAttireOptions().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterAttireOptions, we created `filterAttireOptionsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterAttireOptionsVariablesBuilder { - ... - - FilterAttireOptionsVariablesBuilder itemId(String? t) { - _itemId.value = t; - return this; - } - FilterAttireOptionsVariablesBuilder isMandatory(bool? t) { - _isMandatory.value = t; - return this; - } - FilterAttireOptionsVariablesBuilder vendorId(String? t) { + UpdateVendorBenefitPlanVariablesBuilder vendorId(String? t) { _vendorId.value = t; return this; } + UpdateVendorBenefitPlanVariablesBuilder title(String? t) { + _title.value = t; + return this; + } + UpdateVendorBenefitPlanVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + UpdateVendorBenefitPlanVariablesBuilder requestLabel(String? t) { + _requestLabel.value = t; + return this; + } + UpdateVendorBenefitPlanVariablesBuilder total(int? t) { + _total.value = t; + return this; + } + UpdateVendorBenefitPlanVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + UpdateVendorBenefitPlanVariablesBuilder createdBy(String? t) { + _createdBy.value = t; + return this; + } ... } -ExampleConnector.instance.filterAttireOptions() -.itemId(itemId) -.isMandatory(isMandatory) +ExampleConnector.instance.updateVendorBenefitPlan( + id: id, +) .vendorId(vendorId) +.title(title) +.description(description) +.requestLabel(requestLabel) +.total(total) +.isActive(isActive) +.createdBy(createdBy) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -11317,99 +13333,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterAttireOptions(); -filterAttireOptionsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterAttireOptions().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listRoleCategories -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listRoleCategories().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listRoleCategories(); -listRoleCategoriesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listRoleCategories().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getRoleCategoryById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getRoleCategoryById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getRoleCategoryById( +final result = await ExampleConnector.instance.updateVendorBenefitPlan( id: id, ); -getRoleCategoryByIdData data = result.data; +updateVendorBenefitPlanData data = result.data; final ref = result.ref; ``` @@ -11419,132 +13346,18 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.getRoleCategoryById( +final ref = ExampleConnector.instance.updateVendorBenefitPlan( id: id, ).ref(); ref.execute(); - -ref.subscribe(...); ``` -### getRoleCategoriesByCategory -#### Required Arguments -```dart -RoleCategoryType category = ...; -ExampleConnector.instance.getRoleCategoriesByCategory( - category: category, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getRoleCategoriesByCategory( - category: category, -); -getRoleCategoriesByCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -RoleCategoryType category = ...; - -final ref = ExampleConnector.instance.getRoleCategoriesByCategory( - category: category, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listShifts -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listShifts().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listShifts, we created `listShiftsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListShiftsVariablesBuilder { - ... - - ListShiftsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListShiftsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listShifts() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listShifts(); -listShiftsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listShifts().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getShiftById +### deleteVendorBenefitPlan #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.getShiftById( +ExampleConnector.instance.deleteVendorBenefitPlan( id: id, ).execute(); ``` @@ -11552,7 +13365,7 @@ ExampleConnector.instance.getShiftById( #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -11562,15 +13375,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getShiftById( +final result = await ExampleConnector.instance.deleteVendorBenefitPlan( id: id, ); -getShiftByIdData data = result.data; +deleteVendorBenefitPlanData data = result.data; final ref = result.ref; ``` @@ -11580,324 +13388,52 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.getShiftById( +final ref = ExampleConnector.instance.deleteVendorBenefitPlan( id: id, ).ref(); ref.execute(); - -ref.subscribe(...); ``` -### filterShifts -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.filterShifts().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For filterShifts, we created `filterShiftsBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class FilterShiftsVariablesBuilder { - ... - - FilterShiftsVariablesBuilder status(ShiftStatus? t) { - _status.value = t; - return this; - } - FilterShiftsVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - FilterShiftsVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - FilterShiftsVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - FilterShiftsVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - FilterShiftsVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.filterShifts() -.status(status) -.orderId(orderId) -.dateFrom(dateFrom) -.dateTo(dateTo) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterShifts(); -filterShiftsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterShifts().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getShiftsByBusinessId -#### Required Arguments -```dart -String businessId = ...; -ExampleConnector.instance.getShiftsByBusinessId( - businessId: businessId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getShiftsByBusinessId, we created `getShiftsByBusinessIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetShiftsByBusinessIdVariablesBuilder { - ... - GetShiftsByBusinessIdVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - GetShiftsByBusinessIdVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - GetShiftsByBusinessIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetShiftsByBusinessIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getShiftsByBusinessId( - businessId: businessId, -) -.dateFrom(dateFrom) -.dateTo(dateTo) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getShiftsByBusinessId( - businessId: businessId, -); -getShiftsByBusinessIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; - -final ref = ExampleConnector.instance.getShiftsByBusinessId( - businessId: businessId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getShiftsByVendorId -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.getShiftsByVendorId( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For getShiftsByVendorId, we created `getShiftsByVendorIdBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class GetShiftsByVendorIdVariablesBuilder { - ... - GetShiftsByVendorIdVariablesBuilder dateFrom(Timestamp? t) { - _dateFrom.value = t; - return this; - } - GetShiftsByVendorIdVariablesBuilder dateTo(Timestamp? t) { - _dateTo.value = t; - return this; - } - GetShiftsByVendorIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - GetShiftsByVendorIdVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.getShiftsByVendorId( - vendorId: vendorId, -) -.dateFrom(dateFrom) -.dateTo(dateTo) -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getShiftsByVendorId( - vendorId: vendorId, -); -getShiftsByVendorIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.getShiftsByVendorId( - vendorId: vendorId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getVendorById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getVendorById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getVendorById( - id: id, -); -getVendorByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getVendorById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getVendorByUserId +### createUserConversation #### Required Arguments ```dart +String conversationId = ...; String userId = ...; -ExampleConnector.instance.getVendorByUserId( +ExampleConnector.instance.createUserConversation( + conversationId: conversationId, userId: userId, ).execute(); ``` +#### Optional Arguments +We return a builder for each query. For createUserConversation, we created `createUserConversationBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateUserConversationVariablesBuilder { + ... + CreateUserConversationVariablesBuilder unreadCount(int? t) { + _unreadCount.value = t; + return this; + } + CreateUserConversationVariablesBuilder lastReadAt(Timestamp? t) { + _lastReadAt.value = t; + return this; + } + ... +} +ExampleConnector.instance.createUserConversation( + conversationId: conversationId, + userId: userId, +) +.unreadCount(unreadCount) +.lastReadAt(lastReadAt) +.execute(); +``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -11907,15 +13443,11 @@ class OperationResult { FirebaseDataConnect dataConnect; } -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getVendorByUserId( +final result = await ExampleConnector.instance.createUserConversation( + conversationId: conversationId, userId: userId, ); -getVendorByUserIdData data = result.data; +createUserConversationData data = result.data; final ref = result.ref; ``` @@ -11923,211 +13455,56 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart +String conversationId = ...; String userId = ...; -final ref = ExampleConnector.instance.getVendorByUserId( +final ref = ExampleConnector.instance.createUserConversation( + conversationId: conversationId, userId: userId, ).ref(); ref.execute(); - -ref.subscribe(...); ``` -### listVendors +### updateUserConversation #### Required Arguments ```dart -// No required arguments -ExampleConnector.instance.listVendors().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listVendors(); -listVendorsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listVendors().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listBenefitsData -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listBenefitsData().execute(); -``` - -#### Optional Arguments -We return a builder for each query. For listBenefitsData, we created `listBenefitsDataBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class ListBenefitsDataVariablesBuilder { - ... - - ListBenefitsDataVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListBenefitsDataVariablesBuilder limit(int? t) { - _limit.value = t; - return this; - } - - ... -} -ExampleConnector.instance.listBenefitsData() -.offset(offset) -.limit(limit) -.execute(); -``` - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listBenefitsData(); -listBenefitsDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listBenefitsData().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getBenefitsDataByKey -#### Required Arguments -```dart -String staffId = ...; -String vendorBenefitPlanId = ...; -ExampleConnector.instance.getBenefitsDataByKey( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getBenefitsDataByKey( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -); -getBenefitsDataByKeyData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String vendorBenefitPlanId = ...; - -final ref = ExampleConnector.instance.getBenefitsDataByKey( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listBenefitsDataByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.listBenefitsDataByStaffId( - staffId: staffId, +String conversationId = ...; +String userId = ...; +ExampleConnector.instance.updateUserConversation( + conversationId: conversationId, + userId: userId, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For listBenefitsDataByStaffId, we created `listBenefitsDataByStaffIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For updateUserConversation, we created `updateUserConversationBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class ListBenefitsDataByStaffIdVariablesBuilder { +class UpdateUserConversationVariablesBuilder { ... - ListBenefitsDataByStaffIdVariablesBuilder offset(int? t) { - _offset.value = t; + UpdateUserConversationVariablesBuilder unreadCount(int? t) { + _unreadCount.value = t; return this; } - ListBenefitsDataByStaffIdVariablesBuilder limit(int? t) { - _limit.value = t; + UpdateUserConversationVariablesBuilder lastReadAt(Timestamp? t) { + _lastReadAt.value = t; return this; } ... } -ExampleConnector.instance.listBenefitsDataByStaffId( - staffId: staffId, +ExampleConnector.instance.updateUserConversation( + conversationId: conversationId, + userId: userId, ) -.offset(offset) -.limit(limit) +.unreadCount(unreadCount) +.lastReadAt(lastReadAt) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -12137,15 +13514,11 @@ class OperationResult { FirebaseDataConnect dataConnect; } -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listBenefitsDataByStaffId( - staffId: staffId, +final result = await ExampleConnector.instance.updateUserConversation( + conversationId: conversationId, + userId: userId, ); -listBenefitsDataByStaffIdData data = result.data; +updateUserConversationData data = result.data; final ref = result.ref; ``` @@ -12153,53 +13526,51 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String staffId = ...; +String conversationId = ...; +String userId = ...; -final ref = ExampleConnector.instance.listBenefitsDataByStaffId( - staffId: staffId, +final ref = ExampleConnector.instance.updateUserConversation( + conversationId: conversationId, + userId: userId, ).ref(); ref.execute(); - -ref.subscribe(...); ``` -### listBenefitsDataByVendorBenefitPlanId +### markConversationAsRead #### Required Arguments ```dart -String vendorBenefitPlanId = ...; -ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanId( - vendorBenefitPlanId: vendorBenefitPlanId, +String conversationId = ...; +String userId = ...; +ExampleConnector.instance.markConversationAsRead( + conversationId: conversationId, + userId: userId, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For listBenefitsDataByVendorBenefitPlanId, we created `listBenefitsDataByVendorBenefitPlanIdBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For markConversationAsRead, we created `markConversationAsReadBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder { +class MarkConversationAsReadVariablesBuilder { ... - ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder offset(int? t) { - _offset.value = t; - return this; - } - ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder limit(int? t) { - _limit.value = t; + MarkConversationAsReadVariablesBuilder lastReadAt(Timestamp? t) { + _lastReadAt.value = t; return this; } ... } -ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanId( - vendorBenefitPlanId: vendorBenefitPlanId, +ExampleConnector.instance.markConversationAsRead( + conversationId: conversationId, + userId: userId, ) -.offset(offset) -.limit(limit) +.lastReadAt(lastReadAt) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -12209,15 +13580,11 @@ class OperationResult { FirebaseDataConnect dataConnect; } -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanId( - vendorBenefitPlanId: vendorBenefitPlanId, +final result = await ExampleConnector.instance.markConversationAsRead( + conversationId: conversationId, + userId: userId, ); -listBenefitsDataByVendorBenefitPlanIdData data = result.data; +markConversationAsReadData data = result.data; final ref = result.ref; ``` @@ -12225,53 +13592,212 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String vendorBenefitPlanId = ...; +String conversationId = ...; +String userId = ...; -final ref = ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanId( - vendorBenefitPlanId: vendorBenefitPlanId, +final ref = ExampleConnector.instance.markConversationAsRead( + conversationId: conversationId, + userId: userId, ).ref(); ref.execute(); - -ref.subscribe(...); ``` -### listBenefitsDataByVendorBenefitPlanIds +### incrementUnreadForUser #### Required Arguments ```dart -String vendorBenefitPlanIds = ...; -ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanIds( - vendorBenefitPlanIds: vendorBenefitPlanIds, +String conversationId = ...; +String userId = ...; +int unreadCount = ...; +ExampleConnector.instance.incrementUnreadForUser( + conversationId: conversationId, + userId: userId, + unreadCount: unreadCount, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.incrementUnreadForUser( + conversationId: conversationId, + userId: userId, + unreadCount: unreadCount, +); +incrementUnreadForUserData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String conversationId = ...; +String userId = ...; +int unreadCount = ...; + +final ref = ExampleConnector.instance.incrementUnreadForUser( + conversationId: conversationId, + userId: userId, + unreadCount: unreadCount, +).ref(); +ref.execute(); +``` + + +### deleteUserConversation +#### Required Arguments +```dart +String conversationId = ...; +String userId = ...; +ExampleConnector.instance.deleteUserConversation( + conversationId: conversationId, + userId: userId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteUserConversation( + conversationId: conversationId, + userId: userId, +); +deleteUserConversationData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String conversationId = ...; +String userId = ...; + +final ref = ExampleConnector.instance.deleteUserConversation( + conversationId: conversationId, + userId: userId, +).ref(); +ref.execute(); +``` + + +### createRole +#### Required Arguments +```dart +String name = ...; +double costPerHour = ...; +String vendorId = ...; +String roleCategoryId = ...; +ExampleConnector.instance.createRole( + name: name, + costPerHour: costPerHour, + vendorId: vendorId, + roleCategoryId: roleCategoryId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createRole( + name: name, + costPerHour: costPerHour, + vendorId: vendorId, + roleCategoryId: roleCategoryId, +); +createRoleData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String name = ...; +double costPerHour = ...; +String vendorId = ...; +String roleCategoryId = ...; + +final ref = ExampleConnector.instance.createRole( + name: name, + costPerHour: costPerHour, + vendorId: vendorId, + roleCategoryId: roleCategoryId, +).ref(); +ref.execute(); +``` + + +### updateRole +#### Required Arguments +```dart +String id = ...; +String roleCategoryId = ...; +ExampleConnector.instance.updateRole( + id: id, + roleCategoryId: roleCategoryId, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For listBenefitsDataByVendorBenefitPlanIds, we created `listBenefitsDataByVendorBenefitPlanIdsBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For updateRole, we created `updateRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder { +class UpdateRoleVariablesBuilder { ... - ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder offset(int? t) { - _offset.value = t; + UpdateRoleVariablesBuilder name(String? t) { + _name.value = t; return this; } - ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder limit(int? t) { - _limit.value = t; + UpdateRoleVariablesBuilder costPerHour(double? t) { + _costPerHour.value = t; return this; } ... } -ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanIds( - vendorBenefitPlanIds: vendorBenefitPlanIds, +ExampleConnector.instance.updateRole( + id: id, + roleCategoryId: roleCategoryId, ) -.offset(offset) -.limit(limit) +.name(name) +.costPerHour(costPerHour) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -12281,15 +13807,11 @@ class OperationResult { FirebaseDataConnect dataConnect; } -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanIds( - vendorBenefitPlanIds: vendorBenefitPlanIds, +final result = await ExampleConnector.instance.updateRole( + id: id, + roleCategoryId: roleCategoryId, ); -listBenefitsDataByVendorBenefitPlanIdsData data = result.data; +updateRoleData data = result.data; final ref = result.ref; ``` @@ -12297,63 +13819,22 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String vendorBenefitPlanIds = ...; +String id = ...; +String roleCategoryId = ...; -final ref = ExampleConnector.instance.listBenefitsDataByVendorBenefitPlanIds( - vendorBenefitPlanIds: vendorBenefitPlanIds, +final ref = ExampleConnector.instance.updateRole( + id: id, + roleCategoryId: roleCategoryId, ).ref(); ref.execute(); - -ref.subscribe(...); ``` -### listEmergencyContacts -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listEmergencyContacts().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listEmergencyContacts(); -listEmergencyContactsData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listEmergencyContacts().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getEmergencyContactById +### deleteRole #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.getEmergencyContactById( +ExampleConnector.instance.deleteRole( id: id, ).execute(); ``` @@ -12361,7 +13842,7 @@ ExampleConnector.instance.getEmergencyContactById( #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -12371,15 +13852,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getEmergencyContactById( +final result = await ExampleConnector.instance.deleteRole( id: id, ); -getEmergencyContactByIdData data = result.data; +deleteRoleData data = result.data; final ref = result.ref; ``` @@ -12389,257 +13865,83 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.getEmergencyContactById( +final ref = ExampleConnector.instance.deleteRole( id: id, ).ref(); ref.execute(); - -ref.subscribe(...); ``` -### getEmergencyContactsByStaffId -#### Required Arguments -```dart -String staffId = ...; -ExampleConnector.instance.getEmergencyContactsByStaffId( - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getEmergencyContactsByStaffId( - staffId: staffId, -); -getEmergencyContactsByStaffIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; - -final ref = ExampleConnector.instance.getEmergencyContactsByStaffId( - staffId: staffId, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listVendorRates -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listVendorRates().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listVendorRates(); -listVendorRatesData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listVendorRates().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getVendorRateById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getVendorRateById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getVendorRateById( - id: id, -); -getVendorRateByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getVendorRateById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### listTasks -#### Required Arguments -```dart -// No required arguments -ExampleConnector.instance.listTasks().execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.listTasks(); -listTasksData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.listTasks().ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTaskById -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.getTaskById( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `QueryResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTaskById( - id: id, -); -getTaskByIdData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.getTaskById( - id: id, -).ref(); -ref.execute(); - -ref.subscribe(...); -``` - - -### getTasksByOwnerId +### createTask #### Required Arguments ```dart +String taskName = ...; +TaskPriority priority = ...; +TaskStatus status = ...; String ownerId = ...; -ExampleConnector.instance.getTasksByOwnerId( +ExampleConnector.instance.createTask( + taskName: taskName, + priority: priority, + status: status, ownerId: ownerId, ).execute(); ``` +#### Optional Arguments +We return a builder for each query. For createTask, we created `createTaskBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateTaskVariablesBuilder { + ... + CreateTaskVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + CreateTaskVariablesBuilder dueDate(Timestamp? t) { + _dueDate.value = t; + return this; + } + CreateTaskVariablesBuilder progress(int? t) { + _progress.value = t; + return this; + } + CreateTaskVariablesBuilder orderIndex(int? t) { + _orderIndex.value = t; + return this; + } + CreateTaskVariablesBuilder commentCount(int? t) { + _commentCount.value = t; + return this; + } + CreateTaskVariablesBuilder attachmentCount(int? t) { + _attachmentCount.value = t; + return this; + } + CreateTaskVariablesBuilder files(AnyValue? t) { + _files.value = t; + return this; + } + ... +} +ExampleConnector.instance.createTask( + taskName: taskName, + priority: priority, + status: status, + ownerId: ownerId, +) +.description(description) +.dueDate(dueDate) +.progress(progress) +.orderIndex(orderIndex) +.commentCount(commentCount) +.attachmentCount(attachmentCount) +.files(files) +.execute(); +``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -12649,15 +13951,13 @@ class OperationResult { FirebaseDataConnect dataConnect; } -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.getTasksByOwnerId( +final result = await ExampleConnector.instance.createTask( + taskName: taskName, + priority: priority, + status: status, ownerId: ownerId, ); -getTasksByOwnerIdData data = result.data; +createTaskData data = result.data; final ref = result.ref; ``` @@ -12665,50 +13965,102 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart +String taskName = ...; +TaskPriority priority = ...; +TaskStatus status = ...; String ownerId = ...; -final ref = ExampleConnector.instance.getTasksByOwnerId( +final ref = ExampleConnector.instance.createTask( + taskName: taskName, + priority: priority, + status: status, ownerId: ownerId, ).ref(); ref.execute(); - -ref.subscribe(...); ``` -### filterTasks +### updateTask #### Required Arguments ```dart -// No required arguments -ExampleConnector.instance.filterTasks().execute(); +String id = ...; +ExampleConnector.instance.updateTask( + id: id, +).execute(); ``` #### Optional Arguments -We return a builder for each query. For filterTasks, we created `filterTasksBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For updateTask, we created `updateTaskBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class FilterTasksVariablesBuilder { +class UpdateTaskVariablesBuilder { ... - - FilterTasksVariablesBuilder status(TaskStatus? t) { - _status.value = t; + UpdateTaskVariablesBuilder taskName(String? t) { + _taskName.value = t; return this; } - FilterTasksVariablesBuilder priority(TaskPriority? t) { + UpdateTaskVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + UpdateTaskVariablesBuilder priority(TaskPriority? t) { _priority.value = t; return this; } + UpdateTaskVariablesBuilder status(TaskStatus? t) { + _status.value = t; + return this; + } + UpdateTaskVariablesBuilder dueDate(Timestamp? t) { + _dueDate.value = t; + return this; + } + UpdateTaskVariablesBuilder progress(int? t) { + _progress.value = t; + return this; + } + UpdateTaskVariablesBuilder assignedMembers(AnyValue? t) { + _assignedMembers.value = t; + return this; + } + UpdateTaskVariablesBuilder orderIndex(int? t) { + _orderIndex.value = t; + return this; + } + UpdateTaskVariablesBuilder commentCount(int? t) { + _commentCount.value = t; + return this; + } + UpdateTaskVariablesBuilder attachmentCount(int? t) { + _attachmentCount.value = t; + return this; + } + UpdateTaskVariablesBuilder files(AnyValue? t) { + _files.value = t; + return this; + } ... } -ExampleConnector.instance.filterTasks() -.status(status) +ExampleConnector.instance.updateTask( + id: id, +) +.taskName(taskName) +.description(description) .priority(priority) +.status(status) +.dueDate(dueDate) +.progress(progress) +.assignedMembers(assignedMembers) +.orderIndex(orderIndex) +.commentCount(commentCount) +.attachmentCount(attachmentCount) +.files(files) .execute(); ``` #### Return Type -`execute()` returns a `QueryResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -12718,137 +14070,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -/// Result of a query request. Created to hold extra variables in the future. -class QueryResult extends OperationResult { - QueryResult(super.dataConnect, super.data, super.ref); -} - -final result = await ExampleConnector.instance.filterTasks(); -filterTasksData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -final ref = ExampleConnector.instance.filterTasks().ref(); -ref.execute(); - -ref.subscribe(...); -``` - -## Mutations - -### createFaqData -#### Required Arguments -```dart -String category = ...; -ExampleConnector.instance.createFaqData( - category: category, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createFaqData, we created `createFaqDataBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateFaqDataVariablesBuilder { - ... - CreateFaqDataVariablesBuilder questions(List? t) { - _questions.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createFaqData( - category: category, -) -.questions(questions) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createFaqData( - category: category, -); -createFaqDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String category = ...; - -final ref = ExampleConnector.instance.createFaqData( - category: category, -).ref(); -ref.execute(); -``` - - -### updateFaqData -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateFaqData( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateFaqData, we created `updateFaqDataBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateFaqDataVariablesBuilder { - ... - UpdateFaqDataVariablesBuilder category(String? t) { - _category.value = t; - return this; - } - UpdateFaqDataVariablesBuilder questions(List? t) { - _questions.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateFaqData( - id: id, -) -.category(category) -.questions(questions) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateFaqData( +final result = await ExampleConnector.instance.updateTask( id: id, ); -updateFaqDataData data = result.data; +updateTaskData data = result.data; final ref = result.ref; ``` @@ -12858,18 +14083,18 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.updateFaqData( +final ref = ExampleConnector.instance.updateTask( id: id, ).ref(); ref.execute(); ``` -### deleteFaqData +### deleteTask #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.deleteFaqData( +ExampleConnector.instance.deleteTask( id: id, ).execute(); ``` @@ -12877,7 +14102,7 @@ ExampleConnector.instance.deleteFaqData( #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -12887,10 +14112,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.deleteFaqData( +final result = await ExampleConnector.instance.deleteTask( id: id, ); -deleteFaqDataData data = result.data; +deleteTaskData data = result.data; final ref = result.ref; ``` @@ -12900,7 +14125,533 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.deleteFaqData( +final ref = ExampleConnector.instance.deleteTask( + id: id, +).ref(); +ref.execute(); +``` + + +### createCategory +#### Required Arguments +```dart +String categoryId = ...; +String label = ...; +ExampleConnector.instance.createCategory( + categoryId: categoryId, + label: label, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createCategory, we created `createCategoryBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateCategoryVariablesBuilder { + ... + CreateCategoryVariablesBuilder icon(String? t) { + _icon.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createCategory( + categoryId: categoryId, + label: label, +) +.icon(icon) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createCategory( + categoryId: categoryId, + label: label, +); +createCategoryData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String categoryId = ...; +String label = ...; + +final ref = ExampleConnector.instance.createCategory( + categoryId: categoryId, + label: label, +).ref(); +ref.execute(); +``` + + +### updateCategory +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateCategory( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateCategory, we created `updateCategoryBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateCategoryVariablesBuilder { + ... + UpdateCategoryVariablesBuilder categoryId(String? t) { + _categoryId.value = t; + return this; + } + UpdateCategoryVariablesBuilder label(String? t) { + _label.value = t; + return this; + } + UpdateCategoryVariablesBuilder icon(String? t) { + _icon.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateCategory( + id: id, +) +.categoryId(categoryId) +.label(label) +.icon(icon) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateCategory( + id: id, +); +updateCategoryData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateCategory( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteCategory +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteCategory( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteCategory( + id: id, +); +deleteCategoryData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteCategory( + id: id, +).ref(); +ref.execute(); +``` + + +### createInvoiceTemplate +#### Required Arguments +```dart +String name = ...; +String ownerId = ...; +ExampleConnector.instance.createInvoiceTemplate( + name: name, + ownerId: ownerId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createInvoiceTemplate, we created `createInvoiceTemplateBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateInvoiceTemplateVariablesBuilder { + ... + CreateInvoiceTemplateVariablesBuilder vendorId(String? t) { + _vendorId.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder businessId(String? t) { + _businessId.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder orderId(String? t) { + _orderId.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder paymentTerms(InovicePaymentTermsTemp? t) { + _paymentTerms.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder invoiceNumber(String? t) { + _invoiceNumber.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder issueDate(Timestamp? t) { + _issueDate.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder dueDate(Timestamp? t) { + _dueDate.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder hub(String? t) { + _hub.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder managerName(String? t) { + _managerName.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder vendorNumber(String? t) { + _vendorNumber.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder roles(AnyValue? t) { + _roles.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder charges(AnyValue? t) { + _charges.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder otherCharges(double? t) { + _otherCharges.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder subtotal(double? t) { + _subtotal.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder amount(double? t) { + _amount.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder notes(String? t) { + _notes.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder staffCount(int? t) { + _staffCount.value = t; + return this; + } + CreateInvoiceTemplateVariablesBuilder chargesCount(int? t) { + _chargesCount.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createInvoiceTemplate( + name: name, + ownerId: ownerId, +) +.vendorId(vendorId) +.businessId(businessId) +.orderId(orderId) +.paymentTerms(paymentTerms) +.invoiceNumber(invoiceNumber) +.issueDate(issueDate) +.dueDate(dueDate) +.hub(hub) +.managerName(managerName) +.vendorNumber(vendorNumber) +.roles(roles) +.charges(charges) +.otherCharges(otherCharges) +.subtotal(subtotal) +.amount(amount) +.notes(notes) +.staffCount(staffCount) +.chargesCount(chargesCount) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createInvoiceTemplate( + name: name, + ownerId: ownerId, +); +createInvoiceTemplateData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String name = ...; +String ownerId = ...; + +final ref = ExampleConnector.instance.createInvoiceTemplate( + name: name, + ownerId: ownerId, +).ref(); +ref.execute(); +``` + + +### updateInvoiceTemplate +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateInvoiceTemplate( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateInvoiceTemplate, we created `updateInvoiceTemplateBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateInvoiceTemplateVariablesBuilder { + ... + UpdateInvoiceTemplateVariablesBuilder name(String? t) { + _name.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder ownerId(String? t) { + _ownerId.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder vendorId(String? t) { + _vendorId.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder businessId(String? t) { + _businessId.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder orderId(String? t) { + _orderId.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder paymentTerms(InovicePaymentTermsTemp? t) { + _paymentTerms.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder invoiceNumber(String? t) { + _invoiceNumber.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder issueDate(Timestamp? t) { + _issueDate.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder dueDate(Timestamp? t) { + _dueDate.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder hub(String? t) { + _hub.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder managerName(String? t) { + _managerName.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder vendorNumber(String? t) { + _vendorNumber.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder roles(AnyValue? t) { + _roles.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder charges(AnyValue? t) { + _charges.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder otherCharges(double? t) { + _otherCharges.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder subtotal(double? t) { + _subtotal.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder amount(double? t) { + _amount.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder notes(String? t) { + _notes.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder staffCount(int? t) { + _staffCount.value = t; + return this; + } + UpdateInvoiceTemplateVariablesBuilder chargesCount(int? t) { + _chargesCount.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateInvoiceTemplate( + id: id, +) +.name(name) +.ownerId(ownerId) +.vendorId(vendorId) +.businessId(businessId) +.orderId(orderId) +.paymentTerms(paymentTerms) +.invoiceNumber(invoiceNumber) +.issueDate(issueDate) +.dueDate(dueDate) +.hub(hub) +.managerName(managerName) +.vendorNumber(vendorNumber) +.roles(roles) +.charges(charges) +.otherCharges(otherCharges) +.subtotal(subtotal) +.amount(amount) +.notes(notes) +.staffCount(staffCount) +.chargesCount(chargesCount) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateInvoiceTemplate( + id: id, +); +updateInvoiceTemplateData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateInvoiceTemplate( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteInvoiceTemplate +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteInvoiceTemplate( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteInvoiceTemplate( + id: id, +); +deleteInvoiceTemplateData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteInvoiceTemplate( id: id, ).ref(); ref.execute(); @@ -13095,102 +14846,133 @@ ref.execute(); ``` -### createRole +### createOrder #### Required Arguments ```dart -String name = ...; -double costPerHour = ...; String vendorId = ...; -String roleCategoryId = ...; -ExampleConnector.instance.createRole( - name: name, - costPerHour: costPerHour, +String businessId = ...; +OrderType orderType = ...; +ExampleConnector.instance.createOrder( vendorId: vendorId, - roleCategoryId: roleCategoryId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createRole( - name: name, - costPerHour: costPerHour, - vendorId: vendorId, - roleCategoryId: roleCategoryId, -); -createRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; -double costPerHour = ...; -String vendorId = ...; -String roleCategoryId = ...; - -final ref = ExampleConnector.instance.createRole( - name: name, - costPerHour: costPerHour, - vendorId: vendorId, - roleCategoryId: roleCategoryId, -).ref(); -ref.execute(); -``` - - -### updateRole -#### Required Arguments -```dart -String id = ...; -String roleCategoryId = ...; -ExampleConnector.instance.updateRole( - id: id, - roleCategoryId: roleCategoryId, + businessId: businessId, + orderType: orderType, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For updateRole, we created `updateRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For createOrder, we created `createOrderBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class UpdateRoleVariablesBuilder { +class CreateOrderVariablesBuilder { ... - UpdateRoleVariablesBuilder name(String? t) { - _name.value = t; + CreateOrderVariablesBuilder location(String? t) { + _location.value = t; return this; } - UpdateRoleVariablesBuilder costPerHour(double? t) { - _costPerHour.value = t; + CreateOrderVariablesBuilder status(OrderStatus? t) { + _status.value = t; + return this; + } + CreateOrderVariablesBuilder date(Timestamp? t) { + _date.value = t; + return this; + } + CreateOrderVariablesBuilder startDate(Timestamp? t) { + _startDate.value = t; + return this; + } + CreateOrderVariablesBuilder endDate(Timestamp? t) { + _endDate.value = t; + return this; + } + CreateOrderVariablesBuilder duration(OrderDuration? t) { + _duration.value = t; + return this; + } + CreateOrderVariablesBuilder lunchBreak(int? t) { + _lunchBreak.value = t; + return this; + } + CreateOrderVariablesBuilder total(double? t) { + _total.value = t; + return this; + } + CreateOrderVariablesBuilder eventName(String? t) { + _eventName.value = t; + return this; + } + CreateOrderVariablesBuilder assignedStaff(AnyValue? t) { + _assignedStaff.value = t; + return this; + } + CreateOrderVariablesBuilder shifts(AnyValue? t) { + _shifts.value = t; + return this; + } + CreateOrderVariablesBuilder requested(int? t) { + _requested.value = t; + return this; + } + CreateOrderVariablesBuilder hub(String? t) { + _hub.value = t; + return this; + } + CreateOrderVariablesBuilder recurringDays(AnyValue? t) { + _recurringDays.value = t; + return this; + } + CreateOrderVariablesBuilder permanentStartDate(Timestamp? t) { + _permanentStartDate.value = t; + return this; + } + CreateOrderVariablesBuilder permanentDays(AnyValue? t) { + _permanentDays.value = t; + return this; + } + CreateOrderVariablesBuilder notes(String? t) { + _notes.value = t; + return this; + } + CreateOrderVariablesBuilder detectedConflicts(AnyValue? t) { + _detectedConflicts.value = t; + return this; + } + CreateOrderVariablesBuilder poReference(String? t) { + _poReference.value = t; return this; } ... } -ExampleConnector.instance.updateRole( - id: id, - roleCategoryId: roleCategoryId, +ExampleConnector.instance.createOrder( + vendorId: vendorId, + businessId: businessId, + orderType: orderType, ) -.name(name) -.costPerHour(costPerHour) +.location(location) +.status(status) +.date(date) +.startDate(startDate) +.endDate(endDate) +.duration(duration) +.lunchBreak(lunchBreak) +.total(total) +.eventName(eventName) +.assignedStaff(assignedStaff) +.shifts(shifts) +.requested(requested) +.hub(hub) +.recurringDays(recurringDays) +.permanentStartDate(permanentStartDate) +.permanentDays(permanentDays) +.notes(notes) +.detectedConflicts(detectedConflicts) +.poReference(poReference) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -13200,11 +14982,156 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.updateRole( - id: id, - roleCategoryId: roleCategoryId, +final result = await ExampleConnector.instance.createOrder( + vendorId: vendorId, + businessId: businessId, + orderType: orderType, ); -updateRoleData data = result.data; +createOrderData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; +String businessId = ...; +OrderType orderType = ...; + +final ref = ExampleConnector.instance.createOrder( + vendorId: vendorId, + businessId: businessId, + orderType: orderType, +).ref(); +ref.execute(); +``` + + +### updateOrder +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateOrder( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateOrder, we created `updateOrderBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateOrderVariablesBuilder { + ... + UpdateOrderVariablesBuilder vendorId(String? t) { + _vendorId.value = t; + return this; + } + UpdateOrderVariablesBuilder businessId(String? t) { + _businessId.value = t; + return this; + } + UpdateOrderVariablesBuilder location(String? t) { + _location.value = t; + return this; + } + UpdateOrderVariablesBuilder status(OrderStatus? t) { + _status.value = t; + return this; + } + UpdateOrderVariablesBuilder startDate(Timestamp? t) { + _startDate.value = t; + return this; + } + UpdateOrderVariablesBuilder endDate(Timestamp? t) { + _endDate.value = t; + return this; + } + UpdateOrderVariablesBuilder total(double? t) { + _total.value = t; + return this; + } + UpdateOrderVariablesBuilder eventName(String? t) { + _eventName.value = t; + return this; + } + UpdateOrderVariablesBuilder assignedStaff(AnyValue? t) { + _assignedStaff.value = t; + return this; + } + UpdateOrderVariablesBuilder shifts(AnyValue? t) { + _shifts.value = t; + return this; + } + UpdateOrderVariablesBuilder requested(int? t) { + _requested.value = t; + return this; + } + UpdateOrderVariablesBuilder hub(String? t) { + _hub.value = t; + return this; + } + UpdateOrderVariablesBuilder recurringDays(AnyValue? t) { + _recurringDays.value = t; + return this; + } + UpdateOrderVariablesBuilder permanentDays(AnyValue? t) { + _permanentDays.value = t; + return this; + } + UpdateOrderVariablesBuilder notes(String? t) { + _notes.value = t; + return this; + } + UpdateOrderVariablesBuilder detectedConflicts(AnyValue? t) { + _detectedConflicts.value = t; + return this; + } + UpdateOrderVariablesBuilder poReference(String? t) { + _poReference.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateOrder( + id: id, +) +.vendorId(vendorId) +.businessId(businessId) +.location(location) +.status(status) +.startDate(startDate) +.endDate(endDate) +.total(total) +.eventName(eventName) +.assignedStaff(assignedStaff) +.shifts(shifts) +.requested(requested) +.hub(hub) +.recurringDays(recurringDays) +.permanentDays(permanentDays) +.notes(notes) +.detectedConflicts(detectedConflicts) +.poReference(poReference) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateOrder( + id: id, +); +updateOrderData data = result.data; final ref = result.ref; ``` @@ -13213,21 +15140,19 @@ Each builder returns an `execute` function, which is a helper function that crea An example of how to use the `Ref` object is shown below: ```dart String id = ...; -String roleCategoryId = ...; -final ref = ExampleConnector.instance.updateRole( +final ref = ExampleConnector.instance.updateOrder( id: id, - roleCategoryId: roleCategoryId, ).ref(); ref.execute(); ``` -### deleteRole +### deleteOrder #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.deleteRole( +ExampleConnector.instance.deleteOrder( id: id, ).execute(); ``` @@ -13235,7 +15160,7 @@ ExampleConnector.instance.deleteRole( #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -13245,10 +15170,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.deleteRole( +final result = await ExampleConnector.instance.deleteOrder( id: id, ); -deleteRoleData data = result.data; +deleteOrderData data = result.data; final ref = result.ref; ``` @@ -13258,7 +15183,1936 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.deleteRole( +final ref = ExampleConnector.instance.deleteOrder( + id: id, +).ref(); +ref.execute(); +``` + + +### createStaffRole +#### Required Arguments +```dart +String staffId = ...; +String roleId = ...; +ExampleConnector.instance.createStaffRole( + staffId: staffId, + roleId: roleId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createStaffRole, we created `createStaffRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateStaffRoleVariablesBuilder { + ... + CreateStaffRoleVariablesBuilder roleType(RoleType? t) { + _roleType.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createStaffRole( + staffId: staffId, + roleId: roleId, +) +.roleType(roleType) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createStaffRole( + staffId: staffId, + roleId: roleId, +); +createStaffRoleData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +String roleId = ...; + +final ref = ExampleConnector.instance.createStaffRole( + staffId: staffId, + roleId: roleId, +).ref(); +ref.execute(); +``` + + +### deleteStaffRole +#### Required Arguments +```dart +String staffId = ...; +String roleId = ...; +ExampleConnector.instance.deleteStaffRole( + staffId: staffId, + roleId: roleId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteStaffRole( + staffId: staffId, + roleId: roleId, +); +deleteStaffRoleData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +String roleId = ...; + +final ref = ExampleConnector.instance.deleteStaffRole( + staffId: staffId, + roleId: roleId, +).ref(); +ref.execute(); +``` + + +### createTaxForm +#### Required Arguments +```dart +TaxFormType formType = ...; +String title = ...; +String staffId = ...; +ExampleConnector.instance.createTaxForm( + formType: formType, + title: title, + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createTaxForm, we created `createTaxFormBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateTaxFormVariablesBuilder { + ... + CreateTaxFormVariablesBuilder subtitle(String? t) { + _subtitle.value = t; + return this; + } + CreateTaxFormVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + CreateTaxFormVariablesBuilder status(TaxFormStatus? t) { + _status.value = t; + return this; + } + CreateTaxFormVariablesBuilder formData(AnyValue? t) { + _formData.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createTaxForm( + formType: formType, + title: title, + staffId: staffId, +) +.subtitle(subtitle) +.description(description) +.status(status) +.formData(formData) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createTaxForm( + formType: formType, + title: title, + staffId: staffId, +); +createTaxFormData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +TaxFormType formType = ...; +String title = ...; +String staffId = ...; + +final ref = ExampleConnector.instance.createTaxForm( + formType: formType, + title: title, + staffId: staffId, +).ref(); +ref.execute(); +``` + + +### updateTaxForm +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateTaxForm( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateTaxForm, we created `updateTaxFormBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateTaxFormVariablesBuilder { + ... + UpdateTaxFormVariablesBuilder status(TaxFormStatus? t) { + _status.value = t; + return this; + } + UpdateTaxFormVariablesBuilder formData(AnyValue? t) { + _formData.value = t; + return this; + } + UpdateTaxFormVariablesBuilder title(String? t) { + _title.value = t; + return this; + } + UpdateTaxFormVariablesBuilder subtitle(String? t) { + _subtitle.value = t; + return this; + } + UpdateTaxFormVariablesBuilder description(String? t) { + _description.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateTaxForm( + id: id, +) +.status(status) +.formData(formData) +.title(title) +.subtitle(subtitle) +.description(description) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateTaxForm( + id: id, +); +updateTaxFormData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateTaxForm( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteTaxForm +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteTaxForm( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteTaxForm( + id: id, +); +deleteTaxFormData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteTaxForm( + id: id, +).ref(); +ref.execute(); +``` + + +### createTeam +#### Required Arguments +```dart +String teamName = ...; +String ownerId = ...; +String ownerName = ...; +String ownerRole = ...; +ExampleConnector.instance.createTeam( + teamName: teamName, + ownerId: ownerId, + ownerName: ownerName, + ownerRole: ownerRole, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createTeam, we created `createTeamBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateTeamVariablesBuilder { + ... + CreateTeamVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + CreateTeamVariablesBuilder companyLogo(String? t) { + _companyLogo.value = t; + return this; + } + CreateTeamVariablesBuilder totalMembers(int? t) { + _totalMembers.value = t; + return this; + } + CreateTeamVariablesBuilder activeMembers(int? t) { + _activeMembers.value = t; + return this; + } + CreateTeamVariablesBuilder totalHubs(int? t) { + _totalHubs.value = t; + return this; + } + CreateTeamVariablesBuilder departments(AnyValue? t) { + _departments.value = t; + return this; + } + CreateTeamVariablesBuilder favoriteStaffCount(int? t) { + _favoriteStaffCount.value = t; + return this; + } + CreateTeamVariablesBuilder blockedStaffCount(int? t) { + _blockedStaffCount.value = t; + return this; + } + CreateTeamVariablesBuilder favoriteStaff(AnyValue? t) { + _favoriteStaff.value = t; + return this; + } + CreateTeamVariablesBuilder blockedStaff(AnyValue? t) { + _blockedStaff.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createTeam( + teamName: teamName, + ownerId: ownerId, + ownerName: ownerName, + ownerRole: ownerRole, +) +.email(email) +.companyLogo(companyLogo) +.totalMembers(totalMembers) +.activeMembers(activeMembers) +.totalHubs(totalHubs) +.departments(departments) +.favoriteStaffCount(favoriteStaffCount) +.blockedStaffCount(blockedStaffCount) +.favoriteStaff(favoriteStaff) +.blockedStaff(blockedStaff) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createTeam( + teamName: teamName, + ownerId: ownerId, + ownerName: ownerName, + ownerRole: ownerRole, +); +createTeamData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String teamName = ...; +String ownerId = ...; +String ownerName = ...; +String ownerRole = ...; + +final ref = ExampleConnector.instance.createTeam( + teamName: teamName, + ownerId: ownerId, + ownerName: ownerName, + ownerRole: ownerRole, +).ref(); +ref.execute(); +``` + + +### updateTeam +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateTeam( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateTeam, we created `updateTeamBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateTeamVariablesBuilder { + ... + UpdateTeamVariablesBuilder teamName(String? t) { + _teamName.value = t; + return this; + } + UpdateTeamVariablesBuilder ownerName(String? t) { + _ownerName.value = t; + return this; + } + UpdateTeamVariablesBuilder ownerRole(String? t) { + _ownerRole.value = t; + return this; + } + UpdateTeamVariablesBuilder companyLogo(String? t) { + _companyLogo.value = t; + return this; + } + UpdateTeamVariablesBuilder totalMembers(int? t) { + _totalMembers.value = t; + return this; + } + UpdateTeamVariablesBuilder activeMembers(int? t) { + _activeMembers.value = t; + return this; + } + UpdateTeamVariablesBuilder totalHubs(int? t) { + _totalHubs.value = t; + return this; + } + UpdateTeamVariablesBuilder departments(AnyValue? t) { + _departments.value = t; + return this; + } + UpdateTeamVariablesBuilder favoriteStaffCount(int? t) { + _favoriteStaffCount.value = t; + return this; + } + UpdateTeamVariablesBuilder blockedStaffCount(int? t) { + _blockedStaffCount.value = t; + return this; + } + UpdateTeamVariablesBuilder favoriteStaff(AnyValue? t) { + _favoriteStaff.value = t; + return this; + } + UpdateTeamVariablesBuilder blockedStaff(AnyValue? t) { + _blockedStaff.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateTeam( + id: id, +) +.teamName(teamName) +.ownerName(ownerName) +.ownerRole(ownerRole) +.companyLogo(companyLogo) +.totalMembers(totalMembers) +.activeMembers(activeMembers) +.totalHubs(totalHubs) +.departments(departments) +.favoriteStaffCount(favoriteStaffCount) +.blockedStaffCount(blockedStaffCount) +.favoriteStaff(favoriteStaff) +.blockedStaff(blockedStaff) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateTeam( + id: id, +); +updateTeamData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateTeam( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteTeam +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteTeam( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteTeam( + id: id, +); +deleteTeamData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteTeam( + id: id, +).ref(); +ref.execute(); +``` + + +### CreateUser +#### Required Arguments +```dart +String id = ...; +UserBaseRole role = ...; +ExampleConnector.instance.createUser( + id: id, + role: role, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For CreateUser, we created `CreateUserBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateUserVariablesBuilder { + ... + CreateUserVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + CreateUserVariablesBuilder fullName(String? t) { + _fullName.value = t; + return this; + } + CreateUserVariablesBuilder userRole(String? t) { + _userRole.value = t; + return this; + } + CreateUserVariablesBuilder photoUrl(String? t) { + _photoUrl.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createUser( + id: id, + role: role, +) +.email(email) +.fullName(fullName) +.userRole(userRole) +.photoUrl(photoUrl) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createUser( + id: id, + role: role, +); +CreateUserData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; +UserBaseRole role = ...; + +final ref = ExampleConnector.instance.createUser( + id: id, + role: role, +).ref(); +ref.execute(); +``` + + +### UpdateUser +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateUser( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For UpdateUser, we created `UpdateUserBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateUserVariablesBuilder { + ... + UpdateUserVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + UpdateUserVariablesBuilder fullName(String? t) { + _fullName.value = t; + return this; + } + UpdateUserVariablesBuilder role(UserBaseRole? t) { + _role.value = t; + return this; + } + UpdateUserVariablesBuilder userRole(String? t) { + _userRole.value = t; + return this; + } + UpdateUserVariablesBuilder photoUrl(String? t) { + _photoUrl.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateUser( + id: id, +) +.email(email) +.fullName(fullName) +.role(role) +.userRole(userRole) +.photoUrl(photoUrl) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateUser( + id: id, +); +UpdateUserData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateUser( + id: id, +).ref(); +ref.execute(); +``` + + +### DeleteUser +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteUser( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteUser( + id: id, +); +DeleteUserData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteUser( + id: id, +).ref(); +ref.execute(); +``` + + +### createWorkforce +#### Required Arguments +```dart +String vendorId = ...; +String staffId = ...; +String workforceNumber = ...; +ExampleConnector.instance.createWorkforce( + vendorId: vendorId, + staffId: staffId, + workforceNumber: workforceNumber, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createWorkforce, we created `createWorkforceBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateWorkforceVariablesBuilder { + ... + CreateWorkforceVariablesBuilder employmentType(WorkforceEmploymentType? t) { + _employmentType.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createWorkforce( + vendorId: vendorId, + staffId: staffId, + workforceNumber: workforceNumber, +) +.employmentType(employmentType) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createWorkforce( + vendorId: vendorId, + staffId: staffId, + workforceNumber: workforceNumber, +); +createWorkforceData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; +String staffId = ...; +String workforceNumber = ...; + +final ref = ExampleConnector.instance.createWorkforce( + vendorId: vendorId, + staffId: staffId, + workforceNumber: workforceNumber, +).ref(); +ref.execute(); +``` + + +### updateWorkforce +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateWorkforce( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateWorkforce, we created `updateWorkforceBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateWorkforceVariablesBuilder { + ... + UpdateWorkforceVariablesBuilder workforceNumber(String? t) { + _workforceNumber.value = t; + return this; + } + UpdateWorkforceVariablesBuilder employmentType(WorkforceEmploymentType? t) { + _employmentType.value = t; + return this; + } + UpdateWorkforceVariablesBuilder status(WorkforceStatus? t) { + _status.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateWorkforce( + id: id, +) +.workforceNumber(workforceNumber) +.employmentType(employmentType) +.status(status) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateWorkforce( + id: id, +); +updateWorkforceData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateWorkforce( + id: id, +).ref(); +ref.execute(); +``` + + +### deactivateWorkforce +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deactivateWorkforce( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deactivateWorkforce( + id: id, +); +deactivateWorkforceData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deactivateWorkforce( + id: id, +).ref(); +ref.execute(); +``` + + +### createFaqData +#### Required Arguments +```dart +String category = ...; +ExampleConnector.instance.createFaqData( + category: category, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createFaqData, we created `createFaqDataBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateFaqDataVariablesBuilder { + ... + CreateFaqDataVariablesBuilder questions(List? t) { + _questions.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createFaqData( + category: category, +) +.questions(questions) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createFaqData( + category: category, +); +createFaqDataData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String category = ...; + +final ref = ExampleConnector.instance.createFaqData( + category: category, +).ref(); +ref.execute(); +``` + + +### updateFaqData +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateFaqData( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateFaqData, we created `updateFaqDataBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateFaqDataVariablesBuilder { + ... + UpdateFaqDataVariablesBuilder category(String? t) { + _category.value = t; + return this; + } + UpdateFaqDataVariablesBuilder questions(List? t) { + _questions.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateFaqData( + id: id, +) +.category(category) +.questions(questions) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateFaqData( + id: id, +); +updateFaqDataData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateFaqData( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteFaqData +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteFaqData( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteFaqData( + id: id, +); +deleteFaqDataData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteFaqData( + id: id, +).ref(); +ref.execute(); +``` + + +### createStaffCourse +#### Required Arguments +```dart +String staffId = ...; +String courseId = ...; +ExampleConnector.instance.createStaffCourse( + staffId: staffId, + courseId: courseId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createStaffCourse, we created `createStaffCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateStaffCourseVariablesBuilder { + ... + CreateStaffCourseVariablesBuilder progressPercent(int? t) { + _progressPercent.value = t; + return this; + } + CreateStaffCourseVariablesBuilder completed(bool? t) { + _completed.value = t; + return this; + } + CreateStaffCourseVariablesBuilder completedAt(Timestamp? t) { + _completedAt.value = t; + return this; + } + CreateStaffCourseVariablesBuilder startedAt(Timestamp? t) { + _startedAt.value = t; + return this; + } + CreateStaffCourseVariablesBuilder lastAccessedAt(Timestamp? t) { + _lastAccessedAt.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createStaffCourse( + staffId: staffId, + courseId: courseId, +) +.progressPercent(progressPercent) +.completed(completed) +.completedAt(completedAt) +.startedAt(startedAt) +.lastAccessedAt(lastAccessedAt) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createStaffCourse( + staffId: staffId, + courseId: courseId, +); +createStaffCourseData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +String courseId = ...; + +final ref = ExampleConnector.instance.createStaffCourse( + staffId: staffId, + courseId: courseId, +).ref(); +ref.execute(); +``` + + +### updateStaffCourse +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateStaffCourse( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateStaffCourse, we created `updateStaffCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateStaffCourseVariablesBuilder { + ... + UpdateStaffCourseVariablesBuilder progressPercent(int? t) { + _progressPercent.value = t; + return this; + } + UpdateStaffCourseVariablesBuilder completed(bool? t) { + _completed.value = t; + return this; + } + UpdateStaffCourseVariablesBuilder completedAt(Timestamp? t) { + _completedAt.value = t; + return this; + } + UpdateStaffCourseVariablesBuilder startedAt(Timestamp? t) { + _startedAt.value = t; + return this; + } + UpdateStaffCourseVariablesBuilder lastAccessedAt(Timestamp? t) { + _lastAccessedAt.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateStaffCourse( + id: id, +) +.progressPercent(progressPercent) +.completed(completed) +.completedAt(completedAt) +.startedAt(startedAt) +.lastAccessedAt(lastAccessedAt) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateStaffCourse( + id: id, +); +updateStaffCourseData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateStaffCourse( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteStaffCourse +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteStaffCourse( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteStaffCourse( + id: id, +); +deleteStaffCourseData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteStaffCourse( + id: id, +).ref(); +ref.execute(); +``` + + +### createStaffAvailabilityStats +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.createStaffAvailabilityStats( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createStaffAvailabilityStats, we created `createStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateStaffAvailabilityStatsVariablesBuilder { + ... + CreateStaffAvailabilityStatsVariablesBuilder needWorkIndex(int? t) { + _needWorkIndex.value = t; + return this; + } + CreateStaffAvailabilityStatsVariablesBuilder utilizationPercentage(int? t) { + _utilizationPercentage.value = t; + return this; + } + CreateStaffAvailabilityStatsVariablesBuilder predictedAvailabilityScore(int? t) { + _predictedAvailabilityScore.value = t; + return this; + } + CreateStaffAvailabilityStatsVariablesBuilder scheduledHoursThisPeriod(int? t) { + _scheduledHoursThisPeriod.value = t; + return this; + } + CreateStaffAvailabilityStatsVariablesBuilder desiredHoursThisPeriod(int? t) { + _desiredHoursThisPeriod.value = t; + return this; + } + CreateStaffAvailabilityStatsVariablesBuilder lastShiftDate(Timestamp? t) { + _lastShiftDate.value = t; + return this; + } + CreateStaffAvailabilityStatsVariablesBuilder acceptanceRate(int? t) { + _acceptanceRate.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createStaffAvailabilityStats( + staffId: staffId, +) +.needWorkIndex(needWorkIndex) +.utilizationPercentage(utilizationPercentage) +.predictedAvailabilityScore(predictedAvailabilityScore) +.scheduledHoursThisPeriod(scheduledHoursThisPeriod) +.desiredHoursThisPeriod(desiredHoursThisPeriod) +.lastShiftDate(lastShiftDate) +.acceptanceRate(acceptanceRate) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createStaffAvailabilityStats( + staffId: staffId, +); +createStaffAvailabilityStatsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.createStaffAvailabilityStats( + staffId: staffId, +).ref(); +ref.execute(); +``` + + +### updateStaffAvailabilityStats +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.updateStaffAvailabilityStats( + staffId: staffId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateStaffAvailabilityStats, we created `updateStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateStaffAvailabilityStatsVariablesBuilder { + ... + UpdateStaffAvailabilityStatsVariablesBuilder needWorkIndex(int? t) { + _needWorkIndex.value = t; + return this; + } + UpdateStaffAvailabilityStatsVariablesBuilder utilizationPercentage(int? t) { + _utilizationPercentage.value = t; + return this; + } + UpdateStaffAvailabilityStatsVariablesBuilder predictedAvailabilityScore(int? t) { + _predictedAvailabilityScore.value = t; + return this; + } + UpdateStaffAvailabilityStatsVariablesBuilder scheduledHoursThisPeriod(int? t) { + _scheduledHoursThisPeriod.value = t; + return this; + } + UpdateStaffAvailabilityStatsVariablesBuilder desiredHoursThisPeriod(int? t) { + _desiredHoursThisPeriod.value = t; + return this; + } + UpdateStaffAvailabilityStatsVariablesBuilder lastShiftDate(Timestamp? t) { + _lastShiftDate.value = t; + return this; + } + UpdateStaffAvailabilityStatsVariablesBuilder acceptanceRate(int? t) { + _acceptanceRate.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateStaffAvailabilityStats( + staffId: staffId, +) +.needWorkIndex(needWorkIndex) +.utilizationPercentage(utilizationPercentage) +.predictedAvailabilityScore(predictedAvailabilityScore) +.scheduledHoursThisPeriod(scheduledHoursThisPeriod) +.desiredHoursThisPeriod(desiredHoursThisPeriod) +.lastShiftDate(lastShiftDate) +.acceptanceRate(acceptanceRate) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateStaffAvailabilityStats( + staffId: staffId, +); +updateStaffAvailabilityStatsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.updateStaffAvailabilityStats( + staffId: staffId, +).ref(); +ref.execute(); +``` + + +### deleteStaffAvailabilityStats +#### Required Arguments +```dart +String staffId = ...; +ExampleConnector.instance.deleteStaffAvailabilityStats( + staffId: staffId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteStaffAvailabilityStats( + staffId: staffId, +); +deleteStaffAvailabilityStatsData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; + +final ref = ExampleConnector.instance.deleteStaffAvailabilityStats( + staffId: staffId, +).ref(); +ref.execute(); +``` + + +### createVendor +#### Required Arguments +```dart +String userId = ...; +String companyName = ...; +ExampleConnector.instance.createVendor( + userId: userId, + companyName: companyName, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createVendor, we created `createVendorBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateVendorVariablesBuilder { + ... + CreateVendorVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + CreateVendorVariablesBuilder phone(String? t) { + _phone.value = t; + return this; + } + CreateVendorVariablesBuilder photoUrl(String? t) { + _photoUrl.value = t; + return this; + } + CreateVendorVariablesBuilder address(String? t) { + _address.value = t; + return this; + } + CreateVendorVariablesBuilder billingAddress(String? t) { + _billingAddress.value = t; + return this; + } + CreateVendorVariablesBuilder timezone(String? t) { + _timezone.value = t; + return this; + } + CreateVendorVariablesBuilder legalName(String? t) { + _legalName.value = t; + return this; + } + CreateVendorVariablesBuilder doingBusinessAs(String? t) { + _doingBusinessAs.value = t; + return this; + } + CreateVendorVariablesBuilder region(String? t) { + _region.value = t; + return this; + } + CreateVendorVariablesBuilder state(String? t) { + _state.value = t; + return this; + } + CreateVendorVariablesBuilder city(String? t) { + _city.value = t; + return this; + } + CreateVendorVariablesBuilder serviceSpecialty(String? t) { + _serviceSpecialty.value = t; + return this; + } + CreateVendorVariablesBuilder approvalStatus(ApprovalStatus? t) { + _approvalStatus.value = t; + return this; + } + CreateVendorVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + CreateVendorVariablesBuilder markup(double? t) { + _markup.value = t; + return this; + } + CreateVendorVariablesBuilder fee(double? t) { + _fee.value = t; + return this; + } + CreateVendorVariablesBuilder csat(double? t) { + _csat.value = t; + return this; + } + CreateVendorVariablesBuilder tier(VendorTier? t) { + _tier.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createVendor( + userId: userId, + companyName: companyName, +) +.email(email) +.phone(phone) +.photoUrl(photoUrl) +.address(address) +.billingAddress(billingAddress) +.timezone(timezone) +.legalName(legalName) +.doingBusinessAs(doingBusinessAs) +.region(region) +.state(state) +.city(city) +.serviceSpecialty(serviceSpecialty) +.approvalStatus(approvalStatus) +.isActive(isActive) +.markup(markup) +.fee(fee) +.csat(csat) +.tier(tier) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createVendor( + userId: userId, + companyName: companyName, +); +createVendorData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String userId = ...; +String companyName = ...; + +final ref = ExampleConnector.instance.createVendor( + userId: userId, + companyName: companyName, +).ref(); +ref.execute(); +``` + + +### updateVendor +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateVendor( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateVendor, we created `updateVendorBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateVendorVariablesBuilder { + ... + UpdateVendorVariablesBuilder companyName(String? t) { + _companyName.value = t; + return this; + } + UpdateVendorVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + UpdateVendorVariablesBuilder phone(String? t) { + _phone.value = t; + return this; + } + UpdateVendorVariablesBuilder photoUrl(String? t) { + _photoUrl.value = t; + return this; + } + UpdateVendorVariablesBuilder address(String? t) { + _address.value = t; + return this; + } + UpdateVendorVariablesBuilder billingAddress(String? t) { + _billingAddress.value = t; + return this; + } + UpdateVendorVariablesBuilder timezone(String? t) { + _timezone.value = t; + return this; + } + UpdateVendorVariablesBuilder legalName(String? t) { + _legalName.value = t; + return this; + } + UpdateVendorVariablesBuilder doingBusinessAs(String? t) { + _doingBusinessAs.value = t; + return this; + } + UpdateVendorVariablesBuilder region(String? t) { + _region.value = t; + return this; + } + UpdateVendorVariablesBuilder state(String? t) { + _state.value = t; + return this; + } + UpdateVendorVariablesBuilder city(String? t) { + _city.value = t; + return this; + } + UpdateVendorVariablesBuilder serviceSpecialty(String? t) { + _serviceSpecialty.value = t; + return this; + } + UpdateVendorVariablesBuilder approvalStatus(ApprovalStatus? t) { + _approvalStatus.value = t; + return this; + } + UpdateVendorVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + UpdateVendorVariablesBuilder markup(double? t) { + _markup.value = t; + return this; + } + UpdateVendorVariablesBuilder fee(double? t) { + _fee.value = t; + return this; + } + UpdateVendorVariablesBuilder csat(double? t) { + _csat.value = t; + return this; + } + UpdateVendorVariablesBuilder tier(VendorTier? t) { + _tier.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateVendor( + id: id, +) +.companyName(companyName) +.email(email) +.phone(phone) +.photoUrl(photoUrl) +.address(address) +.billingAddress(billingAddress) +.timezone(timezone) +.legalName(legalName) +.doingBusinessAs(doingBusinessAs) +.region(region) +.state(state) +.city(city) +.serviceSpecialty(serviceSpecialty) +.approvalStatus(approvalStatus) +.isActive(isActive) +.markup(markup) +.fee(fee) +.csat(csat) +.tier(tier) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateVendor( + id: id, +); +updateVendorData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateVendor( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteVendor +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteVendor( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteVendor( + id: id, +); +deleteVendorData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteVendor( id: id, ).ref(); ref.execute(); @@ -13482,64 +17336,68 @@ ref.execute(); ``` -### createConversation +### createCourse #### Required Arguments ```dart -// No required arguments -ExampleConnector.instance.createConversation().execute(); +String categoryId = ...; +ExampleConnector.instance.createCourse( + categoryId: categoryId, +).execute(); ``` #### Optional Arguments -We return a builder for each query. For createConversation, we created `createConversationBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For createCourse, we created `createCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class CreateConversationVariablesBuilder { +class CreateCourseVariablesBuilder { ... - CreateConversationVariablesBuilder subject(String? t) { - _subject.value = t; + CreateCourseVariablesBuilder title(String? t) { + _title.value = t; return this; } - CreateConversationVariablesBuilder status(ConversationStatus? t) { - _status.value = t; + CreateCourseVariablesBuilder description(String? t) { + _description.value = t; return this; } - CreateConversationVariablesBuilder conversationType(ConversationType? t) { - _conversationType.value = t; + CreateCourseVariablesBuilder thumbnailUrl(String? t) { + _thumbnailUrl.value = t; return this; } - CreateConversationVariablesBuilder isGroup(bool? t) { - _isGroup.value = t; + CreateCourseVariablesBuilder durationMinutes(int? t) { + _durationMinutes.value = t; return this; } - CreateConversationVariablesBuilder groupName(String? t) { - _groupName.value = t; + CreateCourseVariablesBuilder xpReward(int? t) { + _xpReward.value = t; return this; } - CreateConversationVariablesBuilder lastMessage(String? t) { - _lastMessage.value = t; + CreateCourseVariablesBuilder levelRequired(String? t) { + _levelRequired.value = t; return this; } - CreateConversationVariablesBuilder lastMessageAt(Timestamp? t) { - _lastMessageAt.value = t; + CreateCourseVariablesBuilder isCertification(bool? t) { + _isCertification.value = t; return this; } ... } -ExampleConnector.instance.createConversation() -.subject(subject) -.status(status) -.conversationType(conversationType) -.isGroup(isGroup) -.groupName(groupName) -.lastMessage(lastMessage) -.lastMessageAt(lastMessageAt) +ExampleConnector.instance.createCourse( + categoryId: categoryId, +) +.title(title) +.description(description) +.thumbnailUrl(thumbnailUrl) +.durationMinutes(durationMinutes) +.xpReward(xpReward) +.levelRequired(levelRequired) +.isCertification(isCertification) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -13549,8 +17407,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.createConversation(); -createConversationData data = result.data; +final result = await ExampleConnector.instance.createCourse( + categoryId: categoryId, +); +createCourseData data = result.data; final ref = result.ref; ``` @@ -13558,72 +17418,79 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -final ref = ExampleConnector.instance.createConversation().ref(); +String categoryId = ...; + +final ref = ExampleConnector.instance.createCourse( + categoryId: categoryId, +).ref(); ref.execute(); ``` -### updateConversation +### updateCourse #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.updateConversation( +String categoryId = ...; +ExampleConnector.instance.updateCourse( id: id, + categoryId: categoryId, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For updateConversation, we created `updateConversationBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For updateCourse, we created `updateCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class UpdateConversationVariablesBuilder { +class UpdateCourseVariablesBuilder { ... - UpdateConversationVariablesBuilder subject(String? t) { - _subject.value = t; + UpdateCourseVariablesBuilder title(String? t) { + _title.value = t; return this; } - UpdateConversationVariablesBuilder status(ConversationStatus? t) { - _status.value = t; + UpdateCourseVariablesBuilder description(String? t) { + _description.value = t; return this; } - UpdateConversationVariablesBuilder conversationType(ConversationType? t) { - _conversationType.value = t; + UpdateCourseVariablesBuilder thumbnailUrl(String? t) { + _thumbnailUrl.value = t; return this; } - UpdateConversationVariablesBuilder isGroup(bool? t) { - _isGroup.value = t; + UpdateCourseVariablesBuilder durationMinutes(int? t) { + _durationMinutes.value = t; return this; } - UpdateConversationVariablesBuilder groupName(String? t) { - _groupName.value = t; + UpdateCourseVariablesBuilder xpReward(int? t) { + _xpReward.value = t; return this; } - UpdateConversationVariablesBuilder lastMessage(String? t) { - _lastMessage.value = t; + UpdateCourseVariablesBuilder levelRequired(String? t) { + _levelRequired.value = t; return this; } - UpdateConversationVariablesBuilder lastMessageAt(Timestamp? t) { - _lastMessageAt.value = t; + UpdateCourseVariablesBuilder isCertification(bool? t) { + _isCertification.value = t; return this; } ... } -ExampleConnector.instance.updateConversation( +ExampleConnector.instance.updateCourse( id: id, + categoryId: categoryId, ) -.subject(subject) -.status(status) -.conversationType(conversationType) -.isGroup(isGroup) -.groupName(groupName) -.lastMessage(lastMessage) -.lastMessageAt(lastMessageAt) +.title(title) +.description(description) +.thumbnailUrl(thumbnailUrl) +.durationMinutes(durationMinutes) +.xpReward(xpReward) +.levelRequired(levelRequired) +.isCertification(isCertification) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -13633,10 +17500,55 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.updateConversation( +final result = await ExampleConnector.instance.updateCourse( + id: id, + categoryId: categoryId, +); +updateCourseData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; +String categoryId = ...; + +final ref = ExampleConnector.instance.updateCourse( + id: id, + categoryId: categoryId, +).ref(); +ref.execute(); +``` + + +### deleteCourse +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteCourse( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteCourse( id: id, ); -updateConversationData data = result.data; +deleteCourseData data = result.data; final ref = result.ref; ``` @@ -13646,49 +17558,57 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.updateConversation( +final ref = ExampleConnector.instance.deleteCourse( id: id, ).ref(); ref.execute(); ``` -### updateConversationLastMessage +### createHub #### Required Arguments ```dart -String id = ...; -ExampleConnector.instance.updateConversationLastMessage( - id: id, +String name = ...; +String ownerId = ...; +ExampleConnector.instance.createHub( + name: name, + ownerId: ownerId, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For updateConversationLastMessage, we created `updateConversationLastMessageBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For createHub, we created `createHubBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class UpdateConversationLastMessageVariablesBuilder { +class CreateHubVariablesBuilder { ... - UpdateConversationLastMessageVariablesBuilder lastMessage(String? t) { - _lastMessage.value = t; + CreateHubVariablesBuilder locationName(String? t) { + _locationName.value = t; return this; } - UpdateConversationLastMessageVariablesBuilder lastMessageAt(Timestamp? t) { - _lastMessageAt.value = t; + CreateHubVariablesBuilder address(String? t) { + _address.value = t; + return this; + } + CreateHubVariablesBuilder nfcTagId(String? t) { + _nfcTagId.value = t; return this; } ... } -ExampleConnector.instance.updateConversationLastMessage( - id: id, +ExampleConnector.instance.createHub( + name: name, + ownerId: ownerId, ) -.lastMessage(lastMessage) -.lastMessageAt(lastMessageAt) +.locationName(locationName) +.address(address) +.nfcTagId(nfcTagId) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -13698,10 +17618,93 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.updateConversationLastMessage( +final result = await ExampleConnector.instance.createHub( + name: name, + ownerId: ownerId, +); +createHubData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String name = ...; +String ownerId = ...; + +final ref = ExampleConnector.instance.createHub( + name: name, + ownerId: ownerId, +).ref(); +ref.execute(); +``` + + +### updateHub +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateHub( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateHub, we created `updateHubBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateHubVariablesBuilder { + ... + UpdateHubVariablesBuilder name(String? t) { + _name.value = t; + return this; + } + UpdateHubVariablesBuilder locationName(String? t) { + _locationName.value = t; + return this; + } + UpdateHubVariablesBuilder address(String? t) { + _address.value = t; + return this; + } + UpdateHubVariablesBuilder nfcTagId(String? t) { + _nfcTagId.value = t; + return this; + } + UpdateHubVariablesBuilder ownerId(String? t) { + _ownerId.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateHub( + id: id, +) +.name(name) +.locationName(locationName) +.address(address) +.nfcTagId(nfcTagId) +.ownerId(ownerId) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateHub( id: id, ); -updateConversationLastMessageData data = result.data; +updateHubData data = result.data; final ref = result.ref; ``` @@ -13711,18 +17714,18 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.updateConversationLastMessage( +final ref = ExampleConnector.instance.updateHub( id: id, ).ref(); ref.execute(); ``` -### deleteConversation +### deleteHub #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.deleteConversation( +ExampleConnector.instance.deleteHub( id: id, ).execute(); ``` @@ -13730,7 +17733,7 @@ ExampleConnector.instance.deleteConversation( #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -13740,10 +17743,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.deleteConversation( +final result = await ExampleConnector.instance.deleteHub( id: id, ); -deleteConversationData data = result.data; +deleteHubData data = result.data; final ref = result.ref; ``` @@ -13753,7 +17756,1049 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.deleteConversation( +final ref = ExampleConnector.instance.deleteHub( + id: id, +).ref(); +ref.execute(); +``` + + +### createVendorRate +#### Required Arguments +```dart +String vendorId = ...; +ExampleConnector.instance.createVendorRate( + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createVendorRate, we created `createVendorRateBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateVendorRateVariablesBuilder { + ... + CreateVendorRateVariablesBuilder roleName(String? t) { + _roleName.value = t; + return this; + } + CreateVendorRateVariablesBuilder category(CategoryType? t) { + _category.value = t; + return this; + } + CreateVendorRateVariablesBuilder clientRate(double? t) { + _clientRate.value = t; + return this; + } + CreateVendorRateVariablesBuilder employeeWage(double? t) { + _employeeWage.value = t; + return this; + } + CreateVendorRateVariablesBuilder markupPercentage(double? t) { + _markupPercentage.value = t; + return this; + } + CreateVendorRateVariablesBuilder vendorFeePercentage(double? t) { + _vendorFeePercentage.value = t; + return this; + } + CreateVendorRateVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + CreateVendorRateVariablesBuilder notes(String? t) { + _notes.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createVendorRate( + vendorId: vendorId, +) +.roleName(roleName) +.category(category) +.clientRate(clientRate) +.employeeWage(employeeWage) +.markupPercentage(markupPercentage) +.vendorFeePercentage(vendorFeePercentage) +.isActive(isActive) +.notes(notes) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createVendorRate( + vendorId: vendorId, +); +createVendorRateData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String vendorId = ...; + +final ref = ExampleConnector.instance.createVendorRate( + vendorId: vendorId, +).ref(); +ref.execute(); +``` + + +### updateVendorRate +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateVendorRate( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateVendorRate, we created `updateVendorRateBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateVendorRateVariablesBuilder { + ... + UpdateVendorRateVariablesBuilder vendorId(String? t) { + _vendorId.value = t; + return this; + } + UpdateVendorRateVariablesBuilder roleName(String? t) { + _roleName.value = t; + return this; + } + UpdateVendorRateVariablesBuilder category(CategoryType? t) { + _category.value = t; + return this; + } + UpdateVendorRateVariablesBuilder clientRate(double? t) { + _clientRate.value = t; + return this; + } + UpdateVendorRateVariablesBuilder employeeWage(double? t) { + _employeeWage.value = t; + return this; + } + UpdateVendorRateVariablesBuilder markupPercentage(double? t) { + _markupPercentage.value = t; + return this; + } + UpdateVendorRateVariablesBuilder vendorFeePercentage(double? t) { + _vendorFeePercentage.value = t; + return this; + } + UpdateVendorRateVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + UpdateVendorRateVariablesBuilder notes(String? t) { + _notes.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateVendorRate( + id: id, +) +.vendorId(vendorId) +.roleName(roleName) +.category(category) +.clientRate(clientRate) +.employeeWage(employeeWage) +.markupPercentage(markupPercentage) +.vendorFeePercentage(vendorFeePercentage) +.isActive(isActive) +.notes(notes) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateVendorRate( + id: id, +); +updateVendorRateData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateVendorRate( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteVendorRate +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteVendorRate( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteVendorRate( + id: id, +); +deleteVendorRateData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteVendorRate( + id: id, +).ref(); +ref.execute(); +``` + + +### createTeamMember +#### Required Arguments +```dart +String teamId = ...; +TeamMemberRole role = ...; +String userId = ...; +ExampleConnector.instance.createTeamMember( + teamId: teamId, + role: role, + userId: userId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createTeamMember, we created `createTeamMemberBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateTeamMemberVariablesBuilder { + ... + CreateTeamMemberVariablesBuilder title(String? t) { + _title.value = t; + return this; + } + CreateTeamMemberVariablesBuilder department(String? t) { + _department.value = t; + return this; + } + CreateTeamMemberVariablesBuilder teamHubId(String? t) { + _teamHubId.value = t; + return this; + } + CreateTeamMemberVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + CreateTeamMemberVariablesBuilder inviteStatus(TeamMemberInviteStatus? t) { + _inviteStatus.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createTeamMember( + teamId: teamId, + role: role, + userId: userId, +) +.title(title) +.department(department) +.teamHubId(teamHubId) +.isActive(isActive) +.inviteStatus(inviteStatus) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createTeamMember( + teamId: teamId, + role: role, + userId: userId, +); +createTeamMemberData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String teamId = ...; +TeamMemberRole role = ...; +String userId = ...; + +final ref = ExampleConnector.instance.createTeamMember( + teamId: teamId, + role: role, + userId: userId, +).ref(); +ref.execute(); +``` + + +### updateTeamMember +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateTeamMember( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateTeamMember, we created `updateTeamMemberBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateTeamMemberVariablesBuilder { + ... + UpdateTeamMemberVariablesBuilder role(TeamMemberRole? t) { + _role.value = t; + return this; + } + UpdateTeamMemberVariablesBuilder title(String? t) { + _title.value = t; + return this; + } + UpdateTeamMemberVariablesBuilder department(String? t) { + _department.value = t; + return this; + } + UpdateTeamMemberVariablesBuilder teamHubId(String? t) { + _teamHubId.value = t; + return this; + } + UpdateTeamMemberVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + UpdateTeamMemberVariablesBuilder inviteStatus(TeamMemberInviteStatus? t) { + _inviteStatus.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateTeamMember( + id: id, +) +.role(role) +.title(title) +.department(department) +.teamHubId(teamHubId) +.isActive(isActive) +.inviteStatus(inviteStatus) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateTeamMember( + id: id, +); +updateTeamMemberData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateTeamMember( + id: id, +).ref(); +ref.execute(); +``` + + +### updateTeamMemberInviteStatus +#### Required Arguments +```dart +String id = ...; +TeamMemberInviteStatus inviteStatus = ...; +ExampleConnector.instance.updateTeamMemberInviteStatus( + id: id, + inviteStatus: inviteStatus, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateTeamMemberInviteStatus( + id: id, + inviteStatus: inviteStatus, +); +updateTeamMemberInviteStatusData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; +TeamMemberInviteStatus inviteStatus = ...; + +final ref = ExampleConnector.instance.updateTeamMemberInviteStatus( + id: id, + inviteStatus: inviteStatus, +).ref(); +ref.execute(); +``` + + +### acceptInviteByCode +#### Required Arguments +```dart +String inviteCode = ...; +ExampleConnector.instance.acceptInviteByCode( + inviteCode: inviteCode, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.acceptInviteByCode( + inviteCode: inviteCode, +); +acceptInviteByCodeData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String inviteCode = ...; + +final ref = ExampleConnector.instance.acceptInviteByCode( + inviteCode: inviteCode, +).ref(); +ref.execute(); +``` + + +### cancelInviteByCode +#### Required Arguments +```dart +String inviteCode = ...; +ExampleConnector.instance.cancelInviteByCode( + inviteCode: inviteCode, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.cancelInviteByCode( + inviteCode: inviteCode, +); +cancelInviteByCodeData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String inviteCode = ...; + +final ref = ExampleConnector.instance.cancelInviteByCode( + inviteCode: inviteCode, +).ref(); +ref.execute(); +``` + + +### deleteTeamMember +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteTeamMember( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteTeamMember( + id: id, +); +deleteTeamMemberData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteTeamMember( + id: id, +).ref(); +ref.execute(); +``` + + +### createShiftRole +#### Required Arguments +```dart +String shiftId = ...; +String roleId = ...; +int count = ...; +ExampleConnector.instance.createShiftRole( + shiftId: shiftId, + roleId: roleId, + count: count, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createShiftRole, we created `createShiftRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateShiftRoleVariablesBuilder { + ... + CreateShiftRoleVariablesBuilder assigned(int? t) { + _assigned.value = t; + return this; + } + CreateShiftRoleVariablesBuilder startTime(Timestamp? t) { + _startTime.value = t; + return this; + } + CreateShiftRoleVariablesBuilder endTime(Timestamp? t) { + _endTime.value = t; + return this; + } + CreateShiftRoleVariablesBuilder hours(double? t) { + _hours.value = t; + return this; + } + CreateShiftRoleVariablesBuilder department(String? t) { + _department.value = t; + return this; + } + CreateShiftRoleVariablesBuilder uniform(String? t) { + _uniform.value = t; + return this; + } + CreateShiftRoleVariablesBuilder breakType(BreakDuration? t) { + _breakType.value = t; + return this; + } + CreateShiftRoleVariablesBuilder totalValue(double? t) { + _totalValue.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createShiftRole( + shiftId: shiftId, + roleId: roleId, + count: count, +) +.assigned(assigned) +.startTime(startTime) +.endTime(endTime) +.hours(hours) +.department(department) +.uniform(uniform) +.breakType(breakType) +.totalValue(totalValue) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createShiftRole( + shiftId: shiftId, + roleId: roleId, + count: count, +); +createShiftRoleData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String shiftId = ...; +String roleId = ...; +int count = ...; + +final ref = ExampleConnector.instance.createShiftRole( + shiftId: shiftId, + roleId: roleId, + count: count, +).ref(); +ref.execute(); +``` + + +### updateShiftRole +#### Required Arguments +```dart +String shiftId = ...; +String roleId = ...; +ExampleConnector.instance.updateShiftRole( + shiftId: shiftId, + roleId: roleId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateShiftRole, we created `updateShiftRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateShiftRoleVariablesBuilder { + ... + UpdateShiftRoleVariablesBuilder count(int? t) { + _count.value = t; + return this; + } + UpdateShiftRoleVariablesBuilder assigned(int? t) { + _assigned.value = t; + return this; + } + UpdateShiftRoleVariablesBuilder startTime(Timestamp? t) { + _startTime.value = t; + return this; + } + UpdateShiftRoleVariablesBuilder endTime(Timestamp? t) { + _endTime.value = t; + return this; + } + UpdateShiftRoleVariablesBuilder hours(double? t) { + _hours.value = t; + return this; + } + UpdateShiftRoleVariablesBuilder department(String? t) { + _department.value = t; + return this; + } + UpdateShiftRoleVariablesBuilder uniform(String? t) { + _uniform.value = t; + return this; + } + UpdateShiftRoleVariablesBuilder breakType(BreakDuration? t) { + _breakType.value = t; + return this; + } + UpdateShiftRoleVariablesBuilder totalValue(double? t) { + _totalValue.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateShiftRole( + shiftId: shiftId, + roleId: roleId, +) +.count(count) +.assigned(assigned) +.startTime(startTime) +.endTime(endTime) +.hours(hours) +.department(department) +.uniform(uniform) +.breakType(breakType) +.totalValue(totalValue) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateShiftRole( + shiftId: shiftId, + roleId: roleId, +); +updateShiftRoleData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String shiftId = ...; +String roleId = ...; + +final ref = ExampleConnector.instance.updateShiftRole( + shiftId: shiftId, + roleId: roleId, +).ref(); +ref.execute(); +``` + + +### deleteShiftRole +#### Required Arguments +```dart +String shiftId = ...; +String roleId = ...; +ExampleConnector.instance.deleteShiftRole( + shiftId: shiftId, + roleId: roleId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteShiftRole( + shiftId: shiftId, + roleId: roleId, +); +deleteShiftRoleData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String shiftId = ...; +String roleId = ...; + +final ref = ExampleConnector.instance.deleteShiftRole( + shiftId: shiftId, + roleId: roleId, +).ref(); +ref.execute(); +``` + + +### createAccount +#### Required Arguments +```dart +String bank = ...; +AccountType type = ...; +String last4 = ...; +String ownerId = ...; +ExampleConnector.instance.createAccount( + bank: bank, + type: type, + last4: last4, + ownerId: ownerId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createAccount, we created `createAccountBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateAccountVariablesBuilder { + ... + CreateAccountVariablesBuilder isPrimary(bool? t) { + _isPrimary.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createAccount( + bank: bank, + type: type, + last4: last4, + ownerId: ownerId, +) +.isPrimary(isPrimary) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createAccount( + bank: bank, + type: type, + last4: last4, + ownerId: ownerId, +); +createAccountData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String bank = ...; +AccountType type = ...; +String last4 = ...; +String ownerId = ...; + +final ref = ExampleConnector.instance.createAccount( + bank: bank, + type: type, + last4: last4, + ownerId: ownerId, +).ref(); +ref.execute(); +``` + + +### updateAccount +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateAccount( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateAccount, we created `updateAccountBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateAccountVariablesBuilder { + ... + UpdateAccountVariablesBuilder bank(String? t) { + _bank.value = t; + return this; + } + UpdateAccountVariablesBuilder type(AccountType? t) { + _type.value = t; + return this; + } + UpdateAccountVariablesBuilder last4(String? t) { + _last4.value = t; + return this; + } + UpdateAccountVariablesBuilder isPrimary(bool? t) { + _isPrimary.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateAccount( + id: id, +) +.bank(bank) +.type(type) +.last4(last4) +.isPrimary(isPrimary) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateAccount( + id: id, +); +updateAccountData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateAccount( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteAccount +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteAccount( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteAccount( + id: id, +); +deleteAccountData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteAccount( id: id, ).ref(); ref.execute(); @@ -14036,55 +19081,23 @@ ref.execute(); ``` -### createAttireOption +### createBenefitsData #### Required Arguments ```dart -String itemId = ...; -String label = ...; -ExampleConnector.instance.createAttireOption( - itemId: itemId, - label: label, +String vendorBenefitPlanId = ...; +String staffId = ...; +int current = ...; +ExampleConnector.instance.createBenefitsData( + vendorBenefitPlanId: vendorBenefitPlanId, + staffId: staffId, + current: current, ).execute(); ``` -#### Optional Arguments -We return a builder for each query. For createAttireOption, we created `createAttireOptionBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateAttireOptionVariablesBuilder { - ... - CreateAttireOptionVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - CreateAttireOptionVariablesBuilder imageUrl(String? t) { - _imageUrl.value = t; - return this; - } - CreateAttireOptionVariablesBuilder isMandatory(bool? t) { - _isMandatory.value = t; - return this; - } - CreateAttireOptionVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - ... -} -ExampleConnector.instance.createAttireOption( - itemId: itemId, - label: label, -) -.icon(icon) -.imageUrl(imageUrl) -.isMandatory(isMandatory) -.vendorId(vendorId) -.execute(); -``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -14094,11 +19107,12 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.createAttireOption( - itemId: itemId, - label: label, +final result = await ExampleConnector.instance.createBenefitsData( + vendorBenefitPlanId: vendorBenefitPlanId, + staffId: staffId, + current: current, ); -createAttireOptionData data = result.data; +createBenefitsDataData data = result.data; final ref = result.ref; ``` @@ -14106,73 +19120,53 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String itemId = ...; -String label = ...; +String vendorBenefitPlanId = ...; +String staffId = ...; +int current = ...; -final ref = ExampleConnector.instance.createAttireOption( - itemId: itemId, - label: label, +final ref = ExampleConnector.instance.createBenefitsData( + vendorBenefitPlanId: vendorBenefitPlanId, + staffId: staffId, + current: current, ).ref(); ref.execute(); ``` -### updateAttireOption +### updateBenefitsData #### Required Arguments ```dart -String id = ...; -ExampleConnector.instance.updateAttireOption( - id: id, +String staffId = ...; +String vendorBenefitPlanId = ...; +ExampleConnector.instance.updateBenefitsData( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For updateAttireOption, we created `updateAttireOptionBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For updateBenefitsData, we created `updateBenefitsDataBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class UpdateAttireOptionVariablesBuilder { +class UpdateBenefitsDataVariablesBuilder { ... - UpdateAttireOptionVariablesBuilder itemId(String? t) { - _itemId.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder label(String? t) { - _label.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder imageUrl(String? t) { - _imageUrl.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder isMandatory(bool? t) { - _isMandatory.value = t; - return this; - } - UpdateAttireOptionVariablesBuilder vendorId(String? t) { - _vendorId.value = t; + UpdateBenefitsDataVariablesBuilder current(int? t) { + _current.value = t; return this; } ... } -ExampleConnector.instance.updateAttireOption( - id: id, +ExampleConnector.instance.updateBenefitsData( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, ) -.itemId(itemId) -.label(label) -.icon(icon) -.imageUrl(imageUrl) -.isMandatory(isMandatory) -.vendorId(vendorId) +.current(current) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -14182,10 +19176,303 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.updateAttireOption( +final result = await ExampleConnector.instance.updateBenefitsData( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, +); +updateBenefitsDataData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +String vendorBenefitPlanId = ...; + +final ref = ExampleConnector.instance.updateBenefitsData( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, +).ref(); +ref.execute(); +``` + + +### deleteBenefitsData +#### Required Arguments +```dart +String staffId = ...; +String vendorBenefitPlanId = ...; +ExampleConnector.instance.deleteBenefitsData( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteBenefitsData( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, +); +deleteBenefitsDataData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String staffId = ...; +String vendorBenefitPlanId = ...; + +final ref = ExampleConnector.instance.deleteBenefitsData( + staffId: staffId, + vendorBenefitPlanId: vendorBenefitPlanId, +).ref(); +ref.execute(); +``` + + +### createBusiness +#### Required Arguments +```dart +String businessName = ...; +String userId = ...; +BusinessRateGroup rateGroup = ...; +BusinessStatus status = ...; +ExampleConnector.instance.createBusiness( + businessName: businessName, + userId: userId, + rateGroup: rateGroup, + status: status, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createBusiness, we created `createBusinessBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateBusinessVariablesBuilder { + ... + CreateBusinessVariablesBuilder contactName(String? t) { + _contactName.value = t; + return this; + } + CreateBusinessVariablesBuilder companyLogoUrl(String? t) { + _companyLogoUrl.value = t; + return this; + } + CreateBusinessVariablesBuilder phone(String? t) { + _phone.value = t; + return this; + } + CreateBusinessVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + CreateBusinessVariablesBuilder hubBuilding(String? t) { + _hubBuilding.value = t; + return this; + } + CreateBusinessVariablesBuilder address(String? t) { + _address.value = t; + return this; + } + CreateBusinessVariablesBuilder city(String? t) { + _city.value = t; + return this; + } + CreateBusinessVariablesBuilder area(BusinessArea? t) { + _area.value = t; + return this; + } + CreateBusinessVariablesBuilder sector(BusinessSector? t) { + _sector.value = t; + return this; + } + CreateBusinessVariablesBuilder notes(String? t) { + _notes.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createBusiness( + businessName: businessName, + userId: userId, + rateGroup: rateGroup, + status: status, +) +.contactName(contactName) +.companyLogoUrl(companyLogoUrl) +.phone(phone) +.email(email) +.hubBuilding(hubBuilding) +.address(address) +.city(city) +.area(area) +.sector(sector) +.notes(notes) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createBusiness( + businessName: businessName, + userId: userId, + rateGroup: rateGroup, + status: status, +); +createBusinessData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String businessName = ...; +String userId = ...; +BusinessRateGroup rateGroup = ...; +BusinessStatus status = ...; + +final ref = ExampleConnector.instance.createBusiness( + businessName: businessName, + userId: userId, + rateGroup: rateGroup, + status: status, +).ref(); +ref.execute(); +``` + + +### updateBusiness +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateBusiness( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateBusiness, we created `updateBusinessBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateBusinessVariablesBuilder { + ... + UpdateBusinessVariablesBuilder businessName(String? t) { + _businessName.value = t; + return this; + } + UpdateBusinessVariablesBuilder contactName(String? t) { + _contactName.value = t; + return this; + } + UpdateBusinessVariablesBuilder companyLogoUrl(String? t) { + _companyLogoUrl.value = t; + return this; + } + UpdateBusinessVariablesBuilder phone(String? t) { + _phone.value = t; + return this; + } + UpdateBusinessVariablesBuilder email(String? t) { + _email.value = t; + return this; + } + UpdateBusinessVariablesBuilder hubBuilding(String? t) { + _hubBuilding.value = t; + return this; + } + UpdateBusinessVariablesBuilder address(String? t) { + _address.value = t; + return this; + } + UpdateBusinessVariablesBuilder city(String? t) { + _city.value = t; + return this; + } + UpdateBusinessVariablesBuilder area(BusinessArea? t) { + _area.value = t; + return this; + } + UpdateBusinessVariablesBuilder sector(BusinessSector? t) { + _sector.value = t; + return this; + } + UpdateBusinessVariablesBuilder rateGroup(BusinessRateGroup? t) { + _rateGroup.value = t; + return this; + } + UpdateBusinessVariablesBuilder status(BusinessStatus? t) { + _status.value = t; + return this; + } + UpdateBusinessVariablesBuilder notes(String? t) { + _notes.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateBusiness( + id: id, +) +.businessName(businessName) +.contactName(contactName) +.companyLogoUrl(companyLogoUrl) +.phone(phone) +.email(email) +.hubBuilding(hubBuilding) +.address(address) +.city(city) +.area(area) +.sector(sector) +.rateGroup(rateGroup) +.status(status) +.notes(notes) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateBusiness( id: id, ); -updateAttireOptionData data = result.data; +updateBusinessData data = result.data; final ref = result.ref; ``` @@ -14195,18 +19482,18 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.updateAttireOption( +final ref = ExampleConnector.instance.updateBusiness( id: id, ).ref(); ref.execute(); ``` -### deleteAttireOption +### deleteBusiness #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.deleteAttireOption( +ExampleConnector.instance.deleteBusiness( id: id, ).execute(); ``` @@ -14214,7 +19501,7 @@ ExampleConnector.instance.deleteAttireOption( #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -14224,10 +19511,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.deleteAttireOption( +final result = await ExampleConnector.instance.deleteBusiness( id: id, ); -deleteAttireOptionData data = result.data; +deleteBusinessData data = result.data; final ref = result.ref; ``` @@ -14237,7 +19524,7 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.deleteAttireOption( +final ref = ExampleConnector.instance.deleteBusiness( id: id, ).ref(); ref.execute(); @@ -14398,67 +19685,48 @@ ref.execute(); ``` -### createStaffAvailabilityStats +### createStaffAvailability #### Required Arguments ```dart String staffId = ...; -ExampleConnector.instance.createStaffAvailabilityStats( +DayOfWeek day = ...; +AvailabilitySlot slot = ...; +ExampleConnector.instance.createStaffAvailability( staffId: staffId, + day: day, + slot: slot, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For createStaffAvailabilityStats, we created `createStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For createStaffAvailability, we created `createStaffAvailabilityBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class CreateStaffAvailabilityStatsVariablesBuilder { +class CreateStaffAvailabilityVariablesBuilder { ... - CreateStaffAvailabilityStatsVariablesBuilder needWorkIndex(int? t) { - _needWorkIndex.value = t; + CreateStaffAvailabilityVariablesBuilder status(AvailabilityStatus? t) { + _status.value = t; return this; } - CreateStaffAvailabilityStatsVariablesBuilder utilizationPercentage(int? t) { - _utilizationPercentage.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder predictedAvailabilityScore(int? t) { - _predictedAvailabilityScore.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder scheduledHoursThisPeriod(int? t) { - _scheduledHoursThisPeriod.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder desiredHoursThisPeriod(int? t) { - _desiredHoursThisPeriod.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder lastShiftDate(Timestamp? t) { - _lastShiftDate.value = t; - return this; - } - CreateStaffAvailabilityStatsVariablesBuilder acceptanceRate(int? t) { - _acceptanceRate.value = t; + CreateStaffAvailabilityVariablesBuilder notes(String? t) { + _notes.value = t; return this; } ... } -ExampleConnector.instance.createStaffAvailabilityStats( +ExampleConnector.instance.createStaffAvailability( staffId: staffId, + day: day, + slot: slot, ) -.needWorkIndex(needWorkIndex) -.utilizationPercentage(utilizationPercentage) -.predictedAvailabilityScore(predictedAvailabilityScore) -.scheduledHoursThisPeriod(scheduledHoursThisPeriod) -.desiredHoursThisPeriod(desiredHoursThisPeriod) -.lastShiftDate(lastShiftDate) -.acceptanceRate(acceptanceRate) +.status(status) +.notes(notes) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -14468,10 +19736,12 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.createStaffAvailabilityStats( +final result = await ExampleConnector.instance.createStaffAvailability( staffId: staffId, + day: day, + slot: slot, ); -createStaffAvailabilityStatsData data = result.data; +createStaffAvailabilityData data = result.data; final ref = result.ref; ``` @@ -14480,75 +19750,60 @@ Each builder returns an `execute` function, which is a helper function that crea An example of how to use the `Ref` object is shown below: ```dart String staffId = ...; +DayOfWeek day = ...; +AvailabilitySlot slot = ...; -final ref = ExampleConnector.instance.createStaffAvailabilityStats( +final ref = ExampleConnector.instance.createStaffAvailability( staffId: staffId, + day: day, + slot: slot, ).ref(); ref.execute(); ``` -### updateStaffAvailabilityStats +### updateStaffAvailability #### Required Arguments ```dart String staffId = ...; -ExampleConnector.instance.updateStaffAvailabilityStats( +DayOfWeek day = ...; +AvailabilitySlot slot = ...; +ExampleConnector.instance.updateStaffAvailability( staffId: staffId, + day: day, + slot: slot, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For updateStaffAvailabilityStats, we created `updateStaffAvailabilityStatsBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For updateStaffAvailability, we created `updateStaffAvailabilityBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class UpdateStaffAvailabilityStatsVariablesBuilder { +class UpdateStaffAvailabilityVariablesBuilder { ... - UpdateStaffAvailabilityStatsVariablesBuilder needWorkIndex(int? t) { - _needWorkIndex.value = t; + UpdateStaffAvailabilityVariablesBuilder status(AvailabilityStatus? t) { + _status.value = t; return this; } - UpdateStaffAvailabilityStatsVariablesBuilder utilizationPercentage(int? t) { - _utilizationPercentage.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder predictedAvailabilityScore(int? t) { - _predictedAvailabilityScore.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder scheduledHoursThisPeriod(int? t) { - _scheduledHoursThisPeriod.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder desiredHoursThisPeriod(int? t) { - _desiredHoursThisPeriod.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder lastShiftDate(Timestamp? t) { - _lastShiftDate.value = t; - return this; - } - UpdateStaffAvailabilityStatsVariablesBuilder acceptanceRate(int? t) { - _acceptanceRate.value = t; + UpdateStaffAvailabilityVariablesBuilder notes(String? t) { + _notes.value = t; return this; } ... } -ExampleConnector.instance.updateStaffAvailabilityStats( +ExampleConnector.instance.updateStaffAvailability( staffId: staffId, + day: day, + slot: slot, ) -.needWorkIndex(needWorkIndex) -.utilizationPercentage(utilizationPercentage) -.predictedAvailabilityScore(predictedAvailabilityScore) -.scheduledHoursThisPeriod(scheduledHoursThisPeriod) -.desiredHoursThisPeriod(desiredHoursThisPeriod) -.lastShiftDate(lastShiftDate) -.acceptanceRate(acceptanceRate) +.status(status) +.notes(notes) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -14558,10 +19813,12 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.updateStaffAvailabilityStats( +final result = await ExampleConnector.instance.updateStaffAvailability( staffId: staffId, + day: day, + slot: slot, ); -updateStaffAvailabilityStatsData data = result.data; +updateStaffAvailabilityData data = result.data; final ref = result.ref; ``` @@ -14570,27 +19827,35 @@ Each builder returns an `execute` function, which is a helper function that crea An example of how to use the `Ref` object is shown below: ```dart String staffId = ...; +DayOfWeek day = ...; +AvailabilitySlot slot = ...; -final ref = ExampleConnector.instance.updateStaffAvailabilityStats( +final ref = ExampleConnector.instance.updateStaffAvailability( staffId: staffId, + day: day, + slot: slot, ).ref(); ref.execute(); ``` -### deleteStaffAvailabilityStats +### deleteStaffAvailability #### Required Arguments ```dart String staffId = ...; -ExampleConnector.instance.deleteStaffAvailabilityStats( +DayOfWeek day = ...; +AvailabilitySlot slot = ...; +ExampleConnector.instance.deleteStaffAvailability( staffId: staffId, + day: day, + slot: slot, ).execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -14600,10 +19865,12 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.deleteStaffAvailabilityStats( +final result = await ExampleConnector.instance.deleteStaffAvailability( staffId: staffId, + day: day, + slot: slot, ); -deleteStaffAvailabilityStatsData data = result.data; +deleteStaffAvailabilityData data = result.data; final ref = result.ref; ``` @@ -14612,390 +19879,13 @@ Each builder returns an `execute` function, which is a helper function that crea An example of how to use the `Ref` object is shown below: ```dart String staffId = ...; +DayOfWeek day = ...; +AvailabilitySlot slot = ...; -final ref = ExampleConnector.instance.deleteStaffAvailabilityStats( +final ref = ExampleConnector.instance.deleteStaffAvailability( staffId: staffId, -).ref(); -ref.execute(); -``` - - -### CreateUser -#### Required Arguments -```dart -String id = ...; -UserBaseRole role = ...; -ExampleConnector.instance.createUser( - id: id, - role: role, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For CreateUser, we created `CreateUserBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateUserVariablesBuilder { - ... - CreateUserVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateUserVariablesBuilder fullName(String? t) { - _fullName.value = t; - return this; - } - CreateUserVariablesBuilder userRole(String? t) { - _userRole.value = t; - return this; - } - CreateUserVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createUser( - id: id, - role: role, -) -.email(email) -.fullName(fullName) -.userRole(userRole) -.photoUrl(photoUrl) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createUser( - id: id, - role: role, -); -CreateUserData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; -UserBaseRole role = ...; - -final ref = ExampleConnector.instance.createUser( - id: id, - role: role, -).ref(); -ref.execute(); -``` - - -### UpdateUser -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateUser( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For UpdateUser, we created `UpdateUserBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateUserVariablesBuilder { - ... - UpdateUserVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - UpdateUserVariablesBuilder fullName(String? t) { - _fullName.value = t; - return this; - } - UpdateUserVariablesBuilder role(UserBaseRole? t) { - _role.value = t; - return this; - } - UpdateUserVariablesBuilder userRole(String? t) { - _userRole.value = t; - return this; - } - UpdateUserVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateUser( - id: id, -) -.email(email) -.fullName(fullName) -.role(role) -.userRole(userRole) -.photoUrl(photoUrl) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateUser( - id: id, -); -UpdateUserData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateUser( - id: id, -).ref(); -ref.execute(); -``` - - -### DeleteUser -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteUser( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteUser( - id: id, -); -DeleteUserData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteUser( - id: id, -).ref(); -ref.execute(); -``` - - -### createCategory -#### Required Arguments -```dart -String categoryId = ...; -String label = ...; -ExampleConnector.instance.createCategory( - categoryId: categoryId, - label: label, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createCategory, we created `createCategoryBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateCategoryVariablesBuilder { - ... - CreateCategoryVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createCategory( - categoryId: categoryId, - label: label, -) -.icon(icon) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createCategory( - categoryId: categoryId, - label: label, -); -createCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String categoryId = ...; -String label = ...; - -final ref = ExampleConnector.instance.createCategory( - categoryId: categoryId, - label: label, -).ref(); -ref.execute(); -``` - - -### updateCategory -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateCategory( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateCategory, we created `updateCategoryBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateCategoryVariablesBuilder { - ... - UpdateCategoryVariablesBuilder categoryId(String? t) { - _categoryId.value = t; - return this; - } - UpdateCategoryVariablesBuilder label(String? t) { - _label.value = t; - return this; - } - UpdateCategoryVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateCategory( - id: id, -) -.categoryId(categoryId) -.label(label) -.icon(icon) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateCategory( - id: id, -); -updateCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateCategory( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteCategory -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteCategory( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteCategory( - id: id, -); -deleteCategoryData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteCategory( - id: id, + day: day, + slot: slot, ).ref(); ref.execute(); ``` @@ -15360,43 +20250,240 @@ ref.execute(); ``` -### createWorkforce +### createMessage +#### Required Arguments +```dart +String conversationId = ...; +String senderId = ...; +String content = ...; +ExampleConnector.instance.createMessage( + conversationId: conversationId, + senderId: senderId, + content: content, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createMessage, we created `createMessageBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateMessageVariablesBuilder { + ... + CreateMessageVariablesBuilder isSystem(bool? t) { + _isSystem.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createMessage( + conversationId: conversationId, + senderId: senderId, + content: content, +) +.isSystem(isSystem) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createMessage( + conversationId: conversationId, + senderId: senderId, + content: content, +); +createMessageData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String conversationId = ...; +String senderId = ...; +String content = ...; + +final ref = ExampleConnector.instance.createMessage( + conversationId: conversationId, + senderId: senderId, + content: content, +).ref(); +ref.execute(); +``` + + +### updateMessage +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateMessage( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateMessage, we created `updateMessageBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateMessageVariablesBuilder { + ... + UpdateMessageVariablesBuilder conversationId(String? t) { + _conversationId.value = t; + return this; + } + UpdateMessageVariablesBuilder senderId(String? t) { + _senderId.value = t; + return this; + } + UpdateMessageVariablesBuilder content(String? t) { + _content.value = t; + return this; + } + UpdateMessageVariablesBuilder isSystem(bool? t) { + _isSystem.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateMessage( + id: id, +) +.conversationId(conversationId) +.senderId(senderId) +.content(content) +.isSystem(isSystem) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateMessage( + id: id, +); +updateMessageData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateMessage( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteMessage +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteMessage( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteMessage( + id: id, +); +deleteMessageData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteMessage( + id: id, +).ref(); +ref.execute(); +``` + + +### createStaffDocument #### Required Arguments ```dart -String vendorId = ...; String staffId = ...; -String workforceNumber = ...; -ExampleConnector.instance.createWorkforce( - vendorId: vendorId, +String staffName = ...; +String documentId = ...; +DocumentStatus status = ...; +ExampleConnector.instance.createStaffDocument( staffId: staffId, - workforceNumber: workforceNumber, + staffName: staffName, + documentId: documentId, + status: status, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For createWorkforce, we created `createWorkforceBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For createStaffDocument, we created `createStaffDocumentBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class CreateWorkforceVariablesBuilder { +class CreateStaffDocumentVariablesBuilder { ... - CreateWorkforceVariablesBuilder employmentType(WorkforceEmploymentType? t) { - _employmentType.value = t; + CreateStaffDocumentVariablesBuilder documentUrl(String? t) { + _documentUrl.value = t; + return this; + } + CreateStaffDocumentVariablesBuilder expiryDate(Timestamp? t) { + _expiryDate.value = t; return this; } ... } -ExampleConnector.instance.createWorkforce( - vendorId: vendorId, +ExampleConnector.instance.createStaffDocument( staffId: staffId, - workforceNumber: workforceNumber, + staffName: staffName, + documentId: documentId, + status: status, ) -.employmentType(employmentType) +.documentUrl(documentUrl) +.expiryDate(expiryDate) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -15406,12 +20493,13 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.createWorkforce( - vendorId: vendorId, +final result = await ExampleConnector.instance.createStaffDocument( staffId: staffId, - workforceNumber: workforceNumber, + staffName: staffName, + documentId: documentId, + status: status, ); -createWorkforceData data = result.data; +createStaffDocumentData data = result.data; final ref = result.ref; ``` @@ -15419,60 +20507,65 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String vendorId = ...; String staffId = ...; -String workforceNumber = ...; +String staffName = ...; +String documentId = ...; +DocumentStatus status = ...; -final ref = ExampleConnector.instance.createWorkforce( - vendorId: vendorId, +final ref = ExampleConnector.instance.createStaffDocument( staffId: staffId, - workforceNumber: workforceNumber, + staffName: staffName, + documentId: documentId, + status: status, ).ref(); ref.execute(); ``` -### updateWorkforce +### updateStaffDocument #### Required Arguments ```dart -String id = ...; -ExampleConnector.instance.updateWorkforce( - id: id, +String staffId = ...; +String documentId = ...; +ExampleConnector.instance.updateStaffDocument( + staffId: staffId, + documentId: documentId, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For updateWorkforce, we created `updateWorkforceBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For updateStaffDocument, we created `updateStaffDocumentBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class UpdateWorkforceVariablesBuilder { +class UpdateStaffDocumentVariablesBuilder { ... - UpdateWorkforceVariablesBuilder workforceNumber(String? t) { - _workforceNumber.value = t; - return this; - } - UpdateWorkforceVariablesBuilder employmentType(WorkforceEmploymentType? t) { - _employmentType.value = t; - return this; - } - UpdateWorkforceVariablesBuilder status(WorkforceStatus? t) { + UpdateStaffDocumentVariablesBuilder status(DocumentStatus? t) { _status.value = t; return this; } + UpdateStaffDocumentVariablesBuilder documentUrl(String? t) { + _documentUrl.value = t; + return this; + } + UpdateStaffDocumentVariablesBuilder expiryDate(Timestamp? t) { + _expiryDate.value = t; + return this; + } ... } -ExampleConnector.instance.updateWorkforce( - id: id, +ExampleConnector.instance.updateStaffDocument( + staffId: staffId, + documentId: documentId, ) -.workforceNumber(workforceNumber) -.employmentType(employmentType) .status(status) +.documentUrl(documentUrl) +.expiryDate(expiryDate) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -15482,10 +20575,11 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.updateWorkforce( - id: id, +final result = await ExampleConnector.instance.updateStaffDocument( + staffId: staffId, + documentId: documentId, ); -updateWorkforceData data = result.data; +updateStaffDocumentData data = result.data; final ref = result.ref; ``` @@ -15493,28 +20587,32 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String id = ...; +String staffId = ...; +String documentId = ...; -final ref = ExampleConnector.instance.updateWorkforce( - id: id, +final ref = ExampleConnector.instance.updateStaffDocument( + staffId: staffId, + documentId: documentId, ).ref(); ref.execute(); ``` -### deactivateWorkforce +### deleteStaffDocument #### Required Arguments ```dart -String id = ...; -ExampleConnector.instance.deactivateWorkforce( - id: id, +String staffId = ...; +String documentId = ...; +ExampleConnector.instance.deleteStaffDocument( + staffId: staffId, + documentId: documentId, ).execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -15524,10 +20622,11 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.deactivateWorkforce( - id: id, +final result = await ExampleConnector.instance.deleteStaffDocument( + staffId: staffId, + documentId: documentId, ); -deactivateWorkforceData data = result.data; +deleteStaffDocumentData data = result.data; final ref = result.ref; ``` @@ -15535,811 +20634,12 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String id = ...; +String staffId = ...; +String documentId = ...; -final ref = ExampleConnector.instance.deactivateWorkforce( - id: id, -).ref(); -ref.execute(); -``` - - -### createClientFeedback -#### Required Arguments -```dart -String businessId = ...; -String vendorId = ...; -ExampleConnector.instance.createClientFeedback( - businessId: businessId, - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createClientFeedback, we created `createClientFeedbackBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateClientFeedbackVariablesBuilder { - ... - CreateClientFeedbackVariablesBuilder rating(int? t) { - _rating.value = t; - return this; - } - CreateClientFeedbackVariablesBuilder comment(String? t) { - _comment.value = t; - return this; - } - CreateClientFeedbackVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - CreateClientFeedbackVariablesBuilder createdBy(String? t) { - _createdBy.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createClientFeedback( - businessId: businessId, - vendorId: vendorId, -) -.rating(rating) -.comment(comment) -.date(date) -.createdBy(createdBy) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createClientFeedback( - businessId: businessId, - vendorId: vendorId, -); -createClientFeedbackData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessId = ...; -String vendorId = ...; - -final ref = ExampleConnector.instance.createClientFeedback( - businessId: businessId, - vendorId: vendorId, -).ref(); -ref.execute(); -``` - - -### updateClientFeedback -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateClientFeedback( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateClientFeedback, we created `updateClientFeedbackBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateClientFeedbackVariablesBuilder { - ... - UpdateClientFeedbackVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - UpdateClientFeedbackVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateClientFeedbackVariablesBuilder rating(int? t) { - _rating.value = t; - return this; - } - UpdateClientFeedbackVariablesBuilder comment(String? t) { - _comment.value = t; - return this; - } - UpdateClientFeedbackVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - UpdateClientFeedbackVariablesBuilder createdBy(String? t) { - _createdBy.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateClientFeedback( - id: id, -) -.businessId(businessId) -.vendorId(vendorId) -.rating(rating) -.comment(comment) -.date(date) -.createdBy(createdBy) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateClientFeedback( - id: id, -); -updateClientFeedbackData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateClientFeedback( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteClientFeedback -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteClientFeedback( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteClientFeedback( - id: id, -); -deleteClientFeedbackData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteClientFeedback( - id: id, -).ref(); -ref.execute(); -``` - - -### createShift -#### Required Arguments -```dart -String title = ...; -String orderId = ...; -ExampleConnector.instance.createShift( - title: title, - orderId: orderId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createShift, we created `createShiftBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateShiftVariablesBuilder { - ... - CreateShiftVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - CreateShiftVariablesBuilder startTime(Timestamp? t) { - _startTime.value = t; - return this; - } - CreateShiftVariablesBuilder endTime(Timestamp? t) { - _endTime.value = t; - return this; - } - CreateShiftVariablesBuilder hours(double? t) { - _hours.value = t; - return this; - } - CreateShiftVariablesBuilder cost(double? t) { - _cost.value = t; - return this; - } - CreateShiftVariablesBuilder location(String? t) { - _location.value = t; - return this; - } - CreateShiftVariablesBuilder locationAddress(String? t) { - _locationAddress.value = t; - return this; - } - CreateShiftVariablesBuilder latitude(double? t) { - _latitude.value = t; - return this; - } - CreateShiftVariablesBuilder longitude(double? t) { - _longitude.value = t; - return this; - } - CreateShiftVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateShiftVariablesBuilder status(ShiftStatus? t) { - _status.value = t; - return this; - } - CreateShiftVariablesBuilder workersNeeded(int? t) { - _workersNeeded.value = t; - return this; - } - CreateShiftVariablesBuilder filled(int? t) { - _filled.value = t; - return this; - } - CreateShiftVariablesBuilder filledAt(Timestamp? t) { - _filledAt.value = t; - return this; - } - CreateShiftVariablesBuilder managers(List? t) { - _managers.value = t; - return this; - } - CreateShiftVariablesBuilder durationDays(int? t) { - _durationDays.value = t; - return this; - } - CreateShiftVariablesBuilder createdBy(String? t) { - _createdBy.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createShift( - title: title, - orderId: orderId, -) -.date(date) -.startTime(startTime) -.endTime(endTime) -.hours(hours) -.cost(cost) -.location(location) -.locationAddress(locationAddress) -.latitude(latitude) -.longitude(longitude) -.description(description) -.status(status) -.workersNeeded(workersNeeded) -.filled(filled) -.filledAt(filledAt) -.managers(managers) -.durationDays(durationDays) -.createdBy(createdBy) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createShift( - title: title, - orderId: orderId, -); -createShiftData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String title = ...; -String orderId = ...; - -final ref = ExampleConnector.instance.createShift( - title: title, - orderId: orderId, -).ref(); -ref.execute(); -``` - - -### updateShift -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateShift( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateShift, we created `updateShiftBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateShiftVariablesBuilder { - ... - UpdateShiftVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateShiftVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - UpdateShiftVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - UpdateShiftVariablesBuilder startTime(Timestamp? t) { - _startTime.value = t; - return this; - } - UpdateShiftVariablesBuilder endTime(Timestamp? t) { - _endTime.value = t; - return this; - } - UpdateShiftVariablesBuilder hours(double? t) { - _hours.value = t; - return this; - } - UpdateShiftVariablesBuilder cost(double? t) { - _cost.value = t; - return this; - } - UpdateShiftVariablesBuilder location(String? t) { - _location.value = t; - return this; - } - UpdateShiftVariablesBuilder locationAddress(String? t) { - _locationAddress.value = t; - return this; - } - UpdateShiftVariablesBuilder latitude(double? t) { - _latitude.value = t; - return this; - } - UpdateShiftVariablesBuilder longitude(double? t) { - _longitude.value = t; - return this; - } - UpdateShiftVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateShiftVariablesBuilder status(ShiftStatus? t) { - _status.value = t; - return this; - } - UpdateShiftVariablesBuilder workersNeeded(int? t) { - _workersNeeded.value = t; - return this; - } - UpdateShiftVariablesBuilder filled(int? t) { - _filled.value = t; - return this; - } - UpdateShiftVariablesBuilder filledAt(Timestamp? t) { - _filledAt.value = t; - return this; - } - UpdateShiftVariablesBuilder managers(List? t) { - _managers.value = t; - return this; - } - UpdateShiftVariablesBuilder durationDays(int? t) { - _durationDays.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateShift( - id: id, -) -.title(title) -.orderId(orderId) -.date(date) -.startTime(startTime) -.endTime(endTime) -.hours(hours) -.cost(cost) -.location(location) -.locationAddress(locationAddress) -.latitude(latitude) -.longitude(longitude) -.description(description) -.status(status) -.workersNeeded(workersNeeded) -.filled(filled) -.filledAt(filledAt) -.managers(managers) -.durationDays(durationDays) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateShift( - id: id, -); -updateShiftData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateShift( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteShift -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteShift( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteShift( - id: id, -); -deleteShiftData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteShift( - id: id, -).ref(); -ref.execute(); -``` - - -### createShiftRole -#### Required Arguments -```dart -String shiftId = ...; -String roleId = ...; -int count = ...; -ExampleConnector.instance.createShiftRole( - shiftId: shiftId, - roleId: roleId, - count: count, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createShiftRole, we created `createShiftRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateShiftRoleVariablesBuilder { - ... - CreateShiftRoleVariablesBuilder assigned(int? t) { - _assigned.value = t; - return this; - } - CreateShiftRoleVariablesBuilder startTime(Timestamp? t) { - _startTime.value = t; - return this; - } - CreateShiftRoleVariablesBuilder endTime(Timestamp? t) { - _endTime.value = t; - return this; - } - CreateShiftRoleVariablesBuilder hours(double? t) { - _hours.value = t; - return this; - } - CreateShiftRoleVariablesBuilder department(String? t) { - _department.value = t; - return this; - } - CreateShiftRoleVariablesBuilder uniform(String? t) { - _uniform.value = t; - return this; - } - CreateShiftRoleVariablesBuilder breakType(BreakDuration? t) { - _breakType.value = t; - return this; - } - CreateShiftRoleVariablesBuilder totalValue(double? t) { - _totalValue.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createShiftRole( - shiftId: shiftId, - roleId: roleId, - count: count, -) -.assigned(assigned) -.startTime(startTime) -.endTime(endTime) -.hours(hours) -.department(department) -.uniform(uniform) -.breakType(breakType) -.totalValue(totalValue) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createShiftRole( - shiftId: shiftId, - roleId: roleId, - count: count, -); -createShiftRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; -String roleId = ...; -int count = ...; - -final ref = ExampleConnector.instance.createShiftRole( - shiftId: shiftId, - roleId: roleId, - count: count, -).ref(); -ref.execute(); -``` - - -### updateShiftRole -#### Required Arguments -```dart -String shiftId = ...; -String roleId = ...; -ExampleConnector.instance.updateShiftRole( - shiftId: shiftId, - roleId: roleId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateShiftRole, we created `updateShiftRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateShiftRoleVariablesBuilder { - ... - UpdateShiftRoleVariablesBuilder count(int? t) { - _count.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder assigned(int? t) { - _assigned.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder startTime(Timestamp? t) { - _startTime.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder endTime(Timestamp? t) { - _endTime.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder hours(double? t) { - _hours.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder department(String? t) { - _department.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder uniform(String? t) { - _uniform.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder breakType(BreakDuration? t) { - _breakType.value = t; - return this; - } - UpdateShiftRoleVariablesBuilder totalValue(double? t) { - _totalValue.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateShiftRole( - shiftId: shiftId, - roleId: roleId, -) -.count(count) -.assigned(assigned) -.startTime(startTime) -.endTime(endTime) -.hours(hours) -.department(department) -.uniform(uniform) -.breakType(breakType) -.totalValue(totalValue) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateShiftRole( - shiftId: shiftId, - roleId: roleId, -); -updateShiftRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.updateShiftRole( - shiftId: shiftId, - roleId: roleId, -).ref(); -ref.execute(); -``` - - -### deleteShiftRole -#### Required Arguments -```dart -String shiftId = ...; -String roleId = ...; -ExampleConnector.instance.deleteShiftRole( - shiftId: shiftId, - roleId: roleId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteShiftRole( - shiftId: shiftId, - roleId: roleId, -); -deleteShiftRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String shiftId = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.deleteShiftRole( - shiftId: shiftId, - roleId: roleId, +final ref = ExampleConnector.instance.deleteStaffDocument( + staffId: staffId, + documentId: documentId, ).ref(); ref.execute(); ``` @@ -16823,76 +21123,43 @@ ref.execute(); ``` -### createTask +### createTaskComment #### Required Arguments ```dart -String taskName = ...; -TaskPriority priority = ...; -TaskStatus status = ...; -String ownerId = ...; -ExampleConnector.instance.createTask( - taskName: taskName, - priority: priority, - status: status, - ownerId: ownerId, +String taskId = ...; +String teamMemberId = ...; +String comment = ...; +ExampleConnector.instance.createTaskComment( + taskId: taskId, + teamMemberId: teamMemberId, + comment: comment, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For createTask, we created `createTaskBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For createTaskComment, we created `createTaskCommentBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class CreateTaskVariablesBuilder { +class CreateTaskCommentVariablesBuilder { ... - CreateTaskVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateTaskVariablesBuilder dueDate(Timestamp? t) { - _dueDate.value = t; - return this; - } - CreateTaskVariablesBuilder progress(int? t) { - _progress.value = t; - return this; - } - CreateTaskVariablesBuilder orderIndex(int? t) { - _orderIndex.value = t; - return this; - } - CreateTaskVariablesBuilder commentCount(int? t) { - _commentCount.value = t; - return this; - } - CreateTaskVariablesBuilder attachmentCount(int? t) { - _attachmentCount.value = t; - return this; - } - CreateTaskVariablesBuilder files(AnyValue? t) { - _files.value = t; + CreateTaskCommentVariablesBuilder isSystem(bool? t) { + _isSystem.value = t; return this; } ... } -ExampleConnector.instance.createTask( - taskName: taskName, - priority: priority, - status: status, - ownerId: ownerId, +ExampleConnector.instance.createTaskComment( + taskId: taskId, + teamMemberId: teamMemberId, + comment: comment, ) -.description(description) -.dueDate(dueDate) -.progress(progress) -.orderIndex(orderIndex) -.commentCount(commentCount) -.attachmentCount(attachmentCount) -.files(files) +.isSystem(isSystem) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -16902,13 +21169,12 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.createTask( - taskName: taskName, - priority: priority, - status: status, - ownerId: ownerId, +final result = await ExampleConnector.instance.createTaskComment( + taskId: taskId, + teamMemberId: teamMemberId, + comment: comment, ); -createTaskData data = result.data; +createTaskCommentData data = result.data; final ref = result.ref; ``` @@ -16916,102 +21182,55 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String taskName = ...; -TaskPriority priority = ...; -TaskStatus status = ...; -String ownerId = ...; +String taskId = ...; +String teamMemberId = ...; +String comment = ...; -final ref = ExampleConnector.instance.createTask( - taskName: taskName, - priority: priority, - status: status, - ownerId: ownerId, +final ref = ExampleConnector.instance.createTaskComment( + taskId: taskId, + teamMemberId: teamMemberId, + comment: comment, ).ref(); ref.execute(); ``` -### updateTask +### updateTaskComment #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.updateTask( +ExampleConnector.instance.updateTaskComment( id: id, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For updateTask, we created `updateTaskBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For updateTaskComment, we created `updateTaskCommentBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class UpdateTaskVariablesBuilder { +class UpdateTaskCommentVariablesBuilder { ... - UpdateTaskVariablesBuilder taskName(String? t) { - _taskName.value = t; + UpdateTaskCommentVariablesBuilder comment(String? t) { + _comment.value = t; return this; } - UpdateTaskVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateTaskVariablesBuilder priority(TaskPriority? t) { - _priority.value = t; - return this; - } - UpdateTaskVariablesBuilder status(TaskStatus? t) { - _status.value = t; - return this; - } - UpdateTaskVariablesBuilder dueDate(Timestamp? t) { - _dueDate.value = t; - return this; - } - UpdateTaskVariablesBuilder progress(int? t) { - _progress.value = t; - return this; - } - UpdateTaskVariablesBuilder assignedMembers(AnyValue? t) { - _assignedMembers.value = t; - return this; - } - UpdateTaskVariablesBuilder orderIndex(int? t) { - _orderIndex.value = t; - return this; - } - UpdateTaskVariablesBuilder commentCount(int? t) { - _commentCount.value = t; - return this; - } - UpdateTaskVariablesBuilder attachmentCount(int? t) { - _attachmentCount.value = t; - return this; - } - UpdateTaskVariablesBuilder files(AnyValue? t) { - _files.value = t; + UpdateTaskCommentVariablesBuilder isSystem(bool? t) { + _isSystem.value = t; return this; } ... } -ExampleConnector.instance.updateTask( +ExampleConnector.instance.updateTaskComment( id: id, ) -.taskName(taskName) -.description(description) -.priority(priority) -.status(status) -.dueDate(dueDate) -.progress(progress) -.assignedMembers(assignedMembers) -.orderIndex(orderIndex) -.commentCount(commentCount) -.attachmentCount(attachmentCount) -.files(files) +.comment(comment) +.isSystem(isSystem) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -17021,10 +21240,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.updateTask( +final result = await ExampleConnector.instance.updateTaskComment( id: id, ); -updateTaskData data = result.data; +updateTaskCommentData data = result.data; final ref = result.ref; ``` @@ -17034,18 +21253,18 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.updateTask( +final ref = ExampleConnector.instance.updateTaskComment( id: id, ).ref(); ref.execute(); ``` -### deleteTask +### deleteTaskComment #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.deleteTask( +ExampleConnector.instance.deleteTaskComment( id: id, ).execute(); ``` @@ -17053,7 +21272,7 @@ ExampleConnector.instance.deleteTask( #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -17063,10 +21282,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.deleteTask( +final result = await ExampleConnector.instance.deleteTaskComment( id: id, ); -deleteTaskData data = result.data; +deleteTaskCommentData data = result.data; final ref = result.ref; ``` @@ -17076,2321 +21295,75 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.deleteTask( +final ref = ExampleConnector.instance.deleteTaskComment( id: id, ).ref(); ref.execute(); ``` -### createTeamMember +### createTeamHub #### Required Arguments ```dart String teamId = ...; -TeamMemberRole role = ...; -String userId = ...; -ExampleConnector.instance.createTeamMember( +String hubName = ...; +String address = ...; +ExampleConnector.instance.createTeamHub( teamId: teamId, - role: role, - userId: userId, + hubName: hubName, + address: address, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For createTeamMember, we created `createTeamMemberBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For createTeamHub, we created `createTeamHubBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class CreateTeamMemberVariablesBuilder { +class CreateTeamHubVariablesBuilder { ... - CreateTeamMemberVariablesBuilder title(String? t) { - _title.value = t; + CreateTeamHubVariablesBuilder city(String? t) { + _city.value = t; return this; } - CreateTeamMemberVariablesBuilder department(String? t) { - _department.value = t; + CreateTeamHubVariablesBuilder state(String? t) { + _state.value = t; return this; } - CreateTeamMemberVariablesBuilder teamHubId(String? t) { - _teamHubId.value = t; + CreateTeamHubVariablesBuilder zipCode(String? t) { + _zipCode.value = t; return this; } - CreateTeamMemberVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateTeamMemberVariablesBuilder inviteStatus(TeamMemberInviteStatus? t) { - _inviteStatus.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTeamMember( - teamId: teamId, - role: role, - userId: userId, -) -.title(title) -.department(department) -.teamHubId(teamHubId) -.isActive(isActive) -.inviteStatus(inviteStatus) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTeamMember( - teamId: teamId, - role: role, - userId: userId, -); -createTeamMemberData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamId = ...; -TeamMemberRole role = ...; -String userId = ...; - -final ref = ExampleConnector.instance.createTeamMember( - teamId: teamId, - role: role, - userId: userId, -).ref(); -ref.execute(); -``` - - -### updateTeamMember -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTeamMember( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTeamMember, we created `updateTeamMemberBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTeamMemberVariablesBuilder { - ... - UpdateTeamMemberVariablesBuilder role(TeamMemberRole? t) { - _role.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder department(String? t) { - _department.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder teamHubId(String? t) { - _teamHubId.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateTeamMemberVariablesBuilder inviteStatus(TeamMemberInviteStatus? t) { - _inviteStatus.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTeamMember( - id: id, -) -.role(role) -.title(title) -.department(department) -.teamHubId(teamHubId) -.isActive(isActive) -.inviteStatus(inviteStatus) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTeamMember( - id: id, -); -updateTeamMemberData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTeamMember( - id: id, -).ref(); -ref.execute(); -``` - - -### updateTeamMemberInviteStatus -#### Required Arguments -```dart -String id = ...; -TeamMemberInviteStatus inviteStatus = ...; -ExampleConnector.instance.updateTeamMemberInviteStatus( - id: id, - inviteStatus: inviteStatus, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTeamMemberInviteStatus( - id: id, - inviteStatus: inviteStatus, -); -updateTeamMemberInviteStatusData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; -TeamMemberInviteStatus inviteStatus = ...; - -final ref = ExampleConnector.instance.updateTeamMemberInviteStatus( - id: id, - inviteStatus: inviteStatus, -).ref(); -ref.execute(); -``` - - -### acceptInviteByCode -#### Required Arguments -```dart -String inviteCode = ...; -ExampleConnector.instance.acceptInviteByCode( - inviteCode: inviteCode, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.acceptInviteByCode( - inviteCode: inviteCode, -); -acceptInviteByCodeData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String inviteCode = ...; - -final ref = ExampleConnector.instance.acceptInviteByCode( - inviteCode: inviteCode, -).ref(); -ref.execute(); -``` - - -### cancelInviteByCode -#### Required Arguments -```dart -String inviteCode = ...; -ExampleConnector.instance.cancelInviteByCode( - inviteCode: inviteCode, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.cancelInviteByCode( - inviteCode: inviteCode, -); -cancelInviteByCodeData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String inviteCode = ...; - -final ref = ExampleConnector.instance.cancelInviteByCode( - inviteCode: inviteCode, -).ref(); -ref.execute(); -``` - - -### deleteTeamMember -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTeamMember( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTeamMember( - id: id, -); -deleteTeamMemberData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTeamMember( - id: id, -).ref(); -ref.execute(); -``` - - -### createTeam -#### Required Arguments -```dart -String teamName = ...; -String ownerId = ...; -String ownerName = ...; -String ownerRole = ...; -ExampleConnector.instance.createTeam( - teamName: teamName, - ownerId: ownerId, - ownerName: ownerName, - ownerRole: ownerRole, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTeam, we created `createTeamBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTeamVariablesBuilder { - ... - CreateTeamVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateTeamVariablesBuilder companyLogo(String? t) { - _companyLogo.value = t; - return this; - } - CreateTeamVariablesBuilder totalMembers(int? t) { - _totalMembers.value = t; - return this; - } - CreateTeamVariablesBuilder activeMembers(int? t) { - _activeMembers.value = t; - return this; - } - CreateTeamVariablesBuilder totalHubs(int? t) { - _totalHubs.value = t; - return this; - } - CreateTeamVariablesBuilder departments(AnyValue? t) { - _departments.value = t; - return this; - } - CreateTeamVariablesBuilder favoriteStaffCount(int? t) { - _favoriteStaffCount.value = t; - return this; - } - CreateTeamVariablesBuilder blockedStaffCount(int? t) { - _blockedStaffCount.value = t; - return this; - } - CreateTeamVariablesBuilder favoriteStaff(AnyValue? t) { - _favoriteStaff.value = t; - return this; - } - CreateTeamVariablesBuilder blockedStaff(AnyValue? t) { - _blockedStaff.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTeam( - teamName: teamName, - ownerId: ownerId, - ownerName: ownerName, - ownerRole: ownerRole, -) -.email(email) -.companyLogo(companyLogo) -.totalMembers(totalMembers) -.activeMembers(activeMembers) -.totalHubs(totalHubs) -.departments(departments) -.favoriteStaffCount(favoriteStaffCount) -.blockedStaffCount(blockedStaffCount) -.favoriteStaff(favoriteStaff) -.blockedStaff(blockedStaff) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTeam( - teamName: teamName, - ownerId: ownerId, - ownerName: ownerName, - ownerRole: ownerRole, -); -createTeamData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamName = ...; -String ownerId = ...; -String ownerName = ...; -String ownerRole = ...; - -final ref = ExampleConnector.instance.createTeam( - teamName: teamName, - ownerId: ownerId, - ownerName: ownerName, - ownerRole: ownerRole, -).ref(); -ref.execute(); -``` - - -### updateTeam -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTeam( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTeam, we created `updateTeamBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTeamVariablesBuilder { - ... - UpdateTeamVariablesBuilder teamName(String? t) { - _teamName.value = t; - return this; - } - UpdateTeamVariablesBuilder ownerName(String? t) { - _ownerName.value = t; - return this; - } - UpdateTeamVariablesBuilder ownerRole(String? t) { - _ownerRole.value = t; - return this; - } - UpdateTeamVariablesBuilder companyLogo(String? t) { - _companyLogo.value = t; - return this; - } - UpdateTeamVariablesBuilder totalMembers(int? t) { - _totalMembers.value = t; - return this; - } - UpdateTeamVariablesBuilder activeMembers(int? t) { - _activeMembers.value = t; - return this; - } - UpdateTeamVariablesBuilder totalHubs(int? t) { - _totalHubs.value = t; - return this; - } - UpdateTeamVariablesBuilder departments(AnyValue? t) { - _departments.value = t; - return this; - } - UpdateTeamVariablesBuilder favoriteStaffCount(int? t) { - _favoriteStaffCount.value = t; - return this; - } - UpdateTeamVariablesBuilder blockedStaffCount(int? t) { - _blockedStaffCount.value = t; - return this; - } - UpdateTeamVariablesBuilder favoriteStaff(AnyValue? t) { - _favoriteStaff.value = t; - return this; - } - UpdateTeamVariablesBuilder blockedStaff(AnyValue? t) { - _blockedStaff.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTeam( - id: id, -) -.teamName(teamName) -.ownerName(ownerName) -.ownerRole(ownerRole) -.companyLogo(companyLogo) -.totalMembers(totalMembers) -.activeMembers(activeMembers) -.totalHubs(totalHubs) -.departments(departments) -.favoriteStaffCount(favoriteStaffCount) -.blockedStaffCount(blockedStaffCount) -.favoriteStaff(favoriteStaff) -.blockedStaff(blockedStaff) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTeam( - id: id, -); -updateTeamData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTeam( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteTeam -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTeam( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTeam( - id: id, -); -deleteTeamData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTeam( - id: id, -).ref(); -ref.execute(); -``` - - -### createBenefitsData -#### Required Arguments -```dart -String vendorBenefitPlanId = ...; -String staffId = ...; -int current = ...; -ExampleConnector.instance.createBenefitsData( - vendorBenefitPlanId: vendorBenefitPlanId, - staffId: staffId, - current: current, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createBenefitsData( - vendorBenefitPlanId: vendorBenefitPlanId, - staffId: staffId, - current: current, -); -createBenefitsDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorBenefitPlanId = ...; -String staffId = ...; -int current = ...; - -final ref = ExampleConnector.instance.createBenefitsData( - vendorBenefitPlanId: vendorBenefitPlanId, - staffId: staffId, - current: current, -).ref(); -ref.execute(); -``` - - -### updateBenefitsData -#### Required Arguments -```dart -String staffId = ...; -String vendorBenefitPlanId = ...; -ExampleConnector.instance.updateBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateBenefitsData, we created `updateBenefitsDataBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateBenefitsDataVariablesBuilder { - ... - UpdateBenefitsDataVariablesBuilder current(int? t) { - _current.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -) -.current(current) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -); -updateBenefitsDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String vendorBenefitPlanId = ...; - -final ref = ExampleConnector.instance.updateBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -).ref(); -ref.execute(); -``` - - -### deleteBenefitsData -#### Required Arguments -```dart -String staffId = ...; -String vendorBenefitPlanId = ...; -ExampleConnector.instance.deleteBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -); -deleteBenefitsDataData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String vendorBenefitPlanId = ...; - -final ref = ExampleConnector.instance.deleteBenefitsData( - staffId: staffId, - vendorBenefitPlanId: vendorBenefitPlanId, -).ref(); -ref.execute(); -``` - - -### createOrder -#### Required Arguments -```dart -String vendorId = ...; -String businessId = ...; -OrderType orderType = ...; -ExampleConnector.instance.createOrder( - vendorId: vendorId, - businessId: businessId, - orderType: orderType, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createOrder, we created `createOrderBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateOrderVariablesBuilder { - ... - CreateOrderVariablesBuilder location(String? t) { - _location.value = t; - return this; - } - CreateOrderVariablesBuilder status(OrderStatus? t) { - _status.value = t; - return this; - } - CreateOrderVariablesBuilder date(Timestamp? t) { - _date.value = t; - return this; - } - CreateOrderVariablesBuilder startDate(Timestamp? t) { - _startDate.value = t; - return this; - } - CreateOrderVariablesBuilder endDate(Timestamp? t) { - _endDate.value = t; - return this; - } - CreateOrderVariablesBuilder duration(OrderDuration? t) { - _duration.value = t; - return this; - } - CreateOrderVariablesBuilder lunchBreak(int? t) { - _lunchBreak.value = t; - return this; - } - CreateOrderVariablesBuilder total(double? t) { - _total.value = t; - return this; - } - CreateOrderVariablesBuilder eventName(String? t) { - _eventName.value = t; - return this; - } - CreateOrderVariablesBuilder assignedStaff(AnyValue? t) { - _assignedStaff.value = t; - return this; - } - CreateOrderVariablesBuilder shifts(AnyValue? t) { - _shifts.value = t; - return this; - } - CreateOrderVariablesBuilder requested(int? t) { - _requested.value = t; - return this; - } - CreateOrderVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - CreateOrderVariablesBuilder recurringDays(AnyValue? t) { - _recurringDays.value = t; - return this; - } - CreateOrderVariablesBuilder permanentStartDate(Timestamp? t) { - _permanentStartDate.value = t; - return this; - } - CreateOrderVariablesBuilder permanentDays(AnyValue? t) { - _permanentDays.value = t; - return this; - } - CreateOrderVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - CreateOrderVariablesBuilder detectedConflicts(AnyValue? t) { - _detectedConflicts.value = t; - return this; - } - CreateOrderVariablesBuilder poReference(String? t) { - _poReference.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createOrder( - vendorId: vendorId, - businessId: businessId, - orderType: orderType, -) -.location(location) -.status(status) -.date(date) -.startDate(startDate) -.endDate(endDate) -.duration(duration) -.lunchBreak(lunchBreak) -.total(total) -.eventName(eventName) -.assignedStaff(assignedStaff) -.shifts(shifts) -.requested(requested) -.hub(hub) -.recurringDays(recurringDays) -.permanentStartDate(permanentStartDate) -.permanentDays(permanentDays) -.notes(notes) -.detectedConflicts(detectedConflicts) -.poReference(poReference) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createOrder( - vendorId: vendorId, - businessId: businessId, - orderType: orderType, -); -createOrderData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; -String businessId = ...; -OrderType orderType = ...; - -final ref = ExampleConnector.instance.createOrder( - vendorId: vendorId, - businessId: businessId, - orderType: orderType, -).ref(); -ref.execute(); -``` - - -### updateOrder -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateOrder( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateOrder, we created `updateOrderBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateOrderVariablesBuilder { - ... - UpdateOrderVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateOrderVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - UpdateOrderVariablesBuilder location(String? t) { - _location.value = t; - return this; - } - UpdateOrderVariablesBuilder status(OrderStatus? t) { - _status.value = t; - return this; - } - UpdateOrderVariablesBuilder startDate(Timestamp? t) { - _startDate.value = t; - return this; - } - UpdateOrderVariablesBuilder endDate(Timestamp? t) { - _endDate.value = t; - return this; - } - UpdateOrderVariablesBuilder total(double? t) { - _total.value = t; - return this; - } - UpdateOrderVariablesBuilder eventName(String? t) { - _eventName.value = t; - return this; - } - UpdateOrderVariablesBuilder assignedStaff(AnyValue? t) { - _assignedStaff.value = t; - return this; - } - UpdateOrderVariablesBuilder shifts(AnyValue? t) { - _shifts.value = t; - return this; - } - UpdateOrderVariablesBuilder requested(int? t) { - _requested.value = t; - return this; - } - UpdateOrderVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - UpdateOrderVariablesBuilder recurringDays(AnyValue? t) { - _recurringDays.value = t; - return this; - } - UpdateOrderVariablesBuilder permanentDays(AnyValue? t) { - _permanentDays.value = t; - return this; - } - UpdateOrderVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - UpdateOrderVariablesBuilder detectedConflicts(AnyValue? t) { - _detectedConflicts.value = t; - return this; - } - UpdateOrderVariablesBuilder poReference(String? t) { - _poReference.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateOrder( - id: id, -) -.vendorId(vendorId) -.businessId(businessId) -.location(location) -.status(status) -.startDate(startDate) -.endDate(endDate) -.total(total) -.eventName(eventName) -.assignedStaff(assignedStaff) -.shifts(shifts) -.requested(requested) -.hub(hub) -.recurringDays(recurringDays) -.permanentDays(permanentDays) -.notes(notes) -.detectedConflicts(detectedConflicts) -.poReference(poReference) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateOrder( - id: id, -); -updateOrderData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateOrder( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteOrder -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteOrder( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteOrder( - id: id, -); -deleteOrderData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteOrder( - id: id, -).ref(); -ref.execute(); -``` - - -### createStaffDocument -#### Required Arguments -```dart -String staffId = ...; -String staffName = ...; -String documentId = ...; -DocumentStatus status = ...; -ExampleConnector.instance.createStaffDocument( - staffId: staffId, - staffName: staffName, - documentId: documentId, - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createStaffDocument, we created `createStaffDocumentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateStaffDocumentVariablesBuilder { - ... - CreateStaffDocumentVariablesBuilder documentUrl(String? t) { - _documentUrl.value = t; - return this; - } - CreateStaffDocumentVariablesBuilder expiryDate(Timestamp? t) { - _expiryDate.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createStaffDocument( - staffId: staffId, - staffName: staffName, - documentId: documentId, - status: status, -) -.documentUrl(documentUrl) -.expiryDate(expiryDate) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createStaffDocument( - staffId: staffId, - staffName: staffName, - documentId: documentId, - status: status, -); -createStaffDocumentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String staffName = ...; -String documentId = ...; -DocumentStatus status = ...; - -final ref = ExampleConnector.instance.createStaffDocument( - staffId: staffId, - staffName: staffName, - documentId: documentId, - status: status, -).ref(); -ref.execute(); -``` - - -### updateStaffDocument -#### Required Arguments -```dart -String staffId = ...; -String documentId = ...; -ExampleConnector.instance.updateStaffDocument( - staffId: staffId, - documentId: documentId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateStaffDocument, we created `updateStaffDocumentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateStaffDocumentVariablesBuilder { - ... - UpdateStaffDocumentVariablesBuilder status(DocumentStatus? t) { - _status.value = t; - return this; - } - UpdateStaffDocumentVariablesBuilder documentUrl(String? t) { - _documentUrl.value = t; - return this; - } - UpdateStaffDocumentVariablesBuilder expiryDate(Timestamp? t) { - _expiryDate.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateStaffDocument( - staffId: staffId, - documentId: documentId, -) -.status(status) -.documentUrl(documentUrl) -.expiryDate(expiryDate) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateStaffDocument( - staffId: staffId, - documentId: documentId, -); -updateStaffDocumentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String documentId = ...; - -final ref = ExampleConnector.instance.updateStaffDocument( - staffId: staffId, - documentId: documentId, -).ref(); -ref.execute(); -``` - - -### deleteStaffDocument -#### Required Arguments -```dart -String staffId = ...; -String documentId = ...; -ExampleConnector.instance.deleteStaffDocument( - staffId: staffId, - documentId: documentId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteStaffDocument( - staffId: staffId, - documentId: documentId, -); -deleteStaffDocumentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String documentId = ...; - -final ref = ExampleConnector.instance.deleteStaffDocument( - staffId: staffId, - documentId: documentId, -).ref(); -ref.execute(); -``` - - -### createCourse -#### Required Arguments -```dart -String categoryId = ...; -ExampleConnector.instance.createCourse( - categoryId: categoryId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createCourse, we created `createCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateCourseVariablesBuilder { - ... - - CreateCourseVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - CreateCourseVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateCourseVariablesBuilder thumbnailUrl(String? t) { - _thumbnailUrl.value = t; - return this; - } - CreateCourseVariablesBuilder durationMinutes(int? t) { - _durationMinutes.value = t; - return this; - } - CreateCourseVariablesBuilder xpReward(int? t) { - _xpReward.value = t; - return this; - } - CreateCourseVariablesBuilder levelRequired(String? t) { - _levelRequired.value = t; - return this; - } - CreateCourseVariablesBuilder isCertification(bool? t) { - _isCertification.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createCourse( - categoryId: categoryId, -) -.title(title) -.description(description) -.thumbnailUrl(thumbnailUrl) -.durationMinutes(durationMinutes) -.xpReward(xpReward) -.levelRequired(levelRequired) -.isCertification(isCertification) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createCourse( - categoryId: categoryId, -); -createCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String categoryId = ...; - -final ref = ExampleConnector.instance.createCourse( - categoryId: categoryId, -).ref(); -ref.execute(); -``` - - -### updateCourse -#### Required Arguments -```dart -String id = ...; -String categoryId = ...; -ExampleConnector.instance.updateCourse( - id: id, - categoryId: categoryId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateCourse, we created `updateCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateCourseVariablesBuilder { - ... - UpdateCourseVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateCourseVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateCourseVariablesBuilder thumbnailUrl(String? t) { - _thumbnailUrl.value = t; - return this; - } - UpdateCourseVariablesBuilder durationMinutes(int? t) { - _durationMinutes.value = t; - return this; - } - UpdateCourseVariablesBuilder xpReward(int? t) { - _xpReward.value = t; - return this; - } - UpdateCourseVariablesBuilder levelRequired(String? t) { - _levelRequired.value = t; - return this; - } - UpdateCourseVariablesBuilder isCertification(bool? t) { - _isCertification.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateCourse( - id: id, - categoryId: categoryId, -) -.title(title) -.description(description) -.thumbnailUrl(thumbnailUrl) -.durationMinutes(durationMinutes) -.xpReward(xpReward) -.levelRequired(levelRequired) -.isCertification(isCertification) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateCourse( - id: id, - categoryId: categoryId, -); -updateCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; -String categoryId = ...; - -final ref = ExampleConnector.instance.updateCourse( - id: id, - categoryId: categoryId, -).ref(); -ref.execute(); -``` - - -### deleteCourse -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteCourse( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteCourse( - id: id, -); -deleteCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteCourse( - id: id, -).ref(); -ref.execute(); -``` - - -### createStaffRole -#### Required Arguments -```dart -String staffId = ...; -String roleId = ...; -ExampleConnector.instance.createStaffRole( - staffId: staffId, - roleId: roleId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createStaffRole, we created `createStaffRoleBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateStaffRoleVariablesBuilder { - ... - CreateStaffRoleVariablesBuilder roleType(RoleType? t) { - _roleType.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createStaffRole( - staffId: staffId, - roleId: roleId, -) -.roleType(roleType) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createStaffRole( - staffId: staffId, - roleId: roleId, -); -createStaffRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.createStaffRole( - staffId: staffId, - roleId: roleId, -).ref(); -ref.execute(); -``` - - -### deleteStaffRole -#### Required Arguments -```dart -String staffId = ...; -String roleId = ...; -ExampleConnector.instance.deleteStaffRole( - staffId: staffId, - roleId: roleId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteStaffRole( - staffId: staffId, - roleId: roleId, -); -deleteStaffRoleData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String roleId = ...; - -final ref = ExampleConnector.instance.deleteStaffRole( - staffId: staffId, - roleId: roleId, -).ref(); -ref.execute(); -``` - - -### createUserConversation -#### Required Arguments -```dart -String conversationId = ...; -String userId = ...; -ExampleConnector.instance.createUserConversation( - conversationId: conversationId, - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createUserConversation, we created `createUserConversationBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateUserConversationVariablesBuilder { - ... - CreateUserConversationVariablesBuilder unreadCount(int? t) { - _unreadCount.value = t; - return this; - } - CreateUserConversationVariablesBuilder lastReadAt(Timestamp? t) { - _lastReadAt.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createUserConversation( - conversationId: conversationId, - userId: userId, -) -.unreadCount(unreadCount) -.lastReadAt(lastReadAt) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createUserConversation( - conversationId: conversationId, - userId: userId, -); -createUserConversationData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; -String userId = ...; - -final ref = ExampleConnector.instance.createUserConversation( - conversationId: conversationId, - userId: userId, -).ref(); -ref.execute(); -``` - - -### updateUserConversation -#### Required Arguments -```dart -String conversationId = ...; -String userId = ...; -ExampleConnector.instance.updateUserConversation( - conversationId: conversationId, - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateUserConversation, we created `updateUserConversationBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateUserConversationVariablesBuilder { - ... - UpdateUserConversationVariablesBuilder unreadCount(int? t) { - _unreadCount.value = t; - return this; - } - UpdateUserConversationVariablesBuilder lastReadAt(Timestamp? t) { - _lastReadAt.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateUserConversation( - conversationId: conversationId, - userId: userId, -) -.unreadCount(unreadCount) -.lastReadAt(lastReadAt) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateUserConversation( - conversationId: conversationId, - userId: userId, -); -updateUserConversationData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; -String userId = ...; - -final ref = ExampleConnector.instance.updateUserConversation( - conversationId: conversationId, - userId: userId, -).ref(); -ref.execute(); -``` - - -### markConversationAsRead -#### Required Arguments -```dart -String conversationId = ...; -String userId = ...; -ExampleConnector.instance.markConversationAsRead( - conversationId: conversationId, - userId: userId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For markConversationAsRead, we created `markConversationAsReadBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class MarkConversationAsReadVariablesBuilder { - ... - MarkConversationAsReadVariablesBuilder lastReadAt(Timestamp? t) { - _lastReadAt.value = t; - return this; - } - - ... -} -ExampleConnector.instance.markConversationAsRead( - conversationId: conversationId, - userId: userId, -) -.lastReadAt(lastReadAt) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.markConversationAsRead( - conversationId: conversationId, - userId: userId, -); -markConversationAsReadData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; -String userId = ...; - -final ref = ExampleConnector.instance.markConversationAsRead( - conversationId: conversationId, - userId: userId, -).ref(); -ref.execute(); -``` - - -### incrementUnreadForUser -#### Required Arguments -```dart -String conversationId = ...; -String userId = ...; -int unreadCount = ...; -ExampleConnector.instance.incrementUnreadForUser( - conversationId: conversationId, - userId: userId, - unreadCount: unreadCount, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.incrementUnreadForUser( - conversationId: conversationId, - userId: userId, - unreadCount: unreadCount, -); -incrementUnreadForUserData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; -String userId = ...; -int unreadCount = ...; - -final ref = ExampleConnector.instance.incrementUnreadForUser( - conversationId: conversationId, - userId: userId, - unreadCount: unreadCount, -).ref(); -ref.execute(); -``` - - -### deleteUserConversation -#### Required Arguments -```dart -String conversationId = ...; -String userId = ...; -ExampleConnector.instance.deleteUserConversation( - conversationId: conversationId, - userId: userId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteUserConversation( - conversationId: conversationId, - userId: userId, -); -deleteUserConversationData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String conversationId = ...; -String userId = ...; - -final ref = ExampleConnector.instance.deleteUserConversation( - conversationId: conversationId, - userId: userId, -).ref(); -ref.execute(); -``` - - -### createAccount -#### Required Arguments -```dart -String bank = ...; -AccountType type = ...; -String last4 = ...; -String ownerId = ...; -ExampleConnector.instance.createAccount( - bank: bank, - type: type, - last4: last4, - ownerId: ownerId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createAccount, we created `createAccountBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateAccountVariablesBuilder { - ... - CreateAccountVariablesBuilder isPrimary(bool? t) { - _isPrimary.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createAccount( - bank: bank, - type: type, - last4: last4, - ownerId: ownerId, -) -.isPrimary(isPrimary) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createAccount( - bank: bank, - type: type, - last4: last4, - ownerId: ownerId, -); -createAccountData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String bank = ...; -AccountType type = ...; -String last4 = ...; -String ownerId = ...; - -final ref = ExampleConnector.instance.createAccount( - bank: bank, - type: type, - last4: last4, - ownerId: ownerId, -).ref(); -ref.execute(); -``` - - -### updateAccount -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateAccount( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateAccount, we created `updateAccountBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateAccountVariablesBuilder { - ... - UpdateAccountVariablesBuilder bank(String? t) { - _bank.value = t; - return this; - } - UpdateAccountVariablesBuilder type(AccountType? t) { - _type.value = t; - return this; - } - UpdateAccountVariablesBuilder last4(String? t) { - _last4.value = t; - return this; - } - UpdateAccountVariablesBuilder isPrimary(bool? t) { - _isPrimary.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateAccount( - id: id, -) -.bank(bank) -.type(type) -.last4(last4) -.isPrimary(isPrimary) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateAccount( - id: id, -); -updateAccountData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateAccount( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteAccount -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteAccount( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteAccount( - id: id, -); -deleteAccountData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteAccount( - id: id, -).ref(); -ref.execute(); -``` - - -### createInvoiceTemplate -#### Required Arguments -```dart -String name = ...; -String ownerId = ...; -ExampleConnector.instance.createInvoiceTemplate( - name: name, - ownerId: ownerId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createInvoiceTemplate, we created `createInvoiceTemplateBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateInvoiceTemplateVariablesBuilder { - ... - CreateInvoiceTemplateVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder paymentTerms(InovicePaymentTermsTemp? t) { - _paymentTerms.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder invoiceNumber(String? t) { - _invoiceNumber.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder issueDate(Timestamp? t) { - _issueDate.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder dueDate(Timestamp? t) { - _dueDate.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder managerName(String? t) { + CreateTeamHubVariablesBuilder managerName(String? t) { _managerName.value = t; return this; } - CreateInvoiceTemplateVariablesBuilder vendorNumber(String? t) { - _vendorNumber.value = t; + CreateTeamHubVariablesBuilder isActive(bool? t) { + _isActive.value = t; return this; } - CreateInvoiceTemplateVariablesBuilder roles(AnyValue? t) { - _roles.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder charges(AnyValue? t) { - _charges.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder otherCharges(double? t) { - _otherCharges.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder subtotal(double? t) { - _subtotal.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder amount(double? t) { - _amount.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder staffCount(int? t) { - _staffCount.value = t; - return this; - } - CreateInvoiceTemplateVariablesBuilder chargesCount(int? t) { - _chargesCount.value = t; + CreateTeamHubVariablesBuilder departments(AnyValue? t) { + _departments.value = t; return this; } ... } -ExampleConnector.instance.createInvoiceTemplate( - name: name, - ownerId: ownerId, +ExampleConnector.instance.createTeamHub( + teamId: teamId, + hubName: hubName, + address: address, ) -.vendorId(vendorId) -.businessId(businessId) -.orderId(orderId) -.paymentTerms(paymentTerms) -.invoiceNumber(invoiceNumber) -.issueDate(issueDate) -.dueDate(dueDate) -.hub(hub) +.city(city) +.state(state) +.zipCode(zipCode) .managerName(managerName) -.vendorNumber(vendorNumber) -.roles(roles) -.charges(charges) -.otherCharges(otherCharges) -.subtotal(subtotal) -.amount(amount) -.notes(notes) -.staffCount(staffCount) -.chargesCount(chargesCount) +.isActive(isActive) +.departments(departments) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -19400,11 +21373,223 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.createInvoiceTemplate( - name: name, - ownerId: ownerId, +final result = await ExampleConnector.instance.createTeamHub( + teamId: teamId, + hubName: hubName, + address: address, ); -createInvoiceTemplateData data = result.data; +createTeamHubData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String teamId = ...; +String hubName = ...; +String address = ...; + +final ref = ExampleConnector.instance.createTeamHub( + teamId: teamId, + hubName: hubName, + address: address, +).ref(); +ref.execute(); +``` + + +### updateTeamHub +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateTeamHub( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateTeamHub, we created `updateTeamHubBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateTeamHubVariablesBuilder { + ... + UpdateTeamHubVariablesBuilder hubName(String? t) { + _hubName.value = t; + return this; + } + UpdateTeamHubVariablesBuilder address(String? t) { + _address.value = t; + return this; + } + UpdateTeamHubVariablesBuilder city(String? t) { + _city.value = t; + return this; + } + UpdateTeamHubVariablesBuilder state(String? t) { + _state.value = t; + return this; + } + UpdateTeamHubVariablesBuilder zipCode(String? t) { + _zipCode.value = t; + return this; + } + UpdateTeamHubVariablesBuilder managerName(String? t) { + _managerName.value = t; + return this; + } + UpdateTeamHubVariablesBuilder isActive(bool? t) { + _isActive.value = t; + return this; + } + UpdateTeamHubVariablesBuilder departments(AnyValue? t) { + _departments.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateTeamHub( + id: id, +) +.hubName(hubName) +.address(address) +.city(city) +.state(state) +.zipCode(zipCode) +.managerName(managerName) +.isActive(isActive) +.departments(departments) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateTeamHub( + id: id, +); +updateTeamHubData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateTeamHub( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteTeamHub +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteTeamHub( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteTeamHub( + id: id, +); +deleteTeamHubData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteTeamHub( + id: id, +).ref(); +ref.execute(); +``` + + +### createCustomRateCard +#### Required Arguments +```dart +String name = ...; +ExampleConnector.instance.createCustomRateCard( + name: name, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createCustomRateCard, we created `createCustomRateCardBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateCustomRateCardVariablesBuilder { + ... + CreateCustomRateCardVariablesBuilder baseBook(String? t) { + _baseBook.value = t; + return this; + } + CreateCustomRateCardVariablesBuilder discount(double? t) { + _discount.value = t; + return this; + } + CreateCustomRateCardVariablesBuilder isDefault(bool? t) { + _isDefault.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createCustomRateCard( + name: name, +) +.baseBook(baseBook) +.discount(discount) +.isDefault(isDefault) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createCustomRateCard( + name: name, +); +createCustomRateCardData data = result.data; final ref = result.ref; ``` @@ -19413,142 +21598,476 @@ Each builder returns an `execute` function, which is a helper function that crea An example of how to use the `Ref` object is shown below: ```dart String name = ...; -String ownerId = ...; -final ref = ExampleConnector.instance.createInvoiceTemplate( +final ref = ExampleConnector.instance.createCustomRateCard( name: name, - ownerId: ownerId, ).ref(); ref.execute(); ``` -### updateInvoiceTemplate +### updateCustomRateCard #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.updateInvoiceTemplate( +ExampleConnector.instance.updateCustomRateCard( id: id, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For updateInvoiceTemplate, we created `updateInvoiceTemplateBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For updateCustomRateCard, we created `updateCustomRateCardBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class UpdateInvoiceTemplateVariablesBuilder { +class UpdateCustomRateCardVariablesBuilder { ... - UpdateInvoiceTemplateVariablesBuilder name(String? t) { + UpdateCustomRateCardVariablesBuilder name(String? t) { _name.value = t; return this; } - UpdateInvoiceTemplateVariablesBuilder ownerId(String? t) { - _ownerId.value = t; + UpdateCustomRateCardVariablesBuilder baseBook(String? t) { + _baseBook.value = t; return this; } - UpdateInvoiceTemplateVariablesBuilder vendorId(String? t) { - _vendorId.value = t; + UpdateCustomRateCardVariablesBuilder discount(double? t) { + _discount.value = t; return this; } - UpdateInvoiceTemplateVariablesBuilder businessId(String? t) { - _businessId.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder orderId(String? t) { - _orderId.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder paymentTerms(InovicePaymentTermsTemp? t) { - _paymentTerms.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder invoiceNumber(String? t) { - _invoiceNumber.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder issueDate(Timestamp? t) { - _issueDate.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder dueDate(Timestamp? t) { - _dueDate.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder hub(String? t) { - _hub.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder managerName(String? t) { - _managerName.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder vendorNumber(String? t) { - _vendorNumber.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder roles(AnyValue? t) { - _roles.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder charges(AnyValue? t) { - _charges.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder otherCharges(double? t) { - _otherCharges.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder subtotal(double? t) { - _subtotal.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder amount(double? t) { - _amount.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder staffCount(int? t) { - _staffCount.value = t; - return this; - } - UpdateInvoiceTemplateVariablesBuilder chargesCount(int? t) { - _chargesCount.value = t; + UpdateCustomRateCardVariablesBuilder isDefault(bool? t) { + _isDefault.value = t; return this; } ... } -ExampleConnector.instance.updateInvoiceTemplate( +ExampleConnector.instance.updateCustomRateCard( id: id, ) .name(name) -.ownerId(ownerId) +.baseBook(baseBook) +.discount(discount) +.isDefault(isDefault) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateCustomRateCard( + id: id, +); +updateCustomRateCardData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateCustomRateCard( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteCustomRateCard +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteCustomRateCard( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteCustomRateCard( + id: id, +); +deleteCustomRateCardData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteCustomRateCard( + id: id, +).ref(); +ref.execute(); +``` + + +### createAttireOption +#### Required Arguments +```dart +String itemId = ...; +String label = ...; +ExampleConnector.instance.createAttireOption( + itemId: itemId, + label: label, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createAttireOption, we created `createAttireOptionBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateAttireOptionVariablesBuilder { + ... + CreateAttireOptionVariablesBuilder icon(String? t) { + _icon.value = t; + return this; + } + CreateAttireOptionVariablesBuilder imageUrl(String? t) { + _imageUrl.value = t; + return this; + } + CreateAttireOptionVariablesBuilder isMandatory(bool? t) { + _isMandatory.value = t; + return this; + } + CreateAttireOptionVariablesBuilder vendorId(String? t) { + _vendorId.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createAttireOption( + itemId: itemId, + label: label, +) +.icon(icon) +.imageUrl(imageUrl) +.isMandatory(isMandatory) .vendorId(vendorId) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createAttireOption( + itemId: itemId, + label: label, +); +createAttireOptionData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String itemId = ...; +String label = ...; + +final ref = ExampleConnector.instance.createAttireOption( + itemId: itemId, + label: label, +).ref(); +ref.execute(); +``` + + +### updateAttireOption +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateAttireOption( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateAttireOption, we created `updateAttireOptionBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateAttireOptionVariablesBuilder { + ... + UpdateAttireOptionVariablesBuilder itemId(String? t) { + _itemId.value = t; + return this; + } + UpdateAttireOptionVariablesBuilder label(String? t) { + _label.value = t; + return this; + } + UpdateAttireOptionVariablesBuilder icon(String? t) { + _icon.value = t; + return this; + } + UpdateAttireOptionVariablesBuilder imageUrl(String? t) { + _imageUrl.value = t; + return this; + } + UpdateAttireOptionVariablesBuilder isMandatory(bool? t) { + _isMandatory.value = t; + return this; + } + UpdateAttireOptionVariablesBuilder vendorId(String? t) { + _vendorId.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateAttireOption( + id: id, +) +.itemId(itemId) +.label(label) +.icon(icon) +.imageUrl(imageUrl) +.isMandatory(isMandatory) +.vendorId(vendorId) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateAttireOption( + id: id, +); +updateAttireOptionData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateAttireOption( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteAttireOption +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteAttireOption( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteAttireOption( + id: id, +); +deleteAttireOptionData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteAttireOption( + id: id, +).ref(); +ref.execute(); +``` + + +### createClientFeedback +#### Required Arguments +```dart +String businessId = ...; +String vendorId = ...; +ExampleConnector.instance.createClientFeedback( + businessId: businessId, + vendorId: vendorId, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For createClientFeedback, we created `createClientFeedbackBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class CreateClientFeedbackVariablesBuilder { + ... + CreateClientFeedbackVariablesBuilder rating(int? t) { + _rating.value = t; + return this; + } + CreateClientFeedbackVariablesBuilder comment(String? t) { + _comment.value = t; + return this; + } + CreateClientFeedbackVariablesBuilder date(Timestamp? t) { + _date.value = t; + return this; + } + CreateClientFeedbackVariablesBuilder createdBy(String? t) { + _createdBy.value = t; + return this; + } + + ... +} +ExampleConnector.instance.createClientFeedback( + businessId: businessId, + vendorId: vendorId, +) +.rating(rating) +.comment(comment) +.date(date) +.createdBy(createdBy) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createClientFeedback( + businessId: businessId, + vendorId: vendorId, +); +createClientFeedbackData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String businessId = ...; +String vendorId = ...; + +final ref = ExampleConnector.instance.createClientFeedback( + businessId: businessId, + vendorId: vendorId, +).ref(); +ref.execute(); +``` + + +### updateClientFeedback +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateClientFeedback( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateClientFeedback, we created `updateClientFeedbackBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateClientFeedbackVariablesBuilder { + ... + UpdateClientFeedbackVariablesBuilder businessId(String? t) { + _businessId.value = t; + return this; + } + UpdateClientFeedbackVariablesBuilder vendorId(String? t) { + _vendorId.value = t; + return this; + } + UpdateClientFeedbackVariablesBuilder rating(int? t) { + _rating.value = t; + return this; + } + UpdateClientFeedbackVariablesBuilder comment(String? t) { + _comment.value = t; + return this; + } + UpdateClientFeedbackVariablesBuilder date(Timestamp? t) { + _date.value = t; + return this; + } + UpdateClientFeedbackVariablesBuilder createdBy(String? t) { + _createdBy.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateClientFeedback( + id: id, +) .businessId(businessId) -.orderId(orderId) -.paymentTerms(paymentTerms) -.invoiceNumber(invoiceNumber) -.issueDate(issueDate) -.dueDate(dueDate) -.hub(hub) -.managerName(managerName) -.vendorNumber(vendorNumber) -.roles(roles) -.charges(charges) -.otherCharges(otherCharges) -.subtotal(subtotal) -.amount(amount) -.notes(notes) -.staffCount(staffCount) -.chargesCount(chargesCount) +.vendorId(vendorId) +.rating(rating) +.comment(comment) +.date(date) +.createdBy(createdBy) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -19558,10 +22077,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.updateInvoiceTemplate( +final result = await ExampleConnector.instance.updateClientFeedback( id: id, ); -updateInvoiceTemplateData data = result.data; +updateClientFeedbackData data = result.data; final ref = result.ref; ``` @@ -19571,18 +22090,18 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.updateInvoiceTemplate( +final ref = ExampleConnector.instance.updateClientFeedback( id: id, ).ref(); ref.execute(); ``` -### deleteInvoiceTemplate +### deleteClientFeedback #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.deleteInvoiceTemplate( +ExampleConnector.instance.deleteClientFeedback( id: id, ).execute(); ``` @@ -19590,7 +22109,7 @@ ExampleConnector.instance.deleteInvoiceTemplate( #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -19600,10 +22119,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.deleteInvoiceTemplate( +final result = await ExampleConnector.instance.deleteClientFeedback( id: id, ); -deleteInvoiceTemplateData data = result.data; +deleteClientFeedbackData data = result.data; final ref = result.ref; ``` @@ -19613,144 +22132,71 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.deleteInvoiceTemplate( +final ref = ExampleConnector.instance.deleteClientFeedback( id: id, ).ref(); ref.execute(); ``` -### createMemberTask +### createConversation #### Required Arguments ```dart -String teamMemberId = ...; -String taskId = ...; -ExampleConnector.instance.createMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -); -createMemberTaskData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamMemberId = ...; -String taskId = ...; - -final ref = ExampleConnector.instance.createMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -).ref(); -ref.execute(); -``` - - -### deleteMemberTask -#### Required Arguments -```dart -String teamMemberId = ...; -String taskId = ...; -ExampleConnector.instance.deleteMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -); -deleteMemberTaskData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamMemberId = ...; -String taskId = ...; - -final ref = ExampleConnector.instance.deleteMemberTask( - teamMemberId: teamMemberId, - taskId: taskId, -).ref(); -ref.execute(); -``` - - -### createMessage -#### Required Arguments -```dart -String conversationId = ...; -String senderId = ...; -String content = ...; -ExampleConnector.instance.createMessage( - conversationId: conversationId, - senderId: senderId, - content: content, -).execute(); +// No required arguments +ExampleConnector.instance.createConversation().execute(); ``` #### Optional Arguments -We return a builder for each query. For createMessage, we created `createMessageBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For createConversation, we created `createConversationBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class CreateMessageVariablesBuilder { +class CreateConversationVariablesBuilder { ... - CreateMessageVariablesBuilder isSystem(bool? t) { - _isSystem.value = t; + + CreateConversationVariablesBuilder subject(String? t) { + _subject.value = t; + return this; + } + CreateConversationVariablesBuilder status(ConversationStatus? t) { + _status.value = t; + return this; + } + CreateConversationVariablesBuilder conversationType(ConversationType? t) { + _conversationType.value = t; + return this; + } + CreateConversationVariablesBuilder isGroup(bool? t) { + _isGroup.value = t; + return this; + } + CreateConversationVariablesBuilder groupName(String? t) { + _groupName.value = t; + return this; + } + CreateConversationVariablesBuilder lastMessage(String? t) { + _lastMessage.value = t; + return this; + } + CreateConversationVariablesBuilder lastMessageAt(Timestamp? t) { + _lastMessageAt.value = t; return this; } ... } -ExampleConnector.instance.createMessage( - conversationId: conversationId, - senderId: senderId, - content: content, -) -.isSystem(isSystem) +ExampleConnector.instance.createConversation() +.subject(subject) +.status(status) +.conversationType(conversationType) +.isGroup(isGroup) +.groupName(groupName) +.lastMessage(lastMessage) +.lastMessageAt(lastMessageAt) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -19760,12 +22206,8 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.createMessage( - conversationId: conversationId, - senderId: senderId, - content: content, -); -createMessageData data = result.data; +final result = await ExampleConnector.instance.createConversation(); +createConversationData data = result.data; final ref = result.ref; ``` @@ -19773,65 +22215,72 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String conversationId = ...; -String senderId = ...; -String content = ...; - -final ref = ExampleConnector.instance.createMessage( - conversationId: conversationId, - senderId: senderId, - content: content, -).ref(); +final ref = ExampleConnector.instance.createConversation().ref(); ref.execute(); ``` -### updateMessage +### updateConversation #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.updateMessage( +ExampleConnector.instance.updateConversation( id: id, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For updateMessage, we created `updateMessageBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For updateConversation, we created `updateConversationBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class UpdateMessageVariablesBuilder { +class UpdateConversationVariablesBuilder { ... - UpdateMessageVariablesBuilder conversationId(String? t) { - _conversationId.value = t; + UpdateConversationVariablesBuilder subject(String? t) { + _subject.value = t; return this; } - UpdateMessageVariablesBuilder senderId(String? t) { - _senderId.value = t; + UpdateConversationVariablesBuilder status(ConversationStatus? t) { + _status.value = t; return this; } - UpdateMessageVariablesBuilder content(String? t) { - _content.value = t; + UpdateConversationVariablesBuilder conversationType(ConversationType? t) { + _conversationType.value = t; return this; } - UpdateMessageVariablesBuilder isSystem(bool? t) { - _isSystem.value = t; + UpdateConversationVariablesBuilder isGroup(bool? t) { + _isGroup.value = t; + return this; + } + UpdateConversationVariablesBuilder groupName(String? t) { + _groupName.value = t; + return this; + } + UpdateConversationVariablesBuilder lastMessage(String? t) { + _lastMessage.value = t; + return this; + } + UpdateConversationVariablesBuilder lastMessageAt(Timestamp? t) { + _lastMessageAt.value = t; return this; } ... } -ExampleConnector.instance.updateMessage( +ExampleConnector.instance.updateConversation( id: id, ) -.conversationId(conversationId) -.senderId(senderId) -.content(content) -.isSystem(isSystem) +.subject(subject) +.status(status) +.conversationType(conversationType) +.isGroup(isGroup) +.groupName(groupName) +.lastMessage(lastMessage) +.lastMessageAt(lastMessageAt) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -19841,10 +22290,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.updateMessage( +final result = await ExampleConnector.instance.updateConversation( id: id, ); -updateMessageData data = result.data; +updateConversationData data = result.data; final ref = result.ref; ``` @@ -19854,18 +22303,83 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.updateMessage( +final ref = ExampleConnector.instance.updateConversation( id: id, ).ref(); ref.execute(); ``` -### deleteMessage +### updateConversationLastMessage #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.deleteMessage( +ExampleConnector.instance.updateConversationLastMessage( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateConversationLastMessage, we created `updateConversationLastMessageBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateConversationLastMessageVariablesBuilder { + ... + UpdateConversationLastMessageVariablesBuilder lastMessage(String? t) { + _lastMessage.value = t; + return this; + } + UpdateConversationLastMessageVariablesBuilder lastMessageAt(Timestamp? t) { + _lastMessageAt.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateConversationLastMessage( + id: id, +) +.lastMessage(lastMessage) +.lastMessageAt(lastMessageAt) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateConversationLastMessage( + id: id, +); +updateConversationLastMessageData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateConversationLastMessage( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteConversation +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteConversation( id: id, ).execute(); ``` @@ -19873,7 +22387,7 @@ ExampleConnector.instance.deleteMessage( #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -19883,10 +22397,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.deleteMessage( +final result = await ExampleConnector.instance.deleteConversation( id: id, ); -deleteMessageData data = result.data; +deleteConversationData data = result.data; final ref = result.ref; ``` @@ -19896,7 +22410,176 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.deleteMessage( +final ref = ExampleConnector.instance.deleteConversation( + id: id, +).ref(); +ref.execute(); +``` + + +### createEmergencyContact +#### Required Arguments +```dart +String name = ...; +String phone = ...; +RelationshipType relationship = ...; +String staffId = ...; +ExampleConnector.instance.createEmergencyContact( + name: name, + phone: phone, + relationship: relationship, + staffId: staffId, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.createEmergencyContact( + name: name, + phone: phone, + relationship: relationship, + staffId: staffId, +); +createEmergencyContactData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String name = ...; +String phone = ...; +RelationshipType relationship = ...; +String staffId = ...; + +final ref = ExampleConnector.instance.createEmergencyContact( + name: name, + phone: phone, + relationship: relationship, + staffId: staffId, +).ref(); +ref.execute(); +``` + + +### updateEmergencyContact +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.updateEmergencyContact( + id: id, +).execute(); +``` + +#### Optional Arguments +We return a builder for each query. For updateEmergencyContact, we created `updateEmergencyContactBuilder`. For queries and mutations with optional parameters, we return a builder class. +The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: +```dart +class UpdateEmergencyContactVariablesBuilder { + ... + UpdateEmergencyContactVariablesBuilder name(String? t) { + _name.value = t; + return this; + } + UpdateEmergencyContactVariablesBuilder phone(String? t) { + _phone.value = t; + return this; + } + UpdateEmergencyContactVariablesBuilder relationship(RelationshipType? t) { + _relationship.value = t; + return this; + } + + ... +} +ExampleConnector.instance.updateEmergencyContact( + id: id, +) +.name(name) +.phone(phone) +.relationship(relationship) +.execute(); +``` + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.updateEmergencyContact( + id: id, +); +updateEmergencyContactData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.updateEmergencyContact( + id: id, +).ref(); +ref.execute(); +``` + + +### deleteEmergencyContact +#### Required Arguments +```dart +String id = ...; +ExampleConnector.instance.deleteEmergencyContact( + id: id, +).execute(); +``` + + + +#### Return Type +`execute()` returns a `OperationResult` +```dart +/// Result of an Operation Request (query/mutation). +class OperationResult { + OperationResult(this.dataConnect, this.data, this.ref); + Data data; + OperationRef ref; + FirebaseDataConnect dataConnect; +} + +final result = await ExampleConnector.instance.deleteEmergencyContact( + id: id, +); +deleteEmergencyContactData data = result.data; +final ref = result.ref; +``` + +#### Getting the Ref +Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. +An example of how to use the `Ref` object is shown below: +```dart +String id = ...; + +final ref = ExampleConnector.instance.deleteEmergencyContact( id: id, ).ref(); ref.execute(); @@ -20248,312 +22931,21 @@ ref.execute(); ``` -### createHub +### createMemberTask #### Required Arguments ```dart -String name = ...; -String ownerId = ...; -ExampleConnector.instance.createHub( - name: name, - ownerId: ownerId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createHub, we created `createHubBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateHubVariablesBuilder { - ... - CreateHubVariablesBuilder locationName(String? t) { - _locationName.value = t; - return this; - } - CreateHubVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - CreateHubVariablesBuilder nfcTagId(String? t) { - _nfcTagId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createHub( - name: name, - ownerId: ownerId, -) -.locationName(locationName) -.address(address) -.nfcTagId(nfcTagId) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createHub( - name: name, - ownerId: ownerId, -); -createHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; -String ownerId = ...; - -final ref = ExampleConnector.instance.createHub( - name: name, - ownerId: ownerId, -).ref(); -ref.execute(); -``` - - -### updateHub -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateHub( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateHub, we created `updateHubBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateHubVariablesBuilder { - ... - UpdateHubVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateHubVariablesBuilder locationName(String? t) { - _locationName.value = t; - return this; - } - UpdateHubVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - UpdateHubVariablesBuilder nfcTagId(String? t) { - _nfcTagId.value = t; - return this; - } - UpdateHubVariablesBuilder ownerId(String? t) { - _ownerId.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateHub( - id: id, -) -.name(name) -.locationName(locationName) -.address(address) -.nfcTagId(nfcTagId) -.ownerId(ownerId) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateHub( - id: id, -); -updateHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateHub( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteHub -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteHub( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteHub( - id: id, -); -deleteHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteHub( - id: id, -).ref(); -ref.execute(); -``` - - -### createTaskComment -#### Required Arguments -```dart -String taskId = ...; String teamMemberId = ...; -String comment = ...; -ExampleConnector.instance.createTaskComment( - taskId: taskId, - teamMemberId: teamMemberId, - comment: comment, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTaskComment, we created `createTaskCommentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTaskCommentVariablesBuilder { - ... - CreateTaskCommentVariablesBuilder isSystem(bool? t) { - _isSystem.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTaskComment( - taskId: taskId, - teamMemberId: teamMemberId, - comment: comment, -) -.isSystem(isSystem) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTaskComment( - taskId: taskId, - teamMemberId: teamMemberId, - comment: comment, -); -createTaskCommentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart String taskId = ...; -String teamMemberId = ...; -String comment = ...; - -final ref = ExampleConnector.instance.createTaskComment( - taskId: taskId, +ExampleConnector.instance.createMemberTask( teamMemberId: teamMemberId, - comment: comment, -).ref(); -ref.execute(); -``` - - -### updateTaskComment -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTaskComment( - id: id, + taskId: taskId, ).execute(); ``` -#### Optional Arguments -We return a builder for each query. For updateTaskComment, we created `updateTaskCommentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTaskCommentVariablesBuilder { - ... - UpdateTaskCommentVariablesBuilder comment(String? t) { - _comment.value = t; - return this; - } - UpdateTaskCommentVariablesBuilder isSystem(bool? t) { - _isSystem.value = t; - return this; - } - ... -} -ExampleConnector.instance.updateTaskComment( - id: id, -) -.comment(comment) -.isSystem(isSystem) -.execute(); -``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -20563,10 +22955,11 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.updateTaskComment( - id: id, +final result = await ExampleConnector.instance.createMemberTask( + teamMemberId: teamMemberId, + taskId: taskId, ); -updateTaskCommentData data = result.data; +createMemberTaskData data = result.data; final ref = result.ref; ``` @@ -20574,28 +22967,32 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String id = ...; +String teamMemberId = ...; +String taskId = ...; -final ref = ExampleConnector.instance.updateTaskComment( - id: id, +final ref = ExampleConnector.instance.createMemberTask( + teamMemberId: teamMemberId, + taskId: taskId, ).ref(); ref.execute(); ``` -### deleteTaskComment +### deleteMemberTask #### Required Arguments ```dart -String id = ...; -ExampleConnector.instance.deleteTaskComment( - id: id, +String teamMemberId = ...; +String taskId = ...; +ExampleConnector.instance.deleteMemberTask( + teamMemberId: teamMemberId, + taskId: taskId, ).execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -20605,10 +23002,11 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.deleteTaskComment( - id: id, +final result = await ExampleConnector.instance.deleteMemberTask( + teamMemberId: teamMemberId, + taskId: taskId, ); -deleteTaskCommentData data = result.data; +deleteMemberTaskData data = result.data; final ref = result.ref; ``` @@ -20616,1826 +23014,12 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String id = ...; +String teamMemberId = ...; +String taskId = ...; -final ref = ExampleConnector.instance.deleteTaskComment( - id: id, -).ref(); -ref.execute(); -``` - - -### createTeamHub -#### Required Arguments -```dart -String teamId = ...; -String hubName = ...; -String address = ...; -String city = ...; -ExampleConnector.instance.createTeamHub( - teamId: teamId, - hubName: hubName, - address: address, - city: city, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTeamHub, we created `createTeamHubBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTeamHubVariablesBuilder { - ... - CreateTeamHubVariablesBuilder state(String? t) { - _state.value = t; - return this; - } - CreateTeamHubVariablesBuilder zipCode(String? t) { - _zipCode.value = t; - return this; - } - CreateTeamHubVariablesBuilder managerName(String? t) { - _managerName.value = t; - return this; - } - CreateTeamHubVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateTeamHubVariablesBuilder departments(AnyValue? t) { - _departments.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTeamHub( - teamId: teamId, - hubName: hubName, - address: address, - city: city, -) -.state(state) -.zipCode(zipCode) -.managerName(managerName) -.isActive(isActive) -.departments(departments) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createTeamHub( - teamId: teamId, - hubName: hubName, - address: address, - city: city, -); -createTeamHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String teamId = ...; -String hubName = ...; -String address = ...; -String city = ...; - -final ref = ExampleConnector.instance.createTeamHub( - teamId: teamId, - hubName: hubName, - address: address, - city: city, -).ref(); -ref.execute(); -``` - - -### updateTeamHub -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTeamHub( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTeamHub, we created `updateTeamHubBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTeamHubVariablesBuilder { - ... - UpdateTeamHubVariablesBuilder hubName(String? t) { - _hubName.value = t; - return this; - } - UpdateTeamHubVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - UpdateTeamHubVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - UpdateTeamHubVariablesBuilder state(String? t) { - _state.value = t; - return this; - } - UpdateTeamHubVariablesBuilder zipCode(String? t) { - _zipCode.value = t; - return this; - } - UpdateTeamHubVariablesBuilder managerName(String? t) { - _managerName.value = t; - return this; - } - UpdateTeamHubVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateTeamHubVariablesBuilder departments(AnyValue? t) { - _departments.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTeamHub( - id: id, -) -.hubName(hubName) -.address(address) -.city(city) -.state(state) -.zipCode(zipCode) -.managerName(managerName) -.isActive(isActive) -.departments(departments) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTeamHub( - id: id, -); -updateTeamHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateTeamHub( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteTeamHub -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteTeamHub( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteTeamHub( - id: id, -); -deleteTeamHubData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteTeamHub( - id: id, -).ref(); -ref.execute(); -``` - - -### createVendorRate -#### Required Arguments -```dart -String vendorId = ...; -ExampleConnector.instance.createVendorRate( - vendorId: vendorId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createVendorRate, we created `createVendorRateBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateVendorRateVariablesBuilder { - ... - CreateVendorRateVariablesBuilder roleName(String? t) { - _roleName.value = t; - return this; - } - CreateVendorRateVariablesBuilder category(CategoryType? t) { - _category.value = t; - return this; - } - CreateVendorRateVariablesBuilder clientRate(double? t) { - _clientRate.value = t; - return this; - } - CreateVendorRateVariablesBuilder employeeWage(double? t) { - _employeeWage.value = t; - return this; - } - CreateVendorRateVariablesBuilder markupPercentage(double? t) { - _markupPercentage.value = t; - return this; - } - CreateVendorRateVariablesBuilder vendorFeePercentage(double? t) { - _vendorFeePercentage.value = t; - return this; - } - CreateVendorRateVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateVendorRateVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createVendorRate( - vendorId: vendorId, -) -.roleName(roleName) -.category(category) -.clientRate(clientRate) -.employeeWage(employeeWage) -.markupPercentage(markupPercentage) -.vendorFeePercentage(vendorFeePercentage) -.isActive(isActive) -.notes(notes) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createVendorRate( - vendorId: vendorId, -); -createVendorRateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String vendorId = ...; - -final ref = ExampleConnector.instance.createVendorRate( - vendorId: vendorId, -).ref(); -ref.execute(); -``` - - -### updateVendorRate -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateVendorRate( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateVendorRate, we created `updateVendorRateBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateVendorRateVariablesBuilder { - ... - UpdateVendorRateVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateVendorRateVariablesBuilder roleName(String? t) { - _roleName.value = t; - return this; - } - UpdateVendorRateVariablesBuilder category(CategoryType? t) { - _category.value = t; - return this; - } - UpdateVendorRateVariablesBuilder clientRate(double? t) { - _clientRate.value = t; - return this; - } - UpdateVendorRateVariablesBuilder employeeWage(double? t) { - _employeeWage.value = t; - return this; - } - UpdateVendorRateVariablesBuilder markupPercentage(double? t) { - _markupPercentage.value = t; - return this; - } - UpdateVendorRateVariablesBuilder vendorFeePercentage(double? t) { - _vendorFeePercentage.value = t; - return this; - } - UpdateVendorRateVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateVendorRateVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateVendorRate( - id: id, -) -.vendorId(vendorId) -.roleName(roleName) -.category(category) -.clientRate(clientRate) -.employeeWage(employeeWage) -.markupPercentage(markupPercentage) -.vendorFeePercentage(vendorFeePercentage) -.isActive(isActive) -.notes(notes) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateVendorRate( - id: id, -); -updateVendorRateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateVendorRate( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteVendorRate -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteVendorRate( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteVendorRate( - id: id, -); -deleteVendorRateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteVendorRate( - id: id, -).ref(); -ref.execute(); -``` - - -### createCustomRateCard -#### Required Arguments -```dart -String name = ...; -ExampleConnector.instance.createCustomRateCard( - name: name, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createCustomRateCard, we created `createCustomRateCardBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateCustomRateCardVariablesBuilder { - ... - CreateCustomRateCardVariablesBuilder baseBook(String? t) { - _baseBook.value = t; - return this; - } - CreateCustomRateCardVariablesBuilder discount(double? t) { - _discount.value = t; - return this; - } - CreateCustomRateCardVariablesBuilder isDefault(bool? t) { - _isDefault.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createCustomRateCard( - name: name, -) -.baseBook(baseBook) -.discount(discount) -.isDefault(isDefault) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createCustomRateCard( - name: name, -); -createCustomRateCardData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; - -final ref = ExampleConnector.instance.createCustomRateCard( - name: name, -).ref(); -ref.execute(); -``` - - -### updateCustomRateCard -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateCustomRateCard( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateCustomRateCard, we created `updateCustomRateCardBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateCustomRateCardVariablesBuilder { - ... - UpdateCustomRateCardVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateCustomRateCardVariablesBuilder baseBook(String? t) { - _baseBook.value = t; - return this; - } - UpdateCustomRateCardVariablesBuilder discount(double? t) { - _discount.value = t; - return this; - } - UpdateCustomRateCardVariablesBuilder isDefault(bool? t) { - _isDefault.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateCustomRateCard( - id: id, -) -.name(name) -.baseBook(baseBook) -.discount(discount) -.isDefault(isDefault) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateCustomRateCard( - id: id, -); -updateCustomRateCardData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateCustomRateCard( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteCustomRateCard -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteCustomRateCard( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteCustomRateCard( - id: id, -); -deleteCustomRateCardData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteCustomRateCard( - id: id, -).ref(); -ref.execute(); -``` - - -### createStaffCourse -#### Required Arguments -```dart -String staffId = ...; -String courseId = ...; -ExampleConnector.instance.createStaffCourse( - staffId: staffId, - courseId: courseId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createStaffCourse, we created `createStaffCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateStaffCourseVariablesBuilder { - ... - CreateStaffCourseVariablesBuilder progressPercent(int? t) { - _progressPercent.value = t; - return this; - } - CreateStaffCourseVariablesBuilder completed(bool? t) { - _completed.value = t; - return this; - } - CreateStaffCourseVariablesBuilder completedAt(Timestamp? t) { - _completedAt.value = t; - return this; - } - CreateStaffCourseVariablesBuilder startedAt(Timestamp? t) { - _startedAt.value = t; - return this; - } - CreateStaffCourseVariablesBuilder lastAccessedAt(Timestamp? t) { - _lastAccessedAt.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createStaffCourse( - staffId: staffId, - courseId: courseId, -) -.progressPercent(progressPercent) -.completed(completed) -.completedAt(completedAt) -.startedAt(startedAt) -.lastAccessedAt(lastAccessedAt) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createStaffCourse( - staffId: staffId, - courseId: courseId, -); -createStaffCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -String courseId = ...; - -final ref = ExampleConnector.instance.createStaffCourse( - staffId: staffId, - courseId: courseId, -).ref(); -ref.execute(); -``` - - -### updateStaffCourse -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateStaffCourse( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateStaffCourse, we created `updateStaffCourseBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateStaffCourseVariablesBuilder { - ... - UpdateStaffCourseVariablesBuilder progressPercent(int? t) { - _progressPercent.value = t; - return this; - } - UpdateStaffCourseVariablesBuilder completed(bool? t) { - _completed.value = t; - return this; - } - UpdateStaffCourseVariablesBuilder completedAt(Timestamp? t) { - _completedAt.value = t; - return this; - } - UpdateStaffCourseVariablesBuilder startedAt(Timestamp? t) { - _startedAt.value = t; - return this; - } - UpdateStaffCourseVariablesBuilder lastAccessedAt(Timestamp? t) { - _lastAccessedAt.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateStaffCourse( - id: id, -) -.progressPercent(progressPercent) -.completed(completed) -.completedAt(completedAt) -.startedAt(startedAt) -.lastAccessedAt(lastAccessedAt) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateStaffCourse( - id: id, -); -updateStaffCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateStaffCourse( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteStaffCourse -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteStaffCourse( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteStaffCourse( - id: id, -); -deleteStaffCourseData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteStaffCourse( - id: id, -).ref(); -ref.execute(); -``` - - -### createVendor -#### Required Arguments -```dart -String userId = ...; -String companyName = ...; -ExampleConnector.instance.createVendor( - userId: userId, - companyName: companyName, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createVendor, we created `createVendorBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateVendorVariablesBuilder { - ... - CreateVendorVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateVendorVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - CreateVendorVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - CreateVendorVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - CreateVendorVariablesBuilder billingAddress(String? t) { - _billingAddress.value = t; - return this; - } - CreateVendorVariablesBuilder timezone(String? t) { - _timezone.value = t; - return this; - } - CreateVendorVariablesBuilder legalName(String? t) { - _legalName.value = t; - return this; - } - CreateVendorVariablesBuilder doingBusinessAs(String? t) { - _doingBusinessAs.value = t; - return this; - } - CreateVendorVariablesBuilder region(String? t) { - _region.value = t; - return this; - } - CreateVendorVariablesBuilder state(String? t) { - _state.value = t; - return this; - } - CreateVendorVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - CreateVendorVariablesBuilder serviceSpecialty(String? t) { - _serviceSpecialty.value = t; - return this; - } - CreateVendorVariablesBuilder approvalStatus(ApprovalStatus? t) { - _approvalStatus.value = t; - return this; - } - CreateVendorVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - CreateVendorVariablesBuilder markup(double? t) { - _markup.value = t; - return this; - } - CreateVendorVariablesBuilder fee(double? t) { - _fee.value = t; - return this; - } - CreateVendorVariablesBuilder csat(double? t) { - _csat.value = t; - return this; - } - CreateVendorVariablesBuilder tier(VendorTier? t) { - _tier.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createVendor( - userId: userId, - companyName: companyName, -) -.email(email) -.phone(phone) -.photoUrl(photoUrl) -.address(address) -.billingAddress(billingAddress) -.timezone(timezone) -.legalName(legalName) -.doingBusinessAs(doingBusinessAs) -.region(region) -.state(state) -.city(city) -.serviceSpecialty(serviceSpecialty) -.approvalStatus(approvalStatus) -.isActive(isActive) -.markup(markup) -.fee(fee) -.csat(csat) -.tier(tier) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createVendor( - userId: userId, - companyName: companyName, -); -createVendorData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String userId = ...; -String companyName = ...; - -final ref = ExampleConnector.instance.createVendor( - userId: userId, - companyName: companyName, -).ref(); -ref.execute(); -``` - - -### updateVendor -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateVendor( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateVendor, we created `updateVendorBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateVendorVariablesBuilder { - ... - UpdateVendorVariablesBuilder companyName(String? t) { - _companyName.value = t; - return this; - } - UpdateVendorVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - UpdateVendorVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - UpdateVendorVariablesBuilder photoUrl(String? t) { - _photoUrl.value = t; - return this; - } - UpdateVendorVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - UpdateVendorVariablesBuilder billingAddress(String? t) { - _billingAddress.value = t; - return this; - } - UpdateVendorVariablesBuilder timezone(String? t) { - _timezone.value = t; - return this; - } - UpdateVendorVariablesBuilder legalName(String? t) { - _legalName.value = t; - return this; - } - UpdateVendorVariablesBuilder doingBusinessAs(String? t) { - _doingBusinessAs.value = t; - return this; - } - UpdateVendorVariablesBuilder region(String? t) { - _region.value = t; - return this; - } - UpdateVendorVariablesBuilder state(String? t) { - _state.value = t; - return this; - } - UpdateVendorVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - UpdateVendorVariablesBuilder serviceSpecialty(String? t) { - _serviceSpecialty.value = t; - return this; - } - UpdateVendorVariablesBuilder approvalStatus(ApprovalStatus? t) { - _approvalStatus.value = t; - return this; - } - UpdateVendorVariablesBuilder isActive(bool? t) { - _isActive.value = t; - return this; - } - UpdateVendorVariablesBuilder markup(double? t) { - _markup.value = t; - return this; - } - UpdateVendorVariablesBuilder fee(double? t) { - _fee.value = t; - return this; - } - UpdateVendorVariablesBuilder csat(double? t) { - _csat.value = t; - return this; - } - UpdateVendorVariablesBuilder tier(VendorTier? t) { - _tier.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateVendor( - id: id, -) -.companyName(companyName) -.email(email) -.phone(phone) -.photoUrl(photoUrl) -.address(address) -.billingAddress(billingAddress) -.timezone(timezone) -.legalName(legalName) -.doingBusinessAs(doingBusinessAs) -.region(region) -.state(state) -.city(city) -.serviceSpecialty(serviceSpecialty) -.approvalStatus(approvalStatus) -.isActive(isActive) -.markup(markup) -.fee(fee) -.csat(csat) -.tier(tier) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateVendor( - id: id, -); -updateVendorData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateVendor( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteVendor -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteVendor( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteVendor( - id: id, -); -deleteVendorData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteVendor( - id: id, -).ref(); -ref.execute(); -``` - - -### createDocument -#### Required Arguments -```dart -DocumentType documentType = ...; -String name = ...; -ExampleConnector.instance.createDocument( - documentType: documentType, - name: name, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createDocument, we created `createDocumentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateDocumentVariablesBuilder { - ... - CreateDocumentVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createDocument( - documentType: documentType, - name: name, -) -.description(description) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createDocument( - documentType: documentType, - name: name, -); -createDocumentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -DocumentType documentType = ...; -String name = ...; - -final ref = ExampleConnector.instance.createDocument( - documentType: documentType, - name: name, -).ref(); -ref.execute(); -``` - - -### updateDocument -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateDocument( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateDocument, we created `updateDocumentBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateDocumentVariablesBuilder { - ... - UpdateDocumentVariablesBuilder documentType(DocumentType? t) { - _documentType.value = t; - return this; - } - UpdateDocumentVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateDocumentVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateDocument( - id: id, -) -.documentType(documentType) -.name(name) -.description(description) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateDocument( - id: id, -); -updateDocumentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateDocument( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteDocument -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteDocument( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteDocument( - id: id, -); -deleteDocumentData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteDocument( - id: id, -).ref(); -ref.execute(); -``` - - -### createEmergencyContact -#### Required Arguments -```dart -String name = ...; -String phone = ...; -RelationshipType relationship = ...; -String staffId = ...; -ExampleConnector.instance.createEmergencyContact( - name: name, - phone: phone, - relationship: relationship, - staffId: staffId, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createEmergencyContact( - name: name, - phone: phone, - relationship: relationship, - staffId: staffId, -); -createEmergencyContactData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; -String phone = ...; -RelationshipType relationship = ...; -String staffId = ...; - -final ref = ExampleConnector.instance.createEmergencyContact( - name: name, - phone: phone, - relationship: relationship, - staffId: staffId, -).ref(); -ref.execute(); -``` - - -### updateEmergencyContact -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateEmergencyContact( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateEmergencyContact, we created `updateEmergencyContactBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateEmergencyContactVariablesBuilder { - ... - UpdateEmergencyContactVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateEmergencyContactVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - UpdateEmergencyContactVariablesBuilder relationship(RelationshipType? t) { - _relationship.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateEmergencyContact( - id: id, -) -.name(name) -.phone(phone) -.relationship(relationship) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateEmergencyContact( - id: id, -); -updateEmergencyContactData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateEmergencyContact( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteEmergencyContact -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteEmergencyContact( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteEmergencyContact( - id: id, -); -deleteEmergencyContactData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteEmergencyContact( - id: id, -).ref(); -ref.execute(); -``` - - -### CreateCertificate -#### Required Arguments -```dart -String name = ...; -CertificateStatus status = ...; -String staffId = ...; -ExampleConnector.instance.createCertificate( - name: name, - status: status, - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For CreateCertificate, we created `CreateCertificateBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateCertificateVariablesBuilder { - ... - CreateCertificateVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateCertificateVariablesBuilder expiry(Timestamp? t) { - _expiry.value = t; - return this; - } - CreateCertificateVariablesBuilder fileUrl(String? t) { - _fileUrl.value = t; - return this; - } - CreateCertificateVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - CreateCertificateVariablesBuilder certificationType(ComplianceType? t) { - _certificationType.value = t; - return this; - } - CreateCertificateVariablesBuilder issuer(String? t) { - _issuer.value = t; - return this; - } - CreateCertificateVariablesBuilder validationStatus(ValidationStatus? t) { - _validationStatus.value = t; - return this; - } - CreateCertificateVariablesBuilder certificateNumber(String? t) { - _certificateNumber.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createCertificate( - name: name, - status: status, - staffId: staffId, -) -.description(description) -.expiry(expiry) -.fileUrl(fileUrl) -.icon(icon) -.certificationType(certificationType) -.issuer(issuer) -.validationStatus(validationStatus) -.certificateNumber(certificateNumber) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createCertificate( - name: name, - status: status, - staffId: staffId, -); -CreateCertificateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String name = ...; -CertificateStatus status = ...; -String staffId = ...; - -final ref = ExampleConnector.instance.createCertificate( - name: name, - status: status, - staffId: staffId, -).ref(); -ref.execute(); -``` - - -### UpdateCertificate -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateCertificate( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For UpdateCertificate, we created `UpdateCertificateBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateCertificateVariablesBuilder { - ... - UpdateCertificateVariablesBuilder name(String? t) { - _name.value = t; - return this; - } - UpdateCertificateVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - UpdateCertificateVariablesBuilder expiry(Timestamp? t) { - _expiry.value = t; - return this; - } - UpdateCertificateVariablesBuilder status(CertificateStatus? t) { - _status.value = t; - return this; - } - UpdateCertificateVariablesBuilder fileUrl(String? t) { - _fileUrl.value = t; - return this; - } - UpdateCertificateVariablesBuilder icon(String? t) { - _icon.value = t; - return this; - } - UpdateCertificateVariablesBuilder staffId(String? t) { - _staffId.value = t; - return this; - } - UpdateCertificateVariablesBuilder certificationType(ComplianceType? t) { - _certificationType.value = t; - return this; - } - UpdateCertificateVariablesBuilder issuer(String? t) { - _issuer.value = t; - return this; - } - UpdateCertificateVariablesBuilder validationStatus(ValidationStatus? t) { - _validationStatus.value = t; - return this; - } - UpdateCertificateVariablesBuilder certificateNumber(String? t) { - _certificateNumber.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateCertificate( - id: id, -) -.name(name) -.description(description) -.expiry(expiry) -.status(status) -.fileUrl(fileUrl) -.icon(icon) -.staffId(staffId) -.certificationType(certificationType) -.issuer(issuer) -.validationStatus(validationStatus) -.certificateNumber(certificateNumber) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateCertificate( - id: id, -); -UpdateCertificateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateCertificate( - id: id, -).ref(); -ref.execute(); -``` - - -### DeleteCertificate -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteCertificate( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteCertificate( - id: id, -); -DeleteCertificateData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteCertificate( - id: id, +final ref = ExampleConnector.instance.deleteMemberTask( + teamMemberId: teamMemberId, + taskId: taskId, ).ref(); ref.execute(); ``` @@ -22641,40 +23225,40 @@ ref.execute(); ``` -### createTeamHudDepartment +### createDocument #### Required Arguments ```dart +DocumentType documentType = ...; String name = ...; -String teamHubId = ...; -ExampleConnector.instance.createTeamHudDepartment( +ExampleConnector.instance.createDocument( + documentType: documentType, name: name, - teamHubId: teamHubId, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For createTeamHudDepartment, we created `createTeamHudDepartmentBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For createDocument, we created `createDocumentBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class CreateTeamHudDepartmentVariablesBuilder { +class CreateDocumentVariablesBuilder { ... - CreateTeamHudDepartmentVariablesBuilder costCenter(String? t) { - _costCenter.value = t; + CreateDocumentVariablesBuilder description(String? t) { + _description.value = t; return this; } ... } -ExampleConnector.instance.createTeamHudDepartment( +ExampleConnector.instance.createDocument( + documentType: documentType, name: name, - teamHubId: teamHubId, ) -.costCenter(costCenter) +.description(description) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -22684,11 +23268,11 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.createTeamHudDepartment( +final result = await ExampleConnector.instance.createDocument( + documentType: documentType, name: name, - teamHubId: teamHubId, ); -createTeamHudDepartmentData data = result.data; +createDocumentData data = result.data; final ref = result.ref; ``` @@ -22696,58 +23280,58 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart +DocumentType documentType = ...; String name = ...; -String teamHubId = ...; -final ref = ExampleConnector.instance.createTeamHudDepartment( +final ref = ExampleConnector.instance.createDocument( + documentType: documentType, name: name, - teamHubId: teamHubId, ).ref(); ref.execute(); ``` -### updateTeamHudDepartment +### updateDocument #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.updateTeamHudDepartment( +ExampleConnector.instance.updateDocument( id: id, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For updateTeamHudDepartment, we created `updateTeamHudDepartmentBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For updateDocument, we created `updateDocumentBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class UpdateTeamHudDepartmentVariablesBuilder { +class UpdateDocumentVariablesBuilder { ... - UpdateTeamHudDepartmentVariablesBuilder name(String? t) { + UpdateDocumentVariablesBuilder documentType(DocumentType? t) { + _documentType.value = t; + return this; + } + UpdateDocumentVariablesBuilder name(String? t) { _name.value = t; return this; } - UpdateTeamHudDepartmentVariablesBuilder costCenter(String? t) { - _costCenter.value = t; - return this; - } - UpdateTeamHudDepartmentVariablesBuilder teamHubId(String? t) { - _teamHubId.value = t; + UpdateDocumentVariablesBuilder description(String? t) { + _description.value = t; return this; } ... } -ExampleConnector.instance.updateTeamHudDepartment( +ExampleConnector.instance.updateDocument( id: id, ) +.documentType(documentType) .name(name) -.costCenter(costCenter) -.teamHubId(teamHubId) +.description(description) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -22757,10 +23341,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.updateTeamHudDepartment( +final result = await ExampleConnector.instance.updateDocument( id: id, ); -updateTeamHudDepartmentData data = result.data; +updateDocumentData data = result.data; final ref = result.ref; ``` @@ -22770,18 +23354,18 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.updateTeamHudDepartment( +final ref = ExampleConnector.instance.updateDocument( id: id, ).ref(); ref.execute(); ``` -### deleteTeamHudDepartment +### deleteDocument #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.deleteTeamHudDepartment( +ExampleConnector.instance.deleteDocument( id: id, ).execute(); ``` @@ -22789,7 +23373,7 @@ ExampleConnector.instance.deleteTeamHudDepartment( #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -22799,10 +23383,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.deleteTeamHudDepartment( +final result = await ExampleConnector.instance.deleteDocument( id: id, ); -deleteTeamHudDepartmentData data = result.data; +deleteDocumentData data = result.data; final ref = result.ref; ``` @@ -22812,67 +23396,127 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.deleteTeamHudDepartment( +final ref = ExampleConnector.instance.deleteDocument( id: id, ).ref(); ref.execute(); ``` -### createVendorBenefitPlan +### createShift #### Required Arguments ```dart -String vendorId = ...; String title = ...; -ExampleConnector.instance.createVendorBenefitPlan( - vendorId: vendorId, +String orderId = ...; +ExampleConnector.instance.createShift( title: title, + orderId: orderId, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For createVendorBenefitPlan, we created `createVendorBenefitPlanBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For createShift, we created `createShiftBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class CreateVendorBenefitPlanVariablesBuilder { +class CreateShiftVariablesBuilder { ... - CreateVendorBenefitPlanVariablesBuilder description(String? t) { + CreateShiftVariablesBuilder date(Timestamp? t) { + _date.value = t; + return this; + } + CreateShiftVariablesBuilder startTime(Timestamp? t) { + _startTime.value = t; + return this; + } + CreateShiftVariablesBuilder endTime(Timestamp? t) { + _endTime.value = t; + return this; + } + CreateShiftVariablesBuilder hours(double? t) { + _hours.value = t; + return this; + } + CreateShiftVariablesBuilder cost(double? t) { + _cost.value = t; + return this; + } + CreateShiftVariablesBuilder location(String? t) { + _location.value = t; + return this; + } + CreateShiftVariablesBuilder locationAddress(String? t) { + _locationAddress.value = t; + return this; + } + CreateShiftVariablesBuilder latitude(double? t) { + _latitude.value = t; + return this; + } + CreateShiftVariablesBuilder longitude(double? t) { + _longitude.value = t; + return this; + } + CreateShiftVariablesBuilder description(String? t) { _description.value = t; return this; } - CreateVendorBenefitPlanVariablesBuilder requestLabel(String? t) { - _requestLabel.value = t; + CreateShiftVariablesBuilder status(ShiftStatus? t) { + _status.value = t; return this; } - CreateVendorBenefitPlanVariablesBuilder total(int? t) { - _total.value = t; + CreateShiftVariablesBuilder workersNeeded(int? t) { + _workersNeeded.value = t; return this; } - CreateVendorBenefitPlanVariablesBuilder isActive(bool? t) { - _isActive.value = t; + CreateShiftVariablesBuilder filled(int? t) { + _filled.value = t; return this; } - CreateVendorBenefitPlanVariablesBuilder createdBy(String? t) { + CreateShiftVariablesBuilder filledAt(Timestamp? t) { + _filledAt.value = t; + return this; + } + CreateShiftVariablesBuilder managers(List? t) { + _managers.value = t; + return this; + } + CreateShiftVariablesBuilder durationDays(int? t) { + _durationDays.value = t; + return this; + } + CreateShiftVariablesBuilder createdBy(String? t) { _createdBy.value = t; return this; } ... } -ExampleConnector.instance.createVendorBenefitPlan( - vendorId: vendorId, +ExampleConnector.instance.createShift( title: title, + orderId: orderId, ) +.date(date) +.startTime(startTime) +.endTime(endTime) +.hours(hours) +.cost(cost) +.location(location) +.locationAddress(locationAddress) +.latitude(latitude) +.longitude(longitude) .description(description) -.requestLabel(requestLabel) -.total(total) -.isActive(isActive) +.status(status) +.workersNeeded(workersNeeded) +.filled(filled) +.filledAt(filledAt) +.managers(managers) +.durationDays(durationDays) .createdBy(createdBy) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -22882,11 +23526,11 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.createVendorBenefitPlan( - vendorId: vendorId, +final result = await ExampleConnector.instance.createShift( title: title, + orderId: orderId, ); -createVendorBenefitPlanData data = result.data; +createShiftData data = result.data; final ref = result.ref; ``` @@ -22894,407 +23538,133 @@ final ref = result.ref; Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. An example of how to use the `Ref` object is shown below: ```dart -String vendorId = ...; String title = ...; +String orderId = ...; -final ref = ExampleConnector.instance.createVendorBenefitPlan( - vendorId: vendorId, +final ref = ExampleConnector.instance.createShift( title: title, + orderId: orderId, ).ref(); ref.execute(); ``` -### updateVendorBenefitPlan +### updateShift #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.updateVendorBenefitPlan( +ExampleConnector.instance.updateShift( id: id, ).execute(); ``` #### Optional Arguments -We return a builder for each query. For updateVendorBenefitPlan, we created `updateVendorBenefitPlanBuilder`. For queries and mutations with optional parameters, we return a builder class. +We return a builder for each query. For updateShift, we created `updateShiftBuilder`. For queries and mutations with optional parameters, we return a builder class. The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: ```dart -class UpdateVendorBenefitPlanVariablesBuilder { +class UpdateShiftVariablesBuilder { ... - UpdateVendorBenefitPlanVariablesBuilder vendorId(String? t) { - _vendorId.value = t; - return this; - } - UpdateVendorBenefitPlanVariablesBuilder title(String? t) { + UpdateShiftVariablesBuilder title(String? t) { _title.value = t; return this; } - UpdateVendorBenefitPlanVariablesBuilder description(String? t) { + UpdateShiftVariablesBuilder orderId(String? t) { + _orderId.value = t; + return this; + } + UpdateShiftVariablesBuilder date(Timestamp? t) { + _date.value = t; + return this; + } + UpdateShiftVariablesBuilder startTime(Timestamp? t) { + _startTime.value = t; + return this; + } + UpdateShiftVariablesBuilder endTime(Timestamp? t) { + _endTime.value = t; + return this; + } + UpdateShiftVariablesBuilder hours(double? t) { + _hours.value = t; + return this; + } + UpdateShiftVariablesBuilder cost(double? t) { + _cost.value = t; + return this; + } + UpdateShiftVariablesBuilder location(String? t) { + _location.value = t; + return this; + } + UpdateShiftVariablesBuilder locationAddress(String? t) { + _locationAddress.value = t; + return this; + } + UpdateShiftVariablesBuilder latitude(double? t) { + _latitude.value = t; + return this; + } + UpdateShiftVariablesBuilder longitude(double? t) { + _longitude.value = t; + return this; + } + UpdateShiftVariablesBuilder description(String? t) { _description.value = t; return this; } - UpdateVendorBenefitPlanVariablesBuilder requestLabel(String? t) { - _requestLabel.value = t; + UpdateShiftVariablesBuilder status(ShiftStatus? t) { + _status.value = t; return this; } - UpdateVendorBenefitPlanVariablesBuilder total(int? t) { - _total.value = t; + UpdateShiftVariablesBuilder workersNeeded(int? t) { + _workersNeeded.value = t; return this; } - UpdateVendorBenefitPlanVariablesBuilder isActive(bool? t) { - _isActive.value = t; + UpdateShiftVariablesBuilder filled(int? t) { + _filled.value = t; return this; } - UpdateVendorBenefitPlanVariablesBuilder createdBy(String? t) { - _createdBy.value = t; + UpdateShiftVariablesBuilder filledAt(Timestamp? t) { + _filledAt.value = t; + return this; + } + UpdateShiftVariablesBuilder managers(List? t) { + _managers.value = t; + return this; + } + UpdateShiftVariablesBuilder durationDays(int? t) { + _durationDays.value = t; return this; } ... } -ExampleConnector.instance.updateVendorBenefitPlan( +ExampleConnector.instance.updateShift( id: id, ) -.vendorId(vendorId) .title(title) -.description(description) -.requestLabel(requestLabel) -.total(total) -.isActive(isActive) -.createdBy(createdBy) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateVendorBenefitPlan( - id: id, -); -updateVendorBenefitPlanData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateVendorBenefitPlan( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteVendorBenefitPlan -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteVendorBenefitPlan( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteVendorBenefitPlan( - id: id, -); -deleteVendorBenefitPlanData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteVendorBenefitPlan( - id: id, -).ref(); -ref.execute(); -``` - - -### createStaffAvailability -#### Required Arguments -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; -ExampleConnector.instance.createStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createStaffAvailability, we created `createStaffAvailabilityBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateStaffAvailabilityVariablesBuilder { - ... - CreateStaffAvailabilityVariablesBuilder status(AvailabilityStatus? t) { - _status.value = t; - return this; - } - CreateStaffAvailabilityVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -) -.status(status) -.notes(notes) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -); -createStaffAvailabilityData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; - -final ref = ExampleConnector.instance.createStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).ref(); -ref.execute(); -``` - - -### updateStaffAvailability -#### Required Arguments -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; -ExampleConnector.instance.updateStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateStaffAvailability, we created `updateStaffAvailabilityBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateStaffAvailabilityVariablesBuilder { - ... - UpdateStaffAvailabilityVariablesBuilder status(AvailabilityStatus? t) { - _status.value = t; - return this; - } - UpdateStaffAvailabilityVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -) -.status(status) -.notes(notes) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -); -updateStaffAvailabilityData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; - -final ref = ExampleConnector.instance.updateStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).ref(); -ref.execute(); -``` - - -### deleteStaffAvailability -#### Required Arguments -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; -ExampleConnector.instance.deleteStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -); -deleteStaffAvailabilityData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String staffId = ...; -DayOfWeek day = ...; -AvailabilitySlot slot = ...; - -final ref = ExampleConnector.instance.deleteStaffAvailability( - staffId: staffId, - day: day, - slot: slot, -).ref(); -ref.execute(); -``` - - -### createTaxForm -#### Required Arguments -```dart -TaxFormType formType = ...; -String title = ...; -String staffId = ...; -ExampleConnector.instance.createTaxForm( - formType: formType, - title: title, - staffId: staffId, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createTaxForm, we created `createTaxFormBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateTaxFormVariablesBuilder { - ... - CreateTaxFormVariablesBuilder subtitle(String? t) { - _subtitle.value = t; - return this; - } - CreateTaxFormVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - CreateTaxFormVariablesBuilder status(TaxFormStatus? t) { - _status.value = t; - return this; - } - CreateTaxFormVariablesBuilder formData(AnyValue? t) { - _formData.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createTaxForm( - formType: formType, - title: title, - staffId: staffId, -) -.subtitle(subtitle) +.orderId(orderId) +.date(date) +.startTime(startTime) +.endTime(endTime) +.hours(hours) +.cost(cost) +.location(location) +.locationAddress(locationAddress) +.latitude(latitude) +.longitude(longitude) .description(description) .status(status) -.formData(formData) +.workersNeeded(workersNeeded) +.filled(filled) +.filledAt(filledAt) +.managers(managers) +.durationDays(durationDays) .execute(); ``` #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -23304,96 +23674,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.createTaxForm( - formType: formType, - title: title, - staffId: staffId, -); -createTaxFormData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -TaxFormType formType = ...; -String title = ...; -String staffId = ...; - -final ref = ExampleConnector.instance.createTaxForm( - formType: formType, - title: title, - staffId: staffId, -).ref(); -ref.execute(); -``` - - -### updateTaxForm -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateTaxForm( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateTaxForm, we created `updateTaxFormBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateTaxFormVariablesBuilder { - ... - UpdateTaxFormVariablesBuilder status(TaxFormStatus? t) { - _status.value = t; - return this; - } - UpdateTaxFormVariablesBuilder formData(AnyValue? t) { - _formData.value = t; - return this; - } - UpdateTaxFormVariablesBuilder title(String? t) { - _title.value = t; - return this; - } - UpdateTaxFormVariablesBuilder subtitle(String? t) { - _subtitle.value = t; - return this; - } - UpdateTaxFormVariablesBuilder description(String? t) { - _description.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateTaxForm( - id: id, -) -.status(status) -.formData(formData) -.title(title) -.subtitle(subtitle) -.description(description) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateTaxForm( +final result = await ExampleConnector.instance.updateShift( id: id, ); -updateTaxFormData data = result.data; +updateShiftData data = result.data; final ref = result.ref; ``` @@ -23403,18 +23687,18 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.updateTaxForm( +final ref = ExampleConnector.instance.updateShift( id: id, ).ref(); ref.execute(); ``` -### deleteTaxForm +### deleteShift #### Required Arguments ```dart String id = ...; -ExampleConnector.instance.deleteTaxForm( +ExampleConnector.instance.deleteShift( id: id, ).execute(); ``` @@ -23422,7 +23706,7 @@ ExampleConnector.instance.deleteTaxForm( #### Return Type -`execute()` returns a `OperationResult` +`execute()` returns a `OperationResult` ```dart /// Result of an Operation Request (query/mutation). class OperationResult { @@ -23432,10 +23716,10 @@ class OperationResult { FirebaseDataConnect dataConnect; } -final result = await ExampleConnector.instance.deleteTaxForm( +final result = await ExampleConnector.instance.deleteShift( id: id, ); -deleteTaxFormData data = result.data; +deleteShiftData data = result.data; final ref = result.ref; ``` @@ -23445,292 +23729,7 @@ An example of how to use the `Ref` object is shown below: ```dart String id = ...; -final ref = ExampleConnector.instance.deleteTaxForm( - id: id, -).ref(); -ref.execute(); -``` - - -### createBusiness -#### Required Arguments -```dart -String businessName = ...; -String userId = ...; -BusinessRateGroup rateGroup = ...; -BusinessStatus status = ...; -ExampleConnector.instance.createBusiness( - businessName: businessName, - userId: userId, - rateGroup: rateGroup, - status: status, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For createBusiness, we created `createBusinessBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class CreateBusinessVariablesBuilder { - ... - CreateBusinessVariablesBuilder contactName(String? t) { - _contactName.value = t; - return this; - } - CreateBusinessVariablesBuilder companyLogoUrl(String? t) { - _companyLogoUrl.value = t; - return this; - } - CreateBusinessVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - CreateBusinessVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - CreateBusinessVariablesBuilder hubBuilding(String? t) { - _hubBuilding.value = t; - return this; - } - CreateBusinessVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - CreateBusinessVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - CreateBusinessVariablesBuilder area(BusinessArea? t) { - _area.value = t; - return this; - } - CreateBusinessVariablesBuilder sector(BusinessSector? t) { - _sector.value = t; - return this; - } - CreateBusinessVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - ... -} -ExampleConnector.instance.createBusiness( - businessName: businessName, - userId: userId, - rateGroup: rateGroup, - status: status, -) -.contactName(contactName) -.companyLogoUrl(companyLogoUrl) -.phone(phone) -.email(email) -.hubBuilding(hubBuilding) -.address(address) -.city(city) -.area(area) -.sector(sector) -.notes(notes) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.createBusiness( - businessName: businessName, - userId: userId, - rateGroup: rateGroup, - status: status, -); -createBusinessData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String businessName = ...; -String userId = ...; -BusinessRateGroup rateGroup = ...; -BusinessStatus status = ...; - -final ref = ExampleConnector.instance.createBusiness( - businessName: businessName, - userId: userId, - rateGroup: rateGroup, - status: status, -).ref(); -ref.execute(); -``` - - -### updateBusiness -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.updateBusiness( - id: id, -).execute(); -``` - -#### Optional Arguments -We return a builder for each query. For updateBusiness, we created `updateBusinessBuilder`. For queries and mutations with optional parameters, we return a builder class. -The builder pattern allows Data Connect to distinguish between fields that haven't been set and fields that have been set to null. A field can be set by calling its respective setter method like below: -```dart -class UpdateBusinessVariablesBuilder { - ... - UpdateBusinessVariablesBuilder businessName(String? t) { - _businessName.value = t; - return this; - } - UpdateBusinessVariablesBuilder contactName(String? t) { - _contactName.value = t; - return this; - } - UpdateBusinessVariablesBuilder companyLogoUrl(String? t) { - _companyLogoUrl.value = t; - return this; - } - UpdateBusinessVariablesBuilder phone(String? t) { - _phone.value = t; - return this; - } - UpdateBusinessVariablesBuilder email(String? t) { - _email.value = t; - return this; - } - UpdateBusinessVariablesBuilder hubBuilding(String? t) { - _hubBuilding.value = t; - return this; - } - UpdateBusinessVariablesBuilder address(String? t) { - _address.value = t; - return this; - } - UpdateBusinessVariablesBuilder city(String? t) { - _city.value = t; - return this; - } - UpdateBusinessVariablesBuilder area(BusinessArea? t) { - _area.value = t; - return this; - } - UpdateBusinessVariablesBuilder sector(BusinessSector? t) { - _sector.value = t; - return this; - } - UpdateBusinessVariablesBuilder rateGroup(BusinessRateGroup? t) { - _rateGroup.value = t; - return this; - } - UpdateBusinessVariablesBuilder status(BusinessStatus? t) { - _status.value = t; - return this; - } - UpdateBusinessVariablesBuilder notes(String? t) { - _notes.value = t; - return this; - } - - ... -} -ExampleConnector.instance.updateBusiness( - id: id, -) -.businessName(businessName) -.contactName(contactName) -.companyLogoUrl(companyLogoUrl) -.phone(phone) -.email(email) -.hubBuilding(hubBuilding) -.address(address) -.city(city) -.area(area) -.sector(sector) -.rateGroup(rateGroup) -.status(status) -.notes(notes) -.execute(); -``` - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.updateBusiness( - id: id, -); -updateBusinessData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.updateBusiness( - id: id, -).ref(); -ref.execute(); -``` - - -### deleteBusiness -#### Required Arguments -```dart -String id = ...; -ExampleConnector.instance.deleteBusiness( - id: id, -).execute(); -``` - - - -#### Return Type -`execute()` returns a `OperationResult` -```dart -/// Result of an Operation Request (query/mutation). -class OperationResult { - OperationResult(this.dataConnect, this.data, this.ref); - Data data; - OperationRef ref; - FirebaseDataConnect dataConnect; -} - -final result = await ExampleConnector.instance.deleteBusiness( - id: id, -); -deleteBusinessData data = result.data; -final ref = result.ref; -``` - -#### Getting the Ref -Each builder returns an `execute` function, which is a helper function that creates a `Ref` object, and executes the underlying operation. -An example of how to use the `Ref` object is shown below: -```dart -String id = ...; - -final ref = ExampleConnector.instance.deleteBusiness( +final ref = ExampleConnector.instance.deleteShift( id: id, ).ref(); ref.execute(); diff --git a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/create_team_hub.dart b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/create_team_hub.dart index 5cf2fab7..c7d51d5b 100644 --- a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/create_team_hub.dart +++ b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/create_team_hub.dart @@ -4,14 +4,18 @@ class CreateTeamHubVariablesBuilder { String teamId; String hubName; String address; - String city; + Optional _city = Optional.optional(nativeFromJson, nativeToJson); Optional _state = Optional.optional(nativeFromJson, nativeToJson); Optional _zipCode = Optional.optional(nativeFromJson, nativeToJson); Optional _managerName = Optional.optional(nativeFromJson, nativeToJson); Optional _isActive = Optional.optional(nativeFromJson, nativeToJson); Optional _departments = Optional.optional(AnyValue.fromJson, defaultSerializer); - final FirebaseDataConnect _dataConnect; CreateTeamHubVariablesBuilder state(String? t) { + final FirebaseDataConnect _dataConnect; CreateTeamHubVariablesBuilder city(String? t) { + _city.value = t; + return this; + } + CreateTeamHubVariablesBuilder state(String? t) { _state.value = t; return this; } @@ -32,7 +36,7 @@ class CreateTeamHubVariablesBuilder { return this; } - CreateTeamHubVariablesBuilder(this._dataConnect, {required this.teamId,required this.hubName,required this.address,required this.city,}); + CreateTeamHubVariablesBuilder(this._dataConnect, {required this.teamId,required this.hubName,required this.address,}); Deserializer dataDeserializer = (dynamic json) => CreateTeamHubData.fromJson(jsonDecode(json)); Serializer varsSerializer = (CreateTeamHubVariables vars) => jsonEncode(vars.toJson()); Future> execute() { @@ -40,7 +44,7 @@ class CreateTeamHubVariablesBuilder { } MutationRef ref() { - CreateTeamHubVariables vars= CreateTeamHubVariables(teamId: teamId,hubName: hubName,address: address,city: city,state: _state,zipCode: _zipCode,managerName: _managerName,isActive: _isActive,departments: _departments,); + CreateTeamHubVariables vars= CreateTeamHubVariables(teamId: teamId,hubName: hubName,address: address,city: _city,state: _state,zipCode: _zipCode,managerName: _managerName,isActive: _isActive,departments: _departments,); return _dataConnect.mutation("createTeamHub", dataDeserializer, varsSerializer, vars); } } @@ -118,7 +122,7 @@ class CreateTeamHubVariables { final String teamId; final String hubName; final String address; - final String city; + late final Optionalcity; late final Optionalstate; late final OptionalzipCode; late final OptionalmanagerName; @@ -129,13 +133,15 @@ class CreateTeamHubVariables { teamId = nativeFromJson(json['teamId']), hubName = nativeFromJson(json['hubName']), - address = nativeFromJson(json['address']), - city = nativeFromJson(json['city']) { + address = nativeFromJson(json['address']) { + city = Optional.optional(nativeFromJson, nativeToJson); + city.value = json['city'] == null ? null : nativeFromJson(json['city']); + state = Optional.optional(nativeFromJson, nativeToJson); state.value = json['state'] == null ? null : nativeFromJson(json['state']); @@ -187,7 +193,9 @@ class CreateTeamHubVariables { json['teamId'] = nativeToJson(teamId); json['hubName'] = nativeToJson(hubName); json['address'] = nativeToJson(address); - json['city'] = nativeToJson(city); + if(city.state == OptionalState.set) { + json['city'] = city.toJson(); + } if(state.state == OptionalState.set) { json['state'] = state.toJson(); } diff --git a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/generated.dart b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/generated.dart index 90c08cc4..9bdcb702 100644 --- a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/generated.dart +++ b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/generated.dart @@ -4,29 +4,29 @@ import 'package:flutter/foundation.dart'; import 'dart:convert'; import 'package:flutter/foundation.dart'; -part 'create_faq_data.dart'; +part 'create_team_hud_department.dart'; -part 'update_faq_data.dart'; +part 'update_team_hud_department.dart'; -part 'delete_faq_data.dart'; +part 'delete_team_hud_department.dart'; -part 'create_level.dart'; +part 'list_assignments.dart'; -part 'update_level.dart'; +part 'get_assignment_by_id.dart'; -part 'delete_level.dart'; +part 'list_assignments_by_workforce_id.dart'; -part 'list_messages.dart'; +part 'list_assignments_by_workforce_ids.dart'; -part 'get_message_by_id.dart'; +part 'list_assignments_by_shift_role.dart'; -part 'get_messages_by_conversation_id.dart'; +part 'filter_assignments.dart'; -part 'create_role.dart'; +part 'create_certificate.dart'; -part 'update_role.dart'; +part 'update_certificate.dart'; -part 'delete_role.dart'; +part 'delete_certificate.dart'; part 'get_shift_role_by_id.dart'; @@ -38,197 +38,21 @@ part 'list_shift_roles_by_shift_id_and_time_range.dart'; part 'list_shift_roles_by_vendor_id.dart'; -part 'create_application.dart'; +part 'create_vendor_benefit_plan.dart'; -part 'update_application_status.dart'; +part 'update_vendor_benefit_plan.dart'; -part 'delete_application.dart'; +part 'delete_vendor_benefit_plan.dart'; -part 'create_conversation.dart'; +part 'list_vendor_rates.dart'; -part 'update_conversation.dart'; +part 'get_vendor_rate_by_id.dart'; -part 'update_conversation_last_message.dart'; +part 'list_documents.dart'; -part 'delete_conversation.dart'; +part 'get_document_by_id.dart'; -part 'list_invoice_templates.dart'; - -part 'get_invoice_template_by_id.dart'; - -part 'list_invoice_templates_by_owner_id.dart'; - -part 'list_invoice_templates_by_vendor_id.dart'; - -part 'list_invoice_templates_by_business_id.dart'; - -part 'list_invoice_templates_by_order_id.dart'; - -part 'search_invoice_templates_by_owner_and_name.dart'; - -part 'create_assignment.dart'; - -part 'update_assignment.dart'; - -part 'delete_assignment.dart'; - -part 'create_attire_option.dart'; - -part 'update_attire_option.dart'; - -part 'delete_attire_option.dart'; - -part 'list_businesses.dart'; - -part 'get_businesses_by_user_id.dart'; - -part 'get_business_by_id.dart'; - -part 'list_recent_payments.dart'; - -part 'get_recent_payment_by_id.dart'; - -part 'list_recent_payments_by_staff_id.dart'; - -part 'list_recent_payments_by_application_id.dart'; - -part 'list_recent_payments_by_invoice_id.dart'; - -part 'list_recent_payments_by_status.dart'; - -part 'list_recent_payments_by_invoice_ids.dart'; - -part 'list_recent_payments_by_business_id.dart'; - -part 'create_role_category.dart'; - -part 'update_role_category.dart'; - -part 'delete_role_category.dart'; - -part 'create_staff_availability_stats.dart'; - -part 'update_staff_availability_stats.dart'; - -part 'delete_staff_availability_stats.dart'; - -part 'list_team_hud_departments.dart'; - -part 'get_team_hud_department_by_id.dart'; - -part 'list_team_hud_departments_by_team_hub_id.dart'; - -part 'create_user.dart'; - -part 'update_user.dart'; - -part 'delete_user.dart'; - -part 'create_category.dart'; - -part 'update_category.dart'; - -part 'delete_category.dart'; - -part 'create_invoice.dart'; - -part 'update_invoice.dart'; - -part 'delete_invoice.dart'; - -part 'list_staff.dart'; - -part 'get_staff_by_id.dart'; - -part 'get_staff_by_user_id.dart'; - -part 'filter_staff.dart'; - -part 'get_staff_document_by_key.dart'; - -part 'list_staff_documents_by_staff_id.dart'; - -part 'list_staff_documents_by_document_type.dart'; - -part 'list_staff_documents_by_status.dart'; - -part 'list_vendor_benefit_plans.dart'; - -part 'get_vendor_benefit_plan_by_id.dart'; - -part 'list_vendor_benefit_plans_by_vendor_id.dart'; - -part 'list_active_vendor_benefit_plans_by_vendor_id.dart'; - -part 'filter_vendor_benefit_plans.dart'; - -part 'create_workforce.dart'; - -part 'update_workforce.dart'; - -part 'deactivate_workforce.dart'; - -part 'create_client_feedback.dart'; - -part 'update_client_feedback.dart'; - -part 'delete_client_feedback.dart'; - -part 'list_levels.dart'; - -part 'get_level_by_id.dart'; - -part 'filter_levels.dart'; - -part 'create_shift.dart'; - -part 'update_shift.dart'; - -part 'delete_shift.dart'; - -part 'create_shift_role.dart'; - -part 'update_shift_role.dart'; - -part 'delete_shift_role.dart'; - -part 'create_staff.dart'; - -part 'update_staff.dart'; - -part 'delete_staff.dart'; - -part 'create_task.dart'; - -part 'update_task.dart'; - -part 'delete_task.dart'; - -part 'create_team_member.dart'; - -part 'update_team_member.dart'; - -part 'update_team_member_invite_status.dart'; - -part 'accept_invite_by_code.dart'; - -part 'cancel_invite_by_code.dart'; - -part 'delete_team_member.dart'; - -part 'list_accounts.dart'; - -part 'get_account_by_id.dart'; - -part 'get_accounts_by_owner_id.dart'; - -part 'filter_accounts.dart'; - -part 'list_categories.dart'; - -part 'get_category_by_id.dart'; - -part 'filter_categories.dart'; +part 'filter_documents.dart'; part 'list_client_feedbacks.dart'; @@ -244,52 +68,6 @@ part 'filter_client_feedbacks.dart'; part 'list_client_feedback_ratings_by_vendor_id.dart'; -part 'get_my_tasks.dart'; - -part 'get_member_task_by_id_key.dart'; - -part 'get_member_tasks_by_task_id.dart'; - -part 'create_team.dart'; - -part 'update_team.dart'; - -part 'delete_team.dart'; - -part 'create_benefits_data.dart'; - -part 'update_benefits_data.dart'; - -part 'delete_benefits_data.dart'; - -part 'list_faq_datas.dart'; - -part 'get_faq_data_by_id.dart'; - -part 'filter_faq_datas.dart'; - -part 'create_order.dart'; - -part 'update_order.dart'; - -part 'delete_order.dart'; - -part 'create_staff_document.dart'; - -part 'update_staff_document.dart'; - -part 'delete_staff_document.dart'; - -part 'list_applications.dart'; - -part 'get_application_by_id.dart'; - -part 'get_applications_by_shift_id.dart'; - -part 'get_applications_by_shift_id_and_status.dart'; - -part 'get_applications_by_staff_id.dart'; - part 'list_conversations.dart'; part 'get_conversation_by_id.dart'; @@ -300,27 +78,91 @@ part 'list_conversations_by_status.dart'; part 'filter_conversations.dart'; -part 'create_course.dart'; +part 'list_staff.dart'; -part 'update_course.dart'; +part 'get_staff_by_id.dart'; -part 'delete_course.dart'; +part 'get_staff_by_user_id.dart'; -part 'list_invoices.dart'; +part 'filter_staff.dart'; -part 'get_invoice_by_id.dart'; +part 'list_staff_availabilities.dart'; -part 'list_invoices_by_vendor_id.dart'; +part 'list_staff_availabilities_by_staff_id.dart'; -part 'list_invoices_by_business_id.dart'; +part 'get_staff_availability_by_key.dart'; -part 'list_invoices_by_order_id.dart'; +part 'list_staff_availabilities_by_day.dart'; -part 'list_invoices_by_status.dart'; +part 'list_task_comments.dart'; -part 'filter_invoices.dart'; +part 'get_task_comment_by_id.dart'; -part 'list_overdue_invoices.dart'; +part 'get_task_comments_by_task_id.dart'; + +part 'create_user_conversation.dart'; + +part 'update_user_conversation.dart'; + +part 'mark_conversation_as_read.dart'; + +part 'increment_unread_for_user.dart'; + +part 'delete_user_conversation.dart'; + +part 'list_categories.dart'; + +part 'get_category_by_id.dart'; + +part 'filter_categories.dart'; + +part 'create_role.dart'; + +part 'update_role.dart'; + +part 'delete_role.dart'; + +part 'list_staff_availability_stats.dart'; + +part 'get_staff_availability_stats_by_staff_id.dart'; + +part 'filter_staff_availability_stats.dart'; + +part 'create_task.dart'; + +part 'update_task.dart'; + +part 'delete_task.dart'; + +part 'list_attire_options.dart'; + +part 'get_attire_option_by_id.dart'; + +part 'filter_attire_options.dart'; + +part 'create_category.dart'; + +part 'update_category.dart'; + +part 'delete_category.dart'; + +part 'create_invoice_template.dart'; + +part 'update_invoice_template.dart'; + +part 'delete_invoice_template.dart'; + +part 'create_level.dart'; + +part 'update_level.dart'; + +part 'delete_level.dart'; + +part 'create_order.dart'; + +part 'update_order.dart'; + +part 'delete_order.dart'; part 'list_shifts_for_coverage.dart'; @@ -360,6 +202,250 @@ part 'list_applications_for_performance.dart'; part 'list_staff_for_performance.dart'; +part 'list_role_categories.dart'; + +part 'get_role_category_by_id.dart'; + +part 'get_role_categories_by_category.dart'; + +part 'create_staff_role.dart'; + +part 'delete_staff_role.dart'; + +part 'list_faq_datas.dart'; + +part 'get_faq_data_by_id.dart'; + +part 'filter_faq_datas.dart'; + +part 'list_messages.dart'; + +part 'get_message_by_id.dart'; + +part 'get_messages_by_conversation_id.dart'; + +part 'create_tax_form.dart'; + +part 'update_tax_form.dart'; + +part 'delete_tax_form.dart'; + +part 'create_team.dart'; + +part 'update_team.dart'; + +part 'delete_team.dart'; + +part 'list_team_hud_departments.dart'; + +part 'get_team_hud_department_by_id.dart'; + +part 'list_team_hud_departments_by_team_hub_id.dart'; + +part 'create_user.dart'; + +part 'update_user.dart'; + +part 'delete_user.dart'; + +part 'get_vendor_by_id.dart'; + +part 'get_vendor_by_user_id.dart'; + +part 'list_vendors.dart'; + +part 'create_workforce.dart'; + +part 'update_workforce.dart'; + +part 'deactivate_workforce.dart'; + +part 'list_activity_logs.dart'; + +part 'get_activity_log_by_id.dart'; + +part 'list_activity_logs_by_user_id.dart'; + +part 'list_unread_activity_logs_by_user_id.dart'; + +part 'filter_activity_logs.dart'; + +part 'list_applications.dart'; + +part 'get_application_by_id.dart'; + +part 'get_applications_by_shift_id.dart'; + +part 'get_applications_by_shift_id_and_status.dart'; + +part 'get_applications_by_staff_id.dart'; + +part 'create_faq_data.dart'; + +part 'update_faq_data.dart'; + +part 'delete_faq_data.dart'; + +part 'list_shifts.dart'; + +part 'get_shift_by_id.dart'; + +part 'filter_shifts.dart'; + +part 'get_shifts_by_business_id.dart'; + +part 'get_shifts_by_vendor_id.dart'; + +part 'create_staff_course.dart'; + +part 'update_staff_course.dart'; + +part 'delete_staff_course.dart'; + +part 'list_team_members.dart'; + +part 'get_team_member_by_id.dart'; + +part 'get_team_members_by_team_id.dart'; + +part 'list_certificates.dart'; + +part 'get_certificate_by_id.dart'; + +part 'list_certificates_by_staff_id.dart'; + +part 'create_staff_availability_stats.dart'; + +part 'update_staff_availability_stats.dart'; + +part 'delete_staff_availability_stats.dart'; + +part 'get_staff_course_by_id.dart'; + +part 'list_staff_courses_by_staff_id.dart'; + +part 'list_staff_courses_by_course_id.dart'; + +part 'get_staff_course_by_staff_and_course.dart'; + +part 'get_staff_document_by_key.dart'; + +part 'list_staff_documents_by_staff_id.dart'; + +part 'list_staff_documents_by_document_type.dart'; + +part 'list_staff_documents_by_status.dart'; + +part 'create_vendor.dart'; + +part 'update_vendor.dart'; + +part 'delete_vendor.dart'; + +part 'create_application.dart'; + +part 'update_application_status.dart'; + +part 'delete_application.dart'; + +part 'create_course.dart'; + +part 'update_course.dart'; + +part 'delete_course.dart'; + +part 'list_courses.dart'; + +part 'get_course_by_id.dart'; + +part 'filter_courses.dart'; + +part 'create_hub.dart'; + +part 'update_hub.dart'; + +part 'delete_hub.dart'; + +part 'create_vendor_rate.dart'; + +part 'update_vendor_rate.dart'; + +part 'delete_vendor_rate.dart'; + +part 'get_workforce_by_id.dart'; + +part 'get_workforce_by_vendor_and_staff.dart'; + +part 'list_workforce_by_vendor_id.dart'; + +part 'list_workforce_by_staff_id.dart'; + +part 'get_workforce_by_vendor_and_number.dart'; + +part 'list_benefits_data.dart'; + +part 'get_benefits_data_by_key.dart'; + +part 'list_benefits_data_by_staff_id.dart'; + +part 'list_benefits_data_by_vendor_benefit_plan_id.dart'; + +part 'list_benefits_data_by_vendor_benefit_plan_ids.dart'; + +part 'list_businesses.dart'; + +part 'get_businesses_by_user_id.dart'; + +part 'get_business_by_id.dart'; + +part 'list_teams.dart'; + +part 'get_team_by_id.dart'; + +part 'get_teams_by_owner_id.dart'; + +part 'create_team_member.dart'; + +part 'update_team_member.dart'; + +part 'update_team_member_invite_status.dart'; + +part 'accept_invite_by_code.dart'; + +part 'cancel_invite_by_code.dart'; + +part 'delete_team_member.dart'; + +part 'create_shift_role.dart'; + +part 'update_shift_role.dart'; + +part 'delete_shift_role.dart'; + +part 'create_account.dart'; + +part 'update_account.dart'; + +part 'delete_account.dart'; + +part 'create_assignment.dart'; + +part 'update_assignment.dart'; + +part 'delete_assignment.dart'; + +part 'create_benefits_data.dart'; + +part 'update_benefits_data.dart'; + +part 'delete_benefits_data.dart'; + +part 'create_business.dart'; + +part 'update_business.dart'; + +part 'delete_business.dart'; + part 'list_roles.dart'; part 'get_role_by_id.dart'; @@ -368,9 +454,83 @@ part 'list_roles_by_vendor_id.dart'; part 'list_roles_byrole_category_id.dart'; -part 'create_staff_role.dart'; +part 'create_role_category.dart'; -part 'delete_staff_role.dart'; +part 'update_role_category.dart'; + +part 'delete_role_category.dart'; + +part 'create_staff_availability.dart'; + +part 'update_staff_availability.dart'; + +part 'delete_staff_availability.dart'; + +part 'list_accounts.dart'; + +part 'get_account_by_id.dart'; + +part 'get_accounts_by_owner_id.dart'; + +part 'filter_accounts.dart'; + +part 'list_hubs.dart'; + +part 'get_hub_by_id.dart'; + +part 'get_hubs_by_owner_id.dart'; + +part 'filter_hubs.dart'; + +part 'create_invoice.dart'; + +part 'update_invoice.dart'; + +part 'delete_invoice.dart'; + +part 'list_invoices.dart'; + +part 'get_invoice_by_id.dart'; + +part 'list_invoices_by_vendor_id.dart'; + +part 'list_invoices_by_business_id.dart'; + +part 'list_invoices_by_order_id.dart'; + +part 'list_invoices_by_status.dart'; + +part 'filter_invoices.dart'; + +part 'list_overdue_invoices.dart'; + +part 'create_message.dart'; + +part 'update_message.dart'; + +part 'delete_message.dart'; + +part 'list_recent_payments.dart'; + +part 'get_recent_payment_by_id.dart'; + +part 'list_recent_payments_by_staff_id.dart'; + +part 'list_recent_payments_by_application_id.dart'; + +part 'list_recent_payments_by_invoice_id.dart'; + +part 'list_recent_payments_by_status.dart'; + +part 'list_recent_payments_by_invoice_ids.dart'; + +part 'list_recent_payments_by_business_id.dart'; + +part 'create_staff_document.dart'; + +part 'update_staff_document.dart'; + +part 'delete_staff_document.dart'; part 'list_tax_forms.dart'; @@ -380,27 +540,51 @@ part 'get_tax_forms_bystaff_id.dart'; part 'filter_tax_forms.dart'; -part 'list_certificates.dart'; +part 'list_invoice_templates.dart'; -part 'get_certificate_by_id.dart'; +part 'get_invoice_template_by_id.dart'; -part 'list_certificates_by_staff_id.dart'; +part 'list_invoice_templates_by_owner_id.dart'; -part 'list_team_members.dart'; +part 'list_invoice_templates_by_vendor_id.dart'; -part 'get_team_member_by_id.dart'; +part 'list_invoice_templates_by_business_id.dart'; -part 'get_team_members_by_team_id.dart'; +part 'list_invoice_templates_by_order_id.dart'; -part 'create_user_conversation.dart'; +part 'search_invoice_templates_by_owner_and_name.dart'; -part 'update_user_conversation.dart'; +part 'list_levels.dart'; -part 'mark_conversation_as_read.dart'; +part 'get_level_by_id.dart'; -part 'increment_unread_for_user.dart'; +part 'filter_levels.dart'; -part 'delete_user_conversation.dart'; +part 'create_staff.dart'; + +part 'update_staff.dart'; + +part 'delete_staff.dart'; + +part 'create_task_comment.dart'; + +part 'update_task_comment.dart'; + +part 'delete_task_comment.dart'; + +part 'create_team_hub.dart'; + +part 'update_team_hub.dart'; + +part 'delete_team_hub.dart'; + +part 'list_team_hubs.dart'; + +part 'get_team_hub_by_id.dart'; + +part 'get_team_hubs_by_team_id.dart'; + +part 'list_team_hubs_by_owner_id.dart'; part 'list_user_conversations.dart'; @@ -414,79 +598,37 @@ part 'list_user_conversations_by_conversation_id.dart'; part 'filter_user_conversations.dart'; -part 'list_documents.dart'; +part 'create_custom_rate_card.dart'; -part 'get_document_by_id.dart'; +part 'update_custom_rate_card.dart'; -part 'filter_documents.dart'; +part 'delete_custom_rate_card.dart'; -part 'create_account.dart'; +part 'create_attire_option.dart'; -part 'update_account.dart'; +part 'update_attire_option.dart'; -part 'delete_account.dart'; +part 'delete_attire_option.dart'; -part 'create_invoice_template.dart'; +part 'create_client_feedback.dart'; -part 'update_invoice_template.dart'; +part 'update_client_feedback.dart'; -part 'delete_invoice_template.dart'; +part 'delete_client_feedback.dart'; -part 'create_member_task.dart'; +part 'create_conversation.dart'; -part 'delete_member_task.dart'; +part 'update_conversation.dart'; -part 'create_message.dart'; +part 'update_conversation_last_message.dart'; -part 'update_message.dart'; +part 'delete_conversation.dart'; -part 'delete_message.dart'; +part 'create_emergency_contact.dart'; -part 'list_task_comments.dart'; +part 'update_emergency_contact.dart'; -part 'get_task_comment_by_id.dart'; - -part 'get_task_comments_by_task_id.dart'; - -part 'list_teams.dart'; - -part 'get_team_by_id.dart'; - -part 'get_teams_by_owner_id.dart'; - -part 'get_workforce_by_id.dart'; - -part 'get_workforce_by_vendor_and_staff.dart'; - -part 'list_workforce_by_vendor_id.dart'; - -part 'list_workforce_by_staff_id.dart'; - -part 'get_workforce_by_vendor_and_number.dart'; - -part 'create_activity_log.dart'; - -part 'update_activity_log.dart'; - -part 'mark_activity_log_as_read.dart'; - -part 'mark_activity_logs_as_read.dart'; - -part 'delete_activity_log.dart'; - -part 'create_hub.dart'; - -part 'update_hub.dart'; - -part 'delete_hub.dart'; - -part 'list_hubs.dart'; - -part 'get_hub_by_id.dart'; - -part 'get_hubs_by_owner_id.dart'; - -part 'filter_hubs.dart'; +part 'delete_emergency_contact.dart'; part 'list_staff_roles.dart'; @@ -498,13 +640,71 @@ part 'list_staff_roles_by_role_id.dart'; part 'filter_staff_roles.dart'; -part 'list_team_hubs.dart'; +part 'list_tasks.dart'; -part 'get_team_hub_by_id.dart'; +part 'get_task_by_id.dart'; -part 'get_team_hubs_by_team_id.dart'; +part 'get_tasks_by_owner_id.dart'; -part 'list_team_hubs_by_owner_id.dart'; +part 'filter_tasks.dart'; + +part 'list_users.dart'; + +part 'get_user_by_id.dart'; + +part 'filter_users.dart'; + +part 'create_activity_log.dart'; + +part 'update_activity_log.dart'; + +part 'mark_activity_log_as_read.dart'; + +part 'mark_activity_logs_as_read.dart'; + +part 'delete_activity_log.dart'; + +part 'list_emergency_contacts.dart'; + +part 'get_emergency_contact_by_id.dart'; + +part 'get_emergency_contacts_by_staff_id.dart'; + +part 'create_member_task.dart'; + +part 'delete_member_task.dart'; + +part 'create_recent_payment.dart'; + +part 'update_recent_payment.dart'; + +part 'delete_recent_payment.dart'; + +part 'list_vendor_benefit_plans.dart'; + +part 'get_vendor_benefit_plan_by_id.dart'; + +part 'list_vendor_benefit_plans_by_vendor_id.dart'; + +part 'list_active_vendor_benefit_plans_by_vendor_id.dart'; + +part 'filter_vendor_benefit_plans.dart'; + +part 'list_custom_rate_cards.dart'; + +part 'get_custom_rate_card_by_id.dart'; + +part 'create_document.dart'; + +part 'update_document.dart'; + +part 'delete_document.dart'; + +part 'get_my_tasks.dart'; + +part 'get_member_task_by_id_key.dart'; + +part 'get_member_tasks_by_task_id.dart'; part 'list_orders.dart'; @@ -520,211 +720,11 @@ part 'get_orders_by_date_range.dart'; part 'get_rapid_orders.dart'; -part 'list_staff_availability_stats.dart'; +part 'create_shift.dart'; -part 'get_staff_availability_stats_by_staff_id.dart'; +part 'update_shift.dart'; -part 'filter_staff_availability_stats.dart'; - -part 'get_staff_course_by_id.dart'; - -part 'list_staff_courses_by_staff_id.dart'; - -part 'list_staff_courses_by_course_id.dart'; - -part 'get_staff_course_by_staff_and_course.dart'; - -part 'create_task_comment.dart'; - -part 'update_task_comment.dart'; - -part 'delete_task_comment.dart'; - -part 'create_team_hub.dart'; - -part 'update_team_hub.dart'; - -part 'delete_team_hub.dart'; - -part 'create_vendor_rate.dart'; - -part 'update_vendor_rate.dart'; - -part 'delete_vendor_rate.dart'; - -part 'list_assignments.dart'; - -part 'get_assignment_by_id.dart'; - -part 'list_assignments_by_workforce_id.dart'; - -part 'list_assignments_by_workforce_ids.dart'; - -part 'list_assignments_by_shift_role.dart'; - -part 'filter_assignments.dart'; - -part 'list_courses.dart'; - -part 'get_course_by_id.dart'; - -part 'filter_courses.dart'; - -part 'create_custom_rate_card.dart'; - -part 'update_custom_rate_card.dart'; - -part 'delete_custom_rate_card.dart'; - -part 'list_custom_rate_cards.dart'; - -part 'get_custom_rate_card_by_id.dart'; - -part 'list_staff_availabilities.dart'; - -part 'list_staff_availabilities_by_staff_id.dart'; - -part 'get_staff_availability_by_key.dart'; - -part 'list_staff_availabilities_by_day.dart'; - -part 'create_staff_course.dart'; - -part 'update_staff_course.dart'; - -part 'delete_staff_course.dart'; - -part 'list_users.dart'; - -part 'get_user_by_id.dart'; - -part 'filter_users.dart'; - -part 'create_vendor.dart'; - -part 'update_vendor.dart'; - -part 'delete_vendor.dart'; - -part 'create_document.dart'; - -part 'update_document.dart'; - -part 'delete_document.dart'; - -part 'list_activity_logs.dart'; - -part 'get_activity_log_by_id.dart'; - -part 'list_activity_logs_by_user_id.dart'; - -part 'list_unread_activity_logs_by_user_id.dart'; - -part 'filter_activity_logs.dart'; - -part 'list_attire_options.dart'; - -part 'get_attire_option_by_id.dart'; - -part 'filter_attire_options.dart'; - -part 'create_emergency_contact.dart'; - -part 'update_emergency_contact.dart'; - -part 'delete_emergency_contact.dart'; - -part 'list_role_categories.dart'; - -part 'get_role_category_by_id.dart'; - -part 'get_role_categories_by_category.dart'; - -part 'list_shifts.dart'; - -part 'get_shift_by_id.dart'; - -part 'filter_shifts.dart'; - -part 'get_shifts_by_business_id.dart'; - -part 'get_shifts_by_vendor_id.dart'; - -part 'get_vendor_by_id.dart'; - -part 'get_vendor_by_user_id.dart'; - -part 'list_vendors.dart'; - -part 'list_benefits_data.dart'; - -part 'get_benefits_data_by_key.dart'; - -part 'list_benefits_data_by_staff_id.dart'; - -part 'list_benefits_data_by_vendor_benefit_plan_id.dart'; - -part 'list_benefits_data_by_vendor_benefit_plan_ids.dart'; - -part 'create_certificate.dart'; - -part 'update_certificate.dart'; - -part 'delete_certificate.dart'; - -part 'list_emergency_contacts.dart'; - -part 'get_emergency_contact_by_id.dart'; - -part 'get_emergency_contacts_by_staff_id.dart'; - -part 'create_recent_payment.dart'; - -part 'update_recent_payment.dart'; - -part 'delete_recent_payment.dart'; - -part 'create_team_hud_department.dart'; - -part 'update_team_hud_department.dart'; - -part 'delete_team_hud_department.dart'; - -part 'create_vendor_benefit_plan.dart'; - -part 'update_vendor_benefit_plan.dart'; - -part 'delete_vendor_benefit_plan.dart'; - -part 'list_vendor_rates.dart'; - -part 'get_vendor_rate_by_id.dart'; - -part 'create_staff_availability.dart'; - -part 'update_staff_availability.dart'; - -part 'delete_staff_availability.dart'; - -part 'list_tasks.dart'; - -part 'get_task_by_id.dart'; - -part 'get_tasks_by_owner_id.dart'; - -part 'filter_tasks.dart'; - -part 'create_tax_form.dart'; - -part 'update_tax_form.dart'; - -part 'delete_tax_form.dart'; - -part 'create_business.dart'; - -part 'update_business.dart'; - -part 'delete_business.dart'; +part 'delete_shift.dart'; @@ -2675,63 +2675,63 @@ class Unknown extends EnumValue { class ExampleConnector { - CreateFaqDataVariablesBuilder createFaqData ({required String category, }) { - return CreateFaqDataVariablesBuilder(dataConnect, category: category,); + CreateTeamHudDepartmentVariablesBuilder createTeamHudDepartment ({required String name, required String teamHubId, }) { + return CreateTeamHudDepartmentVariablesBuilder(dataConnect, name: name,teamHubId: teamHubId,); } - UpdateFaqDataVariablesBuilder updateFaqData ({required String id, }) { - return UpdateFaqDataVariablesBuilder(dataConnect, id: id,); + UpdateTeamHudDepartmentVariablesBuilder updateTeamHudDepartment ({required String id, }) { + return UpdateTeamHudDepartmentVariablesBuilder(dataConnect, id: id,); } - DeleteFaqDataVariablesBuilder deleteFaqData ({required String id, }) { - return DeleteFaqDataVariablesBuilder(dataConnect, id: id,); + DeleteTeamHudDepartmentVariablesBuilder deleteTeamHudDepartment ({required String id, }) { + return DeleteTeamHudDepartmentVariablesBuilder(dataConnect, id: id,); } - CreateLevelVariablesBuilder createLevel ({required String name, required int xpRequired, }) { - return CreateLevelVariablesBuilder(dataConnect, name: name,xpRequired: xpRequired,); + ListAssignmentsVariablesBuilder listAssignments () { + return ListAssignmentsVariablesBuilder(dataConnect, ); } - UpdateLevelVariablesBuilder updateLevel ({required String id, }) { - return UpdateLevelVariablesBuilder(dataConnect, id: id,); + GetAssignmentByIdVariablesBuilder getAssignmentById ({required String id, }) { + return GetAssignmentByIdVariablesBuilder(dataConnect, id: id,); } - DeleteLevelVariablesBuilder deleteLevel ({required String id, }) { - return DeleteLevelVariablesBuilder(dataConnect, id: id,); + ListAssignmentsByWorkforceIdVariablesBuilder listAssignmentsByWorkforceId ({required String workforceId, }) { + return ListAssignmentsByWorkforceIdVariablesBuilder(dataConnect, workforceId: workforceId,); } - ListMessagesVariablesBuilder listMessages () { - return ListMessagesVariablesBuilder(dataConnect, ); + ListAssignmentsByWorkforceIdsVariablesBuilder listAssignmentsByWorkforceIds ({required List workforceIds, }) { + return ListAssignmentsByWorkforceIdsVariablesBuilder(dataConnect, workforceIds: workforceIds,); } - GetMessageByIdVariablesBuilder getMessageById ({required String id, }) { - return GetMessageByIdVariablesBuilder(dataConnect, id: id,); + ListAssignmentsByShiftRoleVariablesBuilder listAssignmentsByShiftRole ({required String shiftId, required String roleId, }) { + return ListAssignmentsByShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,); } - GetMessagesByConversationIdVariablesBuilder getMessagesByConversationId ({required String conversationId, }) { - return GetMessagesByConversationIdVariablesBuilder(dataConnect, conversationId: conversationId,); + FilterAssignmentsVariablesBuilder filterAssignments ({required List shiftIds, required List roleIds, }) { + return FilterAssignmentsVariablesBuilder(dataConnect, shiftIds: shiftIds,roleIds: roleIds,); } - CreateRoleVariablesBuilder createRole ({required String name, required double costPerHour, required String vendorId, required String roleCategoryId, }) { - return CreateRoleVariablesBuilder(dataConnect, name: name,costPerHour: costPerHour,vendorId: vendorId,roleCategoryId: roleCategoryId,); + CreateCertificateVariablesBuilder createCertificate ({required String name, required CertificateStatus status, required String staffId, }) { + return CreateCertificateVariablesBuilder(dataConnect, name: name,status: status,staffId: staffId,); } - UpdateRoleVariablesBuilder updateRole ({required String id, required String roleCategoryId, }) { - return UpdateRoleVariablesBuilder(dataConnect, id: id,roleCategoryId: roleCategoryId,); + UpdateCertificateVariablesBuilder updateCertificate ({required String id, }) { + return UpdateCertificateVariablesBuilder(dataConnect, id: id,); } - DeleteRoleVariablesBuilder deleteRole ({required String id, }) { - return DeleteRoleVariablesBuilder(dataConnect, id: id,); + DeleteCertificateVariablesBuilder deleteCertificate ({required String id, }) { + return DeleteCertificateVariablesBuilder(dataConnect, id: id,); } @@ -2760,483 +2760,43 @@ class ExampleConnector { } - CreateApplicationVariablesBuilder createApplication ({required String shiftId, required String staffId, required ApplicationStatus status, required ApplicationOrigin origin, required String roleId, }) { - return CreateApplicationVariablesBuilder(dataConnect, shiftId: shiftId,staffId: staffId,status: status,origin: origin,roleId: roleId,); + CreateVendorBenefitPlanVariablesBuilder createVendorBenefitPlan ({required String vendorId, required String title, }) { + return CreateVendorBenefitPlanVariablesBuilder(dataConnect, vendorId: vendorId,title: title,); } - UpdateApplicationStatusVariablesBuilder updateApplicationStatus ({required String id, required String roleId, }) { - return UpdateApplicationStatusVariablesBuilder(dataConnect, id: id,roleId: roleId,); + UpdateVendorBenefitPlanVariablesBuilder updateVendorBenefitPlan ({required String id, }) { + return UpdateVendorBenefitPlanVariablesBuilder(dataConnect, id: id,); } - DeleteApplicationVariablesBuilder deleteApplication ({required String id, }) { - return DeleteApplicationVariablesBuilder(dataConnect, id: id,); + DeleteVendorBenefitPlanVariablesBuilder deleteVendorBenefitPlan ({required String id, }) { + return DeleteVendorBenefitPlanVariablesBuilder(dataConnect, id: id,); } - CreateConversationVariablesBuilder createConversation () { - return CreateConversationVariablesBuilder(dataConnect, ); + ListVendorRatesVariablesBuilder listVendorRates () { + return ListVendorRatesVariablesBuilder(dataConnect, ); } - UpdateConversationVariablesBuilder updateConversation ({required String id, }) { - return UpdateConversationVariablesBuilder(dataConnect, id: id,); + GetVendorRateByIdVariablesBuilder getVendorRateById ({required String id, }) { + return GetVendorRateByIdVariablesBuilder(dataConnect, id: id,); } - UpdateConversationLastMessageVariablesBuilder updateConversationLastMessage ({required String id, }) { - return UpdateConversationLastMessageVariablesBuilder(dataConnect, id: id,); + ListDocumentsVariablesBuilder listDocuments () { + return ListDocumentsVariablesBuilder(dataConnect, ); } - DeleteConversationVariablesBuilder deleteConversation ({required String id, }) { - return DeleteConversationVariablesBuilder(dataConnect, id: id,); + GetDocumentByIdVariablesBuilder getDocumentById ({required String id, }) { + return GetDocumentByIdVariablesBuilder(dataConnect, id: id,); } - ListInvoiceTemplatesVariablesBuilder listInvoiceTemplates () { - return ListInvoiceTemplatesVariablesBuilder(dataConnect, ); - } - - - GetInvoiceTemplateByIdVariablesBuilder getInvoiceTemplateById ({required String id, }) { - return GetInvoiceTemplateByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListInvoiceTemplatesByOwnerIdVariablesBuilder listInvoiceTemplatesByOwnerId ({required String ownerId, }) { - return ListInvoiceTemplatesByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); - } - - - ListInvoiceTemplatesByVendorIdVariablesBuilder listInvoiceTemplatesByVendorId ({required String vendorId, }) { - return ListInvoiceTemplatesByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - ListInvoiceTemplatesByBusinessIdVariablesBuilder listInvoiceTemplatesByBusinessId ({required String businessId, }) { - return ListInvoiceTemplatesByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); - } - - - ListInvoiceTemplatesByOrderIdVariablesBuilder listInvoiceTemplatesByOrderId ({required String orderId, }) { - return ListInvoiceTemplatesByOrderIdVariablesBuilder(dataConnect, orderId: orderId,); - } - - - SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder searchInvoiceTemplatesByOwnerAndName ({required String ownerId, required String name, }) { - return SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder(dataConnect, ownerId: ownerId,name: name,); - } - - - CreateAssignmentVariablesBuilder createAssignment ({required String workforceId, required String roleId, required String shiftId, }) { - return CreateAssignmentVariablesBuilder(dataConnect, workforceId: workforceId,roleId: roleId,shiftId: shiftId,); - } - - - UpdateAssignmentVariablesBuilder updateAssignment ({required String id, required String roleId, required String shiftId, }) { - return UpdateAssignmentVariablesBuilder(dataConnect, id: id,roleId: roleId,shiftId: shiftId,); - } - - - DeleteAssignmentVariablesBuilder deleteAssignment ({required String id, }) { - return DeleteAssignmentVariablesBuilder(dataConnect, id: id,); - } - - - CreateAttireOptionVariablesBuilder createAttireOption ({required String itemId, required String label, }) { - return CreateAttireOptionVariablesBuilder(dataConnect, itemId: itemId,label: label,); - } - - - UpdateAttireOptionVariablesBuilder updateAttireOption ({required String id, }) { - return UpdateAttireOptionVariablesBuilder(dataConnect, id: id,); - } - - - DeleteAttireOptionVariablesBuilder deleteAttireOption ({required String id, }) { - return DeleteAttireOptionVariablesBuilder(dataConnect, id: id,); - } - - - ListBusinessesVariablesBuilder listBusinesses () { - return ListBusinessesVariablesBuilder(dataConnect, ); - } - - - GetBusinessesByUserIdVariablesBuilder getBusinessesByUserId ({required String userId, }) { - return GetBusinessesByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - GetBusinessByIdVariablesBuilder getBusinessById ({required String id, }) { - return GetBusinessByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListRecentPaymentsVariablesBuilder listRecentPayments () { - return ListRecentPaymentsVariablesBuilder(dataConnect, ); - } - - - GetRecentPaymentByIdVariablesBuilder getRecentPaymentById ({required String id, }) { - return GetRecentPaymentByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListRecentPaymentsByStaffIdVariablesBuilder listRecentPaymentsByStaffId ({required String staffId, }) { - return ListRecentPaymentsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - ListRecentPaymentsByApplicationIdVariablesBuilder listRecentPaymentsByApplicationId ({required String applicationId, }) { - return ListRecentPaymentsByApplicationIdVariablesBuilder(dataConnect, applicationId: applicationId,); - } - - - ListRecentPaymentsByInvoiceIdVariablesBuilder listRecentPaymentsByInvoiceId ({required String invoiceId, }) { - return ListRecentPaymentsByInvoiceIdVariablesBuilder(dataConnect, invoiceId: invoiceId,); - } - - - ListRecentPaymentsByStatusVariablesBuilder listRecentPaymentsByStatus ({required RecentPaymentStatus status, }) { - return ListRecentPaymentsByStatusVariablesBuilder(dataConnect, status: status,); - } - - - ListRecentPaymentsByInvoiceIdsVariablesBuilder listRecentPaymentsByInvoiceIds ({required List invoiceIds, }) { - return ListRecentPaymentsByInvoiceIdsVariablesBuilder(dataConnect, invoiceIds: invoiceIds,); - } - - - ListRecentPaymentsByBusinessIdVariablesBuilder listRecentPaymentsByBusinessId ({required String businessId, }) { - return ListRecentPaymentsByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); - } - - - CreateRoleCategoryVariablesBuilder createRoleCategory ({required String roleName, required RoleCategoryType category, }) { - return CreateRoleCategoryVariablesBuilder(dataConnect, roleName: roleName,category: category,); - } - - - UpdateRoleCategoryVariablesBuilder updateRoleCategory ({required String id, }) { - return UpdateRoleCategoryVariablesBuilder(dataConnect, id: id,); - } - - - DeleteRoleCategoryVariablesBuilder deleteRoleCategory ({required String id, }) { - return DeleteRoleCategoryVariablesBuilder(dataConnect, id: id,); - } - - - CreateStaffAvailabilityStatsVariablesBuilder createStaffAvailabilityStats ({required String staffId, }) { - return CreateStaffAvailabilityStatsVariablesBuilder(dataConnect, staffId: staffId,); - } - - - UpdateStaffAvailabilityStatsVariablesBuilder updateStaffAvailabilityStats ({required String staffId, }) { - return UpdateStaffAvailabilityStatsVariablesBuilder(dataConnect, staffId: staffId,); - } - - - DeleteStaffAvailabilityStatsVariablesBuilder deleteStaffAvailabilityStats ({required String staffId, }) { - return DeleteStaffAvailabilityStatsVariablesBuilder(dataConnect, staffId: staffId,); - } - - - ListTeamHudDepartmentsVariablesBuilder listTeamHudDepartments () { - return ListTeamHudDepartmentsVariablesBuilder(dataConnect, ); - } - - - GetTeamHudDepartmentByIdVariablesBuilder getTeamHudDepartmentById ({required String id, }) { - return GetTeamHudDepartmentByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListTeamHudDepartmentsByTeamHubIdVariablesBuilder listTeamHudDepartmentsByTeamHubId ({required String teamHubId, }) { - return ListTeamHudDepartmentsByTeamHubIdVariablesBuilder(dataConnect, teamHubId: teamHubId,); - } - - - CreateUserVariablesBuilder createUser ({required String id, required UserBaseRole role, }) { - return CreateUserVariablesBuilder(dataConnect, id: id,role: role,); - } - - - UpdateUserVariablesBuilder updateUser ({required String id, }) { - return UpdateUserVariablesBuilder(dataConnect, id: id,); - } - - - DeleteUserVariablesBuilder deleteUser ({required String id, }) { - return DeleteUserVariablesBuilder(dataConnect, id: id,); - } - - - CreateCategoryVariablesBuilder createCategory ({required String categoryId, required String label, }) { - return CreateCategoryVariablesBuilder(dataConnect, categoryId: categoryId,label: label,); - } - - - UpdateCategoryVariablesBuilder updateCategory ({required String id, }) { - return UpdateCategoryVariablesBuilder(dataConnect, id: id,); - } - - - DeleteCategoryVariablesBuilder deleteCategory ({required String id, }) { - return DeleteCategoryVariablesBuilder(dataConnect, id: id,); - } - - - CreateInvoiceVariablesBuilder createInvoice ({required InvoiceStatus status, required String vendorId, required String businessId, required String orderId, required String invoiceNumber, required Timestamp issueDate, required Timestamp dueDate, required double amount, }) { - return CreateInvoiceVariablesBuilder(dataConnect, status: status,vendorId: vendorId,businessId: businessId,orderId: orderId,invoiceNumber: invoiceNumber,issueDate: issueDate,dueDate: dueDate,amount: amount,); - } - - - UpdateInvoiceVariablesBuilder updateInvoice ({required String id, }) { - return UpdateInvoiceVariablesBuilder(dataConnect, id: id,); - } - - - DeleteInvoiceVariablesBuilder deleteInvoice ({required String id, }) { - return DeleteInvoiceVariablesBuilder(dataConnect, id: id,); - } - - - ListStaffVariablesBuilder listStaff () { - return ListStaffVariablesBuilder(dataConnect, ); - } - - - GetStaffByIdVariablesBuilder getStaffById ({required String id, }) { - return GetStaffByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetStaffByUserIdVariablesBuilder getStaffByUserId ({required String userId, }) { - return GetStaffByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - FilterStaffVariablesBuilder filterStaff () { - return FilterStaffVariablesBuilder(dataConnect, ); - } - - - GetStaffDocumentByKeyVariablesBuilder getStaffDocumentByKey ({required String staffId, required String documentId, }) { - return GetStaffDocumentByKeyVariablesBuilder(dataConnect, staffId: staffId,documentId: documentId,); - } - - - ListStaffDocumentsByStaffIdVariablesBuilder listStaffDocumentsByStaffId ({required String staffId, }) { - return ListStaffDocumentsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - ListStaffDocumentsByDocumentTypeVariablesBuilder listStaffDocumentsByDocumentType ({required DocumentType documentType, }) { - return ListStaffDocumentsByDocumentTypeVariablesBuilder(dataConnect, documentType: documentType,); - } - - - ListStaffDocumentsByStatusVariablesBuilder listStaffDocumentsByStatus ({required DocumentStatus status, }) { - return ListStaffDocumentsByStatusVariablesBuilder(dataConnect, status: status,); - } - - - ListVendorBenefitPlansVariablesBuilder listVendorBenefitPlans () { - return ListVendorBenefitPlansVariablesBuilder(dataConnect, ); - } - - - GetVendorBenefitPlanByIdVariablesBuilder getVendorBenefitPlanById ({required String id, }) { - return GetVendorBenefitPlanByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListVendorBenefitPlansByVendorIdVariablesBuilder listVendorBenefitPlansByVendorId ({required String vendorId, }) { - return ListVendorBenefitPlansByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - ListActiveVendorBenefitPlansByVendorIdVariablesBuilder listActiveVendorBenefitPlansByVendorId ({required String vendorId, }) { - return ListActiveVendorBenefitPlansByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - FilterVendorBenefitPlansVariablesBuilder filterVendorBenefitPlans () { - return FilterVendorBenefitPlansVariablesBuilder(dataConnect, ); - } - - - CreateWorkforceVariablesBuilder createWorkforce ({required String vendorId, required String staffId, required String workforceNumber, }) { - return CreateWorkforceVariablesBuilder(dataConnect, vendorId: vendorId,staffId: staffId,workforceNumber: workforceNumber,); - } - - - UpdateWorkforceVariablesBuilder updateWorkforce ({required String id, }) { - return UpdateWorkforceVariablesBuilder(dataConnect, id: id,); - } - - - DeactivateWorkforceVariablesBuilder deactivateWorkforce ({required String id, }) { - return DeactivateWorkforceVariablesBuilder(dataConnect, id: id,); - } - - - CreateClientFeedbackVariablesBuilder createClientFeedback ({required String businessId, required String vendorId, }) { - return CreateClientFeedbackVariablesBuilder(dataConnect, businessId: businessId,vendorId: vendorId,); - } - - - UpdateClientFeedbackVariablesBuilder updateClientFeedback ({required String id, }) { - return UpdateClientFeedbackVariablesBuilder(dataConnect, id: id,); - } - - - DeleteClientFeedbackVariablesBuilder deleteClientFeedback ({required String id, }) { - return DeleteClientFeedbackVariablesBuilder(dataConnect, id: id,); - } - - - ListLevelsVariablesBuilder listLevels () { - return ListLevelsVariablesBuilder(dataConnect, ); - } - - - GetLevelByIdVariablesBuilder getLevelById ({required String id, }) { - return GetLevelByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterLevelsVariablesBuilder filterLevels () { - return FilterLevelsVariablesBuilder(dataConnect, ); - } - - - CreateShiftVariablesBuilder createShift ({required String title, required String orderId, }) { - return CreateShiftVariablesBuilder(dataConnect, title: title,orderId: orderId,); - } - - - UpdateShiftVariablesBuilder updateShift ({required String id, }) { - return UpdateShiftVariablesBuilder(dataConnect, id: id,); - } - - - DeleteShiftVariablesBuilder deleteShift ({required String id, }) { - return DeleteShiftVariablesBuilder(dataConnect, id: id,); - } - - - CreateShiftRoleVariablesBuilder createShiftRole ({required String shiftId, required String roleId, required int count, }) { - return CreateShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,count: count,); - } - - - UpdateShiftRoleVariablesBuilder updateShiftRole ({required String shiftId, required String roleId, }) { - return UpdateShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,); - } - - - DeleteShiftRoleVariablesBuilder deleteShiftRole ({required String shiftId, required String roleId, }) { - return DeleteShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,); - } - - - CreateStaffVariablesBuilder createStaff ({required String userId, required String fullName, }) { - return CreateStaffVariablesBuilder(dataConnect, userId: userId,fullName: fullName,); - } - - - UpdateStaffVariablesBuilder updateStaff ({required String id, }) { - return UpdateStaffVariablesBuilder(dataConnect, id: id,); - } - - - DeleteStaffVariablesBuilder deleteStaff ({required String id, }) { - return DeleteStaffVariablesBuilder(dataConnect, id: id,); - } - - - CreateTaskVariablesBuilder createTask ({required String taskName, required TaskPriority priority, required TaskStatus status, required String ownerId, }) { - return CreateTaskVariablesBuilder(dataConnect, taskName: taskName,priority: priority,status: status,ownerId: ownerId,); - } - - - UpdateTaskVariablesBuilder updateTask ({required String id, }) { - return UpdateTaskVariablesBuilder(dataConnect, id: id,); - } - - - DeleteTaskVariablesBuilder deleteTask ({required String id, }) { - return DeleteTaskVariablesBuilder(dataConnect, id: id,); - } - - - CreateTeamMemberVariablesBuilder createTeamMember ({required String teamId, required TeamMemberRole role, required String userId, }) { - return CreateTeamMemberVariablesBuilder(dataConnect, teamId: teamId,role: role,userId: userId,); - } - - - UpdateTeamMemberVariablesBuilder updateTeamMember ({required String id, }) { - return UpdateTeamMemberVariablesBuilder(dataConnect, id: id,); - } - - - UpdateTeamMemberInviteStatusVariablesBuilder updateTeamMemberInviteStatus ({required String id, required TeamMemberInviteStatus inviteStatus, }) { - return UpdateTeamMemberInviteStatusVariablesBuilder(dataConnect, id: id,inviteStatus: inviteStatus,); - } - - - AcceptInviteByCodeVariablesBuilder acceptInviteByCode ({required String inviteCode, }) { - return AcceptInviteByCodeVariablesBuilder(dataConnect, inviteCode: inviteCode,); - } - - - CancelInviteByCodeVariablesBuilder cancelInviteByCode ({required String inviteCode, }) { - return CancelInviteByCodeVariablesBuilder(dataConnect, inviteCode: inviteCode,); - } - - - DeleteTeamMemberVariablesBuilder deleteTeamMember ({required String id, }) { - return DeleteTeamMemberVariablesBuilder(dataConnect, id: id,); - } - - - ListAccountsVariablesBuilder listAccounts () { - return ListAccountsVariablesBuilder(dataConnect, ); - } - - - GetAccountByIdVariablesBuilder getAccountById ({required String id, }) { - return GetAccountByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetAccountsByOwnerIdVariablesBuilder getAccountsByOwnerId ({required String ownerId, }) { - return GetAccountsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); - } - - - FilterAccountsVariablesBuilder filterAccounts () { - return FilterAccountsVariablesBuilder(dataConnect, ); - } - - - ListCategoriesVariablesBuilder listCategories () { - return ListCategoriesVariablesBuilder(dataConnect, ); - } - - - GetCategoryByIdVariablesBuilder getCategoryById ({required String id, }) { - return GetCategoryByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterCategoriesVariablesBuilder filterCategories () { - return FilterCategoriesVariablesBuilder(dataConnect, ); + FilterDocumentsVariablesBuilder filterDocuments () { + return FilterDocumentsVariablesBuilder(dataConnect, ); } @@ -3275,121 +2835,6 @@ class ExampleConnector { } - GetMyTasksVariablesBuilder getMyTasks ({required String teamMemberId, }) { - return GetMyTasksVariablesBuilder(dataConnect, teamMemberId: teamMemberId,); - } - - - GetMemberTaskByIdKeyVariablesBuilder getMemberTaskByIdKey ({required String teamMemberId, required String taskId, }) { - return GetMemberTaskByIdKeyVariablesBuilder(dataConnect, teamMemberId: teamMemberId,taskId: taskId,); - } - - - GetMemberTasksByTaskIdVariablesBuilder getMemberTasksByTaskId ({required String taskId, }) { - return GetMemberTasksByTaskIdVariablesBuilder(dataConnect, taskId: taskId,); - } - - - CreateTeamVariablesBuilder createTeam ({required String teamName, required String ownerId, required String ownerName, required String ownerRole, }) { - return CreateTeamVariablesBuilder(dataConnect, teamName: teamName,ownerId: ownerId,ownerName: ownerName,ownerRole: ownerRole,); - } - - - UpdateTeamVariablesBuilder updateTeam ({required String id, }) { - return UpdateTeamVariablesBuilder(dataConnect, id: id,); - } - - - DeleteTeamVariablesBuilder deleteTeam ({required String id, }) { - return DeleteTeamVariablesBuilder(dataConnect, id: id,); - } - - - CreateBenefitsDataVariablesBuilder createBenefitsData ({required String vendorBenefitPlanId, required String staffId, required int current, }) { - return CreateBenefitsDataVariablesBuilder(dataConnect, vendorBenefitPlanId: vendorBenefitPlanId,staffId: staffId,current: current,); - } - - - UpdateBenefitsDataVariablesBuilder updateBenefitsData ({required String staffId, required String vendorBenefitPlanId, }) { - return UpdateBenefitsDataVariablesBuilder(dataConnect, staffId: staffId,vendorBenefitPlanId: vendorBenefitPlanId,); - } - - - DeleteBenefitsDataVariablesBuilder deleteBenefitsData ({required String staffId, required String vendorBenefitPlanId, }) { - return DeleteBenefitsDataVariablesBuilder(dataConnect, staffId: staffId,vendorBenefitPlanId: vendorBenefitPlanId,); - } - - - ListFaqDatasVariablesBuilder listFaqDatas () { - return ListFaqDatasVariablesBuilder(dataConnect, ); - } - - - GetFaqDataByIdVariablesBuilder getFaqDataById ({required String id, }) { - return GetFaqDataByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterFaqDatasVariablesBuilder filterFaqDatas () { - return FilterFaqDatasVariablesBuilder(dataConnect, ); - } - - - CreateOrderVariablesBuilder createOrder ({required String vendorId, required String businessId, required OrderType orderType, }) { - return CreateOrderVariablesBuilder(dataConnect, vendorId: vendorId,businessId: businessId,orderType: orderType,); - } - - - UpdateOrderVariablesBuilder updateOrder ({required String id, }) { - return UpdateOrderVariablesBuilder(dataConnect, id: id,); - } - - - DeleteOrderVariablesBuilder deleteOrder ({required String id, }) { - return DeleteOrderVariablesBuilder(dataConnect, id: id,); - } - - - CreateStaffDocumentVariablesBuilder createStaffDocument ({required String staffId, required String staffName, required String documentId, required DocumentStatus status, }) { - return CreateStaffDocumentVariablesBuilder(dataConnect, staffId: staffId,staffName: staffName,documentId: documentId,status: status,); - } - - - UpdateStaffDocumentVariablesBuilder updateStaffDocument ({required String staffId, required String documentId, }) { - return UpdateStaffDocumentVariablesBuilder(dataConnect, staffId: staffId,documentId: documentId,); - } - - - DeleteStaffDocumentVariablesBuilder deleteStaffDocument ({required String staffId, required String documentId, }) { - return DeleteStaffDocumentVariablesBuilder(dataConnect, staffId: staffId,documentId: documentId,); - } - - - ListApplicationsVariablesBuilder listApplications () { - return ListApplicationsVariablesBuilder(dataConnect, ); - } - - - GetApplicationByIdVariablesBuilder getApplicationById ({required String id, }) { - return GetApplicationByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetApplicationsByShiftIdVariablesBuilder getApplicationsByShiftId ({required String shiftId, }) { - return GetApplicationsByShiftIdVariablesBuilder(dataConnect, shiftId: shiftId,); - } - - - GetApplicationsByShiftIdAndStatusVariablesBuilder getApplicationsByShiftIdAndStatus ({required String shiftId, required ApplicationStatus status, }) { - return GetApplicationsByShiftIdAndStatusVariablesBuilder(dataConnect, shiftId: shiftId,status: status,); - } - - - GetApplicationsByStaffIdVariablesBuilder getApplicationsByStaffId ({required String staffId, }) { - return GetApplicationsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - ListConversationsVariablesBuilder listConversations () { return ListConversationsVariablesBuilder(dataConnect, ); } @@ -3415,58 +2860,218 @@ class ExampleConnector { } - CreateCourseVariablesBuilder createCourse ({required String categoryId, }) { - return CreateCourseVariablesBuilder(dataConnect, categoryId: categoryId,); + ListStaffVariablesBuilder listStaff () { + return ListStaffVariablesBuilder(dataConnect, ); } - UpdateCourseVariablesBuilder updateCourse ({required String id, required String categoryId, }) { - return UpdateCourseVariablesBuilder(dataConnect, id: id,categoryId: categoryId,); + GetStaffByIdVariablesBuilder getStaffById ({required String id, }) { + return GetStaffByIdVariablesBuilder(dataConnect, id: id,); } - DeleteCourseVariablesBuilder deleteCourse ({required String id, }) { - return DeleteCourseVariablesBuilder(dataConnect, id: id,); + GetStaffByUserIdVariablesBuilder getStaffByUserId ({required String userId, }) { + return GetStaffByUserIdVariablesBuilder(dataConnect, userId: userId,); } - ListInvoicesVariablesBuilder listInvoices () { - return ListInvoicesVariablesBuilder(dataConnect, ); + FilterStaffVariablesBuilder filterStaff () { + return FilterStaffVariablesBuilder(dataConnect, ); } - GetInvoiceByIdVariablesBuilder getInvoiceById ({required String id, }) { - return GetInvoiceByIdVariablesBuilder(dataConnect, id: id,); + ListStaffAvailabilitiesVariablesBuilder listStaffAvailabilities () { + return ListStaffAvailabilitiesVariablesBuilder(dataConnect, ); } - ListInvoicesByVendorIdVariablesBuilder listInvoicesByVendorId ({required String vendorId, }) { - return ListInvoicesByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); + ListStaffAvailabilitiesByStaffIdVariablesBuilder listStaffAvailabilitiesByStaffId ({required String staffId, }) { + return ListStaffAvailabilitiesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); } - ListInvoicesByBusinessIdVariablesBuilder listInvoicesByBusinessId ({required String businessId, }) { - return ListInvoicesByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); + GetStaffAvailabilityByKeyVariablesBuilder getStaffAvailabilityByKey ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { + return GetStaffAvailabilityByKeyVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); } - ListInvoicesByOrderIdVariablesBuilder listInvoicesByOrderId ({required String orderId, }) { - return ListInvoicesByOrderIdVariablesBuilder(dataConnect, orderId: orderId,); + ListStaffAvailabilitiesByDayVariablesBuilder listStaffAvailabilitiesByDay ({required DayOfWeek day, }) { + return ListStaffAvailabilitiesByDayVariablesBuilder(dataConnect, day: day,); } - ListInvoicesByStatusVariablesBuilder listInvoicesByStatus ({required InvoiceStatus status, }) { - return ListInvoicesByStatusVariablesBuilder(dataConnect, status: status,); + ListTaskCommentsVariablesBuilder listTaskComments () { + return ListTaskCommentsVariablesBuilder(dataConnect, ); } - FilterInvoicesVariablesBuilder filterInvoices () { - return FilterInvoicesVariablesBuilder(dataConnect, ); + GetTaskCommentByIdVariablesBuilder getTaskCommentById ({required String id, }) { + return GetTaskCommentByIdVariablesBuilder(dataConnect, id: id,); } - ListOverdueInvoicesVariablesBuilder listOverdueInvoices ({required Timestamp now, }) { - return ListOverdueInvoicesVariablesBuilder(dataConnect, now: now,); + GetTaskCommentsByTaskIdVariablesBuilder getTaskCommentsByTaskId ({required String taskId, }) { + return GetTaskCommentsByTaskIdVariablesBuilder(dataConnect, taskId: taskId,); + } + + + CreateUserConversationVariablesBuilder createUserConversation ({required String conversationId, required String userId, }) { + return CreateUserConversationVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); + } + + + UpdateUserConversationVariablesBuilder updateUserConversation ({required String conversationId, required String userId, }) { + return UpdateUserConversationVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); + } + + + MarkConversationAsReadVariablesBuilder markConversationAsRead ({required String conversationId, required String userId, }) { + return MarkConversationAsReadVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); + } + + + IncrementUnreadForUserVariablesBuilder incrementUnreadForUser ({required String conversationId, required String userId, required int unreadCount, }) { + return IncrementUnreadForUserVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,unreadCount: unreadCount,); + } + + + DeleteUserConversationVariablesBuilder deleteUserConversation ({required String conversationId, required String userId, }) { + return DeleteUserConversationVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); + } + + + ListCategoriesVariablesBuilder listCategories () { + return ListCategoriesVariablesBuilder(dataConnect, ); + } + + + GetCategoryByIdVariablesBuilder getCategoryById ({required String id, }) { + return GetCategoryByIdVariablesBuilder(dataConnect, id: id,); + } + + + FilterCategoriesVariablesBuilder filterCategories () { + return FilterCategoriesVariablesBuilder(dataConnect, ); + } + + + CreateRoleVariablesBuilder createRole ({required String name, required double costPerHour, required String vendorId, required String roleCategoryId, }) { + return CreateRoleVariablesBuilder(dataConnect, name: name,costPerHour: costPerHour,vendorId: vendorId,roleCategoryId: roleCategoryId,); + } + + + UpdateRoleVariablesBuilder updateRole ({required String id, required String roleCategoryId, }) { + return UpdateRoleVariablesBuilder(dataConnect, id: id,roleCategoryId: roleCategoryId,); + } + + + DeleteRoleVariablesBuilder deleteRole ({required String id, }) { + return DeleteRoleVariablesBuilder(dataConnect, id: id,); + } + + + ListStaffAvailabilityStatsVariablesBuilder listStaffAvailabilityStats () { + return ListStaffAvailabilityStatsVariablesBuilder(dataConnect, ); + } + + + GetStaffAvailabilityStatsByStaffIdVariablesBuilder getStaffAvailabilityStatsByStaffId ({required String staffId, }) { + return GetStaffAvailabilityStatsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + FilterStaffAvailabilityStatsVariablesBuilder filterStaffAvailabilityStats () { + return FilterStaffAvailabilityStatsVariablesBuilder(dataConnect, ); + } + + + CreateTaskVariablesBuilder createTask ({required String taskName, required TaskPriority priority, required TaskStatus status, required String ownerId, }) { + return CreateTaskVariablesBuilder(dataConnect, taskName: taskName,priority: priority,status: status,ownerId: ownerId,); + } + + + UpdateTaskVariablesBuilder updateTask ({required String id, }) { + return UpdateTaskVariablesBuilder(dataConnect, id: id,); + } + + + DeleteTaskVariablesBuilder deleteTask ({required String id, }) { + return DeleteTaskVariablesBuilder(dataConnect, id: id,); + } + + + ListAttireOptionsVariablesBuilder listAttireOptions () { + return ListAttireOptionsVariablesBuilder(dataConnect, ); + } + + + GetAttireOptionByIdVariablesBuilder getAttireOptionById ({required String id, }) { + return GetAttireOptionByIdVariablesBuilder(dataConnect, id: id,); + } + + + FilterAttireOptionsVariablesBuilder filterAttireOptions () { + return FilterAttireOptionsVariablesBuilder(dataConnect, ); + } + + + CreateCategoryVariablesBuilder createCategory ({required String categoryId, required String label, }) { + return CreateCategoryVariablesBuilder(dataConnect, categoryId: categoryId,label: label,); + } + + + UpdateCategoryVariablesBuilder updateCategory ({required String id, }) { + return UpdateCategoryVariablesBuilder(dataConnect, id: id,); + } + + + DeleteCategoryVariablesBuilder deleteCategory ({required String id, }) { + return DeleteCategoryVariablesBuilder(dataConnect, id: id,); + } + + + CreateInvoiceTemplateVariablesBuilder createInvoiceTemplate ({required String name, required String ownerId, }) { + return CreateInvoiceTemplateVariablesBuilder(dataConnect, name: name,ownerId: ownerId,); + } + + + UpdateInvoiceTemplateVariablesBuilder updateInvoiceTemplate ({required String id, }) { + return UpdateInvoiceTemplateVariablesBuilder(dataConnect, id: id,); + } + + + DeleteInvoiceTemplateVariablesBuilder deleteInvoiceTemplate ({required String id, }) { + return DeleteInvoiceTemplateVariablesBuilder(dataConnect, id: id,); + } + + + CreateLevelVariablesBuilder createLevel ({required String name, required int xpRequired, }) { + return CreateLevelVariablesBuilder(dataConnect, name: name,xpRequired: xpRequired,); + } + + + UpdateLevelVariablesBuilder updateLevel ({required String id, }) { + return UpdateLevelVariablesBuilder(dataConnect, id: id,); + } + + + DeleteLevelVariablesBuilder deleteLevel ({required String id, }) { + return DeleteLevelVariablesBuilder(dataConnect, id: id,); + } + + + CreateOrderVariablesBuilder createOrder ({required String vendorId, required String businessId, required OrderType orderType, }) { + return CreateOrderVariablesBuilder(dataConnect, vendorId: vendorId,businessId: businessId,orderType: orderType,); + } + + + UpdateOrderVariablesBuilder updateOrder ({required String id, }) { + return UpdateOrderVariablesBuilder(dataConnect, id: id,); + } + + + DeleteOrderVariablesBuilder deleteOrder ({required String id, }) { + return DeleteOrderVariablesBuilder(dataConnect, id: id,); } @@ -3565,6 +3170,616 @@ class ExampleConnector { } + ListRoleCategoriesVariablesBuilder listRoleCategories () { + return ListRoleCategoriesVariablesBuilder(dataConnect, ); + } + + + GetRoleCategoryByIdVariablesBuilder getRoleCategoryById ({required String id, }) { + return GetRoleCategoryByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetRoleCategoriesByCategoryVariablesBuilder getRoleCategoriesByCategory ({required RoleCategoryType category, }) { + return GetRoleCategoriesByCategoryVariablesBuilder(dataConnect, category: category,); + } + + + CreateStaffRoleVariablesBuilder createStaffRole ({required String staffId, required String roleId, }) { + return CreateStaffRoleVariablesBuilder(dataConnect, staffId: staffId,roleId: roleId,); + } + + + DeleteStaffRoleVariablesBuilder deleteStaffRole ({required String staffId, required String roleId, }) { + return DeleteStaffRoleVariablesBuilder(dataConnect, staffId: staffId,roleId: roleId,); + } + + + ListFaqDatasVariablesBuilder listFaqDatas () { + return ListFaqDatasVariablesBuilder(dataConnect, ); + } + + + GetFaqDataByIdVariablesBuilder getFaqDataById ({required String id, }) { + return GetFaqDataByIdVariablesBuilder(dataConnect, id: id,); + } + + + FilterFaqDatasVariablesBuilder filterFaqDatas () { + return FilterFaqDatasVariablesBuilder(dataConnect, ); + } + + + ListMessagesVariablesBuilder listMessages () { + return ListMessagesVariablesBuilder(dataConnect, ); + } + + + GetMessageByIdVariablesBuilder getMessageById ({required String id, }) { + return GetMessageByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetMessagesByConversationIdVariablesBuilder getMessagesByConversationId ({required String conversationId, }) { + return GetMessagesByConversationIdVariablesBuilder(dataConnect, conversationId: conversationId,); + } + + + CreateTaxFormVariablesBuilder createTaxForm ({required TaxFormType formType, required String title, required String staffId, }) { + return CreateTaxFormVariablesBuilder(dataConnect, formType: formType,title: title,staffId: staffId,); + } + + + UpdateTaxFormVariablesBuilder updateTaxForm ({required String id, }) { + return UpdateTaxFormVariablesBuilder(dataConnect, id: id,); + } + + + DeleteTaxFormVariablesBuilder deleteTaxForm ({required String id, }) { + return DeleteTaxFormVariablesBuilder(dataConnect, id: id,); + } + + + CreateTeamVariablesBuilder createTeam ({required String teamName, required String ownerId, required String ownerName, required String ownerRole, }) { + return CreateTeamVariablesBuilder(dataConnect, teamName: teamName,ownerId: ownerId,ownerName: ownerName,ownerRole: ownerRole,); + } + + + UpdateTeamVariablesBuilder updateTeam ({required String id, }) { + return UpdateTeamVariablesBuilder(dataConnect, id: id,); + } + + + DeleteTeamVariablesBuilder deleteTeam ({required String id, }) { + return DeleteTeamVariablesBuilder(dataConnect, id: id,); + } + + + ListTeamHudDepartmentsVariablesBuilder listTeamHudDepartments () { + return ListTeamHudDepartmentsVariablesBuilder(dataConnect, ); + } + + + GetTeamHudDepartmentByIdVariablesBuilder getTeamHudDepartmentById ({required String id, }) { + return GetTeamHudDepartmentByIdVariablesBuilder(dataConnect, id: id,); + } + + + ListTeamHudDepartmentsByTeamHubIdVariablesBuilder listTeamHudDepartmentsByTeamHubId ({required String teamHubId, }) { + return ListTeamHudDepartmentsByTeamHubIdVariablesBuilder(dataConnect, teamHubId: teamHubId,); + } + + + CreateUserVariablesBuilder createUser ({required String id, required UserBaseRole role, }) { + return CreateUserVariablesBuilder(dataConnect, id: id,role: role,); + } + + + UpdateUserVariablesBuilder updateUser ({required String id, }) { + return UpdateUserVariablesBuilder(dataConnect, id: id,); + } + + + DeleteUserVariablesBuilder deleteUser ({required String id, }) { + return DeleteUserVariablesBuilder(dataConnect, id: id,); + } + + + GetVendorByIdVariablesBuilder getVendorById ({required String id, }) { + return GetVendorByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetVendorByUserIdVariablesBuilder getVendorByUserId ({required String userId, }) { + return GetVendorByUserIdVariablesBuilder(dataConnect, userId: userId,); + } + + + ListVendorsVariablesBuilder listVendors () { + return ListVendorsVariablesBuilder(dataConnect, ); + } + + + CreateWorkforceVariablesBuilder createWorkforce ({required String vendorId, required String staffId, required String workforceNumber, }) { + return CreateWorkforceVariablesBuilder(dataConnect, vendorId: vendorId,staffId: staffId,workforceNumber: workforceNumber,); + } + + + UpdateWorkforceVariablesBuilder updateWorkforce ({required String id, }) { + return UpdateWorkforceVariablesBuilder(dataConnect, id: id,); + } + + + DeactivateWorkforceVariablesBuilder deactivateWorkforce ({required String id, }) { + return DeactivateWorkforceVariablesBuilder(dataConnect, id: id,); + } + + + ListActivityLogsVariablesBuilder listActivityLogs () { + return ListActivityLogsVariablesBuilder(dataConnect, ); + } + + + GetActivityLogByIdVariablesBuilder getActivityLogById ({required String id, }) { + return GetActivityLogByIdVariablesBuilder(dataConnect, id: id,); + } + + + ListActivityLogsByUserIdVariablesBuilder listActivityLogsByUserId ({required String userId, }) { + return ListActivityLogsByUserIdVariablesBuilder(dataConnect, userId: userId,); + } + + + ListUnreadActivityLogsByUserIdVariablesBuilder listUnreadActivityLogsByUserId ({required String userId, }) { + return ListUnreadActivityLogsByUserIdVariablesBuilder(dataConnect, userId: userId,); + } + + + FilterActivityLogsVariablesBuilder filterActivityLogs () { + return FilterActivityLogsVariablesBuilder(dataConnect, ); + } + + + ListApplicationsVariablesBuilder listApplications () { + return ListApplicationsVariablesBuilder(dataConnect, ); + } + + + GetApplicationByIdVariablesBuilder getApplicationById ({required String id, }) { + return GetApplicationByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetApplicationsByShiftIdVariablesBuilder getApplicationsByShiftId ({required String shiftId, }) { + return GetApplicationsByShiftIdVariablesBuilder(dataConnect, shiftId: shiftId,); + } + + + GetApplicationsByShiftIdAndStatusVariablesBuilder getApplicationsByShiftIdAndStatus ({required String shiftId, required ApplicationStatus status, }) { + return GetApplicationsByShiftIdAndStatusVariablesBuilder(dataConnect, shiftId: shiftId,status: status,); + } + + + GetApplicationsByStaffIdVariablesBuilder getApplicationsByStaffId ({required String staffId, }) { + return GetApplicationsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + CreateFaqDataVariablesBuilder createFaqData ({required String category, }) { + return CreateFaqDataVariablesBuilder(dataConnect, category: category,); + } + + + UpdateFaqDataVariablesBuilder updateFaqData ({required String id, }) { + return UpdateFaqDataVariablesBuilder(dataConnect, id: id,); + } + + + DeleteFaqDataVariablesBuilder deleteFaqData ({required String id, }) { + return DeleteFaqDataVariablesBuilder(dataConnect, id: id,); + } + + + ListShiftsVariablesBuilder listShifts () { + return ListShiftsVariablesBuilder(dataConnect, ); + } + + + GetShiftByIdVariablesBuilder getShiftById ({required String id, }) { + return GetShiftByIdVariablesBuilder(dataConnect, id: id,); + } + + + FilterShiftsVariablesBuilder filterShifts () { + return FilterShiftsVariablesBuilder(dataConnect, ); + } + + + GetShiftsByBusinessIdVariablesBuilder getShiftsByBusinessId ({required String businessId, }) { + return GetShiftsByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); + } + + + GetShiftsByVendorIdVariablesBuilder getShiftsByVendorId ({required String vendorId, }) { + return GetShiftsByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); + } + + + CreateStaffCourseVariablesBuilder createStaffCourse ({required String staffId, required String courseId, }) { + return CreateStaffCourseVariablesBuilder(dataConnect, staffId: staffId,courseId: courseId,); + } + + + UpdateStaffCourseVariablesBuilder updateStaffCourse ({required String id, }) { + return UpdateStaffCourseVariablesBuilder(dataConnect, id: id,); + } + + + DeleteStaffCourseVariablesBuilder deleteStaffCourse ({required String id, }) { + return DeleteStaffCourseVariablesBuilder(dataConnect, id: id,); + } + + + ListTeamMembersVariablesBuilder listTeamMembers () { + return ListTeamMembersVariablesBuilder(dataConnect, ); + } + + + GetTeamMemberByIdVariablesBuilder getTeamMemberById ({required String id, }) { + return GetTeamMemberByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetTeamMembersByTeamIdVariablesBuilder getTeamMembersByTeamId ({required String teamId, }) { + return GetTeamMembersByTeamIdVariablesBuilder(dataConnect, teamId: teamId,); + } + + + ListCertificatesVariablesBuilder listCertificates () { + return ListCertificatesVariablesBuilder(dataConnect, ); + } + + + GetCertificateByIdVariablesBuilder getCertificateById ({required String id, }) { + return GetCertificateByIdVariablesBuilder(dataConnect, id: id,); + } + + + ListCertificatesByStaffIdVariablesBuilder listCertificatesByStaffId ({required String staffId, }) { + return ListCertificatesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + CreateStaffAvailabilityStatsVariablesBuilder createStaffAvailabilityStats ({required String staffId, }) { + return CreateStaffAvailabilityStatsVariablesBuilder(dataConnect, staffId: staffId,); + } + + + UpdateStaffAvailabilityStatsVariablesBuilder updateStaffAvailabilityStats ({required String staffId, }) { + return UpdateStaffAvailabilityStatsVariablesBuilder(dataConnect, staffId: staffId,); + } + + + DeleteStaffAvailabilityStatsVariablesBuilder deleteStaffAvailabilityStats ({required String staffId, }) { + return DeleteStaffAvailabilityStatsVariablesBuilder(dataConnect, staffId: staffId,); + } + + + GetStaffCourseByIdVariablesBuilder getStaffCourseById ({required String id, }) { + return GetStaffCourseByIdVariablesBuilder(dataConnect, id: id,); + } + + + ListStaffCoursesByStaffIdVariablesBuilder listStaffCoursesByStaffId ({required String staffId, }) { + return ListStaffCoursesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + ListStaffCoursesByCourseIdVariablesBuilder listStaffCoursesByCourseId ({required String courseId, }) { + return ListStaffCoursesByCourseIdVariablesBuilder(dataConnect, courseId: courseId,); + } + + + GetStaffCourseByStaffAndCourseVariablesBuilder getStaffCourseByStaffAndCourse ({required String staffId, required String courseId, }) { + return GetStaffCourseByStaffAndCourseVariablesBuilder(dataConnect, staffId: staffId,courseId: courseId,); + } + + + GetStaffDocumentByKeyVariablesBuilder getStaffDocumentByKey ({required String staffId, required String documentId, }) { + return GetStaffDocumentByKeyVariablesBuilder(dataConnect, staffId: staffId,documentId: documentId,); + } + + + ListStaffDocumentsByStaffIdVariablesBuilder listStaffDocumentsByStaffId ({required String staffId, }) { + return ListStaffDocumentsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + ListStaffDocumentsByDocumentTypeVariablesBuilder listStaffDocumentsByDocumentType ({required DocumentType documentType, }) { + return ListStaffDocumentsByDocumentTypeVariablesBuilder(dataConnect, documentType: documentType,); + } + + + ListStaffDocumentsByStatusVariablesBuilder listStaffDocumentsByStatus ({required DocumentStatus status, }) { + return ListStaffDocumentsByStatusVariablesBuilder(dataConnect, status: status,); + } + + + CreateVendorVariablesBuilder createVendor ({required String userId, required String companyName, }) { + return CreateVendorVariablesBuilder(dataConnect, userId: userId,companyName: companyName,); + } + + + UpdateVendorVariablesBuilder updateVendor ({required String id, }) { + return UpdateVendorVariablesBuilder(dataConnect, id: id,); + } + + + DeleteVendorVariablesBuilder deleteVendor ({required String id, }) { + return DeleteVendorVariablesBuilder(dataConnect, id: id,); + } + + + CreateApplicationVariablesBuilder createApplication ({required String shiftId, required String staffId, required ApplicationStatus status, required ApplicationOrigin origin, required String roleId, }) { + return CreateApplicationVariablesBuilder(dataConnect, shiftId: shiftId,staffId: staffId,status: status,origin: origin,roleId: roleId,); + } + + + UpdateApplicationStatusVariablesBuilder updateApplicationStatus ({required String id, required String roleId, }) { + return UpdateApplicationStatusVariablesBuilder(dataConnect, id: id,roleId: roleId,); + } + + + DeleteApplicationVariablesBuilder deleteApplication ({required String id, }) { + return DeleteApplicationVariablesBuilder(dataConnect, id: id,); + } + + + CreateCourseVariablesBuilder createCourse ({required String categoryId, }) { + return CreateCourseVariablesBuilder(dataConnect, categoryId: categoryId,); + } + + + UpdateCourseVariablesBuilder updateCourse ({required String id, required String categoryId, }) { + return UpdateCourseVariablesBuilder(dataConnect, id: id,categoryId: categoryId,); + } + + + DeleteCourseVariablesBuilder deleteCourse ({required String id, }) { + return DeleteCourseVariablesBuilder(dataConnect, id: id,); + } + + + ListCoursesVariablesBuilder listCourses () { + return ListCoursesVariablesBuilder(dataConnect, ); + } + + + GetCourseByIdVariablesBuilder getCourseById ({required String id, }) { + return GetCourseByIdVariablesBuilder(dataConnect, id: id,); + } + + + FilterCoursesVariablesBuilder filterCourses () { + return FilterCoursesVariablesBuilder(dataConnect, ); + } + + + CreateHubVariablesBuilder createHub ({required String name, required String ownerId, }) { + return CreateHubVariablesBuilder(dataConnect, name: name,ownerId: ownerId,); + } + + + UpdateHubVariablesBuilder updateHub ({required String id, }) { + return UpdateHubVariablesBuilder(dataConnect, id: id,); + } + + + DeleteHubVariablesBuilder deleteHub ({required String id, }) { + return DeleteHubVariablesBuilder(dataConnect, id: id,); + } + + + CreateVendorRateVariablesBuilder createVendorRate ({required String vendorId, }) { + return CreateVendorRateVariablesBuilder(dataConnect, vendorId: vendorId,); + } + + + UpdateVendorRateVariablesBuilder updateVendorRate ({required String id, }) { + return UpdateVendorRateVariablesBuilder(dataConnect, id: id,); + } + + + DeleteVendorRateVariablesBuilder deleteVendorRate ({required String id, }) { + return DeleteVendorRateVariablesBuilder(dataConnect, id: id,); + } + + + GetWorkforceByIdVariablesBuilder getWorkforceById ({required String id, }) { + return GetWorkforceByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetWorkforceByVendorAndStaffVariablesBuilder getWorkforceByVendorAndStaff ({required String vendorId, required String staffId, }) { + return GetWorkforceByVendorAndStaffVariablesBuilder(dataConnect, vendorId: vendorId,staffId: staffId,); + } + + + ListWorkforceByVendorIdVariablesBuilder listWorkforceByVendorId ({required String vendorId, }) { + return ListWorkforceByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); + } + + + ListWorkforceByStaffIdVariablesBuilder listWorkforceByStaffId ({required String staffId, }) { + return ListWorkforceByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + GetWorkforceByVendorAndNumberVariablesBuilder getWorkforceByVendorAndNumber ({required String vendorId, required String workforceNumber, }) { + return GetWorkforceByVendorAndNumberVariablesBuilder(dataConnect, vendorId: vendorId,workforceNumber: workforceNumber,); + } + + + ListBenefitsDataVariablesBuilder listBenefitsData () { + return ListBenefitsDataVariablesBuilder(dataConnect, ); + } + + + GetBenefitsDataByKeyVariablesBuilder getBenefitsDataByKey ({required String staffId, required String vendorBenefitPlanId, }) { + return GetBenefitsDataByKeyVariablesBuilder(dataConnect, staffId: staffId,vendorBenefitPlanId: vendorBenefitPlanId,); + } + + + ListBenefitsDataByStaffIdVariablesBuilder listBenefitsDataByStaffId ({required String staffId, }) { + return ListBenefitsDataByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder listBenefitsDataByVendorBenefitPlanId ({required String vendorBenefitPlanId, }) { + return ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder(dataConnect, vendorBenefitPlanId: vendorBenefitPlanId,); + } + + + ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder listBenefitsDataByVendorBenefitPlanIds ({required List vendorBenefitPlanIds, }) { + return ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder(dataConnect, vendorBenefitPlanIds: vendorBenefitPlanIds,); + } + + + ListBusinessesVariablesBuilder listBusinesses () { + return ListBusinessesVariablesBuilder(dataConnect, ); + } + + + GetBusinessesByUserIdVariablesBuilder getBusinessesByUserId ({required String userId, }) { + return GetBusinessesByUserIdVariablesBuilder(dataConnect, userId: userId,); + } + + + GetBusinessByIdVariablesBuilder getBusinessById ({required String id, }) { + return GetBusinessByIdVariablesBuilder(dataConnect, id: id,); + } + + + ListTeamsVariablesBuilder listTeams () { + return ListTeamsVariablesBuilder(dataConnect, ); + } + + + GetTeamByIdVariablesBuilder getTeamById ({required String id, }) { + return GetTeamByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetTeamsByOwnerIdVariablesBuilder getTeamsByOwnerId ({required String ownerId, }) { + return GetTeamsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); + } + + + CreateTeamMemberVariablesBuilder createTeamMember ({required String teamId, required TeamMemberRole role, required String userId, }) { + return CreateTeamMemberVariablesBuilder(dataConnect, teamId: teamId,role: role,userId: userId,); + } + + + UpdateTeamMemberVariablesBuilder updateTeamMember ({required String id, }) { + return UpdateTeamMemberVariablesBuilder(dataConnect, id: id,); + } + + + UpdateTeamMemberInviteStatusVariablesBuilder updateTeamMemberInviteStatus ({required String id, required TeamMemberInviteStatus inviteStatus, }) { + return UpdateTeamMemberInviteStatusVariablesBuilder(dataConnect, id: id,inviteStatus: inviteStatus,); + } + + + AcceptInviteByCodeVariablesBuilder acceptInviteByCode ({required String inviteCode, }) { + return AcceptInviteByCodeVariablesBuilder(dataConnect, inviteCode: inviteCode,); + } + + + CancelInviteByCodeVariablesBuilder cancelInviteByCode ({required String inviteCode, }) { + return CancelInviteByCodeVariablesBuilder(dataConnect, inviteCode: inviteCode,); + } + + + DeleteTeamMemberVariablesBuilder deleteTeamMember ({required String id, }) { + return DeleteTeamMemberVariablesBuilder(dataConnect, id: id,); + } + + + CreateShiftRoleVariablesBuilder createShiftRole ({required String shiftId, required String roleId, required int count, }) { + return CreateShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,count: count,); + } + + + UpdateShiftRoleVariablesBuilder updateShiftRole ({required String shiftId, required String roleId, }) { + return UpdateShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,); + } + + + DeleteShiftRoleVariablesBuilder deleteShiftRole ({required String shiftId, required String roleId, }) { + return DeleteShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,); + } + + + CreateAccountVariablesBuilder createAccount ({required String bank, required AccountType type, required String last4, required String ownerId, }) { + return CreateAccountVariablesBuilder(dataConnect, bank: bank,type: type,last4: last4,ownerId: ownerId,); + } + + + UpdateAccountVariablesBuilder updateAccount ({required String id, }) { + return UpdateAccountVariablesBuilder(dataConnect, id: id,); + } + + + DeleteAccountVariablesBuilder deleteAccount ({required String id, }) { + return DeleteAccountVariablesBuilder(dataConnect, id: id,); + } + + + CreateAssignmentVariablesBuilder createAssignment ({required String workforceId, required String roleId, required String shiftId, }) { + return CreateAssignmentVariablesBuilder(dataConnect, workforceId: workforceId,roleId: roleId,shiftId: shiftId,); + } + + + UpdateAssignmentVariablesBuilder updateAssignment ({required String id, required String roleId, required String shiftId, }) { + return UpdateAssignmentVariablesBuilder(dataConnect, id: id,roleId: roleId,shiftId: shiftId,); + } + + + DeleteAssignmentVariablesBuilder deleteAssignment ({required String id, }) { + return DeleteAssignmentVariablesBuilder(dataConnect, id: id,); + } + + + CreateBenefitsDataVariablesBuilder createBenefitsData ({required String vendorBenefitPlanId, required String staffId, required int current, }) { + return CreateBenefitsDataVariablesBuilder(dataConnect, vendorBenefitPlanId: vendorBenefitPlanId,staffId: staffId,current: current,); + } + + + UpdateBenefitsDataVariablesBuilder updateBenefitsData ({required String staffId, required String vendorBenefitPlanId, }) { + return UpdateBenefitsDataVariablesBuilder(dataConnect, staffId: staffId,vendorBenefitPlanId: vendorBenefitPlanId,); + } + + + DeleteBenefitsDataVariablesBuilder deleteBenefitsData ({required String staffId, required String vendorBenefitPlanId, }) { + return DeleteBenefitsDataVariablesBuilder(dataConnect, staffId: staffId,vendorBenefitPlanId: vendorBenefitPlanId,); + } + + + CreateBusinessVariablesBuilder createBusiness ({required String businessName, required String userId, required BusinessRateGroup rateGroup, required BusinessStatus status, }) { + return CreateBusinessVariablesBuilder(dataConnect, businessName: businessName,userId: userId,rateGroup: rateGroup,status: status,); + } + + + UpdateBusinessVariablesBuilder updateBusiness ({required String id, }) { + return UpdateBusinessVariablesBuilder(dataConnect, id: id,); + } + + + DeleteBusinessVariablesBuilder deleteBusiness ({required String id, }) { + return DeleteBusinessVariablesBuilder(dataConnect, id: id,); + } + + ListRolesVariablesBuilder listRoles () { return ListRolesVariablesBuilder(dataConnect, ); } @@ -3585,13 +3800,198 @@ class ExampleConnector { } - CreateStaffRoleVariablesBuilder createStaffRole ({required String staffId, required String roleId, }) { - return CreateStaffRoleVariablesBuilder(dataConnect, staffId: staffId,roleId: roleId,); + CreateRoleCategoryVariablesBuilder createRoleCategory ({required String roleName, required RoleCategoryType category, }) { + return CreateRoleCategoryVariablesBuilder(dataConnect, roleName: roleName,category: category,); } - DeleteStaffRoleVariablesBuilder deleteStaffRole ({required String staffId, required String roleId, }) { - return DeleteStaffRoleVariablesBuilder(dataConnect, staffId: staffId,roleId: roleId,); + UpdateRoleCategoryVariablesBuilder updateRoleCategory ({required String id, }) { + return UpdateRoleCategoryVariablesBuilder(dataConnect, id: id,); + } + + + DeleteRoleCategoryVariablesBuilder deleteRoleCategory ({required String id, }) { + return DeleteRoleCategoryVariablesBuilder(dataConnect, id: id,); + } + + + CreateStaffAvailabilityVariablesBuilder createStaffAvailability ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { + return CreateStaffAvailabilityVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); + } + + + UpdateStaffAvailabilityVariablesBuilder updateStaffAvailability ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { + return UpdateStaffAvailabilityVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); + } + + + DeleteStaffAvailabilityVariablesBuilder deleteStaffAvailability ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { + return DeleteStaffAvailabilityVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); + } + + + ListAccountsVariablesBuilder listAccounts () { + return ListAccountsVariablesBuilder(dataConnect, ); + } + + + GetAccountByIdVariablesBuilder getAccountById ({required String id, }) { + return GetAccountByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetAccountsByOwnerIdVariablesBuilder getAccountsByOwnerId ({required String ownerId, }) { + return GetAccountsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); + } + + + FilterAccountsVariablesBuilder filterAccounts () { + return FilterAccountsVariablesBuilder(dataConnect, ); + } + + + ListHubsVariablesBuilder listHubs () { + return ListHubsVariablesBuilder(dataConnect, ); + } + + + GetHubByIdVariablesBuilder getHubById ({required String id, }) { + return GetHubByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetHubsByOwnerIdVariablesBuilder getHubsByOwnerId ({required String ownerId, }) { + return GetHubsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); + } + + + FilterHubsVariablesBuilder filterHubs () { + return FilterHubsVariablesBuilder(dataConnect, ); + } + + + CreateInvoiceVariablesBuilder createInvoice ({required InvoiceStatus status, required String vendorId, required String businessId, required String orderId, required String invoiceNumber, required Timestamp issueDate, required Timestamp dueDate, required double amount, }) { + return CreateInvoiceVariablesBuilder(dataConnect, status: status,vendorId: vendorId,businessId: businessId,orderId: orderId,invoiceNumber: invoiceNumber,issueDate: issueDate,dueDate: dueDate,amount: amount,); + } + + + UpdateInvoiceVariablesBuilder updateInvoice ({required String id, }) { + return UpdateInvoiceVariablesBuilder(dataConnect, id: id,); + } + + + DeleteInvoiceVariablesBuilder deleteInvoice ({required String id, }) { + return DeleteInvoiceVariablesBuilder(dataConnect, id: id,); + } + + + ListInvoicesVariablesBuilder listInvoices () { + return ListInvoicesVariablesBuilder(dataConnect, ); + } + + + GetInvoiceByIdVariablesBuilder getInvoiceById ({required String id, }) { + return GetInvoiceByIdVariablesBuilder(dataConnect, id: id,); + } + + + ListInvoicesByVendorIdVariablesBuilder listInvoicesByVendorId ({required String vendorId, }) { + return ListInvoicesByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); + } + + + ListInvoicesByBusinessIdVariablesBuilder listInvoicesByBusinessId ({required String businessId, }) { + return ListInvoicesByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); + } + + + ListInvoicesByOrderIdVariablesBuilder listInvoicesByOrderId ({required String orderId, }) { + return ListInvoicesByOrderIdVariablesBuilder(dataConnect, orderId: orderId,); + } + + + ListInvoicesByStatusVariablesBuilder listInvoicesByStatus ({required InvoiceStatus status, }) { + return ListInvoicesByStatusVariablesBuilder(dataConnect, status: status,); + } + + + FilterInvoicesVariablesBuilder filterInvoices () { + return FilterInvoicesVariablesBuilder(dataConnect, ); + } + + + ListOverdueInvoicesVariablesBuilder listOverdueInvoices ({required Timestamp now, }) { + return ListOverdueInvoicesVariablesBuilder(dataConnect, now: now,); + } + + + CreateMessageVariablesBuilder createMessage ({required String conversationId, required String senderId, required String content, }) { + return CreateMessageVariablesBuilder(dataConnect, conversationId: conversationId,senderId: senderId,content: content,); + } + + + UpdateMessageVariablesBuilder updateMessage ({required String id, }) { + return UpdateMessageVariablesBuilder(dataConnect, id: id,); + } + + + DeleteMessageVariablesBuilder deleteMessage ({required String id, }) { + return DeleteMessageVariablesBuilder(dataConnect, id: id,); + } + + + ListRecentPaymentsVariablesBuilder listRecentPayments () { + return ListRecentPaymentsVariablesBuilder(dataConnect, ); + } + + + GetRecentPaymentByIdVariablesBuilder getRecentPaymentById ({required String id, }) { + return GetRecentPaymentByIdVariablesBuilder(dataConnect, id: id,); + } + + + ListRecentPaymentsByStaffIdVariablesBuilder listRecentPaymentsByStaffId ({required String staffId, }) { + return ListRecentPaymentsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + ListRecentPaymentsByApplicationIdVariablesBuilder listRecentPaymentsByApplicationId ({required String applicationId, }) { + return ListRecentPaymentsByApplicationIdVariablesBuilder(dataConnect, applicationId: applicationId,); + } + + + ListRecentPaymentsByInvoiceIdVariablesBuilder listRecentPaymentsByInvoiceId ({required String invoiceId, }) { + return ListRecentPaymentsByInvoiceIdVariablesBuilder(dataConnect, invoiceId: invoiceId,); + } + + + ListRecentPaymentsByStatusVariablesBuilder listRecentPaymentsByStatus ({required RecentPaymentStatus status, }) { + return ListRecentPaymentsByStatusVariablesBuilder(dataConnect, status: status,); + } + + + ListRecentPaymentsByInvoiceIdsVariablesBuilder listRecentPaymentsByInvoiceIds ({required List invoiceIds, }) { + return ListRecentPaymentsByInvoiceIdsVariablesBuilder(dataConnect, invoiceIds: invoiceIds,); + } + + + ListRecentPaymentsByBusinessIdVariablesBuilder listRecentPaymentsByBusinessId ({required String businessId, }) { + return ListRecentPaymentsByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); + } + + + CreateStaffDocumentVariablesBuilder createStaffDocument ({required String staffId, required String staffName, required String documentId, required DocumentStatus status, }) { + return CreateStaffDocumentVariablesBuilder(dataConnect, staffId: staffId,staffName: staffName,documentId: documentId,status: status,); + } + + + UpdateStaffDocumentVariablesBuilder updateStaffDocument ({required String staffId, required String documentId, }) { + return UpdateStaffDocumentVariablesBuilder(dataConnect, staffId: staffId,documentId: documentId,); + } + + + DeleteStaffDocumentVariablesBuilder deleteStaffDocument ({required String staffId, required String documentId, }) { + return DeleteStaffDocumentVariablesBuilder(dataConnect, staffId: staffId,documentId: documentId,); } @@ -3615,58 +4015,118 @@ class ExampleConnector { } - ListCertificatesVariablesBuilder listCertificates () { - return ListCertificatesVariablesBuilder(dataConnect, ); + ListInvoiceTemplatesVariablesBuilder listInvoiceTemplates () { + return ListInvoiceTemplatesVariablesBuilder(dataConnect, ); } - GetCertificateByIdVariablesBuilder getCertificateById ({required String id, }) { - return GetCertificateByIdVariablesBuilder(dataConnect, id: id,); + GetInvoiceTemplateByIdVariablesBuilder getInvoiceTemplateById ({required String id, }) { + return GetInvoiceTemplateByIdVariablesBuilder(dataConnect, id: id,); } - ListCertificatesByStaffIdVariablesBuilder listCertificatesByStaffId ({required String staffId, }) { - return ListCertificatesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + ListInvoiceTemplatesByOwnerIdVariablesBuilder listInvoiceTemplatesByOwnerId ({required String ownerId, }) { + return ListInvoiceTemplatesByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); } - ListTeamMembersVariablesBuilder listTeamMembers () { - return ListTeamMembersVariablesBuilder(dataConnect, ); + ListInvoiceTemplatesByVendorIdVariablesBuilder listInvoiceTemplatesByVendorId ({required String vendorId, }) { + return ListInvoiceTemplatesByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); } - GetTeamMemberByIdVariablesBuilder getTeamMemberById ({required String id, }) { - return GetTeamMemberByIdVariablesBuilder(dataConnect, id: id,); + ListInvoiceTemplatesByBusinessIdVariablesBuilder listInvoiceTemplatesByBusinessId ({required String businessId, }) { + return ListInvoiceTemplatesByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); } - GetTeamMembersByTeamIdVariablesBuilder getTeamMembersByTeamId ({required String teamId, }) { - return GetTeamMembersByTeamIdVariablesBuilder(dataConnect, teamId: teamId,); + ListInvoiceTemplatesByOrderIdVariablesBuilder listInvoiceTemplatesByOrderId ({required String orderId, }) { + return ListInvoiceTemplatesByOrderIdVariablesBuilder(dataConnect, orderId: orderId,); } - CreateUserConversationVariablesBuilder createUserConversation ({required String conversationId, required String userId, }) { - return CreateUserConversationVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); + SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder searchInvoiceTemplatesByOwnerAndName ({required String ownerId, required String name, }) { + return SearchInvoiceTemplatesByOwnerAndNameVariablesBuilder(dataConnect, ownerId: ownerId,name: name,); } - UpdateUserConversationVariablesBuilder updateUserConversation ({required String conversationId, required String userId, }) { - return UpdateUserConversationVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); + ListLevelsVariablesBuilder listLevels () { + return ListLevelsVariablesBuilder(dataConnect, ); } - MarkConversationAsReadVariablesBuilder markConversationAsRead ({required String conversationId, required String userId, }) { - return MarkConversationAsReadVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); + GetLevelByIdVariablesBuilder getLevelById ({required String id, }) { + return GetLevelByIdVariablesBuilder(dataConnect, id: id,); } - IncrementUnreadForUserVariablesBuilder incrementUnreadForUser ({required String conversationId, required String userId, required int unreadCount, }) { - return IncrementUnreadForUserVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,unreadCount: unreadCount,); + FilterLevelsVariablesBuilder filterLevels () { + return FilterLevelsVariablesBuilder(dataConnect, ); } - DeleteUserConversationVariablesBuilder deleteUserConversation ({required String conversationId, required String userId, }) { - return DeleteUserConversationVariablesBuilder(dataConnect, conversationId: conversationId,userId: userId,); + CreateStaffVariablesBuilder createStaff ({required String userId, required String fullName, }) { + return CreateStaffVariablesBuilder(dataConnect, userId: userId,fullName: fullName,); + } + + + UpdateStaffVariablesBuilder updateStaff ({required String id, }) { + return UpdateStaffVariablesBuilder(dataConnect, id: id,); + } + + + DeleteStaffVariablesBuilder deleteStaff ({required String id, }) { + return DeleteStaffVariablesBuilder(dataConnect, id: id,); + } + + + CreateTaskCommentVariablesBuilder createTaskComment ({required String taskId, required String teamMemberId, required String comment, }) { + return CreateTaskCommentVariablesBuilder(dataConnect, taskId: taskId,teamMemberId: teamMemberId,comment: comment,); + } + + + UpdateTaskCommentVariablesBuilder updateTaskComment ({required String id, }) { + return UpdateTaskCommentVariablesBuilder(dataConnect, id: id,); + } + + + DeleteTaskCommentVariablesBuilder deleteTaskComment ({required String id, }) { + return DeleteTaskCommentVariablesBuilder(dataConnect, id: id,); + } + + + CreateTeamHubVariablesBuilder createTeamHub ({required String teamId, required String hubName, required String address, }) { + return CreateTeamHubVariablesBuilder(dataConnect, teamId: teamId,hubName: hubName,address: address,); + } + + + UpdateTeamHubVariablesBuilder updateTeamHub ({required String id, }) { + return UpdateTeamHubVariablesBuilder(dataConnect, id: id,); + } + + + DeleteTeamHubVariablesBuilder deleteTeamHub ({required String id, }) { + return DeleteTeamHubVariablesBuilder(dataConnect, id: id,); + } + + + ListTeamHubsVariablesBuilder listTeamHubs () { + return ListTeamHubsVariablesBuilder(dataConnect, ); + } + + + GetTeamHubByIdVariablesBuilder getTeamHubById ({required String id, }) { + return GetTeamHubByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetTeamHubsByTeamIdVariablesBuilder getTeamHubsByTeamId ({required String teamId, }) { + return GetTeamHubsByTeamIdVariablesBuilder(dataConnect, teamId: teamId,); + } + + + ListTeamHubsByOwnerIdVariablesBuilder listTeamHubsByOwnerId ({required String ownerId, }) { + return ListTeamHubsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); } @@ -3700,188 +4160,83 @@ class ExampleConnector { } - ListDocumentsVariablesBuilder listDocuments () { - return ListDocumentsVariablesBuilder(dataConnect, ); + CreateCustomRateCardVariablesBuilder createCustomRateCard ({required String name, }) { + return CreateCustomRateCardVariablesBuilder(dataConnect, name: name,); } - GetDocumentByIdVariablesBuilder getDocumentById ({required String id, }) { - return GetDocumentByIdVariablesBuilder(dataConnect, id: id,); + UpdateCustomRateCardVariablesBuilder updateCustomRateCard ({required String id, }) { + return UpdateCustomRateCardVariablesBuilder(dataConnect, id: id,); } - FilterDocumentsVariablesBuilder filterDocuments () { - return FilterDocumentsVariablesBuilder(dataConnect, ); + DeleteCustomRateCardVariablesBuilder deleteCustomRateCard ({required String id, }) { + return DeleteCustomRateCardVariablesBuilder(dataConnect, id: id,); } - CreateAccountVariablesBuilder createAccount ({required String bank, required AccountType type, required String last4, required String ownerId, }) { - return CreateAccountVariablesBuilder(dataConnect, bank: bank,type: type,last4: last4,ownerId: ownerId,); + CreateAttireOptionVariablesBuilder createAttireOption ({required String itemId, required String label, }) { + return CreateAttireOptionVariablesBuilder(dataConnect, itemId: itemId,label: label,); } - UpdateAccountVariablesBuilder updateAccount ({required String id, }) { - return UpdateAccountVariablesBuilder(dataConnect, id: id,); + UpdateAttireOptionVariablesBuilder updateAttireOption ({required String id, }) { + return UpdateAttireOptionVariablesBuilder(dataConnect, id: id,); } - DeleteAccountVariablesBuilder deleteAccount ({required String id, }) { - return DeleteAccountVariablesBuilder(dataConnect, id: id,); + DeleteAttireOptionVariablesBuilder deleteAttireOption ({required String id, }) { + return DeleteAttireOptionVariablesBuilder(dataConnect, id: id,); } - CreateInvoiceTemplateVariablesBuilder createInvoiceTemplate ({required String name, required String ownerId, }) { - return CreateInvoiceTemplateVariablesBuilder(dataConnect, name: name,ownerId: ownerId,); + CreateClientFeedbackVariablesBuilder createClientFeedback ({required String businessId, required String vendorId, }) { + return CreateClientFeedbackVariablesBuilder(dataConnect, businessId: businessId,vendorId: vendorId,); } - UpdateInvoiceTemplateVariablesBuilder updateInvoiceTemplate ({required String id, }) { - return UpdateInvoiceTemplateVariablesBuilder(dataConnect, id: id,); + UpdateClientFeedbackVariablesBuilder updateClientFeedback ({required String id, }) { + return UpdateClientFeedbackVariablesBuilder(dataConnect, id: id,); } - DeleteInvoiceTemplateVariablesBuilder deleteInvoiceTemplate ({required String id, }) { - return DeleteInvoiceTemplateVariablesBuilder(dataConnect, id: id,); + DeleteClientFeedbackVariablesBuilder deleteClientFeedback ({required String id, }) { + return DeleteClientFeedbackVariablesBuilder(dataConnect, id: id,); } - CreateMemberTaskVariablesBuilder createMemberTask ({required String teamMemberId, required String taskId, }) { - return CreateMemberTaskVariablesBuilder(dataConnect, teamMemberId: teamMemberId,taskId: taskId,); + CreateConversationVariablesBuilder createConversation () { + return CreateConversationVariablesBuilder(dataConnect, ); } - DeleteMemberTaskVariablesBuilder deleteMemberTask ({required String teamMemberId, required String taskId, }) { - return DeleteMemberTaskVariablesBuilder(dataConnect, teamMemberId: teamMemberId,taskId: taskId,); + UpdateConversationVariablesBuilder updateConversation ({required String id, }) { + return UpdateConversationVariablesBuilder(dataConnect, id: id,); } - CreateMessageVariablesBuilder createMessage ({required String conversationId, required String senderId, required String content, }) { - return CreateMessageVariablesBuilder(dataConnect, conversationId: conversationId,senderId: senderId,content: content,); + UpdateConversationLastMessageVariablesBuilder updateConversationLastMessage ({required String id, }) { + return UpdateConversationLastMessageVariablesBuilder(dataConnect, id: id,); } - UpdateMessageVariablesBuilder updateMessage ({required String id, }) { - return UpdateMessageVariablesBuilder(dataConnect, id: id,); + DeleteConversationVariablesBuilder deleteConversation ({required String id, }) { + return DeleteConversationVariablesBuilder(dataConnect, id: id,); } - DeleteMessageVariablesBuilder deleteMessage ({required String id, }) { - return DeleteMessageVariablesBuilder(dataConnect, id: id,); + CreateEmergencyContactVariablesBuilder createEmergencyContact ({required String name, required String phone, required RelationshipType relationship, required String staffId, }) { + return CreateEmergencyContactVariablesBuilder(dataConnect, name: name,phone: phone,relationship: relationship,staffId: staffId,); } - ListTaskCommentsVariablesBuilder listTaskComments () { - return ListTaskCommentsVariablesBuilder(dataConnect, ); + UpdateEmergencyContactVariablesBuilder updateEmergencyContact ({required String id, }) { + return UpdateEmergencyContactVariablesBuilder(dataConnect, id: id,); } - GetTaskCommentByIdVariablesBuilder getTaskCommentById ({required String id, }) { - return GetTaskCommentByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetTaskCommentsByTaskIdVariablesBuilder getTaskCommentsByTaskId ({required String taskId, }) { - return GetTaskCommentsByTaskIdVariablesBuilder(dataConnect, taskId: taskId,); - } - - - ListTeamsVariablesBuilder listTeams () { - return ListTeamsVariablesBuilder(dataConnect, ); - } - - - GetTeamByIdVariablesBuilder getTeamById ({required String id, }) { - return GetTeamByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetTeamsByOwnerIdVariablesBuilder getTeamsByOwnerId ({required String ownerId, }) { - return GetTeamsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); - } - - - GetWorkforceByIdVariablesBuilder getWorkforceById ({required String id, }) { - return GetWorkforceByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetWorkforceByVendorAndStaffVariablesBuilder getWorkforceByVendorAndStaff ({required String vendorId, required String staffId, }) { - return GetWorkforceByVendorAndStaffVariablesBuilder(dataConnect, vendorId: vendorId,staffId: staffId,); - } - - - ListWorkforceByVendorIdVariablesBuilder listWorkforceByVendorId ({required String vendorId, }) { - return ListWorkforceByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - ListWorkforceByStaffIdVariablesBuilder listWorkforceByStaffId ({required String staffId, }) { - return ListWorkforceByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - GetWorkforceByVendorAndNumberVariablesBuilder getWorkforceByVendorAndNumber ({required String vendorId, required String workforceNumber, }) { - return GetWorkforceByVendorAndNumberVariablesBuilder(dataConnect, vendorId: vendorId,workforceNumber: workforceNumber,); - } - - - CreateActivityLogVariablesBuilder createActivityLog ({required String userId, required Timestamp date, required String title, required String description, required ActivityType activityType, }) { - return CreateActivityLogVariablesBuilder(dataConnect, userId: userId,date: date,title: title,description: description,activityType: activityType,); - } - - - UpdateActivityLogVariablesBuilder updateActivityLog ({required String id, }) { - return UpdateActivityLogVariablesBuilder(dataConnect, id: id,); - } - - - MarkActivityLogAsReadVariablesBuilder markActivityLogAsRead ({required String id, }) { - return MarkActivityLogAsReadVariablesBuilder(dataConnect, id: id,); - } - - - MarkActivityLogsAsReadVariablesBuilder markActivityLogsAsRead ({required List ids, }) { - return MarkActivityLogsAsReadVariablesBuilder(dataConnect, ids: ids,); - } - - - DeleteActivityLogVariablesBuilder deleteActivityLog ({required String id, }) { - return DeleteActivityLogVariablesBuilder(dataConnect, id: id,); - } - - - CreateHubVariablesBuilder createHub ({required String name, required String ownerId, }) { - return CreateHubVariablesBuilder(dataConnect, name: name,ownerId: ownerId,); - } - - - UpdateHubVariablesBuilder updateHub ({required String id, }) { - return UpdateHubVariablesBuilder(dataConnect, id: id,); - } - - - DeleteHubVariablesBuilder deleteHub ({required String id, }) { - return DeleteHubVariablesBuilder(dataConnect, id: id,); - } - - - ListHubsVariablesBuilder listHubs () { - return ListHubsVariablesBuilder(dataConnect, ); - } - - - GetHubByIdVariablesBuilder getHubById ({required String id, }) { - return GetHubByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetHubsByOwnerIdVariablesBuilder getHubsByOwnerId ({required String ownerId, }) { - return GetHubsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); - } - - - FilterHubsVariablesBuilder filterHubs () { - return FilterHubsVariablesBuilder(dataConnect, ); + DeleteEmergencyContactVariablesBuilder deleteEmergencyContact ({required String id, }) { + return DeleteEmergencyContactVariablesBuilder(dataConnect, id: id,); } @@ -3910,23 +4265,168 @@ class ExampleConnector { } - ListTeamHubsVariablesBuilder listTeamHubs () { - return ListTeamHubsVariablesBuilder(dataConnect, ); + ListTasksVariablesBuilder listTasks () { + return ListTasksVariablesBuilder(dataConnect, ); } - GetTeamHubByIdVariablesBuilder getTeamHubById ({required String id, }) { - return GetTeamHubByIdVariablesBuilder(dataConnect, id: id,); + GetTaskByIdVariablesBuilder getTaskById ({required String id, }) { + return GetTaskByIdVariablesBuilder(dataConnect, id: id,); } - GetTeamHubsByTeamIdVariablesBuilder getTeamHubsByTeamId ({required String teamId, }) { - return GetTeamHubsByTeamIdVariablesBuilder(dataConnect, teamId: teamId,); + GetTasksByOwnerIdVariablesBuilder getTasksByOwnerId ({required String ownerId, }) { + return GetTasksByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); } - ListTeamHubsByOwnerIdVariablesBuilder listTeamHubsByOwnerId ({required String ownerId, }) { - return ListTeamHubsByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); + FilterTasksVariablesBuilder filterTasks () { + return FilterTasksVariablesBuilder(dataConnect, ); + } + + + ListUsersVariablesBuilder listUsers () { + return ListUsersVariablesBuilder(dataConnect, ); + } + + + GetUserByIdVariablesBuilder getUserById ({required String id, }) { + return GetUserByIdVariablesBuilder(dataConnect, id: id,); + } + + + FilterUsersVariablesBuilder filterUsers () { + return FilterUsersVariablesBuilder(dataConnect, ); + } + + + CreateActivityLogVariablesBuilder createActivityLog ({required String userId, required Timestamp date, required String title, required String description, required ActivityType activityType, }) { + return CreateActivityLogVariablesBuilder(dataConnect, userId: userId,date: date,title: title,description: description,activityType: activityType,); + } + + + UpdateActivityLogVariablesBuilder updateActivityLog ({required String id, }) { + return UpdateActivityLogVariablesBuilder(dataConnect, id: id,); + } + + + MarkActivityLogAsReadVariablesBuilder markActivityLogAsRead ({required String id, }) { + return MarkActivityLogAsReadVariablesBuilder(dataConnect, id: id,); + } + + + MarkActivityLogsAsReadVariablesBuilder markActivityLogsAsRead ({required List ids, }) { + return MarkActivityLogsAsReadVariablesBuilder(dataConnect, ids: ids,); + } + + + DeleteActivityLogVariablesBuilder deleteActivityLog ({required String id, }) { + return DeleteActivityLogVariablesBuilder(dataConnect, id: id,); + } + + + ListEmergencyContactsVariablesBuilder listEmergencyContacts () { + return ListEmergencyContactsVariablesBuilder(dataConnect, ); + } + + + GetEmergencyContactByIdVariablesBuilder getEmergencyContactById ({required String id, }) { + return GetEmergencyContactByIdVariablesBuilder(dataConnect, id: id,); + } + + + GetEmergencyContactsByStaffIdVariablesBuilder getEmergencyContactsByStaffId ({required String staffId, }) { + return GetEmergencyContactsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + } + + + CreateMemberTaskVariablesBuilder createMemberTask ({required String teamMemberId, required String taskId, }) { + return CreateMemberTaskVariablesBuilder(dataConnect, teamMemberId: teamMemberId,taskId: taskId,); + } + + + DeleteMemberTaskVariablesBuilder deleteMemberTask ({required String teamMemberId, required String taskId, }) { + return DeleteMemberTaskVariablesBuilder(dataConnect, teamMemberId: teamMemberId,taskId: taskId,); + } + + + CreateRecentPaymentVariablesBuilder createRecentPayment ({required String staffId, required String applicationId, required String invoiceId, }) { + return CreateRecentPaymentVariablesBuilder(dataConnect, staffId: staffId,applicationId: applicationId,invoiceId: invoiceId,); + } + + + UpdateRecentPaymentVariablesBuilder updateRecentPayment ({required String id, }) { + return UpdateRecentPaymentVariablesBuilder(dataConnect, id: id,); + } + + + DeleteRecentPaymentVariablesBuilder deleteRecentPayment ({required String id, }) { + return DeleteRecentPaymentVariablesBuilder(dataConnect, id: id,); + } + + + ListVendorBenefitPlansVariablesBuilder listVendorBenefitPlans () { + return ListVendorBenefitPlansVariablesBuilder(dataConnect, ); + } + + + GetVendorBenefitPlanByIdVariablesBuilder getVendorBenefitPlanById ({required String id, }) { + return GetVendorBenefitPlanByIdVariablesBuilder(dataConnect, id: id,); + } + + + ListVendorBenefitPlansByVendorIdVariablesBuilder listVendorBenefitPlansByVendorId ({required String vendorId, }) { + return ListVendorBenefitPlansByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); + } + + + ListActiveVendorBenefitPlansByVendorIdVariablesBuilder listActiveVendorBenefitPlansByVendorId ({required String vendorId, }) { + return ListActiveVendorBenefitPlansByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); + } + + + FilterVendorBenefitPlansVariablesBuilder filterVendorBenefitPlans () { + return FilterVendorBenefitPlansVariablesBuilder(dataConnect, ); + } + + + ListCustomRateCardsVariablesBuilder listCustomRateCards () { + return ListCustomRateCardsVariablesBuilder(dataConnect, ); + } + + + GetCustomRateCardByIdVariablesBuilder getCustomRateCardById ({required String id, }) { + return GetCustomRateCardByIdVariablesBuilder(dataConnect, id: id,); + } + + + CreateDocumentVariablesBuilder createDocument ({required DocumentType documentType, required String name, }) { + return CreateDocumentVariablesBuilder(dataConnect, documentType: documentType,name: name,); + } + + + UpdateDocumentVariablesBuilder updateDocument ({required String id, }) { + return UpdateDocumentVariablesBuilder(dataConnect, id: id,); + } + + + DeleteDocumentVariablesBuilder deleteDocument ({required String id, }) { + return DeleteDocumentVariablesBuilder(dataConnect, id: id,); + } + + + GetMyTasksVariablesBuilder getMyTasks ({required String teamMemberId, }) { + return GetMyTasksVariablesBuilder(dataConnect, teamMemberId: teamMemberId,); + } + + + GetMemberTaskByIdKeyVariablesBuilder getMemberTaskByIdKey ({required String teamMemberId, required String taskId, }) { + return GetMemberTaskByIdKeyVariablesBuilder(dataConnect, teamMemberId: teamMemberId,taskId: taskId,); + } + + + GetMemberTasksByTaskIdVariablesBuilder getMemberTasksByTaskId ({required String taskId, }) { + return GetMemberTasksByTaskIdVariablesBuilder(dataConnect, taskId: taskId,); } @@ -3965,518 +4465,18 @@ class ExampleConnector { } - ListStaffAvailabilityStatsVariablesBuilder listStaffAvailabilityStats () { - return ListStaffAvailabilityStatsVariablesBuilder(dataConnect, ); + CreateShiftVariablesBuilder createShift ({required String title, required String orderId, }) { + return CreateShiftVariablesBuilder(dataConnect, title: title,orderId: orderId,); } - GetStaffAvailabilityStatsByStaffIdVariablesBuilder getStaffAvailabilityStatsByStaffId ({required String staffId, }) { - return GetStaffAvailabilityStatsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); + UpdateShiftVariablesBuilder updateShift ({required String id, }) { + return UpdateShiftVariablesBuilder(dataConnect, id: id,); } - FilterStaffAvailabilityStatsVariablesBuilder filterStaffAvailabilityStats () { - return FilterStaffAvailabilityStatsVariablesBuilder(dataConnect, ); - } - - - GetStaffCourseByIdVariablesBuilder getStaffCourseById ({required String id, }) { - return GetStaffCourseByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListStaffCoursesByStaffIdVariablesBuilder listStaffCoursesByStaffId ({required String staffId, }) { - return ListStaffCoursesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - ListStaffCoursesByCourseIdVariablesBuilder listStaffCoursesByCourseId ({required String courseId, }) { - return ListStaffCoursesByCourseIdVariablesBuilder(dataConnect, courseId: courseId,); - } - - - GetStaffCourseByStaffAndCourseVariablesBuilder getStaffCourseByStaffAndCourse ({required String staffId, required String courseId, }) { - return GetStaffCourseByStaffAndCourseVariablesBuilder(dataConnect, staffId: staffId,courseId: courseId,); - } - - - CreateTaskCommentVariablesBuilder createTaskComment ({required String taskId, required String teamMemberId, required String comment, }) { - return CreateTaskCommentVariablesBuilder(dataConnect, taskId: taskId,teamMemberId: teamMemberId,comment: comment,); - } - - - UpdateTaskCommentVariablesBuilder updateTaskComment ({required String id, }) { - return UpdateTaskCommentVariablesBuilder(dataConnect, id: id,); - } - - - DeleteTaskCommentVariablesBuilder deleteTaskComment ({required String id, }) { - return DeleteTaskCommentVariablesBuilder(dataConnect, id: id,); - } - - - CreateTeamHubVariablesBuilder createTeamHub ({required String teamId, required String hubName, required String address, required String city, }) { - return CreateTeamHubVariablesBuilder(dataConnect, teamId: teamId,hubName: hubName,address: address,city: city,); - } - - - UpdateTeamHubVariablesBuilder updateTeamHub ({required String id, }) { - return UpdateTeamHubVariablesBuilder(dataConnect, id: id,); - } - - - DeleteTeamHubVariablesBuilder deleteTeamHub ({required String id, }) { - return DeleteTeamHubVariablesBuilder(dataConnect, id: id,); - } - - - CreateVendorRateVariablesBuilder createVendorRate ({required String vendorId, }) { - return CreateVendorRateVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - UpdateVendorRateVariablesBuilder updateVendorRate ({required String id, }) { - return UpdateVendorRateVariablesBuilder(dataConnect, id: id,); - } - - - DeleteVendorRateVariablesBuilder deleteVendorRate ({required String id, }) { - return DeleteVendorRateVariablesBuilder(dataConnect, id: id,); - } - - - ListAssignmentsVariablesBuilder listAssignments () { - return ListAssignmentsVariablesBuilder(dataConnect, ); - } - - - GetAssignmentByIdVariablesBuilder getAssignmentById ({required String id, }) { - return GetAssignmentByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListAssignmentsByWorkforceIdVariablesBuilder listAssignmentsByWorkforceId ({required String workforceId, }) { - return ListAssignmentsByWorkforceIdVariablesBuilder(dataConnect, workforceId: workforceId,); - } - - - ListAssignmentsByWorkforceIdsVariablesBuilder listAssignmentsByWorkforceIds ({required List workforceIds, }) { - return ListAssignmentsByWorkforceIdsVariablesBuilder(dataConnect, workforceIds: workforceIds,); - } - - - ListAssignmentsByShiftRoleVariablesBuilder listAssignmentsByShiftRole ({required String shiftId, required String roleId, }) { - return ListAssignmentsByShiftRoleVariablesBuilder(dataConnect, shiftId: shiftId,roleId: roleId,); - } - - - FilterAssignmentsVariablesBuilder filterAssignments ({required List shiftIds, required List roleIds, }) { - return FilterAssignmentsVariablesBuilder(dataConnect, shiftIds: shiftIds,roleIds: roleIds,); - } - - - ListCoursesVariablesBuilder listCourses () { - return ListCoursesVariablesBuilder(dataConnect, ); - } - - - GetCourseByIdVariablesBuilder getCourseById ({required String id, }) { - return GetCourseByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterCoursesVariablesBuilder filterCourses () { - return FilterCoursesVariablesBuilder(dataConnect, ); - } - - - CreateCustomRateCardVariablesBuilder createCustomRateCard ({required String name, }) { - return CreateCustomRateCardVariablesBuilder(dataConnect, name: name,); - } - - - UpdateCustomRateCardVariablesBuilder updateCustomRateCard ({required String id, }) { - return UpdateCustomRateCardVariablesBuilder(dataConnect, id: id,); - } - - - DeleteCustomRateCardVariablesBuilder deleteCustomRateCard ({required String id, }) { - return DeleteCustomRateCardVariablesBuilder(dataConnect, id: id,); - } - - - ListCustomRateCardsVariablesBuilder listCustomRateCards () { - return ListCustomRateCardsVariablesBuilder(dataConnect, ); - } - - - GetCustomRateCardByIdVariablesBuilder getCustomRateCardById ({required String id, }) { - return GetCustomRateCardByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListStaffAvailabilitiesVariablesBuilder listStaffAvailabilities () { - return ListStaffAvailabilitiesVariablesBuilder(dataConnect, ); - } - - - ListStaffAvailabilitiesByStaffIdVariablesBuilder listStaffAvailabilitiesByStaffId ({required String staffId, }) { - return ListStaffAvailabilitiesByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - GetStaffAvailabilityByKeyVariablesBuilder getStaffAvailabilityByKey ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { - return GetStaffAvailabilityByKeyVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); - } - - - ListStaffAvailabilitiesByDayVariablesBuilder listStaffAvailabilitiesByDay ({required DayOfWeek day, }) { - return ListStaffAvailabilitiesByDayVariablesBuilder(dataConnect, day: day,); - } - - - CreateStaffCourseVariablesBuilder createStaffCourse ({required String staffId, required String courseId, }) { - return CreateStaffCourseVariablesBuilder(dataConnect, staffId: staffId,courseId: courseId,); - } - - - UpdateStaffCourseVariablesBuilder updateStaffCourse ({required String id, }) { - return UpdateStaffCourseVariablesBuilder(dataConnect, id: id,); - } - - - DeleteStaffCourseVariablesBuilder deleteStaffCourse ({required String id, }) { - return DeleteStaffCourseVariablesBuilder(dataConnect, id: id,); - } - - - ListUsersVariablesBuilder listUsers () { - return ListUsersVariablesBuilder(dataConnect, ); - } - - - GetUserByIdVariablesBuilder getUserById ({required String id, }) { - return GetUserByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterUsersVariablesBuilder filterUsers () { - return FilterUsersVariablesBuilder(dataConnect, ); - } - - - CreateVendorVariablesBuilder createVendor ({required String userId, required String companyName, }) { - return CreateVendorVariablesBuilder(dataConnect, userId: userId,companyName: companyName,); - } - - - UpdateVendorVariablesBuilder updateVendor ({required String id, }) { - return UpdateVendorVariablesBuilder(dataConnect, id: id,); - } - - - DeleteVendorVariablesBuilder deleteVendor ({required String id, }) { - return DeleteVendorVariablesBuilder(dataConnect, id: id,); - } - - - CreateDocumentVariablesBuilder createDocument ({required DocumentType documentType, required String name, }) { - return CreateDocumentVariablesBuilder(dataConnect, documentType: documentType,name: name,); - } - - - UpdateDocumentVariablesBuilder updateDocument ({required String id, }) { - return UpdateDocumentVariablesBuilder(dataConnect, id: id,); - } - - - DeleteDocumentVariablesBuilder deleteDocument ({required String id, }) { - return DeleteDocumentVariablesBuilder(dataConnect, id: id,); - } - - - ListActivityLogsVariablesBuilder listActivityLogs () { - return ListActivityLogsVariablesBuilder(dataConnect, ); - } - - - GetActivityLogByIdVariablesBuilder getActivityLogById ({required String id, }) { - return GetActivityLogByIdVariablesBuilder(dataConnect, id: id,); - } - - - ListActivityLogsByUserIdVariablesBuilder listActivityLogsByUserId ({required String userId, }) { - return ListActivityLogsByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - ListUnreadActivityLogsByUserIdVariablesBuilder listUnreadActivityLogsByUserId ({required String userId, }) { - return ListUnreadActivityLogsByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - FilterActivityLogsVariablesBuilder filterActivityLogs () { - return FilterActivityLogsVariablesBuilder(dataConnect, ); - } - - - ListAttireOptionsVariablesBuilder listAttireOptions () { - return ListAttireOptionsVariablesBuilder(dataConnect, ); - } - - - GetAttireOptionByIdVariablesBuilder getAttireOptionById ({required String id, }) { - return GetAttireOptionByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterAttireOptionsVariablesBuilder filterAttireOptions () { - return FilterAttireOptionsVariablesBuilder(dataConnect, ); - } - - - CreateEmergencyContactVariablesBuilder createEmergencyContact ({required String name, required String phone, required RelationshipType relationship, required String staffId, }) { - return CreateEmergencyContactVariablesBuilder(dataConnect, name: name,phone: phone,relationship: relationship,staffId: staffId,); - } - - - UpdateEmergencyContactVariablesBuilder updateEmergencyContact ({required String id, }) { - return UpdateEmergencyContactVariablesBuilder(dataConnect, id: id,); - } - - - DeleteEmergencyContactVariablesBuilder deleteEmergencyContact ({required String id, }) { - return DeleteEmergencyContactVariablesBuilder(dataConnect, id: id,); - } - - - ListRoleCategoriesVariablesBuilder listRoleCategories () { - return ListRoleCategoriesVariablesBuilder(dataConnect, ); - } - - - GetRoleCategoryByIdVariablesBuilder getRoleCategoryById ({required String id, }) { - return GetRoleCategoryByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetRoleCategoriesByCategoryVariablesBuilder getRoleCategoriesByCategory ({required RoleCategoryType category, }) { - return GetRoleCategoriesByCategoryVariablesBuilder(dataConnect, category: category,); - } - - - ListShiftsVariablesBuilder listShifts () { - return ListShiftsVariablesBuilder(dataConnect, ); - } - - - GetShiftByIdVariablesBuilder getShiftById ({required String id, }) { - return GetShiftByIdVariablesBuilder(dataConnect, id: id,); - } - - - FilterShiftsVariablesBuilder filterShifts () { - return FilterShiftsVariablesBuilder(dataConnect, ); - } - - - GetShiftsByBusinessIdVariablesBuilder getShiftsByBusinessId ({required String businessId, }) { - return GetShiftsByBusinessIdVariablesBuilder(dataConnect, businessId: businessId,); - } - - - GetShiftsByVendorIdVariablesBuilder getShiftsByVendorId ({required String vendorId, }) { - return GetShiftsByVendorIdVariablesBuilder(dataConnect, vendorId: vendorId,); - } - - - GetVendorByIdVariablesBuilder getVendorById ({required String id, }) { - return GetVendorByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetVendorByUserIdVariablesBuilder getVendorByUserId ({required String userId, }) { - return GetVendorByUserIdVariablesBuilder(dataConnect, userId: userId,); - } - - - ListVendorsVariablesBuilder listVendors () { - return ListVendorsVariablesBuilder(dataConnect, ); - } - - - ListBenefitsDataVariablesBuilder listBenefitsData () { - return ListBenefitsDataVariablesBuilder(dataConnect, ); - } - - - GetBenefitsDataByKeyVariablesBuilder getBenefitsDataByKey ({required String staffId, required String vendorBenefitPlanId, }) { - return GetBenefitsDataByKeyVariablesBuilder(dataConnect, staffId: staffId,vendorBenefitPlanId: vendorBenefitPlanId,); - } - - - ListBenefitsDataByStaffIdVariablesBuilder listBenefitsDataByStaffId ({required String staffId, }) { - return ListBenefitsDataByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder listBenefitsDataByVendorBenefitPlanId ({required String vendorBenefitPlanId, }) { - return ListBenefitsDataByVendorBenefitPlanIdVariablesBuilder(dataConnect, vendorBenefitPlanId: vendorBenefitPlanId,); - } - - - ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder listBenefitsDataByVendorBenefitPlanIds ({required List vendorBenefitPlanIds, }) { - return ListBenefitsDataByVendorBenefitPlanIdsVariablesBuilder(dataConnect, vendorBenefitPlanIds: vendorBenefitPlanIds,); - } - - - CreateCertificateVariablesBuilder createCertificate ({required String name, required CertificateStatus status, required String staffId, }) { - return CreateCertificateVariablesBuilder(dataConnect, name: name,status: status,staffId: staffId,); - } - - - UpdateCertificateVariablesBuilder updateCertificate ({required String id, }) { - return UpdateCertificateVariablesBuilder(dataConnect, id: id,); - } - - - DeleteCertificateVariablesBuilder deleteCertificate ({required String id, }) { - return DeleteCertificateVariablesBuilder(dataConnect, id: id,); - } - - - ListEmergencyContactsVariablesBuilder listEmergencyContacts () { - return ListEmergencyContactsVariablesBuilder(dataConnect, ); - } - - - GetEmergencyContactByIdVariablesBuilder getEmergencyContactById ({required String id, }) { - return GetEmergencyContactByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetEmergencyContactsByStaffIdVariablesBuilder getEmergencyContactsByStaffId ({required String staffId, }) { - return GetEmergencyContactsByStaffIdVariablesBuilder(dataConnect, staffId: staffId,); - } - - - CreateRecentPaymentVariablesBuilder createRecentPayment ({required String staffId, required String applicationId, required String invoiceId, }) { - return CreateRecentPaymentVariablesBuilder(dataConnect, staffId: staffId,applicationId: applicationId,invoiceId: invoiceId,); - } - - - UpdateRecentPaymentVariablesBuilder updateRecentPayment ({required String id, }) { - return UpdateRecentPaymentVariablesBuilder(dataConnect, id: id,); - } - - - DeleteRecentPaymentVariablesBuilder deleteRecentPayment ({required String id, }) { - return DeleteRecentPaymentVariablesBuilder(dataConnect, id: id,); - } - - - CreateTeamHudDepartmentVariablesBuilder createTeamHudDepartment ({required String name, required String teamHubId, }) { - return CreateTeamHudDepartmentVariablesBuilder(dataConnect, name: name,teamHubId: teamHubId,); - } - - - UpdateTeamHudDepartmentVariablesBuilder updateTeamHudDepartment ({required String id, }) { - return UpdateTeamHudDepartmentVariablesBuilder(dataConnect, id: id,); - } - - - DeleteTeamHudDepartmentVariablesBuilder deleteTeamHudDepartment ({required String id, }) { - return DeleteTeamHudDepartmentVariablesBuilder(dataConnect, id: id,); - } - - - CreateVendorBenefitPlanVariablesBuilder createVendorBenefitPlan ({required String vendorId, required String title, }) { - return CreateVendorBenefitPlanVariablesBuilder(dataConnect, vendorId: vendorId,title: title,); - } - - - UpdateVendorBenefitPlanVariablesBuilder updateVendorBenefitPlan ({required String id, }) { - return UpdateVendorBenefitPlanVariablesBuilder(dataConnect, id: id,); - } - - - DeleteVendorBenefitPlanVariablesBuilder deleteVendorBenefitPlan ({required String id, }) { - return DeleteVendorBenefitPlanVariablesBuilder(dataConnect, id: id,); - } - - - ListVendorRatesVariablesBuilder listVendorRates () { - return ListVendorRatesVariablesBuilder(dataConnect, ); - } - - - GetVendorRateByIdVariablesBuilder getVendorRateById ({required String id, }) { - return GetVendorRateByIdVariablesBuilder(dataConnect, id: id,); - } - - - CreateStaffAvailabilityVariablesBuilder createStaffAvailability ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { - return CreateStaffAvailabilityVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); - } - - - UpdateStaffAvailabilityVariablesBuilder updateStaffAvailability ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { - return UpdateStaffAvailabilityVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); - } - - - DeleteStaffAvailabilityVariablesBuilder deleteStaffAvailability ({required String staffId, required DayOfWeek day, required AvailabilitySlot slot, }) { - return DeleteStaffAvailabilityVariablesBuilder(dataConnect, staffId: staffId,day: day,slot: slot,); - } - - - ListTasksVariablesBuilder listTasks () { - return ListTasksVariablesBuilder(dataConnect, ); - } - - - GetTaskByIdVariablesBuilder getTaskById ({required String id, }) { - return GetTaskByIdVariablesBuilder(dataConnect, id: id,); - } - - - GetTasksByOwnerIdVariablesBuilder getTasksByOwnerId ({required String ownerId, }) { - return GetTasksByOwnerIdVariablesBuilder(dataConnect, ownerId: ownerId,); - } - - - FilterTasksVariablesBuilder filterTasks () { - return FilterTasksVariablesBuilder(dataConnect, ); - } - - - CreateTaxFormVariablesBuilder createTaxForm ({required TaxFormType formType, required String title, required String staffId, }) { - return CreateTaxFormVariablesBuilder(dataConnect, formType: formType,title: title,staffId: staffId,); - } - - - UpdateTaxFormVariablesBuilder updateTaxForm ({required String id, }) { - return UpdateTaxFormVariablesBuilder(dataConnect, id: id,); - } - - - DeleteTaxFormVariablesBuilder deleteTaxForm ({required String id, }) { - return DeleteTaxFormVariablesBuilder(dataConnect, id: id,); - } - - - CreateBusinessVariablesBuilder createBusiness ({required String businessName, required String userId, required BusinessRateGroup rateGroup, required BusinessStatus status, }) { - return CreateBusinessVariablesBuilder(dataConnect, businessName: businessName,userId: userId,rateGroup: rateGroup,status: status,); - } - - - UpdateBusinessVariablesBuilder updateBusiness ({required String id, }) { - return UpdateBusinessVariablesBuilder(dataConnect, id: id,); - } - - - DeleteBusinessVariablesBuilder deleteBusiness ({required String id, }) { - return DeleteBusinessVariablesBuilder(dataConnect, id: id,); + DeleteShiftVariablesBuilder deleteShift ({required String id, }) { + return DeleteShiftVariablesBuilder(dataConnect, id: id,); } diff --git a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/get_team_hub_by_id.dart b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/get_team_hub_by_id.dart index ab2d47b6..39e1fa0b 100644 --- a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/get_team_hub_by_id.dart +++ b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/get_team_hub_by_id.dart @@ -23,7 +23,7 @@ class GetTeamHubByIdTeamHub { final String teamId; final String hubName; final String address; - final String city; + final String? city; final String? state; final String? zipCode; final String? managerName; @@ -38,7 +38,7 @@ class GetTeamHubByIdTeamHub { teamId = nativeFromJson(json['teamId']), hubName = nativeFromJson(json['hubName']), address = nativeFromJson(json['address']), - city = nativeFromJson(json['city']), + city = json['city'] == null ? null : nativeFromJson(json['city']), state = json['state'] == null ? null : nativeFromJson(json['state']), zipCode = json['zipCode'] == null ? null : nativeFromJson(json['zipCode']), managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), @@ -82,7 +82,9 @@ class GetTeamHubByIdTeamHub { json['teamId'] = nativeToJson(teamId); json['hubName'] = nativeToJson(hubName); json['address'] = nativeToJson(address); - json['city'] = nativeToJson(city); + if (city != null) { + json['city'] = nativeToJson(city); + } if (state != null) { json['state'] = nativeToJson(state); } @@ -113,7 +115,7 @@ class GetTeamHubByIdTeamHub { required this.teamId, required this.hubName, required this.address, - required this.city, + this.city, this.state, this.zipCode, this.managerName, diff --git a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/get_team_hubs_by_team_id.dart b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/get_team_hubs_by_team_id.dart index 732256c9..c0534c24 100644 --- a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/get_team_hubs_by_team_id.dart +++ b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/get_team_hubs_by_team_id.dart @@ -23,7 +23,7 @@ class GetTeamHubsByTeamIdTeamHubs { final String teamId; final String hubName; final String address; - final String city; + final String? city; final String? state; final String? zipCode; final String? managerName; @@ -38,7 +38,7 @@ class GetTeamHubsByTeamIdTeamHubs { teamId = nativeFromJson(json['teamId']), hubName = nativeFromJson(json['hubName']), address = nativeFromJson(json['address']), - city = nativeFromJson(json['city']), + city = json['city'] == null ? null : nativeFromJson(json['city']), state = json['state'] == null ? null : nativeFromJson(json['state']), zipCode = json['zipCode'] == null ? null : nativeFromJson(json['zipCode']), managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), @@ -82,7 +82,9 @@ class GetTeamHubsByTeamIdTeamHubs { json['teamId'] = nativeToJson(teamId); json['hubName'] = nativeToJson(hubName); json['address'] = nativeToJson(address); - json['city'] = nativeToJson(city); + if (city != null) { + json['city'] = nativeToJson(city); + } if (state != null) { json['state'] = nativeToJson(state); } @@ -113,7 +115,7 @@ class GetTeamHubsByTeamIdTeamHubs { required this.teamId, required this.hubName, required this.address, - required this.city, + this.city, this.state, this.zipCode, this.managerName, diff --git a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs.dart b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs.dart index 1a104f7f..4c6a91c1 100644 --- a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs.dart +++ b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs.dart @@ -22,7 +22,7 @@ class ListTeamHubsTeamHubs { final String teamId; final String hubName; final String address; - final String city; + final String? city; final String? state; final String? zipCode; final String? managerName; @@ -37,7 +37,7 @@ class ListTeamHubsTeamHubs { teamId = nativeFromJson(json['teamId']), hubName = nativeFromJson(json['hubName']), address = nativeFromJson(json['address']), - city = nativeFromJson(json['city']), + city = json['city'] == null ? null : nativeFromJson(json['city']), state = json['state'] == null ? null : nativeFromJson(json['state']), zipCode = json['zipCode'] == null ? null : nativeFromJson(json['zipCode']), managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), @@ -81,7 +81,9 @@ class ListTeamHubsTeamHubs { json['teamId'] = nativeToJson(teamId); json['hubName'] = nativeToJson(hubName); json['address'] = nativeToJson(address); - json['city'] = nativeToJson(city); + if (city != null) { + json['city'] = nativeToJson(city); + } if (state != null) { json['state'] = nativeToJson(state); } @@ -112,7 +114,7 @@ class ListTeamHubsTeamHubs { required this.teamId, required this.hubName, required this.address, - required this.city, + this.city, this.state, this.zipCode, this.managerName, diff --git a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs_by_owner_id.dart b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs_by_owner_id.dart index 9735ab51..23c9d218 100644 --- a/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs_by_owner_id.dart +++ b/apps/mobile/packages/data_connect/lib/src/dataconnect_generated/list_team_hubs_by_owner_id.dart @@ -23,7 +23,7 @@ class ListTeamHubsByOwnerIdTeamHubs { final String teamId; final String hubName; final String address; - final String city; + final String? city; final String? state; final String? zipCode; final String? managerName; @@ -36,7 +36,7 @@ class ListTeamHubsByOwnerIdTeamHubs { teamId = nativeFromJson(json['teamId']), hubName = nativeFromJson(json['hubName']), address = nativeFromJson(json['address']), - city = nativeFromJson(json['city']), + city = json['city'] == null ? null : nativeFromJson(json['city']), state = json['state'] == null ? null : nativeFromJson(json['state']), zipCode = json['zipCode'] == null ? null : nativeFromJson(json['zipCode']), managerName = json['managerName'] == null ? null : nativeFromJson(json['managerName']), @@ -76,7 +76,9 @@ class ListTeamHubsByOwnerIdTeamHubs { json['teamId'] = nativeToJson(teamId); json['hubName'] = nativeToJson(hubName); json['address'] = nativeToJson(address); - json['city'] = nativeToJson(city); + if (city != null) { + json['city'] = nativeToJson(city); + } if (state != null) { json['state'] = nativeToJson(state); } @@ -101,7 +103,7 @@ class ListTeamHubsByOwnerIdTeamHubs { required this.teamId, required this.hubName, required this.address, - required this.city, + this.city, this.state, this.zipCode, this.managerName, diff --git a/apps/mobile/packages/features/client/hubs/lib/src/data/repositories_impl/hub_repository_impl.dart b/apps/mobile/packages/features/client/hubs/lib/src/data/repositories_impl/hub_repository_impl.dart index 45123a65..1fee40f5 100644 --- a/apps/mobile/packages/features/client/hubs/lib/src/data/repositories_impl/hub_repository_impl.dart +++ b/apps/mobile/packages/features/client/hubs/lib/src/data/repositories_impl/hub_repository_impl.dart @@ -29,17 +29,14 @@ class HubRepositoryImpl implements HubRepositoryInterface { final business = await _getBusinessForCurrentUser(); final teamId = await _getOrCreateTeamId(business); final city = business.city; - if (city == null || city.isEmpty) { - throw Exception('Business city is missing.'); - } final result = await _dataConnect .createTeamHub( teamId: teamId, hubName: name, address: address, - city: city, ) + .city(city?.isNotEmpty == true ? city : '') .execute(); final createdId = result.data?.teamHub_insert.id; if (createdId == null) { From c3f028210917e77460920c8b8e1f238c2ef9771f Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Thu, 22 Jan 2026 12:50:42 -0500 Subject: [PATCH 10/19] Refactor settings to use FirebaseAuth for sign out Replaces the previous mock-based authentication in client settings with FirebaseAuth for sign out functionality. Updates dependencies and imports accordingly, and adds firebase_auth to the settings package and firebase_core to the client app. Also includes minor Dart type improvements and dependency reordering. --- apps/mobile/apps/client/lib/main.dart | 42 ++++++++++--------- apps/mobile/apps/client/pubspec.yaml | 12 +++--- .../presentation/pages/client_hubs_page.dart | 4 +- .../client/settings/lib/client_settings.dart | 7 +--- .../settings_repository_impl.dart | 22 ++++++---- .../features/client/settings/pubspec.yaml | 1 + 6 files changed, 47 insertions(+), 41 deletions(-) diff --git a/apps/mobile/apps/client/lib/main.dart b/apps/mobile/apps/client/lib/main.dart index b48e0928..2b5e9e3d 100644 --- a/apps/mobile/apps/client/lib/main.dart +++ b/apps/mobile/apps/client/lib/main.dart @@ -20,10 +20,10 @@ void main() async { /// The main application module for the Client app. class AppModule extends Module { @override - List get imports => [core_localization.LocalizationModule()]; + List get imports => [core_localization.LocalizationModule()]; @override - void routes(r) { + void routes(RouteManager r) { // Initial route points to the client authentication flow r.module('/', module: client_authentication.ClientAuthenticationModule()); @@ -47,7 +47,7 @@ class AppWidget extends StatelessWidget { @override Widget build(BuildContext context) { return BlocProvider( - create: (context) => + create: (BuildContext context) => Modular.get() ..add(const core_localization.LoadLocale()), child: @@ -55,23 +55,25 @@ class AppWidget extends StatelessWidget { core_localization.LocaleBloc, core_localization.LocaleState >( - builder: (context, state) { - return core_localization.TranslationProvider( - child: MaterialApp.router( - debugShowCheckedModeBanner: false, - title: "Krow Client", - theme: UiTheme.light, - routerConfig: Modular.routerConfig, - locale: state.locale, - supportedLocales: state.supportedLocales, - localizationsDelegates: const [ - GlobalMaterialLocalizations.delegate, - GlobalWidgetsLocalizations.delegate, - GlobalCupertinoLocalizations.delegate, - ], - ), - ); - }, + builder: + (BuildContext context, core_localization.LocaleState state) { + return core_localization.TranslationProvider( + child: MaterialApp.router( + debugShowCheckedModeBanner: false, + title: "Krow Client", + theme: UiTheme.light, + routerConfig: Modular.routerConfig, + locale: state.locale, + supportedLocales: state.supportedLocales, + localizationsDelegates: + const >[ + GlobalMaterialLocalizations.delegate, + GlobalWidgetsLocalizations.delegate, + GlobalCupertinoLocalizations.delegate, + ], + ), + ); + }, ), ); } diff --git a/apps/mobile/apps/client/pubspec.yaml b/apps/mobile/apps/client/pubspec.yaml index 95b95834..53e35b5f 100644 --- a/apps/mobile/apps/client/pubspec.yaml +++ b/apps/mobile/apps/client/pubspec.yaml @@ -10,11 +10,6 @@ environment: dependencies: flutter: sdk: flutter - cupertino_icons: ^1.0.8 - flutter_modular: ^6.3.2 - flutter_bloc: ^8.1.3 - flutter_localizations: - sdk: flutter # Architecture Packages design_system: @@ -31,6 +26,13 @@ dependencies: path: ../../packages/features/client/settings client_hubs: path: ../../packages/features/client/hubs + + cupertino_icons: ^1.0.8 + flutter_modular: ^6.3.2 + flutter_bloc: ^8.1.3 + flutter_localizations: + sdk: flutter + firebase_core: ^4.4.0 dev_dependencies: flutter_test: diff --git a/apps/mobile/packages/features/client/hubs/lib/src/presentation/pages/client_hubs_page.dart b/apps/mobile/packages/features/client/hubs/lib/src/presentation/pages/client_hubs_page.dart index 6b38f064..586b0a74 100644 --- a/apps/mobile/packages/features/client/hubs/lib/src/presentation/pages/client_hubs_page.dart +++ b/apps/mobile/packages/features/client/hubs/lib/src/presentation/pages/client_hubs_page.dart @@ -169,10 +169,10 @@ class ClientHubsPage extends StatelessWidget { const SizedBox(height: 16), Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ + children: [ Column( crossAxisAlignment: CrossAxisAlignment.start, - children: [ + children: [ Text( t.client_hubs.title, style: const TextStyle( diff --git a/apps/mobile/packages/features/client/settings/lib/client_settings.dart b/apps/mobile/packages/features/client/settings/lib/client_settings.dart index 1ea5cb98..aff02a92 100644 --- a/apps/mobile/packages/features/client/settings/lib/client_settings.dart +++ b/apps/mobile/packages/features/client/settings/lib/client_settings.dart @@ -1,5 +1,5 @@ +import 'package:firebase_auth/firebase_auth.dart'; import 'package:flutter_modular/flutter_modular.dart'; -import 'package:krow_data_connect/krow_data_connect.dart'; import 'src/data/repositories_impl/settings_repository_impl.dart'; import 'src/domain/repositories/settings_repository_interface.dart'; import 'src/domain/usecases/sign_out_usecase.dart'; @@ -8,14 +8,11 @@ import 'src/presentation/pages/client_settings_page.dart'; /// A [Module] for the client settings feature. class ClientSettingsModule extends Module { - @override - List get imports => [DataConnectModule()]; - @override void binds(Injector i) { // Repositories i.addLazySingleton( - () => SettingsRepositoryImpl(mock: i.get()), + () => SettingsRepositoryImpl(firebaseAuth: FirebaseAuth.instance), ); // UseCases diff --git a/apps/mobile/packages/features/client/settings/lib/src/data/repositories_impl/settings_repository_impl.dart b/apps/mobile/packages/features/client/settings/lib/src/data/repositories_impl/settings_repository_impl.dart index fdd5d922..3b0e7b00 100644 --- a/apps/mobile/packages/features/client/settings/lib/src/data/repositories_impl/settings_repository_impl.dart +++ b/apps/mobile/packages/features/client/settings/lib/src/data/repositories_impl/settings_repository_impl.dart @@ -1,19 +1,23 @@ -import 'package:krow_data_connect/krow_data_connect.dart'; +import 'package:firebase_auth/firebase_auth.dart'; import '../../domain/repositories/settings_repository_interface.dart'; /// Implementation of [SettingsRepositoryInterface]. /// -/// This implementation delegates data access to the [AuthRepositoryMock] -/// from the `data_connect` package. +/// This implementation delegates authentication operations to [FirebaseAuth]. class SettingsRepositoryImpl implements SettingsRepositoryInterface { - /// The auth mock from data connect. - final AuthRepositoryMock mock; + /// The Firebase Auth instance. + final FirebaseAuth _firebaseAuth; - /// Creates a [SettingsRepositoryImpl] with the required [mock]. - SettingsRepositoryImpl({required this.mock}); + /// Creates a [SettingsRepositoryImpl] with the required [_firebaseAuth]. + SettingsRepositoryImpl({required FirebaseAuth firebaseAuth}) + : _firebaseAuth = firebaseAuth; @override - Future signOut() { - return mock.signOut(); + Future signOut() async { + try { + await _firebaseAuth.signOut(); + } catch (e) { + throw Exception('Error signing out: ${e.toString()}'); + } } } diff --git a/apps/mobile/packages/features/client/settings/pubspec.yaml b/apps/mobile/packages/features/client/settings/pubspec.yaml index 85acb228..28814baa 100644 --- a/apps/mobile/packages/features/client/settings/pubspec.yaml +++ b/apps/mobile/packages/features/client/settings/pubspec.yaml @@ -15,6 +15,7 @@ dependencies: flutter_modular: ^6.3.0 equatable: ^2.0.5 lucide_icons: ^0.257.0 + firebase_auth: ^6.1.2 # Architecture Packages design_system: From d2770d2d296fd7353853a175282552a456025d5b Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Thu, 22 Jan 2026 13:08:39 -0500 Subject: [PATCH 11/19] chore: Refactor ClientHubsPage to use design system constants Replaced hardcoded color, spacing, and icon values with UiColors, UiConstants, UiIcons, and UiTypography from the design system for improved consistency and maintainability. Removed unused lucide_icons import and updated widget styles to use design system typography. --- .../presentation/pages/client_hubs_page.dart | 51 +++++++++---------- 1 file changed, 23 insertions(+), 28 deletions(-) diff --git a/apps/mobile/packages/features/client/hubs/lib/src/presentation/pages/client_hubs_page.dart b/apps/mobile/packages/features/client/hubs/lib/src/presentation/pages/client_hubs_page.dart index 586b0a74..04ea1cca 100644 --- a/apps/mobile/packages/features/client/hubs/lib/src/presentation/pages/client_hubs_page.dart +++ b/apps/mobile/packages/features/client/hubs/lib/src/presentation/pages/client_hubs_page.dart @@ -2,7 +2,6 @@ import 'package:design_system/design_system.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_modular/flutter_modular.dart'; -import 'package:lucide_icons/lucide_icons.dart'; import 'package:core_localization/core_localization.dart'; import '../blocs/client_hubs_bloc.dart'; import '../blocs/client_hubs_event.dart'; @@ -47,14 +46,16 @@ class ClientHubsPage extends StatelessWidget { }, builder: (context, state) { return Scaffold( - backgroundColor: const Color(0xFFF8FAFC), // slate-50 body: Stack( children: [ CustomScrollView( slivers: [ _buildAppBar(context), SliverPadding( - padding: const EdgeInsets.fromLTRB(20, 20, 20, 100), + padding: const EdgeInsets.symmetric( + horizontal: UiConstants.space5, + vertical: UiConstants.space5, + ).copyWith(bottom: 100), sliver: SliverList( delegate: SliverChildListDelegate([ if (state.status == ClientHubsStatus.loading) @@ -85,7 +86,7 @@ class ClientHubsPage extends StatelessWidget { ), ), ], - const SizedBox(height: 20), + const SizedBox(height: UiConstants.space5), const HubInfoCard(), ]), ), @@ -120,7 +121,7 @@ class ClientHubsPage extends StatelessWidget { ), if (state.status == ClientHubsStatus.actionInProgress) Container( - color: Colors.black.withValues(alpha: 0.1), + color: UiColors.black.withValues(alpha: 0.1), child: const Center(child: CircularProgressIndicator()), ), ], @@ -133,20 +134,19 @@ class ClientHubsPage extends StatelessWidget { Widget _buildAppBar(BuildContext context) { return SliverAppBar( - backgroundColor: const Color(0xFF121826), + backgroundColor: UiColors.foreground, // Dark Slate equivalent automaticallyImplyLeading: false, expandedHeight: 140, pinned: true, flexibleSpace: FlexibleSpaceBar( background: Container( - decoration: const BoxDecoration( - gradient: LinearGradient( - colors: [Color(0xFF121826), Color(0xFF1E293B)], - begin: Alignment.topLeft, - end: Alignment.bottomRight, - ), + color: UiColors.foreground, + padding: const EdgeInsets.fromLTRB( + UiConstants.space5, + UiConstants.space12, + UiConstants.space5, + 0, ), - padding: const EdgeInsets.fromLTRB(20, 48, 20, 0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ @@ -156,17 +156,17 @@ class ClientHubsPage extends StatelessWidget { width: 40, height: 40, decoration: BoxDecoration( - color: Colors.white.withValues(alpha: 0.2), + color: UiColors.white.withValues(alpha: 0.2), shape: BoxShape.circle, ), child: const Icon( - LucideIcons.arrowLeft, - color: Colors.white, + UiIcons.arrowLeft, + color: UiColors.white, size: 20, ), ), ), - const SizedBox(height: 16), + const SizedBox(height: UiConstants.space4), Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ @@ -175,17 +175,12 @@ class ClientHubsPage extends StatelessWidget { children: [ Text( t.client_hubs.title, - style: const TextStyle( - color: Colors.white, - fontWeight: FontWeight.bold, - fontSize: 24, - ), + style: UiTypography.headline1m.white, ), Text( t.client_hubs.subtitle, - style: const TextStyle( - color: Color(0xFFCBD5E1), // slate-300 - fontSize: 14, + style: UiTypography.body2r.copyWith( + color: UiColors.switchInactive, ), ), ], @@ -195,10 +190,10 @@ class ClientHubsPage extends StatelessWidget { context, ).add(const ClientHubsAddDialogToggled(visible: true)), text: t.client_hubs.add_hub, - leadingIcon: LucideIcons.plus, + leadingIcon: UiIcons.add, style: ElevatedButton.styleFrom( - minimumSize: Size(0, 40), - maximumSize: Size.fromHeight(40), + minimumSize: const Size(0, 40), + maximumSize: const Size.fromHeight(40), ), ), ], From cd0b591c5c7cc411232c7b37d154147a97777d14 Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Thu, 22 Jan 2026 13:20:39 -0500 Subject: [PATCH 12/19] feat: Refactor hub widgets to use design system styles Replaced hardcoded colors, icons, and spacing in hub-related widgets with values from the design system (UiColors, UiTypography, UiIcons, UiConstants). This improves consistency and maintainability across the UI components. --- .../presentation/widgets/add_hub_dialog.dart | 63 +++++------- .../src/presentation/widgets/hub_card.dart | 68 +++++-------- .../presentation/widgets/hub_empty_state.dart | 37 +++---- .../presentation/widgets/hub_info_card.dart | 25 ++--- .../widgets/identify_nfc_dialog.dart | 98 ++++++++----------- 5 files changed, 117 insertions(+), 174 deletions(-) diff --git a/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/add_hub_dialog.dart b/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/add_hub_dialog.dart index 3ae46ce0..478cd1ba 100644 --- a/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/add_hub_dialog.dart +++ b/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/add_hub_dialog.dart @@ -42,20 +42,17 @@ class _AddHubDialogState extends State { @override Widget build(BuildContext context) { return Container( - color: Colors.black.withValues(alpha: 0.5), + color: UiColors.bgOverlay, child: Center( child: SingleChildScrollView( child: Container( width: MediaQuery.of(context).size.width * 0.9, - padding: const EdgeInsets.all(24), + padding: const EdgeInsets.all(UiConstants.space5), decoration: BoxDecoration( - color: Colors.white, - borderRadius: BorderRadius.circular(24), - boxShadow: [ - BoxShadow( - color: Colors.black.withValues(alpha: 0.1), - blurRadius: 20, - ), + color: UiColors.bgPopup, + borderRadius: BorderRadius.circular(UiConstants.radiusBase), + boxShadow: const [ + BoxShadow(color: UiColors.popupShadow, blurRadius: 20), ], ), child: Column( @@ -64,29 +61,27 @@ class _AddHubDialogState extends State { children: [ Text( t.client_hubs.add_hub_dialog.title, - style: const TextStyle( - fontSize: 20, - fontWeight: FontWeight.bold, - color: Color(0xFF0F172A), - ), + style: UiTypography.headline3m.textPrimary, ), - const SizedBox(height: 24), + const SizedBox(height: UiConstants.space5), _buildFieldLabel(t.client_hubs.add_hub_dialog.name_label), TextField( controller: _nameController, + style: UiTypography.body1r.textPrimary, decoration: _buildInputDecoration( t.client_hubs.add_hub_dialog.name_hint, ), ), - const SizedBox(height: 16), + const SizedBox(height: UiConstants.space4), _buildFieldLabel(t.client_hubs.add_hub_dialog.address_label), TextField( controller: _addressController, + style: UiTypography.body1r.textPrimary, decoration: _buildInputDecoration( t.client_hubs.add_hub_dialog.address_hint, ), ), - const SizedBox(height: 32), + const SizedBox(height: UiConstants.space8), Row( children: [ Expanded( @@ -95,7 +90,7 @@ class _AddHubDialogState extends State { text: t.common.cancel, ), ), - const SizedBox(width: 12), + const SizedBox(width: UiConstants.space3), Expanded( child: UiButton.primary( onPressed: () { @@ -121,36 +116,32 @@ class _AddHubDialogState extends State { Widget _buildFieldLabel(String label) { return Padding( - padding: const EdgeInsets.only(bottom: 6), - child: Text( - label, - style: const TextStyle( - fontSize: 14, - fontWeight: FontWeight.w500, - color: Color(0xFF0F172A), - ), - ), + padding: const EdgeInsets.only(bottom: UiConstants.space2), + child: Text(label, style: UiTypography.body2m.textPrimary), ); } InputDecoration _buildInputDecoration(String hint) { return InputDecoration( hintText: hint, - hintStyle: const TextStyle(color: Color(0xFF94A3B8), fontSize: 14), + hintStyle: UiTypography.body2r.textPlaceholder, filled: true, - fillColor: const Color(0xFFF8FAFC), - contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 14), + fillColor: UiColors.input, + contentPadding: const EdgeInsets.symmetric( + horizontal: UiConstants.space4, + vertical: 14, + ), border: OutlineInputBorder( - borderRadius: BorderRadius.circular(12), - borderSide: const BorderSide(color: Color(0xFFE2E8F0)), + borderRadius: BorderRadius.circular(UiConstants.radiusBase), + borderSide: const BorderSide(color: UiColors.border), ), enabledBorder: OutlineInputBorder( - borderRadius: BorderRadius.circular(12), - borderSide: const BorderSide(color: Color(0xFFE2E8F0)), + borderRadius: BorderRadius.circular(UiConstants.radiusBase), + borderSide: const BorderSide(color: UiColors.border), ), focusedBorder: OutlineInputBorder( - borderRadius: BorderRadius.circular(12), - borderSide: const BorderSide(color: Color(0xFF2563EB), width: 2), + borderRadius: BorderRadius.circular(UiConstants.radiusBase), + borderSide: const BorderSide(color: UiColors.ring, width: 2), ), ); } diff --git a/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/hub_card.dart b/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/hub_card.dart index 67157f3a..5d516cf9 100644 --- a/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/hub_card.dart +++ b/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/hub_card.dart @@ -1,6 +1,6 @@ +import 'package:design_system/design_system.dart'; import 'package:flutter/material.dart'; import 'package:krow_domain/krow_domain.dart'; -import 'package:lucide_icons/lucide_icons.dart'; import 'package:core_localization/core_localization.dart'; /// A card displaying information about a single hub. @@ -27,68 +27,56 @@ class HubCard extends StatelessWidget { final bool hasNfc = hub.nfcTagId != null; return Container( - margin: const EdgeInsets.only(bottom: 12), + margin: const EdgeInsets.only(bottom: UiConstants.space3), decoration: BoxDecoration( - color: Colors.white, - borderRadius: BorderRadius.circular(16), - boxShadow: [ + color: UiColors.white, + borderRadius: BorderRadius.circular(UiConstants.radiusBase), + boxShadow: const [ BoxShadow( - color: Colors.black.withValues(alpha: 0.04), + color: UiColors.popupShadow, blurRadius: 10, - offset: const Offset(0, 4), + offset: Offset(0, 4), ), ], ), child: Padding( - padding: const EdgeInsets.all(16), + padding: const EdgeInsets.all(UiConstants.space4), child: Row( children: [ Container( width: 52, height: 52, decoration: BoxDecoration( - color: const Color(0xFFEFF6FF), // blue-50 - borderRadius: BorderRadius.circular(16), + color: UiColors.tagInProgress, + borderRadius: BorderRadius.circular(UiConstants.radiusBase), ), child: Icon( - hasNfc ? LucideIcons.checkCircle : LucideIcons.nfc, - color: hasNfc - ? const Color(0xFF16A34A) - : const Color(0xFF94A3B8), // green-600 or slate-400 + hasNfc ? UiIcons.success : UiIcons.nfc, + color: hasNfc ? UiColors.iconSuccess : UiColors.iconThird, size: 24, ), ), - const SizedBox(width: 16), + const SizedBox(width: UiConstants.space4), Expanded( child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - Text( - hub.name, - style: const TextStyle( - fontWeight: FontWeight.bold, - fontSize: 16, - color: Color(0xFF0F172A), - ), - ), + Text(hub.name, style: UiTypography.body1b.textPrimary), if (hub.address.isNotEmpty) Padding( - padding: const EdgeInsets.only(top: 4), + padding: const EdgeInsets.only(top: UiConstants.space1), child: Row( children: [ const Icon( - LucideIcons.mapPin, + UiIcons.mapPin, size: 12, - color: Color(0xFF94A3B8), + color: UiColors.iconThird, ), - const SizedBox(width: 4), + const SizedBox(width: UiConstants.space1), Expanded( child: Text( hub.address, - style: const TextStyle( - color: Color(0xFF64748B), - fontSize: 12, - ), + style: UiTypography.footnote1r.textSecondary, maxLines: 1, overflow: TextOverflow.ellipsis, ), @@ -98,14 +86,12 @@ class HubCard extends StatelessWidget { ), if (hasNfc) Padding( - padding: const EdgeInsets.only(top: 4), + padding: const EdgeInsets.only(top: UiConstants.space1), child: Text( t.client_hubs.hub_card.tag_label(id: hub.nfcTagId!), - style: const TextStyle( - color: Color(0xFF16A34A), - fontSize: 12, + style: UiTypography.footnote1b.copyWith( + color: UiColors.textSuccess, fontFamily: 'monospace', - fontWeight: FontWeight.bold, ), ), ), @@ -117,20 +103,20 @@ class HubCard extends StatelessWidget { IconButton( onPressed: onNfcPressed, icon: const Icon( - LucideIcons.nfc, - color: Color(0xFF2563EB), + UiIcons.nfc, + color: UiColors.primary, size: 20, ), padding: EdgeInsets.zero, constraints: const BoxConstraints(), splashRadius: 20, ), - const SizedBox(width: 8), + const SizedBox(width: UiConstants.space2), IconButton( onPressed: onDeletePressed, icon: const Icon( - LucideIcons.trash2, - color: Color(0xFFDC2626), + UiIcons.delete, + color: UiColors.destructive, size: 20, ), padding: EdgeInsets.zero, diff --git a/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/hub_empty_state.dart b/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/hub_empty_state.dart index a82fb2f0..252e4cb7 100644 --- a/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/hub_empty_state.dart +++ b/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/hub_empty_state.dart @@ -1,6 +1,5 @@ import 'package:design_system/design_system.dart'; import 'package:flutter/material.dart'; -import 'package:lucide_icons/lucide_icons.dart'; import 'package:core_localization/core_localization.dart'; /// Widget displayed when there are no hubs. @@ -14,15 +13,15 @@ class HubEmptyState extends StatelessWidget { @override Widget build(BuildContext context) { return Container( - padding: const EdgeInsets.all(32), + padding: const EdgeInsets.all(UiConstants.space8), decoration: BoxDecoration( - color: Colors.white, - borderRadius: BorderRadius.circular(16), - boxShadow: [ + color: UiColors.bgBanner, + borderRadius: BorderRadius.circular(UiConstants.radiusBase), + boxShadow: const [ BoxShadow( - color: Colors.black.withValues(alpha: 0.04), + color: UiColors.popupShadow, blurRadius: 10, - offset: const Offset(0, 4), + offset: Offset(0, 4), ), ], ), @@ -32,35 +31,27 @@ class HubEmptyState extends StatelessWidget { width: 64, height: 64, decoration: const BoxDecoration( - color: Color(0xFFF1F5F9), // slate-100 + color: UiColors.secondary, shape: BoxShape.circle, ), - child: const Icon( - LucideIcons.nfc, - size: 32, - color: Color(0xFF94A3B8), - ), + child: const Icon(UiIcons.nfc, size: 32, color: UiColors.iconThird), ), - const SizedBox(height: 16), + const SizedBox(height: UiConstants.space4), Text( t.client_hubs.empty_state.title, - style: const TextStyle( - fontSize: 18, - fontWeight: FontWeight.bold, - color: Color(0xFF0F172A), - ), + style: UiTypography.title1m.textPrimary, ), - const SizedBox(height: 8), + const SizedBox(height: UiConstants.space2), Text( t.client_hubs.empty_state.description, textAlign: TextAlign.center, - style: const TextStyle(color: Color(0xFF64748B), fontSize: 14), + style: UiTypography.body2r.textSecondary, ), - const SizedBox(height: 24), + const SizedBox(height: UiConstants.space5), UiButton.primary( onPressed: onAddPressed, text: t.client_hubs.empty_state.button, - leadingIcon: LucideIcons.plus, + leadingIcon: UiIcons.add, ), ], ), diff --git a/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/hub_info_card.dart b/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/hub_info_card.dart index c53f72a1..a7357944 100644 --- a/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/hub_info_card.dart +++ b/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/hub_info_card.dart @@ -1,5 +1,5 @@ +import 'package:design_system/design_system.dart'; import 'package:flutter/material.dart'; -import 'package:lucide_icons/lucide_icons.dart'; import 'package:core_localization/core_localization.dart'; /// A card with information about how hubs work. @@ -10,34 +10,29 @@ class HubInfoCard extends StatelessWidget { @override Widget build(BuildContext context) { return Container( - padding: const EdgeInsets.all(16), + padding: const EdgeInsets.all(UiConstants.space4), decoration: BoxDecoration( - color: const Color(0xFFEFF6FF), // blue-50 - borderRadius: BorderRadius.circular(16), + color: UiColors.tagInProgress, + borderRadius: BorderRadius.circular(UiConstants.radiusBase), ), child: Row( crossAxisAlignment: CrossAxisAlignment.start, children: [ - const Icon(LucideIcons.nfc, size: 20, color: Color(0xFF2563EB)), - const SizedBox(width: 12), + const Icon(UiIcons.nfc, size: 20, color: UiColors.primary), + const SizedBox(width: UiConstants.space3), Expanded( child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( t.client_hubs.about_hubs.title, - style: const TextStyle( - fontWeight: FontWeight.bold, - fontSize: 14, - color: Color(0xFF0F172A), - ), + style: UiTypography.body2b.textPrimary, ), - const SizedBox(height: 4), + const SizedBox(height: UiConstants.space1), Text( t.client_hubs.about_hubs.description, - style: const TextStyle( - color: Color(0xFF334155), - fontSize: 12, + style: UiTypography.footnote1r.copyWith( + color: UiColors.textSecondary, height: 1.4, ), ), diff --git a/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/identify_nfc_dialog.dart b/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/identify_nfc_dialog.dart index 09d21e61..823ba768 100644 --- a/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/identify_nfc_dialog.dart +++ b/apps/mobile/packages/features/client/hubs/lib/src/presentation/widgets/identify_nfc_dialog.dart @@ -1,6 +1,5 @@ import 'package:design_system/design_system.dart'; import 'package:flutter/material.dart'; -import 'package:lucide_icons/lucide_icons.dart'; import 'package:krow_domain/krow_domain.dart'; import 'package:core_localization/core_localization.dart'; @@ -40,20 +39,17 @@ class _IdentifyNfcDialogState extends State { @override Widget build(BuildContext context) { return Container( - color: Colors.black.withValues(alpha: 0.5), + color: UiColors.bgOverlay, child: Center( child: SingleChildScrollView( child: Container( width: MediaQuery.of(context).size.width * 0.9, - padding: const EdgeInsets.all(24), + padding: const EdgeInsets.all(UiConstants.space5), decoration: BoxDecoration( - color: Colors.white, - borderRadius: BorderRadius.circular(24), - boxShadow: [ - BoxShadow( - color: Colors.black.withValues(alpha: 0.1), - blurRadius: 20, - ), + color: UiColors.bgPopup, + borderRadius: BorderRadius.circular(UiConstants.radiusBase), + boxShadow: const [ + BoxShadow(color: UiColors.popupShadow, blurRadius: 20), ], ), child: Column( @@ -61,57 +57,45 @@ class _IdentifyNfcDialogState extends State { children: [ Text( t.client_hubs.nfc_dialog.title, - style: const TextStyle( - fontSize: 20, - fontWeight: FontWeight.bold, - color: Color(0xFF0F172A), - ), + style: UiTypography.headline3m.textPrimary, ), - const SizedBox(height: 32), + const SizedBox(height: UiConstants.space8), Container( width: 80, height: 80, decoration: const BoxDecoration( - color: Color(0xFFEFF6FF), // blue-50 + color: UiColors.tagInProgress, shape: BoxShape.circle, ), child: const Icon( - LucideIcons.nfc, + UiIcons.nfc, size: 40, - color: Color(0xFF2563EB), + color: UiColors.primary, ), ), - const SizedBox(height: 16), - Text( - widget.hub.name, - style: const TextStyle( - fontWeight: FontWeight.bold, - fontSize: 16, - color: Color(0xFF0F172A), - ), - ), - const SizedBox(height: 8), + const SizedBox(height: UiConstants.space4), + Text(widget.hub.name, style: UiTypography.body1b.textPrimary), + const SizedBox(height: UiConstants.space2), Text( t.client_hubs.nfc_dialog.instruction, textAlign: TextAlign.center, - style: const TextStyle( - color: Color(0xFF64748B), - fontSize: 14, - ), + style: UiTypography.body2m.textSecondary, ), - const SizedBox(height: 24), + const SizedBox(height: UiConstants.space5), UiButton.secondary( onPressed: _simulateNFCScan, text: t.client_hubs.nfc_dialog.scan_button, - leadingIcon: LucideIcons.nfc, + leadingIcon: UiIcons.nfc, ), if (_nfcTagId != null) ...[ - const SizedBox(height: 24), + const SizedBox(height: UiConstants.space6), Container( - padding: const EdgeInsets.all(16), + padding: const EdgeInsets.all(UiConstants.space4), decoration: BoxDecoration( - color: const Color(0xFFF0FDF4), // green-50 - borderRadius: BorderRadius.circular(16), + color: UiColors.tagSuccess, + borderRadius: BorderRadius.circular( + UiConstants.radiusBase, + ), ), child: Column( children: [ @@ -119,39 +103,35 @@ class _IdentifyNfcDialogState extends State { mainAxisSize: MainAxisSize.min, children: [ const Icon( - LucideIcons.checkCircle, + UiIcons.success, size: 20, - color: Color(0xFF16A34A), + color: UiColors.textSuccess, ), - const SizedBox(width: 8), + const SizedBox(width: UiConstants.space2), Text( t.client_hubs.nfc_dialog.tag_identified, - style: const TextStyle( - fontWeight: FontWeight.bold, - fontSize: 14, - color: Color(0xFF0F172A), - ), + style: UiTypography.body2b.textPrimary, ), ], ), - const SizedBox(height: 8), + const SizedBox(height: UiConstants.space2), Container( padding: const EdgeInsets.symmetric( - horizontal: 12, - vertical: 8, + horizontal: UiConstants.space3, + vertical: UiConstants.space2, ), decoration: BoxDecoration( - color: Colors.white, - borderRadius: BorderRadius.circular(8), - border: Border.all(color: const Color(0xFFDCE8E0)), + color: UiColors.white, + borderRadius: BorderRadius.circular( + UiConstants.radiusMdValue + 2, + ), + border: Border.all(color: UiColors.border), ), child: Text( _nfcTagId!, - style: const TextStyle( + style: UiTypography.footnote1b.copyWith( fontFamily: 'monospace', - fontWeight: FontWeight.bold, - fontSize: 12, - color: Color(0xFF334155), + color: UiColors.textPrimary, ), ), ), @@ -159,7 +139,7 @@ class _IdentifyNfcDialogState extends State { ), ), ], - const SizedBox(height: 32), + const SizedBox(height: UiConstants.space8), Row( children: [ Expanded( @@ -168,7 +148,7 @@ class _IdentifyNfcDialogState extends State { text: t.common.cancel, ), ), - const SizedBox(width: 12), + const SizedBox(width: UiConstants.space3), Expanded( child: UiButton.primary( onPressed: _nfcTagId != null From b73abc54877a903b3a0497b16e2396be94cc0ec2 Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Thu, 22 Jan 2026 13:35:30 -0500 Subject: [PATCH 13/19] chore: Add floating action button for adding client hubs Replaces the primary button for adding hubs with a floating action button and sets the background color of the Scaffold. This improves the UI by providing a more standard and accessible way to add new hubs. --- .../presentation/pages/client_hubs_page.dart | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/apps/mobile/packages/features/client/hubs/lib/src/presentation/pages/client_hubs_page.dart b/apps/mobile/packages/features/client/hubs/lib/src/presentation/pages/client_hubs_page.dart index 04ea1cca..27757a85 100644 --- a/apps/mobile/packages/features/client/hubs/lib/src/presentation/pages/client_hubs_page.dart +++ b/apps/mobile/packages/features/client/hubs/lib/src/presentation/pages/client_hubs_page.dart @@ -46,8 +46,18 @@ class ClientHubsPage extends StatelessWidget { }, builder: (context, state) { return Scaffold( + backgroundColor: UiColors.bgMenu, + floatingActionButton: FloatingActionButton( + onPressed: () => BlocProvider.of( + context, + ).add(const ClientHubsAddDialogToggled(visible: true)), + shape: const RoundedRectangleBorder( + borderRadius: BorderRadius.all(Radius.circular(8)), + ), + child: const Icon(UiIcons.add), + ), body: Stack( - children: [ + children: [ CustomScrollView( slivers: [ _buildAppBar(context), @@ -185,17 +195,6 @@ class ClientHubsPage extends StatelessWidget { ), ], ), - UiButton.primary( - onPressed: () => BlocProvider.of( - context, - ).add(const ClientHubsAddDialogToggled(visible: true)), - text: t.client_hubs.add_hub, - leadingIcon: UiIcons.add, - style: ElevatedButton.styleFrom( - minimumSize: const Size(0, 40), - maximumSize: const Size.fromHeight(40), - ), - ), ], ), ], From 5da56eb769543ece0b96ea867f7957cc55b5cd0e Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Thu, 22 Jan 2026 13:43:04 -0500 Subject: [PATCH 14/19] feat: Add sign out confirmation dialog and success snackbar Introduces a confirmation dialog before signing out in the client settings page and displays a snackbar upon successful sign out. Also updates a slivers list to use explicit type annotation for consistency. --- .../presentation/pages/client_hubs_page.dart | 2 +- .../pages/client_settings_page.dart | 3 ++ .../settings_actions.dart | 45 +++++++++++++++++-- 3 files changed, 46 insertions(+), 4 deletions(-) diff --git a/apps/mobile/packages/features/client/hubs/lib/src/presentation/pages/client_hubs_page.dart b/apps/mobile/packages/features/client/hubs/lib/src/presentation/pages/client_hubs_page.dart index 27757a85..29cdfd63 100644 --- a/apps/mobile/packages/features/client/hubs/lib/src/presentation/pages/client_hubs_page.dart +++ b/apps/mobile/packages/features/client/hubs/lib/src/presentation/pages/client_hubs_page.dart @@ -59,7 +59,7 @@ class ClientHubsPage extends StatelessWidget { body: Stack( children: [ CustomScrollView( - slivers: [ + slivers: [ _buildAppBar(context), SliverPadding( padding: const EdgeInsets.symmetric( diff --git a/apps/mobile/packages/features/client/settings/lib/src/presentation/pages/client_settings_page.dart b/apps/mobile/packages/features/client/settings/lib/src/presentation/pages/client_settings_page.dart index f4ae4ae4..adee5336 100644 --- a/apps/mobile/packages/features/client/settings/lib/src/presentation/pages/client_settings_page.dart +++ b/apps/mobile/packages/features/client/settings/lib/src/presentation/pages/client_settings_page.dart @@ -23,6 +23,9 @@ class ClientSettingsPage extends StatelessWidget { child: BlocListener( listener: (context, state) { if (state is ClientSettingsSignOutSuccess) { + ScaffoldMessenger.of(context).showSnackBar( + const SnackBar(content: Text('Signed out successfully')), + ); Modular.to.navigate('/'); } if (state is ClientSettingsError) { diff --git a/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_actions.dart b/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_actions.dart index 1375b271..f7fd3dbb 100644 --- a/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_actions.dart +++ b/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_actions.dart @@ -28,9 +28,7 @@ class SettingsActions extends StatelessWidget { text: labels.log_out, onPressed: state is ClientSettingsLoading ? null - : () => BlocProvider.of( - context, - ).add(const ClientSettingsSignOutRequested()), + : () => _showSignOutDialog(context), ); }, ), @@ -38,4 +36,45 @@ class SettingsActions extends StatelessWidget { ), ); } + + /// Shows a confirmation dialog for signing out. + Future _showSignOutDialog(BuildContext context) { + return showDialog( + context: context, + builder: (BuildContext context) => AlertDialog( + backgroundColor: UiColors.bgPopup, + elevation: 0, + shape: RoundedRectangleBorder(borderRadius: UiConstants.radiusLg), + title: Text( + t.client_settings.profile.log_out, + style: UiTypography.headline3m.textPrimary, + ), + content: Text( + 'Are you sure you want to log out?', + style: UiTypography.body2r.textSecondary, + ), + actions: [ + TextButton( + onPressed: () => Navigator.of(context).pop(), + child: Text( + t.common.cancel, + style: UiTypography.buttonM.textSecondary, + ), + ), + TextButton( + onPressed: () { + Navigator.of(context).pop(); + BlocProvider.of( + context, + ).add(const ClientSettingsSignOutRequested()); + }, + child: Text( + t.client_settings.profile.log_out, + style: UiTypography.buttonM.textError, + ), + ), + ], + ), + ); + } } From a7540954cb42857ecca83981055084fe50029ff9 Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Thu, 22 Jan 2026 13:49:00 -0500 Subject: [PATCH 15/19] chore: Refactor navigation and button actions in settings page Replaced Navigator calls with Modular navigation for consistency. Updated button order and styling in the logout dialog, and added comments for clarity. The Hubs button now uses Modular navigation to push the Hubs page. --- .../settings_actions.dart | 45 +++++++++++++------ 1 file changed, 31 insertions(+), 14 deletions(-) diff --git a/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_actions.dart b/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_actions.dart index f7fd3dbb..b906f258 100644 --- a/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_actions.dart +++ b/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_actions.dart @@ -1,7 +1,9 @@ +import 'package:client_settings/src/presentation/navigation/client_settings_navigator.dart'; import 'package:core_localization/core_localization.dart'; import 'package:design_system/design_system.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; +import 'package:flutter_modular/flutter_modular.dart'; import '../../blocs/client_settings_bloc.dart'; /// A widget that displays the primary actions for the settings page. @@ -11,19 +13,31 @@ class SettingsActions extends StatelessWidget { @override Widget build(BuildContext context) { - final labels = t.client_settings.profile; + // Get the translations for the client settings profile. + final TranslationsClientSettingsProfileEn labels = + t.client_settings.profile; return SliverPadding( padding: const EdgeInsets.symmetric(horizontal: UiConstants.space5), sliver: SliverList( - delegate: SliverChildListDelegate([ + delegate: SliverChildListDelegate([ const SizedBox(height: UiConstants.space5), + + // Edit profile button UiButton.primary(text: labels.edit_profile, onPressed: () {}), + const SizedBox(height: UiConstants.space4), - UiButton.primary(text: labels.hubs, onPressed: () {}), + + // Hubs button + UiButton.primary( + text: labels.hubs, + onPressed: () => Modular.to.pushHubs(), + ), const SizedBox(height: UiConstants.space4), + + // Log out button BlocBuilder( - builder: (context, state) { + builder: (BuildContext context, ClientSettingsState state) { return UiButton.secondary( text: labels.log_out, onPressed: state is ClientSettingsLoading @@ -53,24 +67,27 @@ class SettingsActions extends StatelessWidget { 'Are you sure you want to log out?', style: UiTypography.body2r.textSecondary, ), - actions: [ - TextButton( - onPressed: () => Navigator.of(context).pop(), - child: Text( - t.common.cancel, - style: UiTypography.buttonM.textSecondary, - ), - ), + actions: [ + // Log out button TextButton( onPressed: () { - Navigator.of(context).pop(); + Modular.to.pop(); BlocProvider.of( context, ).add(const ClientSettingsSignOutRequested()); }, child: Text( t.client_settings.profile.log_out, - style: UiTypography.buttonM.textError, + style: UiTypography.buttonM.textSecondary, + ), + ), + + // Cancel button + TextButton( + onPressed: () => Modular.to.pop(), + child: Text( + t.common.cancel, + style: UiTypography.buttonM.textPrimary, ), ), ], From 3d18395a09afc0c434bb851b25c183fb222e8251 Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Thu, 22 Jan 2026 14:04:18 -0500 Subject: [PATCH 16/19] Adjust top margin in SettingsProfileHeader Updated the top margin from UiConstants.space14 to UiConstants.space16 in the SettingsProfileHeader widget for improved layout consistency. --- .../widgets/client_settings_page/settings_profile_header.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_profile_header.dart b/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_profile_header.dart index b3ec10d0..a129b7bc 100644 --- a/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_profile_header.dart +++ b/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_profile_header.dart @@ -25,7 +25,7 @@ class SettingsProfileHeader extends StatelessWidget { flexibleSpace: FlexibleSpaceBar( background: Container( padding: const EdgeInsets.symmetric(horizontal: UiConstants.space8), - margin: const EdgeInsets.only(top: UiConstants.space14), + margin: const EdgeInsets.only(top: UiConstants.space16), child: Row( crossAxisAlignment: CrossAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.start, From 4022b6d1f32cec2974114c2979d65731756b2962 Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Thu, 22 Jan 2026 14:42:04 -0500 Subject: [PATCH 17/19] chore: Replace TextButton with UiButton.secondary in settings actions Updated the log out and cancel actions in SettingsActions to use UiButton.secondary instead of TextButton for consistency with the UI component library. --- .../client_settings_page/settings_actions.dart | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_actions.dart b/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_actions.dart index b906f258..209933aa 100644 --- a/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_actions.dart +++ b/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_actions.dart @@ -69,26 +69,20 @@ class SettingsActions extends StatelessWidget { ), actions: [ // Log out button - TextButton( + UiButton.secondary( + text: t.client_settings.profile.log_out, onPressed: () { Modular.to.pop(); BlocProvider.of( context, ).add(const ClientSettingsSignOutRequested()); }, - child: Text( - t.client_settings.profile.log_out, - style: UiTypography.buttonM.textSecondary, - ), ), // Cancel button - TextButton( + UiButton.secondary( + text: t.common.cancel, onPressed: () => Modular.to.pop(), - child: Text( - t.common.cancel, - style: UiTypography.buttonM.textPrimary, - ), ), ], ), From 772a1ba53f37d7ad0aca2e92ae40ce8d68623ec2 Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Thu, 22 Jan 2026 14:57:37 -0500 Subject: [PATCH 18/19] chore: Add documentation and improve UI styles in settings Added doc comments to widget build methods and constructors for better code clarity. Updated text styles in SettingsProfileHeader to use textPrimary and headline1m for improved UI consistency. --- .../src/presentation/pages/client_settings_page.dart | 1 + .../client_settings_page/settings_actions.dart | 1 + .../client_settings_page/settings_profile_header.dart | 11 +++++------ .../client_settings_page/settings_quick_links.dart | 8 ++++++++ 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/apps/mobile/packages/features/client/settings/lib/src/presentation/pages/client_settings_page.dart b/apps/mobile/packages/features/client/settings/lib/src/presentation/pages/client_settings_page.dart index adee5336..2d39eddc 100644 --- a/apps/mobile/packages/features/client/settings/lib/src/presentation/pages/client_settings_page.dart +++ b/apps/mobile/packages/features/client/settings/lib/src/presentation/pages/client_settings_page.dart @@ -17,6 +17,7 @@ class ClientSettingsPage extends StatelessWidget { const ClientSettingsPage({super.key}); @override + /// Builds the client settings page UI. Widget build(BuildContext context) { return BlocProvider( create: (context) => Modular.get(), diff --git a/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_actions.dart b/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_actions.dart index 209933aa..8a3f697c 100644 --- a/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_actions.dart +++ b/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_actions.dart @@ -12,6 +12,7 @@ class SettingsActions extends StatelessWidget { const SettingsActions({super.key}); @override + /// Builds the settings actions UI. Widget build(BuildContext context) { // Get the translations for the client settings profile. final TranslationsClientSettingsProfileEn labels = diff --git a/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_profile_header.dart b/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_profile_header.dart index a129b7bc..48f6a57f 100644 --- a/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_profile_header.dart +++ b/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_profile_header.dart @@ -9,6 +9,7 @@ class SettingsProfileHeader extends StatelessWidget { const SettingsProfileHeader({super.key}); @override + /// Builds the profile header UI. Widget build(BuildContext context) { final labels = t.client_settings.profile; @@ -39,12 +40,10 @@ class SettingsProfileHeader extends StatelessWidget { border: Border.all(color: UiColors.border, width: 2), color: UiColors.white, ), - child: const Center( + child: Center( child: Text( 'C', - style: TextStyle( - fontSize: 24, - fontWeight: FontWeight.bold, + style: UiTypography.headline1m.copyWith( color: UiColors.primary, ), ), @@ -54,7 +53,7 @@ class SettingsProfileHeader extends StatelessWidget { crossAxisAlignment: CrossAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.center, children: [ - Text('Your Company', style: UiTypography.body1b), + Text('Your Company', style: UiTypography.body1b.textPrimary), const SizedBox(height: UiConstants.space1), Row( mainAxisAlignment: MainAxisAlignment.start, @@ -77,7 +76,7 @@ class SettingsProfileHeader extends StatelessWidget { ), ), ), - title: Text(labels.title, style: UiTypography.body1b), + title: Text(labels.title, style: UiTypography.body1b.textPrimary), ); } } diff --git a/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_quick_links.dart b/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_quick_links.dart index eed50780..01f41765 100644 --- a/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_quick_links.dart +++ b/apps/mobile/packages/features/client/settings/lib/src/presentation/widgets/client_settings_page/settings_quick_links.dart @@ -10,6 +10,7 @@ class SettingsQuickLinks extends StatelessWidget { const SettingsQuickLinks({super.key}); @override + /// Builds the quick links UI. Widget build(BuildContext context) { final labels = t.client_settings.profile; @@ -54,10 +55,16 @@ class SettingsQuickLinks extends StatelessWidget { /// Internal widget for a single quick link item. class _QuickLinkItem extends StatelessWidget { + /// The icon to display. final IconData icon; + + /// The title of the link. final String title; + + /// Callback when the link is tapped. final VoidCallback onTap; + /// Creates a [_QuickLinkItem]. const _QuickLinkItem({ required this.icon, required this.title, @@ -65,6 +72,7 @@ class _QuickLinkItem extends StatelessWidget { }); @override + /// Builds the quick link item UI. Widget build(BuildContext context) { return InkWell( onTap: onTap, From 22ead66f712fd8da87aa3d78b29e3d44be4d54c8 Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Thu, 22 Jan 2026 15:29:28 -0500 Subject: [PATCH 19/19] Add client create order feature module Introduces the client_create_order feature with navigation, BLoC, state, and UI for selecting order types. Adds English and Spanish localization keys, updates dependencies, and integrates the new module into the client app routing. --- apps/mobile/apps/client/lib/main.dart | 8 + apps/mobile/apps/client/pubspec.yaml | 2 + .../lib/src/l10n/en.i18n.json | 14 + .../lib/src/l10n/es.i18n.json | 14 + .../create_order/lib/client_create_order.dart | 3 + .../lib/src/create_order_module.dart | 28 + .../blocs/client_create_order_bloc.dart | 69 ++ .../blocs/client_create_order_event.dart | 21 + .../blocs/client_create_order_state.dart | 63 ++ .../client_create_order_navigator.dart | 23 + .../presentation/pages/create_order_page.dart | 214 +++++ .../pages/one_time_order_page.dart | 32 + .../pages/permanent_order_page.dart | 32 + .../presentation/pages/rapid_order_page.dart | 31 + .../pages/recurring_order_page.dart | 32 + .../features/client/create_order/pubspec.lock | 851 ++++++++++++++++++ .../features/client/create_order/pubspec.yaml | 25 + .../navigation/client_home_navigator.dart | 16 +- .../presentation/pages/client_home_page.dart | 4 +- apps/mobile/pubspec.lock | 7 + 20 files changed, 1479 insertions(+), 10 deletions(-) create mode 100644 apps/mobile/packages/features/client/create_order/lib/client_create_order.dart create mode 100644 apps/mobile/packages/features/client/create_order/lib/src/create_order_module.dart create mode 100644 apps/mobile/packages/features/client/create_order/lib/src/presentation/blocs/client_create_order_bloc.dart create mode 100644 apps/mobile/packages/features/client/create_order/lib/src/presentation/blocs/client_create_order_event.dart create mode 100644 apps/mobile/packages/features/client/create_order/lib/src/presentation/blocs/client_create_order_state.dart create mode 100644 apps/mobile/packages/features/client/create_order/lib/src/presentation/navigation/client_create_order_navigator.dart create mode 100644 apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/create_order_page.dart create mode 100644 apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/one_time_order_page.dart create mode 100644 apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/permanent_order_page.dart create mode 100644 apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/rapid_order_page.dart create mode 100644 apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/recurring_order_page.dart create mode 100644 apps/mobile/packages/features/client/create_order/pubspec.lock create mode 100644 apps/mobile/packages/features/client/create_order/pubspec.yaml diff --git a/apps/mobile/apps/client/lib/main.dart b/apps/mobile/apps/client/lib/main.dart index 2b5e9e3d..1ff20926 100644 --- a/apps/mobile/apps/client/lib/main.dart +++ b/apps/mobile/apps/client/lib/main.dart @@ -9,6 +9,8 @@ import 'package:client_authentication/client_authentication.dart' import 'package:client_home/client_home.dart' as client_home; import 'package:client_settings/client_settings.dart' as client_settings; import 'package:client_hubs/client_hubs.dart' as client_hubs; +import 'package:client_create_order/client_create_order.dart' + as client_create_order; import 'package:firebase_core/firebase_core.dart'; void main() async { @@ -38,6 +40,12 @@ class AppModule extends Module { // Client hubs route r.module('/client-hubs', module: client_hubs.ClientHubsModule()); + + // Client create order route + r.module( + '/client/create-order', + module: client_create_order.ClientCreateOrderModule(), + ); } } diff --git a/apps/mobile/apps/client/pubspec.yaml b/apps/mobile/apps/client/pubspec.yaml index 53e35b5f..2a2760c8 100644 --- a/apps/mobile/apps/client/pubspec.yaml +++ b/apps/mobile/apps/client/pubspec.yaml @@ -26,6 +26,8 @@ dependencies: path: ../../packages/features/client/settings client_hubs: path: ../../packages/features/client/hubs + client_create_order: + path: ../../packages/features/client/create_order cupertino_icons: ^1.0.8 flutter_modular: ^6.3.2 diff --git a/apps/mobile/packages/core_localization/lib/src/l10n/en.i18n.json b/apps/mobile/packages/core_localization/lib/src/l10n/en.i18n.json index b31c4a4c..97aed906 100644 --- a/apps/mobile/packages/core_localization/lib/src/l10n/en.i18n.json +++ b/apps/mobile/packages/core_localization/lib/src/l10n/en.i18n.json @@ -232,6 +232,20 @@ "tag_identified": "Tag Identified", "assign_button": "Assign Tag" } + }, + "client_create_order": { + "title": "Create Order", + "section_title": "ORDER TYPE", + "types": { + "rapid": "RAPID", + "rapid_desc": "URGENT same-day Coverage", + "one_time": "One-Time", + "one_time_desc": "Single Event or Shift Request", + "recurring": "Recurring", + "recurring_desc": "Ongoing Weekly / Monthly Coverage", + "permanent": "Permanent", + "permanent_desc": "Long-Term Staffing Placement" + } } } diff --git a/apps/mobile/packages/core_localization/lib/src/l10n/es.i18n.json b/apps/mobile/packages/core_localization/lib/src/l10n/es.i18n.json index 6561ef02..1ec7d32d 100644 --- a/apps/mobile/packages/core_localization/lib/src/l10n/es.i18n.json +++ b/apps/mobile/packages/core_localization/lib/src/l10n/es.i18n.json @@ -232,5 +232,19 @@ "tag_identified": "Etiqueta Identificada", "assign_button": "Asignar Etiqueta" } + }, + "client_create_order": { + "title": "Crear Orden", + "section_title": "TIPO DE ORDEN", + "types": { + "rapid": "RÁPIDO", + "rapid_desc": "Cobertura URGENTE mismo día", + "one_time": "Única Vez", + "one_time_desc": "Evento Único o Petición de Turno", + "recurring": "Recurrente", + "recurring_desc": "Cobertura Continua Semanal / Mensual", + "permanent": "Permanente", + "permanent_desc": "Colocación de Personal a Largo Plazo" + } } } diff --git a/apps/mobile/packages/features/client/create_order/lib/client_create_order.dart b/apps/mobile/packages/features/client/create_order/lib/client_create_order.dart new file mode 100644 index 00000000..5ceb799b --- /dev/null +++ b/apps/mobile/packages/features/client/create_order/lib/client_create_order.dart @@ -0,0 +1,3 @@ +library client_create_order; + +export 'src/create_order_module.dart'; diff --git a/apps/mobile/packages/features/client/create_order/lib/src/create_order_module.dart b/apps/mobile/packages/features/client/create_order/lib/src/create_order_module.dart new file mode 100644 index 00000000..826ffc4b --- /dev/null +++ b/apps/mobile/packages/features/client/create_order/lib/src/create_order_module.dart @@ -0,0 +1,28 @@ +import 'package:flutter/widgets.dart'; +import 'package:flutter_modular/flutter_modular.dart'; +import 'presentation/blocs/client_create_order_bloc.dart'; +import 'presentation/pages/create_order_page.dart'; +import 'presentation/pages/one_time_order_page.dart'; +import 'presentation/pages/permanent_order_page.dart'; +import 'presentation/pages/rapid_order_page.dart'; +import 'presentation/pages/recurring_order_page.dart'; + +class ClientCreateOrderModule extends Module { + @override + void binds(Injector i) { + i.addSingleton(ClientCreateOrderBloc.new); + } + + @override + void routes(RouteManager r) { + r.child('/', + child: (BuildContext context) => const ClientCreateOrderPage()); + r.child('/rapid', child: (BuildContext context) => const RapidOrderPage()); + r.child('/one-time', + child: (BuildContext context) => const OneTimeOrderPage()); + r.child('/recurring', + child: (BuildContext context) => const RecurringOrderPage()); + r.child('/permanent', + child: (BuildContext context) => const PermanentOrderPage()); + } +} diff --git a/apps/mobile/packages/features/client/create_order/lib/src/presentation/blocs/client_create_order_bloc.dart b/apps/mobile/packages/features/client/create_order/lib/src/presentation/blocs/client_create_order_bloc.dart new file mode 100644 index 00000000..60f08bab --- /dev/null +++ b/apps/mobile/packages/features/client/create_order/lib/src/presentation/blocs/client_create_order_bloc.dart @@ -0,0 +1,69 @@ +import 'package:flutter_bloc/flutter_bloc.dart'; +import 'package:design_system/design_system.dart'; +import 'client_create_order_event.dart'; +import 'client_create_order_state.dart'; + +class ClientCreateOrderBloc + extends Bloc { + ClientCreateOrderBloc() : super(const ClientCreateOrderInitial()) { + on(_onTypesRequested); + } + + void _onTypesRequested( + ClientCreateOrderTypesRequested event, + Emitter emit, + ) { + // In a real app, this might come from a repository or config + final List types = [ + const CreateOrderType( + id: 'rapid', + icon: UiIcons.zap, + titleKey: 'client_create_order.types.rapid', + descriptionKey: 'client_create_order.types.rapid_desc', + backgroundColor: UiColors.tagError, // Red-ish background + borderColor: UiColors.destructive, // Red border + iconBackgroundColor: UiColors.tagError, + iconColor: UiColors.destructive, + textColor: UiColors.destructive, + descriptionColor: UiColors.textError, + ), + const CreateOrderType( + id: 'one-time', + icon: UiIcons.calendar, + titleKey: 'client_create_order.types.one_time', + descriptionKey: 'client_create_order.types.one_time_desc', + backgroundColor: UiColors.tagInProgress, // Blue-ish + borderColor: UiColors.primary, + iconBackgroundColor: UiColors.tagInProgress, + iconColor: UiColors.primary, + textColor: UiColors.primary, + descriptionColor: UiColors.primary, + ), + const CreateOrderType( + id: 'recurring', + icon: UiIcons.rotateCcw, + titleKey: 'client_create_order.types.recurring', + descriptionKey: 'client_create_order.types.recurring_desc', + backgroundColor: UiColors.tagRefunded, // Indigo-ish (Purple sub) + borderColor: UiColors.primary, // No purple, use primary or mix + iconBackgroundColor: UiColors.tagRefunded, + iconColor: UiColors.primary, + textColor: UiColors.primary, + descriptionColor: UiColors.textSecondary, + ), + const CreateOrderType( + id: 'permanent', + icon: UiIcons.briefcase, + titleKey: 'client_create_order.types.permanent', + descriptionKey: 'client_create_order.types.permanent_desc', + backgroundColor: UiColors.tagSuccess, // Green + borderColor: UiColors.textSuccess, + iconBackgroundColor: UiColors.tagSuccess, + iconColor: UiColors.textSuccess, + textColor: UiColors.textSuccess, + descriptionColor: UiColors.textSuccess, + ), + ]; + emit(ClientCreateOrderLoadSuccess(types)); + } +} diff --git a/apps/mobile/packages/features/client/create_order/lib/src/presentation/blocs/client_create_order_event.dart b/apps/mobile/packages/features/client/create_order/lib/src/presentation/blocs/client_create_order_event.dart new file mode 100644 index 00000000..33ed40eb --- /dev/null +++ b/apps/mobile/packages/features/client/create_order/lib/src/presentation/blocs/client_create_order_event.dart @@ -0,0 +1,21 @@ +import 'package:equatable/equatable.dart'; + +abstract class ClientCreateOrderEvent extends Equatable { + const ClientCreateOrderEvent(); + + @override + List get props => []; +} + +class ClientCreateOrderTypesRequested extends ClientCreateOrderEvent { + const ClientCreateOrderTypesRequested(); +} + +class ClientCreateOrderTypeSelected extends ClientCreateOrderEvent { + final String typeId; + + const ClientCreateOrderTypeSelected(this.typeId); + + @override + List get props => [typeId]; +} diff --git a/apps/mobile/packages/features/client/create_order/lib/src/presentation/blocs/client_create_order_state.dart b/apps/mobile/packages/features/client/create_order/lib/src/presentation/blocs/client_create_order_state.dart new file mode 100644 index 00000000..d977c4c3 --- /dev/null +++ b/apps/mobile/packages/features/client/create_order/lib/src/presentation/blocs/client_create_order_state.dart @@ -0,0 +1,63 @@ +import 'package:equatable/equatable.dart'; +import 'package:flutter/material.dart'; + +/// Represents an available order type. +class CreateOrderType extends Equatable { + final String id; + final IconData icon; + final String titleKey; // Key for translation + final String descriptionKey; // Key for translation + final Color backgroundColor; + final Color borderColor; + final Color iconBackgroundColor; + final Color iconColor; + final Color textColor; + final Color descriptionColor; + + const CreateOrderType({ + required this.id, + required this.icon, + required this.titleKey, + required this.descriptionKey, + required this.backgroundColor, + required this.borderColor, + required this.iconBackgroundColor, + required this.iconColor, + required this.textColor, + required this.descriptionColor, + }); + + @override + List get props => [ + id, + icon, + titleKey, + descriptionKey, + backgroundColor, + borderColor, + iconBackgroundColor, + iconColor, + textColor, + descriptionColor, + ]; +} + +abstract class ClientCreateOrderState extends Equatable { + const ClientCreateOrderState(); + + @override + List get props => []; +} + +class ClientCreateOrderInitial extends ClientCreateOrderState { + const ClientCreateOrderInitial(); +} + +class ClientCreateOrderLoadSuccess extends ClientCreateOrderState { + final List orderTypes; + + const ClientCreateOrderLoadSuccess(this.orderTypes); + + @override + List get props => [orderTypes]; +} diff --git a/apps/mobile/packages/features/client/create_order/lib/src/presentation/navigation/client_create_order_navigator.dart b/apps/mobile/packages/features/client/create_order/lib/src/presentation/navigation/client_create_order_navigator.dart new file mode 100644 index 00000000..4125d94b --- /dev/null +++ b/apps/mobile/packages/features/client/create_order/lib/src/presentation/navigation/client_create_order_navigator.dart @@ -0,0 +1,23 @@ +import 'package:flutter_modular/flutter_modular.dart'; + +extension ClientCreateOrderNavigator on IModularNavigator { + void pushCreateOrder() { + pushNamed('/client/create-order/'); + } + + void pushRapidOrder() { + pushNamed('/client/create-order/rapid'); + } + + void pushOneTimeOrder() { + pushNamed('/client/create-order/one-time'); + } + + void pushRecurringOrder() { + pushNamed('/client/create-order/recurring'); + } + + void pushPermanentOrder() { + pushNamed('/client/create-order/permanent'); + } +} diff --git a/apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/create_order_page.dart b/apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/create_order_page.dart new file mode 100644 index 00000000..2687f435 --- /dev/null +++ b/apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/create_order_page.dart @@ -0,0 +1,214 @@ +import 'package:core_localization/core_localization.dart'; +import 'package:design_system/design_system.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_bloc/flutter_bloc.dart'; +import 'package:flutter_modular/flutter_modular.dart'; +import '../blocs/client_create_order_bloc.dart'; +import '../blocs/client_create_order_event.dart'; +import '../blocs/client_create_order_state.dart'; +import '../navigation/client_create_order_navigator.dart'; + +/// One-time helper to map keys to translations since they are dynamic in BLoC state +String _getTranslation(String key) { + // Safe mapping - explicit keys expected + if (key == 'client_create_order.types.rapid') { + return t.client_create_order.types.rapid; + } else if (key == 'client_create_order.types.rapid_desc') { + return t.client_create_order.types.rapid_desc; + } else if (key == 'client_create_order.types.one_time') { + return t.client_create_order.types.one_time; + } else if (key == 'client_create_order.types.one_time_desc') { + return t.client_create_order.types.one_time_desc; + } else if (key == 'client_create_order.types.recurring') { + return t.client_create_order.types.recurring; + } else if (key == 'client_create_order.types.recurring_desc') { + return t.client_create_order.types.recurring_desc; + } else if (key == 'client_create_order.types.permanent') { + return t.client_create_order.types.permanent; + } else if (key == 'client_create_order.types.permanent_desc') { + return t.client_create_order.types.permanent_desc; + } + return key; +} + +class ClientCreateOrderPage extends StatelessWidget { + const ClientCreateOrderPage({super.key}); + + @override + Widget build(BuildContext context) { + return BlocProvider( + create: (BuildContext context) => Modular.get() + ..add(const ClientCreateOrderTypesRequested()), + child: const _CreateOrderView(), + ); + } +} + +class _CreateOrderView extends StatelessWidget { + const _CreateOrderView(); + + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: UiColors.background, + appBar: AppBar( + backgroundColor: UiColors.white, + elevation: 0, + bottom: PreferredSize( + preferredSize: const Size.fromHeight(1.0), + child: Container(color: UiColors.border, height: 1.0), + ), + leading: IconButton( + icon: const Icon(UiIcons.chevronLeft, color: UiColors.iconSecondary), + onPressed: () => Modular.to.pop(), + ), + title: Text( + t.client_create_order.title, + style: UiTypography.headline3m.textPrimary, + ), + ), + body: SafeArea( + child: Padding( + padding: const EdgeInsets.symmetric( + horizontal: UiConstants.space5, + vertical: UiConstants.space6, + ), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Padding( + padding: const EdgeInsets.only(bottom: UiConstants.space6), + child: Text( + t.client_create_order.section_title, + style: UiTypography.footnote1m.copyWith( + color: UiColors.textDescription, + letterSpacing: 0.5, + ), + ), + ), + Expanded( + child: + BlocBuilder( + builder: + (BuildContext context, ClientCreateOrderState state) { + if (state is ClientCreateOrderLoadSuccess) { + return GridView.builder( + gridDelegate: + const SliverGridDelegateWithFixedCrossAxisCount( + crossAxisCount: 2, + mainAxisSpacing: UiConstants.space4, + crossAxisSpacing: UiConstants.space4, + childAspectRatio: 1, + ), + itemCount: state.orderTypes.length, + itemBuilder: (BuildContext context, int index) { + final CreateOrderType type = state.orderTypes[index]; + return _OrderTypeCard( + icon: type.icon, + title: _getTranslation(type.titleKey), + description: _getTranslation( + type.descriptionKey, + ), + backgroundColor: type.backgroundColor, + borderColor: type.borderColor, + iconBackgroundColor: type.iconBackgroundColor, + iconColor: type.iconColor, + textColor: type.textColor, + descriptionColor: type.descriptionColor, + onTap: () { + switch (type.id) { + case 'rapid': + Modular.to.pushRapidOrder(); + break; + case 'one-time': + Modular.to.pushOneTimeOrder(); + break; + case 'recurring': + Modular.to.pushRecurringOrder(); + break; + case 'permanent': + Modular.to.pushPermanentOrder(); + break; + } + }, + ); + }, + ); + } + return const Center(child: CircularProgressIndicator()); + }, + ), + ), + ], + ), + ), + ), + ); + } +} + +class _OrderTypeCard extends StatelessWidget { + final IconData icon; + final String title; + final String description; + final Color backgroundColor; + final Color borderColor; + final Color iconBackgroundColor; + final Color iconColor; + final Color textColor; + final Color descriptionColor; + final VoidCallback onTap; + + const _OrderTypeCard({ + required this.icon, + required this.title, + required this.description, + required this.backgroundColor, + required this.borderColor, + required this.iconBackgroundColor, + required this.iconColor, + required this.textColor, + required this.descriptionColor, + required this.onTap, + }); + + @override + Widget build(BuildContext context) { + return GestureDetector( + onTap: onTap, + child: Container( + padding: const EdgeInsets.all(UiConstants.space5), + decoration: BoxDecoration( + color: backgroundColor, + borderRadius: BorderRadius.circular(UiConstants.radiusBase), + border: Border.all(color: borderColor, width: 2), + ), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisAlignment: MainAxisAlignment.start, + children: [ + Container( + width: 48, + height: 48, + margin: const EdgeInsets.only(bottom: UiConstants.space3), + decoration: BoxDecoration( + color: iconBackgroundColor, + borderRadius: BorderRadius.circular(UiConstants.radiusBase), + ), + child: Icon(icon, color: iconColor, size: 24), + ), + Text( + title, + style: UiTypography.body2b.copyWith(color: textColor), + ), + const SizedBox(height: UiConstants.space1), + Text( + description, + style: UiTypography.footnote1r.copyWith(color: descriptionColor), + ), + ], + ), + ), + ); + } +} diff --git a/apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/one_time_order_page.dart b/apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/one_time_order_page.dart new file mode 100644 index 00000000..a7187324 --- /dev/null +++ b/apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/one_time_order_page.dart @@ -0,0 +1,32 @@ +import 'package:design_system/design_system.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_modular/flutter_modular.dart'; + +class OneTimeOrderPage extends StatelessWidget { + const OneTimeOrderPage({super.key}); + + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: UiColors.background, + appBar: AppBar( + title: + Text('One-Time Order', style: UiTypography.headline3m.textPrimary), + leading: IconButton( + icon: const Icon(UiIcons.chevronLeft, color: UiColors.iconSecondary), + onPressed: () => Modular.to.pop(), + ), + backgroundColor: UiColors.white, + elevation: 0, + bottom: PreferredSize( + preferredSize: const Size.fromHeight(1.0), + child: Container(color: UiColors.border, height: 1.0), + ), + ), + body: Center( + child: Text('One-Time Order Flow (WIP)', + style: UiTypography.body1r.textSecondary), + ), + ); + } +} diff --git a/apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/permanent_order_page.dart b/apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/permanent_order_page.dart new file mode 100644 index 00000000..cdde6387 --- /dev/null +++ b/apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/permanent_order_page.dart @@ -0,0 +1,32 @@ +import 'package:design_system/design_system.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_modular/flutter_modular.dart'; + +class PermanentOrderPage extends StatelessWidget { + const PermanentOrderPage({super.key}); + + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: UiColors.background, + appBar: AppBar( + title: + Text('Permanent Order', style: UiTypography.headline3m.textPrimary), + leading: IconButton( + icon: const Icon(UiIcons.chevronLeft, color: UiColors.iconSecondary), + onPressed: () => Modular.to.pop(), + ), + backgroundColor: UiColors.white, + elevation: 0, + bottom: PreferredSize( + preferredSize: const Size.fromHeight(1.0), + child: Container(color: UiColors.border, height: 1.0), + ), + ), + body: Center( + child: Text('Permanent Order Flow (WIP)', + style: UiTypography.body1r.textSecondary), + ), + ); + } +} diff --git a/apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/rapid_order_page.dart b/apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/rapid_order_page.dart new file mode 100644 index 00000000..187202d5 --- /dev/null +++ b/apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/rapid_order_page.dart @@ -0,0 +1,31 @@ +import 'package:design_system/design_system.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_modular/flutter_modular.dart'; + +class RapidOrderPage extends StatelessWidget { + const RapidOrderPage({super.key}); + + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: UiColors.background, + appBar: AppBar( + title: Text('Rapid Order', style: UiTypography.headline3m.textPrimary), + leading: IconButton( + icon: const Icon(UiIcons.chevronLeft, color: UiColors.iconSecondary), + onPressed: () => Modular.to.pop(), + ), + backgroundColor: UiColors.white, + elevation: 0, + bottom: PreferredSize( + preferredSize: const Size.fromHeight(1.0), + child: Container(color: UiColors.border, height: 1.0), + ), + ), + body: Center( + child: Text('Rapid Order Flow (WIP)', + style: UiTypography.body1r.textSecondary), + ), + ); + } +} diff --git a/apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/recurring_order_page.dart b/apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/recurring_order_page.dart new file mode 100644 index 00000000..98092ea6 --- /dev/null +++ b/apps/mobile/packages/features/client/create_order/lib/src/presentation/pages/recurring_order_page.dart @@ -0,0 +1,32 @@ +import 'package:design_system/design_system.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_modular/flutter_modular.dart'; + +class RecurringOrderPage extends StatelessWidget { + const RecurringOrderPage({super.key}); + + @override + Widget build(BuildContext context) { + return Scaffold( + backgroundColor: UiColors.background, + appBar: AppBar( + title: + Text('Recurring Order', style: UiTypography.headline3m.textPrimary), + leading: IconButton( + icon: const Icon(UiIcons.chevronLeft, color: UiColors.iconSecondary), + onPressed: () => Modular.to.pop(), + ), + backgroundColor: UiColors.white, + elevation: 0, + bottom: PreferredSize( + preferredSize: const Size.fromHeight(1.0), + child: Container(color: UiColors.border, height: 1.0), + ), + ), + body: Center( + child: Text('Recurring Order Flow (WIP)', + style: UiTypography.body1r.textSecondary), + ), + ); + } +} diff --git a/apps/mobile/packages/features/client/create_order/pubspec.lock b/apps/mobile/packages/features/client/create_order/pubspec.lock new file mode 100644 index 00000000..2a4056b0 --- /dev/null +++ b/apps/mobile/packages/features/client/create_order/pubspec.lock @@ -0,0 +1,851 @@ +# Generated by pub +# See https://dart.dev/tools/pub/glossary#lockfile +packages: + _fe_analyzer_shared: + dependency: transitive + description: + name: _fe_analyzer_shared + sha256: c209688d9f5a5f26b2fb47a188131a6fb9e876ae9e47af3737c0b4f58a93470d + url: "https://pub.dev" + source: hosted + version: "91.0.0" + analyzer: + dependency: transitive + description: + name: analyzer + sha256: f51c8499b35f9b26820cfe914828a6a98a94efd5cc78b37bb7d03debae3a1d08 + url: "https://pub.dev" + source: hosted + version: "8.4.1" + args: + dependency: transitive + description: + name: args + sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04 + url: "https://pub.dev" + source: hosted + version: "2.7.0" + async: + dependency: transitive + description: + name: async + sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb" + url: "https://pub.dev" + source: hosted + version: "2.13.0" + auto_injector: + dependency: transitive + description: + name: auto_injector + sha256: "1fc2624898e92485122eb2b1698dd42511d7ff6574f84a3a8606fc4549a1e8f8" + url: "https://pub.dev" + source: hosted + version: "2.1.1" + bloc: + dependency: transitive + description: + name: bloc + sha256: "106842ad6569f0b60297619e9e0b1885c2fb9bf84812935490e6c5275777804e" + url: "https://pub.dev" + source: hosted + version: "8.1.4" + bloc_test: + dependency: "direct dev" + description: + name: bloc_test + sha256: "165a6ec950d9252ebe36dc5335f2e6eb13055f33d56db0eeb7642768849b43d2" + url: "https://pub.dev" + source: hosted + version: "9.1.7" + boolean_selector: + dependency: transitive + description: + name: boolean_selector + sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea" + url: "https://pub.dev" + source: hosted + version: "2.1.2" + characters: + dependency: transitive + description: + name: characters + sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803 + url: "https://pub.dev" + source: hosted + version: "1.4.0" + cli_config: + dependency: transitive + description: + name: cli_config + sha256: ac20a183a07002b700f0c25e61b7ee46b23c309d76ab7b7640a028f18e4d99ec + url: "https://pub.dev" + source: hosted + version: "0.2.0" + clock: + dependency: transitive + description: + name: clock + sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b + url: "https://pub.dev" + source: hosted + version: "1.1.2" + code_assets: + dependency: transitive + description: + name: code_assets + sha256: "83ccdaa064c980b5596c35dd64a8d3ecc68620174ab9b90b6343b753aa721687" + url: "https://pub.dev" + source: hosted + version: "1.0.0" + collection: + dependency: transitive + description: + name: collection + sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76" + url: "https://pub.dev" + source: hosted + version: "1.19.1" + convert: + dependency: transitive + description: + name: convert + sha256: b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68 + url: "https://pub.dev" + source: hosted + version: "3.1.2" + core_localization: + dependency: "direct main" + description: + path: "../../../core_localization" + relative: true + source: path + version: "0.0.1" + coverage: + dependency: transitive + description: + name: coverage + sha256: "5da775aa218eaf2151c721b16c01c7676fbfdd99cebba2bf64e8b807a28ff94d" + url: "https://pub.dev" + source: hosted + version: "1.15.0" + crypto: + dependency: transitive + description: + name: crypto + sha256: c8ea0233063ba03258fbcf2ca4d6dadfefe14f02fab57702265467a19f27fadf + url: "https://pub.dev" + source: hosted + version: "3.0.7" + csv: + dependency: transitive + description: + name: csv + sha256: c6aa2679b2a18cb57652920f674488d89712efaf4d3fdf2e537215b35fc19d6c + url: "https://pub.dev" + source: hosted + version: "6.0.0" + design_system: + dependency: "direct main" + description: + path: "../../../design_system" + relative: true + source: path + version: "0.0.1" + diff_match_patch: + dependency: transitive + description: + name: diff_match_patch + sha256: "2efc9e6e8f449d0abe15be240e2c2a3bcd977c8d126cfd70598aee60af35c0a4" + url: "https://pub.dev" + source: hosted + version: "0.4.1" + equatable: + dependency: "direct main" + description: + name: equatable + sha256: "3e0141505477fd8ad55d6eb4e7776d3fe8430be8e497ccb1521370c3f21a3e2b" + url: "https://pub.dev" + source: hosted + version: "2.0.8" + fake_async: + dependency: transitive + description: + name: fake_async + sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44" + url: "https://pub.dev" + source: hosted + version: "1.3.3" + ffi: + dependency: transitive + description: + name: ffi + sha256: d07d37192dbf97461359c1518788f203b0c9102cfd2c35a716b823741219542c + url: "https://pub.dev" + source: hosted + version: "2.1.5" + file: + dependency: transitive + description: + name: file + sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4 + url: "https://pub.dev" + source: hosted + version: "7.0.1" + fixnum: + dependency: transitive + description: + name: fixnum + sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be + url: "https://pub.dev" + source: hosted + version: "1.1.1" + flutter: + dependency: "direct main" + description: flutter + source: sdk + version: "0.0.0" + flutter_bloc: + dependency: "direct main" + description: + name: flutter_bloc + sha256: b594505eac31a0518bdcb4b5b79573b8d9117b193cc80cc12e17d639b10aa27a + url: "https://pub.dev" + source: hosted + version: "8.1.6" + flutter_localizations: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" + flutter_modular: + dependency: "direct main" + description: + name: flutter_modular + sha256: "33a63d9fe61429d12b3dfa04795ed890f17d179d3d38e988ba7969651fcd5586" + url: "https://pub.dev" + source: hosted + version: "6.4.1" + flutter_test: + dependency: "direct dev" + description: flutter + source: sdk + version: "0.0.0" + flutter_web_plugins: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" + font_awesome_flutter: + dependency: transitive + description: + name: font_awesome_flutter + sha256: b9011df3a1fa02993630b8fb83526368cf2206a711259830325bab2f1d2a4eb0 + url: "https://pub.dev" + source: hosted + version: "10.12.0" + frontend_server_client: + dependency: transitive + description: + name: frontend_server_client + sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694 + url: "https://pub.dev" + source: hosted + version: "4.0.0" + glob: + dependency: transitive + description: + name: glob + sha256: c3f1ee72c96f8f78935e18aa8cecced9ab132419e8625dc187e1c2408efc20de + url: "https://pub.dev" + source: hosted + version: "2.1.3" + google_fonts: + dependency: transitive + description: + name: google_fonts + sha256: "6996212014b996eaa17074e02b1b925b212f5e053832d9048970dc27255a8fb3" + url: "https://pub.dev" + source: hosted + version: "7.1.0" + hooks: + dependency: transitive + description: + name: hooks + sha256: "5d309c86e7ce34cd8e37aa71cb30cb652d3829b900ab145e4d9da564b31d59f7" + url: "https://pub.dev" + source: hosted + version: "1.0.0" + http: + dependency: transitive + description: + name: http + sha256: "87721a4a50b19c7f1d49001e51409bddc46303966ce89a65af4f4e6004896412" + url: "https://pub.dev" + source: hosted + version: "1.6.0" + http_multi_server: + dependency: transitive + description: + name: http_multi_server + sha256: aa6199f908078bb1c5efb8d8638d4ae191aac11b311132c3ef48ce352fb52ef8 + url: "https://pub.dev" + source: hosted + version: "3.2.2" + http_parser: + dependency: transitive + description: + name: http_parser + sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571" + url: "https://pub.dev" + source: hosted + version: "4.1.2" + intl: + dependency: transitive + description: + name: intl + sha256: "3df61194eb431efc39c4ceba583b95633a403f46c9fd341e550ce0bfa50e9aa5" + url: "https://pub.dev" + source: hosted + version: "0.20.2" + io: + dependency: transitive + description: + name: io + sha256: dfd5a80599cf0165756e3181807ed3e77daf6dd4137caaad72d0b7931597650b + url: "https://pub.dev" + source: hosted + version: "1.0.5" + js: + dependency: transitive + description: + name: js + sha256: "53385261521cc4a0c4658fd0ad07a7d14591cf8fc33abbceae306ddb974888dc" + url: "https://pub.dev" + source: hosted + version: "0.7.2" + krow_core: + dependency: transitive + description: + path: "../../../core" + relative: true + source: path + version: "0.0.1" + krow_domain: + dependency: "direct main" + description: + path: "../../../domain" + relative: true + source: path + version: "0.0.1" + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de" + url: "https://pub.dev" + source: hosted + version: "11.0.2" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1" + url: "https://pub.dev" + source: hosted + version: "3.0.10" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1" + url: "https://pub.dev" + source: hosted + version: "3.0.2" + logging: + dependency: transitive + description: + name: logging + sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61 + url: "https://pub.dev" + source: hosted + version: "1.3.0" + lucide_icons: + dependency: transitive + description: + name: lucide_icons + sha256: ad24d0fd65707e48add30bebada7d90bff2a1bba0a72d6e9b19d44246b0e83c4 + url: "https://pub.dev" + source: hosted + version: "0.257.0" + matcher: + dependency: transitive + description: + name: matcher + sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 + url: "https://pub.dev" + source: hosted + version: "0.12.17" + material_color_utilities: + dependency: transitive + description: + name: material_color_utilities + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec + url: "https://pub.dev" + source: hosted + version: "0.11.1" + meta: + dependency: transitive + description: + name: meta + sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394" + url: "https://pub.dev" + source: hosted + version: "1.17.0" + mime: + dependency: transitive + description: + name: mime + sha256: "41a20518f0cb1256669420fdba0cd90d21561e560ac240f26ef8322e45bb7ed6" + url: "https://pub.dev" + source: hosted + version: "2.0.0" + mocktail: + dependency: transitive + description: + name: mocktail + sha256: "890df3f9688106f25755f26b1c60589a92b3ab91a22b8b224947ad041bf172d8" + url: "https://pub.dev" + source: hosted + version: "1.0.4" + modular_core: + dependency: transitive + description: + name: modular_core + sha256: "1db0420a0dfb8a2c6dca846e7cbaa4ffeb778e247916dbcb27fb25aa566e5436" + url: "https://pub.dev" + source: hosted + version: "3.4.1" + native_toolchain_c: + dependency: transitive + description: + name: native_toolchain_c + sha256: "89e83885ba09da5fdf2cdacc8002a712ca238c28b7f717910b34bcd27b0d03ac" + url: "https://pub.dev" + source: hosted + version: "0.17.4" + nested: + dependency: transitive + description: + name: nested + sha256: "03bac4c528c64c95c722ec99280375a6f2fc708eec17c7b3f07253b626cd2a20" + url: "https://pub.dev" + source: hosted + version: "1.0.0" + node_preamble: + dependency: transitive + description: + name: node_preamble + sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db" + url: "https://pub.dev" + source: hosted + version: "2.0.2" + objective_c: + dependency: transitive + description: + name: objective_c + sha256: "9922a1ad59ac5afb154cc948aa6ded01987a75003651d0a2866afc23f4da624e" + url: "https://pub.dev" + source: hosted + version: "9.2.3" + package_config: + dependency: transitive + description: + name: package_config + sha256: f096c55ebb7deb7e384101542bfba8c52696c1b56fca2eb62827989ef2353bbc + url: "https://pub.dev" + source: hosted + version: "2.2.0" + path: + dependency: transitive + description: + name: path + sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" + url: "https://pub.dev" + source: hosted + version: "1.9.1" + path_provider: + dependency: transitive + description: + name: path_provider + sha256: "50c5dd5b6e1aaf6fb3a78b33f6aa3afca52bf903a8a5298f53101fdaee55bbcd" + url: "https://pub.dev" + source: hosted + version: "2.1.5" + path_provider_android: + dependency: transitive + description: + name: path_provider_android + sha256: f2c65e21139ce2c3dad46922be8272bb5963516045659e71bb16e151c93b580e + url: "https://pub.dev" + source: hosted + version: "2.2.22" + path_provider_foundation: + dependency: transitive + description: + name: path_provider_foundation + sha256: "2a376b7d6392d80cd3705782d2caa734ca4727776db0b6ec36ef3f1855197699" + url: "https://pub.dev" + source: hosted + version: "2.6.0" + path_provider_linux: + dependency: transitive + description: + name: path_provider_linux + sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279 + url: "https://pub.dev" + source: hosted + version: "2.2.1" + path_provider_platform_interface: + dependency: transitive + description: + name: path_provider_platform_interface + sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334" + url: "https://pub.dev" + source: hosted + version: "2.1.2" + path_provider_windows: + dependency: transitive + description: + name: path_provider_windows + sha256: bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7 + url: "https://pub.dev" + source: hosted + version: "2.3.0" + platform: + dependency: transitive + description: + name: platform + sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984" + url: "https://pub.dev" + source: hosted + version: "3.1.6" + plugin_platform_interface: + dependency: transitive + description: + name: plugin_platform_interface + sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" + url: "https://pub.dev" + source: hosted + version: "2.1.8" + pool: + dependency: transitive + description: + name: pool + sha256: "978783255c543aa3586a1b3c21f6e9d720eb315376a915872c61ef8b5c20177d" + url: "https://pub.dev" + source: hosted + version: "1.5.2" + provider: + dependency: transitive + description: + name: provider + sha256: "4e82183fa20e5ca25703ead7e05de9e4cceed1fbd1eadc1ac3cb6f565a09f272" + url: "https://pub.dev" + source: hosted + version: "6.1.5+1" + pub_semver: + dependency: transitive + description: + name: pub_semver + sha256: "5bfcf68ca79ef689f8990d1160781b4bad40a3bd5e5218ad4076ddb7f4081585" + url: "https://pub.dev" + source: hosted + version: "2.2.0" + result_dart: + dependency: transitive + description: + name: result_dart + sha256: "0666b21fbdf697b3bdd9986348a380aa204b3ebe7c146d8e4cdaa7ce735e6054" + url: "https://pub.dev" + source: hosted + version: "2.1.1" + shared_preferences: + dependency: transitive + description: + name: shared_preferences + sha256: "2939ae520c9024cb197fc20dee269cd8cdbf564c8b5746374ec6cacdc5169e64" + url: "https://pub.dev" + source: hosted + version: "2.5.4" + shared_preferences_android: + dependency: transitive + description: + name: shared_preferences_android + sha256: "83af5c682796c0f7719c2bbf74792d113e40ae97981b8f266fa84574573556bc" + url: "https://pub.dev" + source: hosted + version: "2.4.18" + shared_preferences_foundation: + dependency: transitive + description: + name: shared_preferences_foundation + sha256: "4e7eaffc2b17ba398759f1151415869a34771ba11ebbccd1b0145472a619a64f" + url: "https://pub.dev" + source: hosted + version: "2.5.6" + shared_preferences_linux: + dependency: transitive + description: + name: shared_preferences_linux + sha256: "580abfd40f415611503cae30adf626e6656dfb2f0cee8f465ece7b6defb40f2f" + url: "https://pub.dev" + source: hosted + version: "2.4.1" + shared_preferences_platform_interface: + dependency: transitive + description: + name: shared_preferences_platform_interface + sha256: "57cbf196c486bc2cf1f02b85784932c6094376284b3ad5779d1b1c6c6a816b80" + url: "https://pub.dev" + source: hosted + version: "2.4.1" + shared_preferences_web: + dependency: transitive + description: + name: shared_preferences_web + sha256: c49bd060261c9a3f0ff445892695d6212ff603ef3115edbb448509d407600019 + url: "https://pub.dev" + source: hosted + version: "2.4.3" + shared_preferences_windows: + dependency: transitive + description: + name: shared_preferences_windows + sha256: "94ef0f72b2d71bc3e700e025db3710911bd51a71cefb65cc609dd0d9a982e3c1" + url: "https://pub.dev" + source: hosted + version: "2.4.1" + shelf: + dependency: transitive + description: + name: shelf + sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12 + url: "https://pub.dev" + source: hosted + version: "1.4.2" + shelf_packages_handler: + dependency: transitive + description: + name: shelf_packages_handler + sha256: "89f967eca29607c933ba9571d838be31d67f53f6e4ee15147d5dc2934fee1b1e" + url: "https://pub.dev" + source: hosted + version: "3.0.2" + shelf_static: + dependency: transitive + description: + name: shelf_static + sha256: c87c3875f91262785dade62d135760c2c69cb217ac759485334c5857ad89f6e3 + url: "https://pub.dev" + source: hosted + version: "1.1.3" + shelf_web_socket: + dependency: transitive + description: + name: shelf_web_socket + sha256: "3632775c8e90d6c9712f883e633716432a27758216dfb61bd86a8321c0580925" + url: "https://pub.dev" + source: hosted + version: "3.0.0" + sky_engine: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" + slang: + dependency: transitive + description: + name: slang + sha256: "13e3b6f07adc51ab751e7889647774d294cbce7a3382f81d9e5029acfe9c37b2" + url: "https://pub.dev" + source: hosted + version: "4.12.0" + slang_flutter: + dependency: transitive + description: + name: slang_flutter + sha256: "0a4545cca5404d6b7487cf61cf1fe56c52daeb08de56a7574ee8381fbad035a0" + url: "https://pub.dev" + source: hosted + version: "4.12.0" + source_map_stack_trace: + dependency: transitive + description: + name: source_map_stack_trace + sha256: c0713a43e323c3302c2abe2a1cc89aa057a387101ebd280371d6a6c9fa68516b + url: "https://pub.dev" + source: hosted + version: "2.1.2" + source_maps: + dependency: transitive + description: + name: source_maps + sha256: "190222579a448b03896e0ca6eca5998fa810fda630c1d65e2f78b3f638f54812" + url: "https://pub.dev" + source: hosted + version: "0.10.13" + source_span: + dependency: transitive + description: + name: source_span + sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c" + url: "https://pub.dev" + source: hosted + version: "1.10.1" + stack_trace: + dependency: transitive + description: + name: stack_trace + sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1" + url: "https://pub.dev" + source: hosted + version: "1.12.1" + stream_channel: + dependency: transitive + description: + name: stream_channel + sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d" + url: "https://pub.dev" + source: hosted + version: "2.1.4" + string_scanner: + dependency: transitive + description: + name: string_scanner + sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43" + url: "https://pub.dev" + source: hosted + version: "1.4.1" + term_glyph: + dependency: transitive + description: + name: term_glyph + sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e" + url: "https://pub.dev" + source: hosted + version: "1.2.2" + test: + dependency: transitive + description: + name: test + sha256: "75906bf273541b676716d1ca7627a17e4c4070a3a16272b7a3dc7da3b9f3f6b7" + url: "https://pub.dev" + source: hosted + version: "1.26.3" + test_api: + dependency: transitive + description: + name: test_api + sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55 + url: "https://pub.dev" + source: hosted + version: "0.7.7" + test_core: + dependency: transitive + description: + name: test_core + sha256: "0cc24b5ff94b38d2ae73e1eb43cc302b77964fbf67abad1e296025b78deb53d0" + url: "https://pub.dev" + source: hosted + version: "0.6.12" + typed_data: + dependency: transitive + description: + name: typed_data + sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 + url: "https://pub.dev" + source: hosted + version: "1.4.0" + uuid: + dependency: transitive + description: + name: uuid + sha256: a11b666489b1954e01d992f3d601b1804a33937b5a8fe677bd26b8a9f96f96e8 + url: "https://pub.dev" + source: hosted + version: "4.5.2" + vector_math: + dependency: transitive + description: + name: vector_math + sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b + url: "https://pub.dev" + source: hosted + version: "2.2.0" + vm_service: + dependency: transitive + description: + name: vm_service + sha256: "45caa6c5917fa127b5dbcfbd1fa60b14e583afdc08bfc96dda38886ca252eb60" + url: "https://pub.dev" + source: hosted + version: "15.0.2" + watcher: + dependency: transitive + description: + name: watcher + sha256: "1398c9f081a753f9226febe8900fce8f7d0a67163334e1c94a2438339d79d635" + url: "https://pub.dev" + source: hosted + version: "1.2.1" + web: + dependency: transitive + description: + name: web + sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a" + url: "https://pub.dev" + source: hosted + version: "1.1.1" + web_socket: + dependency: transitive + description: + name: web_socket + sha256: "34d64019aa8e36bf9842ac014bb5d2f5586ca73df5e4d9bf5c936975cae6982c" + url: "https://pub.dev" + source: hosted + version: "1.0.1" + web_socket_channel: + dependency: transitive + description: + name: web_socket_channel + sha256: d645757fb0f4773d602444000a8131ff5d48c9e47adfe9772652dd1a4f2d45c8 + url: "https://pub.dev" + source: hosted + version: "3.0.3" + webkit_inspection_protocol: + dependency: transitive + description: + name: webkit_inspection_protocol + sha256: "87d3f2333bb240704cd3f1c6b5b7acd8a10e7f0bc28c28dcf14e782014f4a572" + url: "https://pub.dev" + source: hosted + version: "1.2.1" + xdg_directories: + dependency: transitive + description: + name: xdg_directories + sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15" + url: "https://pub.dev" + source: hosted + version: "1.1.0" + yaml: + dependency: transitive + description: + name: yaml + sha256: b9da305ac7c39faa3f030eccd175340f968459dae4af175130b3fc47e40d76ce + url: "https://pub.dev" + source: hosted + version: "3.1.3" +sdks: + dart: ">=3.10.7 <4.0.0" + flutter: ">=3.38.4" diff --git a/apps/mobile/packages/features/client/create_order/pubspec.yaml b/apps/mobile/packages/features/client/create_order/pubspec.yaml new file mode 100644 index 00000000..34cc1051 --- /dev/null +++ b/apps/mobile/packages/features/client/create_order/pubspec.yaml @@ -0,0 +1,25 @@ +name: client_create_order +description: Client create order feature +version: 0.0.1 +publish_to: none + +environment: + sdk: ">=3.0.0 <4.0.0" + +dependencies: + flutter: + sdk: flutter + flutter_bloc: ^8.1.3 + flutter_modular: ^6.3.2 + equatable: ^2.0.5 + design_system: + path: ../../../design_system + core_localization: + path: ../../../core_localization + krow_domain: + path: ../../../domain + +dev_dependencies: + flutter_test: + sdk: flutter + bloc_test: ^9.1.5 diff --git a/apps/mobile/packages/features/client/home/lib/src/presentation/navigation/client_home_navigator.dart b/apps/mobile/packages/features/client/home/lib/src/presentation/navigation/client_home_navigator.dart index 13739b21..682ec32a 100644 --- a/apps/mobile/packages/features/client/home/lib/src/presentation/navigation/client_home_navigator.dart +++ b/apps/mobile/packages/features/client/home/lib/src/presentation/navigation/client_home_navigator.dart @@ -1,15 +1,15 @@ import 'package:flutter_modular/flutter_modular.dart'; -/// Extension on [IModularNavigator] to provide strongly-typed navigation -/// for the client home feature. extension ClientHomeNavigator on IModularNavigator { - /// Navigates to the client home page. - void pushClientHome() { - pushNamed('/client-home/'); - } - - /// Navigates to the settings page. void pushSettings() { pushNamed('/client-settings/'); } + + void pushCreateOrder() { + pushNamed('/client/create-order/'); + } + + void pushRapidOrder() { + pushNamed('/client/create-order/rapid'); + } } diff --git a/apps/mobile/packages/features/client/home/lib/src/presentation/pages/client_home_page.dart b/apps/mobile/packages/features/client/home/lib/src/presentation/pages/client_home_page.dart index bf3fe1b1..6f3840df 100644 --- a/apps/mobile/packages/features/client/home/lib/src/presentation/pages/client_home_page.dart +++ b/apps/mobile/packages/features/client/home/lib/src/presentation/pages/client_home_page.dart @@ -324,8 +324,8 @@ class ClientHomePage extends StatelessWidget { switch (id) { case 'actions': return ActionsWidget( - onRapidPressed: () {}, - onCreateOrderPressed: () => _openOrderFormSheet(context, null), + onRapidPressed: () => Modular.to.pushRapidOrder(), + onCreateOrderPressed: () => Modular.to.pushCreateOrder(), ); case 'reorder': return ReorderWidget( diff --git a/apps/mobile/pubspec.lock b/apps/mobile/pubspec.lock index 903fdd09..36934696 100644 --- a/apps/mobile/pubspec.lock +++ b/apps/mobile/pubspec.lock @@ -185,6 +185,13 @@ packages: url: "https://pub.dev" source: hosted version: "0.4.2" + client_create_order: + dependency: transitive + description: + path: "packages/features/client/create_order" + relative: true + source: path + version: "0.0.1" clock: dependency: transitive description: