Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(customer): add customer availability, booking, location, product… #73

Merged
merged 3 commits into from
Oct 24, 2023

Conversation

jamalsoueidan
Copy link
Owner

…, and schedule functions

This commit adds new files and functions related to customer availability, booking, location, product, and schedule. It includes the following changes:

  • Added customer-availability.function.ts file with the CustomerAvailabilityControllerGet function.
  • Added customer-booking.function.ts file with the CustomerBookingControllerGet and CustomerBookingControllerList functions.
  • Added customer-location.function.ts file with the CustomerLocationControllerAdd, CustomerLocationControllerCreate, CustomerLocationControllerGetAll, CustomerLocationControllerGetAllOrigins, CustomerLocationControllerGetOne, CustomerLocationControllerRemove, CustomerLocationControllerSetDefault, and CustomerLocationControllerUpdate functions.
  • Added customer-product.function.ts file with the CustomerProductsControllerList, CustomerProductControllerDestroy, CustomerProductControllerGet, and CustomerProductControllerUpsert functions.
  • Added customer-schedule.function.ts file with the CustomerScheduleControllerCreate, CustomerScheduleControllerDestroy, CustomerScheduleControllerGet, Customer

chore(get.spec.ts): update import path for CustomerScheduleServiceCreate in get.spec.ts chore(upsert.spec.ts): update import path for CustomerScheduleServiceCreate in upsert.spec.ts chore(list-ids.spec.ts): update import path for CustomerScheduleServiceCreate in list-ids.spec.ts chore(list.spec.ts): update import path for CustomerScheduleServiceCreate in list.spec.ts chore(create.ts): update import path for CustomerScheduleServiceCreate in create.ts chore(destroy.spec.ts): update import path for CustomerScheduleServiceCreate in destroy.spec.ts chore(destroy.ts): update import path for CustomerScheduleServiceDestroy in destroy.ts chore(get.spec.ts): update import path for CustomerScheduleServiceCreate in get.spec.ts chore(get.ts): update import path for CustomerScheduleServiceGet in get.ts chore(list.spec.ts): update import path for CustomerScheduleServiceList in list.spec.ts chore(list.ts

feat(schedule): add create, destroy, get, and getWithCustomer services

feat(schedule/create): add CustomerScheduleServiceCreate function

feat(schedule/destroy): add CustomerScheduleServiceDestroy function

feat(schedule/get): add CustomerScheduleServiceGet function

feat(schedule/getWithCustomer): add CustomerScheduleServiceGetWithCustomer function

test(schedule/create.spec): add tests for CustomerScheduleServiceCreate function

test(schedule/destroy.spec): add tests for CustomerScheduleServiceDestroy function

test(schedule/get.spec): add tests for CustomerScheduleServiceGet function

test(schedule/get-with-customer.spec): add tests for CustomerScheduleServiceGetWithCustomer function

feat(schedule): add list, update, and get-with-customer services

feat(schedule/list): add service to retrieve all schedules for a customerId

feat(schedule/update): add service to update a schedule

feat(schedule/get-with-customer): add service to retrieve a schedule with customer information

fix(schedule): fix import path in user/services/schedule.spec.ts

fix(availability): fix import path in generate-availability.ts

…, and schedule functions

This commit adds new files and functions related to customer availability, booking, location, product, and schedule. It includes the following changes:

- Added customer-availability.function.ts file with the CustomerAvailabilityControllerGet function.
- Added customer-booking.function.ts file with the CustomerBookingControllerGet and CustomerBookingControllerList functions.
- Added customer-location.function.ts file with the CustomerLocationControllerAdd, CustomerLocationControllerCreate, CustomerLocationControllerGetAll, CustomerLocationControllerGetAllOrigins, CustomerLocationControllerGetOne, CustomerLocationControllerRemove, CustomerLocationControllerSetDefault, and CustomerLocationControllerUpdate functions.
- Added customer-product.function.ts file with the CustomerProductsControllerList, CustomerProductControllerDestroy, CustomerProductControllerGet, and CustomerProductControllerUpsert functions.
- Added customer-schedule.function.ts file with the CustomerScheduleControllerCreate, CustomerScheduleControllerDestroy, CustomerScheduleControllerGet, Customer

chore(get.spec.ts): update import path for CustomerScheduleServiceCreate in get.spec.ts
chore(upsert.spec.ts): update import path for CustomerScheduleServiceCreate in upsert.spec.ts
chore(list-ids.spec.ts): update import path for CustomerScheduleServiceCreate in list-ids.spec.ts
chore(list.spec.ts): update import path for CustomerScheduleServiceCreate in list.spec.ts
chore(create.ts): update import path for CustomerScheduleServiceCreate in create.ts
chore(destroy.spec.ts): update import path for CustomerScheduleServiceCreate in destroy.spec.ts
chore(destroy.ts): update import path for CustomerScheduleServiceDestroy in destroy.ts
chore(get.spec.ts): update import path for CustomerScheduleServiceCreate in get.spec.ts
chore(get.ts): update import path for CustomerScheduleServiceGet in get.ts
chore(list.spec.ts): update import path for CustomerScheduleServiceList in list.spec.ts
chore(list.ts

feat(schedule): add create, destroy, get, and getWithCustomer services

feat(schedule/create): add CustomerScheduleServiceCreate function

feat(schedule/destroy): add CustomerScheduleServiceDestroy function

feat(schedule/get): add CustomerScheduleServiceGet function

feat(schedule/getWithCustomer): add CustomerScheduleServiceGetWithCustomer function

test(schedule/create.spec): add tests for CustomerScheduleServiceCreate function

test(schedule/destroy.spec): add tests for CustomerScheduleServiceDestroy function

test(schedule/get.spec): add tests for CustomerScheduleServiceGet function

test(schedule/get-with-customer.spec): add tests for CustomerScheduleServiceGetWithCustomer function

feat(schedule): add list, update, and get-with-customer services

feat(schedule/list): add service to retrieve all schedules for a customerId

feat(schedule/update): add service to update a schedule

feat(schedule/get-with-customer): add service to retrieve a schedule with customer information

fix(schedule): fix import path in user/services/schedule.spec.ts

fix(availability): fix import path in generate-availability.ts
…d add configuration comments

chore(deploy-azure-functions-production.yml): Set environment to dev
chore(deploy-azure-functions-production.yml): Update GitHub Actions checkout action version
chore(deploy-azure-functions-production.yml): Update Node.js setup action version and use environment variable for node version
chore(deploy-azure-functions-production.yml): Update project dependencies resolution and build steps
chore(deploy-azure-functions-production.yml): Update Azure Functions action version and use environment variables for app name and package path
chore(deploy-azure-functions-production.yml): Update publish profile secret name
chore(package.json): Update build script to use tsconfig.build.json
feat(tsconfig.build.json): Add tsconfig.build.json file to exclude spec files from build
@jamalsoueidan jamalsoueidan merged commit 6a5a4bd into main Oct 24, 2023
2 checks passed
@jamalsoueidan jamalsoueidan deleted the split-schedule branch October 24, 2023 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant