faros-airbyte-common 0.16.29-rc0 → 0.16.30

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,7 +103,7 @@ export type IssueComment = {
103
103
  repository: string;
104
104
  user: Pick<IssueCommentNode['user'], 'login' | 'name' | 'email' | 'html_url' | 'type'>;
105
105
  } & Pick<IssueCommentNode, 'id' | 'body' | 'created_at' | 'updated_at' | 'issue_url' | 'html_url'>;
106
- export type CopilotSeatsStreamRecord = CopilotSeat | CopilotSeatsEmpty;
106
+ export type CopilotSeatsStreamRecord = CopilotSeat | CopilotSeatEnded | CopilotSeatsEmpty;
107
107
  export type CopilotSeatsResponse = GetResponseDataTypeFromEndpointMethod<typeof octokit.copilot.listCopilotSeats>;
108
108
  export type CopilotSeatAssignee = Pick<CopilotSeatsResponse['seats'][0]['assignee'], 'login' | 'name' | 'email' | 'html_url' | 'type'>;
109
109
  export type CopilotSeat = {
@@ -112,8 +112,21 @@ export type CopilotSeat = {
112
112
  user: string;
113
113
  assignee: CopilotSeatAssignee;
114
114
  team?: string;
115
+ teamJoinedAt?: string;
116
+ teamLeftAt?: never;
115
117
  startedAt?: string;
116
- } & Pick<CopilotSeatsResponse['seats'][0], 'created_at' | 'updated_at' | 'pending_cancellation_date' | 'last_activity_at' | 'plan_type'>;
118
+ endedAt?: never;
119
+ } & Pick<CopilotSeatsResponse['seats'][0], 'pending_cancellation_date' | 'last_activity_at' | 'plan_type'>;
120
+ export type CopilotSeatEnded = {
121
+ empty?: never;
122
+ org: string;
123
+ user: string;
124
+ team?: string;
125
+ teamJoinedAt?: never;
126
+ teamLeftAt?: string;
127
+ startedAt?: never;
128
+ endedAt?: string;
129
+ };
117
130
  export type CopilotSeatsEmpty = {
118
131
  empty: true;
119
132
  org: 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;AAgOvC,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;AA6OvC,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,uCAAyB,CAAA;AAC3B,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB"}
@@ -2,6 +2,16 @@ export type GitLabToken = {
2
2
  type: 'token';
3
3
  personal_access_token: string;
4
4
  };
5
+ export interface User {
6
+ id: number;
7
+ username: string;
8
+ name?: string;
9
+ email?: string;
10
+ state: string;
11
+ web_url: string;
12
+ created_at?: string;
13
+ updated_at?: string;
14
+ }
5
15
  export interface Group {
6
16
  id: string;
7
17
  parent_id: string | null;