@worktango/ai-assistant 1.0.145 → 1.0.147
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 +83 -79
- package/generated/sdk.ts +83 -79
- package/generated/stitchedSdk.ts +0 -56
- package/package.json +1 -1
package/generated/apiHooks.tsx
CHANGED
|
@@ -509,12 +509,12 @@ export interface Query {
|
|
|
509
509
|
getConversationMessages: Array<Message>;
|
|
510
510
|
/** Get AI response rating by response type and ID */
|
|
511
511
|
getAiResponseRating?: Maybe<AiResponseRating>;
|
|
512
|
-
/** Returns a single person */
|
|
512
|
+
/** Returns a single person. Does not accept legacy ids; see legacyPerson. */
|
|
513
513
|
person?: Maybe<Person>;
|
|
514
514
|
/**
|
|
515
515
|
* Returns a single person, looked up by an identifier that may be a legacy (YEI) id.
|
|
516
|
-
* Behaves exactly like `person`. Exists
|
|
517
|
-
*
|
|
516
|
+
* Behaves exactly like `person`. Exists for callers that still hold legacy ids, including
|
|
517
|
+
* shipped mobile apps that hardcode this query. New callers must use `person`.
|
|
518
518
|
*/
|
|
519
519
|
legacyPerson?: Maybe<Person>;
|
|
520
520
|
/** executes a people search */
|
|
@@ -1317,7 +1317,7 @@ export interface LegacyYeiCompany {
|
|
|
1317
1317
|
}
|
|
1318
1318
|
|
|
1319
1319
|
export interface PersonIdentityFilterInput {
|
|
1320
|
-
providers?: InputMaybe<Array<
|
|
1320
|
+
providers?: InputMaybe<Array<LegacyPersonIdentityProvider>>;
|
|
1321
1321
|
showInactive?: Scalars['Boolean']['input'];
|
|
1322
1322
|
}
|
|
1323
1323
|
|
|
@@ -1777,7 +1777,7 @@ export type NameFormat =
|
|
|
1777
1777
|
/** Type for supporting external accounts. Today, just does legacy Kazoo products and GRS. */
|
|
1778
1778
|
export interface Identity {
|
|
1779
1779
|
__typename?: 'Identity';
|
|
1780
|
-
provider:
|
|
1780
|
+
provider: LegacyPersonIdentityProvider;
|
|
1781
1781
|
key: Scalars['String']['output'];
|
|
1782
1782
|
active: Scalars['Boolean']['output'];
|
|
1783
1783
|
}
|
|
@@ -2043,7 +2043,7 @@ export interface ActivationRequest {
|
|
|
2043
2043
|
/** Identifies a Person entity. */
|
|
2044
2044
|
export interface SegmentPersonIdentifier {
|
|
2045
2045
|
__typename?: 'SegmentPersonIdentifier';
|
|
2046
|
-
provider:
|
|
2046
|
+
provider: LegacyPersonIdentityProvider;
|
|
2047
2047
|
key: Scalars['String']['output'];
|
|
2048
2048
|
}
|
|
2049
2049
|
|
|
@@ -2297,7 +2297,7 @@ export interface DirectoryEventRelatedEntity {
|
|
|
2297
2297
|
export interface UpdateUserProfileInput {
|
|
2298
2298
|
/** @deprecated This input is ignored. */
|
|
2299
2299
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
2300
|
-
identifier:
|
|
2300
|
+
identifier: LegacyPersonIdentityInput;
|
|
2301
2301
|
aboutMe?: InputMaybe<Scalars['String']['input']>;
|
|
2302
2302
|
avatar?: InputMaybe<ImageInput>;
|
|
2303
2303
|
locale?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2389,7 +2389,7 @@ export interface DirectoryEventQueryFilter {
|
|
|
2389
2389
|
/** used to define if one person is a direct or indirect supervisor or supervisee of another */
|
|
2390
2390
|
export interface SearchPersonHierarchyInput {
|
|
2391
2391
|
hierarchyType: HierarchyType;
|
|
2392
|
-
identifier:
|
|
2392
|
+
identifier: LegacyPersonIdentityInput;
|
|
2393
2393
|
/**
|
|
2394
2394
|
* Skips over inactive managers/reports, returning their manager/reports as if they belonged to the level below/above.
|
|
2395
2395
|
*
|
|
@@ -2704,7 +2704,7 @@ export interface QueryPeopleInput {
|
|
|
2704
2704
|
peopleInSet?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2705
2705
|
module?: InputMaybe<PeopleSegmentModule>;
|
|
2706
2706
|
segmentId?: InputMaybe<Scalars['ID']['input']>;
|
|
2707
|
-
personIdentity?: InputMaybe<Array<
|
|
2707
|
+
personIdentity?: InputMaybe<Array<LegacyPersonIdentityInput>>;
|
|
2708
2708
|
assistedBy?: InputMaybe<Array<InputMaybe<PersonIdentityInput>>>;
|
|
2709
2709
|
assists?: InputMaybe<Array<InputMaybe<PersonIdentityInput>>>;
|
|
2710
2710
|
}
|
|
@@ -2724,7 +2724,7 @@ export interface QueryEntitiesFilter {
|
|
|
2724
2724
|
status?: InputMaybe<Array<DepartmentLocationGroupStatus>>;
|
|
2725
2725
|
key?: InputMaybe<StringSearch>;
|
|
2726
2726
|
hierarchy?: InputMaybe<Array<HierarchicalEntityFilter>>;
|
|
2727
|
-
entityIdentifier?: InputMaybe<Array<
|
|
2727
|
+
entityIdentifier?: InputMaybe<Array<LegacyEntityIdentifierInput>>;
|
|
2728
2728
|
}
|
|
2729
2729
|
|
|
2730
2730
|
export interface QueryGroupFilter {
|
|
@@ -2737,7 +2737,7 @@ export interface QueryGroupFilter {
|
|
|
2737
2737
|
hierarchy?: InputMaybe<Array<HierarchicalEntityFilter>>;
|
|
2738
2738
|
/** Filters the groups by type. Only administrators and analysts may request PRIVATE groups. */
|
|
2739
2739
|
type?: InputMaybe<Array<GroupType>>;
|
|
2740
|
-
entityIdentifier?: InputMaybe<Array<
|
|
2740
|
+
entityIdentifier?: InputMaybe<Array<LegacyEntityIdentifierInput>>;
|
|
2741
2741
|
}
|
|
2742
2742
|
|
|
2743
2743
|
export type QueryEntitiesSortField =
|
|
@@ -3643,7 +3643,7 @@ export interface DirectoryBatchUnchangedGroupsArgs {
|
|
|
3643
3643
|
}
|
|
3644
3644
|
|
|
3645
3645
|
export interface DirectoryIndexInput {
|
|
3646
|
-
identifier:
|
|
3646
|
+
identifier: LegacyPersonIdentityInput;
|
|
3647
3647
|
indexType: DirectoryIndexType;
|
|
3648
3648
|
/** This field is required when indexType = 'POINT_RULE' */
|
|
3649
3649
|
pointRuleName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4080,7 +4080,12 @@ export type Role =
|
|
|
4080
4080
|
*/
|
|
4081
4081
|
| 'WORKTANGO_COACH_USER';
|
|
4082
4082
|
|
|
4083
|
-
|
|
4083
|
+
/**
|
|
4084
|
+
* Identity providers that may still carry legacy YEI and Pulse ids. Accepted only at
|
|
4085
|
+
* positions whose callers still send legacy ids. New APIs must use
|
|
4086
|
+
* PersonIdentityProvider, which rejects legacy ids.
|
|
4087
|
+
*/
|
|
4088
|
+
export type LegacyPersonIdentityProvider =
|
|
4084
4089
|
/** Email. Only unique within a company. */
|
|
4085
4090
|
| 'EMAIL'
|
|
4086
4091
|
/** EmployeeID, badge number or other value that is only unique within a company. */
|
|
@@ -4102,6 +4107,25 @@ export type PersonIdentityProvider =
|
|
|
4102
4107
|
/** WorkOS user id */
|
|
4103
4108
|
| 'WORKOS_USER_ID';
|
|
4104
4109
|
|
|
4110
|
+
/** Identity providers for current WorkTango products. Does not include legacy YEI ids; see LegacyPersonIdentityProvider. */
|
|
4111
|
+
export type PersonIdentityProvider =
|
|
4112
|
+
/** Email. Only unique within a company. */
|
|
4113
|
+
| 'EMAIL'
|
|
4114
|
+
/** EmployeeID, badge number or other value that is only unique within a company. */
|
|
4115
|
+
| 'EMPLOYEE_ID'
|
|
4116
|
+
/** GRS member id */
|
|
4117
|
+
| 'GRS_MEMBER_ID'
|
|
4118
|
+
/** globally unique identifier. Kazoo-assigned. */
|
|
4119
|
+
| 'KAZOO_ID'
|
|
4120
|
+
/** Employee Id from the WorkTango Pulse platform */
|
|
4121
|
+
| 'PULSE_EMPLOYEE_ID'
|
|
4122
|
+
/** User Id from the WorkTango Pulse platform */
|
|
4123
|
+
| 'PULSE_USER_ID'
|
|
4124
|
+
/** Kazoo Username */
|
|
4125
|
+
| 'USERNAME'
|
|
4126
|
+
/** WorkOS user id */
|
|
4127
|
+
| 'WORKOS_USER_ID';
|
|
4128
|
+
|
|
4105
4129
|
export type QueryPeopleSortField =
|
|
4106
4130
|
| 'BIRTHDAY'
|
|
4107
4131
|
| 'DEPARTMENT_NAME'
|
|
@@ -4122,7 +4146,7 @@ export interface QueryPeopleSortInput {
|
|
|
4122
4146
|
direction: SortDirection;
|
|
4123
4147
|
}
|
|
4124
4148
|
|
|
4125
|
-
/** Used to identify a person in input operations */
|
|
4149
|
+
/** Used to identify a person in input operations. Does not accept legacy ids; see LegacyPersonIdentityInput. */
|
|
4126
4150
|
export interface PersonIdentityInput {
|
|
4127
4151
|
/** provider */
|
|
4128
4152
|
provider: PersonIdentityProvider;
|
|
@@ -4131,14 +4155,13 @@ export interface PersonIdentityInput {
|
|
|
4131
4155
|
}
|
|
4132
4156
|
|
|
4133
4157
|
/**
|
|
4134
|
-
*
|
|
4135
|
-
*
|
|
4136
|
-
* PersonIdentityInput
|
|
4137
|
-
* breaking already-shipped clients. Mobile apps hardcode this type name in shipped queries.
|
|
4158
|
+
* Used to identify a person by an identifier that may be a legacy YEI or Pulse id.
|
|
4159
|
+
* Accepted only at positions whose callers still send legacy ids. New APIs must use
|
|
4160
|
+
* PersonIdentityInput. Mobile apps hardcode this type name in shipped queries.
|
|
4138
4161
|
*/
|
|
4139
4162
|
export interface LegacyPersonIdentityInput {
|
|
4140
4163
|
/** provider */
|
|
4141
|
-
provider:
|
|
4164
|
+
provider: LegacyPersonIdentityProvider;
|
|
4142
4165
|
/** identifier of their account */
|
|
4143
4166
|
key: Scalars['String']['input'];
|
|
4144
4167
|
}
|
|
@@ -4149,37 +4172,25 @@ export interface NullablePersonIdentityInput {
|
|
|
4149
4172
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
4150
4173
|
}
|
|
4151
4174
|
|
|
4152
|
-
/**
|
|
4153
|
-
export
|
|
4154
|
-
|
|
4155
|
-
| 'EMAIL'
|
|
4156
|
-
/** EmployeeID, badge number or other value that is only unique within a company. */
|
|
4157
|
-
| 'EMPLOYEE_ID'
|
|
4158
|
-
/** GRS member id */
|
|
4159
|
-
| 'GRS_MEMBER_ID'
|
|
4160
|
-
/** globally unique identifier. Kazoo-assigned. */
|
|
4161
|
-
| 'KAZOO_ID'
|
|
4162
|
-
/** Kazoo Username */
|
|
4163
|
-
| 'USERNAME'
|
|
4164
|
-
/** WorkOS user id */
|
|
4165
|
-
| 'WORKOS_USER_ID';
|
|
4166
|
-
|
|
4167
|
-
/** Used to identify a person in input operations. Clean variant of PersonIdentityInput: does not accept legacy providers. */
|
|
4168
|
-
export interface PersonIdentityInputV2 {
|
|
4169
|
-
/** provider */
|
|
4170
|
-
provider: PersonIdentityProviderV2;
|
|
4171
|
-
/** identifier of their account */
|
|
4172
|
-
key: Scalars['String']['input'];
|
|
4173
|
-
}
|
|
4174
|
-
|
|
4175
|
-
/** Nullable to support delete operations. e.g.: Update my manager to null. */
|
|
4176
|
-
export interface NullablePersonIdentityInputV2 {
|
|
4177
|
-
provider: PersonIdentityProviderV2;
|
|
4175
|
+
/** Legacy variant of NullablePersonIdentityInput. Accepts legacy YEI and Pulse ids. */
|
|
4176
|
+
export interface LegacyNullablePersonIdentityInput {
|
|
4177
|
+
provider: LegacyPersonIdentityProvider;
|
|
4178
4178
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
4179
4179
|
}
|
|
4180
4180
|
|
|
4181
|
-
/** Used to identify Departments, Locations, and Groups. */
|
|
4181
|
+
/** Used to identify Departments, Locations, and Groups. Does not accept legacy ids; see LegacyEntityIdentifierType. */
|
|
4182
4182
|
export type EntityIdentifierType =
|
|
4183
|
+
/** client-provided key */
|
|
4184
|
+
| 'EXTERNAL'
|
|
4185
|
+
/** globally unique, kazoo-generated id */
|
|
4186
|
+
| 'KAZOO_ID';
|
|
4187
|
+
|
|
4188
|
+
/**
|
|
4189
|
+
* Used to identify Departments, Locations, and Groups by an identifier that may be a
|
|
4190
|
+
* legacy YEI id. Accepted only at positions whose callers still send legacy ids. New
|
|
4191
|
+
* APIs must use EntityIdentifierType.
|
|
4192
|
+
*/
|
|
4193
|
+
export type LegacyEntityIdentifierType =
|
|
4183
4194
|
/** client-provided key */
|
|
4184
4195
|
| 'EXTERNAL'
|
|
4185
4196
|
/** globally unique, kazoo-generated id */
|
|
@@ -4193,28 +4204,21 @@ export interface NullableEntityIdentifierInput {
|
|
|
4193
4204
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
4194
4205
|
}
|
|
4195
4206
|
|
|
4196
|
-
/**
|
|
4207
|
+
/** Legacy variant of NullableEntityIdentifierInput. Accepts legacy YEI ids. */
|
|
4208
|
+
export interface LegacyNullableEntityIdentifierInput {
|
|
4209
|
+
type: LegacyEntityIdentifierType;
|
|
4210
|
+
key?: InputMaybe<Scalars['String']['input']>;
|
|
4211
|
+
}
|
|
4212
|
+
|
|
4213
|
+
/** Identifies an entity like a Location, Group, or Department. Does not accept legacy ids; see LegacyEntityIdentifierInput. */
|
|
4197
4214
|
export interface EntityIdentifierInput {
|
|
4198
4215
|
type: EntityIdentifierType;
|
|
4199
4216
|
key: Scalars['String']['input'];
|
|
4200
4217
|
}
|
|
4201
4218
|
|
|
4202
|
-
/**
|
|
4203
|
-
export
|
|
4204
|
-
|
|
4205
|
-
| 'EXTERNAL'
|
|
4206
|
-
/** globally unique, kazoo-generated id */
|
|
4207
|
-
| 'KAZOO_ID';
|
|
4208
|
-
|
|
4209
|
-
/** Identifies an entity like a Location, Group, or Department. Nullable for use in delete operations like 'set my department to null'. */
|
|
4210
|
-
export interface NullableEntityIdentifierInputV2 {
|
|
4211
|
-
type: EntityIdentifierTypeV2;
|
|
4212
|
-
key?: InputMaybe<Scalars['String']['input']>;
|
|
4213
|
-
}
|
|
4214
|
-
|
|
4215
|
-
/** Identifies an entity like a Location, Group, or Department. Clean variant of EntityIdentifierInput: does not accept legacy ids. */
|
|
4216
|
-
export interface EntityIdentifierInputV2 {
|
|
4217
|
-
type: EntityIdentifierTypeV2;
|
|
4219
|
+
/** Legacy variant of EntityIdentifierInput. Accepts legacy YEI ids. */
|
|
4220
|
+
export interface LegacyEntityIdentifierInput {
|
|
4221
|
+
type: LegacyEntityIdentifierType;
|
|
4218
4222
|
key: Scalars['String']['input'];
|
|
4219
4223
|
}
|
|
4220
4224
|
|
|
@@ -4235,15 +4239,15 @@ export interface CreateOrUpdatePersonInput {
|
|
|
4235
4239
|
* provide at least one identity that matches the company identity provider in the
|
|
4236
4240
|
* `identitiesToAdd` field.
|
|
4237
4241
|
*/
|
|
4238
|
-
identifier?: InputMaybe<
|
|
4242
|
+
identifier?: InputMaybe<LegacyPersonIdentityInput>;
|
|
4239
4243
|
/** array of provider/key pairs to add */
|
|
4240
|
-
identitiesToAdd?: InputMaybe<Array<
|
|
4244
|
+
identitiesToAdd?: InputMaybe<Array<LegacyPersonIdentityInput>>;
|
|
4241
4245
|
/** array of provider strings to remove */
|
|
4242
|
-
identitiesToRemove?: InputMaybe<Array<
|
|
4246
|
+
identitiesToRemove?: InputMaybe<Array<LegacyPersonIdentityProvider>>;
|
|
4243
4247
|
/** Most people have a manager. */
|
|
4244
|
-
manager?: InputMaybe<
|
|
4248
|
+
manager?: InputMaybe<LegacyNullablePersonIdentityInput>;
|
|
4245
4249
|
/** Overwrites the existing list of groups with this list. Empty if []. No op for null. Use in place of groupsToAdd/groupsToRemove */
|
|
4246
|
-
groups?: InputMaybe<Array<
|
|
4250
|
+
groups?: InputMaybe<Array<LegacyEntityIdentifierInput>>;
|
|
4247
4251
|
/** These are all group memberships that are not department, title, or location, e.g. 2019 Interns or Team Bravo. */
|
|
4248
4252
|
groupsToAdd?: InputMaybe<Array<EntityIdentifierInput>>;
|
|
4249
4253
|
/** These are all group memberships that are not department, title, or location, e.g. 2019 Interns or Team Bravo. */
|
|
@@ -4255,9 +4259,9 @@ export interface CreateOrUpdatePersonInput {
|
|
|
4255
4259
|
/** Set the roles on this person to these. Invalid with either rolesToAdd or rolesToRemove. */
|
|
4256
4260
|
roles?: InputMaybe<Array<Role>>;
|
|
4257
4261
|
/** e.g. IT_HLP. If key is null, we remove them from the department. */
|
|
4258
|
-
department?: InputMaybe<
|
|
4262
|
+
department?: InputMaybe<LegacyNullableEntityIdentifierInput>;
|
|
4259
4263
|
/** This can be as granular as desired. E.g. US, or Chicago, or 363 W Erie. If key is null, we remove them from the location. */
|
|
4260
|
-
location?: InputMaybe<
|
|
4264
|
+
location?: InputMaybe<LegacyNullableEntityIdentifierInput>;
|
|
4261
4265
|
/** e.g. Customer Service Representative II. */
|
|
4262
4266
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
4263
4267
|
/** Person's name. See NameInput for details. */
|
|
@@ -4343,15 +4347,15 @@ export interface CreateOrUpdateDepartmentInput {
|
|
|
4343
4347
|
/** Optional ordinal value for bulk opertions. Useful for sorting the results of batch operations. */
|
|
4344
4348
|
batchSequence?: InputMaybe<Scalars['Int']['input']>;
|
|
4345
4349
|
/** attempts an insert operation if not provided */
|
|
4346
|
-
identifier:
|
|
4350
|
+
identifier: LegacyEntityIdentifierInput;
|
|
4347
4351
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
4348
4352
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
4349
|
-
parent?: InputMaybe<
|
|
4353
|
+
parent?: InputMaybe<LegacyNullableEntityIdentifierInput>;
|
|
4350
4354
|
/** @deprecated active is deprecated. Use status instead */
|
|
4351
4355
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4352
4356
|
status?: InputMaybe<DepartmentLocationGroupStatus>;
|
|
4353
4357
|
/** Overwrites the existing list of administrators with this list. Empty if []. No op for null. */
|
|
4354
|
-
administrators?: InputMaybe<Array<
|
|
4358
|
+
administrators?: InputMaybe<Array<LegacyPersonIdentityInput>>;
|
|
4355
4359
|
/** Adds these administrators. */
|
|
4356
4360
|
administratorsToAdd?: InputMaybe<Array<PersonIdentityInput>>;
|
|
4357
4361
|
/** Removes these administrators. */
|
|
@@ -4376,16 +4380,16 @@ export interface CreateOrUpdateLocationInput {
|
|
|
4376
4380
|
/** Optional ordinal value for bulk opertions. Useful for sorting the results of batch operations. */
|
|
4377
4381
|
batchSequence?: InputMaybe<Scalars['Int']['input']>;
|
|
4378
4382
|
/** attempts an insert operation if not provided */
|
|
4379
|
-
identifier:
|
|
4383
|
+
identifier: LegacyEntityIdentifierInput;
|
|
4380
4384
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
4381
4385
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
4382
|
-
parent?: InputMaybe<
|
|
4386
|
+
parent?: InputMaybe<LegacyNullableEntityIdentifierInput>;
|
|
4383
4387
|
/** @deprecated active is deprecated. Use status instead */
|
|
4384
4388
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4385
4389
|
status?: InputMaybe<DepartmentLocationGroupStatus>;
|
|
4386
4390
|
legacyRrId?: InputMaybe<Scalars['String']['input']>;
|
|
4387
4391
|
/** Overwrites the existing list of administrators with this list. Empty if []. No op for null. */
|
|
4388
|
-
administrators?: InputMaybe<Array<
|
|
4392
|
+
administrators?: InputMaybe<Array<LegacyPersonIdentityInput>>;
|
|
4389
4393
|
/** Adds these administrators. */
|
|
4390
4394
|
administratorsToAdd?: InputMaybe<Array<PersonIdentityInput>>;
|
|
4391
4395
|
/** Removes these administrators. */
|
|
@@ -4409,7 +4413,7 @@ export interface CreateOrUpdateGroupInput {
|
|
|
4409
4413
|
/** Optional ordinal value for bulk opertions. Useful for sorting the results of batch operations. */
|
|
4410
4414
|
batchSequence?: InputMaybe<Scalars['Int']['input']>;
|
|
4411
4415
|
/** attempts an insert operation if not provided */
|
|
4412
|
-
identifier:
|
|
4416
|
+
identifier: LegacyEntityIdentifierInput;
|
|
4413
4417
|
/** legacy platform identifier */
|
|
4414
4418
|
legacyRrId?: InputMaybe<Scalars['String']['input']>;
|
|
4415
4419
|
/** YEI group type identifier */
|
|
@@ -4418,12 +4422,12 @@ export interface CreateOrUpdateGroupInput {
|
|
|
4418
4422
|
/** Group creation defaults to type AFFINITY. Any change to GroupType cascades to the Group's children. One may not change a child Group's GroupType directly. */
|
|
4419
4423
|
type?: InputMaybe<GroupType>;
|
|
4420
4424
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
4421
|
-
parent?: InputMaybe<
|
|
4425
|
+
parent?: InputMaybe<LegacyNullableEntityIdentifierInput>;
|
|
4422
4426
|
/** @deprecated active is deprecated. Use status instead */
|
|
4423
4427
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4424
4428
|
status?: InputMaybe<DepartmentLocationGroupStatus>;
|
|
4425
4429
|
/** Overwrites the existing list of administrators with this list. Empty if []. No op for null. */
|
|
4426
|
-
administrators?: InputMaybe<Array<
|
|
4430
|
+
administrators?: InputMaybe<Array<LegacyPersonIdentityInput>>;
|
|
4427
4431
|
/** Adds these administrators. */
|
|
4428
4432
|
administratorsToAdd?: InputMaybe<Array<PersonIdentityInput>>;
|
|
4429
4433
|
/** Removes these administrators. */
|
package/generated/sdk.ts
CHANGED
|
@@ -507,12 +507,12 @@ export interface Query {
|
|
|
507
507
|
getConversationMessages: Array<Message>;
|
|
508
508
|
/** Get AI response rating by response type and ID */
|
|
509
509
|
getAiResponseRating?: Maybe<AiResponseRating>;
|
|
510
|
-
/** Returns a single person */
|
|
510
|
+
/** Returns a single person. Does not accept legacy ids; see legacyPerson. */
|
|
511
511
|
person?: Maybe<Person>;
|
|
512
512
|
/**
|
|
513
513
|
* Returns a single person, looked up by an identifier that may be a legacy (YEI) id.
|
|
514
|
-
* Behaves exactly like `person`. Exists
|
|
515
|
-
*
|
|
514
|
+
* Behaves exactly like `person`. Exists for callers that still hold legacy ids, including
|
|
515
|
+
* shipped mobile apps that hardcode this query. New callers must use `person`.
|
|
516
516
|
*/
|
|
517
517
|
legacyPerson?: Maybe<Person>;
|
|
518
518
|
/** executes a people search */
|
|
@@ -1315,7 +1315,7 @@ export interface LegacyYeiCompany {
|
|
|
1315
1315
|
}
|
|
1316
1316
|
|
|
1317
1317
|
export interface PersonIdentityFilterInput {
|
|
1318
|
-
providers?: InputMaybe<Array<
|
|
1318
|
+
providers?: InputMaybe<Array<LegacyPersonIdentityProvider>>;
|
|
1319
1319
|
showInactive?: Scalars['Boolean']['input'];
|
|
1320
1320
|
}
|
|
1321
1321
|
|
|
@@ -1775,7 +1775,7 @@ export type NameFormat =
|
|
|
1775
1775
|
/** Type for supporting external accounts. Today, just does legacy Kazoo products and GRS. */
|
|
1776
1776
|
export interface Identity {
|
|
1777
1777
|
__typename?: 'Identity';
|
|
1778
|
-
provider:
|
|
1778
|
+
provider: LegacyPersonIdentityProvider;
|
|
1779
1779
|
key: Scalars['String']['output'];
|
|
1780
1780
|
active: Scalars['Boolean']['output'];
|
|
1781
1781
|
}
|
|
@@ -2041,7 +2041,7 @@ export interface ActivationRequest {
|
|
|
2041
2041
|
/** Identifies a Person entity. */
|
|
2042
2042
|
export interface SegmentPersonIdentifier {
|
|
2043
2043
|
__typename?: 'SegmentPersonIdentifier';
|
|
2044
|
-
provider:
|
|
2044
|
+
provider: LegacyPersonIdentityProvider;
|
|
2045
2045
|
key: Scalars['String']['output'];
|
|
2046
2046
|
}
|
|
2047
2047
|
|
|
@@ -2295,7 +2295,7 @@ export interface DirectoryEventRelatedEntity {
|
|
|
2295
2295
|
export interface UpdateUserProfileInput {
|
|
2296
2296
|
/** @deprecated This input is ignored. */
|
|
2297
2297
|
clientMutationId?: InputMaybe<Scalars['String']['input']>;
|
|
2298
|
-
identifier:
|
|
2298
|
+
identifier: LegacyPersonIdentityInput;
|
|
2299
2299
|
aboutMe?: InputMaybe<Scalars['String']['input']>;
|
|
2300
2300
|
avatar?: InputMaybe<ImageInput>;
|
|
2301
2301
|
locale?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2387,7 +2387,7 @@ export interface DirectoryEventQueryFilter {
|
|
|
2387
2387
|
/** used to define if one person is a direct or indirect supervisor or supervisee of another */
|
|
2388
2388
|
export interface SearchPersonHierarchyInput {
|
|
2389
2389
|
hierarchyType: HierarchyType;
|
|
2390
|
-
identifier:
|
|
2390
|
+
identifier: LegacyPersonIdentityInput;
|
|
2391
2391
|
/**
|
|
2392
2392
|
* Skips over inactive managers/reports, returning their manager/reports as if they belonged to the level below/above.
|
|
2393
2393
|
*
|
|
@@ -2702,7 +2702,7 @@ export interface QueryPeopleInput {
|
|
|
2702
2702
|
peopleInSet?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
2703
2703
|
module?: InputMaybe<PeopleSegmentModule>;
|
|
2704
2704
|
segmentId?: InputMaybe<Scalars['ID']['input']>;
|
|
2705
|
-
personIdentity?: InputMaybe<Array<
|
|
2705
|
+
personIdentity?: InputMaybe<Array<LegacyPersonIdentityInput>>;
|
|
2706
2706
|
assistedBy?: InputMaybe<Array<InputMaybe<PersonIdentityInput>>>;
|
|
2707
2707
|
assists?: InputMaybe<Array<InputMaybe<PersonIdentityInput>>>;
|
|
2708
2708
|
}
|
|
@@ -2722,7 +2722,7 @@ export interface QueryEntitiesFilter {
|
|
|
2722
2722
|
status?: InputMaybe<Array<DepartmentLocationGroupStatus>>;
|
|
2723
2723
|
key?: InputMaybe<StringSearch>;
|
|
2724
2724
|
hierarchy?: InputMaybe<Array<HierarchicalEntityFilter>>;
|
|
2725
|
-
entityIdentifier?: InputMaybe<Array<
|
|
2725
|
+
entityIdentifier?: InputMaybe<Array<LegacyEntityIdentifierInput>>;
|
|
2726
2726
|
}
|
|
2727
2727
|
|
|
2728
2728
|
export interface QueryGroupFilter {
|
|
@@ -2735,7 +2735,7 @@ export interface QueryGroupFilter {
|
|
|
2735
2735
|
hierarchy?: InputMaybe<Array<HierarchicalEntityFilter>>;
|
|
2736
2736
|
/** Filters the groups by type. Only administrators and analysts may request PRIVATE groups. */
|
|
2737
2737
|
type?: InputMaybe<Array<GroupType>>;
|
|
2738
|
-
entityIdentifier?: InputMaybe<Array<
|
|
2738
|
+
entityIdentifier?: InputMaybe<Array<LegacyEntityIdentifierInput>>;
|
|
2739
2739
|
}
|
|
2740
2740
|
|
|
2741
2741
|
export type QueryEntitiesSortField =
|
|
@@ -3641,7 +3641,7 @@ export interface DirectoryBatchUnchangedGroupsArgs {
|
|
|
3641
3641
|
}
|
|
3642
3642
|
|
|
3643
3643
|
export interface DirectoryIndexInput {
|
|
3644
|
-
identifier:
|
|
3644
|
+
identifier: LegacyPersonIdentityInput;
|
|
3645
3645
|
indexType: DirectoryIndexType;
|
|
3646
3646
|
/** This field is required when indexType = 'POINT_RULE' */
|
|
3647
3647
|
pointRuleName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4078,7 +4078,12 @@ export type Role =
|
|
|
4078
4078
|
*/
|
|
4079
4079
|
| 'WORKTANGO_COACH_USER';
|
|
4080
4080
|
|
|
4081
|
-
|
|
4081
|
+
/**
|
|
4082
|
+
* Identity providers that may still carry legacy YEI and Pulse ids. Accepted only at
|
|
4083
|
+
* positions whose callers still send legacy ids. New APIs must use
|
|
4084
|
+
* PersonIdentityProvider, which rejects legacy ids.
|
|
4085
|
+
*/
|
|
4086
|
+
export type LegacyPersonIdentityProvider =
|
|
4082
4087
|
/** Email. Only unique within a company. */
|
|
4083
4088
|
| 'EMAIL'
|
|
4084
4089
|
/** EmployeeID, badge number or other value that is only unique within a company. */
|
|
@@ -4100,6 +4105,25 @@ export type PersonIdentityProvider =
|
|
|
4100
4105
|
/** WorkOS user id */
|
|
4101
4106
|
| 'WORKOS_USER_ID';
|
|
4102
4107
|
|
|
4108
|
+
/** Identity providers for current WorkTango products. Does not include legacy YEI ids; see LegacyPersonIdentityProvider. */
|
|
4109
|
+
export type PersonIdentityProvider =
|
|
4110
|
+
/** Email. Only unique within a company. */
|
|
4111
|
+
| 'EMAIL'
|
|
4112
|
+
/** EmployeeID, badge number or other value that is only unique within a company. */
|
|
4113
|
+
| 'EMPLOYEE_ID'
|
|
4114
|
+
/** GRS member id */
|
|
4115
|
+
| 'GRS_MEMBER_ID'
|
|
4116
|
+
/** globally unique identifier. Kazoo-assigned. */
|
|
4117
|
+
| 'KAZOO_ID'
|
|
4118
|
+
/** Employee Id from the WorkTango Pulse platform */
|
|
4119
|
+
| 'PULSE_EMPLOYEE_ID'
|
|
4120
|
+
/** User Id from the WorkTango Pulse platform */
|
|
4121
|
+
| 'PULSE_USER_ID'
|
|
4122
|
+
/** Kazoo Username */
|
|
4123
|
+
| 'USERNAME'
|
|
4124
|
+
/** WorkOS user id */
|
|
4125
|
+
| 'WORKOS_USER_ID';
|
|
4126
|
+
|
|
4103
4127
|
export type QueryPeopleSortField =
|
|
4104
4128
|
| 'BIRTHDAY'
|
|
4105
4129
|
| 'DEPARTMENT_NAME'
|
|
@@ -4120,7 +4144,7 @@ export interface QueryPeopleSortInput {
|
|
|
4120
4144
|
direction: SortDirection;
|
|
4121
4145
|
}
|
|
4122
4146
|
|
|
4123
|
-
/** Used to identify a person in input operations */
|
|
4147
|
+
/** Used to identify a person in input operations. Does not accept legacy ids; see LegacyPersonIdentityInput. */
|
|
4124
4148
|
export interface PersonIdentityInput {
|
|
4125
4149
|
/** provider */
|
|
4126
4150
|
provider: PersonIdentityProvider;
|
|
@@ -4129,14 +4153,13 @@ export interface PersonIdentityInput {
|
|
|
4129
4153
|
}
|
|
4130
4154
|
|
|
4131
4155
|
/**
|
|
4132
|
-
*
|
|
4133
|
-
*
|
|
4134
|
-
* PersonIdentityInput
|
|
4135
|
-
* breaking already-shipped clients. Mobile apps hardcode this type name in shipped queries.
|
|
4156
|
+
* Used to identify a person by an identifier that may be a legacy YEI or Pulse id.
|
|
4157
|
+
* Accepted only at positions whose callers still send legacy ids. New APIs must use
|
|
4158
|
+
* PersonIdentityInput. Mobile apps hardcode this type name in shipped queries.
|
|
4136
4159
|
*/
|
|
4137
4160
|
export interface LegacyPersonIdentityInput {
|
|
4138
4161
|
/** provider */
|
|
4139
|
-
provider:
|
|
4162
|
+
provider: LegacyPersonIdentityProvider;
|
|
4140
4163
|
/** identifier of their account */
|
|
4141
4164
|
key: Scalars['String']['input'];
|
|
4142
4165
|
}
|
|
@@ -4147,37 +4170,25 @@ export interface NullablePersonIdentityInput {
|
|
|
4147
4170
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
4148
4171
|
}
|
|
4149
4172
|
|
|
4150
|
-
/**
|
|
4151
|
-
export
|
|
4152
|
-
|
|
4153
|
-
| 'EMAIL'
|
|
4154
|
-
/** EmployeeID, badge number or other value that is only unique within a company. */
|
|
4155
|
-
| 'EMPLOYEE_ID'
|
|
4156
|
-
/** GRS member id */
|
|
4157
|
-
| 'GRS_MEMBER_ID'
|
|
4158
|
-
/** globally unique identifier. Kazoo-assigned. */
|
|
4159
|
-
| 'KAZOO_ID'
|
|
4160
|
-
/** Kazoo Username */
|
|
4161
|
-
| 'USERNAME'
|
|
4162
|
-
/** WorkOS user id */
|
|
4163
|
-
| 'WORKOS_USER_ID';
|
|
4164
|
-
|
|
4165
|
-
/** Used to identify a person in input operations. Clean variant of PersonIdentityInput: does not accept legacy providers. */
|
|
4166
|
-
export interface PersonIdentityInputV2 {
|
|
4167
|
-
/** provider */
|
|
4168
|
-
provider: PersonIdentityProviderV2;
|
|
4169
|
-
/** identifier of their account */
|
|
4170
|
-
key: Scalars['String']['input'];
|
|
4171
|
-
}
|
|
4172
|
-
|
|
4173
|
-
/** Nullable to support delete operations. e.g.: Update my manager to null. */
|
|
4174
|
-
export interface NullablePersonIdentityInputV2 {
|
|
4175
|
-
provider: PersonIdentityProviderV2;
|
|
4173
|
+
/** Legacy variant of NullablePersonIdentityInput. Accepts legacy YEI and Pulse ids. */
|
|
4174
|
+
export interface LegacyNullablePersonIdentityInput {
|
|
4175
|
+
provider: LegacyPersonIdentityProvider;
|
|
4176
4176
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
4177
4177
|
}
|
|
4178
4178
|
|
|
4179
|
-
/** Used to identify Departments, Locations, and Groups. */
|
|
4179
|
+
/** Used to identify Departments, Locations, and Groups. Does not accept legacy ids; see LegacyEntityIdentifierType. */
|
|
4180
4180
|
export type EntityIdentifierType =
|
|
4181
|
+
/** client-provided key */
|
|
4182
|
+
| 'EXTERNAL'
|
|
4183
|
+
/** globally unique, kazoo-generated id */
|
|
4184
|
+
| 'KAZOO_ID';
|
|
4185
|
+
|
|
4186
|
+
/**
|
|
4187
|
+
* Used to identify Departments, Locations, and Groups by an identifier that may be a
|
|
4188
|
+
* legacy YEI id. Accepted only at positions whose callers still send legacy ids. New
|
|
4189
|
+
* APIs must use EntityIdentifierType.
|
|
4190
|
+
*/
|
|
4191
|
+
export type LegacyEntityIdentifierType =
|
|
4181
4192
|
/** client-provided key */
|
|
4182
4193
|
| 'EXTERNAL'
|
|
4183
4194
|
/** globally unique, kazoo-generated id */
|
|
@@ -4191,28 +4202,21 @@ export interface NullableEntityIdentifierInput {
|
|
|
4191
4202
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
4192
4203
|
}
|
|
4193
4204
|
|
|
4194
|
-
/**
|
|
4205
|
+
/** Legacy variant of NullableEntityIdentifierInput. Accepts legacy YEI ids. */
|
|
4206
|
+
export interface LegacyNullableEntityIdentifierInput {
|
|
4207
|
+
type: LegacyEntityIdentifierType;
|
|
4208
|
+
key?: InputMaybe<Scalars['String']['input']>;
|
|
4209
|
+
}
|
|
4210
|
+
|
|
4211
|
+
/** Identifies an entity like a Location, Group, or Department. Does not accept legacy ids; see LegacyEntityIdentifierInput. */
|
|
4195
4212
|
export interface EntityIdentifierInput {
|
|
4196
4213
|
type: EntityIdentifierType;
|
|
4197
4214
|
key: Scalars['String']['input'];
|
|
4198
4215
|
}
|
|
4199
4216
|
|
|
4200
|
-
/**
|
|
4201
|
-
export
|
|
4202
|
-
|
|
4203
|
-
| 'EXTERNAL'
|
|
4204
|
-
/** globally unique, kazoo-generated id */
|
|
4205
|
-
| 'KAZOO_ID';
|
|
4206
|
-
|
|
4207
|
-
/** Identifies an entity like a Location, Group, or Department. Nullable for use in delete operations like 'set my department to null'. */
|
|
4208
|
-
export interface NullableEntityIdentifierInputV2 {
|
|
4209
|
-
type: EntityIdentifierTypeV2;
|
|
4210
|
-
key?: InputMaybe<Scalars['String']['input']>;
|
|
4211
|
-
}
|
|
4212
|
-
|
|
4213
|
-
/** Identifies an entity like a Location, Group, or Department. Clean variant of EntityIdentifierInput: does not accept legacy ids. */
|
|
4214
|
-
export interface EntityIdentifierInputV2 {
|
|
4215
|
-
type: EntityIdentifierTypeV2;
|
|
4217
|
+
/** Legacy variant of EntityIdentifierInput. Accepts legacy YEI ids. */
|
|
4218
|
+
export interface LegacyEntityIdentifierInput {
|
|
4219
|
+
type: LegacyEntityIdentifierType;
|
|
4216
4220
|
key: Scalars['String']['input'];
|
|
4217
4221
|
}
|
|
4218
4222
|
|
|
@@ -4233,15 +4237,15 @@ export interface CreateOrUpdatePersonInput {
|
|
|
4233
4237
|
* provide at least one identity that matches the company identity provider in the
|
|
4234
4238
|
* `identitiesToAdd` field.
|
|
4235
4239
|
*/
|
|
4236
|
-
identifier?: InputMaybe<
|
|
4240
|
+
identifier?: InputMaybe<LegacyPersonIdentityInput>;
|
|
4237
4241
|
/** array of provider/key pairs to add */
|
|
4238
|
-
identitiesToAdd?: InputMaybe<Array<
|
|
4242
|
+
identitiesToAdd?: InputMaybe<Array<LegacyPersonIdentityInput>>;
|
|
4239
4243
|
/** array of provider strings to remove */
|
|
4240
|
-
identitiesToRemove?: InputMaybe<Array<
|
|
4244
|
+
identitiesToRemove?: InputMaybe<Array<LegacyPersonIdentityProvider>>;
|
|
4241
4245
|
/** Most people have a manager. */
|
|
4242
|
-
manager?: InputMaybe<
|
|
4246
|
+
manager?: InputMaybe<LegacyNullablePersonIdentityInput>;
|
|
4243
4247
|
/** Overwrites the existing list of groups with this list. Empty if []. No op for null. Use in place of groupsToAdd/groupsToRemove */
|
|
4244
|
-
groups?: InputMaybe<Array<
|
|
4248
|
+
groups?: InputMaybe<Array<LegacyEntityIdentifierInput>>;
|
|
4245
4249
|
/** These are all group memberships that are not department, title, or location, e.g. 2019 Interns or Team Bravo. */
|
|
4246
4250
|
groupsToAdd?: InputMaybe<Array<EntityIdentifierInput>>;
|
|
4247
4251
|
/** These are all group memberships that are not department, title, or location, e.g. 2019 Interns or Team Bravo. */
|
|
@@ -4253,9 +4257,9 @@ export interface CreateOrUpdatePersonInput {
|
|
|
4253
4257
|
/** Set the roles on this person to these. Invalid with either rolesToAdd or rolesToRemove. */
|
|
4254
4258
|
roles?: InputMaybe<Array<Role>>;
|
|
4255
4259
|
/** e.g. IT_HLP. If key is null, we remove them from the department. */
|
|
4256
|
-
department?: InputMaybe<
|
|
4260
|
+
department?: InputMaybe<LegacyNullableEntityIdentifierInput>;
|
|
4257
4261
|
/** This can be as granular as desired. E.g. US, or Chicago, or 363 W Erie. If key is null, we remove them from the location. */
|
|
4258
|
-
location?: InputMaybe<
|
|
4262
|
+
location?: InputMaybe<LegacyNullableEntityIdentifierInput>;
|
|
4259
4263
|
/** e.g. Customer Service Representative II. */
|
|
4260
4264
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
4261
4265
|
/** Person's name. See NameInput for details. */
|
|
@@ -4341,15 +4345,15 @@ export interface CreateOrUpdateDepartmentInput {
|
|
|
4341
4345
|
/** Optional ordinal value for bulk opertions. Useful for sorting the results of batch operations. */
|
|
4342
4346
|
batchSequence?: InputMaybe<Scalars['Int']['input']>;
|
|
4343
4347
|
/** attempts an insert operation if not provided */
|
|
4344
|
-
identifier:
|
|
4348
|
+
identifier: LegacyEntityIdentifierInput;
|
|
4345
4349
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
4346
4350
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
4347
|
-
parent?: InputMaybe<
|
|
4351
|
+
parent?: InputMaybe<LegacyNullableEntityIdentifierInput>;
|
|
4348
4352
|
/** @deprecated active is deprecated. Use status instead */
|
|
4349
4353
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4350
4354
|
status?: InputMaybe<DepartmentLocationGroupStatus>;
|
|
4351
4355
|
/** Overwrites the existing list of administrators with this list. Empty if []. No op for null. */
|
|
4352
|
-
administrators?: InputMaybe<Array<
|
|
4356
|
+
administrators?: InputMaybe<Array<LegacyPersonIdentityInput>>;
|
|
4353
4357
|
/** Adds these administrators. */
|
|
4354
4358
|
administratorsToAdd?: InputMaybe<Array<PersonIdentityInput>>;
|
|
4355
4359
|
/** Removes these administrators. */
|
|
@@ -4374,16 +4378,16 @@ export interface CreateOrUpdateLocationInput {
|
|
|
4374
4378
|
/** Optional ordinal value for bulk opertions. Useful for sorting the results of batch operations. */
|
|
4375
4379
|
batchSequence?: InputMaybe<Scalars['Int']['input']>;
|
|
4376
4380
|
/** attempts an insert operation if not provided */
|
|
4377
|
-
identifier:
|
|
4381
|
+
identifier: LegacyEntityIdentifierInput;
|
|
4378
4382
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
4379
4383
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
4380
|
-
parent?: InputMaybe<
|
|
4384
|
+
parent?: InputMaybe<LegacyNullableEntityIdentifierInput>;
|
|
4381
4385
|
/** @deprecated active is deprecated. Use status instead */
|
|
4382
4386
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4383
4387
|
status?: InputMaybe<DepartmentLocationGroupStatus>;
|
|
4384
4388
|
legacyRrId?: InputMaybe<Scalars['String']['input']>;
|
|
4385
4389
|
/** Overwrites the existing list of administrators with this list. Empty if []. No op for null. */
|
|
4386
|
-
administrators?: InputMaybe<Array<
|
|
4390
|
+
administrators?: InputMaybe<Array<LegacyPersonIdentityInput>>;
|
|
4387
4391
|
/** Adds these administrators. */
|
|
4388
4392
|
administratorsToAdd?: InputMaybe<Array<PersonIdentityInput>>;
|
|
4389
4393
|
/** Removes these administrators. */
|
|
@@ -4407,7 +4411,7 @@ export interface CreateOrUpdateGroupInput {
|
|
|
4407
4411
|
/** Optional ordinal value for bulk opertions. Useful for sorting the results of batch operations. */
|
|
4408
4412
|
batchSequence?: InputMaybe<Scalars['Int']['input']>;
|
|
4409
4413
|
/** attempts an insert operation if not provided */
|
|
4410
|
-
identifier:
|
|
4414
|
+
identifier: LegacyEntityIdentifierInput;
|
|
4411
4415
|
/** legacy platform identifier */
|
|
4412
4416
|
legacyRrId?: InputMaybe<Scalars['String']['input']>;
|
|
4413
4417
|
/** YEI group type identifier */
|
|
@@ -4416,12 +4420,12 @@ export interface CreateOrUpdateGroupInput {
|
|
|
4416
4420
|
/** Group creation defaults to type AFFINITY. Any change to GroupType cascades to the Group's children. One may not change a child Group's GroupType directly. */
|
|
4417
4421
|
type?: InputMaybe<GroupType>;
|
|
4418
4422
|
key?: InputMaybe<Scalars['String']['input']>;
|
|
4419
|
-
parent?: InputMaybe<
|
|
4423
|
+
parent?: InputMaybe<LegacyNullableEntityIdentifierInput>;
|
|
4420
4424
|
/** @deprecated active is deprecated. Use status instead */
|
|
4421
4425
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4422
4426
|
status?: InputMaybe<DepartmentLocationGroupStatus>;
|
|
4423
4427
|
/** Overwrites the existing list of administrators with this list. Empty if []. No op for null. */
|
|
4424
|
-
administrators?: InputMaybe<Array<
|
|
4428
|
+
administrators?: InputMaybe<Array<LegacyPersonIdentityInput>>;
|
|
4425
4429
|
/** Adds these administrators. */
|
|
4426
4430
|
administratorsToAdd?: InputMaybe<Array<PersonIdentityInput>>;
|
|
4427
4431
|
/** Removes these administrators. */
|
package/generated/stitchedSdk.ts
CHANGED
|
@@ -263,66 +263,10 @@ export type Directory_SortDirection =
|
|
|
263
263
|
| 'ASC'
|
|
264
264
|
| 'DESC';
|
|
265
265
|
|
|
266
|
-
/** Used to identify a person in input operations */
|
|
267
|
-
export interface Directory_PersonIdentityInput {
|
|
268
|
-
/** provider */
|
|
269
|
-
provider: Directory_PersonIdentityProvider;
|
|
270
|
-
/** identifier of their account */
|
|
271
|
-
key: Scalars['String']['input'];
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
export type Directory_PersonIdentityProvider =
|
|
275
|
-
/** Email. Only unique within a company. */
|
|
276
|
-
| 'EMAIL'
|
|
277
|
-
/** EmployeeID, badge number or other value that is only unique within a company. */
|
|
278
|
-
| 'EMPLOYEE_ID'
|
|
279
|
-
/** GRS member id */
|
|
280
|
-
| 'GRS_MEMBER_ID'
|
|
281
|
-
/** globally unique identifier. Kazoo-assigned. */
|
|
282
|
-
| 'KAZOO_ID'
|
|
283
|
-
/** Legacy YouEarnedIt userId */
|
|
284
|
-
| 'LEGACY_YEI_ID'
|
|
285
|
-
/** Legacy YouEarnedIt username */
|
|
286
|
-
| 'LEGACY_YEI_USERNAME'
|
|
287
|
-
/** Employee Id from the WorkTango Pulse platform */
|
|
288
|
-
| 'PULSE_EMPLOYEE_ID'
|
|
289
|
-
/** User Id from the WorkTango Pulse platform */
|
|
290
|
-
| 'PULSE_USER_ID'
|
|
291
|
-
/** Kazoo Username */
|
|
292
|
-
| 'USERNAME';
|
|
293
|
-
|
|
294
266
|
export type SortDirection =
|
|
295
267
|
| 'ASC'
|
|
296
268
|
| 'DESC';
|
|
297
269
|
|
|
298
|
-
/** Used to identify a person in input operations */
|
|
299
|
-
export interface PersonIdentityInput {
|
|
300
|
-
/** provider */
|
|
301
|
-
provider: PersonIdentityProvider;
|
|
302
|
-
/** identifier of their account */
|
|
303
|
-
key: Scalars['String']['input'];
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
export type PersonIdentityProvider =
|
|
307
|
-
/** Email. Only unique within a company. */
|
|
308
|
-
| 'EMAIL'
|
|
309
|
-
/** EmployeeID, badge number or other value that is only unique within a company. */
|
|
310
|
-
| 'EMPLOYEE_ID'
|
|
311
|
-
/** GRS member id */
|
|
312
|
-
| 'GRS_MEMBER_ID'
|
|
313
|
-
/** globally unique identifier. Kazoo-assigned. */
|
|
314
|
-
| 'KAZOO_ID'
|
|
315
|
-
/** Legacy YouEarnedIt userId */
|
|
316
|
-
| 'LEGACY_YEI_ID'
|
|
317
|
-
/** Legacy YouEarnedIt username */
|
|
318
|
-
| 'LEGACY_YEI_USERNAME'
|
|
319
|
-
/** Employee Id from the WorkTango Pulse platform */
|
|
320
|
-
| 'PULSE_EMPLOYEE_ID'
|
|
321
|
-
/** User Id from the WorkTango Pulse platform */
|
|
322
|
-
| 'PULSE_USER_ID'
|
|
323
|
-
/** Kazoo Username */
|
|
324
|
-
| 'USERNAME';
|
|
325
|
-
|
|
326
270
|
export type GetCurrentUserQueryVariables = Exact<{ [key: string]: never; }>;
|
|
327
271
|
|
|
328
272
|
|