@worktango/ai-assistant 1.0.140 → 1.0.141
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 +24 -0
- package/generated/sdk.ts +24 -0
- 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>>;
|
|
@@ -4106,6 +4117,19 @@ export interface PersonIdentityInput {
|
|
|
4106
4117
|
key: Scalars['String']['input'];
|
|
4107
4118
|
}
|
|
4108
4119
|
|
|
4120
|
+
/**
|
|
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.
|
|
4125
|
+
*/
|
|
4126
|
+
export interface LegacyPersonIdentityInput {
|
|
4127
|
+
/** provider */
|
|
4128
|
+
provider: PersonIdentityProvider;
|
|
4129
|
+
/** identifier of their account */
|
|
4130
|
+
key: Scalars['String']['input'];
|
|
4131
|
+
}
|
|
4132
|
+
|
|
4109
4133
|
/** Nullable to support delete operations. e.g.: Update my manager to null. */
|
|
4110
4134
|
export interface NullablePersonIdentityInput {
|
|
4111
4135
|
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>>;
|
|
@@ -4104,6 +4115,19 @@ export interface PersonIdentityInput {
|
|
|
4104
4115
|
key: Scalars['String']['input'];
|
|
4105
4116
|
}
|
|
4106
4117
|
|
|
4118
|
+
/**
|
|
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.
|
|
4123
|
+
*/
|
|
4124
|
+
export interface LegacyPersonIdentityInput {
|
|
4125
|
+
/** provider */
|
|
4126
|
+
provider: PersonIdentityProvider;
|
|
4127
|
+
/** identifier of their account */
|
|
4128
|
+
key: Scalars['String']['input'];
|
|
4129
|
+
}
|
|
4130
|
+
|
|
4107
4131
|
/** Nullable to support delete operations. e.g.: Update my manager to null. */
|
|
4108
4132
|
export interface NullablePersonIdentityInput {
|
|
4109
4133
|
provider: PersonIdentityProvider;
|