faros-airbyte-common 0.16.30 → 0.16.31

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 | CopilotSeatEnded | CopilotSeatsEmpty;
106
+ export type CopilotSeatsStreamRecord = CopilotSeat | 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,21 +112,8 @@ export type CopilotSeat = {
112
112
  user: string;
113
113
  assignee: CopilotSeatAssignee;
114
114
  team?: string;
115
- teamJoinedAt?: string;
116
- teamLeftAt?: never;
117
115
  startedAt?: string;
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
- };
116
+ } & Pick<CopilotSeatsResponse['seats'][0], 'created_at' | 'updated_at' | 'pending_cancellation_date' | 'last_activity_at' | 'plan_type'>;
130
117
  export type CopilotSeatsEmpty = {
131
118
  empty: true;
132
119
  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;AA6OvC,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;AAgOvC,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,uCAAyB,CAAA;AAC3B,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB"}