@outseta/react 0.3.5 → 0.3.7
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.js +593 -0
- package/package.json +2 -2
- package/src/generated/activity/activity.ts +2 -2
- package/src/generated/attribute/attribute.ts +4 -4
- package/src/generated/billing/billing.ts +2160 -621
- package/src/generated/crm/crm.ts +15 -12
- package/src/generated/email/email.ts +7 -6
- package/src/generated/outsetaAPI.schemas.ts +99 -0
- package/src/generated/public/public.ts +5 -3
- package/src/generated/support/support.ts +10 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outseta/react",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "React hooks and components for the Outseta API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@tanstack/react-query": "^5.0.0",
|
|
22
|
-
"@outseta/api-client": "0.3.
|
|
22
|
+
"@outseta/api-client": "0.3.6"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": "^18.0.0 || ^19.0.0"
|
|
@@ -59,7 +59,7 @@ ActivityType=[100,101] where ActivityUpdated = 100 and AcccountUpdated = 101.
|
|
|
59
59
|
Results will be limited to the last year unless ActivityDateTime is specified,
|
|
60
60
|
possibly with ActivityDateTime__gt/ActivityDateTime__gte and
|
|
61
61
|
ActivityDateTime__lt/ActivityDateTime__lte.
|
|
62
|
-
* @summary Retrieve all activities
|
|
62
|
+
* @summary Retrieve all activities.
|
|
63
63
|
*/
|
|
64
64
|
export const activityGetAll = (
|
|
65
65
|
params?: ActivityGetAllParams,
|
|
@@ -107,7 +107,7 @@ export type ActivityGetAllQueryError = void
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
|
-
* @summary Retrieve all activities
|
|
110
|
+
* @summary Retrieve all activities.
|
|
111
111
|
*/
|
|
112
112
|
|
|
113
113
|
export function useActivityGetAll<TData = Awaited<ReturnType<typeof activityGetAll>>, TError = void>(
|
|
@@ -24,7 +24,7 @@ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
|
24
24
|
* entityType is the name of an EntityType enum value, for example: Account, Person,
|
|
25
25
|
Deal. Definitions describe the labels, system names, and control types of
|
|
26
26
|
the custom attributes that have been added to that entity.
|
|
27
|
-
* @summary
|
|
27
|
+
* @summary Retrieve all custom attribute definitions.
|
|
28
28
|
*/
|
|
29
29
|
export const definitionGetAllDefinitions = (
|
|
30
30
|
entityType: string | null,
|
|
@@ -71,7 +71,7 @@ export type DefinitionGetAllDefinitionsQueryError = unknown
|
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
* @summary
|
|
74
|
+
* @summary Retrieve all custom attribute definitions.
|
|
75
75
|
*/
|
|
76
76
|
|
|
77
77
|
export function useDefinitionGetAllDefinitions<TData = Awaited<ReturnType<typeof definitionGetAllDefinitions>>, TError = unknown>(
|
|
@@ -94,7 +94,7 @@ export function useDefinitionGetAllDefinitions<TData = Awaited<ReturnType<typeof
|
|
|
94
94
|
/**
|
|
95
95
|
* The entityType segment of the URL must match the type the definition belongs to
|
|
96
96
|
(e.g. Account, Person, Deal).
|
|
97
|
-
* @summary
|
|
97
|
+
* @summary Retrieve a custom attribute definition.
|
|
98
98
|
*/
|
|
99
99
|
export const definitionGetDefinition = (
|
|
100
100
|
definitionUid: string | null,
|
|
@@ -141,7 +141,7 @@ export type DefinitionGetDefinitionQueryError = void
|
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
|
-
* @summary
|
|
144
|
+
* @summary Retrieve a custom attribute definition.
|
|
145
145
|
*/
|
|
146
146
|
|
|
147
147
|
export function useDefinitionGetDefinition<TData = Awaited<ReturnType<typeof definitionGetDefinition>>, TError = void>(
|