@savvycal/appointments-react-query 2.0.0 → 2.0.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 +24 -0
- package/dist/index.d.ts +24 -0
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -6478,9 +6478,11 @@ declare const useCreateAccountUser: (options?: Options$1A) => _tanstack_react_qu
|
|
|
6478
6478
|
object: "account_user";
|
|
6479
6479
|
passive: boolean;
|
|
6480
6480
|
roles: {
|
|
6481
|
+
denied_permissions: string[];
|
|
6481
6482
|
id: string;
|
|
6482
6483
|
name: string;
|
|
6483
6484
|
object: "role";
|
|
6485
|
+
permissions: string[];
|
|
6484
6486
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
6485
6487
|
}[];
|
|
6486
6488
|
user: {
|
|
@@ -6502,9 +6504,11 @@ declare const useCreateAccountUser: (options?: Options$1A) => _tanstack_react_qu
|
|
|
6502
6504
|
object: "account_user";
|
|
6503
6505
|
passive: boolean;
|
|
6504
6506
|
roles: {
|
|
6507
|
+
denied_permissions: string[];
|
|
6505
6508
|
id: string;
|
|
6506
6509
|
name: string;
|
|
6507
6510
|
object: "role";
|
|
6511
|
+
permissions: string[];
|
|
6508
6512
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
6509
6513
|
}[];
|
|
6510
6514
|
user: {
|
|
@@ -6582,9 +6586,11 @@ declare const useCreateAccountUser: (options?: Options$1A) => _tanstack_react_qu
|
|
|
6582
6586
|
object: "account_user";
|
|
6583
6587
|
passive: boolean;
|
|
6584
6588
|
roles: {
|
|
6589
|
+
denied_permissions: string[];
|
|
6585
6590
|
id: string;
|
|
6586
6591
|
name: string;
|
|
6587
6592
|
object: "role";
|
|
6593
|
+
permissions: string[];
|
|
6588
6594
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
6589
6595
|
}[];
|
|
6590
6596
|
user: {
|
|
@@ -15611,9 +15617,11 @@ declare const useUpdateAccountUser: (options?: Options$Y) => _tanstack_react_que
|
|
|
15611
15617
|
object: "account_user";
|
|
15612
15618
|
passive: boolean;
|
|
15613
15619
|
roles: {
|
|
15620
|
+
denied_permissions: string[];
|
|
15614
15621
|
id: string;
|
|
15615
15622
|
name: string;
|
|
15616
15623
|
object: "role";
|
|
15624
|
+
permissions: string[];
|
|
15617
15625
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
15618
15626
|
}[];
|
|
15619
15627
|
user: {
|
|
@@ -15635,9 +15643,11 @@ declare const useUpdateAccountUser: (options?: Options$Y) => _tanstack_react_que
|
|
|
15635
15643
|
object: "account_user";
|
|
15636
15644
|
passive: boolean;
|
|
15637
15645
|
roles: {
|
|
15646
|
+
denied_permissions: string[];
|
|
15638
15647
|
id: string;
|
|
15639
15648
|
name: string;
|
|
15640
15649
|
object: "role";
|
|
15650
|
+
permissions: string[];
|
|
15641
15651
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
15642
15652
|
}[];
|
|
15643
15653
|
user: {
|
|
@@ -15729,9 +15739,11 @@ declare const useUpdateAccountUser: (options?: Options$Y) => _tanstack_react_que
|
|
|
15729
15739
|
object: "account_user";
|
|
15730
15740
|
passive: boolean;
|
|
15731
15741
|
roles: {
|
|
15742
|
+
denied_permissions: string[];
|
|
15732
15743
|
id: string;
|
|
15733
15744
|
name: string;
|
|
15734
15745
|
object: "role";
|
|
15746
|
+
permissions: string[];
|
|
15735
15747
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
15736
15748
|
}[];
|
|
15737
15749
|
user: {
|
|
@@ -20169,9 +20181,11 @@ declare const useAccountUsers: (options?: Options$J) => _tanstack_react_query.Us
|
|
|
20169
20181
|
object: "account_user";
|
|
20170
20182
|
passive: boolean;
|
|
20171
20183
|
roles: {
|
|
20184
|
+
denied_permissions: string[];
|
|
20172
20185
|
id: string;
|
|
20173
20186
|
name: string;
|
|
20174
20187
|
object: "role";
|
|
20188
|
+
permissions: string[];
|
|
20175
20189
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
20176
20190
|
}[];
|
|
20177
20191
|
user: {
|
|
@@ -20195,9 +20209,11 @@ declare const useAccountUsers: (options?: Options$J) => _tanstack_react_query.Us
|
|
|
20195
20209
|
object: "account_user";
|
|
20196
20210
|
passive: boolean;
|
|
20197
20211
|
roles: {
|
|
20212
|
+
denied_permissions: string[];
|
|
20198
20213
|
id: string;
|
|
20199
20214
|
name: string;
|
|
20200
20215
|
object: "role";
|
|
20216
|
+
permissions: string[];
|
|
20201
20217
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
20202
20218
|
}[];
|
|
20203
20219
|
user: {
|
|
@@ -24881,9 +24897,11 @@ declare const useCurrentAccountUser: (options?: Options$o) => _tanstack_react_qu
|
|
|
24881
24897
|
object: "account_user";
|
|
24882
24898
|
passive: boolean;
|
|
24883
24899
|
roles: {
|
|
24900
|
+
denied_permissions: string[];
|
|
24884
24901
|
id: string;
|
|
24885
24902
|
name: string;
|
|
24886
24903
|
object: "role";
|
|
24904
|
+
permissions: string[];
|
|
24887
24905
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
24888
24906
|
}[];
|
|
24889
24907
|
user: {
|
|
@@ -24905,9 +24923,11 @@ declare const useCurrentAccountUser: (options?: Options$o) => _tanstack_react_qu
|
|
|
24905
24923
|
object: "account_user";
|
|
24906
24924
|
passive: boolean;
|
|
24907
24925
|
roles: {
|
|
24926
|
+
denied_permissions: string[];
|
|
24908
24927
|
id: string;
|
|
24909
24928
|
name: string;
|
|
24910
24929
|
object: "role";
|
|
24930
|
+
permissions: string[];
|
|
24911
24931
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
24912
24932
|
}[];
|
|
24913
24933
|
user: {
|
|
@@ -26131,9 +26151,11 @@ interface Options$8 extends QueryOptionsFor<"get", "/v1/roles"> {
|
|
|
26131
26151
|
}
|
|
26132
26152
|
declare const useRoles: (options?: Options$8) => _tanstack_react_query.UseQueryResult<{
|
|
26133
26153
|
data: {
|
|
26154
|
+
denied_permissions: string[];
|
|
26134
26155
|
id: string;
|
|
26135
26156
|
name: string;
|
|
26136
26157
|
object: "role";
|
|
26158
|
+
permissions: string[];
|
|
26137
26159
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
26138
26160
|
}[];
|
|
26139
26161
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
@@ -26144,9 +26166,11 @@ declare const useRoles: (options?: Options$8) => _tanstack_react_query.UseQueryR
|
|
|
26144
26166
|
content: {
|
|
26145
26167
|
"application/json": {
|
|
26146
26168
|
data: {
|
|
26169
|
+
denied_permissions: string[];
|
|
26147
26170
|
id: string;
|
|
26148
26171
|
name: string;
|
|
26149
26172
|
object: "role";
|
|
26173
|
+
permissions: string[];
|
|
26150
26174
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
26151
26175
|
}[];
|
|
26152
26176
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -6478,9 +6478,11 @@ declare const useCreateAccountUser: (options?: Options$1A) => _tanstack_react_qu
|
|
|
6478
6478
|
object: "account_user";
|
|
6479
6479
|
passive: boolean;
|
|
6480
6480
|
roles: {
|
|
6481
|
+
denied_permissions: string[];
|
|
6481
6482
|
id: string;
|
|
6482
6483
|
name: string;
|
|
6483
6484
|
object: "role";
|
|
6485
|
+
permissions: string[];
|
|
6484
6486
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
6485
6487
|
}[];
|
|
6486
6488
|
user: {
|
|
@@ -6502,9 +6504,11 @@ declare const useCreateAccountUser: (options?: Options$1A) => _tanstack_react_qu
|
|
|
6502
6504
|
object: "account_user";
|
|
6503
6505
|
passive: boolean;
|
|
6504
6506
|
roles: {
|
|
6507
|
+
denied_permissions: string[];
|
|
6505
6508
|
id: string;
|
|
6506
6509
|
name: string;
|
|
6507
6510
|
object: "role";
|
|
6511
|
+
permissions: string[];
|
|
6508
6512
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
6509
6513
|
}[];
|
|
6510
6514
|
user: {
|
|
@@ -6582,9 +6586,11 @@ declare const useCreateAccountUser: (options?: Options$1A) => _tanstack_react_qu
|
|
|
6582
6586
|
object: "account_user";
|
|
6583
6587
|
passive: boolean;
|
|
6584
6588
|
roles: {
|
|
6589
|
+
denied_permissions: string[];
|
|
6585
6590
|
id: string;
|
|
6586
6591
|
name: string;
|
|
6587
6592
|
object: "role";
|
|
6593
|
+
permissions: string[];
|
|
6588
6594
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
6589
6595
|
}[];
|
|
6590
6596
|
user: {
|
|
@@ -15611,9 +15617,11 @@ declare const useUpdateAccountUser: (options?: Options$Y) => _tanstack_react_que
|
|
|
15611
15617
|
object: "account_user";
|
|
15612
15618
|
passive: boolean;
|
|
15613
15619
|
roles: {
|
|
15620
|
+
denied_permissions: string[];
|
|
15614
15621
|
id: string;
|
|
15615
15622
|
name: string;
|
|
15616
15623
|
object: "role";
|
|
15624
|
+
permissions: string[];
|
|
15617
15625
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
15618
15626
|
}[];
|
|
15619
15627
|
user: {
|
|
@@ -15635,9 +15643,11 @@ declare const useUpdateAccountUser: (options?: Options$Y) => _tanstack_react_que
|
|
|
15635
15643
|
object: "account_user";
|
|
15636
15644
|
passive: boolean;
|
|
15637
15645
|
roles: {
|
|
15646
|
+
denied_permissions: string[];
|
|
15638
15647
|
id: string;
|
|
15639
15648
|
name: string;
|
|
15640
15649
|
object: "role";
|
|
15650
|
+
permissions: string[];
|
|
15641
15651
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
15642
15652
|
}[];
|
|
15643
15653
|
user: {
|
|
@@ -15729,9 +15739,11 @@ declare const useUpdateAccountUser: (options?: Options$Y) => _tanstack_react_que
|
|
|
15729
15739
|
object: "account_user";
|
|
15730
15740
|
passive: boolean;
|
|
15731
15741
|
roles: {
|
|
15742
|
+
denied_permissions: string[];
|
|
15732
15743
|
id: string;
|
|
15733
15744
|
name: string;
|
|
15734
15745
|
object: "role";
|
|
15746
|
+
permissions: string[];
|
|
15735
15747
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
15736
15748
|
}[];
|
|
15737
15749
|
user: {
|
|
@@ -20169,9 +20181,11 @@ declare const useAccountUsers: (options?: Options$J) => _tanstack_react_query.Us
|
|
|
20169
20181
|
object: "account_user";
|
|
20170
20182
|
passive: boolean;
|
|
20171
20183
|
roles: {
|
|
20184
|
+
denied_permissions: string[];
|
|
20172
20185
|
id: string;
|
|
20173
20186
|
name: string;
|
|
20174
20187
|
object: "role";
|
|
20188
|
+
permissions: string[];
|
|
20175
20189
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
20176
20190
|
}[];
|
|
20177
20191
|
user: {
|
|
@@ -20195,9 +20209,11 @@ declare const useAccountUsers: (options?: Options$J) => _tanstack_react_query.Us
|
|
|
20195
20209
|
object: "account_user";
|
|
20196
20210
|
passive: boolean;
|
|
20197
20211
|
roles: {
|
|
20212
|
+
denied_permissions: string[];
|
|
20198
20213
|
id: string;
|
|
20199
20214
|
name: string;
|
|
20200
20215
|
object: "role";
|
|
20216
|
+
permissions: string[];
|
|
20201
20217
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
20202
20218
|
}[];
|
|
20203
20219
|
user: {
|
|
@@ -24881,9 +24897,11 @@ declare const useCurrentAccountUser: (options?: Options$o) => _tanstack_react_qu
|
|
|
24881
24897
|
object: "account_user";
|
|
24882
24898
|
passive: boolean;
|
|
24883
24899
|
roles: {
|
|
24900
|
+
denied_permissions: string[];
|
|
24884
24901
|
id: string;
|
|
24885
24902
|
name: string;
|
|
24886
24903
|
object: "role";
|
|
24904
|
+
permissions: string[];
|
|
24887
24905
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
24888
24906
|
}[];
|
|
24889
24907
|
user: {
|
|
@@ -24905,9 +24923,11 @@ declare const useCurrentAccountUser: (options?: Options$o) => _tanstack_react_qu
|
|
|
24905
24923
|
object: "account_user";
|
|
24906
24924
|
passive: boolean;
|
|
24907
24925
|
roles: {
|
|
24926
|
+
denied_permissions: string[];
|
|
24908
24927
|
id: string;
|
|
24909
24928
|
name: string;
|
|
24910
24929
|
object: "role";
|
|
24930
|
+
permissions: string[];
|
|
24911
24931
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
24912
24932
|
}[];
|
|
24913
24933
|
user: {
|
|
@@ -26131,9 +26151,11 @@ interface Options$8 extends QueryOptionsFor<"get", "/v1/roles"> {
|
|
|
26131
26151
|
}
|
|
26132
26152
|
declare const useRoles: (options?: Options$8) => _tanstack_react_query.UseQueryResult<{
|
|
26133
26153
|
data: {
|
|
26154
|
+
denied_permissions: string[];
|
|
26134
26155
|
id: string;
|
|
26135
26156
|
name: string;
|
|
26136
26157
|
object: "role";
|
|
26158
|
+
permissions: string[];
|
|
26137
26159
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
26138
26160
|
}[];
|
|
26139
26161
|
}, openapi_typescript_helpers.ErrorResponse<{
|
|
@@ -26144,9 +26166,11 @@ declare const useRoles: (options?: Options$8) => _tanstack_react_query.UseQueryR
|
|
|
26144
26166
|
content: {
|
|
26145
26167
|
"application/json": {
|
|
26146
26168
|
data: {
|
|
26169
|
+
denied_permissions: string[];
|
|
26147
26170
|
id: string;
|
|
26148
26171
|
name: string;
|
|
26149
26172
|
object: "role";
|
|
26173
|
+
permissions: string[];
|
|
26150
26174
|
type: "admin" | "staff" | "superuser" | "custom";
|
|
26151
26175
|
}[];
|
|
26152
26176
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvycal/appointments-react-query",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.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": "2.
|
|
46
|
+
"@savvycal/appointments-core": "2.1.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@tanstack/react-query": "^5.0.0",
|