@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.
@@ -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
  *
@@ -2744,6 +2779,12 @@ export type CreateRepositorySubscriptionRequest = {
2744
2779
  * Plan name for the repository subscription
2745
2780
  */
2746
2781
  plan_name: string;
2782
+ /**
2783
+ * User Id
2784
+ *
2785
+ * 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.
2786
+ */
2787
+ user_id?: string | null;
2747
2788
  };
2748
2789
  /**
2749
2790
  * CreateRollforwardRequest
@@ -3097,7 +3138,13 @@ export type CreateViewRequest = {
3097
3138
  */
3098
3139
  include_summary?: boolean;
3099
3140
  /**
3100
- * View/pivot configuration
3141
+ * Limit
3142
+ *
3143
+ * 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.
3144
+ */
3145
+ limit?: number;
3146
+ /**
3147
+ * Aspect scoping configuration
3101
3148
  */
3102
3149
  view_config?: ViewConfig;
3103
3150
  };
@@ -3951,6 +3998,31 @@ export type DetailedTransactionsResponse = {
3951
3998
  [key: string]: string;
3952
3999
  };
3953
4000
  };
4001
+ /**
4002
+ * Dimension
4003
+ */
4004
+ export type Dimension = {
4005
+ /**
4006
+ * Name
4007
+ *
4008
+ * Dimension name (e.g., 'Element', 'Period')
4009
+ */
4010
+ name: string;
4011
+ /**
4012
+ * Dimension type
4013
+ */
4014
+ type: DimensionType;
4015
+ /**
4016
+ * Members
4017
+ *
4018
+ * List of dimension members
4019
+ */
4020
+ members?: Array<string>;
4021
+ };
4022
+ /**
4023
+ * DimensionType
4024
+ */
4025
+ export type DimensionType = 'element' | 'period' | 'entity';
3954
4026
  /**
3955
4027
  * DocumentDetailResponse
3956
4028
  *
@@ -4252,6 +4324,41 @@ export type ElementLite = {
4252
4324
  */
4253
4325
  documentation?: string | null;
4254
4326
  };
4327
+ /**
4328
+ * ElementSummary
4329
+ */
4330
+ export type ElementSummary = {
4331
+ /**
4332
+ * Count
4333
+ *
4334
+ * Number of facts for this element
4335
+ */
4336
+ count: number;
4337
+ /**
4338
+ * Total
4339
+ *
4340
+ * Sum of values across the returned facts
4341
+ */
4342
+ total: number;
4343
+ /**
4344
+ * Average
4345
+ *
4346
+ * Mean value across the returned facts
4347
+ */
4348
+ average: number;
4349
+ /**
4350
+ * Min
4351
+ *
4352
+ * Minimum value across the returned facts
4353
+ */
4354
+ min: number;
4355
+ /**
4356
+ * Max
4357
+ *
4358
+ * Maximum value across the returned facts
4359
+ */
4360
+ max: number;
4361
+ };
4255
4362
  /**
4256
4363
  * ElementUpdatePatch
4257
4364
  *
@@ -4995,6 +5102,65 @@ export type FactLite = {
4995
5102
  */
4996
5103
  fact_set_id?: string | null;
4997
5104
  };
5105
+ /**
5106
+ * FactRecord
5107
+ */
5108
+ export type FactRecord = {
5109
+ /**
5110
+ * Element Id
5111
+ *
5112
+ * Element qname (e.g., 'us-gaap:Assets')
5113
+ */
5114
+ element_id: string;
5115
+ /**
5116
+ * Element Name
5117
+ *
5118
+ * Element local name
5119
+ */
5120
+ element_name?: string | null;
5121
+ /**
5122
+ * Period Start
5123
+ *
5124
+ * 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).
5125
+ */
5126
+ period_start?: string | null;
5127
+ /**
5128
+ * Period End
5129
+ *
5130
+ * Period end date (YYYY-MM-DD)
5131
+ */
5132
+ period_end?: string | null;
5133
+ /**
5134
+ * Duration Type
5135
+ *
5136
+ * Period duration classification (e.g. 'quarterly', 'nine_months', 'annual'); null for instant facts. Use with period_start to tell overlapping windows apart.
5137
+ */
5138
+ duration_type?: string | null;
5139
+ /**
5140
+ * Value
5141
+ *
5142
+ * Numeric fact value
5143
+ */
5144
+ value?: number | null;
5145
+ /**
5146
+ * Unit
5147
+ *
5148
+ * Unit of measure (e.g., 'USD')
5149
+ */
5150
+ unit?: string | null;
5151
+ /**
5152
+ * Entity Ticker
5153
+ *
5154
+ * Entity ticker; present only when an entity filter was applied
5155
+ */
5156
+ entity_ticker?: string | null;
5157
+ /**
5158
+ * Entity Name
5159
+ *
5160
+ * Entity name; present only when an entity filter was applied
5161
+ */
5162
+ entity_name?: string | null;
5163
+ };
4998
5164
  /**
4999
5165
  * FactSetLite
5000
5166
  *
@@ -5781,6 +5947,57 @@ export type GraphLimitsResponse = {
5781
5947
  */
5782
5948
  instance?: InstanceUsage | null;
5783
5949
  };
5950
+ /**
5951
+ * GraphMemberListResponse
5952
+ *
5953
+ * All users with access to a graph.
5954
+ */
5955
+ export type GraphMemberListResponse = {
5956
+ /**
5957
+ * Members
5958
+ */
5959
+ members: Array<GraphMemberResponse>;
5960
+ /**
5961
+ * Total
5962
+ */
5963
+ total: number;
5964
+ /**
5965
+ * Graph Id
5966
+ */
5967
+ graph_id: string;
5968
+ };
5969
+ /**
5970
+ * GraphMemberResponse
5971
+ *
5972
+ * A user with access to a graph.
5973
+ */
5974
+ export type GraphMemberResponse = {
5975
+ /**
5976
+ * User Id
5977
+ */
5978
+ user_id: string;
5979
+ /**
5980
+ * Name
5981
+ */
5982
+ name: string;
5983
+ /**
5984
+ * Email
5985
+ */
5986
+ email: string;
5987
+ role: GraphRole;
5988
+ /**
5989
+ * Source
5990
+ *
5991
+ * 'explicit' for a direct grant; 'org_role' for implicit admin held by org owners/admins
5992
+ */
5993
+ source: 'explicit' | 'org_role';
5994
+ /**
5995
+ * Granted At
5996
+ *
5997
+ * When the explicit grant was created (null for implicit access)
5998
+ */
5999
+ granted_at?: string | null;
6000
+ };
5784
6001
  /**
5785
6002
  * GraphMetadata
5786
6003
  *
@@ -5887,6 +6104,12 @@ export type GraphMetricsResponse = {
5887
6104
  [key: string]: unknown;
5888
6105
  };
5889
6106
  };
6107
+ /**
6108
+ * GraphRole
6109
+ *
6110
+ * Ordered per-graph roles: viewer < member < admin.
6111
+ */
6112
+ export type GraphRole = 'viewer' | 'member' | 'admin';
5890
6113
  /**
5891
6114
  * GraphSubscriptionResponse
5892
6115
  *
@@ -5911,6 +6134,12 @@ export type GraphSubscriptionResponse = {
5911
6134
  * Resource identifier
5912
6135
  */
5913
6136
  resource_id: string;
6137
+ /**
6138
+ * User Id
6139
+ *
6140
+ * Organization member the subscription belongs to. Set for repository subscriptions, which are billed to the org but granted per user.
6141
+ */
6142
+ user_id?: string | null;
5914
6143
  /**
5915
6144
  * Plan Name
5916
6145
  *
@@ -6777,16 +7006,24 @@ export type InstanceUsage = {
6777
7006
  items?: Array<StorageItem>;
6778
7007
  };
6779
7008
  /**
6780
- * InviteMemberRequest
7009
+ * InvitationPreviewResponse
6781
7010
  *
6782
- * Request to invite a member to an organization.
7011
+ * Public preview of an invitation, looked up by its token.
6783
7012
  */
6784
- export type InviteMemberRequest = {
7013
+ export type InvitationPreviewResponse = {
7014
+ /**
7015
+ * Org Name
7016
+ */
7017
+ org_name: string;
6785
7018
  /**
6786
7019
  * Email
6787
7020
  */
6788
7021
  email: string;
6789
- role?: OrgRole | null;
7022
+ role: OrgRole;
7023
+ /**
7024
+ * Expires At
7025
+ */
7026
+ expires_at: string;
6790
7027
  };
6791
7028
  /**
6792
7029
  * Invoice
@@ -10432,6 +10669,69 @@ export type OrgDetailResponse = {
10432
10669
  */
10433
10670
  updated_at: string;
10434
10671
  };
10672
+ /**
10673
+ * OrgInvitationListResponse
10674
+ *
10675
+ * List of pending organization invitations response.
10676
+ */
10677
+ export type OrgInvitationListResponse = {
10678
+ /**
10679
+ * Invitations
10680
+ */
10681
+ invitations: Array<OrgInvitationResponse>;
10682
+ /**
10683
+ * Total
10684
+ */
10685
+ total: number;
10686
+ /**
10687
+ * Org Id
10688
+ */
10689
+ org_id: string;
10690
+ };
10691
+ /**
10692
+ * OrgInvitationResponse
10693
+ *
10694
+ * Organization invitation response.
10695
+ */
10696
+ export type OrgInvitationResponse = {
10697
+ /**
10698
+ * Id
10699
+ */
10700
+ id: string;
10701
+ /**
10702
+ * Org Id
10703
+ */
10704
+ org_id: string;
10705
+ /**
10706
+ * Email
10707
+ */
10708
+ email: string;
10709
+ role: OrgRole;
10710
+ /**
10711
+ * Status
10712
+ */
10713
+ status: string;
10714
+ /**
10715
+ * Invited By User Id
10716
+ */
10717
+ invited_by_user_id: string;
10718
+ /**
10719
+ * Invited By Name
10720
+ */
10721
+ invited_by_name: string | null;
10722
+ /**
10723
+ * Created At
10724
+ */
10725
+ created_at: string;
10726
+ /**
10727
+ * Expires At
10728
+ */
10729
+ expires_at: string;
10730
+ /**
10731
+ * Is Expired
10732
+ */
10733
+ is_expired: boolean;
10734
+ };
10435
10735
  /**
10436
10736
  * OrgLimitsResponse
10437
10737
  *
@@ -11666,6 +11966,12 @@ export type RegisterRequest = {
11666
11966
  * CAPTCHA verification token (required in production)
11667
11967
  */
11668
11968
  captcha_token?: string | null;
11969
+ /**
11970
+ * Invite Token
11971
+ *
11972
+ * 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.
11973
+ */
11974
+ invite_token?: string | null;
11669
11975
  };
11670
11976
  /**
11671
11977
  * RememberOp
@@ -15015,6 +15321,14 @@ export type UpdateForecastRequest = {
15015
15321
  */
15016
15322
  line_growth?: Array<LineGrowthRequest> | null;
15017
15323
  };
15324
+ /**
15325
+ * UpdateGraphMemberRoleRequest
15326
+ *
15327
+ * Request to change a graph member's role.
15328
+ */
15329
+ export type UpdateGraphMemberRoleRequest = {
15330
+ role: GraphRole;
15331
+ };
15018
15332
  /**
15019
15333
  * UpdateInformationBlockRequest
15020
15334
  *
@@ -15467,6 +15781,12 @@ export type UpgradeSubscriptionRequest = {
15467
15781
  * New plan name to change to
15468
15782
  */
15469
15783
  new_plan_name: string;
15784
+ /**
15785
+ * User Id
15786
+ *
15787
+ * Organization member whose subscription to change. Defaults to the caller; targeting another member requires org owner or admin.
15788
+ */
15789
+ user_id?: string | null;
15470
15790
  };
15471
15791
  /**
15472
15792
  * UserGraphsResponse
@@ -15705,24 +16025,23 @@ export type VerificationSummary = {
15705
16025
  };
15706
16026
  /**
15707
16027
  * ViewAxisConfig
16028
+ *
16029
+ * Scoping configuration for one aspect of the fact query.
16030
+ *
16031
+ * Filtering only. Ordering and labelling are presentation concerns and
16032
+ * belong to the consumer that arranges the facts into a table.
15708
16033
  */
15709
16034
  export type ViewAxisConfig = {
15710
16035
  /**
15711
16036
  * Type
15712
16037
  *
15713
- * Axis type: 'element', 'period', 'dimension', 'entity'
16038
+ * Axis type: 'element', 'period', 'entity'
15714
16039
  */
15715
16040
  type: string;
15716
- /**
15717
- * Dimension Axis
15718
- *
15719
- * Dimension axis name for dimension-type axes
15720
- */
15721
- dimension_axis?: string | null;
15722
16041
  /**
15723
16042
  * Include Null Dimension
15724
16043
  *
15725
- * Include facts where this dimension is NULL (default: false)
16044
+ * Include facts where this aspect is absent (default: false)
15726
16045
  */
15727
16046
  include_null_dimension?: boolean;
15728
16047
  /**
@@ -15731,34 +16050,6 @@ export type ViewAxisConfig = {
15731
16050
  * Specific members to include (e.g., ['2024-12-31', '2023-12-31'])
15732
16051
  */
15733
16052
  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
16053
  };
15763
16054
  /**
15764
16055
  * ViewConfig
@@ -15776,24 +16067,6 @@ export type ViewConfig = {
15776
16067
  * Column axis configuration
15777
16068
  */
15778
16069
  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
16070
  };
15798
16071
  /**
15799
16072
  * ViewMetadata
@@ -15835,6 +16108,12 @@ export type ViewMetadata = {
15835
16108
  * Period end date
15836
16109
  */
15837
16110
  period_end?: string | null;
16111
+ /**
16112
+ * Truncated
16113
+ *
16114
+ * 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.
16115
+ */
16116
+ truncated?: boolean;
15838
16117
  };
15839
16118
  /**
15840
16119
  * ViewProjections
@@ -15862,6 +16141,13 @@ export type ViewProjections = {
15862
16141
  };
15863
16142
  /**
15864
16143
  * ViewResponse
16144
+ *
16145
+ * Flat, deduplicated facts plus the aspects they span.
16146
+ *
16147
+ * No server-side pivot: each fact is returned as its own record so the
16148
+ * consumer can arrange cells on the full aspect signature. Summing across
16149
+ * entities, units, or elements that merely share a local name is a
16150
+ * presentation decision this endpoint refuses to make on the caller's behalf.
15865
16151
  */
15866
16152
  export type ViewResponse = {
15867
16153
  /**
@@ -15869,13 +16155,25 @@ export type ViewResponse = {
15869
16155
  */
15870
16156
  metadata: ViewMetadata;
15871
16157
  /**
15872
- * Presentations
16158
+ * Dimensions
15873
16159
  *
15874
- * Presentation formats (pivot_table, narrative, etc.)
16160
+ * Aspects spanned by the returned facts
15875
16161
  */
15876
- presentations: {
15877
- [key: string]: unknown;
15878
- };
16162
+ dimensions?: Array<Dimension>;
16163
+ /**
16164
+ * Facts
16165
+ *
16166
+ * Deduplicated fact records
16167
+ */
16168
+ facts?: Array<FactRecord>;
16169
+ /**
16170
+ * Summary
16171
+ *
16172
+ * 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.
16173
+ */
16174
+ summary?: {
16175
+ [key: string]: ElementSummary;
16176
+ } | null;
15879
16177
  };
15880
16178
  /**
15881
16179
  * _CreateForecastArm
@@ -16395,6 +16693,43 @@ export type VerifyEmailResponses = {
16395
16693
  200: AuthResponse;
16396
16694
  };
16397
16695
  export type VerifyEmailResponse = VerifyEmailResponses[keyof VerifyEmailResponses];
16696
+ export type GetInvitationPreviewData = {
16697
+ body?: never;
16698
+ path: {
16699
+ /**
16700
+ * Token
16701
+ */
16702
+ token: string;
16703
+ };
16704
+ query?: never;
16705
+ url: '/v1/auth/invitations/{token}';
16706
+ };
16707
+ export type GetInvitationPreviewErrors = {
16708
+ /**
16709
+ * Invalid request
16710
+ */
16711
+ 400: ErrorResponse;
16712
+ /**
16713
+ * Validation Error
16714
+ */
16715
+ 422: HttpValidationError;
16716
+ /**
16717
+ * Rate limit exceeded
16718
+ */
16719
+ 429: ErrorResponse;
16720
+ /**
16721
+ * Internal server error
16722
+ */
16723
+ 500: ErrorResponse;
16724
+ };
16725
+ export type GetInvitationPreviewError = GetInvitationPreviewErrors[keyof GetInvitationPreviewErrors];
16726
+ export type GetInvitationPreviewResponses = {
16727
+ /**
16728
+ * Successful Response
16729
+ */
16730
+ 200: InvitationPreviewResponse;
16731
+ };
16732
+ export type GetInvitationPreviewResponse = GetInvitationPreviewResponses[keyof GetInvitationPreviewResponses];
16398
16733
  export type GetPasswordPolicyData = {
16399
16734
  body?: never;
16400
16735
  path?: never;
@@ -17228,18 +17563,173 @@ export type ListOrgMembersResponses = {
17228
17563
  200: OrgMemberListResponse;
17229
17564
  };
17230
17565
  export type ListOrgMembersResponse = ListOrgMembersResponses[keyof ListOrgMembersResponses];
17231
- export type InviteOrgMemberData = {
17232
- body: InviteMemberRequest;
17566
+ export type RemoveOrgMemberData = {
17567
+ body?: never;
17233
17568
  path: {
17234
17569
  /**
17235
17570
  * Org Id
17236
17571
  */
17237
17572
  org_id: string;
17573
+ /**
17574
+ * User Id
17575
+ */
17576
+ user_id: string;
17238
17577
  };
17239
17578
  query?: never;
17240
- url: '/v1/orgs/{org_id}/members';
17579
+ url: '/v1/orgs/{org_id}/members/{user_id}';
17580
+ };
17581
+ export type RemoveOrgMemberErrors = {
17582
+ /**
17583
+ * Invalid request
17584
+ */
17585
+ 400: ErrorResponse;
17586
+ /**
17587
+ * Authentication required
17588
+ */
17589
+ 401: ErrorResponse;
17590
+ /**
17591
+ * Access denied
17592
+ */
17593
+ 403: ErrorResponse;
17594
+ /**
17595
+ * Resource not found
17596
+ */
17597
+ 404: ErrorResponse;
17598
+ /**
17599
+ * Validation Error
17600
+ */
17601
+ 422: HttpValidationError;
17602
+ /**
17603
+ * Rate limit exceeded
17604
+ */
17605
+ 429: ErrorResponse;
17606
+ /**
17607
+ * Internal server error
17608
+ */
17609
+ 500: ErrorResponse;
17610
+ };
17611
+ export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
17612
+ export type RemoveOrgMemberResponses = {
17613
+ /**
17614
+ * Successful Response
17615
+ */
17616
+ 204: void;
17617
+ };
17618
+ export type RemoveOrgMemberResponse = RemoveOrgMemberResponses[keyof RemoveOrgMemberResponses];
17619
+ export type UpdateOrgMemberRoleData = {
17620
+ body: UpdateMemberRoleRequest;
17621
+ path: {
17622
+ /**
17623
+ * Org Id
17624
+ */
17625
+ org_id: string;
17626
+ /**
17627
+ * User Id
17628
+ */
17629
+ user_id: string;
17630
+ };
17631
+ query?: never;
17632
+ url: '/v1/orgs/{org_id}/members/{user_id}';
17633
+ };
17634
+ export type UpdateOrgMemberRoleErrors = {
17635
+ /**
17636
+ * Invalid request
17637
+ */
17638
+ 400: ErrorResponse;
17639
+ /**
17640
+ * Authentication required
17641
+ */
17642
+ 401: ErrorResponse;
17643
+ /**
17644
+ * Access denied
17645
+ */
17646
+ 403: ErrorResponse;
17647
+ /**
17648
+ * Resource not found
17649
+ */
17650
+ 404: ErrorResponse;
17651
+ /**
17652
+ * Validation Error
17653
+ */
17654
+ 422: HttpValidationError;
17655
+ /**
17656
+ * Rate limit exceeded
17657
+ */
17658
+ 429: ErrorResponse;
17659
+ /**
17660
+ * Internal server error
17661
+ */
17662
+ 500: ErrorResponse;
17663
+ };
17664
+ export type UpdateOrgMemberRoleError = UpdateOrgMemberRoleErrors[keyof UpdateOrgMemberRoleErrors];
17665
+ export type UpdateOrgMemberRoleResponses = {
17666
+ /**
17667
+ * Successful Response
17668
+ */
17669
+ 200: OrgMemberResponse;
17670
+ };
17671
+ export type UpdateOrgMemberRoleResponse = UpdateOrgMemberRoleResponses[keyof UpdateOrgMemberRoleResponses];
17672
+ export type ListOrgInvitationsData = {
17673
+ body?: never;
17674
+ path: {
17675
+ /**
17676
+ * Org Id
17677
+ */
17678
+ org_id: string;
17679
+ };
17680
+ query?: never;
17681
+ url: '/v1/orgs/{org_id}/invitations';
17682
+ };
17683
+ export type ListOrgInvitationsErrors = {
17684
+ /**
17685
+ * Invalid request
17686
+ */
17687
+ 400: ErrorResponse;
17688
+ /**
17689
+ * Authentication required
17690
+ */
17691
+ 401: ErrorResponse;
17692
+ /**
17693
+ * Access denied
17694
+ */
17695
+ 403: ErrorResponse;
17696
+ /**
17697
+ * Resource not found
17698
+ */
17699
+ 404: ErrorResponse;
17700
+ /**
17701
+ * Validation Error
17702
+ */
17703
+ 422: HttpValidationError;
17704
+ /**
17705
+ * Rate limit exceeded
17706
+ */
17707
+ 429: ErrorResponse;
17708
+ /**
17709
+ * Internal server error
17710
+ */
17711
+ 500: ErrorResponse;
17712
+ };
17713
+ export type ListOrgInvitationsError = ListOrgInvitationsErrors[keyof ListOrgInvitationsErrors];
17714
+ export type ListOrgInvitationsResponses = {
17715
+ /**
17716
+ * Successful Response
17717
+ */
17718
+ 200: OrgInvitationListResponse;
17719
+ };
17720
+ export type ListOrgInvitationsResponse = ListOrgInvitationsResponses[keyof ListOrgInvitationsResponses];
17721
+ export type CreateOrgInvitationData = {
17722
+ body: CreateInvitationRequest;
17723
+ path: {
17724
+ /**
17725
+ * Org Id
17726
+ */
17727
+ org_id: string;
17728
+ };
17729
+ query?: never;
17730
+ url: '/v1/orgs/{org_id}/invitations';
17241
17731
  };
17242
- export type InviteOrgMemberErrors = {
17732
+ export type CreateOrgInvitationErrors = {
17243
17733
  /**
17244
17734
  * Invalid request
17245
17735
  */
@@ -17256,6 +17746,10 @@ export type InviteOrgMemberErrors = {
17256
17746
  * Resource not found
17257
17747
  */
17258
17748
  404: ErrorResponse;
17749
+ /**
17750
+ * Email already registered or invited
17751
+ */
17752
+ 409: ErrorResponse;
17259
17753
  /**
17260
17754
  * Validation Error
17261
17755
  */
@@ -17273,15 +17767,15 @@ export type InviteOrgMemberErrors = {
17273
17767
  */
17274
17768
  501: ErrorResponse;
17275
17769
  };
17276
- export type InviteOrgMemberError = InviteOrgMemberErrors[keyof InviteOrgMemberErrors];
17277
- export type InviteOrgMemberResponses = {
17770
+ export type CreateOrgInvitationError = CreateOrgInvitationErrors[keyof CreateOrgInvitationErrors];
17771
+ export type CreateOrgInvitationResponses = {
17278
17772
  /**
17279
17773
  * Successful Response
17280
17774
  */
17281
- 201: OrgMemberResponse;
17775
+ 201: OrgInvitationResponse;
17282
17776
  };
17283
- export type InviteOrgMemberResponse = InviteOrgMemberResponses[keyof InviteOrgMemberResponses];
17284
- export type RemoveOrgMemberData = {
17777
+ export type CreateOrgInvitationResponse = CreateOrgInvitationResponses[keyof CreateOrgInvitationResponses];
17778
+ export type RevokeOrgInvitationData = {
17285
17779
  body?: never;
17286
17780
  path: {
17287
17781
  /**
@@ -17289,14 +17783,14 @@ export type RemoveOrgMemberData = {
17289
17783
  */
17290
17784
  org_id: string;
17291
17785
  /**
17292
- * User Id
17786
+ * Invitation Id
17293
17787
  */
17294
- user_id: string;
17788
+ invitation_id: string;
17295
17789
  };
17296
17790
  query?: never;
17297
- url: '/v1/orgs/{org_id}/members/{user_id}';
17791
+ url: '/v1/orgs/{org_id}/invitations/{invitation_id}';
17298
17792
  };
17299
- export type RemoveOrgMemberErrors = {
17793
+ export type RevokeOrgInvitationErrors = {
17300
17794
  /**
17301
17795
  * Invalid request
17302
17796
  */
@@ -17326,30 +17820,30 @@ export type RemoveOrgMemberErrors = {
17326
17820
  */
17327
17821
  500: ErrorResponse;
17328
17822
  };
17329
- export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
17330
- export type RemoveOrgMemberResponses = {
17823
+ export type RevokeOrgInvitationError = RevokeOrgInvitationErrors[keyof RevokeOrgInvitationErrors];
17824
+ export type RevokeOrgInvitationResponses = {
17331
17825
  /**
17332
17826
  * Successful Response
17333
17827
  */
17334
17828
  204: void;
17335
17829
  };
17336
- export type RemoveOrgMemberResponse = RemoveOrgMemberResponses[keyof RemoveOrgMemberResponses];
17337
- export type UpdateOrgMemberRoleData = {
17338
- body: UpdateMemberRoleRequest;
17830
+ export type RevokeOrgInvitationResponse = RevokeOrgInvitationResponses[keyof RevokeOrgInvitationResponses];
17831
+ export type ResendOrgInvitationData = {
17832
+ body?: never;
17339
17833
  path: {
17340
17834
  /**
17341
17835
  * Org Id
17342
17836
  */
17343
17837
  org_id: string;
17344
17838
  /**
17345
- * User Id
17839
+ * Invitation Id
17346
17840
  */
17347
- user_id: string;
17841
+ invitation_id: string;
17348
17842
  };
17349
17843
  query?: never;
17350
- url: '/v1/orgs/{org_id}/members/{user_id}';
17844
+ url: '/v1/orgs/{org_id}/invitations/{invitation_id}/resend';
17351
17845
  };
17352
- export type UpdateOrgMemberRoleErrors = {
17846
+ export type ResendOrgInvitationErrors = {
17353
17847
  /**
17354
17848
  * Invalid request
17355
17849
  */
@@ -17378,15 +17872,19 @@ export type UpdateOrgMemberRoleErrors = {
17378
17872
  * Internal server error
17379
17873
  */
17380
17874
  500: ErrorResponse;
17875
+ /**
17876
+ * Feature not enabled
17877
+ */
17878
+ 501: ErrorResponse;
17381
17879
  };
17382
- export type UpdateOrgMemberRoleError = UpdateOrgMemberRoleErrors[keyof UpdateOrgMemberRoleErrors];
17383
- export type UpdateOrgMemberRoleResponses = {
17880
+ export type ResendOrgInvitationError = ResendOrgInvitationErrors[keyof ResendOrgInvitationErrors];
17881
+ export type ResendOrgInvitationResponses = {
17384
17882
  /**
17385
17883
  * Successful Response
17386
17884
  */
17387
- 200: OrgMemberResponse;
17885
+ 200: OrgInvitationResponse;
17388
17886
  };
17389
- export type UpdateOrgMemberRoleResponse = UpdateOrgMemberRoleResponses[keyof UpdateOrgMemberRoleResponses];
17887
+ export type ResendOrgInvitationResponse = ResendOrgInvitationResponses[keyof ResendOrgInvitationResponses];
17390
17888
  export type GetOrgLimitsData = {
17391
17889
  body?: never;
17392
17890
  path: {
@@ -19287,6 +19785,218 @@ export type GetGraphLimitsResponses = {
19287
19785
  200: GraphLimitsResponse;
19288
19786
  };
19289
19787
  export type GetGraphLimitsResponse = GetGraphLimitsResponses[keyof GetGraphLimitsResponses];
19788
+ export type ListGraphMembersData = {
19789
+ body?: never;
19790
+ path: {
19791
+ /**
19792
+ * Graph Id
19793
+ *
19794
+ * Graph identifier
19795
+ */
19796
+ graph_id: string;
19797
+ };
19798
+ query?: never;
19799
+ url: '/v1/graphs/{graph_id}/members';
19800
+ };
19801
+ export type ListGraphMembersErrors = {
19802
+ /**
19803
+ * Invalid request
19804
+ */
19805
+ 400: ErrorResponse;
19806
+ /**
19807
+ * Authentication required
19808
+ */
19809
+ 401: ErrorResponse;
19810
+ /**
19811
+ * Access denied
19812
+ */
19813
+ 403: ErrorResponse;
19814
+ /**
19815
+ * Resource not found
19816
+ */
19817
+ 404: ErrorResponse;
19818
+ /**
19819
+ * Validation Error
19820
+ */
19821
+ 422: HttpValidationError;
19822
+ /**
19823
+ * Rate limit exceeded
19824
+ */
19825
+ 429: ErrorResponse;
19826
+ /**
19827
+ * Internal server error
19828
+ */
19829
+ 500: ErrorResponse;
19830
+ };
19831
+ export type ListGraphMembersError = ListGraphMembersErrors[keyof ListGraphMembersErrors];
19832
+ export type ListGraphMembersResponses = {
19833
+ /**
19834
+ * Successful Response
19835
+ */
19836
+ 200: GraphMemberListResponse;
19837
+ };
19838
+ export type ListGraphMembersResponse = ListGraphMembersResponses[keyof ListGraphMembersResponses];
19839
+ export type AddGraphMemberData = {
19840
+ body: AddGraphMemberRequest;
19841
+ path: {
19842
+ /**
19843
+ * Graph Id
19844
+ *
19845
+ * Graph identifier
19846
+ */
19847
+ graph_id: string;
19848
+ };
19849
+ query?: never;
19850
+ url: '/v1/graphs/{graph_id}/members';
19851
+ };
19852
+ export type AddGraphMemberErrors = {
19853
+ /**
19854
+ * Invalid request
19855
+ */
19856
+ 400: ErrorResponse;
19857
+ /**
19858
+ * Authentication required
19859
+ */
19860
+ 401: ErrorResponse;
19861
+ /**
19862
+ * Access denied
19863
+ */
19864
+ 403: ErrorResponse;
19865
+ /**
19866
+ * Resource not found
19867
+ */
19868
+ 404: ErrorResponse;
19869
+ /**
19870
+ * Validation Error
19871
+ */
19872
+ 422: HttpValidationError;
19873
+ /**
19874
+ * Rate limit exceeded
19875
+ */
19876
+ 429: ErrorResponse;
19877
+ /**
19878
+ * Internal server error
19879
+ */
19880
+ 500: ErrorResponse;
19881
+ };
19882
+ export type AddGraphMemberError = AddGraphMemberErrors[keyof AddGraphMemberErrors];
19883
+ export type AddGraphMemberResponses = {
19884
+ /**
19885
+ * Successful Response
19886
+ */
19887
+ 201: GraphMemberResponse;
19888
+ };
19889
+ export type AddGraphMemberResponse = AddGraphMemberResponses[keyof AddGraphMemberResponses];
19890
+ export type RemoveGraphMemberData = {
19891
+ body?: never;
19892
+ path: {
19893
+ /**
19894
+ * User Id
19895
+ */
19896
+ user_id: string;
19897
+ /**
19898
+ * Graph Id
19899
+ *
19900
+ * Graph identifier
19901
+ */
19902
+ graph_id: string;
19903
+ };
19904
+ query?: never;
19905
+ url: '/v1/graphs/{graph_id}/members/{user_id}';
19906
+ };
19907
+ export type RemoveGraphMemberErrors = {
19908
+ /**
19909
+ * Invalid request
19910
+ */
19911
+ 400: ErrorResponse;
19912
+ /**
19913
+ * Authentication required
19914
+ */
19915
+ 401: ErrorResponse;
19916
+ /**
19917
+ * Access denied
19918
+ */
19919
+ 403: ErrorResponse;
19920
+ /**
19921
+ * Resource not found
19922
+ */
19923
+ 404: ErrorResponse;
19924
+ /**
19925
+ * Validation Error
19926
+ */
19927
+ 422: HttpValidationError;
19928
+ /**
19929
+ * Rate limit exceeded
19930
+ */
19931
+ 429: ErrorResponse;
19932
+ /**
19933
+ * Internal server error
19934
+ */
19935
+ 500: ErrorResponse;
19936
+ };
19937
+ export type RemoveGraphMemberError = RemoveGraphMemberErrors[keyof RemoveGraphMemberErrors];
19938
+ export type RemoveGraphMemberResponses = {
19939
+ /**
19940
+ * Successful Response
19941
+ */
19942
+ 204: void;
19943
+ };
19944
+ export type RemoveGraphMemberResponse = RemoveGraphMemberResponses[keyof RemoveGraphMemberResponses];
19945
+ export type UpdateGraphMemberRoleData = {
19946
+ body: UpdateGraphMemberRoleRequest;
19947
+ path: {
19948
+ /**
19949
+ * User Id
19950
+ */
19951
+ user_id: string;
19952
+ /**
19953
+ * Graph Id
19954
+ *
19955
+ * Graph identifier
19956
+ */
19957
+ graph_id: string;
19958
+ };
19959
+ query?: never;
19960
+ url: '/v1/graphs/{graph_id}/members/{user_id}';
19961
+ };
19962
+ export type UpdateGraphMemberRoleErrors = {
19963
+ /**
19964
+ * Invalid request
19965
+ */
19966
+ 400: ErrorResponse;
19967
+ /**
19968
+ * Authentication required
19969
+ */
19970
+ 401: ErrorResponse;
19971
+ /**
19972
+ * Access denied
19973
+ */
19974
+ 403: ErrorResponse;
19975
+ /**
19976
+ * Resource not found
19977
+ */
19978
+ 404: ErrorResponse;
19979
+ /**
19980
+ * Validation Error
19981
+ */
19982
+ 422: HttpValidationError;
19983
+ /**
19984
+ * Rate limit exceeded
19985
+ */
19986
+ 429: ErrorResponse;
19987
+ /**
19988
+ * Internal server error
19989
+ */
19990
+ 500: ErrorResponse;
19991
+ };
19992
+ export type UpdateGraphMemberRoleError = UpdateGraphMemberRoleErrors[keyof UpdateGraphMemberRoleErrors];
19993
+ export type UpdateGraphMemberRoleResponses = {
19994
+ /**
19995
+ * Successful Response
19996
+ */
19997
+ 200: GraphMemberResponse;
19998
+ };
19999
+ export type UpdateGraphMemberRoleResponse = UpdateGraphMemberRoleResponses[keyof UpdateGraphMemberRoleResponses];
19290
20000
  export type ListSubgraphsData = {
19291
20001
  body?: never;
19292
20002
  path: {