@robosystems/client 0.6.1 → 0.6.2

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
  *
@@ -3173,7 +3210,13 @@ export type CreateViewRequest = {
3173
3210
  */
3174
3211
  include_summary?: boolean;
3175
3212
  /**
3176
- * View/pivot configuration
3213
+ * Limit
3214
+ *
3215
+ * 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.
3216
+ */
3217
+ limit?: number;
3218
+ /**
3219
+ * Aspect scoping configuration
3177
3220
  */
3178
3221
  view_config?: ViewConfig;
3179
3222
  };
@@ -4056,6 +4099,33 @@ export type DetailedTransactionsResponse = {
4056
4099
  };
4057
4100
  };
4058
4101
 
4102
+ /**
4103
+ * Dimension
4104
+ */
4105
+ export type Dimension = {
4106
+ /**
4107
+ * Name
4108
+ *
4109
+ * Dimension name (e.g., 'Element', 'Period')
4110
+ */
4111
+ name: string;
4112
+ /**
4113
+ * Dimension type
4114
+ */
4115
+ type: DimensionType;
4116
+ /**
4117
+ * Members
4118
+ *
4119
+ * List of dimension members
4120
+ */
4121
+ members?: Array<string>;
4122
+ };
4123
+
4124
+ /**
4125
+ * DimensionType
4126
+ */
4127
+ export type DimensionType = 'element' | 'period' | 'entity';
4128
+
4059
4129
  /**
4060
4130
  * DocumentDetailResponse
4061
4131
  *
@@ -4363,6 +4433,42 @@ export type ElementLite = {
4363
4433
  documentation?: string | null;
4364
4434
  };
4365
4435
 
4436
+ /**
4437
+ * ElementSummary
4438
+ */
4439
+ export type ElementSummary = {
4440
+ /**
4441
+ * Count
4442
+ *
4443
+ * Number of facts for this element
4444
+ */
4445
+ count: number;
4446
+ /**
4447
+ * Total
4448
+ *
4449
+ * Sum of values across the returned facts
4450
+ */
4451
+ total: number;
4452
+ /**
4453
+ * Average
4454
+ *
4455
+ * Mean value across the returned facts
4456
+ */
4457
+ average: number;
4458
+ /**
4459
+ * Min
4460
+ *
4461
+ * Minimum value across the returned facts
4462
+ */
4463
+ min: number;
4464
+ /**
4465
+ * Max
4466
+ *
4467
+ * Maximum value across the returned facts
4468
+ */
4469
+ max: number;
4470
+ };
4471
+
4366
4472
  /**
4367
4473
  * ElementUpdatePatch
4368
4474
  *
@@ -5122,6 +5228,54 @@ export type FactLite = {
5122
5228
  fact_set_id?: string | null;
5123
5229
  };
5124
5230
 
5231
+ /**
5232
+ * FactRecord
5233
+ */
5234
+ export type FactRecord = {
5235
+ /**
5236
+ * Element Id
5237
+ *
5238
+ * Element qname (e.g., 'us-gaap:Assets')
5239
+ */
5240
+ element_id: string;
5241
+ /**
5242
+ * Element Name
5243
+ *
5244
+ * Element local name
5245
+ */
5246
+ element_name?: string | null;
5247
+ /**
5248
+ * Period End
5249
+ *
5250
+ * Period end date (YYYY-MM-DD)
5251
+ */
5252
+ period_end?: string | null;
5253
+ /**
5254
+ * Value
5255
+ *
5256
+ * Numeric fact value
5257
+ */
5258
+ value?: number | null;
5259
+ /**
5260
+ * Unit
5261
+ *
5262
+ * Unit of measure (e.g., 'USD')
5263
+ */
5264
+ unit?: string | null;
5265
+ /**
5266
+ * Entity Ticker
5267
+ *
5268
+ * Entity ticker; present only when an entity filter was applied
5269
+ */
5270
+ entity_ticker?: string | null;
5271
+ /**
5272
+ * Entity Name
5273
+ *
5274
+ * Entity name; present only when an entity filter was applied
5275
+ */
5276
+ entity_name?: string | null;
5277
+ };
5278
+
5125
5279
  /**
5126
5280
  * FactSetLite
5127
5281
  *
@@ -5925,6 +6079,59 @@ export type GraphLimitsResponse = {
5925
6079
  instance?: InstanceUsage | null;
5926
6080
  };
5927
6081
 
6082
+ /**
6083
+ * GraphMemberListResponse
6084
+ *
6085
+ * All users with access to a graph.
6086
+ */
6087
+ export type GraphMemberListResponse = {
6088
+ /**
6089
+ * Members
6090
+ */
6091
+ members: Array<GraphMemberResponse>;
6092
+ /**
6093
+ * Total
6094
+ */
6095
+ total: number;
6096
+ /**
6097
+ * Graph Id
6098
+ */
6099
+ graph_id: string;
6100
+ };
6101
+
6102
+ /**
6103
+ * GraphMemberResponse
6104
+ *
6105
+ * A user with access to a graph.
6106
+ */
6107
+ export type GraphMemberResponse = {
6108
+ /**
6109
+ * User Id
6110
+ */
6111
+ user_id: string;
6112
+ /**
6113
+ * Name
6114
+ */
6115
+ name: string;
6116
+ /**
6117
+ * Email
6118
+ */
6119
+ email: string;
6120
+ role: GraphRole;
6121
+ /**
6122
+ * Source
6123
+ *
6124
+ * 'explicit' for a direct grant; 'org_role' for implicit admin held by org owners/admins
6125
+ */
6126
+ source: 'explicit' | 'org_role';
6127
+ /**
6128
+ * Granted At
6129
+ *
6130
+ * When the explicit grant was created (null for implicit access)
6131
+ */
6132
+ granted_at?: string | null;
6133
+ };
6134
+
5928
6135
  /**
5929
6136
  * GraphMetadata
5930
6137
  *
@@ -6033,6 +6240,13 @@ export type GraphMetricsResponse = {
6033
6240
  };
6034
6241
  };
6035
6242
 
6243
+ /**
6244
+ * GraphRole
6245
+ *
6246
+ * Ordered per-graph roles: viewer < member < admin.
6247
+ */
6248
+ export type GraphRole = 'viewer' | 'member' | 'admin';
6249
+
6036
6250
  /**
6037
6251
  * GraphSubscriptionResponse
6038
6252
  *
@@ -6057,6 +6271,12 @@ export type GraphSubscriptionResponse = {
6057
6271
  * Resource identifier
6058
6272
  */
6059
6273
  resource_id: string;
6274
+ /**
6275
+ * User Id
6276
+ *
6277
+ * Organization member the subscription belongs to. Set for repository subscriptions, which are billed to the org but granted per user.
6278
+ */
6279
+ user_id?: string | null;
6060
6280
  /**
6061
6281
  * Plan Name
6062
6282
  *
@@ -6942,16 +7162,24 @@ export type InstanceUsage = {
6942
7162
  };
6943
7163
 
6944
7164
  /**
6945
- * InviteMemberRequest
7165
+ * InvitationPreviewResponse
6946
7166
  *
6947
- * Request to invite a member to an organization.
7167
+ * Public preview of an invitation, looked up by its token.
6948
7168
  */
6949
- export type InviteMemberRequest = {
7169
+ export type InvitationPreviewResponse = {
7170
+ /**
7171
+ * Org Name
7172
+ */
7173
+ org_name: string;
6950
7174
  /**
6951
7175
  * Email
6952
7176
  */
6953
7177
  email: string;
6954
- role?: OrgRole | null;
7178
+ role: OrgRole;
7179
+ /**
7180
+ * Expires At
7181
+ */
7182
+ expires_at: string;
6955
7183
  };
6956
7184
 
6957
7185
  /**
@@ -10681,6 +10909,71 @@ export type OrgDetailResponse = {
10681
10909
  updated_at: string;
10682
10910
  };
10683
10911
 
10912
+ /**
10913
+ * OrgInvitationListResponse
10914
+ *
10915
+ * List of pending organization invitations response.
10916
+ */
10917
+ export type OrgInvitationListResponse = {
10918
+ /**
10919
+ * Invitations
10920
+ */
10921
+ invitations: Array<OrgInvitationResponse>;
10922
+ /**
10923
+ * Total
10924
+ */
10925
+ total: number;
10926
+ /**
10927
+ * Org Id
10928
+ */
10929
+ org_id: string;
10930
+ };
10931
+
10932
+ /**
10933
+ * OrgInvitationResponse
10934
+ *
10935
+ * Organization invitation response.
10936
+ */
10937
+ export type OrgInvitationResponse = {
10938
+ /**
10939
+ * Id
10940
+ */
10941
+ id: string;
10942
+ /**
10943
+ * Org Id
10944
+ */
10945
+ org_id: string;
10946
+ /**
10947
+ * Email
10948
+ */
10949
+ email: string;
10950
+ role: OrgRole;
10951
+ /**
10952
+ * Status
10953
+ */
10954
+ status: string;
10955
+ /**
10956
+ * Invited By User Id
10957
+ */
10958
+ invited_by_user_id: string;
10959
+ /**
10960
+ * Invited By Name
10961
+ */
10962
+ invited_by_name: string | null;
10963
+ /**
10964
+ * Created At
10965
+ */
10966
+ created_at: string;
10967
+ /**
10968
+ * Expires At
10969
+ */
10970
+ expires_at: string;
10971
+ /**
10972
+ * Is Expired
10973
+ */
10974
+ is_expired: boolean;
10975
+ };
10976
+
10684
10977
  /**
10685
10978
  * OrgLimitsResponse
10686
10979
  *
@@ -11950,6 +12243,12 @@ export type RegisterRequest = {
11950
12243
  * CAPTCHA verification token (required in production)
11951
12244
  */
11952
12245
  captcha_token?: string | null;
12246
+ /**
12247
+ * Invite Token
12248
+ *
12249
+ * 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.
12250
+ */
12251
+ invite_token?: string | null;
11953
12252
  };
11954
12253
 
11955
12254
  /**
@@ -15386,6 +15685,15 @@ export type UpdateForecastRequest = {
15386
15685
  line_growth?: Array<LineGrowthRequest> | null;
15387
15686
  };
15388
15687
 
15688
+ /**
15689
+ * UpdateGraphMemberRoleRequest
15690
+ *
15691
+ * Request to change a graph member's role.
15692
+ */
15693
+ export type UpdateGraphMemberRoleRequest = {
15694
+ role: GraphRole;
15695
+ };
15696
+
15389
15697
  /**
15390
15698
  * UpdateInformationBlockRequest
15391
15699
  *
@@ -15851,6 +16159,12 @@ export type UpgradeSubscriptionRequest = {
15851
16159
  * New plan name to change to
15852
16160
  */
15853
16161
  new_plan_name: string;
16162
+ /**
16163
+ * User Id
16164
+ *
16165
+ * Organization member whose subscription to change. Defaults to the caller; targeting another member requires org owner or admin.
16166
+ */
16167
+ user_id?: string | null;
15854
16168
  };
15855
16169
 
15856
16170
  /**
@@ -16097,24 +16411,23 @@ export type VerificationSummary = {
16097
16411
 
16098
16412
  /**
16099
16413
  * ViewAxisConfig
16414
+ *
16415
+ * Scoping configuration for one aspect of the fact query.
16416
+ *
16417
+ * Filtering only. Ordering and labelling are presentation concerns and
16418
+ * belong to the consumer that arranges the facts into a table.
16100
16419
  */
16101
16420
  export type ViewAxisConfig = {
16102
16421
  /**
16103
16422
  * Type
16104
16423
  *
16105
- * Axis type: 'element', 'period', 'dimension', 'entity'
16424
+ * Axis type: 'element', 'period', 'entity'
16106
16425
  */
16107
16426
  type: string;
16108
- /**
16109
- * Dimension Axis
16110
- *
16111
- * Dimension axis name for dimension-type axes
16112
- */
16113
- dimension_axis?: string | null;
16114
16427
  /**
16115
16428
  * Include Null Dimension
16116
16429
  *
16117
- * Include facts where this dimension is NULL (default: false)
16430
+ * Include facts where this aspect is absent (default: false)
16118
16431
  */
16119
16432
  include_null_dimension?: boolean;
16120
16433
  /**
@@ -16123,34 +16436,6 @@ export type ViewAxisConfig = {
16123
16436
  * Specific members to include (e.g., ['2024-12-31', '2023-12-31'])
16124
16437
  */
16125
16438
  selected_members?: Array<string> | null;
16126
- /**
16127
- * Member Order
16128
- *
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
16439
  };
16155
16440
 
16156
16441
  /**
@@ -16169,30 +16454,12 @@ export type ViewConfig = {
16169
16454
  * Column axis configuration
16170
16455
  */
16171
16456
  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
- };
16191
-
16192
- /**
16193
- * ViewMetadata
16194
- */
16195
- export type ViewMetadata = {
16457
+ };
16458
+
16459
+ /**
16460
+ * ViewMetadata
16461
+ */
16462
+ export type ViewMetadata = {
16196
16463
  /**
16197
16464
  * View Id
16198
16465
  *
@@ -16229,6 +16496,12 @@ export type ViewMetadata = {
16229
16496
  * Period end date
16230
16497
  */
16231
16498
  period_end?: string | null;
16499
+ /**
16500
+ * Truncated
16501
+ *
16502
+ * 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.
16503
+ */
16504
+ truncated?: boolean;
16232
16505
  };
16233
16506
 
16234
16507
  /**
@@ -16258,6 +16531,13 @@ export type ViewProjections = {
16258
16531
 
16259
16532
  /**
16260
16533
  * ViewResponse
16534
+ *
16535
+ * Flat, deduplicated facts plus the aspects they span.
16536
+ *
16537
+ * No server-side pivot: each fact is returned as its own record so the
16538
+ * consumer can arrange cells on the full aspect signature. Summing across
16539
+ * entities, units, or elements that merely share a local name is a
16540
+ * presentation decision this endpoint refuses to make on the caller's behalf.
16261
16541
  */
16262
16542
  export type ViewResponse = {
16263
16543
  /**
@@ -16265,13 +16545,25 @@ export type ViewResponse = {
16265
16545
  */
16266
16546
  metadata: ViewMetadata;
16267
16547
  /**
16268
- * Presentations
16548
+ * Dimensions
16269
16549
  *
16270
- * Presentation formats (pivot_table, narrative, etc.)
16550
+ * Aspects spanned by the returned facts
16271
16551
  */
16272
- presentations: {
16273
- [key: string]: unknown;
16274
- };
16552
+ dimensions?: Array<Dimension>;
16553
+ /**
16554
+ * Facts
16555
+ *
16556
+ * Deduplicated fact records
16557
+ */
16558
+ facts?: Array<FactRecord>;
16559
+ /**
16560
+ * Summary
16561
+ *
16562
+ * 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.
16563
+ */
16564
+ summary?: {
16565
+ [key: string]: ElementSummary;
16566
+ } | null;
16275
16567
  };
16276
16568
 
16277
16569
  /**
@@ -16840,6 +17132,48 @@ export type VerifyEmailResponses = {
16840
17132
 
16841
17133
  export type VerifyEmailResponse = VerifyEmailResponses[keyof VerifyEmailResponses];
16842
17134
 
17135
+ export type GetInvitationPreviewData = {
17136
+ body?: never;
17137
+ path: {
17138
+ /**
17139
+ * Token
17140
+ */
17141
+ token: string;
17142
+ };
17143
+ query?: never;
17144
+ url: '/v1/auth/invitations/{token}';
17145
+ };
17146
+
17147
+ export type GetInvitationPreviewErrors = {
17148
+ /**
17149
+ * Invalid request
17150
+ */
17151
+ 400: ErrorResponse;
17152
+ /**
17153
+ * Validation Error
17154
+ */
17155
+ 422: HttpValidationError;
17156
+ /**
17157
+ * Rate limit exceeded
17158
+ */
17159
+ 429: ErrorResponse;
17160
+ /**
17161
+ * Internal server error
17162
+ */
17163
+ 500: ErrorResponse;
17164
+ };
17165
+
17166
+ export type GetInvitationPreviewError = GetInvitationPreviewErrors[keyof GetInvitationPreviewErrors];
17167
+
17168
+ export type GetInvitationPreviewResponses = {
17169
+ /**
17170
+ * Successful Response
17171
+ */
17172
+ 200: InvitationPreviewResponse;
17173
+ };
17174
+
17175
+ export type GetInvitationPreviewResponse = GetInvitationPreviewResponses[keyof GetInvitationPreviewResponses];
17176
+
16843
17177
  export type GetPasswordPolicyData = {
16844
17178
  body?: never;
16845
17179
  path?: never;
@@ -17780,19 +18114,81 @@ export type ListOrgMembersResponses = {
17780
18114
 
17781
18115
  export type ListOrgMembersResponse = ListOrgMembersResponses[keyof ListOrgMembersResponses];
17782
18116
 
17783
- export type InviteOrgMemberData = {
17784
- body: InviteMemberRequest;
18117
+ export type RemoveOrgMemberData = {
18118
+ body?: never;
17785
18119
  path: {
17786
18120
  /**
17787
18121
  * Org Id
17788
18122
  */
17789
18123
  org_id: string;
18124
+ /**
18125
+ * User Id
18126
+ */
18127
+ user_id: string;
17790
18128
  };
17791
18129
  query?: never;
17792
- url: '/v1/orgs/{org_id}/members';
18130
+ url: '/v1/orgs/{org_id}/members/{user_id}';
18131
+ };
18132
+
18133
+ export type RemoveOrgMemberErrors = {
18134
+ /**
18135
+ * Invalid request
18136
+ */
18137
+ 400: ErrorResponse;
18138
+ /**
18139
+ * Authentication required
18140
+ */
18141
+ 401: ErrorResponse;
18142
+ /**
18143
+ * Access denied
18144
+ */
18145
+ 403: ErrorResponse;
18146
+ /**
18147
+ * Resource not found
18148
+ */
18149
+ 404: ErrorResponse;
18150
+ /**
18151
+ * Validation Error
18152
+ */
18153
+ 422: HttpValidationError;
18154
+ /**
18155
+ * Rate limit exceeded
18156
+ */
18157
+ 429: ErrorResponse;
18158
+ /**
18159
+ * Internal server error
18160
+ */
18161
+ 500: ErrorResponse;
18162
+ };
18163
+
18164
+ export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
18165
+
18166
+ export type RemoveOrgMemberResponses = {
18167
+ /**
18168
+ * Successful Response
18169
+ */
18170
+ 204: void;
17793
18171
  };
17794
18172
 
17795
- export type InviteOrgMemberErrors = {
18173
+ export type RemoveOrgMemberResponse = RemoveOrgMemberResponses[keyof RemoveOrgMemberResponses];
18174
+
18175
+ export type UpdateOrgMemberRoleData = {
18176
+ body: UpdateMemberRoleRequest;
18177
+ path: {
18178
+ /**
18179
+ * Org Id
18180
+ */
18181
+ org_id: string;
18182
+ /**
18183
+ * User Id
18184
+ */
18185
+ user_id: string;
18186
+ };
18187
+ query?: never;
18188
+ url: '/v1/orgs/{org_id}/members/{user_id}';
18189
+ };
18190
+
18191
+ export type UpdateOrgMemberRoleErrors = {
17796
18192
  /**
17797
18193
  * Invalid request
17798
18194
  */
@@ -17821,24 +18217,136 @@ export type InviteOrgMemberErrors = {
17821
18217
  * Internal server error
17822
18218
  */
17823
18219
  500: ErrorResponse;
18220
+ };
18221
+
18222
+ export type UpdateOrgMemberRoleError = UpdateOrgMemberRoleErrors[keyof UpdateOrgMemberRoleErrors];
18223
+
18224
+ export type UpdateOrgMemberRoleResponses = {
18225
+ /**
18226
+ * Successful Response
18227
+ */
18228
+ 200: OrgMemberResponse;
18229
+ };
18230
+
18231
+ export type UpdateOrgMemberRoleResponse = UpdateOrgMemberRoleResponses[keyof UpdateOrgMemberRoleResponses];
18232
+
18233
+ export type ListOrgInvitationsData = {
18234
+ body?: never;
18235
+ path: {
18236
+ /**
18237
+ * Org Id
18238
+ */
18239
+ org_id: string;
18240
+ };
18241
+ query?: never;
18242
+ url: '/v1/orgs/{org_id}/invitations';
18243
+ };
18244
+
18245
+ export type ListOrgInvitationsErrors = {
18246
+ /**
18247
+ * Invalid request
18248
+ */
18249
+ 400: ErrorResponse;
18250
+ /**
18251
+ * Authentication required
18252
+ */
18253
+ 401: ErrorResponse;
18254
+ /**
18255
+ * Access denied
18256
+ */
18257
+ 403: ErrorResponse;
18258
+ /**
18259
+ * Resource not found
18260
+ */
18261
+ 404: ErrorResponse;
18262
+ /**
18263
+ * Validation Error
18264
+ */
18265
+ 422: HttpValidationError;
18266
+ /**
18267
+ * Rate limit exceeded
18268
+ */
18269
+ 429: ErrorResponse;
18270
+ /**
18271
+ * Internal server error
18272
+ */
18273
+ 500: ErrorResponse;
18274
+ };
18275
+
18276
+ export type ListOrgInvitationsError = ListOrgInvitationsErrors[keyof ListOrgInvitationsErrors];
18277
+
18278
+ export type ListOrgInvitationsResponses = {
18279
+ /**
18280
+ * Successful Response
18281
+ */
18282
+ 200: OrgInvitationListResponse;
18283
+ };
18284
+
18285
+ export type ListOrgInvitationsResponse = ListOrgInvitationsResponses[keyof ListOrgInvitationsResponses];
18286
+
18287
+ export type CreateOrgInvitationData = {
18288
+ body: CreateInvitationRequest;
18289
+ path: {
18290
+ /**
18291
+ * Org Id
18292
+ */
18293
+ org_id: string;
18294
+ };
18295
+ query?: never;
18296
+ url: '/v1/orgs/{org_id}/invitations';
18297
+ };
18298
+
18299
+ export type CreateOrgInvitationErrors = {
18300
+ /**
18301
+ * Invalid request
18302
+ */
18303
+ 400: ErrorResponse;
18304
+ /**
18305
+ * Authentication required
18306
+ */
18307
+ 401: ErrorResponse;
18308
+ /**
18309
+ * Access denied
18310
+ */
18311
+ 403: ErrorResponse;
18312
+ /**
18313
+ * Resource not found
18314
+ */
18315
+ 404: ErrorResponse;
18316
+ /**
18317
+ * Email already registered or invited
18318
+ */
18319
+ 409: ErrorResponse;
18320
+ /**
18321
+ * Validation Error
18322
+ */
18323
+ 422: HttpValidationError;
18324
+ /**
18325
+ * Rate limit exceeded
18326
+ */
18327
+ 429: ErrorResponse;
18328
+ /**
18329
+ * Internal server error
18330
+ */
18331
+ 500: ErrorResponse;
17824
18332
  /**
17825
18333
  * Feature not enabled
17826
18334
  */
17827
18335
  501: ErrorResponse;
17828
18336
  };
17829
18337
 
17830
- export type InviteOrgMemberError = InviteOrgMemberErrors[keyof InviteOrgMemberErrors];
18338
+ export type CreateOrgInvitationError = CreateOrgInvitationErrors[keyof CreateOrgInvitationErrors];
17831
18339
 
17832
- export type InviteOrgMemberResponses = {
18340
+ export type CreateOrgInvitationResponses = {
17833
18341
  /**
17834
18342
  * Successful Response
17835
18343
  */
17836
- 201: OrgMemberResponse;
18344
+ 201: OrgInvitationResponse;
17837
18345
  };
17838
18346
 
17839
- export type InviteOrgMemberResponse = InviteOrgMemberResponses[keyof InviteOrgMemberResponses];
18347
+ export type CreateOrgInvitationResponse = CreateOrgInvitationResponses[keyof CreateOrgInvitationResponses];
17840
18348
 
17841
- export type RemoveOrgMemberData = {
18349
+ export type RevokeOrgInvitationData = {
17842
18350
  body?: never;
17843
18351
  path: {
17844
18352
  /**
@@ -17846,15 +18354,15 @@ export type RemoveOrgMemberData = {
17846
18354
  */
17847
18355
  org_id: string;
17848
18356
  /**
17849
- * User Id
18357
+ * Invitation Id
17850
18358
  */
17851
- user_id: string;
18359
+ invitation_id: string;
17852
18360
  };
17853
18361
  query?: never;
17854
- url: '/v1/orgs/{org_id}/members/{user_id}';
18362
+ url: '/v1/orgs/{org_id}/invitations/{invitation_id}';
17855
18363
  };
17856
18364
 
17857
- export type RemoveOrgMemberErrors = {
18365
+ export type RevokeOrgInvitationErrors = {
17858
18366
  /**
17859
18367
  * Invalid request
17860
18368
  */
@@ -17885,34 +18393,34 @@ export type RemoveOrgMemberErrors = {
17885
18393
  500: ErrorResponse;
17886
18394
  };
17887
18395
 
17888
- export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
18396
+ export type RevokeOrgInvitationError = RevokeOrgInvitationErrors[keyof RevokeOrgInvitationErrors];
17889
18397
 
17890
- export type RemoveOrgMemberResponses = {
18398
+ export type RevokeOrgInvitationResponses = {
17891
18399
  /**
17892
18400
  * Successful Response
17893
18401
  */
17894
18402
  204: void;
17895
18403
  };
17896
18404
 
17897
- export type RemoveOrgMemberResponse = RemoveOrgMemberResponses[keyof RemoveOrgMemberResponses];
18405
+ export type RevokeOrgInvitationResponse = RevokeOrgInvitationResponses[keyof RevokeOrgInvitationResponses];
17898
18406
 
17899
- export type UpdateOrgMemberRoleData = {
17900
- body: UpdateMemberRoleRequest;
18407
+ export type ResendOrgInvitationData = {
18408
+ body?: never;
17901
18409
  path: {
17902
18410
  /**
17903
18411
  * Org Id
17904
18412
  */
17905
18413
  org_id: string;
17906
18414
  /**
17907
- * User Id
18415
+ * Invitation Id
17908
18416
  */
17909
- user_id: string;
18417
+ invitation_id: string;
17910
18418
  };
17911
18419
  query?: never;
17912
- url: '/v1/orgs/{org_id}/members/{user_id}';
18420
+ url: '/v1/orgs/{org_id}/invitations/{invitation_id}/resend';
17913
18421
  };
17914
18422
 
17915
- export type UpdateOrgMemberRoleErrors = {
18423
+ export type ResendOrgInvitationErrors = {
17916
18424
  /**
17917
18425
  * Invalid request
17918
18426
  */
@@ -17941,18 +18449,22 @@ export type UpdateOrgMemberRoleErrors = {
17941
18449
  * Internal server error
17942
18450
  */
17943
18451
  500: ErrorResponse;
18452
+ /**
18453
+ * Feature not enabled
18454
+ */
18455
+ 501: ErrorResponse;
17944
18456
  };
17945
18457
 
17946
- export type UpdateOrgMemberRoleError = UpdateOrgMemberRoleErrors[keyof UpdateOrgMemberRoleErrors];
18458
+ export type ResendOrgInvitationError = ResendOrgInvitationErrors[keyof ResendOrgInvitationErrors];
17947
18459
 
17948
- export type UpdateOrgMemberRoleResponses = {
18460
+ export type ResendOrgInvitationResponses = {
17949
18461
  /**
17950
18462
  * Successful Response
17951
18463
  */
17952
- 200: OrgMemberResponse;
18464
+ 200: OrgInvitationResponse;
17953
18465
  };
17954
18466
 
17955
- export type UpdateOrgMemberRoleResponse = UpdateOrgMemberRoleResponses[keyof UpdateOrgMemberRoleResponses];
18467
+ export type ResendOrgInvitationResponse = ResendOrgInvitationResponses[keyof ResendOrgInvitationResponses];
17956
18468
 
17957
18469
  export type GetOrgLimitsData = {
17958
18470
  body?: never;
@@ -20017,6 +20529,238 @@ export type GetGraphLimitsResponses = {
20017
20529
 
20018
20530
  export type GetGraphLimitsResponse = GetGraphLimitsResponses[keyof GetGraphLimitsResponses];
20019
20531
 
20532
+ export type ListGraphMembersData = {
20533
+ body?: never;
20534
+ path: {
20535
+ /**
20536
+ * Graph Id
20537
+ *
20538
+ * Graph identifier
20539
+ */
20540
+ graph_id: string;
20541
+ };
20542
+ query?: never;
20543
+ url: '/v1/graphs/{graph_id}/members';
20544
+ };
20545
+
20546
+ export type ListGraphMembersErrors = {
20547
+ /**
20548
+ * Invalid request
20549
+ */
20550
+ 400: ErrorResponse;
20551
+ /**
20552
+ * Authentication required
20553
+ */
20554
+ 401: ErrorResponse;
20555
+ /**
20556
+ * Access denied
20557
+ */
20558
+ 403: ErrorResponse;
20559
+ /**
20560
+ * Resource not found
20561
+ */
20562
+ 404: ErrorResponse;
20563
+ /**
20564
+ * Validation Error
20565
+ */
20566
+ 422: HttpValidationError;
20567
+ /**
20568
+ * Rate limit exceeded
20569
+ */
20570
+ 429: ErrorResponse;
20571
+ /**
20572
+ * Internal server error
20573
+ */
20574
+ 500: ErrorResponse;
20575
+ };
20576
+
20577
+ export type ListGraphMembersError = ListGraphMembersErrors[keyof ListGraphMembersErrors];
20578
+
20579
+ export type ListGraphMembersResponses = {
20580
+ /**
20581
+ * Successful Response
20582
+ */
20583
+ 200: GraphMemberListResponse;
20584
+ };
20585
+
20586
+ export type ListGraphMembersResponse = ListGraphMembersResponses[keyof ListGraphMembersResponses];
20587
+
20588
+ export type AddGraphMemberData = {
20589
+ body: AddGraphMemberRequest;
20590
+ path: {
20591
+ /**
20592
+ * Graph Id
20593
+ *
20594
+ * Graph identifier
20595
+ */
20596
+ graph_id: string;
20597
+ };
20598
+ query?: never;
20599
+ url: '/v1/graphs/{graph_id}/members';
20600
+ };
20601
+
20602
+ export type AddGraphMemberErrors = {
20603
+ /**
20604
+ * Invalid request
20605
+ */
20606
+ 400: ErrorResponse;
20607
+ /**
20608
+ * Authentication required
20609
+ */
20610
+ 401: ErrorResponse;
20611
+ /**
20612
+ * Access denied
20613
+ */
20614
+ 403: ErrorResponse;
20615
+ /**
20616
+ * Resource not found
20617
+ */
20618
+ 404: ErrorResponse;
20619
+ /**
20620
+ * Validation Error
20621
+ */
20622
+ 422: HttpValidationError;
20623
+ /**
20624
+ * Rate limit exceeded
20625
+ */
20626
+ 429: ErrorResponse;
20627
+ /**
20628
+ * Internal server error
20629
+ */
20630
+ 500: ErrorResponse;
20631
+ };
20632
+
20633
+ export type AddGraphMemberError = AddGraphMemberErrors[keyof AddGraphMemberErrors];
20634
+
20635
+ export type AddGraphMemberResponses = {
20636
+ /**
20637
+ * Successful Response
20638
+ */
20639
+ 201: GraphMemberResponse;
20640
+ };
20641
+
20642
+ export type AddGraphMemberResponse = AddGraphMemberResponses[keyof AddGraphMemberResponses];
20643
+
20644
+ export type RemoveGraphMemberData = {
20645
+ body?: never;
20646
+ path: {
20647
+ /**
20648
+ * User Id
20649
+ */
20650
+ user_id: string;
20651
+ /**
20652
+ * Graph Id
20653
+ *
20654
+ * Graph identifier
20655
+ */
20656
+ graph_id: string;
20657
+ };
20658
+ query?: never;
20659
+ url: '/v1/graphs/{graph_id}/members/{user_id}';
20660
+ };
20661
+
20662
+ export type RemoveGraphMemberErrors = {
20663
+ /**
20664
+ * Invalid request
20665
+ */
20666
+ 400: ErrorResponse;
20667
+ /**
20668
+ * Authentication required
20669
+ */
20670
+ 401: ErrorResponse;
20671
+ /**
20672
+ * Access denied
20673
+ */
20674
+ 403: ErrorResponse;
20675
+ /**
20676
+ * Resource not found
20677
+ */
20678
+ 404: ErrorResponse;
20679
+ /**
20680
+ * Validation Error
20681
+ */
20682
+ 422: HttpValidationError;
20683
+ /**
20684
+ * Rate limit exceeded
20685
+ */
20686
+ 429: ErrorResponse;
20687
+ /**
20688
+ * Internal server error
20689
+ */
20690
+ 500: ErrorResponse;
20691
+ };
20692
+
20693
+ export type RemoveGraphMemberError = RemoveGraphMemberErrors[keyof RemoveGraphMemberErrors];
20694
+
20695
+ export type RemoveGraphMemberResponses = {
20696
+ /**
20697
+ * Successful Response
20698
+ */
20699
+ 204: void;
20700
+ };
20701
+
20702
+ export type RemoveGraphMemberResponse = RemoveGraphMemberResponses[keyof RemoveGraphMemberResponses];
20703
+
20704
+ export type UpdateGraphMemberRoleData = {
20705
+ body: UpdateGraphMemberRoleRequest;
20706
+ path: {
20707
+ /**
20708
+ * User Id
20709
+ */
20710
+ user_id: string;
20711
+ /**
20712
+ * Graph Id
20713
+ *
20714
+ * Graph identifier
20715
+ */
20716
+ graph_id: string;
20717
+ };
20718
+ query?: never;
20719
+ url: '/v1/graphs/{graph_id}/members/{user_id}';
20720
+ };
20721
+
20722
+ export type UpdateGraphMemberRoleErrors = {
20723
+ /**
20724
+ * Invalid request
20725
+ */
20726
+ 400: ErrorResponse;
20727
+ /**
20728
+ * Authentication required
20729
+ */
20730
+ 401: ErrorResponse;
20731
+ /**
20732
+ * Access denied
20733
+ */
20734
+ 403: ErrorResponse;
20735
+ /**
20736
+ * Resource not found
20737
+ */
20738
+ 404: ErrorResponse;
20739
+ /**
20740
+ * Validation Error
20741
+ */
20742
+ 422: HttpValidationError;
20743
+ /**
20744
+ * Rate limit exceeded
20745
+ */
20746
+ 429: ErrorResponse;
20747
+ /**
20748
+ * Internal server error
20749
+ */
20750
+ 500: ErrorResponse;
20751
+ };
20752
+
20753
+ export type UpdateGraphMemberRoleError = UpdateGraphMemberRoleErrors[keyof UpdateGraphMemberRoleErrors];
20754
+
20755
+ export type UpdateGraphMemberRoleResponses = {
20756
+ /**
20757
+ * Successful Response
20758
+ */
20759
+ 200: GraphMemberResponse;
20760
+ };
20761
+
20762
+ export type UpdateGraphMemberRoleResponse = UpdateGraphMemberRoleResponses[keyof UpdateGraphMemberRoleResponses];
20763
+
20020
20764
  export type ListSubgraphsData = {
20021
20765
  body?: never;
20022
20766
  path: {