@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.
@@ -94,6 +94,23 @@ export type AccountInfo = {
94
94
  */
95
95
  provider_account_id: string;
96
96
  };
97
+ /**
98
+ * AddGraphMemberRequest
99
+ *
100
+ * Request to grant an org member access to a graph.
101
+ */
102
+ export type AddGraphMemberRequest = {
103
+ /**
104
+ * User Id
105
+ *
106
+ * User to grant access to (must belong to the graph's organization)
107
+ */
108
+ user_id: string;
109
+ /**
110
+ * Graph role: viewer (read-only), member (read/write), admin (full control)
111
+ */
112
+ role?: GraphRole;
113
+ };
97
114
  /**
98
115
  * AddPublishListMembersOperation
99
116
  *
@@ -1154,6 +1171,12 @@ export type CancelSubscriptionRequest = {
1154
1171
  * Required when immediate=True. Must equal the subscription's resource_id (e.g. graph_id) to confirm intent.
1155
1172
  */
1156
1173
  confirm?: string | null;
1174
+ /**
1175
+ * User Id
1176
+ *
1177
+ * Organization member whose subscription to cancel. Defaults to the caller; canceling another member's requires org owner or admin.
1178
+ */
1179
+ user_id?: string | null;
1157
1180
  };
1158
1181
  /**
1159
1182
  * ChangeReportingStyleRequest
@@ -2563,6 +2586,18 @@ export type CreateInformationBlockRequest = ({
2563
2586
  } & CreateForecastArm) | ({
2564
2587
  block_type: 'balance_sheet' | 'cash_flow_statement' | 'comprehensive_income' | 'equity_statement' | 'income_statement' | 'metric' | 'regulatory_disclosure';
2565
2588
  } & CreateLegacyArm);
2589
+ /**
2590
+ * CreateInvitationRequest
2591
+ *
2592
+ * Request to invite a new user to an organization by email.
2593
+ */
2594
+ export type CreateInvitationRequest = {
2595
+ /**
2596
+ * Email
2597
+ */
2598
+ email: string;
2599
+ role?: OrgRole;
2600
+ };
2566
2601
  /**
2567
2602
  * CreateMappingAssociationOperation
2568
2603
  *
@@ -3097,7 +3132,13 @@ export type CreateViewRequest = {
3097
3132
  */
3098
3133
  include_summary?: boolean;
3099
3134
  /**
3100
- * View/pivot configuration
3135
+ * Limit
3136
+ *
3137
+ * 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.
3138
+ */
3139
+ limit?: number;
3140
+ /**
3141
+ * Aspect scoping configuration
3101
3142
  */
3102
3143
  view_config?: ViewConfig;
3103
3144
  };
@@ -3951,6 +3992,31 @@ export type DetailedTransactionsResponse = {
3951
3992
  [key: string]: string;
3952
3993
  };
3953
3994
  };
3995
+ /**
3996
+ * Dimension
3997
+ */
3998
+ export type Dimension = {
3999
+ /**
4000
+ * Name
4001
+ *
4002
+ * Dimension name (e.g., 'Element', 'Period')
4003
+ */
4004
+ name: string;
4005
+ /**
4006
+ * Dimension type
4007
+ */
4008
+ type: DimensionType;
4009
+ /**
4010
+ * Members
4011
+ *
4012
+ * List of dimension members
4013
+ */
4014
+ members?: Array<string>;
4015
+ };
4016
+ /**
4017
+ * DimensionType
4018
+ */
4019
+ export type DimensionType = 'element' | 'period' | 'entity';
3954
4020
  /**
3955
4021
  * DocumentDetailResponse
3956
4022
  *
@@ -4252,6 +4318,41 @@ export type ElementLite = {
4252
4318
  */
4253
4319
  documentation?: string | null;
4254
4320
  };
4321
+ /**
4322
+ * ElementSummary
4323
+ */
4324
+ export type ElementSummary = {
4325
+ /**
4326
+ * Count
4327
+ *
4328
+ * Number of facts for this element
4329
+ */
4330
+ count: number;
4331
+ /**
4332
+ * Total
4333
+ *
4334
+ * Sum of values across the returned facts
4335
+ */
4336
+ total: number;
4337
+ /**
4338
+ * Average
4339
+ *
4340
+ * Mean value across the returned facts
4341
+ */
4342
+ average: number;
4343
+ /**
4344
+ * Min
4345
+ *
4346
+ * Minimum value across the returned facts
4347
+ */
4348
+ min: number;
4349
+ /**
4350
+ * Max
4351
+ *
4352
+ * Maximum value across the returned facts
4353
+ */
4354
+ max: number;
4355
+ };
4255
4356
  /**
4256
4357
  * ElementUpdatePatch
4257
4358
  *
@@ -4995,6 +5096,53 @@ export type FactLite = {
4995
5096
  */
4996
5097
  fact_set_id?: string | null;
4997
5098
  };
5099
+ /**
5100
+ * FactRecord
5101
+ */
5102
+ export type FactRecord = {
5103
+ /**
5104
+ * Element Id
5105
+ *
5106
+ * Element qname (e.g., 'us-gaap:Assets')
5107
+ */
5108
+ element_id: string;
5109
+ /**
5110
+ * Element Name
5111
+ *
5112
+ * Element local name
5113
+ */
5114
+ element_name?: string | null;
5115
+ /**
5116
+ * Period End
5117
+ *
5118
+ * Period end date (YYYY-MM-DD)
5119
+ */
5120
+ period_end?: string | null;
5121
+ /**
5122
+ * Value
5123
+ *
5124
+ * Numeric fact value
5125
+ */
5126
+ value?: number | null;
5127
+ /**
5128
+ * Unit
5129
+ *
5130
+ * Unit of measure (e.g., 'USD')
5131
+ */
5132
+ unit?: string | null;
5133
+ /**
5134
+ * Entity Ticker
5135
+ *
5136
+ * Entity ticker; present only when an entity filter was applied
5137
+ */
5138
+ entity_ticker?: string | null;
5139
+ /**
5140
+ * Entity Name
5141
+ *
5142
+ * Entity name; present only when an entity filter was applied
5143
+ */
5144
+ entity_name?: string | null;
5145
+ };
4998
5146
  /**
4999
5147
  * FactSetLite
5000
5148
  *
@@ -5781,6 +5929,57 @@ export type GraphLimitsResponse = {
5781
5929
  */
5782
5930
  instance?: InstanceUsage | null;
5783
5931
  };
5932
+ /**
5933
+ * GraphMemberListResponse
5934
+ *
5935
+ * All users with access to a graph.
5936
+ */
5937
+ export type GraphMemberListResponse = {
5938
+ /**
5939
+ * Members
5940
+ */
5941
+ members: Array<GraphMemberResponse>;
5942
+ /**
5943
+ * Total
5944
+ */
5945
+ total: number;
5946
+ /**
5947
+ * Graph Id
5948
+ */
5949
+ graph_id: string;
5950
+ };
5951
+ /**
5952
+ * GraphMemberResponse
5953
+ *
5954
+ * A user with access to a graph.
5955
+ */
5956
+ export type GraphMemberResponse = {
5957
+ /**
5958
+ * User Id
5959
+ */
5960
+ user_id: string;
5961
+ /**
5962
+ * Name
5963
+ */
5964
+ name: string;
5965
+ /**
5966
+ * Email
5967
+ */
5968
+ email: string;
5969
+ role: GraphRole;
5970
+ /**
5971
+ * Source
5972
+ *
5973
+ * 'explicit' for a direct grant; 'org_role' for implicit admin held by org owners/admins
5974
+ */
5975
+ source: 'explicit' | 'org_role';
5976
+ /**
5977
+ * Granted At
5978
+ *
5979
+ * When the explicit grant was created (null for implicit access)
5980
+ */
5981
+ granted_at?: string | null;
5982
+ };
5784
5983
  /**
5785
5984
  * GraphMetadata
5786
5985
  *
@@ -5887,6 +6086,12 @@ export type GraphMetricsResponse = {
5887
6086
  [key: string]: unknown;
5888
6087
  };
5889
6088
  };
6089
+ /**
6090
+ * GraphRole
6091
+ *
6092
+ * Ordered per-graph roles: viewer < member < admin.
6093
+ */
6094
+ export type GraphRole = 'viewer' | 'member' | 'admin';
5890
6095
  /**
5891
6096
  * GraphSubscriptionResponse
5892
6097
  *
@@ -5911,6 +6116,12 @@ export type GraphSubscriptionResponse = {
5911
6116
  * Resource identifier
5912
6117
  */
5913
6118
  resource_id: string;
6119
+ /**
6120
+ * User Id
6121
+ *
6122
+ * Organization member the subscription belongs to. Set for repository subscriptions, which are billed to the org but granted per user.
6123
+ */
6124
+ user_id?: string | null;
5914
6125
  /**
5915
6126
  * Plan Name
5916
6127
  *
@@ -6777,16 +6988,24 @@ export type InstanceUsage = {
6777
6988
  items?: Array<StorageItem>;
6778
6989
  };
6779
6990
  /**
6780
- * InviteMemberRequest
6991
+ * InvitationPreviewResponse
6781
6992
  *
6782
- * Request to invite a member to an organization.
6993
+ * Public preview of an invitation, looked up by its token.
6783
6994
  */
6784
- export type InviteMemberRequest = {
6995
+ export type InvitationPreviewResponse = {
6996
+ /**
6997
+ * Org Name
6998
+ */
6999
+ org_name: string;
6785
7000
  /**
6786
7001
  * Email
6787
7002
  */
6788
7003
  email: string;
6789
- role?: OrgRole | null;
7004
+ role: OrgRole;
7005
+ /**
7006
+ * Expires At
7007
+ */
7008
+ expires_at: string;
6790
7009
  };
6791
7010
  /**
6792
7011
  * Invoice
@@ -10432,6 +10651,69 @@ export type OrgDetailResponse = {
10432
10651
  */
10433
10652
  updated_at: string;
10434
10653
  };
10654
+ /**
10655
+ * OrgInvitationListResponse
10656
+ *
10657
+ * List of pending organization invitations response.
10658
+ */
10659
+ export type OrgInvitationListResponse = {
10660
+ /**
10661
+ * Invitations
10662
+ */
10663
+ invitations: Array<OrgInvitationResponse>;
10664
+ /**
10665
+ * Total
10666
+ */
10667
+ total: number;
10668
+ /**
10669
+ * Org Id
10670
+ */
10671
+ org_id: string;
10672
+ };
10673
+ /**
10674
+ * OrgInvitationResponse
10675
+ *
10676
+ * Organization invitation response.
10677
+ */
10678
+ export type OrgInvitationResponse = {
10679
+ /**
10680
+ * Id
10681
+ */
10682
+ id: string;
10683
+ /**
10684
+ * Org Id
10685
+ */
10686
+ org_id: string;
10687
+ /**
10688
+ * Email
10689
+ */
10690
+ email: string;
10691
+ role: OrgRole;
10692
+ /**
10693
+ * Status
10694
+ */
10695
+ status: string;
10696
+ /**
10697
+ * Invited By User Id
10698
+ */
10699
+ invited_by_user_id: string;
10700
+ /**
10701
+ * Invited By Name
10702
+ */
10703
+ invited_by_name: string | null;
10704
+ /**
10705
+ * Created At
10706
+ */
10707
+ created_at: string;
10708
+ /**
10709
+ * Expires At
10710
+ */
10711
+ expires_at: string;
10712
+ /**
10713
+ * Is Expired
10714
+ */
10715
+ is_expired: boolean;
10716
+ };
10435
10717
  /**
10436
10718
  * OrgLimitsResponse
10437
10719
  *
@@ -11666,6 +11948,12 @@ export type RegisterRequest = {
11666
11948
  * CAPTCHA verification token (required in production)
11667
11949
  */
11668
11950
  captcha_token?: string | null;
11951
+ /**
11952
+ * Invite Token
11953
+ *
11954
+ * 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.
11955
+ */
11956
+ invite_token?: string | null;
11669
11957
  };
11670
11958
  /**
11671
11959
  * RememberOp
@@ -15015,6 +15303,14 @@ export type UpdateForecastRequest = {
15015
15303
  */
15016
15304
  line_growth?: Array<LineGrowthRequest> | null;
15017
15305
  };
15306
+ /**
15307
+ * UpdateGraphMemberRoleRequest
15308
+ *
15309
+ * Request to change a graph member's role.
15310
+ */
15311
+ export type UpdateGraphMemberRoleRequest = {
15312
+ role: GraphRole;
15313
+ };
15018
15314
  /**
15019
15315
  * UpdateInformationBlockRequest
15020
15316
  *
@@ -15467,6 +15763,12 @@ export type UpgradeSubscriptionRequest = {
15467
15763
  * New plan name to change to
15468
15764
  */
15469
15765
  new_plan_name: string;
15766
+ /**
15767
+ * User Id
15768
+ *
15769
+ * Organization member whose subscription to change. Defaults to the caller; targeting another member requires org owner or admin.
15770
+ */
15771
+ user_id?: string | null;
15470
15772
  };
15471
15773
  /**
15472
15774
  * UserGraphsResponse
@@ -15705,24 +16007,23 @@ export type VerificationSummary = {
15705
16007
  };
15706
16008
  /**
15707
16009
  * ViewAxisConfig
16010
+ *
16011
+ * Scoping configuration for one aspect of the fact query.
16012
+ *
16013
+ * Filtering only. Ordering and labelling are presentation concerns and
16014
+ * belong to the consumer that arranges the facts into a table.
15708
16015
  */
15709
16016
  export type ViewAxisConfig = {
15710
16017
  /**
15711
16018
  * Type
15712
16019
  *
15713
- * Axis type: 'element', 'period', 'dimension', 'entity'
16020
+ * Axis type: 'element', 'period', 'entity'
15714
16021
  */
15715
16022
  type: string;
15716
- /**
15717
- * Dimension Axis
15718
- *
15719
- * Dimension axis name for dimension-type axes
15720
- */
15721
- dimension_axis?: string | null;
15722
16023
  /**
15723
16024
  * Include Null Dimension
15724
16025
  *
15725
- * Include facts where this dimension is NULL (default: false)
16026
+ * Include facts where this aspect is absent (default: false)
15726
16027
  */
15727
16028
  include_null_dimension?: boolean;
15728
16029
  /**
@@ -15731,34 +16032,6 @@ export type ViewAxisConfig = {
15731
16032
  * Specific members to include (e.g., ['2024-12-31', '2023-12-31'])
15732
16033
  */
15733
16034
  selected_members?: Array<string> | null;
15734
- /**
15735
- * Member Order
15736
- *
15737
- * Explicit ordering of members (overrides default sort)
15738
- */
15739
- member_order?: Array<string> | null;
15740
- /**
15741
- * Member Labels
15742
- *
15743
- * Custom labels for members (e.g., {'2024-12-31': 'Current Year'})
15744
- */
15745
- member_labels?: {
15746
- [key: string]: string;
15747
- } | null;
15748
- /**
15749
- * Element Order
15750
- *
15751
- * Element ordering for hierarchy display (e.g., ['us-gaap:Assets', 'us-gaap:Cash', ...])
15752
- */
15753
- element_order?: Array<string> | null;
15754
- /**
15755
- * Element Labels
15756
- *
15757
- * Custom labels for elements (e.g., {'us-gaap:Cash': 'Cash and Cash Equivalents'})
15758
- */
15759
- element_labels?: {
15760
- [key: string]: string;
15761
- } | null;
15762
16035
  };
15763
16036
  /**
15764
16037
  * ViewConfig
@@ -15776,24 +16049,6 @@ export type ViewConfig = {
15776
16049
  * Column axis configuration
15777
16050
  */
15778
16051
  columns?: Array<ViewAxisConfig>;
15779
- /**
15780
- * Values
15781
- *
15782
- * Field to use for values (default: numeric_value)
15783
- */
15784
- values?: string;
15785
- /**
15786
- * Aggregation Function
15787
- *
15788
- * Aggregation function: sum, average, count
15789
- */
15790
- aggregation_function?: string;
15791
- /**
15792
- * Fill Value
15793
- *
15794
- * Value to use for missing data
15795
- */
15796
- fill_value?: number;
15797
16052
  };
15798
16053
  /**
15799
16054
  * ViewMetadata
@@ -15835,6 +16090,12 @@ export type ViewMetadata = {
15835
16090
  * Period end date
15836
16091
  */
15837
16092
  period_end?: string | null;
16093
+ /**
16094
+ * Truncated
16095
+ *
16096
+ * 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.
16097
+ */
16098
+ truncated?: boolean;
15838
16099
  };
15839
16100
  /**
15840
16101
  * ViewProjections
@@ -15862,6 +16123,13 @@ export type ViewProjections = {
15862
16123
  };
15863
16124
  /**
15864
16125
  * ViewResponse
16126
+ *
16127
+ * Flat, deduplicated facts plus the aspects they span.
16128
+ *
16129
+ * No server-side pivot: each fact is returned as its own record so the
16130
+ * consumer can arrange cells on the full aspect signature. Summing across
16131
+ * entities, units, or elements that merely share a local name is a
16132
+ * presentation decision this endpoint refuses to make on the caller's behalf.
15865
16133
  */
15866
16134
  export type ViewResponse = {
15867
16135
  /**
@@ -15869,13 +16137,25 @@ export type ViewResponse = {
15869
16137
  */
15870
16138
  metadata: ViewMetadata;
15871
16139
  /**
15872
- * Presentations
16140
+ * Dimensions
15873
16141
  *
15874
- * Presentation formats (pivot_table, narrative, etc.)
16142
+ * Aspects spanned by the returned facts
15875
16143
  */
15876
- presentations: {
15877
- [key: string]: unknown;
15878
- };
16144
+ dimensions?: Array<Dimension>;
16145
+ /**
16146
+ * Facts
16147
+ *
16148
+ * Deduplicated fact records
16149
+ */
16150
+ facts?: Array<FactRecord>;
16151
+ /**
16152
+ * Summary
16153
+ *
16154
+ * 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.
16155
+ */
16156
+ summary?: {
16157
+ [key: string]: ElementSummary;
16158
+ } | null;
15879
16159
  };
15880
16160
  /**
15881
16161
  * _CreateForecastArm
@@ -16395,6 +16675,43 @@ export type VerifyEmailResponses = {
16395
16675
  200: AuthResponse;
16396
16676
  };
16397
16677
  export type VerifyEmailResponse = VerifyEmailResponses[keyof VerifyEmailResponses];
16678
+ export type GetInvitationPreviewData = {
16679
+ body?: never;
16680
+ path: {
16681
+ /**
16682
+ * Token
16683
+ */
16684
+ token: string;
16685
+ };
16686
+ query?: never;
16687
+ url: '/v1/auth/invitations/{token}';
16688
+ };
16689
+ export type GetInvitationPreviewErrors = {
16690
+ /**
16691
+ * Invalid request
16692
+ */
16693
+ 400: ErrorResponse;
16694
+ /**
16695
+ * Validation Error
16696
+ */
16697
+ 422: HttpValidationError;
16698
+ /**
16699
+ * Rate limit exceeded
16700
+ */
16701
+ 429: ErrorResponse;
16702
+ /**
16703
+ * Internal server error
16704
+ */
16705
+ 500: ErrorResponse;
16706
+ };
16707
+ export type GetInvitationPreviewError = GetInvitationPreviewErrors[keyof GetInvitationPreviewErrors];
16708
+ export type GetInvitationPreviewResponses = {
16709
+ /**
16710
+ * Successful Response
16711
+ */
16712
+ 200: InvitationPreviewResponse;
16713
+ };
16714
+ export type GetInvitationPreviewResponse = GetInvitationPreviewResponses[keyof GetInvitationPreviewResponses];
16398
16715
  export type GetPasswordPolicyData = {
16399
16716
  body?: never;
16400
16717
  path?: never;
@@ -17228,18 +17545,75 @@ export type ListOrgMembersResponses = {
17228
17545
  200: OrgMemberListResponse;
17229
17546
  };
17230
17547
  export type ListOrgMembersResponse = ListOrgMembersResponses[keyof ListOrgMembersResponses];
17231
- export type InviteOrgMemberData = {
17232
- body: InviteMemberRequest;
17548
+ export type RemoveOrgMemberData = {
17549
+ body?: never;
17233
17550
  path: {
17234
17551
  /**
17235
17552
  * Org Id
17236
17553
  */
17237
17554
  org_id: string;
17555
+ /**
17556
+ * User Id
17557
+ */
17558
+ user_id: string;
17238
17559
  };
17239
17560
  query?: never;
17240
- url: '/v1/orgs/{org_id}/members';
17561
+ url: '/v1/orgs/{org_id}/members/{user_id}';
17562
+ };
17563
+ export type RemoveOrgMemberErrors = {
17564
+ /**
17565
+ * Invalid request
17566
+ */
17567
+ 400: ErrorResponse;
17568
+ /**
17569
+ * Authentication required
17570
+ */
17571
+ 401: ErrorResponse;
17572
+ /**
17573
+ * Access denied
17574
+ */
17575
+ 403: ErrorResponse;
17576
+ /**
17577
+ * Resource not found
17578
+ */
17579
+ 404: ErrorResponse;
17580
+ /**
17581
+ * Validation Error
17582
+ */
17583
+ 422: HttpValidationError;
17584
+ /**
17585
+ * Rate limit exceeded
17586
+ */
17587
+ 429: ErrorResponse;
17588
+ /**
17589
+ * Internal server error
17590
+ */
17591
+ 500: ErrorResponse;
17592
+ };
17593
+ export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
17594
+ export type RemoveOrgMemberResponses = {
17595
+ /**
17596
+ * Successful Response
17597
+ */
17598
+ 204: void;
17599
+ };
17600
+ export type RemoveOrgMemberResponse = RemoveOrgMemberResponses[keyof RemoveOrgMemberResponses];
17601
+ export type UpdateOrgMemberRoleData = {
17602
+ body: UpdateMemberRoleRequest;
17603
+ path: {
17604
+ /**
17605
+ * Org Id
17606
+ */
17607
+ org_id: string;
17608
+ /**
17609
+ * User Id
17610
+ */
17611
+ user_id: string;
17612
+ };
17613
+ query?: never;
17614
+ url: '/v1/orgs/{org_id}/members/{user_id}';
17241
17615
  };
17242
- export type InviteOrgMemberErrors = {
17616
+ export type UpdateOrgMemberRoleErrors = {
17243
17617
  /**
17244
17618
  * Invalid request
17245
17619
  */
@@ -17268,20 +17642,122 @@ export type InviteOrgMemberErrors = {
17268
17642
  * Internal server error
17269
17643
  */
17270
17644
  500: ErrorResponse;
17645
+ };
17646
+ export type UpdateOrgMemberRoleError = UpdateOrgMemberRoleErrors[keyof UpdateOrgMemberRoleErrors];
17647
+ export type UpdateOrgMemberRoleResponses = {
17648
+ /**
17649
+ * Successful Response
17650
+ */
17651
+ 200: OrgMemberResponse;
17652
+ };
17653
+ export type UpdateOrgMemberRoleResponse = UpdateOrgMemberRoleResponses[keyof UpdateOrgMemberRoleResponses];
17654
+ export type ListOrgInvitationsData = {
17655
+ body?: never;
17656
+ path: {
17657
+ /**
17658
+ * Org Id
17659
+ */
17660
+ org_id: string;
17661
+ };
17662
+ query?: never;
17663
+ url: '/v1/orgs/{org_id}/invitations';
17664
+ };
17665
+ export type ListOrgInvitationsErrors = {
17666
+ /**
17667
+ * Invalid request
17668
+ */
17669
+ 400: ErrorResponse;
17670
+ /**
17671
+ * Authentication required
17672
+ */
17673
+ 401: ErrorResponse;
17674
+ /**
17675
+ * Access denied
17676
+ */
17677
+ 403: ErrorResponse;
17678
+ /**
17679
+ * Resource not found
17680
+ */
17681
+ 404: ErrorResponse;
17682
+ /**
17683
+ * Validation Error
17684
+ */
17685
+ 422: HttpValidationError;
17686
+ /**
17687
+ * Rate limit exceeded
17688
+ */
17689
+ 429: ErrorResponse;
17690
+ /**
17691
+ * Internal server error
17692
+ */
17693
+ 500: ErrorResponse;
17694
+ };
17695
+ export type ListOrgInvitationsError = ListOrgInvitationsErrors[keyof ListOrgInvitationsErrors];
17696
+ export type ListOrgInvitationsResponses = {
17697
+ /**
17698
+ * Successful Response
17699
+ */
17700
+ 200: OrgInvitationListResponse;
17701
+ };
17702
+ export type ListOrgInvitationsResponse = ListOrgInvitationsResponses[keyof ListOrgInvitationsResponses];
17703
+ export type CreateOrgInvitationData = {
17704
+ body: CreateInvitationRequest;
17705
+ path: {
17706
+ /**
17707
+ * Org Id
17708
+ */
17709
+ org_id: string;
17710
+ };
17711
+ query?: never;
17712
+ url: '/v1/orgs/{org_id}/invitations';
17713
+ };
17714
+ export type CreateOrgInvitationErrors = {
17715
+ /**
17716
+ * Invalid request
17717
+ */
17718
+ 400: ErrorResponse;
17719
+ /**
17720
+ * Authentication required
17721
+ */
17722
+ 401: ErrorResponse;
17723
+ /**
17724
+ * Access denied
17725
+ */
17726
+ 403: ErrorResponse;
17727
+ /**
17728
+ * Resource not found
17729
+ */
17730
+ 404: ErrorResponse;
17731
+ /**
17732
+ * Email already registered or invited
17733
+ */
17734
+ 409: ErrorResponse;
17735
+ /**
17736
+ * Validation Error
17737
+ */
17738
+ 422: HttpValidationError;
17739
+ /**
17740
+ * Rate limit exceeded
17741
+ */
17742
+ 429: ErrorResponse;
17743
+ /**
17744
+ * Internal server error
17745
+ */
17746
+ 500: ErrorResponse;
17271
17747
  /**
17272
17748
  * Feature not enabled
17273
17749
  */
17274
17750
  501: ErrorResponse;
17275
17751
  };
17276
- export type InviteOrgMemberError = InviteOrgMemberErrors[keyof InviteOrgMemberErrors];
17277
- export type InviteOrgMemberResponses = {
17752
+ export type CreateOrgInvitationError = CreateOrgInvitationErrors[keyof CreateOrgInvitationErrors];
17753
+ export type CreateOrgInvitationResponses = {
17278
17754
  /**
17279
17755
  * Successful Response
17280
17756
  */
17281
- 201: OrgMemberResponse;
17757
+ 201: OrgInvitationResponse;
17282
17758
  };
17283
- export type InviteOrgMemberResponse = InviteOrgMemberResponses[keyof InviteOrgMemberResponses];
17284
- export type RemoveOrgMemberData = {
17759
+ export type CreateOrgInvitationResponse = CreateOrgInvitationResponses[keyof CreateOrgInvitationResponses];
17760
+ export type RevokeOrgInvitationData = {
17285
17761
  body?: never;
17286
17762
  path: {
17287
17763
  /**
@@ -17289,14 +17765,14 @@ export type RemoveOrgMemberData = {
17289
17765
  */
17290
17766
  org_id: string;
17291
17767
  /**
17292
- * User Id
17768
+ * Invitation Id
17293
17769
  */
17294
- user_id: string;
17770
+ invitation_id: string;
17295
17771
  };
17296
17772
  query?: never;
17297
- url: '/v1/orgs/{org_id}/members/{user_id}';
17773
+ url: '/v1/orgs/{org_id}/invitations/{invitation_id}';
17298
17774
  };
17299
- export type RemoveOrgMemberErrors = {
17775
+ export type RevokeOrgInvitationErrors = {
17300
17776
  /**
17301
17777
  * Invalid request
17302
17778
  */
@@ -17326,30 +17802,30 @@ export type RemoveOrgMemberErrors = {
17326
17802
  */
17327
17803
  500: ErrorResponse;
17328
17804
  };
17329
- export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
17330
- export type RemoveOrgMemberResponses = {
17805
+ export type RevokeOrgInvitationError = RevokeOrgInvitationErrors[keyof RevokeOrgInvitationErrors];
17806
+ export type RevokeOrgInvitationResponses = {
17331
17807
  /**
17332
17808
  * Successful Response
17333
17809
  */
17334
17810
  204: void;
17335
17811
  };
17336
- export type RemoveOrgMemberResponse = RemoveOrgMemberResponses[keyof RemoveOrgMemberResponses];
17337
- export type UpdateOrgMemberRoleData = {
17338
- body: UpdateMemberRoleRequest;
17812
+ export type RevokeOrgInvitationResponse = RevokeOrgInvitationResponses[keyof RevokeOrgInvitationResponses];
17813
+ export type ResendOrgInvitationData = {
17814
+ body?: never;
17339
17815
  path: {
17340
17816
  /**
17341
17817
  * Org Id
17342
17818
  */
17343
17819
  org_id: string;
17344
17820
  /**
17345
- * User Id
17821
+ * Invitation Id
17346
17822
  */
17347
- user_id: string;
17823
+ invitation_id: string;
17348
17824
  };
17349
17825
  query?: never;
17350
- url: '/v1/orgs/{org_id}/members/{user_id}';
17826
+ url: '/v1/orgs/{org_id}/invitations/{invitation_id}/resend';
17351
17827
  };
17352
- export type UpdateOrgMemberRoleErrors = {
17828
+ export type ResendOrgInvitationErrors = {
17353
17829
  /**
17354
17830
  * Invalid request
17355
17831
  */
@@ -17378,15 +17854,19 @@ export type UpdateOrgMemberRoleErrors = {
17378
17854
  * Internal server error
17379
17855
  */
17380
17856
  500: ErrorResponse;
17857
+ /**
17858
+ * Feature not enabled
17859
+ */
17860
+ 501: ErrorResponse;
17381
17861
  };
17382
- export type UpdateOrgMemberRoleError = UpdateOrgMemberRoleErrors[keyof UpdateOrgMemberRoleErrors];
17383
- export type UpdateOrgMemberRoleResponses = {
17862
+ export type ResendOrgInvitationError = ResendOrgInvitationErrors[keyof ResendOrgInvitationErrors];
17863
+ export type ResendOrgInvitationResponses = {
17384
17864
  /**
17385
17865
  * Successful Response
17386
17866
  */
17387
- 200: OrgMemberResponse;
17867
+ 200: OrgInvitationResponse;
17388
17868
  };
17389
- export type UpdateOrgMemberRoleResponse = UpdateOrgMemberRoleResponses[keyof UpdateOrgMemberRoleResponses];
17869
+ export type ResendOrgInvitationResponse = ResendOrgInvitationResponses[keyof ResendOrgInvitationResponses];
17390
17870
  export type GetOrgLimitsData = {
17391
17871
  body?: never;
17392
17872
  path: {
@@ -19287,6 +19767,218 @@ export type GetGraphLimitsResponses = {
19287
19767
  200: GraphLimitsResponse;
19288
19768
  };
19289
19769
  export type GetGraphLimitsResponse = GetGraphLimitsResponses[keyof GetGraphLimitsResponses];
19770
+ export type ListGraphMembersData = {
19771
+ body?: never;
19772
+ path: {
19773
+ /**
19774
+ * Graph Id
19775
+ *
19776
+ * Graph identifier
19777
+ */
19778
+ graph_id: string;
19779
+ };
19780
+ query?: never;
19781
+ url: '/v1/graphs/{graph_id}/members';
19782
+ };
19783
+ export type ListGraphMembersErrors = {
19784
+ /**
19785
+ * Invalid request
19786
+ */
19787
+ 400: ErrorResponse;
19788
+ /**
19789
+ * Authentication required
19790
+ */
19791
+ 401: ErrorResponse;
19792
+ /**
19793
+ * Access denied
19794
+ */
19795
+ 403: ErrorResponse;
19796
+ /**
19797
+ * Resource not found
19798
+ */
19799
+ 404: ErrorResponse;
19800
+ /**
19801
+ * Validation Error
19802
+ */
19803
+ 422: HttpValidationError;
19804
+ /**
19805
+ * Rate limit exceeded
19806
+ */
19807
+ 429: ErrorResponse;
19808
+ /**
19809
+ * Internal server error
19810
+ */
19811
+ 500: ErrorResponse;
19812
+ };
19813
+ export type ListGraphMembersError = ListGraphMembersErrors[keyof ListGraphMembersErrors];
19814
+ export type ListGraphMembersResponses = {
19815
+ /**
19816
+ * Successful Response
19817
+ */
19818
+ 200: GraphMemberListResponse;
19819
+ };
19820
+ export type ListGraphMembersResponse = ListGraphMembersResponses[keyof ListGraphMembersResponses];
19821
+ export type AddGraphMemberData = {
19822
+ body: AddGraphMemberRequest;
19823
+ path: {
19824
+ /**
19825
+ * Graph Id
19826
+ *
19827
+ * Graph identifier
19828
+ */
19829
+ graph_id: string;
19830
+ };
19831
+ query?: never;
19832
+ url: '/v1/graphs/{graph_id}/members';
19833
+ };
19834
+ export type AddGraphMemberErrors = {
19835
+ /**
19836
+ * Invalid request
19837
+ */
19838
+ 400: ErrorResponse;
19839
+ /**
19840
+ * Authentication required
19841
+ */
19842
+ 401: ErrorResponse;
19843
+ /**
19844
+ * Access denied
19845
+ */
19846
+ 403: ErrorResponse;
19847
+ /**
19848
+ * Resource not found
19849
+ */
19850
+ 404: ErrorResponse;
19851
+ /**
19852
+ * Validation Error
19853
+ */
19854
+ 422: HttpValidationError;
19855
+ /**
19856
+ * Rate limit exceeded
19857
+ */
19858
+ 429: ErrorResponse;
19859
+ /**
19860
+ * Internal server error
19861
+ */
19862
+ 500: ErrorResponse;
19863
+ };
19864
+ export type AddGraphMemberError = AddGraphMemberErrors[keyof AddGraphMemberErrors];
19865
+ export type AddGraphMemberResponses = {
19866
+ /**
19867
+ * Successful Response
19868
+ */
19869
+ 201: GraphMemberResponse;
19870
+ };
19871
+ export type AddGraphMemberResponse = AddGraphMemberResponses[keyof AddGraphMemberResponses];
19872
+ export type RemoveGraphMemberData = {
19873
+ body?: never;
19874
+ path: {
19875
+ /**
19876
+ * User Id
19877
+ */
19878
+ user_id: string;
19879
+ /**
19880
+ * Graph Id
19881
+ *
19882
+ * Graph identifier
19883
+ */
19884
+ graph_id: string;
19885
+ };
19886
+ query?: never;
19887
+ url: '/v1/graphs/{graph_id}/members/{user_id}';
19888
+ };
19889
+ export type RemoveGraphMemberErrors = {
19890
+ /**
19891
+ * Invalid request
19892
+ */
19893
+ 400: ErrorResponse;
19894
+ /**
19895
+ * Authentication required
19896
+ */
19897
+ 401: ErrorResponse;
19898
+ /**
19899
+ * Access denied
19900
+ */
19901
+ 403: ErrorResponse;
19902
+ /**
19903
+ * Resource not found
19904
+ */
19905
+ 404: ErrorResponse;
19906
+ /**
19907
+ * Validation Error
19908
+ */
19909
+ 422: HttpValidationError;
19910
+ /**
19911
+ * Rate limit exceeded
19912
+ */
19913
+ 429: ErrorResponse;
19914
+ /**
19915
+ * Internal server error
19916
+ */
19917
+ 500: ErrorResponse;
19918
+ };
19919
+ export type RemoveGraphMemberError = RemoveGraphMemberErrors[keyof RemoveGraphMemberErrors];
19920
+ export type RemoveGraphMemberResponses = {
19921
+ /**
19922
+ * Successful Response
19923
+ */
19924
+ 204: void;
19925
+ };
19926
+ export type RemoveGraphMemberResponse = RemoveGraphMemberResponses[keyof RemoveGraphMemberResponses];
19927
+ export type UpdateGraphMemberRoleData = {
19928
+ body: UpdateGraphMemberRoleRequest;
19929
+ path: {
19930
+ /**
19931
+ * User Id
19932
+ */
19933
+ user_id: string;
19934
+ /**
19935
+ * Graph Id
19936
+ *
19937
+ * Graph identifier
19938
+ */
19939
+ graph_id: string;
19940
+ };
19941
+ query?: never;
19942
+ url: '/v1/graphs/{graph_id}/members/{user_id}';
19943
+ };
19944
+ export type UpdateGraphMemberRoleErrors = {
19945
+ /**
19946
+ * Invalid request
19947
+ */
19948
+ 400: ErrorResponse;
19949
+ /**
19950
+ * Authentication required
19951
+ */
19952
+ 401: ErrorResponse;
19953
+ /**
19954
+ * Access denied
19955
+ */
19956
+ 403: ErrorResponse;
19957
+ /**
19958
+ * Resource not found
19959
+ */
19960
+ 404: ErrorResponse;
19961
+ /**
19962
+ * Validation Error
19963
+ */
19964
+ 422: HttpValidationError;
19965
+ /**
19966
+ * Rate limit exceeded
19967
+ */
19968
+ 429: ErrorResponse;
19969
+ /**
19970
+ * Internal server error
19971
+ */
19972
+ 500: ErrorResponse;
19973
+ };
19974
+ export type UpdateGraphMemberRoleError = UpdateGraphMemberRoleErrors[keyof UpdateGraphMemberRoleErrors];
19975
+ export type UpdateGraphMemberRoleResponses = {
19976
+ /**
19977
+ * Successful Response
19978
+ */
19979
+ 200: GraphMemberResponse;
19980
+ };
19981
+ export type UpdateGraphMemberRoleResponse = UpdateGraphMemberRoleResponses[keyof UpdateGraphMemberRoleResponses];
19290
19982
  export type ListSubgraphsData = {
19291
19983
  body?: never;
19292
19984
  path: {