@worktango/ai-assistant 1.0.144 → 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.
@@ -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 so that callers relying on legacy ids can migrate
517
- * off the PersonIdentityInput type name before it becomes a clean type that rejects legacy ids.
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 */
@@ -523,6 +523,12 @@ export interface Query {
523
523
  peopleNotInSet?: Maybe<Array<IdResult>>;
524
524
  /** Gets any Company by identifier (Kazoo ID or workspace). */
525
525
  company?: Maybe<Company>;
526
+ /**
527
+ * Gets any Company by an identifier that may be a legacy RR (YEI) company id.
528
+ * Behaves exactly like `company`. Exists for the YEI change-data-capture tasks, which
529
+ * only know the legacy id of the company they are importing data for.
530
+ */
531
+ legacyCompany?: Maybe<Company>;
526
532
  /** Gets a Legacy Cdc Yei Company */
527
533
  legacyYeiCompany?: Maybe<LegacyYeiCompany>;
528
534
  /** Gets Legacy Cdc Yei Companies */
@@ -644,6 +650,11 @@ export interface QueryCompanyArgs {
644
650
  }
645
651
 
646
652
 
653
+ export interface QueryLegacyCompanyArgs {
654
+ identifier?: InputMaybe<LegacyCompanyIdentifierInput>;
655
+ }
656
+
657
+
647
658
  export interface QueryLegacyYeiCompanyArgs {
648
659
  yeiCompanyId?: InputMaybe<Scalars['ID']['input']>;
649
660
  workspace?: InputMaybe<Scalars['String']['input']>;
@@ -1306,7 +1317,7 @@ export interface LegacyYeiCompany {
1306
1317
  }
1307
1318
 
1308
1319
  export interface PersonIdentityFilterInput {
1309
- providers?: InputMaybe<Array<PersonIdentityProvider>>;
1320
+ providers?: InputMaybe<Array<LegacyPersonIdentityProvider>>;
1310
1321
  showInactive?: Scalars['Boolean']['input'];
1311
1322
  }
1312
1323
 
@@ -1766,7 +1777,7 @@ export type NameFormat =
1766
1777
  /** Type for supporting external accounts. Today, just does legacy Kazoo products and GRS. */
1767
1778
  export interface Identity {
1768
1779
  __typename?: 'Identity';
1769
- provider: PersonIdentityProvider;
1780
+ provider: LegacyPersonIdentityProvider;
1770
1781
  key: Scalars['String']['output'];
1771
1782
  active: Scalars['Boolean']['output'];
1772
1783
  }
@@ -1984,28 +1995,30 @@ export interface CompanyProfileSettingsInput {
1984
1995
  canChangePreferredName?: InputMaybe<Scalars['Boolean']['input']>;
1985
1996
  }
1986
1997
 
1998
+ /** Identifies a company without relying on legacy ids. */
1987
1999
  export type CompanyIdentifierType =
1988
2000
  /** globally unique, kazoo-generated id */
1989
2001
  | 'KAZOO_ID'
1990
- | 'LEGACY_RR_ID'
1991
2002
  | 'PULSE_COMPANY_ID'
1992
2003
  | 'WORKSPACE';
1993
2004
 
1994
- /** Clean variant of CompanyIdentifierType: no legacy ids. Not accepted anywhere yet; it will take over the CompanyIdentifierType name once legacy consumers migrate. */
1995
- export type CompanyIdentifierTypeV2 =
2005
+ /** Superset of CompanyIdentifierType that also accepts legacy RR (YEI) company ids. Exists only for callers that still hold a legacy id. */
2006
+ export type LegacyCompanyIdentifierType =
1996
2007
  /** globally unique, kazoo-generated id */
1997
2008
  | 'KAZOO_ID'
2009
+ | 'LEGACY_RR_ID'
1998
2010
  | 'PULSE_COMPANY_ID'
1999
2011
  | 'WORKSPACE';
2000
2012
 
2001
- /** Clean variant of CompanyIdentifierInput: does not accept legacy ids. */
2002
- export interface CompanyIdentifierInputV2 {
2003
- type: CompanyIdentifierTypeV2;
2013
+ /** Identifies a company without relying on legacy ids. */
2014
+ export interface CompanyIdentifierInput {
2015
+ type: CompanyIdentifierType;
2004
2016
  key: Scalars['String']['input'];
2005
2017
  }
2006
2018
 
2007
- export interface CompanyIdentifierInput {
2008
- type: CompanyIdentifierType;
2019
+ /** Variant of CompanyIdentifierInput that also accepts legacy RR (YEI) company ids. Exists only for callers that still hold a legacy id. */
2020
+ export interface LegacyCompanyIdentifierInput {
2021
+ type: LegacyCompanyIdentifierType;
2009
2022
  key: Scalars['String']['input'];
2010
2023
  }
2011
2024
 
@@ -2030,7 +2043,7 @@ export interface ActivationRequest {
2030
2043
  /** Identifies a Person entity. */
2031
2044
  export interface SegmentPersonIdentifier {
2032
2045
  __typename?: 'SegmentPersonIdentifier';
2033
- provider: PersonIdentityProvider;
2046
+ provider: LegacyPersonIdentityProvider;
2034
2047
  key: Scalars['String']['output'];
2035
2048
  }
2036
2049
 
@@ -2284,7 +2297,7 @@ export interface DirectoryEventRelatedEntity {
2284
2297
  export interface UpdateUserProfileInput {
2285
2298
  /** @deprecated This input is ignored. */
2286
2299
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
2287
- identifier: PersonIdentityInput;
2300
+ identifier: LegacyPersonIdentityInput;
2288
2301
  aboutMe?: InputMaybe<Scalars['String']['input']>;
2289
2302
  avatar?: InputMaybe<ImageInput>;
2290
2303
  locale?: InputMaybe<Scalars['String']['input']>;
@@ -2376,7 +2389,7 @@ export interface DirectoryEventQueryFilter {
2376
2389
  /** used to define if one person is a direct or indirect supervisor or supervisee of another */
2377
2390
  export interface SearchPersonHierarchyInput {
2378
2391
  hierarchyType: HierarchyType;
2379
- identifier: PersonIdentityInput;
2392
+ identifier: LegacyPersonIdentityInput;
2380
2393
  /**
2381
2394
  * Skips over inactive managers/reports, returning their manager/reports as if they belonged to the level below/above.
2382
2395
  *
@@ -2691,7 +2704,7 @@ export interface QueryPeopleInput {
2691
2704
  peopleInSet?: InputMaybe<Array<Scalars['ID']['input']>>;
2692
2705
  module?: InputMaybe<PeopleSegmentModule>;
2693
2706
  segmentId?: InputMaybe<Scalars['ID']['input']>;
2694
- personIdentity?: InputMaybe<Array<PersonIdentityInput>>;
2707
+ personIdentity?: InputMaybe<Array<LegacyPersonIdentityInput>>;
2695
2708
  assistedBy?: InputMaybe<Array<InputMaybe<PersonIdentityInput>>>;
2696
2709
  assists?: InputMaybe<Array<InputMaybe<PersonIdentityInput>>>;
2697
2710
  }
@@ -2711,7 +2724,7 @@ export interface QueryEntitiesFilter {
2711
2724
  status?: InputMaybe<Array<DepartmentLocationGroupStatus>>;
2712
2725
  key?: InputMaybe<StringSearch>;
2713
2726
  hierarchy?: InputMaybe<Array<HierarchicalEntityFilter>>;
2714
- entityIdentifier?: InputMaybe<Array<EntityIdentifierInput>>;
2727
+ entityIdentifier?: InputMaybe<Array<LegacyEntityIdentifierInput>>;
2715
2728
  }
2716
2729
 
2717
2730
  export interface QueryGroupFilter {
@@ -2724,7 +2737,7 @@ export interface QueryGroupFilter {
2724
2737
  hierarchy?: InputMaybe<Array<HierarchicalEntityFilter>>;
2725
2738
  /** Filters the groups by type. Only administrators and analysts may request PRIVATE groups. */
2726
2739
  type?: InputMaybe<Array<GroupType>>;
2727
- entityIdentifier?: InputMaybe<Array<EntityIdentifierInput>>;
2740
+ entityIdentifier?: InputMaybe<Array<LegacyEntityIdentifierInput>>;
2728
2741
  }
2729
2742
 
2730
2743
  export type QueryEntitiesSortField =
@@ -3630,7 +3643,7 @@ export interface DirectoryBatchUnchangedGroupsArgs {
3630
3643
  }
3631
3644
 
3632
3645
  export interface DirectoryIndexInput {
3633
- identifier: PersonIdentityInput;
3646
+ identifier: LegacyPersonIdentityInput;
3634
3647
  indexType: DirectoryIndexType;
3635
3648
  /** This field is required when indexType = 'POINT_RULE' */
3636
3649
  pointRuleName?: InputMaybe<Scalars['String']['input']>;
@@ -4067,7 +4080,12 @@ export type Role =
4067
4080
  */
4068
4081
  | 'WORKTANGO_COACH_USER';
4069
4082
 
4070
- export type PersonIdentityProvider =
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 =
4071
4089
  /** Email. Only unique within a company. */
4072
4090
  | 'EMAIL'
4073
4091
  /** EmployeeID, badge number or other value that is only unique within a company. */
@@ -4089,6 +4107,25 @@ export type PersonIdentityProvider =
4089
4107
  /** WorkOS user id */
4090
4108
  | 'WORKOS_USER_ID';
4091
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
+
4092
4129
  export type QueryPeopleSortField =
4093
4130
  | 'BIRTHDAY'
4094
4131
  | 'DEPARTMENT_NAME'
@@ -4109,7 +4146,7 @@ export interface QueryPeopleSortInput {
4109
4146
  direction: SortDirection;
4110
4147
  }
4111
4148
 
4112
- /** Used to identify a person in input operations */
4149
+ /** Used to identify a person in input operations. Does not accept legacy ids; see LegacyPersonIdentityInput. */
4113
4150
  export interface PersonIdentityInput {
4114
4151
  /** provider */
4115
4152
  provider: PersonIdentityProvider;
@@ -4118,14 +4155,13 @@ export interface PersonIdentityInput {
4118
4155
  }
4119
4156
 
4120
4157
  /**
4121
- * Identical to PersonIdentityInput, under the name it will keep after the identifier-type cleanup.
4122
- * Callers that look people up by legacy (YEI/Pulse) ids must use this type so that
4123
- * PersonIdentityInput can later become a clean type that rejects legacy ids without
4124
- * 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.
4125
4161
  */
4126
4162
  export interface LegacyPersonIdentityInput {
4127
4163
  /** provider */
4128
- provider: PersonIdentityProvider;
4164
+ provider: LegacyPersonIdentityProvider;
4129
4165
  /** identifier of their account */
4130
4166
  key: Scalars['String']['input'];
4131
4167
  }
@@ -4136,37 +4172,25 @@ export interface NullablePersonIdentityInput {
4136
4172
  key?: InputMaybe<Scalars['String']['input']>;
4137
4173
  }
4138
4174
 
4139
- /** Clean variant of PersonIdentityProvider: no legacy providers. Not accepted anywhere yet; it will take over the PersonIdentityProvider name once legacy consumers migrate. */
4140
- export type PersonIdentityProviderV2 =
4141
- /** Email. Only unique within a company. */
4142
- | 'EMAIL'
4143
- /** EmployeeID, badge number or other value that is only unique within a company. */
4144
- | 'EMPLOYEE_ID'
4145
- /** GRS member id */
4146
- | 'GRS_MEMBER_ID'
4147
- /** globally unique identifier. Kazoo-assigned. */
4148
- | 'KAZOO_ID'
4149
- /** Kazoo Username */
4150
- | 'USERNAME'
4151
- /** WorkOS user id */
4152
- | 'WORKOS_USER_ID';
4153
-
4154
- /** Used to identify a person in input operations. Clean variant of PersonIdentityInput: does not accept legacy providers. */
4155
- export interface PersonIdentityInputV2 {
4156
- /** provider */
4157
- provider: PersonIdentityProviderV2;
4158
- /** identifier of their account */
4159
- key: Scalars['String']['input'];
4160
- }
4161
-
4162
- /** Nullable to support delete operations. e.g.: Update my manager to null. */
4163
- export interface NullablePersonIdentityInputV2 {
4164
- provider: PersonIdentityProviderV2;
4175
+ /** Legacy variant of NullablePersonIdentityInput. Accepts legacy YEI and Pulse ids. */
4176
+ export interface LegacyNullablePersonIdentityInput {
4177
+ provider: LegacyPersonIdentityProvider;
4165
4178
  key?: InputMaybe<Scalars['String']['input']>;
4166
4179
  }
4167
4180
 
4168
- /** Used to identify Departments, Locations, and Groups. */
4181
+ /** Used to identify Departments, Locations, and Groups. Does not accept legacy ids; see LegacyEntityIdentifierType. */
4169
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 =
4170
4194
  /** client-provided key */
4171
4195
  | 'EXTERNAL'
4172
4196
  /** globally unique, kazoo-generated id */
@@ -4180,28 +4204,21 @@ export interface NullableEntityIdentifierInput {
4180
4204
  key?: InputMaybe<Scalars['String']['input']>;
4181
4205
  }
4182
4206
 
4183
- /** Identifies an entity like a Location, Group, or Department. */
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. */
4184
4214
  export interface EntityIdentifierInput {
4185
4215
  type: EntityIdentifierType;
4186
4216
  key: Scalars['String']['input'];
4187
4217
  }
4188
4218
 
4189
- /** 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. */
4190
- export type EntityIdentifierTypeV2 =
4191
- /** client-provided key */
4192
- | 'EXTERNAL'
4193
- /** globally unique, kazoo-generated id */
4194
- | 'KAZOO_ID';
4195
-
4196
- /** Identifies an entity like a Location, Group, or Department. Nullable for use in delete operations like 'set my department to null'. */
4197
- export interface NullableEntityIdentifierInputV2 {
4198
- type: EntityIdentifierTypeV2;
4199
- key?: InputMaybe<Scalars['String']['input']>;
4200
- }
4201
-
4202
- /** Identifies an entity like a Location, Group, or Department. Clean variant of EntityIdentifierInput: does not accept legacy ids. */
4203
- export interface EntityIdentifierInputV2 {
4204
- type: EntityIdentifierTypeV2;
4219
+ /** Legacy variant of EntityIdentifierInput. Accepts legacy YEI ids. */
4220
+ export interface LegacyEntityIdentifierInput {
4221
+ type: LegacyEntityIdentifierType;
4205
4222
  key: Scalars['String']['input'];
4206
4223
  }
4207
4224
 
@@ -4222,15 +4239,15 @@ export interface CreateOrUpdatePersonInput {
4222
4239
  * provide at least one identity that matches the company identity provider in the
4223
4240
  * `identitiesToAdd` field.
4224
4241
  */
4225
- identifier?: InputMaybe<PersonIdentityInput>;
4242
+ identifier?: InputMaybe<LegacyPersonIdentityInput>;
4226
4243
  /** array of provider/key pairs to add */
4227
- identitiesToAdd?: InputMaybe<Array<PersonIdentityInput>>;
4244
+ identitiesToAdd?: InputMaybe<Array<LegacyPersonIdentityInput>>;
4228
4245
  /** array of provider strings to remove */
4229
- identitiesToRemove?: InputMaybe<Array<PersonIdentityProvider>>;
4246
+ identitiesToRemove?: InputMaybe<Array<LegacyPersonIdentityProvider>>;
4230
4247
  /** Most people have a manager. */
4231
- manager?: InputMaybe<NullablePersonIdentityInput>;
4248
+ manager?: InputMaybe<LegacyNullablePersonIdentityInput>;
4232
4249
  /** Overwrites the existing list of groups with this list. Empty if []. No op for null. Use in place of groupsToAdd/groupsToRemove */
4233
- groups?: InputMaybe<Array<EntityIdentifierInput>>;
4250
+ groups?: InputMaybe<Array<LegacyEntityIdentifierInput>>;
4234
4251
  /** These are all group memberships that are not department, title, or location, e.g. 2019 Interns or Team Bravo. */
4235
4252
  groupsToAdd?: InputMaybe<Array<EntityIdentifierInput>>;
4236
4253
  /** These are all group memberships that are not department, title, or location, e.g. 2019 Interns or Team Bravo. */
@@ -4242,9 +4259,9 @@ export interface CreateOrUpdatePersonInput {
4242
4259
  /** Set the roles on this person to these. Invalid with either rolesToAdd or rolesToRemove. */
4243
4260
  roles?: InputMaybe<Array<Role>>;
4244
4261
  /** e.g. IT_HLP. If key is null, we remove them from the department. */
4245
- department?: InputMaybe<NullableEntityIdentifierInput>;
4262
+ department?: InputMaybe<LegacyNullableEntityIdentifierInput>;
4246
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. */
4247
- location?: InputMaybe<NullableEntityIdentifierInput>;
4264
+ location?: InputMaybe<LegacyNullableEntityIdentifierInput>;
4248
4265
  /** e.g. Customer Service Representative II. */
4249
4266
  title?: InputMaybe<Scalars['String']['input']>;
4250
4267
  /** Person's name. See NameInput for details. */
@@ -4330,15 +4347,15 @@ export interface CreateOrUpdateDepartmentInput {
4330
4347
  /** Optional ordinal value for bulk opertions. Useful for sorting the results of batch operations. */
4331
4348
  batchSequence?: InputMaybe<Scalars['Int']['input']>;
4332
4349
  /** attempts an insert operation if not provided */
4333
- identifier: EntityIdentifierInput;
4350
+ identifier: LegacyEntityIdentifierInput;
4334
4351
  name?: InputMaybe<Scalars['String']['input']>;
4335
4352
  key?: InputMaybe<Scalars['String']['input']>;
4336
- parent?: InputMaybe<NullableEntityIdentifierInput>;
4353
+ parent?: InputMaybe<LegacyNullableEntityIdentifierInput>;
4337
4354
  /** @deprecated active is deprecated. Use status instead */
4338
4355
  active?: InputMaybe<Scalars['Boolean']['input']>;
4339
4356
  status?: InputMaybe<DepartmentLocationGroupStatus>;
4340
4357
  /** Overwrites the existing list of administrators with this list. Empty if []. No op for null. */
4341
- administrators?: InputMaybe<Array<PersonIdentityInput>>;
4358
+ administrators?: InputMaybe<Array<LegacyPersonIdentityInput>>;
4342
4359
  /** Adds these administrators. */
4343
4360
  administratorsToAdd?: InputMaybe<Array<PersonIdentityInput>>;
4344
4361
  /** Removes these administrators. */
@@ -4363,16 +4380,16 @@ export interface CreateOrUpdateLocationInput {
4363
4380
  /** Optional ordinal value for bulk opertions. Useful for sorting the results of batch operations. */
4364
4381
  batchSequence?: InputMaybe<Scalars['Int']['input']>;
4365
4382
  /** attempts an insert operation if not provided */
4366
- identifier: EntityIdentifierInput;
4383
+ identifier: LegacyEntityIdentifierInput;
4367
4384
  name?: InputMaybe<Scalars['String']['input']>;
4368
4385
  key?: InputMaybe<Scalars['String']['input']>;
4369
- parent?: InputMaybe<NullableEntityIdentifierInput>;
4386
+ parent?: InputMaybe<LegacyNullableEntityIdentifierInput>;
4370
4387
  /** @deprecated active is deprecated. Use status instead */
4371
4388
  active?: InputMaybe<Scalars['Boolean']['input']>;
4372
4389
  status?: InputMaybe<DepartmentLocationGroupStatus>;
4373
4390
  legacyRrId?: InputMaybe<Scalars['String']['input']>;
4374
4391
  /** Overwrites the existing list of administrators with this list. Empty if []. No op for null. */
4375
- administrators?: InputMaybe<Array<PersonIdentityInput>>;
4392
+ administrators?: InputMaybe<Array<LegacyPersonIdentityInput>>;
4376
4393
  /** Adds these administrators. */
4377
4394
  administratorsToAdd?: InputMaybe<Array<PersonIdentityInput>>;
4378
4395
  /** Removes these administrators. */
@@ -4396,7 +4413,7 @@ export interface CreateOrUpdateGroupInput {
4396
4413
  /** Optional ordinal value for bulk opertions. Useful for sorting the results of batch operations. */
4397
4414
  batchSequence?: InputMaybe<Scalars['Int']['input']>;
4398
4415
  /** attempts an insert operation if not provided */
4399
- identifier: EntityIdentifierInput;
4416
+ identifier: LegacyEntityIdentifierInput;
4400
4417
  /** legacy platform identifier */
4401
4418
  legacyRrId?: InputMaybe<Scalars['String']['input']>;
4402
4419
  /** YEI group type identifier */
@@ -4405,12 +4422,12 @@ export interface CreateOrUpdateGroupInput {
4405
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. */
4406
4423
  type?: InputMaybe<GroupType>;
4407
4424
  key?: InputMaybe<Scalars['String']['input']>;
4408
- parent?: InputMaybe<NullableEntityIdentifierInput>;
4425
+ parent?: InputMaybe<LegacyNullableEntityIdentifierInput>;
4409
4426
  /** @deprecated active is deprecated. Use status instead */
4410
4427
  active?: InputMaybe<Scalars['Boolean']['input']>;
4411
4428
  status?: InputMaybe<DepartmentLocationGroupStatus>;
4412
4429
  /** Overwrites the existing list of administrators with this list. Empty if []. No op for null. */
4413
- administrators?: InputMaybe<Array<PersonIdentityInput>>;
4430
+ administrators?: InputMaybe<Array<LegacyPersonIdentityInput>>;
4414
4431
  /** Adds these administrators. */
4415
4432
  administratorsToAdd?: InputMaybe<Array<PersonIdentityInput>>;
4416
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 so that callers relying on legacy ids can migrate
515
- * off the PersonIdentityInput type name before it becomes a clean type that rejects legacy ids.
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 */
@@ -521,6 +521,12 @@ export interface Query {
521
521
  peopleNotInSet?: Maybe<Array<IdResult>>;
522
522
  /** Gets any Company by identifier (Kazoo ID or workspace). */
523
523
  company?: Maybe<Company>;
524
+ /**
525
+ * Gets any Company by an identifier that may be a legacy RR (YEI) company id.
526
+ * Behaves exactly like `company`. Exists for the YEI change-data-capture tasks, which
527
+ * only know the legacy id of the company they are importing data for.
528
+ */
529
+ legacyCompany?: Maybe<Company>;
524
530
  /** Gets a Legacy Cdc Yei Company */
525
531
  legacyYeiCompany?: Maybe<LegacyYeiCompany>;
526
532
  /** Gets Legacy Cdc Yei Companies */
@@ -642,6 +648,11 @@ export interface QueryCompanyArgs {
642
648
  }
643
649
 
644
650
 
651
+ export interface QueryLegacyCompanyArgs {
652
+ identifier?: InputMaybe<LegacyCompanyIdentifierInput>;
653
+ }
654
+
655
+
645
656
  export interface QueryLegacyYeiCompanyArgs {
646
657
  yeiCompanyId?: InputMaybe<Scalars['ID']['input']>;
647
658
  workspace?: InputMaybe<Scalars['String']['input']>;
@@ -1304,7 +1315,7 @@ export interface LegacyYeiCompany {
1304
1315
  }
1305
1316
 
1306
1317
  export interface PersonIdentityFilterInput {
1307
- providers?: InputMaybe<Array<PersonIdentityProvider>>;
1318
+ providers?: InputMaybe<Array<LegacyPersonIdentityProvider>>;
1308
1319
  showInactive?: Scalars['Boolean']['input'];
1309
1320
  }
1310
1321
 
@@ -1764,7 +1775,7 @@ export type NameFormat =
1764
1775
  /** Type for supporting external accounts. Today, just does legacy Kazoo products and GRS. */
1765
1776
  export interface Identity {
1766
1777
  __typename?: 'Identity';
1767
- provider: PersonIdentityProvider;
1778
+ provider: LegacyPersonIdentityProvider;
1768
1779
  key: Scalars['String']['output'];
1769
1780
  active: Scalars['Boolean']['output'];
1770
1781
  }
@@ -1982,28 +1993,30 @@ export interface CompanyProfileSettingsInput {
1982
1993
  canChangePreferredName?: InputMaybe<Scalars['Boolean']['input']>;
1983
1994
  }
1984
1995
 
1996
+ /** Identifies a company without relying on legacy ids. */
1985
1997
  export type CompanyIdentifierType =
1986
1998
  /** globally unique, kazoo-generated id */
1987
1999
  | 'KAZOO_ID'
1988
- | 'LEGACY_RR_ID'
1989
2000
  | 'PULSE_COMPANY_ID'
1990
2001
  | 'WORKSPACE';
1991
2002
 
1992
- /** Clean variant of CompanyIdentifierType: no legacy ids. Not accepted anywhere yet; it will take over the CompanyIdentifierType name once legacy consumers migrate. */
1993
- export type CompanyIdentifierTypeV2 =
2003
+ /** Superset of CompanyIdentifierType that also accepts legacy RR (YEI) company ids. Exists only for callers that still hold a legacy id. */
2004
+ export type LegacyCompanyIdentifierType =
1994
2005
  /** globally unique, kazoo-generated id */
1995
2006
  | 'KAZOO_ID'
2007
+ | 'LEGACY_RR_ID'
1996
2008
  | 'PULSE_COMPANY_ID'
1997
2009
  | 'WORKSPACE';
1998
2010
 
1999
- /** Clean variant of CompanyIdentifierInput: does not accept legacy ids. */
2000
- export interface CompanyIdentifierInputV2 {
2001
- type: CompanyIdentifierTypeV2;
2011
+ /** Identifies a company without relying on legacy ids. */
2012
+ export interface CompanyIdentifierInput {
2013
+ type: CompanyIdentifierType;
2002
2014
  key: Scalars['String']['input'];
2003
2015
  }
2004
2016
 
2005
- export interface CompanyIdentifierInput {
2006
- type: CompanyIdentifierType;
2017
+ /** Variant of CompanyIdentifierInput that also accepts legacy RR (YEI) company ids. Exists only for callers that still hold a legacy id. */
2018
+ export interface LegacyCompanyIdentifierInput {
2019
+ type: LegacyCompanyIdentifierType;
2007
2020
  key: Scalars['String']['input'];
2008
2021
  }
2009
2022
 
@@ -2028,7 +2041,7 @@ export interface ActivationRequest {
2028
2041
  /** Identifies a Person entity. */
2029
2042
  export interface SegmentPersonIdentifier {
2030
2043
  __typename?: 'SegmentPersonIdentifier';
2031
- provider: PersonIdentityProvider;
2044
+ provider: LegacyPersonIdentityProvider;
2032
2045
  key: Scalars['String']['output'];
2033
2046
  }
2034
2047
 
@@ -2282,7 +2295,7 @@ export interface DirectoryEventRelatedEntity {
2282
2295
  export interface UpdateUserProfileInput {
2283
2296
  /** @deprecated This input is ignored. */
2284
2297
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
2285
- identifier: PersonIdentityInput;
2298
+ identifier: LegacyPersonIdentityInput;
2286
2299
  aboutMe?: InputMaybe<Scalars['String']['input']>;
2287
2300
  avatar?: InputMaybe<ImageInput>;
2288
2301
  locale?: InputMaybe<Scalars['String']['input']>;
@@ -2374,7 +2387,7 @@ export interface DirectoryEventQueryFilter {
2374
2387
  /** used to define if one person is a direct or indirect supervisor or supervisee of another */
2375
2388
  export interface SearchPersonHierarchyInput {
2376
2389
  hierarchyType: HierarchyType;
2377
- identifier: PersonIdentityInput;
2390
+ identifier: LegacyPersonIdentityInput;
2378
2391
  /**
2379
2392
  * Skips over inactive managers/reports, returning their manager/reports as if they belonged to the level below/above.
2380
2393
  *
@@ -2689,7 +2702,7 @@ export interface QueryPeopleInput {
2689
2702
  peopleInSet?: InputMaybe<Array<Scalars['ID']['input']>>;
2690
2703
  module?: InputMaybe<PeopleSegmentModule>;
2691
2704
  segmentId?: InputMaybe<Scalars['ID']['input']>;
2692
- personIdentity?: InputMaybe<Array<PersonIdentityInput>>;
2705
+ personIdentity?: InputMaybe<Array<LegacyPersonIdentityInput>>;
2693
2706
  assistedBy?: InputMaybe<Array<InputMaybe<PersonIdentityInput>>>;
2694
2707
  assists?: InputMaybe<Array<InputMaybe<PersonIdentityInput>>>;
2695
2708
  }
@@ -2709,7 +2722,7 @@ export interface QueryEntitiesFilter {
2709
2722
  status?: InputMaybe<Array<DepartmentLocationGroupStatus>>;
2710
2723
  key?: InputMaybe<StringSearch>;
2711
2724
  hierarchy?: InputMaybe<Array<HierarchicalEntityFilter>>;
2712
- entityIdentifier?: InputMaybe<Array<EntityIdentifierInput>>;
2725
+ entityIdentifier?: InputMaybe<Array<LegacyEntityIdentifierInput>>;
2713
2726
  }
2714
2727
 
2715
2728
  export interface QueryGroupFilter {
@@ -2722,7 +2735,7 @@ export interface QueryGroupFilter {
2722
2735
  hierarchy?: InputMaybe<Array<HierarchicalEntityFilter>>;
2723
2736
  /** Filters the groups by type. Only administrators and analysts may request PRIVATE groups. */
2724
2737
  type?: InputMaybe<Array<GroupType>>;
2725
- entityIdentifier?: InputMaybe<Array<EntityIdentifierInput>>;
2738
+ entityIdentifier?: InputMaybe<Array<LegacyEntityIdentifierInput>>;
2726
2739
  }
2727
2740
 
2728
2741
  export type QueryEntitiesSortField =
@@ -3628,7 +3641,7 @@ export interface DirectoryBatchUnchangedGroupsArgs {
3628
3641
  }
3629
3642
 
3630
3643
  export interface DirectoryIndexInput {
3631
- identifier: PersonIdentityInput;
3644
+ identifier: LegacyPersonIdentityInput;
3632
3645
  indexType: DirectoryIndexType;
3633
3646
  /** This field is required when indexType = 'POINT_RULE' */
3634
3647
  pointRuleName?: InputMaybe<Scalars['String']['input']>;
@@ -4065,7 +4078,12 @@ export type Role =
4065
4078
  */
4066
4079
  | 'WORKTANGO_COACH_USER';
4067
4080
 
4068
- export type PersonIdentityProvider =
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 =
4069
4087
  /** Email. Only unique within a company. */
4070
4088
  | 'EMAIL'
4071
4089
  /** EmployeeID, badge number or other value that is only unique within a company. */
@@ -4087,6 +4105,25 @@ export type PersonIdentityProvider =
4087
4105
  /** WorkOS user id */
4088
4106
  | 'WORKOS_USER_ID';
4089
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
+
4090
4127
  export type QueryPeopleSortField =
4091
4128
  | 'BIRTHDAY'
4092
4129
  | 'DEPARTMENT_NAME'
@@ -4107,7 +4144,7 @@ export interface QueryPeopleSortInput {
4107
4144
  direction: SortDirection;
4108
4145
  }
4109
4146
 
4110
- /** Used to identify a person in input operations */
4147
+ /** Used to identify a person in input operations. Does not accept legacy ids; see LegacyPersonIdentityInput. */
4111
4148
  export interface PersonIdentityInput {
4112
4149
  /** provider */
4113
4150
  provider: PersonIdentityProvider;
@@ -4116,14 +4153,13 @@ export interface PersonIdentityInput {
4116
4153
  }
4117
4154
 
4118
4155
  /**
4119
- * Identical to PersonIdentityInput, under the name it will keep after the identifier-type cleanup.
4120
- * Callers that look people up by legacy (YEI/Pulse) ids must use this type so that
4121
- * PersonIdentityInput can later become a clean type that rejects legacy ids without
4122
- * 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.
4123
4159
  */
4124
4160
  export interface LegacyPersonIdentityInput {
4125
4161
  /** provider */
4126
- provider: PersonIdentityProvider;
4162
+ provider: LegacyPersonIdentityProvider;
4127
4163
  /** identifier of their account */
4128
4164
  key: Scalars['String']['input'];
4129
4165
  }
@@ -4134,37 +4170,25 @@ export interface NullablePersonIdentityInput {
4134
4170
  key?: InputMaybe<Scalars['String']['input']>;
4135
4171
  }
4136
4172
 
4137
- /** Clean variant of PersonIdentityProvider: no legacy providers. Not accepted anywhere yet; it will take over the PersonIdentityProvider name once legacy consumers migrate. */
4138
- export type PersonIdentityProviderV2 =
4139
- /** Email. Only unique within a company. */
4140
- | 'EMAIL'
4141
- /** EmployeeID, badge number or other value that is only unique within a company. */
4142
- | 'EMPLOYEE_ID'
4143
- /** GRS member id */
4144
- | 'GRS_MEMBER_ID'
4145
- /** globally unique identifier. Kazoo-assigned. */
4146
- | 'KAZOO_ID'
4147
- /** Kazoo Username */
4148
- | 'USERNAME'
4149
- /** WorkOS user id */
4150
- | 'WORKOS_USER_ID';
4151
-
4152
- /** Used to identify a person in input operations. Clean variant of PersonIdentityInput: does not accept legacy providers. */
4153
- export interface PersonIdentityInputV2 {
4154
- /** provider */
4155
- provider: PersonIdentityProviderV2;
4156
- /** identifier of their account */
4157
- key: Scalars['String']['input'];
4158
- }
4159
-
4160
- /** Nullable to support delete operations. e.g.: Update my manager to null. */
4161
- export interface NullablePersonIdentityInputV2 {
4162
- provider: PersonIdentityProviderV2;
4173
+ /** Legacy variant of NullablePersonIdentityInput. Accepts legacy YEI and Pulse ids. */
4174
+ export interface LegacyNullablePersonIdentityInput {
4175
+ provider: LegacyPersonIdentityProvider;
4163
4176
  key?: InputMaybe<Scalars['String']['input']>;
4164
4177
  }
4165
4178
 
4166
- /** Used to identify Departments, Locations, and Groups. */
4179
+ /** Used to identify Departments, Locations, and Groups. Does not accept legacy ids; see LegacyEntityIdentifierType. */
4167
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 =
4168
4192
  /** client-provided key */
4169
4193
  | 'EXTERNAL'
4170
4194
  /** globally unique, kazoo-generated id */
@@ -4178,28 +4202,21 @@ export interface NullableEntityIdentifierInput {
4178
4202
  key?: InputMaybe<Scalars['String']['input']>;
4179
4203
  }
4180
4204
 
4181
- /** Identifies an entity like a Location, Group, or Department. */
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. */
4182
4212
  export interface EntityIdentifierInput {
4183
4213
  type: EntityIdentifierType;
4184
4214
  key: Scalars['String']['input'];
4185
4215
  }
4186
4216
 
4187
- /** 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. */
4188
- export type EntityIdentifierTypeV2 =
4189
- /** client-provided key */
4190
- | 'EXTERNAL'
4191
- /** globally unique, kazoo-generated id */
4192
- | 'KAZOO_ID';
4193
-
4194
- /** Identifies an entity like a Location, Group, or Department. Nullable for use in delete operations like 'set my department to null'. */
4195
- export interface NullableEntityIdentifierInputV2 {
4196
- type: EntityIdentifierTypeV2;
4197
- key?: InputMaybe<Scalars['String']['input']>;
4198
- }
4199
-
4200
- /** Identifies an entity like a Location, Group, or Department. Clean variant of EntityIdentifierInput: does not accept legacy ids. */
4201
- export interface EntityIdentifierInputV2 {
4202
- type: EntityIdentifierTypeV2;
4217
+ /** Legacy variant of EntityIdentifierInput. Accepts legacy YEI ids. */
4218
+ export interface LegacyEntityIdentifierInput {
4219
+ type: LegacyEntityIdentifierType;
4203
4220
  key: Scalars['String']['input'];
4204
4221
  }
4205
4222
 
@@ -4220,15 +4237,15 @@ export interface CreateOrUpdatePersonInput {
4220
4237
  * provide at least one identity that matches the company identity provider in the
4221
4238
  * `identitiesToAdd` field.
4222
4239
  */
4223
- identifier?: InputMaybe<PersonIdentityInput>;
4240
+ identifier?: InputMaybe<LegacyPersonIdentityInput>;
4224
4241
  /** array of provider/key pairs to add */
4225
- identitiesToAdd?: InputMaybe<Array<PersonIdentityInput>>;
4242
+ identitiesToAdd?: InputMaybe<Array<LegacyPersonIdentityInput>>;
4226
4243
  /** array of provider strings to remove */
4227
- identitiesToRemove?: InputMaybe<Array<PersonIdentityProvider>>;
4244
+ identitiesToRemove?: InputMaybe<Array<LegacyPersonIdentityProvider>>;
4228
4245
  /** Most people have a manager. */
4229
- manager?: InputMaybe<NullablePersonIdentityInput>;
4246
+ manager?: InputMaybe<LegacyNullablePersonIdentityInput>;
4230
4247
  /** Overwrites the existing list of groups with this list. Empty if []. No op for null. Use in place of groupsToAdd/groupsToRemove */
4231
- groups?: InputMaybe<Array<EntityIdentifierInput>>;
4248
+ groups?: InputMaybe<Array<LegacyEntityIdentifierInput>>;
4232
4249
  /** These are all group memberships that are not department, title, or location, e.g. 2019 Interns or Team Bravo. */
4233
4250
  groupsToAdd?: InputMaybe<Array<EntityIdentifierInput>>;
4234
4251
  /** These are all group memberships that are not department, title, or location, e.g. 2019 Interns or Team Bravo. */
@@ -4240,9 +4257,9 @@ export interface CreateOrUpdatePersonInput {
4240
4257
  /** Set the roles on this person to these. Invalid with either rolesToAdd or rolesToRemove. */
4241
4258
  roles?: InputMaybe<Array<Role>>;
4242
4259
  /** e.g. IT_HLP. If key is null, we remove them from the department. */
4243
- department?: InputMaybe<NullableEntityIdentifierInput>;
4260
+ department?: InputMaybe<LegacyNullableEntityIdentifierInput>;
4244
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. */
4245
- location?: InputMaybe<NullableEntityIdentifierInput>;
4262
+ location?: InputMaybe<LegacyNullableEntityIdentifierInput>;
4246
4263
  /** e.g. Customer Service Representative II. */
4247
4264
  title?: InputMaybe<Scalars['String']['input']>;
4248
4265
  /** Person's name. See NameInput for details. */
@@ -4328,15 +4345,15 @@ export interface CreateOrUpdateDepartmentInput {
4328
4345
  /** Optional ordinal value for bulk opertions. Useful for sorting the results of batch operations. */
4329
4346
  batchSequence?: InputMaybe<Scalars['Int']['input']>;
4330
4347
  /** attempts an insert operation if not provided */
4331
- identifier: EntityIdentifierInput;
4348
+ identifier: LegacyEntityIdentifierInput;
4332
4349
  name?: InputMaybe<Scalars['String']['input']>;
4333
4350
  key?: InputMaybe<Scalars['String']['input']>;
4334
- parent?: InputMaybe<NullableEntityIdentifierInput>;
4351
+ parent?: InputMaybe<LegacyNullableEntityIdentifierInput>;
4335
4352
  /** @deprecated active is deprecated. Use status instead */
4336
4353
  active?: InputMaybe<Scalars['Boolean']['input']>;
4337
4354
  status?: InputMaybe<DepartmentLocationGroupStatus>;
4338
4355
  /** Overwrites the existing list of administrators with this list. Empty if []. No op for null. */
4339
- administrators?: InputMaybe<Array<PersonIdentityInput>>;
4356
+ administrators?: InputMaybe<Array<LegacyPersonIdentityInput>>;
4340
4357
  /** Adds these administrators. */
4341
4358
  administratorsToAdd?: InputMaybe<Array<PersonIdentityInput>>;
4342
4359
  /** Removes these administrators. */
@@ -4361,16 +4378,16 @@ export interface CreateOrUpdateLocationInput {
4361
4378
  /** Optional ordinal value for bulk opertions. Useful for sorting the results of batch operations. */
4362
4379
  batchSequence?: InputMaybe<Scalars['Int']['input']>;
4363
4380
  /** attempts an insert operation if not provided */
4364
- identifier: EntityIdentifierInput;
4381
+ identifier: LegacyEntityIdentifierInput;
4365
4382
  name?: InputMaybe<Scalars['String']['input']>;
4366
4383
  key?: InputMaybe<Scalars['String']['input']>;
4367
- parent?: InputMaybe<NullableEntityIdentifierInput>;
4384
+ parent?: InputMaybe<LegacyNullableEntityIdentifierInput>;
4368
4385
  /** @deprecated active is deprecated. Use status instead */
4369
4386
  active?: InputMaybe<Scalars['Boolean']['input']>;
4370
4387
  status?: InputMaybe<DepartmentLocationGroupStatus>;
4371
4388
  legacyRrId?: InputMaybe<Scalars['String']['input']>;
4372
4389
  /** Overwrites the existing list of administrators with this list. Empty if []. No op for null. */
4373
- administrators?: InputMaybe<Array<PersonIdentityInput>>;
4390
+ administrators?: InputMaybe<Array<LegacyPersonIdentityInput>>;
4374
4391
  /** Adds these administrators. */
4375
4392
  administratorsToAdd?: InputMaybe<Array<PersonIdentityInput>>;
4376
4393
  /** Removes these administrators. */
@@ -4394,7 +4411,7 @@ export interface CreateOrUpdateGroupInput {
4394
4411
  /** Optional ordinal value for bulk opertions. Useful for sorting the results of batch operations. */
4395
4412
  batchSequence?: InputMaybe<Scalars['Int']['input']>;
4396
4413
  /** attempts an insert operation if not provided */
4397
- identifier: EntityIdentifierInput;
4414
+ identifier: LegacyEntityIdentifierInput;
4398
4415
  /** legacy platform identifier */
4399
4416
  legacyRrId?: InputMaybe<Scalars['String']['input']>;
4400
4417
  /** YEI group type identifier */
@@ -4403,12 +4420,12 @@ export interface CreateOrUpdateGroupInput {
4403
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. */
4404
4421
  type?: InputMaybe<GroupType>;
4405
4422
  key?: InputMaybe<Scalars['String']['input']>;
4406
- parent?: InputMaybe<NullableEntityIdentifierInput>;
4423
+ parent?: InputMaybe<LegacyNullableEntityIdentifierInput>;
4407
4424
  /** @deprecated active is deprecated. Use status instead */
4408
4425
  active?: InputMaybe<Scalars['Boolean']['input']>;
4409
4426
  status?: InputMaybe<DepartmentLocationGroupStatus>;
4410
4427
  /** Overwrites the existing list of administrators with this list. Empty if []. No op for null. */
4411
- administrators?: InputMaybe<Array<PersonIdentityInput>>;
4428
+ administrators?: InputMaybe<Array<LegacyPersonIdentityInput>>;
4412
4429
  /** Adds these administrators. */
4413
4430
  administratorsToAdd?: InputMaybe<Array<PersonIdentityInput>>;
4414
4431
  /** Removes these administrators. */
@@ -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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worktango/ai-assistant",
3
- "version": "1.0.144",
3
+ "version": "1.0.147",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org",
6
6
  "access": "public"