@worktango/ai-assistant 1.0.140 → 1.0.142
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 +30 -2
- package/generated/sdk.ts +30 -2
- package/generated/stitchedSdk.ts +12 -4
- package/package.json +1 -1
package/generated/apiHooks.tsx
CHANGED
|
@@ -511,6 +511,12 @@ export interface Query {
|
|
|
511
511
|
getAiResponseRating?: Maybe<AiResponseRating>;
|
|
512
512
|
/** Returns a single person */
|
|
513
513
|
person?: Maybe<Person>;
|
|
514
|
+
/**
|
|
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.
|
|
518
|
+
*/
|
|
519
|
+
legacyPerson?: Maybe<Person>;
|
|
514
520
|
/** executes a people search */
|
|
515
521
|
people: PersonConnection;
|
|
516
522
|
/** Returns an array of ids of people who are in `status` and are NOT in the set of ids provided. This is used for bulk deactivating users. */
|
|
@@ -613,6 +619,11 @@ export interface QueryPersonArgs {
|
|
|
613
619
|
}
|
|
614
620
|
|
|
615
621
|
|
|
622
|
+
export interface QueryLegacyPersonArgs {
|
|
623
|
+
identifier: LegacyPersonIdentityInput;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
|
|
616
627
|
export interface QueryPeopleArgs {
|
|
617
628
|
filters?: InputMaybe<Array<QueryPeopleInput>>;
|
|
618
629
|
sort?: InputMaybe<Array<QueryPeopleSortInput>>;
|
|
@@ -4065,14 +4076,18 @@ export type PersonIdentityProvider =
|
|
|
4065
4076
|
| 'GRS_MEMBER_ID'
|
|
4066
4077
|
/** globally unique identifier. Kazoo-assigned. */
|
|
4067
4078
|
| 'KAZOO_ID'
|
|
4068
|
-
/** Employee Id from the
|
|
4079
|
+
/** Employee Id from the WorkTango Pulse platform */
|
|
4069
4080
|
| 'LEGACY_PULSE_EMPLOYEE_ID'
|
|
4070
|
-
/** User Id from the
|
|
4081
|
+
/** User Id from the WorkTango Pulse platform */
|
|
4071
4082
|
| 'LEGACY_PULSE_USER_ID'
|
|
4072
4083
|
/** Legacy YouEarnedIt userId */
|
|
4073
4084
|
| 'LEGACY_YEI_ID'
|
|
4074
4085
|
/** Legacy YouEarnedIt username */
|
|
4075
4086
|
| 'LEGACY_YEI_USERNAME'
|
|
4087
|
+
/** Employee Id from the WorkTango Pulse platform */
|
|
4088
|
+
| 'PULSE_EMPLOYEE_ID'
|
|
4089
|
+
/** User Id from the WorkTango Pulse platform */
|
|
4090
|
+
| 'PULSE_USER_ID'
|
|
4076
4091
|
/** Kazoo Username */
|
|
4077
4092
|
| 'USERNAME'
|
|
4078
4093
|
/** WorkOS user id */
|
|
@@ -4106,6 +4121,19 @@ export interface PersonIdentityInput {
|
|
|
4106
4121
|
key: Scalars['String']['input'];
|
|
4107
4122
|
}
|
|
4108
4123
|
|
|
4124
|
+
/**
|
|
4125
|
+
* Identical to PersonIdentityInput, under the name it will keep after the identifier-type cleanup.
|
|
4126
|
+
* Callers that look people up by legacy (YEI/Pulse) ids must use this type so that
|
|
4127
|
+
* PersonIdentityInput can later become a clean type that rejects legacy ids without
|
|
4128
|
+
* breaking already-shipped clients. Mobile apps hardcode this type name in shipped queries.
|
|
4129
|
+
*/
|
|
4130
|
+
export interface LegacyPersonIdentityInput {
|
|
4131
|
+
/** provider */
|
|
4132
|
+
provider: PersonIdentityProvider;
|
|
4133
|
+
/** identifier of their account */
|
|
4134
|
+
key: Scalars['String']['input'];
|
|
4135
|
+
}
|
|
4136
|
+
|
|
4109
4137
|
/** Nullable to support delete operations. e.g.: Update my manager to null. */
|
|
4110
4138
|
export interface NullablePersonIdentityInput {
|
|
4111
4139
|
provider: PersonIdentityProvider;
|
package/generated/sdk.ts
CHANGED
|
@@ -509,6 +509,12 @@ export interface Query {
|
|
|
509
509
|
getAiResponseRating?: Maybe<AiResponseRating>;
|
|
510
510
|
/** Returns a single person */
|
|
511
511
|
person?: Maybe<Person>;
|
|
512
|
+
/**
|
|
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.
|
|
516
|
+
*/
|
|
517
|
+
legacyPerson?: Maybe<Person>;
|
|
512
518
|
/** executes a people search */
|
|
513
519
|
people: PersonConnection;
|
|
514
520
|
/** Returns an array of ids of people who are in `status` and are NOT in the set of ids provided. This is used for bulk deactivating users. */
|
|
@@ -611,6 +617,11 @@ export interface QueryPersonArgs {
|
|
|
611
617
|
}
|
|
612
618
|
|
|
613
619
|
|
|
620
|
+
export interface QueryLegacyPersonArgs {
|
|
621
|
+
identifier: LegacyPersonIdentityInput;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
|
|
614
625
|
export interface QueryPeopleArgs {
|
|
615
626
|
filters?: InputMaybe<Array<QueryPeopleInput>>;
|
|
616
627
|
sort?: InputMaybe<Array<QueryPeopleSortInput>>;
|
|
@@ -4063,14 +4074,18 @@ export type PersonIdentityProvider =
|
|
|
4063
4074
|
| 'GRS_MEMBER_ID'
|
|
4064
4075
|
/** globally unique identifier. Kazoo-assigned. */
|
|
4065
4076
|
| 'KAZOO_ID'
|
|
4066
|
-
/** Employee Id from the
|
|
4077
|
+
/** Employee Id from the WorkTango Pulse platform */
|
|
4067
4078
|
| 'LEGACY_PULSE_EMPLOYEE_ID'
|
|
4068
|
-
/** User Id from the
|
|
4079
|
+
/** User Id from the WorkTango Pulse platform */
|
|
4069
4080
|
| 'LEGACY_PULSE_USER_ID'
|
|
4070
4081
|
/** Legacy YouEarnedIt userId */
|
|
4071
4082
|
| 'LEGACY_YEI_ID'
|
|
4072
4083
|
/** Legacy YouEarnedIt username */
|
|
4073
4084
|
| 'LEGACY_YEI_USERNAME'
|
|
4085
|
+
/** Employee Id from the WorkTango Pulse platform */
|
|
4086
|
+
| 'PULSE_EMPLOYEE_ID'
|
|
4087
|
+
/** User Id from the WorkTango Pulse platform */
|
|
4088
|
+
| 'PULSE_USER_ID'
|
|
4074
4089
|
/** Kazoo Username */
|
|
4075
4090
|
| 'USERNAME'
|
|
4076
4091
|
/** WorkOS user id */
|
|
@@ -4104,6 +4119,19 @@ export interface PersonIdentityInput {
|
|
|
4104
4119
|
key: Scalars['String']['input'];
|
|
4105
4120
|
}
|
|
4106
4121
|
|
|
4122
|
+
/**
|
|
4123
|
+
* Identical to PersonIdentityInput, under the name it will keep after the identifier-type cleanup.
|
|
4124
|
+
* Callers that look people up by legacy (YEI/Pulse) ids must use this type so that
|
|
4125
|
+
* PersonIdentityInput can later become a clean type that rejects legacy ids without
|
|
4126
|
+
* breaking already-shipped clients. Mobile apps hardcode this type name in shipped queries.
|
|
4127
|
+
*/
|
|
4128
|
+
export interface LegacyPersonIdentityInput {
|
|
4129
|
+
/** provider */
|
|
4130
|
+
provider: PersonIdentityProvider;
|
|
4131
|
+
/** identifier of their account */
|
|
4132
|
+
key: Scalars['String']['input'];
|
|
4133
|
+
}
|
|
4134
|
+
|
|
4107
4135
|
/** Nullable to support delete operations. e.g.: Update my manager to null. */
|
|
4108
4136
|
export interface NullablePersonIdentityInput {
|
|
4109
4137
|
provider: PersonIdentityProvider;
|
package/generated/stitchedSdk.ts
CHANGED
|
@@ -280,14 +280,18 @@ export type Directory_PersonIdentityProvider =
|
|
|
280
280
|
| 'GRS_MEMBER_ID'
|
|
281
281
|
/** globally unique identifier. Kazoo-assigned. */
|
|
282
282
|
| 'KAZOO_ID'
|
|
283
|
-
/** Employee Id from the
|
|
283
|
+
/** Employee Id from the WorkTango Pulse platform */
|
|
284
284
|
| 'LEGACY_PULSE_EMPLOYEE_ID'
|
|
285
|
-
/** User Id from the
|
|
285
|
+
/** User Id from the WorkTango Pulse platform */
|
|
286
286
|
| 'LEGACY_PULSE_USER_ID'
|
|
287
287
|
/** Legacy YouEarnedIt userId */
|
|
288
288
|
| 'LEGACY_YEI_ID'
|
|
289
289
|
/** Legacy YouEarnedIt username */
|
|
290
290
|
| 'LEGACY_YEI_USERNAME'
|
|
291
|
+
/** Employee Id from the WorkTango Pulse platform */
|
|
292
|
+
| 'PULSE_EMPLOYEE_ID'
|
|
293
|
+
/** User Id from the WorkTango Pulse platform */
|
|
294
|
+
| 'PULSE_USER_ID'
|
|
291
295
|
/** Kazoo Username */
|
|
292
296
|
| 'USERNAME';
|
|
293
297
|
|
|
@@ -312,14 +316,18 @@ export type PersonIdentityProvider =
|
|
|
312
316
|
| 'GRS_MEMBER_ID'
|
|
313
317
|
/** globally unique identifier. Kazoo-assigned. */
|
|
314
318
|
| 'KAZOO_ID'
|
|
315
|
-
/** Employee Id from the
|
|
319
|
+
/** Employee Id from the WorkTango Pulse platform */
|
|
316
320
|
| 'LEGACY_PULSE_EMPLOYEE_ID'
|
|
317
|
-
/** User Id from the
|
|
321
|
+
/** User Id from the WorkTango Pulse platform */
|
|
318
322
|
| 'LEGACY_PULSE_USER_ID'
|
|
319
323
|
/** Legacy YouEarnedIt userId */
|
|
320
324
|
| 'LEGACY_YEI_ID'
|
|
321
325
|
/** Legacy YouEarnedIt username */
|
|
322
326
|
| 'LEGACY_YEI_USERNAME'
|
|
327
|
+
/** Employee Id from the WorkTango Pulse platform */
|
|
328
|
+
| 'PULSE_EMPLOYEE_ID'
|
|
329
|
+
/** User Id from the WorkTango Pulse platform */
|
|
330
|
+
| 'PULSE_USER_ID'
|
|
323
331
|
/** Kazoo Username */
|
|
324
332
|
| 'USERNAME';
|
|
325
333
|
|