faros-airbyte-common 0.23.37 → 0.23.39

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.
@@ -163,3 +163,42 @@ export interface AnalyticsUserCostReportItem {
163
163
  token_type: string | null;
164
164
  requests: number;
165
165
  }
166
+ export interface SpendLimitActor {
167
+ type: string;
168
+ user_id: string;
169
+ name: string | null;
170
+ email_address: string | null;
171
+ deleted: boolean;
172
+ }
173
+ export interface SpendLimitSource {
174
+ type: string;
175
+ seat_tier?: string;
176
+ rbac_group_id?: string;
177
+ user_id?: string;
178
+ }
179
+ export interface EffectiveSpendLimitItem {
180
+ scope: {
181
+ type: string;
182
+ user_id?: string;
183
+ };
184
+ actor: SpendLimitActor | null;
185
+ amount: string | null;
186
+ currency: string;
187
+ period: string;
188
+ source: SpendLimitSource | null;
189
+ spend_limit_id: string | null;
190
+ period_to_date_spend: string | null;
191
+ }
192
+ export interface SpendLimitRecord extends EffectiveSpendLimitItem {
193
+ user_id: string;
194
+ observed_at: string;
195
+ }
196
+ export interface RbacGroupItem {
197
+ type: 'rbac_group';
198
+ id: string;
199
+ name: string;
200
+ created_at: string;
201
+ updated_at: string;
202
+ role_ids: string[] | null;
203
+ source_type: 'direct' | 'scim';
204
+ }