@savvycal/appointments-react-query 0.1.1 → 0.1.2
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 +8 -0
- package/dist/index.d.ts +8 -0
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1699,6 +1699,7 @@ interface Options$R extends MutationOptionsFor<"post", "/v1/users"> {
|
|
|
1699
1699
|
}
|
|
1700
1700
|
declare const useCreateAccountUser: (options?: Options$R) => _tanstack_react_query.UseMutationResult<{
|
|
1701
1701
|
object: "account_user";
|
|
1702
|
+
passive: boolean;
|
|
1702
1703
|
roles: {
|
|
1703
1704
|
id: string;
|
|
1704
1705
|
name: string;
|
|
@@ -1722,6 +1723,7 @@ declare const useCreateAccountUser: (options?: Options$R) => _tanstack_react_que
|
|
|
1722
1723
|
content: {
|
|
1723
1724
|
"application/json": {
|
|
1724
1725
|
object: "account_user";
|
|
1726
|
+
passive: boolean;
|
|
1725
1727
|
roles: {
|
|
1726
1728
|
id: string;
|
|
1727
1729
|
name: string;
|
|
@@ -1788,6 +1790,7 @@ declare const useCreateAccountUser: (options?: Options$R) => _tanstack_react_que
|
|
|
1788
1790
|
first_name: string;
|
|
1789
1791
|
last_name: string;
|
|
1790
1792
|
notify: boolean;
|
|
1793
|
+
passive: boolean;
|
|
1791
1794
|
role_ids?: string[];
|
|
1792
1795
|
time_zone?: string;
|
|
1793
1796
|
};
|
|
@@ -1801,6 +1804,7 @@ declare const useCreateAccountUser: (options?: Options$R) => _tanstack_react_que
|
|
|
1801
1804
|
content: {
|
|
1802
1805
|
"application/json": {
|
|
1803
1806
|
object: "account_user";
|
|
1807
|
+
passive: boolean;
|
|
1804
1808
|
roles: {
|
|
1805
1809
|
id: string;
|
|
1806
1810
|
name: string;
|
|
@@ -6833,6 +6837,7 @@ interface Options$p extends QueryOptionsFor<"get", "/v1/users"> {
|
|
|
6833
6837
|
declare const useAccountUsers: (options?: Options$p) => _tanstack_react_query.UseQueryResult<{
|
|
6834
6838
|
data?: {
|
|
6835
6839
|
object: "account_user";
|
|
6840
|
+
passive: boolean;
|
|
6836
6841
|
roles: {
|
|
6837
6842
|
id: string;
|
|
6838
6843
|
name: string;
|
|
@@ -6858,6 +6863,7 @@ declare const useAccountUsers: (options?: Options$p) => _tanstack_react_query.Us
|
|
|
6858
6863
|
"application/json": {
|
|
6859
6864
|
data?: {
|
|
6860
6865
|
object: "account_user";
|
|
6866
|
+
passive: boolean;
|
|
6861
6867
|
roles: {
|
|
6862
6868
|
id: string;
|
|
6863
6869
|
name: string;
|
|
@@ -8379,6 +8385,7 @@ interface Options$e extends QueryOptionsFor<"get", "/v1/user"> {
|
|
|
8379
8385
|
}
|
|
8380
8386
|
declare const useCurrentAccountUser: (options?: Options$e) => _tanstack_react_query.UseQueryResult<{
|
|
8381
8387
|
object: "account_user";
|
|
8388
|
+
passive: boolean;
|
|
8382
8389
|
roles: {
|
|
8383
8390
|
id: string;
|
|
8384
8391
|
name: string;
|
|
@@ -8402,6 +8409,7 @@ declare const useCurrentAccountUser: (options?: Options$e) => _tanstack_react_qu
|
|
|
8402
8409
|
content: {
|
|
8403
8410
|
"application/json": {
|
|
8404
8411
|
object: "account_user";
|
|
8412
|
+
passive: boolean;
|
|
8405
8413
|
roles: {
|
|
8406
8414
|
id: string;
|
|
8407
8415
|
name: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1699,6 +1699,7 @@ interface Options$R extends MutationOptionsFor<"post", "/v1/users"> {
|
|
|
1699
1699
|
}
|
|
1700
1700
|
declare const useCreateAccountUser: (options?: Options$R) => _tanstack_react_query.UseMutationResult<{
|
|
1701
1701
|
object: "account_user";
|
|
1702
|
+
passive: boolean;
|
|
1702
1703
|
roles: {
|
|
1703
1704
|
id: string;
|
|
1704
1705
|
name: string;
|
|
@@ -1722,6 +1723,7 @@ declare const useCreateAccountUser: (options?: Options$R) => _tanstack_react_que
|
|
|
1722
1723
|
content: {
|
|
1723
1724
|
"application/json": {
|
|
1724
1725
|
object: "account_user";
|
|
1726
|
+
passive: boolean;
|
|
1725
1727
|
roles: {
|
|
1726
1728
|
id: string;
|
|
1727
1729
|
name: string;
|
|
@@ -1788,6 +1790,7 @@ declare const useCreateAccountUser: (options?: Options$R) => _tanstack_react_que
|
|
|
1788
1790
|
first_name: string;
|
|
1789
1791
|
last_name: string;
|
|
1790
1792
|
notify: boolean;
|
|
1793
|
+
passive: boolean;
|
|
1791
1794
|
role_ids?: string[];
|
|
1792
1795
|
time_zone?: string;
|
|
1793
1796
|
};
|
|
@@ -1801,6 +1804,7 @@ declare const useCreateAccountUser: (options?: Options$R) => _tanstack_react_que
|
|
|
1801
1804
|
content: {
|
|
1802
1805
|
"application/json": {
|
|
1803
1806
|
object: "account_user";
|
|
1807
|
+
passive: boolean;
|
|
1804
1808
|
roles: {
|
|
1805
1809
|
id: string;
|
|
1806
1810
|
name: string;
|
|
@@ -6833,6 +6837,7 @@ interface Options$p extends QueryOptionsFor<"get", "/v1/users"> {
|
|
|
6833
6837
|
declare const useAccountUsers: (options?: Options$p) => _tanstack_react_query.UseQueryResult<{
|
|
6834
6838
|
data?: {
|
|
6835
6839
|
object: "account_user";
|
|
6840
|
+
passive: boolean;
|
|
6836
6841
|
roles: {
|
|
6837
6842
|
id: string;
|
|
6838
6843
|
name: string;
|
|
@@ -6858,6 +6863,7 @@ declare const useAccountUsers: (options?: Options$p) => _tanstack_react_query.Us
|
|
|
6858
6863
|
"application/json": {
|
|
6859
6864
|
data?: {
|
|
6860
6865
|
object: "account_user";
|
|
6866
|
+
passive: boolean;
|
|
6861
6867
|
roles: {
|
|
6862
6868
|
id: string;
|
|
6863
6869
|
name: string;
|
|
@@ -8379,6 +8385,7 @@ interface Options$e extends QueryOptionsFor<"get", "/v1/user"> {
|
|
|
8379
8385
|
}
|
|
8380
8386
|
declare const useCurrentAccountUser: (options?: Options$e) => _tanstack_react_query.UseQueryResult<{
|
|
8381
8387
|
object: "account_user";
|
|
8388
|
+
passive: boolean;
|
|
8382
8389
|
roles: {
|
|
8383
8390
|
id: string;
|
|
8384
8391
|
name: string;
|
|
@@ -8402,6 +8409,7 @@ declare const useCurrentAccountUser: (options?: Options$e) => _tanstack_react_qu
|
|
|
8402
8409
|
content: {
|
|
8403
8410
|
"application/json": {
|
|
8404
8411
|
object: "account_user";
|
|
8412
|
+
passive: boolean;
|
|
8405
8413
|
roles: {
|
|
8406
8414
|
id: string;
|
|
8407
8415
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvycal/appointments-react-query",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
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.
|
|
46
|
+
"@savvycal/appointments-core": "0.3.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@tanstack/react-query": "^5.0.0",
|