@@ -20,8 +20,13 @@ class CreateOrganization(BaseModel):
20
20
name : str
21
21
22
22
23
+ class PatchOrganization (BaseModel ):
24
+ name : str
25
+
26
+
23
27
class Organization (CreateOrganization ):
24
28
id : str
29
+ created_at : datetime
25
30
26
31
27
32
class OrganizationScope (Organization ):
@@ -50,6 +55,28 @@ class CreateSecret(BaseModel):
50
55
value : str
51
56
52
57
58
+ class CreateInvite (BaseModel ):
59
+ email : str
60
+
61
+
62
+ class Invite (CreateInvite ):
63
+ id : str
64
+
65
+
66
+ class Invites (RootModel [list [Invite ]]):
67
+ root : list [Invite ]
68
+
69
+
70
+ class OrganizationMember (BaseModel ):
71
+ id : str
72
+ name : str
73
+ email : str
74
+
75
+
76
+ class OrganizationMembers (RootModel [list [OrganizationMember ]]):
77
+ root : list [OrganizationMember ]
78
+
79
+
53
80
class SignUp (BaseModel ):
54
81
access_token : str
55
82
id_token : str
@@ -341,6 +368,23 @@ class Secret(BaseModel):
341
368
key : SecretKey
342
369
343
370
371
+ class CreateInvites (BaseModel ):
372
+ invites : list [CreateInvite ]
373
+
374
+
375
+ class ListOrganizationInvites (PaginationResponse ):
376
+ items : Invites
377
+
378
+
379
+ class ListOrganizationMembers (PaginationResponse ):
380
+ items : OrganizationMembers
381
+
382
+
383
+ class ClientHeader1 (BaseModel ):
384
+ name : str
385
+ value : ConnectorValueValue
386
+
387
+
344
388
class ListPipelines (PaginationResponse ):
345
389
pipelines : SpacePipelines
346
390
@@ -497,11 +541,6 @@ class SinkConnectorSnowflakeCDCJSON(BaseModel):
497
541
configuration : Optional [Configuration6 ] = None
498
542
499
543
500
- class ClientHeader1 (BaseModel ):
501
- name : str
502
- value : ConnectorValue
503
-
504
-
505
544
class Configuration7 (BaseModel ):
506
545
api_key : ConnectorValue
507
546
api_host : ConnectorValue
0 commit comments