@worktango/ai-assistant 1.0.139 → 1.0.140
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/generated/apiHooks.tsx +61 -0
- package/generated/sdk.ts +61 -0
- package/package.json +1 -1
package/generated/apiHooks.tsx
CHANGED
|
@@ -1980,6 +1980,19 @@ export type CompanyIdentifierType =
|
|
|
1980
1980
|
| 'PULSE_COMPANY_ID'
|
|
1981
1981
|
| 'WORKSPACE';
|
|
1982
1982
|
|
|
1983
|
+
/** Clean variant of CompanyIdentifierType: no legacy ids. Not accepted anywhere yet; it will take over the CompanyIdentifierType name once legacy consumers migrate. */
|
|
1984
|
+
export type CompanyIdentifierTypeV2 =
|
|
1985
|
+
/** globally unique, kazoo-generated id */
|
|
1986
|
+
| 'KAZOO_ID'
|
|
1987
|
+
| 'PULSE_COMPANY_ID'
|
|
1988
|
+
| 'WORKSPACE';
|
|
1989
|
+
|
|
1990
|
+
/** Clean variant of CompanyIdentifierInput: does not accept legacy ids. */
|
|
1991
|
+
export interface CompanyIdentifierInputV2 {
|
|
1992
|
+
type: CompanyIdentifierTypeV2;
|
|
1993
|
+
key: Scalars['String']['input'];
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1983
1996
|
export interface CompanyIdentifierInput {
|
|
1984
1997
|
type: CompanyIdentifierType;
|
|
1985
1998
|
key: Scalars['String']['input'];
|
|
@@ -4099,6 +4112,35 @@ export interface NullablePersonIdentityInput {
|
|
|
4099
4112
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
4100
4113
|
}
|
|
4101
4114
|
|
|
4115
|
+
/** Clean variant of PersonIdentityProvider: no legacy providers. Not accepted anywhere yet; it will take over the PersonIdentityProvider name once legacy consumers migrate. */
|
|
4116
|
+
export type PersonIdentityProviderV2 =
|
|
4117
|
+
/** Email. Only unique within a company. */
|
|
4118
|
+
| 'EMAIL'
|
|
4119
|
+
/** EmployeeID, badge number or other value that is only unique within a company. */
|
|
4120
|
+
| 'EMPLOYEE_ID'
|
|
4121
|
+
/** GRS member id */
|
|
4122
|
+
| 'GRS_MEMBER_ID'
|
|
4123
|
+
/** globally unique identifier. Kazoo-assigned. */
|
|
4124
|
+
| 'KAZOO_ID'
|
|
4125
|
+
/** Kazoo Username */
|
|
4126
|
+
| 'USERNAME'
|
|
4127
|
+
/** WorkOS user id */
|
|
4128
|
+
| 'WORKOS_USER_ID';
|
|
4129
|
+
|
|
4130
|
+
/** Used to identify a person in input operations. Clean variant of PersonIdentityInput: does not accept legacy providers. */
|
|
4131
|
+
export interface PersonIdentityInputV2 {
|
|
4132
|
+
/** provider */
|
|
4133
|
+
provider: PersonIdentityProviderV2;
|
|
4134
|
+
/** identifier of their account */
|
|
4135
|
+
key: Scalars['String']['input'];
|
|
4136
|
+
}
|
|
4137
|
+
|
|
4138
|
+
/** Nullable to support delete operations. e.g.: Update my manager to null. */
|
|
4139
|
+
export interface NullablePersonIdentityInputV2 {
|
|
4140
|
+
provider: PersonIdentityProviderV2;
|
|
4141
|
+
key?: InputMaybe<Scalars['String']['input']>;
|
|
4142
|
+
}
|
|
4143
|
+
|
|
4102
4144
|
/** Used to identify Departments, Locations, and Groups. */
|
|
4103
4145
|
export type EntityIdentifierType =
|
|
4104
4146
|
/** client-provided key */
|
|
@@ -4120,6 +4162,25 @@ export interface EntityIdentifierInput {
|
|
|
4120
4162
|
key: Scalars['String']['input'];
|
|
4121
4163
|
}
|
|
4122
4164
|
|
|
4165
|
+
/** Used to identify Departments, Locations, and Groups. Clean variant of EntityIdentifierType: no legacy ids. Not accepted anywhere yet; it will take over the EntityIdentifierType name once legacy consumers migrate. */
|
|
4166
|
+
export type EntityIdentifierTypeV2 =
|
|
4167
|
+
/** client-provided key */
|
|
4168
|
+
| 'EXTERNAL'
|
|
4169
|
+
/** globally unique, kazoo-generated id */
|
|
4170
|
+
| 'KAZOO_ID';
|
|
4171
|
+
|
|
4172
|
+
/** Identifies an entity like a Location, Group, or Department. Nullable for use in delete operations like 'set my department to null'. */
|
|
4173
|
+
export interface NullableEntityIdentifierInputV2 {
|
|
4174
|
+
type: EntityIdentifierTypeV2;
|
|
4175
|
+
key?: InputMaybe<Scalars['String']['input']>;
|
|
4176
|
+
}
|
|
4177
|
+
|
|
4178
|
+
/** Identifies an entity like a Location, Group, or Department. Clean variant of EntityIdentifierInput: does not accept legacy ids. */
|
|
4179
|
+
export interface EntityIdentifierInputV2 {
|
|
4180
|
+
type: EntityIdentifierTypeV2;
|
|
4181
|
+
key: Scalars['String']['input'];
|
|
4182
|
+
}
|
|
4183
|
+
|
|
4123
4184
|
/** creates or updates a person record, typically from HRIS import. */
|
|
4124
4185
|
export interface CreateOrUpdatePersonInput {
|
|
4125
4186
|
/**
|
package/generated/sdk.ts
CHANGED
|
@@ -1978,6 +1978,19 @@ export type CompanyIdentifierType =
|
|
|
1978
1978
|
| 'PULSE_COMPANY_ID'
|
|
1979
1979
|
| 'WORKSPACE';
|
|
1980
1980
|
|
|
1981
|
+
/** Clean variant of CompanyIdentifierType: no legacy ids. Not accepted anywhere yet; it will take over the CompanyIdentifierType name once legacy consumers migrate. */
|
|
1982
|
+
export type CompanyIdentifierTypeV2 =
|
|
1983
|
+
/** globally unique, kazoo-generated id */
|
|
1984
|
+
| 'KAZOO_ID'
|
|
1985
|
+
| 'PULSE_COMPANY_ID'
|
|
1986
|
+
| 'WORKSPACE';
|
|
1987
|
+
|
|
1988
|
+
/** Clean variant of CompanyIdentifierInput: does not accept legacy ids. */
|
|
1989
|
+
export interface CompanyIdentifierInputV2 {
|
|
1990
|
+
type: CompanyIdentifierTypeV2;
|
|
1991
|
+
key: Scalars['String']['input'];
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1981
1994
|
export interface CompanyIdentifierInput {
|
|
1982
1995
|
type: CompanyIdentifierType;
|
|
1983
1996
|
key: Scalars['String']['input'];
|
|
@@ -4097,6 +4110,35 @@ export interface NullablePersonIdentityInput {
|
|
|
4097
4110
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
4098
4111
|
}
|
|
4099
4112
|
|
|
4113
|
+
/** Clean variant of PersonIdentityProvider: no legacy providers. Not accepted anywhere yet; it will take over the PersonIdentityProvider name once legacy consumers migrate. */
|
|
4114
|
+
export type PersonIdentityProviderV2 =
|
|
4115
|
+
/** Email. Only unique within a company. */
|
|
4116
|
+
| 'EMAIL'
|
|
4117
|
+
/** EmployeeID, badge number or other value that is only unique within a company. */
|
|
4118
|
+
| 'EMPLOYEE_ID'
|
|
4119
|
+
/** GRS member id */
|
|
4120
|
+
| 'GRS_MEMBER_ID'
|
|
4121
|
+
/** globally unique identifier. Kazoo-assigned. */
|
|
4122
|
+
| 'KAZOO_ID'
|
|
4123
|
+
/** Kazoo Username */
|
|
4124
|
+
| 'USERNAME'
|
|
4125
|
+
/** WorkOS user id */
|
|
4126
|
+
| 'WORKOS_USER_ID';
|
|
4127
|
+
|
|
4128
|
+
/** Used to identify a person in input operations. Clean variant of PersonIdentityInput: does not accept legacy providers. */
|
|
4129
|
+
export interface PersonIdentityInputV2 {
|
|
4130
|
+
/** provider */
|
|
4131
|
+
provider: PersonIdentityProviderV2;
|
|
4132
|
+
/** identifier of their account */
|
|
4133
|
+
key: Scalars['String']['input'];
|
|
4134
|
+
}
|
|
4135
|
+
|
|
4136
|
+
/** Nullable to support delete operations. e.g.: Update my manager to null. */
|
|
4137
|
+
export interface NullablePersonIdentityInputV2 {
|
|
4138
|
+
provider: PersonIdentityProviderV2;
|
|
4139
|
+
key?: InputMaybe<Scalars['String']['input']>;
|
|
4140
|
+
}
|
|
4141
|
+
|
|
4100
4142
|
/** Used to identify Departments, Locations, and Groups. */
|
|
4101
4143
|
export type EntityIdentifierType =
|
|
4102
4144
|
/** client-provided key */
|
|
@@ -4118,6 +4160,25 @@ export interface EntityIdentifierInput {
|
|
|
4118
4160
|
key: Scalars['String']['input'];
|
|
4119
4161
|
}
|
|
4120
4162
|
|
|
4163
|
+
/** Used to identify Departments, Locations, and Groups. Clean variant of EntityIdentifierType: no legacy ids. Not accepted anywhere yet; it will take over the EntityIdentifierType name once legacy consumers migrate. */
|
|
4164
|
+
export type EntityIdentifierTypeV2 =
|
|
4165
|
+
/** client-provided key */
|
|
4166
|
+
| 'EXTERNAL'
|
|
4167
|
+
/** globally unique, kazoo-generated id */
|
|
4168
|
+
| 'KAZOO_ID';
|
|
4169
|
+
|
|
4170
|
+
/** Identifies an entity like a Location, Group, or Department. Nullable for use in delete operations like 'set my department to null'. */
|
|
4171
|
+
export interface NullableEntityIdentifierInputV2 {
|
|
4172
|
+
type: EntityIdentifierTypeV2;
|
|
4173
|
+
key?: InputMaybe<Scalars['String']['input']>;
|
|
4174
|
+
}
|
|
4175
|
+
|
|
4176
|
+
/** Identifies an entity like a Location, Group, or Department. Clean variant of EntityIdentifierInput: does not accept legacy ids. */
|
|
4177
|
+
export interface EntityIdentifierInputV2 {
|
|
4178
|
+
type: EntityIdentifierTypeV2;
|
|
4179
|
+
key: Scalars['String']['input'];
|
|
4180
|
+
}
|
|
4181
|
+
|
|
4121
4182
|
/** creates or updates a person record, typically from HRIS import. */
|
|
4122
4183
|
export interface CreateOrUpdatePersonInput {
|
|
4123
4184
|
/**
|