@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 CHANGED
@@ -1,5 +1,33 @@
1
1
  # @uidu/client
2
2
 
3
+ ## 3.16.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4518526: Add `createChannelKbCollection` / `updateChannelKbCollection` to `@uidu/client`
8
+ — publishes a knowledge-base collection on a help-center channel
9
+ (`channelId`, `kbCollectionId`, `position`), distinct from the collection's
10
+ content itself (the `kb` domain). Adds a `channel-kb-collections` resource
11
+ (`create`, `update`) to `@uidu/cli`. Demoed on the Help Center admin page in
12
+ `apps/demo`.
13
+
14
+ ## 3.15.0
15
+
16
+ ### Minor Changes
17
+
18
+ - f046e6b: Add `createEmployeeCertification` to `@uidu/client` — issues a certification
19
+ to an employee (`employeeId`, `certificationId`, optional `issuedAt` and
20
+ generated certificate `documentId`/`blobId`). Adds an
21
+ `employee-certifications` resource (`create`) to `@uidu/cli`. Takes an
22
+ existing `certificationId` directly: the SDK has no `certifications` domain
23
+ yet (`Certifications::Certification::Create` is still on the drift backlog).
24
+ Demoed on the employee detail page in `apps/demo`.
25
+ - 7f3c05c: Add `createEmploymentTerm` / `updateEmploymentTerm` to `@uidu/client` (contract
26
+ variations: hours, job title, CCNL or kind, effective from a date — distinct
27
+ from `employments`, the contract span itself) and an `employment-terms`
28
+ resource (`create`, `update`) to `@uidu/cli`. Demoed on the employee detail
29
+ page in `apps/demo`.
30
+
3
31
  ## 3.14.0
4
32
 
5
33
  ### Minor Changes
@@ -21248,6 +21248,10 @@ export type Donation = ActiveRecordTimestamp & Node & WithContact & WithEventStr
21248
21248
  dedication?: Maybe<Scalars['JSON']['output']>;
21249
21249
  /** DonationCampaign associated to this donation */
21250
21250
  donationCampaign: DonationCampaign;
21251
+ /** Public avatar of the donor, null when anonymous */
21252
+ donorAvatar?: Maybe<Scalars['String']['output']>;
21253
+ /** Public name of the donor, null when anonymous */
21254
+ donorName?: Maybe<Scalars['String']['output']>;
21251
21255
  formResponse?: Maybe<FormResponse>;
21252
21256
  humanName: Scalars['String']['output'];
21253
21257
  id: Scalars['ID']['output'];
@@ -21272,6 +21276,9 @@ export type Donation = ActiveRecordTimestamp & Node & WithContact & WithEventStr
21272
21276
  updatedAt: Scalars['ISO8601DateTime']['output'];
21273
21277
  urls?: Maybe<Scalars['JSON']['output']>;
21274
21278
  };
21279
+ export type DonationDonorAvatarArgs = {
21280
+ variant?: InputMaybe<Scalars['String']['input']>;
21281
+ };
21275
21282
  export type DonationLogsArgs = {
21276
21283
  after?: InputMaybe<Scalars['String']['input']>;
21277
21284
  before?: InputMaybe<Scalars['String']['input']>;
@@ -60681,6 +60688,64 @@ export type ListTimeframesQuery = {
60681
60688
  };
60682
60689
  } | null;
60683
60690
  };
60691
+ export type CreateChannelKbCollectionMutationVariables = Exact<{
60692
+ input: CreateChannelKbCollectionInput;
60693
+ }>;
60694
+ export type CreateChannelKbCollectionMutation = {
60695
+ __typename?: 'Mutation';
60696
+ createChannelKbCollection?: {
60697
+ __typename?: 'CreateChannelKbCollectionPayload';
60698
+ channelKbCollection?: {
60699
+ __typename?: 'ChannelKbCollection';
60700
+ id: string;
60701
+ position: number;
60702
+ channel: {
60703
+ __typename?: 'Channel';
60704
+ id: string;
60705
+ };
60706
+ kbCollection: {
60707
+ __typename?: 'KbCollection';
60708
+ id: string;
60709
+ name?: any | null;
60710
+ };
60711
+ } | null;
60712
+ errors: Array<{
60713
+ __typename?: 'Error';
60714
+ key: string;
60715
+ name: string;
60716
+ type: string;
60717
+ }>;
60718
+ } | null;
60719
+ };
60720
+ export type UpdateChannelKbCollectionMutationVariables = Exact<{
60721
+ input: UpdateChannelKbCollectionInput;
60722
+ }>;
60723
+ export type UpdateChannelKbCollectionMutation = {
60724
+ __typename?: 'Mutation';
60725
+ updateChannelKbCollection?: {
60726
+ __typename?: 'UpdateChannelKbCollectionPayload';
60727
+ channelKbCollection?: {
60728
+ __typename?: 'ChannelKbCollection';
60729
+ id: string;
60730
+ position: number;
60731
+ channel: {
60732
+ __typename?: 'Channel';
60733
+ id: string;
60734
+ };
60735
+ kbCollection: {
60736
+ __typename?: 'KbCollection';
60737
+ id: string;
60738
+ name?: any | null;
60739
+ };
60740
+ } | null;
60741
+ errors: Array<{
60742
+ __typename?: 'Error';
60743
+ key: string;
60744
+ name: string;
60745
+ type: string;
60746
+ }>;
60747
+ } | null;
60748
+ };
60684
60749
  export type CreateChannelMutationVariables = Exact<{
60685
60750
  input: CreateChannelInput;
60686
60751
  }>;
@@ -66076,6 +66141,128 @@ export type CreateCcnlMutation = {
66076
66141
  }>;
66077
66142
  } | null;
66078
66143
  };
66144
+ export type CreateEmploymentTermMutationVariables = Exact<{
66145
+ input: CreateEmploymentTermInput;
66146
+ }>;
66147
+ export type CreateEmploymentTermMutation = {
66148
+ __typename?: 'Mutation';
66149
+ createEmploymentTerm?: {
66150
+ __typename?: 'CreateEmploymentTermPayload';
66151
+ employmentTerm?: {
66152
+ __typename?: 'EmploymentTermEdge';
66153
+ node?: {
66154
+ __typename?: 'EmploymentTerm';
66155
+ id: string;
66156
+ effectiveFrom: any;
66157
+ effectiveTo?: any | null;
66158
+ endDate?: any | null;
66159
+ jobTitle?: string | null;
66160
+ workingHours?: number | null;
66161
+ workingFrequency?: string | null;
66162
+ fteRatio?: number | null;
66163
+ isInitial: boolean;
66164
+ state: string;
66165
+ employment: {
66166
+ __typename?: 'Employment';
66167
+ id: string;
66168
+ };
66169
+ employmentKind?: {
66170
+ __typename?: 'EmploymentKind';
66171
+ id: string;
66172
+ name?: string | null;
66173
+ } | null;
66174
+ ccnl?: {
66175
+ __typename?: 'Ccnl';
66176
+ id: string;
66177
+ name?: string | null;
66178
+ } | null;
66179
+ } | null;
66180
+ } | null;
66181
+ errors: Array<{
66182
+ __typename?: 'Error';
66183
+ key: string;
66184
+ name: string;
66185
+ type: string;
66186
+ }>;
66187
+ } | null;
66188
+ };
66189
+ export type UpdateEmploymentTermMutationVariables = Exact<{
66190
+ input: UpdateEmploymentTermInput;
66191
+ }>;
66192
+ export type UpdateEmploymentTermMutation = {
66193
+ __typename?: 'Mutation';
66194
+ updateEmploymentTerm?: {
66195
+ __typename?: 'UpdateEmploymentTermPayload';
66196
+ employmentTerm?: {
66197
+ __typename?: 'EmploymentTerm';
66198
+ id: string;
66199
+ effectiveFrom: any;
66200
+ effectiveTo?: any | null;
66201
+ endDate?: any | null;
66202
+ jobTitle?: string | null;
66203
+ workingHours?: number | null;
66204
+ workingFrequency?: string | null;
66205
+ fteRatio?: number | null;
66206
+ isInitial: boolean;
66207
+ state: string;
66208
+ employment: {
66209
+ __typename?: 'Employment';
66210
+ id: string;
66211
+ };
66212
+ employmentKind?: {
66213
+ __typename?: 'EmploymentKind';
66214
+ id: string;
66215
+ name?: string | null;
66216
+ } | null;
66217
+ ccnl?: {
66218
+ __typename?: 'Ccnl';
66219
+ id: string;
66220
+ name?: string | null;
66221
+ } | null;
66222
+ } | null;
66223
+ errors: Array<{
66224
+ __typename?: 'Error';
66225
+ key: string;
66226
+ name: string;
66227
+ type: string;
66228
+ }>;
66229
+ } | null;
66230
+ };
66231
+ export type CreateEmployeeCertificationMutationVariables = Exact<{
66232
+ input: CreateEmployeeCertificationInput;
66233
+ }>;
66234
+ export type CreateEmployeeCertificationMutation = {
66235
+ __typename?: 'Mutation';
66236
+ createEmployeeCertification?: {
66237
+ __typename?: 'CreateEmployeeCertificationPayload';
66238
+ employeeCertification?: {
66239
+ __typename?: 'EmployeeCertificationEdge';
66240
+ node?: {
66241
+ __typename?: 'EmployeeCertification';
66242
+ id: string;
66243
+ issuedAt: any;
66244
+ expiresAt?: any | null;
66245
+ validNow: boolean;
66246
+ metadata?: any | null;
66247
+ employee: {
66248
+ __typename?: 'Employee';
66249
+ id: string;
66250
+ };
66251
+ certification: {
66252
+ __typename?: 'Certification';
66253
+ id: string;
66254
+ name?: string | null;
66255
+ };
66256
+ } | null;
66257
+ } | null;
66258
+ errors: Array<{
66259
+ __typename?: 'Error';
66260
+ key: string;
66261
+ name: string;
66262
+ type: string;
66263
+ }>;
66264
+ } | null;
66265
+ };
66079
66266
  export type GetEmployeeQueryVariables = Exact<{
66080
66267
  id: Scalars['ID']['input'];
66081
66268
  weekStartingAt: Scalars['ISO8601Date']['input'];
@@ -71587,6 +71774,8 @@ export declare const GetGoalDocument: DocumentNode<GetGoalQuery, GetGoalQueryVar
71587
71774
  export declare const UpdateGoalDocument: DocumentNode<UpdateGoalMutation, UpdateGoalMutationVariables>;
71588
71775
  export declare const ListGoalsDocument: DocumentNode<ListGoalsQuery, ListGoalsQueryVariables>;
71589
71776
  export declare const ListTimeframesDocument: DocumentNode<ListTimeframesQuery, ListTimeframesQueryVariables>;
71777
+ export declare const CreateChannelKbCollectionDocument: DocumentNode<CreateChannelKbCollectionMutation, CreateChannelKbCollectionMutationVariables>;
71778
+ export declare const UpdateChannelKbCollectionDocument: DocumentNode<UpdateChannelKbCollectionMutation, UpdateChannelKbCollectionMutationVariables>;
71590
71779
  export declare const CreateChannelDocument: DocumentNode<CreateChannelMutation, CreateChannelMutationVariables>;
71591
71780
  export declare const UpdateChannelDocument: DocumentNode<UpdateChannelMutation, UpdateChannelMutationVariables>;
71592
71781
  export declare const DeleteChannelDocument: DocumentNode<DeleteChannelMutation, DeleteChannelMutationVariables>;
@@ -71626,6 +71815,9 @@ export declare const CreateCompensationDocument: DocumentNode<CreateCompensation
71626
71815
  export declare const UpdateCompensationDocument: DocumentNode<UpdateCompensationMutation, UpdateCompensationMutationVariables>;
71627
71816
  export declare const DeleteCompensationDocument: DocumentNode<DeleteCompensationMutation, DeleteCompensationMutationVariables>;
71628
71817
  export declare const CreateCcnlDocument: DocumentNode<CreateCcnlMutation, CreateCcnlMutationVariables>;
71818
+ export declare const CreateEmploymentTermDocument: DocumentNode<CreateEmploymentTermMutation, CreateEmploymentTermMutationVariables>;
71819
+ export declare const UpdateEmploymentTermDocument: DocumentNode<UpdateEmploymentTermMutation, UpdateEmploymentTermMutationVariables>;
71820
+ export declare const CreateEmployeeCertificationDocument: DocumentNode<CreateEmployeeCertificationMutation, CreateEmployeeCertificationMutationVariables>;
71629
71821
  export declare const GetEmployeeDocument: DocumentNode<GetEmployeeQuery, GetEmployeeQueryVariables>;
71630
71822
  export declare const ListCirclesDocument: DocumentNode<ListCirclesQuery, ListCirclesQueryVariables>;
71631
71823
  export declare const ListEmployeesDocument: DocumentNode<ListEmployeesQuery, ListEmployeesQueryVariables>;
@@ -16,7 +16,7 @@ export { createNote } from "./notes.js";
16
16
  export { executeAction } from "./actions.js";
17
17
  export { createBenefit } from "./benefits.js";
18
18
  export { createBenefitEnrollment } from "./benefit-enrollments.js";
19
- export { createCourse, updateCourse, deleteCourse, createForm, updateForm, deleteForm, createContact, deleteContact, createDeal, updateDeal, createKbCollection, updateKbCollection, deleteKbCollection, createKbArticle, updateKbArticle, deleteKbArticle, createChannel, updateChannel, deleteChannel, updateEvent, updateStory, updateDonationCampaign, deleteDonationCampaign, updateTask, deleteTask, updateNote, deleteNote, updateSpace, deleteSpace, createEmployee, updateEmployee, createEmployment, updateEmployment, deleteEmployment, terminateEmployment, createCompensation, updateCompensation, deleteCompensation, createTimeClock, } from "./mutations.js";
19
+ export { createCourse, updateCourse, deleteCourse, createForm, updateForm, deleteForm, createContact, deleteContact, createDeal, updateDeal, createKbCollection, updateKbCollection, deleteKbCollection, createKbArticle, updateKbArticle, deleteKbArticle, createChannel, updateChannel, deleteChannel, createChannelKbCollection, updateChannelKbCollection, updateEvent, updateStory, updateDonationCampaign, deleteDonationCampaign, updateTask, deleteTask, updateNote, deleteNote, updateSpace, deleteSpace, createEmployee, updateEmployee, createEmployeeCertification, createEmployment, updateEmployment, deleteEmployment, terminateEmployment, createEmploymentTerm, updateEmploymentTerm, createCompensation, updateCompensation, deleteCompensation, createTimeClock, } from "./mutations.js";
20
20
  export { getForm, listForms, createFormResponse, updateFormResponse, } from "./forms.js";
21
21
  export type { Form } from "./forms.js";
22
22
  export { getChannel, listChannels } from "./help-center.js";
@@ -1,5 +1,5 @@
1
1
  import type { UiduClient } from "./client.js";
2
- import { type CreateChannelMutationVariables, type CreateContactMutationVariables, type CreateCourseMutationVariables, type CreateCompensationMutationVariables, type CreateDealMutationVariables, type CreateEmployeeMutationVariables, type CreateEmploymentMutationVariables, type CreateFormMutationVariables, type CreateKbArticleMutationVariables, type CreateKbCollectionMutationVariables, type CreateTimeClockMutationVariables, type DeleteChannelMutationVariables, type DeleteContactMutationVariables, type DeleteCourseMutationVariables, type DeleteCompensationMutationVariables, type DeleteDonationCampaignMutationVariables, type DeleteEmploymentMutationVariables, type DeleteFormMutationVariables, type DeleteKbArticleMutationVariables, type DeleteKbCollectionMutationVariables, type DeleteNoteMutationVariables, type DeleteSpaceMutationVariables, type DeleteTaskMutationVariables, type UpdateChannelMutationVariables, type UpdateCompensationMutationVariables, type UpdateCourseMutationVariables, type UpdateDealMutationVariables, type UpdateDonationCampaignMutationVariables, type UpdateEmployeeMutationVariables, type UpdateEmploymentMutationVariables, type UpdateEventMutationVariables, type UpdateFormMutationVariables, type UpdateKbArticleMutationVariables, type UpdateKbCollectionMutationVariables, type UpdateNoteMutationVariables, type UpdateSpaceMutationVariables, type UpdateStoryMutationVariables, type UpdateTaskMutationVariables } from "./generated/index.js";
2
+ import { type CreateChannelMutationVariables, type CreateChannelKbCollectionMutationVariables, type CreateContactMutationVariables, type CreateCourseMutationVariables, type CreateCompensationMutationVariables, type CreateDealMutationVariables, type CreateEmployeeMutationVariables, type CreateEmployeeCertificationMutationVariables, type CreateEmploymentMutationVariables, type CreateEmploymentTermMutationVariables, type CreateFormMutationVariables, type CreateKbArticleMutationVariables, type CreateKbCollectionMutationVariables, type CreateTimeClockMutationVariables, type DeleteChannelMutationVariables, type DeleteContactMutationVariables, type DeleteCourseMutationVariables, type DeleteCompensationMutationVariables, type DeleteDonationCampaignMutationVariables, type DeleteEmploymentMutationVariables, type DeleteFormMutationVariables, type DeleteKbArticleMutationVariables, type DeleteKbCollectionMutationVariables, type DeleteNoteMutationVariables, type DeleteSpaceMutationVariables, type DeleteTaskMutationVariables, type UpdateChannelMutationVariables, type UpdateChannelKbCollectionMutationVariables, type UpdateCompensationMutationVariables, type UpdateCourseMutationVariables, type UpdateDealMutationVariables, type UpdateDonationCampaignMutationVariables, type UpdateEmployeeMutationVariables, type UpdateEmploymentMutationVariables, type UpdateEmploymentTermMutationVariables, type UpdateEventMutationVariables, type UpdateFormMutationVariables, type UpdateKbArticleMutationVariables, type UpdateKbCollectionMutationVariables, type UpdateNoteMutationVariables, type UpdateSpaceMutationVariables, type UpdateStoryMutationVariables, type UpdateTaskMutationVariables } from "./generated/index.js";
3
3
  /**
4
4
  * Create a course from `{ input: { attributes } }`. Returns the payload (with
5
5
  * `errors`) or null.
@@ -221,6 +221,41 @@ export declare function updateEmployee(c: UiduClient, v: UpdateEmployeeMutationV
221
221
  type: string;
222
222
  }>;
223
223
  } | null>;
224
+ /**
225
+ * Issue a certification (`attributes.certificationId`) to an employee
226
+ * (`attributes.employeeId`), optionally with its issue date and a generated
227
+ * certificate (`documentId`/`blobId`). Returns the payload (with `errors`) or
228
+ * null. The new record is at `employeeCertification.node`.
229
+ */
230
+ export declare function createEmployeeCertification(c: UiduClient, v: CreateEmployeeCertificationMutationVariables): Promise<{
231
+ __typename?: "CreateEmployeeCertificationPayload";
232
+ employeeCertification?: {
233
+ __typename?: "EmployeeCertificationEdge";
234
+ node?: {
235
+ __typename?: "EmployeeCertification";
236
+ id: string;
237
+ issuedAt: any;
238
+ expiresAt?: any | null;
239
+ validNow: boolean;
240
+ metadata?: any | null;
241
+ employee: {
242
+ __typename?: "Employee";
243
+ id: string;
244
+ };
245
+ certification: {
246
+ __typename?: "Certification";
247
+ id: string;
248
+ name?: string | null;
249
+ };
250
+ } | null;
251
+ } | null;
252
+ errors: Array<{
253
+ __typename?: "Error";
254
+ key: string;
255
+ name: string;
256
+ type: string;
257
+ }>;
258
+ } | null>;
224
259
  /**
225
260
  * Hire: open a new employment (contract) for `attributes.employeeId` with its
226
261
  * start date, kind, role and hours. Returns the payload (with `errors`) or
@@ -333,6 +368,91 @@ export declare function terminateEmployment(c: UiduClient, args: {
333
368
  type: string;
334
369
  }>;
335
370
  } | null>;
371
+ /**
372
+ * Open a new employment term under `attributes.employmentId` — a variation of
373
+ * the hours, job title, CCNL or contract kind, effective from `effectiveFrom`
374
+ * (the term in force until then is closed on that date). Returns the payload
375
+ * (with `errors`) or null. The new term is at `employmentTerm.node`.
376
+ */
377
+ export declare function createEmploymentTerm(c: UiduClient, v: CreateEmploymentTermMutationVariables): Promise<{
378
+ __typename?: "CreateEmploymentTermPayload";
379
+ employmentTerm?: {
380
+ __typename?: "EmploymentTermEdge";
381
+ node?: {
382
+ __typename?: "EmploymentTerm";
383
+ id: string;
384
+ effectiveFrom: any;
385
+ effectiveTo?: any | null;
386
+ endDate?: any | null;
387
+ jobTitle?: string | null;
388
+ workingHours?: number | null;
389
+ workingFrequency?: string | null;
390
+ fteRatio?: number | null;
391
+ isInitial: boolean;
392
+ state: string;
393
+ employment: {
394
+ __typename?: "Employment";
395
+ id: string;
396
+ };
397
+ employmentKind?: {
398
+ __typename?: "EmploymentKind";
399
+ id: string;
400
+ name?: string | null;
401
+ } | null;
402
+ ccnl?: {
403
+ __typename?: "Ccnl";
404
+ id: string;
405
+ name?: string | null;
406
+ } | null;
407
+ } | null;
408
+ } | null;
409
+ errors: Array<{
410
+ __typename?: "Error";
411
+ key: string;
412
+ name: string;
413
+ type: string;
414
+ }>;
415
+ } | null>;
416
+ /**
417
+ * Update an employment term: `{ input: { id, attributes } }`. Returns the
418
+ * payload (with `errors`) or null.
419
+ */
420
+ export declare function updateEmploymentTerm(c: UiduClient, v: UpdateEmploymentTermMutationVariables): Promise<{
421
+ __typename?: "UpdateEmploymentTermPayload";
422
+ employmentTerm?: {
423
+ __typename?: "EmploymentTerm";
424
+ id: string;
425
+ effectiveFrom: any;
426
+ effectiveTo?: any | null;
427
+ endDate?: any | null;
428
+ jobTitle?: string | null;
429
+ workingHours?: number | null;
430
+ workingFrequency?: string | null;
431
+ fteRatio?: number | null;
432
+ isInitial: boolean;
433
+ state: string;
434
+ employment: {
435
+ __typename?: "Employment";
436
+ id: string;
437
+ };
438
+ employmentKind?: {
439
+ __typename?: "EmploymentKind";
440
+ id: string;
441
+ name?: string | null;
442
+ } | null;
443
+ ccnl?: {
444
+ __typename?: "Ccnl";
445
+ id: string;
446
+ name?: string | null;
447
+ } | null;
448
+ } | null;
449
+ errors: Array<{
450
+ __typename?: "Error";
451
+ key: string;
452
+ name: string;
453
+ type: string;
454
+ }>;
455
+ } | null>;
336
456
  /**
337
457
  * Record a time-clock punch (`beginsAt`, optional `finishesAt`, `resourceId`).
338
458
  * Returns the payload (with `errors`) or null. The new punch is at
@@ -584,6 +704,60 @@ export declare function deleteChannel(c: UiduClient, v: DeleteChannelMutationVar
584
704
  type: string;
585
705
  }>;
586
706
  } | null>;
707
+ /**
708
+ * Publish a knowledge-base collection on a help-center channel. Returns the
709
+ * payload (with `errors`) or null. The new link is at `channelKbCollection`.
710
+ */
711
+ export declare function createChannelKbCollection(c: UiduClient, v: CreateChannelKbCollectionMutationVariables): Promise<{
712
+ __typename?: "CreateChannelKbCollectionPayload";
713
+ channelKbCollection?: {
714
+ __typename?: "ChannelKbCollection";
715
+ id: string;
716
+ position: number;
717
+ channel: {
718
+ __typename?: "Channel";
719
+ id: string;
720
+ };
721
+ kbCollection: {
722
+ __typename?: "KbCollection";
723
+ id: string;
724
+ name?: any | null;
725
+ };
726
+ } | null;
727
+ errors: Array<{
728
+ __typename?: "Error";
729
+ key: string;
730
+ name: string;
731
+ type: string;
732
+ }>;
733
+ } | null>;
734
+ /**
735
+ * Update a channel/collection link, e.g. its `position`: `{ input: { id,
736
+ * attributes } }`. Returns the payload (with `errors`) or null.
737
+ */
738
+ export declare function updateChannelKbCollection(c: UiduClient, v: UpdateChannelKbCollectionMutationVariables): Promise<{
739
+ __typename?: "UpdateChannelKbCollectionPayload";
740
+ channelKbCollection?: {
741
+ __typename?: "ChannelKbCollection";
742
+ id: string;
743
+ position: number;
744
+ channel: {
745
+ __typename?: "Channel";
746
+ id: string;
747
+ };
748
+ kbCollection: {
749
+ __typename?: "KbCollection";
750
+ id: string;
751
+ name?: any | null;
752
+ };
753
+ } | null;
754
+ errors: Array<{
755
+ __typename?: "Error";
756
+ key: string;
757
+ name: string;
758
+ type: string;
759
+ }>;
760
+ } | null>;
587
761
  /**
588
762
  * Update an event: `{ input: { id, attributes } }` (create it with
589
763
  * `createEvent`). Returns the payload (with `errors`) or null.