@savvycal/appointments-react-query 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -2813,6 +2813,7 @@ declare const useCompleteBookingIntent: (options?: Options$15) => _tanstack_reac
2813
2813
  requestBody?: {
2814
2814
  content: {
2815
2815
  "application/json": {
2816
+ auto_assign_provider?: boolean | null;
2816
2817
  client_data?: {
2817
2818
  email?: string | null;
2818
2819
  first_name?: string | null;
@@ -3275,6 +3276,7 @@ declare const useCompletePublicBookingIntent: (options?: Options$14) => _tanstac
3275
3276
  requestBody?: {
3276
3277
  content: {
3277
3278
  "application/json": {
3279
+ auto_assign_provider?: boolean | null;
3278
3280
  client_data?: {
3279
3281
  email?: string | null;
3280
3282
  first_name?: string | null;
@@ -5983,6 +5985,7 @@ declare const useCreateBookingIntent: (options?: Options$_) => _tanstack_react_q
5983
5985
  requestBody?: {
5984
5986
  content: {
5985
5987
  "application/json": {
5988
+ auto_assign_provider?: boolean | null;
5986
5989
  client_data?: {
5987
5990
  email?: string | null;
5988
5991
  first_name?: string | null;
@@ -7263,6 +7266,7 @@ declare const useCreatePublicBookingIntent: (options?: Options$T) => _tanstack_r
7263
7266
  content: {
7264
7267
  "application/json": {
7265
7268
  account_id: string;
7269
+ auto_assign_provider?: boolean | null;
7266
7270
  client_data?: {
7267
7271
  email?: string | null;
7268
7272
  first_name?: string | null;
@@ -10653,6 +10657,7 @@ declare const useUpdateBookingIntent: (options?: Options$D) => _tanstack_react_q
10653
10657
  requestBody?: {
10654
10658
  content: {
10655
10659
  "application/json": {
10660
+ auto_assign_provider?: boolean | null;
10656
10661
  client_data?: {
10657
10662
  email?: string | null;
10658
10663
  first_name?: string | null;
@@ -11934,6 +11939,7 @@ declare const useUpdatePublicBookingIntent: (options?: Options$x) => _tanstack_r
11934
11939
  requestBody?: {
11935
11940
  content: {
11936
11941
  "application/json": {
11942
+ auto_assign_provider?: boolean | null;
11937
11943
  client_data?: {
11938
11944
  email?: string | null;
11939
11945
  first_name?: string | null;
@@ -16205,7 +16211,7 @@ type PublicServiceSlotsParams = paths["/v1/public/services/{service_id}/slots"][
16205
16211
  interface Options$5 extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/slots"> {
16206
16212
  client?: QueryClient;
16207
16213
  }
16208
- declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path"]["service_id"], queryParams: PublicServiceSlotsParams["query"], options?: Options$5) => _tanstack_react_query.UseQueryResult<{
16214
+ declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path"]["service_id"], queryParams?: PublicServiceSlotsParams["query"], options?: Options$5) => _tanstack_react_query.UseQueryResult<{
16209
16215
  data: {
16210
16216
  end_at: string;
16211
16217
  end_at_ts: number;
@@ -16567,7 +16573,7 @@ type ServiceSlotsParams = paths["/v1/services/{service_id}/slots"]["get"]["param
16567
16573
  interface Options$1 extends QueryOptionsFor<"get", "/v1/services/{service_id}/slots"> {
16568
16574
  client?: QueryClient;
16569
16575
  }
16570
- declare const useServiceSlots: (service_id: ServiceSlotsParams["path"]["service_id"], queryParams: ServiceSlotsParams["query"], options?: Options$1) => _tanstack_react_query.UseQueryResult<{
16576
+ declare const useServiceSlots: (service_id: ServiceSlotsParams["path"]["service_id"], queryParams?: ServiceSlotsParams["query"], options?: Options$1) => _tanstack_react_query.UseQueryResult<{
16571
16577
  data: {
16572
16578
  aggregated_slots?: {
16573
16579
  count: number;
package/dist/index.d.ts CHANGED
@@ -2813,6 +2813,7 @@ declare const useCompleteBookingIntent: (options?: Options$15) => _tanstack_reac
2813
2813
  requestBody?: {
2814
2814
  content: {
2815
2815
  "application/json": {
2816
+ auto_assign_provider?: boolean | null;
2816
2817
  client_data?: {
2817
2818
  email?: string | null;
2818
2819
  first_name?: string | null;
@@ -3275,6 +3276,7 @@ declare const useCompletePublicBookingIntent: (options?: Options$14) => _tanstac
3275
3276
  requestBody?: {
3276
3277
  content: {
3277
3278
  "application/json": {
3279
+ auto_assign_provider?: boolean | null;
3278
3280
  client_data?: {
3279
3281
  email?: string | null;
3280
3282
  first_name?: string | null;
@@ -5983,6 +5985,7 @@ declare const useCreateBookingIntent: (options?: Options$_) => _tanstack_react_q
5983
5985
  requestBody?: {
5984
5986
  content: {
5985
5987
  "application/json": {
5988
+ auto_assign_provider?: boolean | null;
5986
5989
  client_data?: {
5987
5990
  email?: string | null;
5988
5991
  first_name?: string | null;
@@ -7263,6 +7266,7 @@ declare const useCreatePublicBookingIntent: (options?: Options$T) => _tanstack_r
7263
7266
  content: {
7264
7267
  "application/json": {
7265
7268
  account_id: string;
7269
+ auto_assign_provider?: boolean | null;
7266
7270
  client_data?: {
7267
7271
  email?: string | null;
7268
7272
  first_name?: string | null;
@@ -10653,6 +10657,7 @@ declare const useUpdateBookingIntent: (options?: Options$D) => _tanstack_react_q
10653
10657
  requestBody?: {
10654
10658
  content: {
10655
10659
  "application/json": {
10660
+ auto_assign_provider?: boolean | null;
10656
10661
  client_data?: {
10657
10662
  email?: string | null;
10658
10663
  first_name?: string | null;
@@ -11934,6 +11939,7 @@ declare const useUpdatePublicBookingIntent: (options?: Options$x) => _tanstack_r
11934
11939
  requestBody?: {
11935
11940
  content: {
11936
11941
  "application/json": {
11942
+ auto_assign_provider?: boolean | null;
11937
11943
  client_data?: {
11938
11944
  email?: string | null;
11939
11945
  first_name?: string | null;
@@ -16205,7 +16211,7 @@ type PublicServiceSlotsParams = paths["/v1/public/services/{service_id}/slots"][
16205
16211
  interface Options$5 extends QueryOptionsFor<"get", "/v1/public/services/{service_id}/slots"> {
16206
16212
  client?: QueryClient;
16207
16213
  }
16208
- declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path"]["service_id"], queryParams: PublicServiceSlotsParams["query"], options?: Options$5) => _tanstack_react_query.UseQueryResult<{
16214
+ declare const usePublicServiceSlots: (service_id: PublicServiceSlotsParams["path"]["service_id"], queryParams?: PublicServiceSlotsParams["query"], options?: Options$5) => _tanstack_react_query.UseQueryResult<{
16209
16215
  data: {
16210
16216
  end_at: string;
16211
16217
  end_at_ts: number;
@@ -16567,7 +16573,7 @@ type ServiceSlotsParams = paths["/v1/services/{service_id}/slots"]["get"]["param
16567
16573
  interface Options$1 extends QueryOptionsFor<"get", "/v1/services/{service_id}/slots"> {
16568
16574
  client?: QueryClient;
16569
16575
  }
16570
- declare const useServiceSlots: (service_id: ServiceSlotsParams["path"]["service_id"], queryParams: ServiceSlotsParams["query"], options?: Options$1) => _tanstack_react_query.UseQueryResult<{
16576
+ declare const useServiceSlots: (service_id: ServiceSlotsParams["path"]["service_id"], queryParams?: ServiceSlotsParams["query"], options?: Options$1) => _tanstack_react_query.UseQueryResult<{
16571
16577
  data: {
16572
16578
  aggregated_slots?: {
16573
16579
  count: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvycal/appointments-react-query",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "description": "A tiny wrapper around @tanstack/react-query for the SavvyCal Appointments API",
6
6
  "main": "./dist/index.cjs",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "openapi-typescript-helpers": "^0.0.15",
46
- "@savvycal/appointments-core": "0.8.0"
46
+ "@savvycal/appointments-core": "0.9.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@tanstack/react-query": "^5.0.0",