api_openai 0.3.0

OpenAI's API for accessing large language models (LLMs).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
//! Structures related to Audit Logs API endpoints.

/// Define a private namespace for all its items.
mod private
{
  // Use full paths from crate root for components
  // No sibling imports needed here currently
  // Serde imports
  use serde::Deserialize;

  /// Represents the user associated with an audit log event actor.
  ///
  /// # Used By
  /// - `AuditLogActorSession`
  /// - `AuditLogActorApiKey`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogActorUser
  {
    /// The user ID.
    pub id : String,
    /// The user email.
    pub email : String,
  }

  /// Represents details about the IP address associated with an audit log event.
  ///
  /// # Used By
  /// - `AuditLogActorSession`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct IpAddressDetails
  {
    /// ISO country code.
    pub country : Option< String >,
    /// City name.
    pub city : Option< String >,
    /// Region name.
    pub region : Option< String >,
    /// Region code.
    pub region_code : Option< String >,
    /// Autonomous System Number (ASN).
    pub asn : Option< String >,
    /// Latitude coordinate.
    pub latitude : Option< String >,
    /// Longitude coordinate.
    pub longitude : Option< String >,
  }

  /// Represents the session context for an audit log event actor.
  ///
  /// # Used By
  /// - `AuditLogActor`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogActorSession
  {
    /// The user associated with the session.
    pub user : AuditLogActorUser,
    /// The IP address from which the action was performed.
    pub ip_address : String,
    /// The user agent string of the client.
    pub user_agent : Option< String >,
    /// JA3 TLS fingerprint.
    pub ja3 : Option< String >,
    /// JA4 TLS fingerprint.
    pub ja4 : Option< String >,
    /// Details derived from the IP address.
    pub ip_address_details : Option< IpAddressDetails >,
  }

  /// Represents a service account associated with an audit log event actor (via API key).
  ///
  /// # Used By
  /// - `AuditLogActorApiKey`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogActorServiceAccount
  {
    /// The service account ID.
    pub id : String,
  }

  /// Represents the API key used by an audit log event actor.
  ///
  /// # Used By
  /// - `AuditLogActor`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogActorApiKey
  {
    /// The tracking ID of the API key.
    pub id : String,
    /// The type of API key ("user" or "`service_account`").
    pub r#type : String,
    /// Details if the key belongs to a user.
    pub user : Option< AuditLogActorUser >,
    /// Details if the key belongs to a service account.
    pub service_account : Option< AuditLogActorServiceAccount >,
  }

  /// Represents the actor who performed the audit logged action.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogActor
  {
    /// The type of actor ("session" or "`api_key`").
    pub r#type : String,
    /// Session details if the actor type is "session".
    pub session : Option< AuditLogActorSession >,
    /// API key details if the actor type is "`api_key`".
    pub api_key : Option< AuditLogActorApiKey >,
  }

  /// Represents the project context for an audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogProject
  {
    /// The project ID.
    pub id : String,
    /// The project title.
    pub name : String,
  }

  /// Data specific to an `api_key.created` event.
  ///
  /// # Used By
  /// - `AuditLog` (as `api_key_created`)
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogApiKeyCreatedData
  {
    /// A list of scopes allowed for the API key.
    pub scopes : Option< Vec< String > >,
  }

  /// Details for an `api_key.created` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogApiKeyCreated
  {
    /// The tracking ID of the created API key.
    pub id : String,
    /// The payload used to create the API key.
    pub data : AuditLogApiKeyCreatedData,
  }

  /// Changes requested during an `api_key.updated` event.
  ///
  /// # Used By
  /// - `AuditLogApiKeyUpdated`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogApiKeyUpdatedChanges
  {
    /// The updated list of scopes allowed for the API key.
    pub scopes : Option< Vec< String > >,
  }

  /// Details for an `api_key.updated` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogApiKeyUpdated
  {
    /// The tracking ID of the updated API key.
    pub id : String,
    /// The payload containing the requested changes.
    pub changes_requested : AuditLogApiKeyUpdatedChanges,
  }

  /// Details for an `api_key.deleted` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogApiKeyDeleted
  {
    /// The tracking ID of the deleted API key.
    pub id : String,
  }

  /// Data specific to an `invite.sent` event.
  ///
  /// # Used By
  /// - `AuditLogInviteSent`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogInviteSentData
  {
    /// The email invited to the organization.
    pub email : String,
    /// The role the email was invited to be ("owner" or "member").
    pub role : String,
  }

  /// Details for an `invite.sent` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogInviteSent
  {
    /// The ID of the invite.
    pub id : String,
    /// The payload used to create the invite.
    pub data : AuditLogInviteSentData,
  }

  /// Details for an `invite.accepted` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogInviteAccepted
  {
    /// The ID of the accepted invite.
    pub id : String,
  }

  /// Details for an `invite.deleted` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogInviteDeleted
  {
    /// The ID of the deleted invite.
    pub id : String,
  }

  /// Details for a `login.failed` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogLoginFailed
  {
    /// The error code of the failure.
    pub error_code : String,
    /// The error message of the failure.
    pub error_message : String,
  }

  /// Details for a `logout.failed` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogLogoutFailed
  {
    /// The error code of the failure.
    pub error_code : String,
    /// The error message of the failure.
    pub error_message : String,
  }

  /// Settings changed during an `organization.updated` event.
  ///
  /// # Used By
  /// - `AuditLogOrganizationUpdatedChanges`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogOrganizationUpdatedSettings
  {
    /// Visibility of the threads page ("`ANY_ROLE`", "OWNERS", or "NONE").
    pub threads_ui_visibility : Option< String >,
    /// Visibility of the usage dashboard ("`ANY_ROLE`" or "OWNERS").
    pub usage_dashboard_visibility : Option< String >,
  }

  /// Changes requested during an `organization.updated` event.
  ///
  /// # Used By
  /// - `AuditLogOrganizationUpdated`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogOrganizationUpdatedChanges
  {
    /// The updated organization title.
    pub title : Option< String >,
    /// The updated organization description.
    pub description : Option< String >,
    /// The updated organization name.
    pub name : Option< String >,
    /// The updated organization settings.
    pub settings : Option< AuditLogOrganizationUpdatedSettings >,
  }

  /// Details for an `organization.updated` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogOrganizationUpdated
  {
    /// The organization ID.
    pub id : String,
    /// The payload containing the requested changes.
    pub changes_requested : AuditLogOrganizationUpdatedChanges,
  }

  /// Data specific to a `project.created` event.
  ///
  /// # Used By
  /// - `AuditLogProjectCreated`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogProjectCreatedData
  {
    /// The project name.
    pub name : String,
    /// The title of the project as seen on the dashboard.
    pub title : String,
  }

  /// Details for a `project.created` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogProjectCreated
  {
    /// The project ID.
    pub id : String,
    /// The payload used to create the project.
    pub data : AuditLogProjectCreatedData,
  }

  /// Changes requested during a `project.updated` event.
  ///
  /// # Used By
  /// - `AuditLogProjectUpdated`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogProjectUpdatedChanges
  {
    /// The updated title of the project.
    pub title : String,
  }

  /// Details for a `project.updated` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogProjectUpdated
  {
    /// The project ID.
    pub id : String,
    /// The payload containing the requested changes.
    pub changes_requested : AuditLogProjectUpdatedChanges,
  }

  /// Details for a `project.archived` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogProjectArchived
  {
    /// The project ID.
    pub id : String,
  }

  /// Changes requested during a `rate_limit.updated` event.
  ///
  /// # Used By
  /// - `AuditLogRateLimitUpdated`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogRateLimitUpdatedChanges
  {
    /// The updated maximum requests per minute.
    pub max_requests_per_1_minute : Option< i32 >,
    /// The updated maximum tokens per minute.
    pub max_tokens_per_1_minute : Option< i32 >,
    /// The updated maximum images per minute.
    pub max_images_per_1_minute : Option< i32 >,
    /// The updated maximum audio megabytes per minute.
    pub max_audio_megabytes_per_1_minute : Option< i32 >,
    /// The updated maximum requests per day.
    pub max_requests_per_1_day : Option< i32 >,
    /// The updated maximum batch input tokens per day.
    pub batch_1_day_max_input_tokens : Option< i32 >,
  }

  /// Details for a `rate_limit.updated` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogRateLimitUpdated
  {
    /// The rate limit ID.
    pub id : String,
    /// The payload containing the requested changes.
    pub changes_requested : AuditLogRateLimitUpdatedChanges,
  }

  /// Details for a `rate_limit.deleted` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogRateLimitDeleted
  {
    /// The rate limit ID.
    pub id : String,
  }

  /// Data specific to a `service_account.created` event.
  ///
  /// # Used By
  /// - `AuditLogServiceAccountCreated`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogServiceAccountCreatedData
  {
    /// The role of the service account ("owner" or "member").
    pub role : String,
  }

  /// Details for a `service_account.created` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogServiceAccountCreated
  {
    /// The service account ID.
    pub id : String,
    /// The payload used to create the service account.
    pub data : AuditLogServiceAccountCreatedData,
  }

  /// Changes requested during a `service_account.updated` event.
  ///
  /// # Used By
  /// - `AuditLogServiceAccountUpdated`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogServiceAccountUpdatedChanges
  {
    /// The updated role of the service account ("owner" or "member").
    pub role : String,
  }

  /// Details for a `service_account.updated` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogServiceAccountUpdated
  {
    /// The service account ID.
    pub id : String,
    /// The payload containing the requested changes.
    pub changes_requested : AuditLogServiceAccountUpdatedChanges,
  }

  /// Details for a `service_account.deleted` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogServiceAccountDeleted
  {
    /// The service account ID.
    pub id : String,
  }

  /// Data specific to a `user.added` event (user added to a project).
  ///
  /// # Used By
  /// - `AuditLogUserAdded`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogUserAddedData
  {
    /// The role assigned to the user in the project ("owner" or "member").
    pub role : String,
  }

  /// Details for a `user.added` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogUserAdded
  {
    /// The user ID.
    pub id : String,
    /// The payload used to add the user to the project.
    pub data : AuditLogUserAddedData,
  }

  /// Changes requested during a `user.updated` event (user role changed in a project).
  ///
  /// # Used By
  /// - `AuditLogUserUpdated`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogUserUpdatedChanges
  {
    /// The updated role of the user ("owner" or "member").
    pub role : String,
  }

  /// Details for a `user.updated` audit log event.
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogUserUpdated
  {
    /// The project ID where the user role was updated.
    pub id : String,
    /// The payload containing the requested changes.
    pub changes_requested : AuditLogUserUpdatedChanges,
  }

  /// Details for a `user.deleted` audit log event (user removed from a project).
  ///
  /// # Used By
  /// - `AuditLog`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogUserDeleted
  {
    /// The user ID.
    pub id : String,
  }

  /// Represents a single audit log entry.
  ///
  /// # Used By
  /// - `ListAuditLogsResponse`
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLog
  {
    /// The ID of this log entry.
    pub id : String,
    /// The type of event that occurred.
    pub r#type : String, // Enum : AuditLogEventType
    /// The Unix timestamp (in seconds) of the event.
    pub effective_at : i64,
    /// The project that the action was scoped to. Absent for actions not scoped to projects.
    pub project : Option< AuditLogProject >,
    /// The actor who performed the action.
    pub actor : AuditLogActor,
    /// Details specific to an `api_key.created` event.
    #[ serde( rename = "api_key.created", skip_serializing_if = "Option::is_none" ) ]
    pub api_key_created : Option< AuditLogApiKeyCreated >,
    /// Details specific to an `api_key.updated` event.
    #[ serde( rename = "api_key.updated", skip_serializing_if = "Option::is_none" ) ]
    pub api_key_updated : Option< AuditLogApiKeyUpdated >,
    /// Details specific to an `api_key.deleted` event.
    #[ serde( rename = "api_key.deleted", skip_serializing_if = "Option::is_none" ) ]
    pub api_key_deleted : Option< AuditLogApiKeyDeleted >,
    /// Details specific to an `invite.sent` event.
    #[ serde( rename = "invite.sent", skip_serializing_if = "Option::is_none" ) ]
    pub invite_sent : Option< AuditLogInviteSent >,
    /// Details specific to an `invite.accepted` event.
    #[ serde( rename = "invite.accepted", skip_serializing_if = "Option::is_none" ) ]
    pub invite_accepted : Option< AuditLogInviteAccepted >,
    /// Details specific to an `invite.deleted` event.
    #[ serde( rename = "invite.deleted", skip_serializing_if = "Option::is_none" ) ]
    pub invite_deleted : Option< AuditLogInviteDeleted >,
    /// Details specific to a `login.failed` event.
    #[ serde( rename = "login.failed", skip_serializing_if = "Option::is_none" ) ]
    pub login_failed : Option< AuditLogLoginFailed >,
    /// Details specific to a `logout.failed` event.
    #[ serde( rename = "logout.failed", skip_serializing_if = "Option::is_none" ) ]
    pub logout_failed : Option< AuditLogLogoutFailed >,
    /// Details specific to an `organization.updated` event.
    #[ serde( rename = "organization.updated", skip_serializing_if = "Option::is_none" ) ]
    pub organization_updated : Option< AuditLogOrganizationUpdated >,
    /// Details specific to a `project.created` event.
    #[ serde( rename = "project.created", skip_serializing_if = "Option::is_none" ) ]
    pub project_created : Option< AuditLogProjectCreated >,
    /// Details specific to a `project.updated` event.
    #[ serde( rename = "project.updated", skip_serializing_if = "Option::is_none" ) ]
    pub project_updated : Option< AuditLogProjectUpdated >,
    /// Details specific to a `project.archived` event.
    #[ serde( rename = "project.archived", skip_serializing_if = "Option::is_none" ) ]
    pub project_archived : Option< AuditLogProjectArchived >,
    /// Details specific to a `rate_limit.updated` event.
    #[ serde( rename = "rate_limit.updated", skip_serializing_if = "Option::is_none" ) ]
    pub rate_limit_updated : Option< AuditLogRateLimitUpdated >,
    /// Details specific to a `rate_limit.deleted` event.
    #[ serde( rename = "rate_limit.deleted", skip_serializing_if = "Option::is_none" ) ]
    pub rate_limit_deleted : Option< AuditLogRateLimitDeleted >,
    /// Details specific to a `service_account.created` event.
    #[ serde( rename = "service_account.created", skip_serializing_if = "Option::is_none" ) ]
    pub service_account_created : Option< AuditLogServiceAccountCreated >,
    /// Details specific to a `service_account.updated` event.
    #[ serde( rename = "service_account.updated", skip_serializing_if = "Option::is_none" ) ]
    pub service_account_updated : Option< AuditLogServiceAccountUpdated >,
    /// Details specific to a `service_account.deleted` event.
    #[ serde( rename = "service_account.deleted", skip_serializing_if = "Option::is_none" ) ]
    pub service_account_deleted : Option< AuditLogServiceAccountDeleted >,
    /// Details specific to a `user.added` event.
    #[ serde( rename = "user.added", skip_serializing_if = "Option::is_none" ) ]
    pub user_added : Option< AuditLogUserAdded >,
    /// Details specific to a `user.updated` event.
    #[ serde( rename = "user.updated", skip_serializing_if = "Option::is_none" ) ]
    pub user_updated : Option< AuditLogUserUpdated >,
    /// Details specific to a `user.deleted` event.
    #[ serde( rename = "user.deleted", skip_serializing_if = "Option::is_none" ) ]
    pub user_deleted : Option< AuditLogUserDeleted >,
  }

  /// Response containing a list of audit logs.
  ///
  /// # Used By
  /// - `/organization/audit_logs` (GET)
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct ListAuditLogsResponse
  {
    /// The object type, always "list".
    pub object : String,
    /// A list of audit log objects.
    pub data : Vec< AuditLog >,
    /// The ID of the first log in the list.
    pub first_id : Option< String >,
    /// The ID of the last log in the list.
    pub last_id : Option< String >,
    /// Indicates whether there are more logs available.
    pub has_more : bool,
  }

  /// Represents the type of an audit log event.
  ///
  /// # Used By
  /// - `AuditLog` (as `r#type`)
  #[ derive( Debug, Deserialize, Clone, PartialEq ) ]
  pub struct AuditLogEventType
  {
    /// The event type string (e.g., "project.created", "`api_key.updated`").
    pub value : String,
  }
} // end mod private

crate ::mod_interface!
{
  exposed use
  {
    AuditLogActorUser,
    IpAddressDetails,
    AuditLogActorSession,
    AuditLogActorServiceAccount,
    AuditLogActorApiKey,
    AuditLogActor,
    AuditLogProject,
    AuditLogApiKeyCreatedData,
    AuditLogApiKeyCreated,
    AuditLogApiKeyUpdatedChanges,
    AuditLogApiKeyUpdated,
    AuditLogApiKeyDeleted,
    AuditLogInviteSentData,
    AuditLogInviteSent,
    AuditLogInviteAccepted,
    AuditLogInviteDeleted,
    AuditLogLoginFailed,
    AuditLogLogoutFailed,
    AuditLogOrganizationUpdatedSettings,
    AuditLogOrganizationUpdatedChanges,
    AuditLogOrganizationUpdated,
    AuditLogProjectCreatedData,
    AuditLogProjectCreated,
    AuditLogProjectUpdatedChanges,
    AuditLogProjectUpdated,
    AuditLogProjectArchived,
    AuditLogRateLimitUpdatedChanges,
    AuditLogRateLimitUpdated,
    AuditLogRateLimitDeleted,
    AuditLogServiceAccountCreatedData,
    AuditLogServiceAccountCreated,
    AuditLogServiceAccountUpdatedChanges,
    AuditLogServiceAccountUpdated,
    AuditLogServiceAccountDeleted,
    AuditLogUserAddedData,
    AuditLogUserAdded,
    AuditLogUserUpdatedChanges,
    AuditLogUserUpdated,
    AuditLogUserDeleted,
    AuditLog,
    ListAuditLogsResponse,
    AuditLogEventType
  };
}