@uidu/client 3.14.0 → 3.16.0
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/CHANGELOG.md +28 -0
- package/dist/declarations/src/generated/index.d.ts +192 -0
- package/dist/declarations/src/index.d.ts +1 -1
- package/dist/declarations/src/mutations.d.ts +175 -1
- package/dist/uidu-client.cjs.dev.js +51 -1
- package/dist/uidu-client.cjs.prod.js +51 -1
- package/dist/uidu-client.esm.js +47 -2
- package/package.json +1 -1
- package/src/generated/index.ts +48 -0
- package/src/index.ts +5 -0
- package/src/mutations.ts +72 -0
- package/src/queries/help-center/ChannelKbCollectionMutations.graphql +41 -0
- package/src/queries/people/EmployeeCertificationMutations.graphql +25 -0
- package/src/queries/people/EmploymentTermMutations.graphql +67 -0
package/package.json
CHANGED
package/src/generated/index.ts
CHANGED
|
@@ -23915,6 +23915,10 @@ export type Donation = ActiveRecordTimestamp & Node & WithContact & WithEventStr
|
|
|
23915
23915
|
dedication?: Maybe<Scalars['JSON']['output']>;
|
|
23916
23916
|
/** DonationCampaign associated to this donation */
|
|
23917
23917
|
donationCampaign: DonationCampaign;
|
|
23918
|
+
/** Public avatar of the donor, null when anonymous */
|
|
23919
|
+
donorAvatar?: Maybe<Scalars['String']['output']>;
|
|
23920
|
+
/** Public name of the donor, null when anonymous */
|
|
23921
|
+
donorName?: Maybe<Scalars['String']['output']>;
|
|
23918
23922
|
formResponse?: Maybe<FormResponse>;
|
|
23919
23923
|
humanName: Scalars['String']['output'];
|
|
23920
23924
|
id: Scalars['ID']['output'];
|
|
@@ -23941,6 +23945,11 @@ export type Donation = ActiveRecordTimestamp & Node & WithContact & WithEventStr
|
|
|
23941
23945
|
};
|
|
23942
23946
|
|
|
23943
23947
|
|
|
23948
|
+
export type DonationDonorAvatarArgs = {
|
|
23949
|
+
variant?: InputMaybe<Scalars['String']['input']>;
|
|
23950
|
+
};
|
|
23951
|
+
|
|
23952
|
+
|
|
23944
23953
|
export type DonationLogsArgs = {
|
|
23945
23954
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
23946
23955
|
before?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -67901,6 +67910,20 @@ export type ListTimeframesQueryVariables = Exact<{
|
|
|
67901
67910
|
|
|
67902
67911
|
export type ListTimeframesQuery = { __typename?: 'Query', currentWorkspace?: { __typename?: 'Workspace', timeframes: { __typename?: 'TimeframeConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, endCursor?: string | null }, edges?: Array<{ __typename?: 'TimeframeEdge', node?: { __typename?: 'Timeframe', id: string, name?: string | null, startDate?: any | null, endDate?: any | null, year?: number | null, active?: boolean | null } | null } | null> | null } } | null };
|
|
67903
67912
|
|
|
67913
|
+
export type CreateChannelKbCollectionMutationVariables = Exact<{
|
|
67914
|
+
input: CreateChannelKbCollectionInput;
|
|
67915
|
+
}>;
|
|
67916
|
+
|
|
67917
|
+
|
|
67918
|
+
export type CreateChannelKbCollectionMutation = { __typename?: 'Mutation', createChannelKbCollection?: { __typename?: 'CreateChannelKbCollectionPayload', channelKbCollection?: { __typename?: 'ChannelKbCollection', id: string, position: number, channel: { __typename?: 'Channel', id: string }, kbCollection: { __typename?: 'KbCollection', id: string, name?: any | null } } | null, errors: Array<{ __typename?: 'Error', key: string, name: string, type: string }> } | null };
|
|
67919
|
+
|
|
67920
|
+
export type UpdateChannelKbCollectionMutationVariables = Exact<{
|
|
67921
|
+
input: UpdateChannelKbCollectionInput;
|
|
67922
|
+
}>;
|
|
67923
|
+
|
|
67924
|
+
|
|
67925
|
+
export type UpdateChannelKbCollectionMutation = { __typename?: 'Mutation', updateChannelKbCollection?: { __typename?: 'UpdateChannelKbCollectionPayload', channelKbCollection?: { __typename?: 'ChannelKbCollection', id: string, position: number, channel: { __typename?: 'Channel', id: string }, kbCollection: { __typename?: 'KbCollection', id: string, name?: any | null } } | null, errors: Array<{ __typename?: 'Error', key: string, name: string, type: string }> } | null };
|
|
67926
|
+
|
|
67904
67927
|
export type CreateChannelMutationVariables = Exact<{
|
|
67905
67928
|
input: CreateChannelInput;
|
|
67906
67929
|
}>;
|
|
@@ -68190,6 +68213,26 @@ export type CreateCcnlMutationVariables = Exact<{
|
|
|
68190
68213
|
|
|
68191
68214
|
export type CreateCcnlMutation = { __typename?: 'Mutation', createCcnl?: { __typename?: 'CreateCcnlPayload', ccnl?: { __typename?: 'CcnlEdge', node?: { __typename?: 'Ccnl', id: string, name?: string | null, shortname?: string | null } | null } | null, errors: Array<{ __typename?: 'Error', key: string, name: string, type: string }> } | null };
|
|
68192
68215
|
|
|
68216
|
+
export type CreateEmploymentTermMutationVariables = Exact<{
|
|
68217
|
+
input: CreateEmploymentTermInput;
|
|
68218
|
+
}>;
|
|
68219
|
+
|
|
68220
|
+
|
|
68221
|
+
export type CreateEmploymentTermMutation = { __typename?: 'Mutation', createEmploymentTerm?: { __typename?: 'CreateEmploymentTermPayload', employmentTerm?: { __typename?: 'EmploymentTermEdge', node?: { __typename?: 'EmploymentTerm', id: string, effectiveFrom: any, effectiveTo?: any | null, endDate?: any | null, jobTitle?: string | null, workingHours?: number | null, workingFrequency?: string | null, fteRatio?: number | null, isInitial: boolean, state: string, employment: { __typename?: 'Employment', id: string }, employmentKind?: { __typename?: 'EmploymentKind', id: string, name?: string | null } | null, ccnl?: { __typename?: 'Ccnl', id: string, name?: string | null } | null } | null } | null, errors: Array<{ __typename?: 'Error', key: string, name: string, type: string }> } | null };
|
|
68222
|
+
|
|
68223
|
+
export type UpdateEmploymentTermMutationVariables = Exact<{
|
|
68224
|
+
input: UpdateEmploymentTermInput;
|
|
68225
|
+
}>;
|
|
68226
|
+
|
|
68227
|
+
|
|
68228
|
+
export type UpdateEmploymentTermMutation = { __typename?: 'Mutation', updateEmploymentTerm?: { __typename?: 'UpdateEmploymentTermPayload', employmentTerm?: { __typename?: 'EmploymentTerm', id: string, effectiveFrom: any, effectiveTo?: any | null, endDate?: any | null, jobTitle?: string | null, workingHours?: number | null, workingFrequency?: string | null, fteRatio?: number | null, isInitial: boolean, state: string, employment: { __typename?: 'Employment', id: string }, employmentKind?: { __typename?: 'EmploymentKind', id: string, name?: string | null } | null, ccnl?: { __typename?: 'Ccnl', id: string, name?: string | null } | null } | null, errors: Array<{ __typename?: 'Error', key: string, name: string, type: string }> } | null };
|
|
68229
|
+
export type CreateEmployeeCertificationMutationVariables = Exact<{
|
|
68230
|
+
input: CreateEmployeeCertificationInput;
|
|
68231
|
+
}>;
|
|
68232
|
+
|
|
68233
|
+
|
|
68234
|
+
export type CreateEmployeeCertificationMutation = { __typename?: 'Mutation', createEmployeeCertification?: { __typename?: 'CreateEmployeeCertificationPayload', employeeCertification?: { __typename?: 'EmployeeCertificationEdge', node?: { __typename?: 'EmployeeCertification', id: string, issuedAt: any, expiresAt?: any | null, validNow: boolean, metadata?: any | null, employee: { __typename?: 'Employee', id: string }, certification: { __typename?: 'Certification', id: string, name?: string | null } } | null } | null, errors: Array<{ __typename?: 'Error', key: string, name: string, type: string }> } | null };
|
|
68235
|
+
|
|
68193
68236
|
export type GetEmployeeQueryVariables = Exact<{
|
|
68194
68237
|
id: Scalars['ID']['input'];
|
|
68195
68238
|
weekStartingAt: Scalars['ISO8601Date']['input'];
|
|
@@ -68514,6 +68557,8 @@ export const GetGoalDocument = {"kind":"Document","definitions":[{"kind":"Operat
|
|
|
68514
68557
|
export const UpdateGoalDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateGoal"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateGoalInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateGoal"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"goal"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"GoalFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"GoalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Goal"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"metricKind"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"initialValue"}},{"kind":"Field","name":{"kind":"Name","value":"currentValue"}},{"kind":"Field","name":{"kind":"Name","value":"targetValue"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"weight"}},{"kind":"Field","name":{"kind":"Name","value":"updateFrequency"}},{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"subgoalsCount"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"timeframe"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"endDate"}}]}}]}}]} as unknown as DocumentNode<UpdateGoalMutation, UpdateGoalMutationVariables>;
|
|
68515
68558
|
export const ListGoalsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ListGoals"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"goals"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}},{"kind":"Field","name":{"kind":"Name","value":"endCursor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"GoalFields"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"GoalFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Goal"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"metricKind"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"initialValue"}},{"kind":"Field","name":{"kind":"Name","value":"currentValue"}},{"kind":"Field","name":{"kind":"Name","value":"targetValue"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"weight"}},{"kind":"Field","name":{"kind":"Name","value":"updateFrequency"}},{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"subgoalsCount"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"timeframe"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"endDate"}}]}}]}}]} as unknown as DocumentNode<ListGoalsQuery, ListGoalsQueryVariables>;
|
|
68516
68559
|
export const ListTimeframesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ListTimeframes"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"timeframes"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}},{"kind":"Field","name":{"kind":"Name","value":"endCursor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"endDate"}},{"kind":"Field","name":{"kind":"Name","value":"year"}},{"kind":"Field","name":{"kind":"Name","value":"active"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<ListTimeframesQuery, ListTimeframesQueryVariables>;
|
|
68560
|
+
export const CreateChannelKbCollectionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateChannelKbCollection"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateChannelKbCollectionInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createChannelKbCollection"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"channelKbCollection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"channel"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"kbCollection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]}}]} as unknown as DocumentNode<CreateChannelKbCollectionMutation, CreateChannelKbCollectionMutationVariables>;
|
|
68561
|
+
export const UpdateChannelKbCollectionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateChannelKbCollection"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateChannelKbCollectionInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateChannelKbCollection"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"channelKbCollection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"channel"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"kbCollection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateChannelKbCollectionMutation, UpdateChannelKbCollectionMutationVariables>;
|
|
68517
68562
|
export const CreateChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"channel"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]}}]} as unknown as DocumentNode<CreateChannelMutation, CreateChannelMutationVariables>;
|
|
68518
68563
|
export const UpdateChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"channel"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateChannelMutation, UpdateChannelMutationVariables>;
|
|
68519
68564
|
export const DeleteChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DeleteChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteChannel"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"channel"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]}}]} as unknown as DocumentNode<DeleteChannelMutation, DeleteChannelMutationVariables>;
|
|
@@ -68553,6 +68598,9 @@ export const CreateCompensationDocument = {"kind":"Document","definitions":[{"ki
|
|
|
68553
68598
|
export const UpdateCompensationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateCompensation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateCompensationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateCompensation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"compensation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"currency"}},{"kind":"Field","name":{"kind":"Name","value":"frequency"}},{"kind":"Field","name":{"kind":"Name","value":"componentType"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveFrom"}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateCompensationMutation, UpdateCompensationMutationVariables>;
|
|
68554
68599
|
export const DeleteCompensationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCompensation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DeleteCompensationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteCompensation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"compensation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]}}]} as unknown as DocumentNode<DeleteCompensationMutation, DeleteCompensationMutationVariables>;
|
|
68555
68600
|
export const CreateCcnlDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateCcnl"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateCcnlInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createCcnl"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"ccnl"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"shortname"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]}}]} as unknown as DocumentNode<CreateCcnlMutation, CreateCcnlMutationVariables>;
|
|
68601
|
+
export const CreateEmploymentTermDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateEmploymentTerm"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateEmploymentTermInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createEmploymentTerm"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"employmentTerm"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveFrom"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveTo"}},{"kind":"Field","name":{"kind":"Name","value":"endDate"}},{"kind":"Field","name":{"kind":"Name","value":"jobTitle"}},{"kind":"Field","name":{"kind":"Name","value":"workingHours"}},{"kind":"Field","name":{"kind":"Name","value":"workingFrequency"}},{"kind":"Field","name":{"kind":"Name","value":"fteRatio"}},{"kind":"Field","name":{"kind":"Name","value":"isInitial"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"employment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"employmentKind"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ccnl"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]}}]} as unknown as DocumentNode<CreateEmploymentTermMutation, CreateEmploymentTermMutationVariables>;
|
|
68602
|
+
export const UpdateEmploymentTermDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateEmploymentTerm"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateEmploymentTermInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateEmploymentTerm"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"employmentTerm"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveFrom"}},{"kind":"Field","name":{"kind":"Name","value":"effectiveTo"}},{"kind":"Field","name":{"kind":"Name","value":"endDate"}},{"kind":"Field","name":{"kind":"Name","value":"jobTitle"}},{"kind":"Field","name":{"kind":"Name","value":"workingHours"}},{"kind":"Field","name":{"kind":"Name","value":"workingFrequency"}},{"kind":"Field","name":{"kind":"Name","value":"fteRatio"}},{"kind":"Field","name":{"kind":"Name","value":"isInitial"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"employment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"employmentKind"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"ccnl"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateEmploymentTermMutation, UpdateEmploymentTermMutationVariables>;
|
|
68603
|
+
export const CreateEmployeeCertificationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateEmployeeCertification"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateEmployeeCertificationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createEmployeeCertification"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"employeeCertification"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuedAt"}},{"kind":"Field","name":{"kind":"Name","value":"expiresAt"}},{"kind":"Field","name":{"kind":"Name","value":"validNow"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}},{"kind":"Field","name":{"kind":"Name","value":"employee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"certification"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]}}]} as unknown as DocumentNode<CreateEmployeeCertificationMutation, CreateEmployeeCertificationMutationVariables>;
|
|
68556
68604
|
export const GetEmployeeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetEmployee"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"weekStartingAt"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ISO8601Date"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"employee"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"employeeCode"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentEmployment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"jobTitle"}},{"kind":"Field","name":{"kind":"Name","value":"employmentKind"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"contractLevel"}},{"kind":"Field","name":{"kind":"Name","value":"classification"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"endDate"}},{"kind":"Field","name":{"kind":"Name","value":"fteRatio"}},{"kind":"Field","name":{"kind":"Name","value":"primaryOffice"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"todayTimeClocks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"beginsAt"}},{"kind":"Field","name":{"kind":"Name","value":"finishesAt"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}}]}},{"kind":"Field","name":{"kind":"Name","value":"weeklyShifts"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"weekStartingAt"},"value":{"kind":"Variable","name":{"kind":"Name","value":"weekStartingAt"}}},{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"20"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"beginsAt"}},{"kind":"Field","name":{"kind":"Name","value":"finishesAt"}},{"kind":"Field","name":{"kind":"Name","value":"aasmState"}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<GetEmployeeQuery, GetEmployeeQueryVariables>;
|
|
68557
68605
|
export const ListCirclesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ListCircles"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"circles"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}},{"kind":"Field","name":{"kind":"Name","value":"endCursor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<ListCirclesQuery, ListCirclesQueryVariables>;
|
|
68558
68606
|
export const ListEmployeesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ListEmployees"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currentWorkspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"employees"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}},{"kind":"Field","name":{"kind":"Name","value":"endCursor"}}]}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"employeeCode"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"firstName"}},{"kind":"Field","name":{"kind":"Name","value":"lastName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}},{"kind":"Field","name":{"kind":"Name","value":"currentEmployment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"jobTitle"}},{"kind":"Field","name":{"kind":"Name","value":"employmentKind"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<ListEmployeesQuery, ListEmployeesQueryVariables>;
|
package/src/index.ts
CHANGED
|
@@ -94,6 +94,8 @@ export {
|
|
|
94
94
|
createChannel,
|
|
95
95
|
updateChannel,
|
|
96
96
|
deleteChannel,
|
|
97
|
+
createChannelKbCollection,
|
|
98
|
+
updateChannelKbCollection,
|
|
97
99
|
updateEvent,
|
|
98
100
|
updateStory,
|
|
99
101
|
updateDonationCampaign,
|
|
@@ -106,10 +108,13 @@ export {
|
|
|
106
108
|
deleteSpace,
|
|
107
109
|
createEmployee,
|
|
108
110
|
updateEmployee,
|
|
111
|
+
createEmployeeCertification,
|
|
109
112
|
createEmployment,
|
|
110
113
|
updateEmployment,
|
|
111
114
|
deleteEmployment,
|
|
112
115
|
terminateEmployment,
|
|
116
|
+
createEmploymentTerm,
|
|
117
|
+
updateEmploymentTerm,
|
|
113
118
|
createCompensation,
|
|
114
119
|
updateCompensation,
|
|
115
120
|
deleteCompensation,
|
package/src/mutations.ts
CHANGED
|
@@ -7,6 +7,8 @@ import type { UiduClient } from './client';
|
|
|
7
7
|
import {
|
|
8
8
|
CreateChannelDocument,
|
|
9
9
|
type CreateChannelMutationVariables,
|
|
10
|
+
CreateChannelKbCollectionDocument,
|
|
11
|
+
type CreateChannelKbCollectionMutationVariables,
|
|
10
12
|
CreateContactDocument,
|
|
11
13
|
type CreateContactMutationVariables,
|
|
12
14
|
CreateCourseDocument,
|
|
@@ -17,8 +19,12 @@ import {
|
|
|
17
19
|
type CreateDealMutationVariables,
|
|
18
20
|
CreateEmployeeDocument,
|
|
19
21
|
type CreateEmployeeMutationVariables,
|
|
22
|
+
CreateEmployeeCertificationDocument,
|
|
23
|
+
type CreateEmployeeCertificationMutationVariables,
|
|
20
24
|
CreateEmploymentDocument,
|
|
21
25
|
type CreateEmploymentMutationVariables,
|
|
26
|
+
CreateEmploymentTermDocument,
|
|
27
|
+
type CreateEmploymentTermMutationVariables,
|
|
22
28
|
CreateFormDocument,
|
|
23
29
|
type CreateFormMutationVariables,
|
|
24
30
|
CreateKbArticleDocument,
|
|
@@ -53,6 +59,8 @@ import {
|
|
|
53
59
|
type DeleteTaskMutationVariables,
|
|
54
60
|
UpdateChannelDocument,
|
|
55
61
|
type UpdateChannelMutationVariables,
|
|
62
|
+
UpdateChannelKbCollectionDocument,
|
|
63
|
+
type UpdateChannelKbCollectionMutationVariables,
|
|
56
64
|
UpdateCompensationDocument,
|
|
57
65
|
type UpdateCompensationMutationVariables,
|
|
58
66
|
UpdateCourseDocument,
|
|
@@ -65,6 +73,8 @@ import {
|
|
|
65
73
|
type UpdateEmployeeMutationVariables,
|
|
66
74
|
UpdateEmploymentDocument,
|
|
67
75
|
type UpdateEmploymentMutationVariables,
|
|
76
|
+
UpdateEmploymentTermDocument,
|
|
77
|
+
type UpdateEmploymentTermMutationVariables,
|
|
68
78
|
UpdateEventDocument,
|
|
69
79
|
type UpdateEventMutationVariables,
|
|
70
80
|
UpdateFormDocument,
|
|
@@ -179,6 +189,20 @@ export async function createEmployee(c: UiduClient, v: CreateEmployeeMutationVar
|
|
|
179
189
|
export async function updateEmployee(c: UiduClient, v: UpdateEmployeeMutationVariables) {
|
|
180
190
|
return (await c.mutate(UpdateEmployeeDocument, v)).updateEmployee ?? null;
|
|
181
191
|
}
|
|
192
|
+
/**
|
|
193
|
+
* Issue a certification (`attributes.certificationId`) to an employee
|
|
194
|
+
* (`attributes.employeeId`), optionally with its issue date and a generated
|
|
195
|
+
* certificate (`documentId`/`blobId`). Returns the payload (with `errors`) or
|
|
196
|
+
* null. The new record is at `employeeCertification.node`.
|
|
197
|
+
*/
|
|
198
|
+
export async function createEmployeeCertification(
|
|
199
|
+
c: UiduClient,
|
|
200
|
+
v: CreateEmployeeCertificationMutationVariables,
|
|
201
|
+
) {
|
|
202
|
+
return (
|
|
203
|
+
(await c.mutate(CreateEmployeeCertificationDocument, v)).createEmployeeCertification ?? null
|
|
204
|
+
);
|
|
205
|
+
}
|
|
182
206
|
/**
|
|
183
207
|
* Hire: open a new employment (contract) for `attributes.employeeId` with its
|
|
184
208
|
* start date, kind, role and hours. Returns the payload (with `errors`) or
|
|
@@ -222,6 +246,29 @@ export async function terminateEmployment(
|
|
|
222
246
|
});
|
|
223
247
|
}
|
|
224
248
|
|
|
249
|
+
/**
|
|
250
|
+
* Open a new employment term under `attributes.employmentId` — a variation of
|
|
251
|
+
* the hours, job title, CCNL or contract kind, effective from `effectiveFrom`
|
|
252
|
+
* (the term in force until then is closed on that date). Returns the payload
|
|
253
|
+
* (with `errors`) or null. The new term is at `employmentTerm.node`.
|
|
254
|
+
*/
|
|
255
|
+
export async function createEmploymentTerm(
|
|
256
|
+
c: UiduClient,
|
|
257
|
+
v: CreateEmploymentTermMutationVariables,
|
|
258
|
+
) {
|
|
259
|
+
return (await c.mutate(CreateEmploymentTermDocument, v)).createEmploymentTerm ?? null;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Update an employment term: `{ input: { id, attributes } }`. Returns the
|
|
263
|
+
* payload (with `errors`) or null.
|
|
264
|
+
*/
|
|
265
|
+
export async function updateEmploymentTerm(
|
|
266
|
+
c: UiduClient,
|
|
267
|
+
v: UpdateEmploymentTermMutationVariables,
|
|
268
|
+
) {
|
|
269
|
+
return (await c.mutate(UpdateEmploymentTermDocument, v)).updateEmploymentTerm ?? null;
|
|
270
|
+
}
|
|
271
|
+
|
|
225
272
|
// --- Time clocks (punches) ---
|
|
226
273
|
/**
|
|
227
274
|
* Record a time-clock punch (`beginsAt`, optional `finishesAt`, `resourceId`).
|
|
@@ -323,6 +370,31 @@ export async function deleteChannel(c: UiduClient, v: DeleteChannelMutationVaria
|
|
|
323
370
|
return (await c.mutate(DeleteChannelDocument, v)).deleteChannel ?? null;
|
|
324
371
|
}
|
|
325
372
|
|
|
373
|
+
// --- Channel ↔ knowledge-base collection links ---
|
|
374
|
+
// Publishes a KB collection on a help-center channel (`attributes.channelId`,
|
|
375
|
+
// `kbCollectionId`, `position`) — distinct from the collection/article content
|
|
376
|
+
// itself, which lives in the `kb` domain.
|
|
377
|
+
/**
|
|
378
|
+
* Publish a knowledge-base collection on a help-center channel. Returns the
|
|
379
|
+
* payload (with `errors`) or null. The new link is at `channelKbCollection`.
|
|
380
|
+
*/
|
|
381
|
+
export async function createChannelKbCollection(
|
|
382
|
+
c: UiduClient,
|
|
383
|
+
v: CreateChannelKbCollectionMutationVariables,
|
|
384
|
+
) {
|
|
385
|
+
return (await c.mutate(CreateChannelKbCollectionDocument, v)).createChannelKbCollection ?? null;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* Update a channel/collection link, e.g. its `position`: `{ input: { id,
|
|
389
|
+
* attributes } }`. Returns the payload (with `errors`) or null.
|
|
390
|
+
*/
|
|
391
|
+
export async function updateChannelKbCollection(
|
|
392
|
+
c: UiduClient,
|
|
393
|
+
v: UpdateChannelKbCollectionMutationVariables,
|
|
394
|
+
) {
|
|
395
|
+
return (await c.mutate(UpdateChannelKbCollectionDocument, v)).updateChannelKbCollection ?? null;
|
|
396
|
+
}
|
|
397
|
+
|
|
326
398
|
// --- Content updates (create lives in the scope's domain file) ---
|
|
327
399
|
/**
|
|
328
400
|
* Update an event: `{ input: { id, attributes } }` (create it with
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
mutation CreateChannelKbCollection($input: CreateChannelKbCollectionInput!) {
|
|
2
|
+
createChannelKbCollection(input: $input) {
|
|
3
|
+
channelKbCollection {
|
|
4
|
+
id
|
|
5
|
+
position
|
|
6
|
+
channel {
|
|
7
|
+
id
|
|
8
|
+
}
|
|
9
|
+
kbCollection {
|
|
10
|
+
id
|
|
11
|
+
name
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
errors {
|
|
15
|
+
key
|
|
16
|
+
name
|
|
17
|
+
type
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
mutation UpdateChannelKbCollection($input: UpdateChannelKbCollectionInput!) {
|
|
23
|
+
updateChannelKbCollection(input: $input) {
|
|
24
|
+
channelKbCollection {
|
|
25
|
+
id
|
|
26
|
+
position
|
|
27
|
+
channel {
|
|
28
|
+
id
|
|
29
|
+
}
|
|
30
|
+
kbCollection {
|
|
31
|
+
id
|
|
32
|
+
name
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
errors {
|
|
36
|
+
key
|
|
37
|
+
name
|
|
38
|
+
type
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
mutation CreateEmployeeCertification($input: CreateEmployeeCertificationInput!) {
|
|
2
|
+
createEmployeeCertification(input: $input) {
|
|
3
|
+
employeeCertification {
|
|
4
|
+
node {
|
|
5
|
+
id
|
|
6
|
+
issuedAt
|
|
7
|
+
expiresAt
|
|
8
|
+
validNow
|
|
9
|
+
metadata
|
|
10
|
+
employee {
|
|
11
|
+
id
|
|
12
|
+
}
|
|
13
|
+
certification {
|
|
14
|
+
id
|
|
15
|
+
name
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
errors {
|
|
20
|
+
key
|
|
21
|
+
name
|
|
22
|
+
type
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
mutation CreateEmploymentTerm($input: CreateEmploymentTermInput!) {
|
|
2
|
+
createEmploymentTerm(input: $input) {
|
|
3
|
+
employmentTerm {
|
|
4
|
+
node {
|
|
5
|
+
id
|
|
6
|
+
effectiveFrom
|
|
7
|
+
effectiveTo
|
|
8
|
+
endDate
|
|
9
|
+
jobTitle
|
|
10
|
+
workingHours
|
|
11
|
+
workingFrequency
|
|
12
|
+
fteRatio
|
|
13
|
+
isInitial
|
|
14
|
+
state
|
|
15
|
+
employment {
|
|
16
|
+
id
|
|
17
|
+
}
|
|
18
|
+
employmentKind {
|
|
19
|
+
id
|
|
20
|
+
name
|
|
21
|
+
}
|
|
22
|
+
ccnl {
|
|
23
|
+
id
|
|
24
|
+
name
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
errors {
|
|
29
|
+
key
|
|
30
|
+
name
|
|
31
|
+
type
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
mutation UpdateEmploymentTerm($input: UpdateEmploymentTermInput!) {
|
|
37
|
+
updateEmploymentTerm(input: $input) {
|
|
38
|
+
employmentTerm {
|
|
39
|
+
id
|
|
40
|
+
effectiveFrom
|
|
41
|
+
effectiveTo
|
|
42
|
+
endDate
|
|
43
|
+
jobTitle
|
|
44
|
+
workingHours
|
|
45
|
+
workingFrequency
|
|
46
|
+
fteRatio
|
|
47
|
+
isInitial
|
|
48
|
+
state
|
|
49
|
+
employment {
|
|
50
|
+
id
|
|
51
|
+
}
|
|
52
|
+
employmentKind {
|
|
53
|
+
id
|
|
54
|
+
name
|
|
55
|
+
}
|
|
56
|
+
ccnl {
|
|
57
|
+
id
|
|
58
|
+
name
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
errors {
|
|
62
|
+
key
|
|
63
|
+
name
|
|
64
|
+
type
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|