@robosystems/client 0.6.1 → 0.6.3

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.
package/types.gen.ts CHANGED
@@ -100,6 +100,24 @@ export type AccountInfo = {
100
100
  provider_account_id: string;
101
101
  };
102
102
 
103
+ /**
104
+ * AddGraphMemberRequest
105
+ *
106
+ * Request to grant an org member access to a graph.
107
+ */
108
+ export type AddGraphMemberRequest = {
109
+ /**
110
+ * User Id
111
+ *
112
+ * User to grant access to (must belong to the graph's organization)
113
+ */
114
+ user_id: string;
115
+ /**
116
+ * Graph role: viewer (read-only), member (read/write), admin (full control)
117
+ */
118
+ role?: GraphRole;
119
+ };
120
+
103
121
  /**
104
122
  * AddPublishListMembersOperation
105
123
  *
@@ -1187,6 +1205,12 @@ export type CancelSubscriptionRequest = {
1187
1205
  * Required when immediate=True. Must equal the subscription's resource_id (e.g. graph_id) to confirm intent.
1188
1206
  */
1189
1207
  confirm?: string | null;
1208
+ /**
1209
+ * User Id
1210
+ *
1211
+ * Organization member whose subscription to cancel. Defaults to the caller; canceling another member's requires org owner or admin.
1212
+ */
1213
+ user_id?: string | null;
1190
1214
  };
1191
1215
 
1192
1216
  /**
@@ -2629,6 +2653,19 @@ export type CreateInformationBlockRequest = ({
2629
2653
  block_type: 'balance_sheet' | 'cash_flow_statement' | 'comprehensive_income' | 'equity_statement' | 'income_statement' | 'metric' | 'regulatory_disclosure';
2630
2654
  } & CreateLegacyArm);
2631
2655
 
2656
+ /**
2657
+ * CreateInvitationRequest
2658
+ *
2659
+ * Request to invite a new user to an organization by email.
2660
+ */
2661
+ export type CreateInvitationRequest = {
2662
+ /**
2663
+ * Email
2664
+ */
2665
+ email: string;
2666
+ role?: OrgRole;
2667
+ };
2668
+
2632
2669
  /**
2633
2670
  * CreateMappingAssociationOperation
2634
2671
  *
@@ -2814,6 +2851,12 @@ export type CreateRepositorySubscriptionRequest = {
2814
2851
  * Plan name for the repository subscription
2815
2852
  */
2816
2853
  plan_name: string;
2854
+ /**
2855
+ * User Id
2856
+ *
2857
+ * Subscribe this user instead of yourself. Org owners and admins only, and the target must belong to the same organization. Omit to subscribe yourself. Repository access is per-user while billing is org-level, so the subscriber is what determines who gets access.
2858
+ */
2859
+ user_id?: string | null;
2817
2860
  };
2818
2861
 
2819
2862
  /**
@@ -3173,7 +3216,13 @@ export type CreateViewRequest = {
3173
3216
  */
3174
3217
  include_summary?: boolean;
3175
3218
  /**
3176
- * View/pivot configuration
3219
+ * Limit
3220
+ *
3221
+ * Maximum facts to return. Applied after deduplication and sorting, so truncation keeps the most recent periods. Check `metadata.truncated` to see whether more facts matched.
3222
+ */
3223
+ limit?: number;
3224
+ /**
3225
+ * Aspect scoping configuration
3177
3226
  */
3178
3227
  view_config?: ViewConfig;
3179
3228
  };
@@ -4056,6 +4105,33 @@ export type DetailedTransactionsResponse = {
4056
4105
  };
4057
4106
  };
4058
4107
 
4108
+ /**
4109
+ * Dimension
4110
+ */
4111
+ export type Dimension = {
4112
+ /**
4113
+ * Name
4114
+ *
4115
+ * Dimension name (e.g., 'Element', 'Period')
4116
+ */
4117
+ name: string;
4118
+ /**
4119
+ * Dimension type
4120
+ */
4121
+ type: DimensionType;
4122
+ /**
4123
+ * Members
4124
+ *
4125
+ * List of dimension members
4126
+ */
4127
+ members?: Array<string>;
4128
+ };
4129
+
4130
+ /**
4131
+ * DimensionType
4132
+ */
4133
+ export type DimensionType = 'element' | 'period' | 'entity';
4134
+
4059
4135
  /**
4060
4136
  * DocumentDetailResponse
4061
4137
  *
@@ -4363,6 +4439,42 @@ export type ElementLite = {
4363
4439
  documentation?: string | null;
4364
4440
  };
4365
4441
 
4442
+ /**
4443
+ * ElementSummary
4444
+ */
4445
+ export type ElementSummary = {
4446
+ /**
4447
+ * Count
4448
+ *
4449
+ * Number of facts for this element
4450
+ */
4451
+ count: number;
4452
+ /**
4453
+ * Total
4454
+ *
4455
+ * Sum of values across the returned facts
4456
+ */
4457
+ total: number;
4458
+ /**
4459
+ * Average
4460
+ *
4461
+ * Mean value across the returned facts
4462
+ */
4463
+ average: number;
4464
+ /**
4465
+ * Min
4466
+ *
4467
+ * Minimum value across the returned facts
4468
+ */
4469
+ min: number;
4470
+ /**
4471
+ * Max
4472
+ *
4473
+ * Maximum value across the returned facts
4474
+ */
4475
+ max: number;
4476
+ };
4477
+
4366
4478
  /**
4367
4479
  * ElementUpdatePatch
4368
4480
  *
@@ -5122,6 +5234,66 @@ export type FactLite = {
5122
5234
  fact_set_id?: string | null;
5123
5235
  };
5124
5236
 
5237
+ /**
5238
+ * FactRecord
5239
+ */
5240
+ export type FactRecord = {
5241
+ /**
5242
+ * Element Id
5243
+ *
5244
+ * Element qname (e.g., 'us-gaap:Assets')
5245
+ */
5246
+ element_id: string;
5247
+ /**
5248
+ * Element Name
5249
+ *
5250
+ * Element local name
5251
+ */
5252
+ element_name?: string | null;
5253
+ /**
5254
+ * Period Start
5255
+ *
5256
+ * Period start date (YYYY-MM-DD); null for instant facts. A duration fact is identified by (start, end) — two facts for the same element can share an end date and differ only here (e.g. a quarterly and a year-to-date figure from the same 10-Q).
5257
+ */
5258
+ period_start?: string | null;
5259
+ /**
5260
+ * Period End
5261
+ *
5262
+ * Period end date (YYYY-MM-DD)
5263
+ */
5264
+ period_end?: string | null;
5265
+ /**
5266
+ * Duration Type
5267
+ *
5268
+ * Period duration classification (e.g. 'quarterly', 'nine_months', 'annual'); null for instant facts. Use with period_start to tell overlapping windows apart.
5269
+ */
5270
+ duration_type?: string | null;
5271
+ /**
5272
+ * Value
5273
+ *
5274
+ * Numeric fact value
5275
+ */
5276
+ value?: number | null;
5277
+ /**
5278
+ * Unit
5279
+ *
5280
+ * Unit of measure (e.g., 'USD')
5281
+ */
5282
+ unit?: string | null;
5283
+ /**
5284
+ * Entity Ticker
5285
+ *
5286
+ * Entity ticker; present only when an entity filter was applied
5287
+ */
5288
+ entity_ticker?: string | null;
5289
+ /**
5290
+ * Entity Name
5291
+ *
5292
+ * Entity name; present only when an entity filter was applied
5293
+ */
5294
+ entity_name?: string | null;
5295
+ };
5296
+
5125
5297
  /**
5126
5298
  * FactSetLite
5127
5299
  *
@@ -5925,6 +6097,59 @@ export type GraphLimitsResponse = {
5925
6097
  instance?: InstanceUsage | null;
5926
6098
  };
5927
6099
 
6100
+ /**
6101
+ * GraphMemberListResponse
6102
+ *
6103
+ * All users with access to a graph.
6104
+ */
6105
+ export type GraphMemberListResponse = {
6106
+ /**
6107
+ * Members
6108
+ */
6109
+ members: Array<GraphMemberResponse>;
6110
+ /**
6111
+ * Total
6112
+ */
6113
+ total: number;
6114
+ /**
6115
+ * Graph Id
6116
+ */
6117
+ graph_id: string;
6118
+ };
6119
+
6120
+ /**
6121
+ * GraphMemberResponse
6122
+ *
6123
+ * A user with access to a graph.
6124
+ */
6125
+ export type GraphMemberResponse = {
6126
+ /**
6127
+ * User Id
6128
+ */
6129
+ user_id: string;
6130
+ /**
6131
+ * Name
6132
+ */
6133
+ name: string;
6134
+ /**
6135
+ * Email
6136
+ */
6137
+ email: string;
6138
+ role: GraphRole;
6139
+ /**
6140
+ * Source
6141
+ *
6142
+ * 'explicit' for a direct grant; 'org_role' for implicit admin held by org owners/admins
6143
+ */
6144
+ source: 'explicit' | 'org_role';
6145
+ /**
6146
+ * Granted At
6147
+ *
6148
+ * When the explicit grant was created (null for implicit access)
6149
+ */
6150
+ granted_at?: string | null;
6151
+ };
6152
+
5928
6153
  /**
5929
6154
  * GraphMetadata
5930
6155
  *
@@ -6033,6 +6258,13 @@ export type GraphMetricsResponse = {
6033
6258
  };
6034
6259
  };
6035
6260
 
6261
+ /**
6262
+ * GraphRole
6263
+ *
6264
+ * Ordered per-graph roles: viewer < member < admin.
6265
+ */
6266
+ export type GraphRole = 'viewer' | 'member' | 'admin';
6267
+
6036
6268
  /**
6037
6269
  * GraphSubscriptionResponse
6038
6270
  *
@@ -6057,6 +6289,12 @@ export type GraphSubscriptionResponse = {
6057
6289
  * Resource identifier
6058
6290
  */
6059
6291
  resource_id: string;
6292
+ /**
6293
+ * User Id
6294
+ *
6295
+ * Organization member the subscription belongs to. Set for repository subscriptions, which are billed to the org but granted per user.
6296
+ */
6297
+ user_id?: string | null;
6060
6298
  /**
6061
6299
  * Plan Name
6062
6300
  *
@@ -6942,16 +7180,24 @@ export type InstanceUsage = {
6942
7180
  };
6943
7181
 
6944
7182
  /**
6945
- * InviteMemberRequest
7183
+ * InvitationPreviewResponse
6946
7184
  *
6947
- * Request to invite a member to an organization.
7185
+ * Public preview of an invitation, looked up by its token.
6948
7186
  */
6949
- export type InviteMemberRequest = {
7187
+ export type InvitationPreviewResponse = {
7188
+ /**
7189
+ * Org Name
7190
+ */
7191
+ org_name: string;
6950
7192
  /**
6951
7193
  * Email
6952
7194
  */
6953
7195
  email: string;
6954
- role?: OrgRole | null;
7196
+ role: OrgRole;
7197
+ /**
7198
+ * Expires At
7199
+ */
7200
+ expires_at: string;
6955
7201
  };
6956
7202
 
6957
7203
  /**
@@ -10681,6 +10927,71 @@ export type OrgDetailResponse = {
10681
10927
  updated_at: string;
10682
10928
  };
10683
10929
 
10930
+ /**
10931
+ * OrgInvitationListResponse
10932
+ *
10933
+ * List of pending organization invitations response.
10934
+ */
10935
+ export type OrgInvitationListResponse = {
10936
+ /**
10937
+ * Invitations
10938
+ */
10939
+ invitations: Array<OrgInvitationResponse>;
10940
+ /**
10941
+ * Total
10942
+ */
10943
+ total: number;
10944
+ /**
10945
+ * Org Id
10946
+ */
10947
+ org_id: string;
10948
+ };
10949
+
10950
+ /**
10951
+ * OrgInvitationResponse
10952
+ *
10953
+ * Organization invitation response.
10954
+ */
10955
+ export type OrgInvitationResponse = {
10956
+ /**
10957
+ * Id
10958
+ */
10959
+ id: string;
10960
+ /**
10961
+ * Org Id
10962
+ */
10963
+ org_id: string;
10964
+ /**
10965
+ * Email
10966
+ */
10967
+ email: string;
10968
+ role: OrgRole;
10969
+ /**
10970
+ * Status
10971
+ */
10972
+ status: string;
10973
+ /**
10974
+ * Invited By User Id
10975
+ */
10976
+ invited_by_user_id: string;
10977
+ /**
10978
+ * Invited By Name
10979
+ */
10980
+ invited_by_name: string | null;
10981
+ /**
10982
+ * Created At
10983
+ */
10984
+ created_at: string;
10985
+ /**
10986
+ * Expires At
10987
+ */
10988
+ expires_at: string;
10989
+ /**
10990
+ * Is Expired
10991
+ */
10992
+ is_expired: boolean;
10993
+ };
10994
+
10684
10995
  /**
10685
10996
  * OrgLimitsResponse
10686
10997
  *
@@ -11950,6 +12261,12 @@ export type RegisterRequest = {
11950
12261
  * CAPTCHA verification token (required in production)
11951
12262
  */
11952
12263
  captcha_token?: string | null;
12264
+ /**
12265
+ * Invite Token
12266
+ *
12267
+ * Org invitation token from an invitation email. When present, the new user joins the inviting organization at the invited role instead of receiving a personal organization.
12268
+ */
12269
+ invite_token?: string | null;
11953
12270
  };
11954
12271
 
11955
12272
  /**
@@ -15386,6 +15703,15 @@ export type UpdateForecastRequest = {
15386
15703
  line_growth?: Array<LineGrowthRequest> | null;
15387
15704
  };
15388
15705
 
15706
+ /**
15707
+ * UpdateGraphMemberRoleRequest
15708
+ *
15709
+ * Request to change a graph member's role.
15710
+ */
15711
+ export type UpdateGraphMemberRoleRequest = {
15712
+ role: GraphRole;
15713
+ };
15714
+
15389
15715
  /**
15390
15716
  * UpdateInformationBlockRequest
15391
15717
  *
@@ -15851,6 +16177,12 @@ export type UpgradeSubscriptionRequest = {
15851
16177
  * New plan name to change to
15852
16178
  */
15853
16179
  new_plan_name: string;
16180
+ /**
16181
+ * User Id
16182
+ *
16183
+ * Organization member whose subscription to change. Defaults to the caller; targeting another member requires org owner or admin.
16184
+ */
16185
+ user_id?: string | null;
15854
16186
  };
15855
16187
 
15856
16188
  /**
@@ -16097,24 +16429,23 @@ export type VerificationSummary = {
16097
16429
 
16098
16430
  /**
16099
16431
  * ViewAxisConfig
16432
+ *
16433
+ * Scoping configuration for one aspect of the fact query.
16434
+ *
16435
+ * Filtering only. Ordering and labelling are presentation concerns and
16436
+ * belong to the consumer that arranges the facts into a table.
16100
16437
  */
16101
16438
  export type ViewAxisConfig = {
16102
16439
  /**
16103
16440
  * Type
16104
16441
  *
16105
- * Axis type: 'element', 'period', 'dimension', 'entity'
16442
+ * Axis type: 'element', 'period', 'entity'
16106
16443
  */
16107
16444
  type: string;
16108
- /**
16109
- * Dimension Axis
16110
- *
16111
- * Dimension axis name for dimension-type axes
16112
- */
16113
- dimension_axis?: string | null;
16114
16445
  /**
16115
16446
  * Include Null Dimension
16116
16447
  *
16117
- * Include facts where this dimension is NULL (default: false)
16448
+ * Include facts where this aspect is absent (default: false)
16118
16449
  */
16119
16450
  include_null_dimension?: boolean;
16120
16451
  /**
@@ -16123,44 +16454,16 @@ export type ViewAxisConfig = {
16123
16454
  * Specific members to include (e.g., ['2024-12-31', '2023-12-31'])
16124
16455
  */
16125
16456
  selected_members?: Array<string> | null;
16457
+ };
16458
+
16459
+ /**
16460
+ * ViewConfig
16461
+ */
16462
+ export type ViewConfig = {
16126
16463
  /**
16127
- * Member Order
16464
+ * Rows
16128
16465
  *
16129
- * Explicit ordering of members (overrides default sort)
16130
- */
16131
- member_order?: Array<string> | null;
16132
- /**
16133
- * Member Labels
16134
- *
16135
- * Custom labels for members (e.g., {'2024-12-31': 'Current Year'})
16136
- */
16137
- member_labels?: {
16138
- [key: string]: string;
16139
- } | null;
16140
- /**
16141
- * Element Order
16142
- *
16143
- * Element ordering for hierarchy display (e.g., ['us-gaap:Assets', 'us-gaap:Cash', ...])
16144
- */
16145
- element_order?: Array<string> | null;
16146
- /**
16147
- * Element Labels
16148
- *
16149
- * Custom labels for elements (e.g., {'us-gaap:Cash': 'Cash and Cash Equivalents'})
16150
- */
16151
- element_labels?: {
16152
- [key: string]: string;
16153
- } | null;
16154
- };
16155
-
16156
- /**
16157
- * ViewConfig
16158
- */
16159
- export type ViewConfig = {
16160
- /**
16161
- * Rows
16162
- *
16163
- * Row axis configuration
16466
+ * Row axis configuration
16164
16467
  */
16165
16468
  rows?: Array<ViewAxisConfig>;
16166
16469
  /**
@@ -16169,24 +16472,6 @@ export type ViewConfig = {
16169
16472
  * Column axis configuration
16170
16473
  */
16171
16474
  columns?: Array<ViewAxisConfig>;
16172
- /**
16173
- * Values
16174
- *
16175
- * Field to use for values (default: numeric_value)
16176
- */
16177
- values?: string;
16178
- /**
16179
- * Aggregation Function
16180
- *
16181
- * Aggregation function: sum, average, count
16182
- */
16183
- aggregation_function?: string;
16184
- /**
16185
- * Fill Value
16186
- *
16187
- * Value to use for missing data
16188
- */
16189
- fill_value?: number;
16190
16475
  };
16191
16476
 
16192
16477
  /**
@@ -16229,6 +16514,12 @@ export type ViewMetadata = {
16229
16514
  * Period end date
16230
16515
  */
16231
16516
  period_end?: string | null;
16517
+ /**
16518
+ * Truncated
16519
+ *
16520
+ * True when more facts matched than `limit` allowed. The returned facts are the most recent by period; narrow the filters or raise `limit` to see the rest.
16521
+ */
16522
+ truncated?: boolean;
16232
16523
  };
16233
16524
 
16234
16525
  /**
@@ -16258,6 +16549,13 @@ export type ViewProjections = {
16258
16549
 
16259
16550
  /**
16260
16551
  * ViewResponse
16552
+ *
16553
+ * Flat, deduplicated facts plus the aspects they span.
16554
+ *
16555
+ * No server-side pivot: each fact is returned as its own record so the
16556
+ * consumer can arrange cells on the full aspect signature. Summing across
16557
+ * entities, units, or elements that merely share a local name is a
16558
+ * presentation decision this endpoint refuses to make on the caller's behalf.
16261
16559
  */
16262
16560
  export type ViewResponse = {
16263
16561
  /**
@@ -16265,13 +16563,25 @@ export type ViewResponse = {
16265
16563
  */
16266
16564
  metadata: ViewMetadata;
16267
16565
  /**
16268
- * Presentations
16566
+ * Dimensions
16269
16567
  *
16270
- * Presentation formats (pivot_table, narrative, etc.)
16568
+ * Aspects spanned by the returned facts
16271
16569
  */
16272
- presentations: {
16273
- [key: string]: unknown;
16274
- };
16570
+ dimensions?: Array<Dimension>;
16571
+ /**
16572
+ * Facts
16573
+ *
16574
+ * Deduplicated fact records
16575
+ */
16576
+ facts?: Array<FactRecord>;
16577
+ /**
16578
+ * Summary
16579
+ *
16580
+ * Per-element aggregates, only when include_summary=true. Note that `total` sums across every returned period, which is meaningful for duration facts and not for instants. Overlapping duration windows sharing a period_end (quarter + year-to-date) contribute only the narrowest window, so a quarter is never double-counted inside its own YTD figure.
16581
+ */
16582
+ summary?: {
16583
+ [key: string]: ElementSummary;
16584
+ } | null;
16275
16585
  };
16276
16586
 
16277
16587
  /**
@@ -16840,6 +17150,48 @@ export type VerifyEmailResponses = {
16840
17150
 
16841
17151
  export type VerifyEmailResponse = VerifyEmailResponses[keyof VerifyEmailResponses];
16842
17152
 
17153
+ export type GetInvitationPreviewData = {
17154
+ body?: never;
17155
+ path: {
17156
+ /**
17157
+ * Token
17158
+ */
17159
+ token: string;
17160
+ };
17161
+ query?: never;
17162
+ url: '/v1/auth/invitations/{token}';
17163
+ };
17164
+
17165
+ export type GetInvitationPreviewErrors = {
17166
+ /**
17167
+ * Invalid request
17168
+ */
17169
+ 400: ErrorResponse;
17170
+ /**
17171
+ * Validation Error
17172
+ */
17173
+ 422: HttpValidationError;
17174
+ /**
17175
+ * Rate limit exceeded
17176
+ */
17177
+ 429: ErrorResponse;
17178
+ /**
17179
+ * Internal server error
17180
+ */
17181
+ 500: ErrorResponse;
17182
+ };
17183
+
17184
+ export type GetInvitationPreviewError = GetInvitationPreviewErrors[keyof GetInvitationPreviewErrors];
17185
+
17186
+ export type GetInvitationPreviewResponses = {
17187
+ /**
17188
+ * Successful Response
17189
+ */
17190
+ 200: InvitationPreviewResponse;
17191
+ };
17192
+
17193
+ export type GetInvitationPreviewResponse = GetInvitationPreviewResponses[keyof GetInvitationPreviewResponses];
17194
+
16843
17195
  export type GetPasswordPolicyData = {
16844
17196
  body?: never;
16845
17197
  path?: never;
@@ -17780,19 +18132,189 @@ export type ListOrgMembersResponses = {
17780
18132
 
17781
18133
  export type ListOrgMembersResponse = ListOrgMembersResponses[keyof ListOrgMembersResponses];
17782
18134
 
17783
- export type InviteOrgMemberData = {
17784
- body: InviteMemberRequest;
18135
+ export type RemoveOrgMemberData = {
18136
+ body?: never;
17785
18137
  path: {
17786
18138
  /**
17787
18139
  * Org Id
17788
18140
  */
17789
18141
  org_id: string;
18142
+ /**
18143
+ * User Id
18144
+ */
18145
+ user_id: string;
17790
18146
  };
17791
18147
  query?: never;
17792
- url: '/v1/orgs/{org_id}/members';
18148
+ url: '/v1/orgs/{org_id}/members/{user_id}';
18149
+ };
18150
+
18151
+ export type RemoveOrgMemberErrors = {
18152
+ /**
18153
+ * Invalid request
18154
+ */
18155
+ 400: ErrorResponse;
18156
+ /**
18157
+ * Authentication required
18158
+ */
18159
+ 401: ErrorResponse;
18160
+ /**
18161
+ * Access denied
18162
+ */
18163
+ 403: ErrorResponse;
18164
+ /**
18165
+ * Resource not found
18166
+ */
18167
+ 404: ErrorResponse;
18168
+ /**
18169
+ * Validation Error
18170
+ */
18171
+ 422: HttpValidationError;
18172
+ /**
18173
+ * Rate limit exceeded
18174
+ */
18175
+ 429: ErrorResponse;
18176
+ /**
18177
+ * Internal server error
18178
+ */
18179
+ 500: ErrorResponse;
18180
+ };
18181
+
18182
+ export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
18183
+
18184
+ export type RemoveOrgMemberResponses = {
18185
+ /**
18186
+ * Successful Response
18187
+ */
18188
+ 204: void;
18189
+ };
18190
+
18191
+ export type RemoveOrgMemberResponse = RemoveOrgMemberResponses[keyof RemoveOrgMemberResponses];
18192
+
18193
+ export type UpdateOrgMemberRoleData = {
18194
+ body: UpdateMemberRoleRequest;
18195
+ path: {
18196
+ /**
18197
+ * Org Id
18198
+ */
18199
+ org_id: string;
18200
+ /**
18201
+ * User Id
18202
+ */
18203
+ user_id: string;
18204
+ };
18205
+ query?: never;
18206
+ url: '/v1/orgs/{org_id}/members/{user_id}';
18207
+ };
18208
+
18209
+ export type UpdateOrgMemberRoleErrors = {
18210
+ /**
18211
+ * Invalid request
18212
+ */
18213
+ 400: ErrorResponse;
18214
+ /**
18215
+ * Authentication required
18216
+ */
18217
+ 401: ErrorResponse;
18218
+ /**
18219
+ * Access denied
18220
+ */
18221
+ 403: ErrorResponse;
18222
+ /**
18223
+ * Resource not found
18224
+ */
18225
+ 404: ErrorResponse;
18226
+ /**
18227
+ * Validation Error
18228
+ */
18229
+ 422: HttpValidationError;
18230
+ /**
18231
+ * Rate limit exceeded
18232
+ */
18233
+ 429: ErrorResponse;
18234
+ /**
18235
+ * Internal server error
18236
+ */
18237
+ 500: ErrorResponse;
18238
+ };
18239
+
18240
+ export type UpdateOrgMemberRoleError = UpdateOrgMemberRoleErrors[keyof UpdateOrgMemberRoleErrors];
18241
+
18242
+ export type UpdateOrgMemberRoleResponses = {
18243
+ /**
18244
+ * Successful Response
18245
+ */
18246
+ 200: OrgMemberResponse;
18247
+ };
18248
+
18249
+ export type UpdateOrgMemberRoleResponse = UpdateOrgMemberRoleResponses[keyof UpdateOrgMemberRoleResponses];
18250
+
18251
+ export type ListOrgInvitationsData = {
18252
+ body?: never;
18253
+ path: {
18254
+ /**
18255
+ * Org Id
18256
+ */
18257
+ org_id: string;
18258
+ };
18259
+ query?: never;
18260
+ url: '/v1/orgs/{org_id}/invitations';
18261
+ };
18262
+
18263
+ export type ListOrgInvitationsErrors = {
18264
+ /**
18265
+ * Invalid request
18266
+ */
18267
+ 400: ErrorResponse;
18268
+ /**
18269
+ * Authentication required
18270
+ */
18271
+ 401: ErrorResponse;
18272
+ /**
18273
+ * Access denied
18274
+ */
18275
+ 403: ErrorResponse;
18276
+ /**
18277
+ * Resource not found
18278
+ */
18279
+ 404: ErrorResponse;
18280
+ /**
18281
+ * Validation Error
18282
+ */
18283
+ 422: HttpValidationError;
18284
+ /**
18285
+ * Rate limit exceeded
18286
+ */
18287
+ 429: ErrorResponse;
18288
+ /**
18289
+ * Internal server error
18290
+ */
18291
+ 500: ErrorResponse;
18292
+ };
18293
+
18294
+ export type ListOrgInvitationsError = ListOrgInvitationsErrors[keyof ListOrgInvitationsErrors];
18295
+
18296
+ export type ListOrgInvitationsResponses = {
18297
+ /**
18298
+ * Successful Response
18299
+ */
18300
+ 200: OrgInvitationListResponse;
17793
18301
  };
17794
18302
 
17795
- export type InviteOrgMemberErrors = {
18303
+ export type ListOrgInvitationsResponse = ListOrgInvitationsResponses[keyof ListOrgInvitationsResponses];
18304
+
18305
+ export type CreateOrgInvitationData = {
18306
+ body: CreateInvitationRequest;
18307
+ path: {
18308
+ /**
18309
+ * Org Id
18310
+ */
18311
+ org_id: string;
18312
+ };
18313
+ query?: never;
18314
+ url: '/v1/orgs/{org_id}/invitations';
18315
+ };
18316
+
18317
+ export type CreateOrgInvitationErrors = {
17796
18318
  /**
17797
18319
  * Invalid request
17798
18320
  */
@@ -17809,6 +18331,10 @@ export type InviteOrgMemberErrors = {
17809
18331
  * Resource not found
17810
18332
  */
17811
18333
  404: ErrorResponse;
18334
+ /**
18335
+ * Email already registered or invited
18336
+ */
18337
+ 409: ErrorResponse;
17812
18338
  /**
17813
18339
  * Validation Error
17814
18340
  */
@@ -17827,18 +18353,18 @@ export type InviteOrgMemberErrors = {
17827
18353
  501: ErrorResponse;
17828
18354
  };
17829
18355
 
17830
- export type InviteOrgMemberError = InviteOrgMemberErrors[keyof InviteOrgMemberErrors];
18356
+ export type CreateOrgInvitationError = CreateOrgInvitationErrors[keyof CreateOrgInvitationErrors];
17831
18357
 
17832
- export type InviteOrgMemberResponses = {
18358
+ export type CreateOrgInvitationResponses = {
17833
18359
  /**
17834
18360
  * Successful Response
17835
18361
  */
17836
- 201: OrgMemberResponse;
18362
+ 201: OrgInvitationResponse;
17837
18363
  };
17838
18364
 
17839
- export type InviteOrgMemberResponse = InviteOrgMemberResponses[keyof InviteOrgMemberResponses];
18365
+ export type CreateOrgInvitationResponse = CreateOrgInvitationResponses[keyof CreateOrgInvitationResponses];
17840
18366
 
17841
- export type RemoveOrgMemberData = {
18367
+ export type RevokeOrgInvitationData = {
17842
18368
  body?: never;
17843
18369
  path: {
17844
18370
  /**
@@ -17846,15 +18372,15 @@ export type RemoveOrgMemberData = {
17846
18372
  */
17847
18373
  org_id: string;
17848
18374
  /**
17849
- * User Id
18375
+ * Invitation Id
17850
18376
  */
17851
- user_id: string;
18377
+ invitation_id: string;
17852
18378
  };
17853
18379
  query?: never;
17854
- url: '/v1/orgs/{org_id}/members/{user_id}';
18380
+ url: '/v1/orgs/{org_id}/invitations/{invitation_id}';
17855
18381
  };
17856
18382
 
17857
- export type RemoveOrgMemberErrors = {
18383
+ export type RevokeOrgInvitationErrors = {
17858
18384
  /**
17859
18385
  * Invalid request
17860
18386
  */
@@ -17885,34 +18411,34 @@ export type RemoveOrgMemberErrors = {
17885
18411
  500: ErrorResponse;
17886
18412
  };
17887
18413
 
17888
- export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
18414
+ export type RevokeOrgInvitationError = RevokeOrgInvitationErrors[keyof RevokeOrgInvitationErrors];
17889
18415
 
17890
- export type RemoveOrgMemberResponses = {
18416
+ export type RevokeOrgInvitationResponses = {
17891
18417
  /**
17892
18418
  * Successful Response
17893
18419
  */
17894
18420
  204: void;
17895
18421
  };
17896
18422
 
17897
- export type RemoveOrgMemberResponse = RemoveOrgMemberResponses[keyof RemoveOrgMemberResponses];
18423
+ export type RevokeOrgInvitationResponse = RevokeOrgInvitationResponses[keyof RevokeOrgInvitationResponses];
17898
18424
 
17899
- export type UpdateOrgMemberRoleData = {
17900
- body: UpdateMemberRoleRequest;
18425
+ export type ResendOrgInvitationData = {
18426
+ body?: never;
17901
18427
  path: {
17902
18428
  /**
17903
18429
  * Org Id
17904
18430
  */
17905
18431
  org_id: string;
17906
18432
  /**
17907
- * User Id
18433
+ * Invitation Id
17908
18434
  */
17909
- user_id: string;
18435
+ invitation_id: string;
17910
18436
  };
17911
18437
  query?: never;
17912
- url: '/v1/orgs/{org_id}/members/{user_id}';
18438
+ url: '/v1/orgs/{org_id}/invitations/{invitation_id}/resend';
17913
18439
  };
17914
18440
 
17915
- export type UpdateOrgMemberRoleErrors = {
18441
+ export type ResendOrgInvitationErrors = {
17916
18442
  /**
17917
18443
  * Invalid request
17918
18444
  */
@@ -17941,18 +18467,22 @@ export type UpdateOrgMemberRoleErrors = {
17941
18467
  * Internal server error
17942
18468
  */
17943
18469
  500: ErrorResponse;
18470
+ /**
18471
+ * Feature not enabled
18472
+ */
18473
+ 501: ErrorResponse;
17944
18474
  };
17945
18475
 
17946
- export type UpdateOrgMemberRoleError = UpdateOrgMemberRoleErrors[keyof UpdateOrgMemberRoleErrors];
18476
+ export type ResendOrgInvitationError = ResendOrgInvitationErrors[keyof ResendOrgInvitationErrors];
17947
18477
 
17948
- export type UpdateOrgMemberRoleResponses = {
18478
+ export type ResendOrgInvitationResponses = {
17949
18479
  /**
17950
18480
  * Successful Response
17951
18481
  */
17952
- 200: OrgMemberResponse;
18482
+ 200: OrgInvitationResponse;
17953
18483
  };
17954
18484
 
17955
- export type UpdateOrgMemberRoleResponse = UpdateOrgMemberRoleResponses[keyof UpdateOrgMemberRoleResponses];
18485
+ export type ResendOrgInvitationResponse = ResendOrgInvitationResponses[keyof ResendOrgInvitationResponses];
17956
18486
 
17957
18487
  export type GetOrgLimitsData = {
17958
18488
  body?: never;
@@ -20017,6 +20547,238 @@ export type GetGraphLimitsResponses = {
20017
20547
 
20018
20548
  export type GetGraphLimitsResponse = GetGraphLimitsResponses[keyof GetGraphLimitsResponses];
20019
20549
 
20550
+ export type ListGraphMembersData = {
20551
+ body?: never;
20552
+ path: {
20553
+ /**
20554
+ * Graph Id
20555
+ *
20556
+ * Graph identifier
20557
+ */
20558
+ graph_id: string;
20559
+ };
20560
+ query?: never;
20561
+ url: '/v1/graphs/{graph_id}/members';
20562
+ };
20563
+
20564
+ export type ListGraphMembersErrors = {
20565
+ /**
20566
+ * Invalid request
20567
+ */
20568
+ 400: ErrorResponse;
20569
+ /**
20570
+ * Authentication required
20571
+ */
20572
+ 401: ErrorResponse;
20573
+ /**
20574
+ * Access denied
20575
+ */
20576
+ 403: ErrorResponse;
20577
+ /**
20578
+ * Resource not found
20579
+ */
20580
+ 404: ErrorResponse;
20581
+ /**
20582
+ * Validation Error
20583
+ */
20584
+ 422: HttpValidationError;
20585
+ /**
20586
+ * Rate limit exceeded
20587
+ */
20588
+ 429: ErrorResponse;
20589
+ /**
20590
+ * Internal server error
20591
+ */
20592
+ 500: ErrorResponse;
20593
+ };
20594
+
20595
+ export type ListGraphMembersError = ListGraphMembersErrors[keyof ListGraphMembersErrors];
20596
+
20597
+ export type ListGraphMembersResponses = {
20598
+ /**
20599
+ * Successful Response
20600
+ */
20601
+ 200: GraphMemberListResponse;
20602
+ };
20603
+
20604
+ export type ListGraphMembersResponse = ListGraphMembersResponses[keyof ListGraphMembersResponses];
20605
+
20606
+ export type AddGraphMemberData = {
20607
+ body: AddGraphMemberRequest;
20608
+ path: {
20609
+ /**
20610
+ * Graph Id
20611
+ *
20612
+ * Graph identifier
20613
+ */
20614
+ graph_id: string;
20615
+ };
20616
+ query?: never;
20617
+ url: '/v1/graphs/{graph_id}/members';
20618
+ };
20619
+
20620
+ export type AddGraphMemberErrors = {
20621
+ /**
20622
+ * Invalid request
20623
+ */
20624
+ 400: ErrorResponse;
20625
+ /**
20626
+ * Authentication required
20627
+ */
20628
+ 401: ErrorResponse;
20629
+ /**
20630
+ * Access denied
20631
+ */
20632
+ 403: ErrorResponse;
20633
+ /**
20634
+ * Resource not found
20635
+ */
20636
+ 404: ErrorResponse;
20637
+ /**
20638
+ * Validation Error
20639
+ */
20640
+ 422: HttpValidationError;
20641
+ /**
20642
+ * Rate limit exceeded
20643
+ */
20644
+ 429: ErrorResponse;
20645
+ /**
20646
+ * Internal server error
20647
+ */
20648
+ 500: ErrorResponse;
20649
+ };
20650
+
20651
+ export type AddGraphMemberError = AddGraphMemberErrors[keyof AddGraphMemberErrors];
20652
+
20653
+ export type AddGraphMemberResponses = {
20654
+ /**
20655
+ * Successful Response
20656
+ */
20657
+ 201: GraphMemberResponse;
20658
+ };
20659
+
20660
+ export type AddGraphMemberResponse = AddGraphMemberResponses[keyof AddGraphMemberResponses];
20661
+
20662
+ export type RemoveGraphMemberData = {
20663
+ body?: never;
20664
+ path: {
20665
+ /**
20666
+ * User Id
20667
+ */
20668
+ user_id: string;
20669
+ /**
20670
+ * Graph Id
20671
+ *
20672
+ * Graph identifier
20673
+ */
20674
+ graph_id: string;
20675
+ };
20676
+ query?: never;
20677
+ url: '/v1/graphs/{graph_id}/members/{user_id}';
20678
+ };
20679
+
20680
+ export type RemoveGraphMemberErrors = {
20681
+ /**
20682
+ * Invalid request
20683
+ */
20684
+ 400: ErrorResponse;
20685
+ /**
20686
+ * Authentication required
20687
+ */
20688
+ 401: ErrorResponse;
20689
+ /**
20690
+ * Access denied
20691
+ */
20692
+ 403: ErrorResponse;
20693
+ /**
20694
+ * Resource not found
20695
+ */
20696
+ 404: ErrorResponse;
20697
+ /**
20698
+ * Validation Error
20699
+ */
20700
+ 422: HttpValidationError;
20701
+ /**
20702
+ * Rate limit exceeded
20703
+ */
20704
+ 429: ErrorResponse;
20705
+ /**
20706
+ * Internal server error
20707
+ */
20708
+ 500: ErrorResponse;
20709
+ };
20710
+
20711
+ export type RemoveGraphMemberError = RemoveGraphMemberErrors[keyof RemoveGraphMemberErrors];
20712
+
20713
+ export type RemoveGraphMemberResponses = {
20714
+ /**
20715
+ * Successful Response
20716
+ */
20717
+ 204: void;
20718
+ };
20719
+
20720
+ export type RemoveGraphMemberResponse = RemoveGraphMemberResponses[keyof RemoveGraphMemberResponses];
20721
+
20722
+ export type UpdateGraphMemberRoleData = {
20723
+ body: UpdateGraphMemberRoleRequest;
20724
+ path: {
20725
+ /**
20726
+ * User Id
20727
+ */
20728
+ user_id: string;
20729
+ /**
20730
+ * Graph Id
20731
+ *
20732
+ * Graph identifier
20733
+ */
20734
+ graph_id: string;
20735
+ };
20736
+ query?: never;
20737
+ url: '/v1/graphs/{graph_id}/members/{user_id}';
20738
+ };
20739
+
20740
+ export type UpdateGraphMemberRoleErrors = {
20741
+ /**
20742
+ * Invalid request
20743
+ */
20744
+ 400: ErrorResponse;
20745
+ /**
20746
+ * Authentication required
20747
+ */
20748
+ 401: ErrorResponse;
20749
+ /**
20750
+ * Access denied
20751
+ */
20752
+ 403: ErrorResponse;
20753
+ /**
20754
+ * Resource not found
20755
+ */
20756
+ 404: ErrorResponse;
20757
+ /**
20758
+ * Validation Error
20759
+ */
20760
+ 422: HttpValidationError;
20761
+ /**
20762
+ * Rate limit exceeded
20763
+ */
20764
+ 429: ErrorResponse;
20765
+ /**
20766
+ * Internal server error
20767
+ */
20768
+ 500: ErrorResponse;
20769
+ };
20770
+
20771
+ export type UpdateGraphMemberRoleError = UpdateGraphMemberRoleErrors[keyof UpdateGraphMemberRoleErrors];
20772
+
20773
+ export type UpdateGraphMemberRoleResponses = {
20774
+ /**
20775
+ * Successful Response
20776
+ */
20777
+ 200: GraphMemberResponse;
20778
+ };
20779
+
20780
+ export type UpdateGraphMemberRoleResponse = UpdateGraphMemberRoleResponses[keyof UpdateGraphMemberRoleResponses];
20781
+
20020
20782
  export type ListSubgraphsData = {
20021
20783
  body?: never;
20022
20784
  path: {