faros-airbyte-common 0.15.1 → 0.15.3

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.
@@ -103,16 +103,19 @@ export type IssueComment = {
103
103
  user: Pick<IssueCommentNode['user'], 'login' | 'name' | 'email' | 'html_url' | 'type'>;
104
104
  } & Pick<IssueCommentNode, 'id' | 'body' | 'created_at' | 'updated_at' | 'issue_url' | 'html_url'>;
105
105
  export type CopilotSeatsStreamRecord = CopilotSeat | CopilotSeatEnded | CopilotSeatsEmpty;
106
+ export type CopilotSeatsResponse = GetResponseDataTypeFromEndpointMethod<typeof octokit.copilot.listCopilotSeats>;
107
+ export type CopilotSeatAssignee = Pick<CopilotSeatsResponse['seats'][0]['assignee'], 'login' | 'name' | 'email' | 'html_url' | 'type'>;
106
108
  export type CopilotSeat = {
107
109
  empty?: never;
108
110
  org: string;
109
111
  user: string;
112
+ assignee: CopilotSeatAssignee;
110
113
  team?: string;
111
114
  teamJoinedAt?: string;
112
115
  teamLeftAt?: never;
113
116
  startedAt?: string;
114
117
  endedAt?: never;
115
- } & Pick<GetResponseDataTypeFromEndpointMethod<typeof octokit.copilot.listCopilotSeats>['seats'][0], 'pending_cancellation_date' | 'last_activity_at'>;
118
+ } & Pick<CopilotSeatsResponse['seats'][0], 'pending_cancellation_date' | 'last_activity_at'>;
116
119
  export type CopilotSeatEnded = {
117
120
  empty?: never;
118
121
  org: string;
@@ -200,8 +203,9 @@ export type EnterpriseCopilotSeat = {
200
203
  empty?: never;
201
204
  enterprise: string;
202
205
  user: string;
206
+ assignee: CopilotSeatAssignee;
203
207
  team?: string;
204
- } & Pick<GetResponseDataTypeFromEndpointMethod<typeof octokit.copilot.listCopilotSeats>['seats'][0], 'created_at' | 'updated_at' | 'pending_cancellation_date' | 'last_activity_at'>;
208
+ } & Pick<EnterpriseCopilotSeatsResponse['seats'][0], 'created_at' | 'updated_at' | 'pending_cancellation_date' | 'last_activity_at'>;
205
209
  export type EnterpriseCopilotSeatsEmpty = {
206
210
  empty: true;
207
211
  enterprise: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/github/types.ts"],"names":[],"mappings":";;;AAAA,wCAAsC;AAetC,MAAM,OAAO,GAAY,IAAI,cAAO,EAAE,CAAC;AAmOvC,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,uCAAyB,CAAA;AAC3B,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/github/types.ts"],"names":[],"mappings":";;;AAAA,wCAAsC;AAetC,MAAM,OAAO,GAAY,IAAI,cAAO,EAAE,CAAC;AA2OvC,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,uCAAyB,CAAA;AAC3B,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB"}