@collective-intelligence/external-apps-server-sdk 0.1.0 → 0.1.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/dist/admin.d.ts CHANGED
@@ -562,11 +562,11 @@ export type AiSkillPackageSummaryDto = {
562
562
  totalSizeBytes: number;
563
563
  };
564
564
  export type AiSkillBindingRefDto = {
565
+ groupId: string | null;
566
+ groupName: string | null;
565
567
  id: string;
566
568
  membershipCoverage: string;
567
569
  organizationId: string;
568
- teamId: string | null;
569
- teamName: string | null;
570
570
  type: string;
571
571
  userId: string | null;
572
572
  userName: string | null;
@@ -935,10 +935,10 @@ export type AiApprovalRequestsCreateRuleData = {
935
935
  expiresInSeconds?: number | null;
936
936
  requireAllSteps?: boolean;
937
937
  steps: Array<{
938
- membershipCoverage?: "direct_team_members" | "team_and_descendant_members" | null;
938
+ membershipCoverage?: "direct_group_members" | "group_and_descendant_members" | null;
939
939
  requiredApprovals?: number;
940
940
  subjectId: string;
941
- subjectKind: "user" | "team";
941
+ subjectKind: "user" | "group";
942
942
  }>;
943
943
  };
944
944
  description?: string | null;
@@ -1874,7 +1874,7 @@ export type RelationSchemasUpdateData = {
1874
1874
  indexContent?: boolean;
1875
1875
  indexOverview?: boolean;
1876
1876
  indexed?: boolean;
1877
- managedProjectionSource?: "organization_team" | "organization_user";
1877
+ managedProjectionSource?: "organization_group" | "organization_user";
1878
1878
  queryGuidance?: string;
1879
1879
  unique?: boolean;
1880
1880
  };
@@ -1887,8 +1887,8 @@ export type RelationSchemasUpdateData = {
1887
1887
  managedProjection?: {
1888
1888
  connectorPolicy: "allow" | "deny_schema";
1889
1889
  genericMutationPolicy: "deny_managed_fields" | "deny_schema";
1890
- kind: "directory_person" | "directory_person_in_team" | "directory_team" | "directory_team_parent";
1891
- source: "organization_team" | "organization_team_hierarchy" | "organization_team_membership" | "organization_user";
1890
+ kind: "directory_person" | "directory_person_in_group" | "directory_group" | "directory_group_parent";
1891
+ source: "organization_group" | "organization_group_hierarchy" | "organization_group_membership" | "organization_user";
1892
1892
  } | null;
1893
1893
  name?: string;
1894
1894
  sourceSchemaId?: string;
@@ -1982,7 +1982,7 @@ export type RelationSchemasCreateData = {
1982
1982
  indexContent?: boolean;
1983
1983
  indexOverview?: boolean;
1984
1984
  indexed?: boolean;
1985
- managedProjectionSource?: "organization_team" | "organization_user";
1985
+ managedProjectionSource?: "organization_group" | "organization_user";
1986
1986
  queryGuidance?: string;
1987
1987
  unique?: boolean;
1988
1988
  };
@@ -1995,8 +1995,8 @@ export type RelationSchemasCreateData = {
1995
1995
  managedProjection?: {
1996
1996
  connectorPolicy: "allow" | "deny_schema";
1997
1997
  genericMutationPolicy: "deny_managed_fields" | "deny_schema";
1998
- kind: "directory_person" | "directory_person_in_team" | "directory_team" | "directory_team_parent";
1999
- source: "organization_team" | "organization_team_hierarchy" | "organization_team_membership" | "organization_user";
1998
+ kind: "directory_person" | "directory_person_in_group" | "directory_group" | "directory_group_parent";
1999
+ source: "organization_group" | "organization_group_hierarchy" | "organization_group_membership" | "organization_user";
2000
2000
  } | null;
2001
2001
  name: string;
2002
2002
  sourceSchemaId: string;
@@ -2227,7 +2227,7 @@ export type EntitySchemasUpdateData = {
2227
2227
  indexContent?: boolean;
2228
2228
  indexOverview?: boolean;
2229
2229
  indexed?: boolean;
2230
- managedProjectionSource?: "organization_team" | "organization_user";
2230
+ managedProjectionSource?: "organization_group" | "organization_user";
2231
2231
  queryGuidance?: string;
2232
2232
  unique?: boolean;
2233
2233
  };
@@ -2246,8 +2246,8 @@ export type EntitySchemasUpdateData = {
2246
2246
  managedProjection?: {
2247
2247
  connectorPolicy: "allow" | "deny_schema";
2248
2248
  genericMutationPolicy: "deny_managed_fields" | "deny_schema";
2249
- kind: "directory_person" | "directory_person_in_team" | "directory_team" | "directory_team_parent";
2250
- source: "organization_team" | "organization_team_hierarchy" | "organization_team_membership" | "organization_user";
2249
+ kind: "directory_person" | "directory_person_in_group" | "directory_group" | "directory_group_parent";
2250
+ source: "organization_group" | "organization_group_hierarchy" | "organization_group_membership" | "organization_user";
2251
2251
  } | null;
2252
2252
  name?: string;
2253
2253
  persistFullFieldContributions?: boolean;
@@ -2361,7 +2361,7 @@ export type EntitySchemasCreateData = {
2361
2361
  indexContent?: boolean;
2362
2362
  indexOverview?: boolean;
2363
2363
  indexed?: boolean;
2364
- managedProjectionSource?: "organization_team" | "organization_user";
2364
+ managedProjectionSource?: "organization_group" | "organization_user";
2365
2365
  queryGuidance?: string;
2366
2366
  unique?: boolean;
2367
2367
  };
@@ -2374,8 +2374,8 @@ export type EntitySchemasCreateData = {
2374
2374
  managedProjection?: {
2375
2375
  connectorPolicy: "allow" | "deny_schema";
2376
2376
  genericMutationPolicy: "deny_managed_fields" | "deny_schema";
2377
- kind: "directory_person" | "directory_person_in_team" | "directory_team" | "directory_team_parent";
2378
- source: "organization_team" | "organization_team_hierarchy" | "organization_team_membership" | "organization_user";
2377
+ kind: "directory_person" | "directory_person_in_group" | "directory_group" | "directory_group_parent";
2378
+ source: "organization_group" | "organization_group_hierarchy" | "organization_group_membership" | "organization_user";
2379
2379
  } | null;
2380
2380
  name: string;
2381
2381
  persistFullFieldContributions?: boolean;
@@ -2714,17 +2714,24 @@ export type TenantFeatureFlagsUpdateData = {
2714
2714
  query?: never;
2715
2715
  url: "/admin/tenant/feature-flags/{uid}";
2716
2716
  };
2717
- export type TenantPublicApplicationsCreateData = {
2717
+ export type TenantExternalAppsCreateData = {
2718
2718
  body: {
2719
2719
  allowedOrigins: Array<string>;
2720
2720
  audience: string;
2721
2721
  name: string;
2722
2722
  postLogoutRedirectUris: Array<string>;
2723
+ /**
2724
+ * Every accepted callback, including the primary redirect URI.
2725
+ */
2723
2726
  redirectUris: Array<string>;
2724
2727
  scopes: Array<string>;
2725
2728
  setupInstructions: string;
2726
2729
  applicationType: "public" | "confidential";
2727
2730
  fqn: string;
2731
+ /**
2732
+ * Default callback for people and tools. It must be one of redirectUris; it does not restrict which redirect URI an authorization request may use.
2733
+ */
2734
+ primaryRedirectUri?: string;
2728
2735
  scope: {
2729
2736
  kind: "organization";
2730
2737
  organizationId: string;
@@ -2738,7 +2745,7 @@ export type TenantPublicApplicationsCreateData = {
2738
2745
  };
2739
2746
  path?: never;
2740
2747
  query?: never;
2741
- url: "/admin/tenant/public-applications";
2748
+ url: "/admin/tenant/external-apps";
2742
2749
  };
2743
2750
  export type TenantVariablesSearchData = {
2744
2751
  body: {
@@ -2907,7 +2914,7 @@ export type OrganizationsUpdateData = {
2907
2914
  hasNoWebsite?: boolean;
2908
2915
  iconFileId?: string | null;
2909
2916
  logoFileId?: string | null;
2910
- maxTeamHierarchyDepth?: number;
2917
+ maxGroupHierarchyDepth?: number;
2911
2918
  meta?: string | null;
2912
2919
  name?: string;
2913
2920
  organizationKind?: string | null;
@@ -2949,10 +2956,10 @@ export type OrganizationUsersSearchData = {
2949
2956
  lte?: string;
2950
2957
  };
2951
2958
  role?: {
2952
- eq?: "tenant_admin" | "organization_admin" | "organization_guest" | "organization_user";
2953
- in?: Array<"tenant_admin" | "organization_admin" | "organization_guest" | "organization_user">;
2959
+ eq?: "tenant_admin" | "organization_admin" | "organization_guest" | "organization_user" | "member";
2960
+ in?: Array<"tenant_admin" | "organization_admin" | "organization_guest" | "organization_user" | "member">;
2954
2961
  isNull?: boolean;
2955
- notIn?: Array<"tenant_admin" | "organization_admin" | "organization_guest" | "organization_user">;
2962
+ notIn?: Array<"tenant_admin" | "organization_admin" | "organization_guest" | "organization_user" | "member">;
2956
2963
  };
2957
2964
  updatedAt?: {
2958
2965
  eq?: string;
@@ -2995,7 +3002,7 @@ export type OrganizationUsersDeleteData = {
2995
3002
  };
2996
3003
  export type OrganizationUsersUpdateData = {
2997
3004
  body: {
2998
- role?: "tenant_admin" | "organization_admin" | "organization_guest" | "organization_user";
3005
+ role?: "tenant_admin" | "organization_admin" | "organization_guest" | "organization_user" | "member";
2999
3006
  };
3000
3007
  headers: {
3001
3008
  authorization?: string;
@@ -3007,7 +3014,7 @@ export type OrganizationUsersUpdateData = {
3007
3014
  query?: never;
3008
3015
  url: "/admin/organization/users/{id}";
3009
3016
  };
3010
- export type OrganizationTeamsSearchData = {
3017
+ export type OrganizationGroupsSearchData = {
3011
3018
  body: {
3012
3019
  limit?: number;
3013
3020
  page?: number;
@@ -3072,9 +3079,9 @@ export type OrganizationTeamsSearchData = {
3072
3079
  };
3073
3080
  path?: never;
3074
3081
  query?: never;
3075
- url: "/admin/organization/teams/search";
3082
+ url: "/admin/organization/groups/search";
3076
3083
  };
3077
- export type OrganizationTeamsDeleteData = {
3084
+ export type OrganizationGroupsDeleteData = {
3078
3085
  body?: never;
3079
3086
  headers: {
3080
3087
  authorization?: string;
@@ -3084,13 +3091,13 @@ export type OrganizationTeamsDeleteData = {
3084
3091
  id: string;
3085
3092
  };
3086
3093
  query?: never;
3087
- url: "/admin/organization/teams/{id}";
3094
+ url: "/admin/organization/groups/{id}";
3088
3095
  };
3089
- export type OrganizationTeamsUpdateData = {
3096
+ export type OrganizationGroupsUpdateData = {
3090
3097
  body: {
3091
3098
  description?: string | null;
3092
3099
  name?: string;
3093
- parentTeamId?: string | null;
3100
+ parentGroupId?: string | null;
3094
3101
  slug?: string | null;
3095
3102
  };
3096
3103
  headers: {
@@ -3101,14 +3108,14 @@ export type OrganizationTeamsUpdateData = {
3101
3108
  id: string;
3102
3109
  };
3103
3110
  query?: never;
3104
- url: "/admin/organization/teams/{id}";
3111
+ url: "/admin/organization/groups/{id}";
3105
3112
  };
3106
- export type OrganizationTeamsCreateData = {
3113
+ export type OrganizationGroupsCreateData = {
3107
3114
  body: {
3108
3115
  description?: string | null;
3109
3116
  name: string;
3110
3117
  organizationId: string;
3111
- parentTeamId?: string | null;
3118
+ parentGroupId?: string | null;
3112
3119
  slug?: string | null;
3113
3120
  };
3114
3121
  headers: {
@@ -3117,9 +3124,9 @@ export type OrganizationTeamsCreateData = {
3117
3124
  };
3118
3125
  path?: never;
3119
3126
  query?: never;
3120
- url: "/admin/organization/teams";
3127
+ url: "/admin/organization/groups";
3121
3128
  };
3122
- export type OrganizationTeamMembersSearchData = {
3129
+ export type OrganizationGroupMembersSearchData = {
3123
3130
  body: {
3124
3131
  limit?: number;
3125
3132
  page?: number;
@@ -3132,15 +3139,15 @@ export type OrganizationTeamMembersSearchData = {
3132
3139
  lt?: string;
3133
3140
  lte?: string;
3134
3141
  };
3142
+ groupId?: {
3143
+ eq?: string;
3144
+ };
3135
3145
  role?: {
3136
3146
  eq?: "member" | "admin";
3137
3147
  in?: Array<"member" | "admin">;
3138
3148
  isNull?: boolean;
3139
3149
  notIn?: Array<"member" | "admin">;
3140
3150
  };
3141
- teamId?: {
3142
- eq?: string;
3143
- };
3144
3151
  updatedAt?: {
3145
3152
  eq?: string;
3146
3153
  gt?: string;
@@ -3160,7 +3167,7 @@ export type OrganizationTeamMembersSearchData = {
3160
3167
  };
3161
3168
  sort?: Array<{
3162
3169
  direction: "asc" | "desc";
3163
- field: "createdAt" | "role" | "teamId" | "updatedAt" | "userId";
3170
+ field: "createdAt" | "role" | "groupId" | "updatedAt" | "userId";
3164
3171
  }>;
3165
3172
  };
3166
3173
  headers: {
@@ -3169,9 +3176,9 @@ export type OrganizationTeamMembersSearchData = {
3169
3176
  };
3170
3177
  path?: never;
3171
3178
  query?: never;
3172
- url: "/admin/organization/team-members/search";
3179
+ url: "/admin/organization/group-members/search";
3173
3180
  };
3174
- export type OrganizationTeamMembersDeleteData = {
3181
+ export type OrganizationGroupMembersDeleteData = {
3175
3182
  body?: never;
3176
3183
  headers: {
3177
3184
  authorization?: string;
@@ -3181,12 +3188,12 @@ export type OrganizationTeamMembersDeleteData = {
3181
3188
  id: string;
3182
3189
  };
3183
3190
  query?: never;
3184
- url: "/admin/organization/team-members/{id}";
3191
+ url: "/admin/organization/group-members/{id}";
3185
3192
  };
3186
- export type OrganizationTeamMembersCreateData = {
3193
+ export type OrganizationGroupMembersCreateData = {
3187
3194
  body: {
3195
+ groupId: string;
3188
3196
  role?: "member" | "admin";
3189
- teamId: string;
3190
3197
  userId: string;
3191
3198
  };
3192
3199
  headers: {
@@ -3195,14 +3202,14 @@ export type OrganizationTeamMembersCreateData = {
3195
3202
  };
3196
3203
  path?: never;
3197
3204
  query?: never;
3198
- url: "/admin/organization/team-members";
3205
+ url: "/admin/organization/group-members";
3199
3206
  };
3200
3207
  export type OrganizationInvitationsCreateData = {
3201
3208
  body: {
3202
3209
  email: string;
3210
+ groupIds?: Array<string>;
3203
3211
  organizationRole?: "tenant_admin" | "organization_admin" | "organization_guest" | "organization_user";
3204
3212
  role?: "member" | "admin";
3205
- teamIds?: Array<string>;
3206
3213
  };
3207
3214
  headers: {
3208
3215
  authorization?: string;
@@ -3701,7 +3708,7 @@ export type OrganizationApiKeysCreateData = {
3701
3708
  body: {
3702
3709
  expiresAt?: string | null;
3703
3710
  name: string;
3704
- scopes: Array<"data_read" | "data_manage" | "automations_invoke" | "organization_users_manage" | "organization_settings_manage" | "public_applications_manage">;
3711
+ scopes: Array<"data_read" | "data_manage" | "automations_invoke" | "organization_users_manage" | "organization_settings_manage" | "external_apps_manage">;
3705
3712
  };
3706
3713
  headers: {
3707
3714
  authorization?: string;
@@ -3723,7 +3730,7 @@ export type OrganizationApiKeysRevokeData = {
3723
3730
  query?: never;
3724
3731
  url: "/admin/organization/api-keys/{id}/revoke";
3725
3732
  };
3726
- export type OrganizationPublicApplicationsListResponses = {
3733
+ export type OrganizationExternalAppsListResponses = {
3727
3734
  /**
3728
3735
  * Success
3729
3736
  */
@@ -3741,6 +3748,10 @@ export type OrganizationPublicApplicationsListResponses = {
3741
3748
  lifecycle: ComponentLifecycleOptions | null;
3742
3749
  name: string;
3743
3750
  postLogoutRedirectUris: Array<string>;
3751
+ primaryRedirectUri: string | null;
3752
+ /**
3753
+ * Every accepted callback, including the primary redirect URI.
3754
+ */
3744
3755
  redirectUris: Array<string>;
3745
3756
  scope: {
3746
3757
  kind: "organization";
@@ -3755,8 +3766,8 @@ export type OrganizationPublicApplicationsListResponses = {
3755
3766
  }>;
3756
3767
  };
3757
3768
  };
3758
- export type OrganizationPublicApplicationsListResponse = OrganizationPublicApplicationsListResponses[keyof OrganizationPublicApplicationsListResponses];
3759
- export type OrganizationPublicApplicationsCreateResponses = {
3769
+ export type OrganizationExternalAppsListResponse = OrganizationExternalAppsListResponses[keyof OrganizationExternalAppsListResponses];
3770
+ export type OrganizationExternalAppsCreateResponses = {
3760
3771
  /**
3761
3772
  * Success
3762
3773
  */
@@ -3774,6 +3785,10 @@ export type OrganizationPublicApplicationsCreateResponses = {
3774
3785
  lifecycle: ComponentLifecycleOptions | null;
3775
3786
  name: string;
3776
3787
  postLogoutRedirectUris: Array<string>;
3788
+ primaryRedirectUri: string | null;
3789
+ /**
3790
+ * Every accepted callback, including the primary redirect URI.
3791
+ */
3777
3792
  redirectUris: Array<string>;
3778
3793
  scope: {
3779
3794
  kind: "organization";
@@ -3801,6 +3816,10 @@ export type OrganizationPublicApplicationsCreateResponses = {
3801
3816
  lifecycle: ComponentLifecycleOptions | null;
3802
3817
  name: string;
3803
3818
  postLogoutRedirectUris: Array<string>;
3819
+ primaryRedirectUri: string | null;
3820
+ /**
3821
+ * Every accepted callback, including the primary redirect URI.
3822
+ */
3804
3823
  redirectUris: Array<string>;
3805
3824
  scope: {
3806
3825
  kind: "organization";
@@ -3817,8 +3836,8 @@ export type OrganizationPublicApplicationsCreateResponses = {
3817
3836
  kind: "confidential";
3818
3837
  };
3819
3838
  };
3820
- export type OrganizationPublicApplicationsCreateResponse = OrganizationPublicApplicationsCreateResponses[keyof OrganizationPublicApplicationsCreateResponses];
3821
- export type OrganizationPublicApplicationsGetResponses = {
3839
+ export type OrganizationExternalAppsCreateResponse = OrganizationExternalAppsCreateResponses[keyof OrganizationExternalAppsCreateResponses];
3840
+ export type OrganizationExternalAppsGetResponses = {
3822
3841
  /**
3823
3842
  * Success
3824
3843
  */
@@ -3835,6 +3854,10 @@ export type OrganizationPublicApplicationsGetResponses = {
3835
3854
  lifecycle: ComponentLifecycleOptions | null;
3836
3855
  name: string;
3837
3856
  postLogoutRedirectUris: Array<string>;
3857
+ primaryRedirectUri: string | null;
3858
+ /**
3859
+ * Every accepted callback, including the primary redirect URI.
3860
+ */
3838
3861
  redirectUris: Array<string>;
3839
3862
  scope: {
3840
3863
  kind: "organization";
@@ -3848,14 +3871,21 @@ export type OrganizationPublicApplicationsGetResponses = {
3848
3871
  updatedAt: string;
3849
3872
  };
3850
3873
  };
3851
- export type OrganizationPublicApplicationsGetResponse = OrganizationPublicApplicationsGetResponses[keyof OrganizationPublicApplicationsGetResponses];
3852
- export type OrganizationPublicApplicationsUpdateData = {
3874
+ export type OrganizationExternalAppsGetResponse = OrganizationExternalAppsGetResponses[keyof OrganizationExternalAppsGetResponses];
3875
+ export type OrganizationExternalAppsUpdateData = {
3853
3876
  body: {
3854
3877
  allowedOrigins?: Array<string>;
3855
3878
  audience?: string;
3856
3879
  enabled?: boolean;
3857
3880
  name?: string;
3858
3881
  postLogoutRedirectUris?: Array<string>;
3882
+ /**
3883
+ * Default callback for people and tools. It must be one of redirectUris; it does not restrict which redirect URI an authorization request may use.
3884
+ */
3885
+ primaryRedirectUri?: string;
3886
+ /**
3887
+ * Every accepted callback, including the primary redirect URI.
3888
+ */
3859
3889
  redirectUris?: Array<string>;
3860
3890
  scope?: {
3861
3891
  kind: "organization";
@@ -3875,9 +3905,9 @@ export type OrganizationPublicApplicationsUpdateData = {
3875
3905
  id: string;
3876
3906
  };
3877
3907
  query?: never;
3878
- url: "/admin/organization/public-applications/{id}";
3908
+ url: "/admin/organization/external-apps/{id}";
3879
3909
  };
3880
- export type OrganizationPublicApplicationsRotateCredentialResponses = {
3910
+ export type OrganizationExternalAppsRotateCredentialResponses = {
3881
3911
  /**
3882
3912
  * Success
3883
3913
  */
@@ -3895,6 +3925,10 @@ export type OrganizationPublicApplicationsRotateCredentialResponses = {
3895
3925
  lifecycle: ComponentLifecycleOptions | null;
3896
3926
  name: string;
3897
3927
  postLogoutRedirectUris: Array<string>;
3928
+ primaryRedirectUri: string | null;
3929
+ /**
3930
+ * Every accepted callback, including the primary redirect URI.
3931
+ */
3898
3932
  redirectUris: Array<string>;
3899
3933
  scope: {
3900
3934
  kind: "organization";
@@ -3910,7 +3944,7 @@ export type OrganizationPublicApplicationsRotateCredentialResponses = {
3910
3944
  clientSecret: string;
3911
3945
  };
3912
3946
  };
3913
- export type OrganizationPublicApplicationsRotateCredentialResponse = OrganizationPublicApplicationsRotateCredentialResponses[keyof OrganizationPublicApplicationsRotateCredentialResponses];
3947
+ export type OrganizationExternalAppsRotateCredentialResponse = OrganizationExternalAppsRotateCredentialResponses[keyof OrganizationExternalAppsRotateCredentialResponses];
3914
3948
  export type WorkflowAuthoringViewport = {
3915
3949
  x: number;
3916
3950
  y: number;
@@ -4341,10 +4375,10 @@ declare const createAdministrationApi: (client: Client$1) => {
4341
4375
  expiresInSeconds: number | null;
4342
4376
  requireAllSteps: boolean;
4343
4377
  steps: Array<{
4344
- membershipCoverage: "direct_team_members" | "team_and_descendant_members" | null;
4378
+ membershipCoverage: "direct_group_members" | "group_and_descendant_members" | null;
4345
4379
  requiredApprovals: number;
4346
4380
  subjectId: string;
4347
- subjectKind: "user" | "team";
4381
+ subjectKind: "user" | "group";
4348
4382
  }>;
4349
4383
  };
4350
4384
  createdAt: string | null;
@@ -4406,10 +4440,10 @@ declare const createAdministrationApi: (client: Client$1) => {
4406
4440
  expiresInSeconds: number | null;
4407
4441
  requireAllSteps: boolean;
4408
4442
  steps: Array<{
4409
- membershipCoverage: "direct_team_members" | "team_and_descendant_members" | null;
4443
+ membershipCoverage: "direct_group_members" | "group_and_descendant_members" | null;
4410
4444
  requiredApprovals: number;
4411
4445
  subjectId: string;
4412
- subjectKind: "user" | "team";
4446
+ subjectKind: "user" | "group";
4413
4447
  }>;
4414
4448
  };
4415
4449
  skillId: string | null;
@@ -4479,10 +4513,10 @@ declare const createAdministrationApi: (client: Client$1) => {
4479
4513
  expiresInSeconds: number | null;
4480
4514
  requireAllSteps: boolean;
4481
4515
  steps: Array<{
4482
- membershipCoverage: "direct_team_members" | "team_and_descendant_members" | null;
4516
+ membershipCoverage: "direct_group_members" | "group_and_descendant_members" | null;
4483
4517
  requiredApprovals: number;
4484
4518
  subjectId: string;
4485
- subjectKind: "user" | "team";
4519
+ subjectKind: "user" | "group";
4486
4520
  }>;
4487
4521
  };
4488
4522
  skillId: string | null;
@@ -4533,7 +4567,7 @@ declare const createAdministrationApi: (client: Client$1) => {
4533
4567
  name: string;
4534
4568
  organizationId: string;
4535
4569
  revokedAt: string | null;
4536
- scopes: Array<"data_read" | "data_manage" | "automations_invoke" | "organization_users_manage" | "organization_settings_manage" | "public_applications_manage">;
4570
+ scopes: Array<"data_read" | "data_manage" | "automations_invoke" | "organization_users_manage" | "organization_settings_manage" | "external_apps_manage">;
4537
4571
  updatedAt: string | null;
4538
4572
  };
4539
4573
  plaintextKey: string;
@@ -4549,7 +4583,7 @@ declare const createAdministrationApi: (client: Client$1) => {
4549
4583
  name: string;
4550
4584
  organizationId: string;
4551
4585
  revokedAt: string | null;
4552
- scopes: Array<"data_read" | "data_manage" | "automations_invoke" | "organization_users_manage" | "organization_settings_manage" | "public_applications_manage">;
4586
+ scopes: Array<"data_read" | "data_manage" | "automations_invoke" | "organization_users_manage" | "organization_settings_manage" | "external_apps_manage">;
4553
4587
  updatedAt: string | null;
4554
4588
  }>;
4555
4589
  paging: {
@@ -4912,6 +4946,117 @@ declare const createAdministrationApi: (client: Client$1) => {
4912
4946
  status: "accepted" | "already_pending" | "configured" | "ineligible";
4913
4947
  }>;
4914
4948
  };
4949
+ groups: {
4950
+ addMember: (options: Pick<Options$1<OrganizationGroupMembersCreateData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
4951
+ createdAt: string | null;
4952
+ groupId: string;
4953
+ id: string;
4954
+ role: "member" | "admin";
4955
+ updatedAt: string | null;
4956
+ userEmail: string | null;
4957
+ userId: string;
4958
+ userName: string | null;
4959
+ }>;
4960
+ create: (options: Pick<Options$1<OrganizationGroupsCreateData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
4961
+ createdAt: string | null;
4962
+ depth: number;
4963
+ descendantGroupCount: number;
4964
+ descendantMemberCount: number;
4965
+ description: string | null;
4966
+ directChildCount: number;
4967
+ directMemberCount: number;
4968
+ id: string;
4969
+ inheritedMembershipImpact: {
4970
+ descendantGroupCount: number;
4971
+ descendantMemberCount: number;
4972
+ inheritedMemberCount: number;
4973
+ };
4974
+ name: string;
4975
+ organizationId: string;
4976
+ parentGroupId: string | null;
4977
+ parentPath: Array<{
4978
+ id: string;
4979
+ name: string;
4980
+ slug: string | null;
4981
+ }>;
4982
+ projectionStatus: {
4983
+ activeManagedProjectionCount: number;
4984
+ directoryGroupEntityId: string | null;
4985
+ healthy: boolean;
4986
+ reasons: Array<string>;
4987
+ state: "healthy" | "missing" | "archived" | "duplicated" | "drifted";
4988
+ };
4989
+ slug: string | null;
4990
+ updatedAt: string | null;
4991
+ }>;
4992
+ delete: (options: Pick<Options$1<OrganizationGroupsDeleteData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
4993
+ message: string;
4994
+ }>;
4995
+ list: (options: Pick<Options$1<OrganizationGroupsSearchData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
4996
+ data: Array<{
4997
+ createdAt: string | null;
4998
+ depth: number;
4999
+ descendantGroupCount: number;
5000
+ descendantMemberCount: number;
5001
+ description: string | null;
5002
+ directChildCount: number;
5003
+ directMemberCount: number;
5004
+ id: string;
5005
+ inheritedMembershipImpact: {
5006
+ descendantGroupCount: number;
5007
+ descendantMemberCount: number;
5008
+ inheritedMemberCount: number;
5009
+ };
5010
+ name: string;
5011
+ organizationId: string;
5012
+ parentGroupId: string | null;
5013
+ parentPath: Array<{
5014
+ id: string;
5015
+ name: string;
5016
+ slug: string | null;
5017
+ }>;
5018
+ projectionStatus: {
5019
+ activeManagedProjectionCount: number;
5020
+ directoryGroupEntityId: string | null;
5021
+ healthy: boolean;
5022
+ reasons: Array<string>;
5023
+ state: "healthy" | "missing" | "archived" | "duplicated" | "drifted";
5024
+ };
5025
+ slug: string | null;
5026
+ updatedAt: string | null;
5027
+ }>;
5028
+ paging: {
5029
+ page: number;
5030
+ pageSize: number;
5031
+ totalItems: number;
5032
+ totalPages: number;
5033
+ };
5034
+ }>;
5035
+ listMembers: (options: Pick<Options$1<OrganizationGroupMembersSearchData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
5036
+ data: Array<{
5037
+ createdAt: string | null;
5038
+ groupId: string;
5039
+ id: string;
5040
+ role: "member" | "admin";
5041
+ updatedAt: string | null;
5042
+ userEmail: string | null;
5043
+ userId: string;
5044
+ userName: string | null;
5045
+ }>;
5046
+ paging: {
5047
+ page: number;
5048
+ pageSize: number;
5049
+ totalItems: number;
5050
+ totalPages: number;
5051
+ };
5052
+ }>;
5053
+ removeMember: (options: Pick<Options$1<OrganizationGroupMembersDeleteData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
5054
+ message: string;
5055
+ }>;
5056
+ update: (options: Pick<Options$1<OrganizationGroupsUpdateData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
5057
+ message: string;
5058
+ }>;
5059
+ };
4915
5060
  infrastructure: {
4916
5061
  clearCache: (options: Pick<object, never>) => Promise<{
4917
5062
  deleted: number;
@@ -5246,27 +5391,86 @@ declare const createAdministrationApi: (client: Client$1) => {
5246
5391
  [key: string]: {
5247
5392
  "ui:disabled"?: boolean;
5248
5393
  "ui:help"?: string;
5394
+ "ui:order"?: number;
5395
+ "ui:placeholder"?: string;
5396
+ "ui:readonly"?: boolean;
5397
+ "ui:suggestedName"?: string;
5398
+ "ui:validation"?: Array<{
5399
+ code?: string;
5400
+ message?: string;
5401
+ type: "integer" | "json" | "non_empty_array" | "required";
5402
+ } | {
5403
+ code?: string;
5404
+ message?: string;
5405
+ type: "max" | "max_length" | "min" | "min_length";
5406
+ value: number;
5407
+ } | {
5408
+ code?: string;
5409
+ message?: string;
5410
+ type: "pattern";
5411
+ value: string;
5412
+ }>;
5413
+ "ui:widget": "checkbox" | "color" | "date" | "date_range" | "datetime" | "email" | "file" | "hidden" | "number" | "password" | "structured_file_preview" | "switch" | "text" | "textarea" | "variable_references";
5414
+ } | {
5415
+ "ui:disabled"?: boolean;
5416
+ "ui:help"?: string;
5417
+ "ui:order"?: number;
5418
+ "ui:placeholder"?: string;
5419
+ "ui:readonly"?: boolean;
5420
+ "ui:suggestedName"?: string;
5421
+ "ui:validation"?: Array<{
5422
+ code?: string;
5423
+ message?: string;
5424
+ type: "integer" | "json" | "non_empty_array" | "required";
5425
+ } | {
5426
+ code?: string;
5427
+ message?: string;
5428
+ type: "max" | "max_length" | "min" | "min_length";
5429
+ value: number;
5430
+ } | {
5431
+ code?: string;
5432
+ message?: string;
5433
+ type: "pattern";
5434
+ value: string;
5435
+ }>;
5249
5436
  "ui:options"?: {
5250
- aiFill?: {
5251
- buttonLabel?: string;
5252
- prompt: string;
5253
- retryable?: boolean;
5437
+ formatField?: string;
5438
+ };
5439
+ "ui:widget": "structured_file_upload";
5440
+ } | {
5441
+ "ui:disabled"?: boolean;
5442
+ "ui:help"?: string;
5443
+ "ui:order"?: number;
5444
+ "ui:placeholder"?: string;
5445
+ "ui:readonly"?: boolean;
5446
+ "ui:suggestedName"?: string;
5447
+ "ui:validation"?: Array<{
5448
+ code?: string;
5449
+ message?: string;
5450
+ type: "integer" | "json" | "non_empty_array" | "required";
5451
+ } | {
5452
+ code?: string;
5453
+ message?: string;
5454
+ type: "max" | "max_length" | "min" | "min_length";
5455
+ value: number;
5456
+ } | {
5457
+ code?: string;
5458
+ message?: string;
5459
+ type: "pattern";
5460
+ value: string;
5461
+ }>;
5462
+ "ui:options": {
5463
+ contribution: {
5464
+ componentFqn: string;
5465
+ connectionSlot: string;
5254
5466
  };
5255
- allowClear?: boolean;
5256
- allowCustom?: boolean;
5257
- dataSource?: string;
5258
- dependencies?: Array<string>;
5259
- options?: Array<string | {
5260
- label?: string;
5261
- locked?: boolean;
5262
- value: string;
5263
- }>;
5264
- preventSaveWhenEmpty?: boolean;
5265
- readonlyOnUpdate?: boolean;
5266
- searchable?: boolean;
5267
- selectionMetadataField?: string;
5268
- submit?: boolean;
5467
+ formatField?: string;
5468
+ label?: string;
5269
5469
  };
5470
+ "ui:widget": "structured_file_browser";
5471
+ } | {
5472
+ "ui:disabled"?: boolean;
5473
+ "ui:help"?: string;
5270
5474
  "ui:order"?: number;
5271
5475
  "ui:placeholder"?: string;
5272
5476
  "ui:readonly"?: boolean;
@@ -5286,7 +5490,28 @@ declare const createAdministrationApi: (client: Client$1) => {
5286
5490
  type: "pattern";
5287
5491
  value: string;
5288
5492
  }>;
5289
- "ui:widget"?: string;
5493
+ "ui:options"?: {
5494
+ aiFill?: {
5495
+ buttonLabel?: string;
5496
+ prompt: string;
5497
+ retryable?: boolean;
5498
+ };
5499
+ allowClear?: boolean;
5500
+ allowCustom?: boolean;
5501
+ dataSource?: string;
5502
+ dependencies?: Array<string>;
5503
+ options?: Array<string | {
5504
+ label?: string;
5505
+ locked?: boolean;
5506
+ value: string;
5507
+ }>;
5508
+ preventSaveWhenEmpty?: boolean;
5509
+ readonlyOnUpdate?: boolean;
5510
+ searchable?: boolean;
5511
+ selectionMetadataField?: string;
5512
+ submit?: boolean;
5513
+ };
5514
+ "ui:widget"?: "folders_explorer" | "multi_select" | "radio" | "select";
5290
5515
  };
5291
5516
  };
5292
5517
  updateSections: Array<{
@@ -5635,27 +5860,86 @@ declare const createAdministrationApi: (client: Client$1) => {
5635
5860
  [key: string]: {
5636
5861
  "ui:disabled"?: boolean;
5637
5862
  "ui:help"?: string;
5863
+ "ui:order"?: number;
5864
+ "ui:placeholder"?: string;
5865
+ "ui:readonly"?: boolean;
5866
+ "ui:suggestedName"?: string;
5867
+ "ui:validation"?: Array<{
5868
+ code?: string;
5869
+ message?: string;
5870
+ type: "integer" | "json" | "non_empty_array" | "required";
5871
+ } | {
5872
+ code?: string;
5873
+ message?: string;
5874
+ type: "max" | "max_length" | "min" | "min_length";
5875
+ value: number;
5876
+ } | {
5877
+ code?: string;
5878
+ message?: string;
5879
+ type: "pattern";
5880
+ value: string;
5881
+ }>;
5882
+ "ui:widget": "checkbox" | "color" | "date" | "date_range" | "datetime" | "email" | "file" | "hidden" | "number" | "password" | "structured_file_preview" | "switch" | "text" | "textarea" | "variable_references";
5883
+ } | {
5884
+ "ui:disabled"?: boolean;
5885
+ "ui:help"?: string;
5886
+ "ui:order"?: number;
5887
+ "ui:placeholder"?: string;
5888
+ "ui:readonly"?: boolean;
5889
+ "ui:suggestedName"?: string;
5890
+ "ui:validation"?: Array<{
5891
+ code?: string;
5892
+ message?: string;
5893
+ type: "integer" | "json" | "non_empty_array" | "required";
5894
+ } | {
5895
+ code?: string;
5896
+ message?: string;
5897
+ type: "max" | "max_length" | "min" | "min_length";
5898
+ value: number;
5899
+ } | {
5900
+ code?: string;
5901
+ message?: string;
5902
+ type: "pattern";
5903
+ value: string;
5904
+ }>;
5638
5905
  "ui:options"?: {
5639
- aiFill?: {
5640
- buttonLabel?: string;
5641
- prompt: string;
5642
- retryable?: boolean;
5906
+ formatField?: string;
5907
+ };
5908
+ "ui:widget": "structured_file_upload";
5909
+ } | {
5910
+ "ui:disabled"?: boolean;
5911
+ "ui:help"?: string;
5912
+ "ui:order"?: number;
5913
+ "ui:placeholder"?: string;
5914
+ "ui:readonly"?: boolean;
5915
+ "ui:suggestedName"?: string;
5916
+ "ui:validation"?: Array<{
5917
+ code?: string;
5918
+ message?: string;
5919
+ type: "integer" | "json" | "non_empty_array" | "required";
5920
+ } | {
5921
+ code?: string;
5922
+ message?: string;
5923
+ type: "max" | "max_length" | "min" | "min_length";
5924
+ value: number;
5925
+ } | {
5926
+ code?: string;
5927
+ message?: string;
5928
+ type: "pattern";
5929
+ value: string;
5930
+ }>;
5931
+ "ui:options": {
5932
+ contribution: {
5933
+ componentFqn: string;
5934
+ connectionSlot: string;
5643
5935
  };
5644
- allowClear?: boolean;
5645
- allowCustom?: boolean;
5646
- dataSource?: string;
5647
- dependencies?: Array<string>;
5648
- options?: Array<string | {
5649
- label?: string;
5650
- locked?: boolean;
5651
- value: string;
5652
- }>;
5653
- preventSaveWhenEmpty?: boolean;
5654
- readonlyOnUpdate?: boolean;
5655
- searchable?: boolean;
5656
- selectionMetadataField?: string;
5657
- submit?: boolean;
5936
+ formatField?: string;
5937
+ label?: string;
5658
5938
  };
5939
+ "ui:widget": "structured_file_browser";
5940
+ } | {
5941
+ "ui:disabled"?: boolean;
5942
+ "ui:help"?: string;
5659
5943
  "ui:order"?: number;
5660
5944
  "ui:placeholder"?: string;
5661
5945
  "ui:readonly"?: boolean;
@@ -5675,7 +5959,28 @@ declare const createAdministrationApi: (client: Client$1) => {
5675
5959
  type: "pattern";
5676
5960
  value: string;
5677
5961
  }>;
5678
- "ui:widget"?: string;
5962
+ "ui:options"?: {
5963
+ aiFill?: {
5964
+ buttonLabel?: string;
5965
+ prompt: string;
5966
+ retryable?: boolean;
5967
+ };
5968
+ allowClear?: boolean;
5969
+ allowCustom?: boolean;
5970
+ dataSource?: string;
5971
+ dependencies?: Array<string>;
5972
+ options?: Array<string | {
5973
+ label?: string;
5974
+ locked?: boolean;
5975
+ value: string;
5976
+ }>;
5977
+ preventSaveWhenEmpty?: boolean;
5978
+ readonlyOnUpdate?: boolean;
5979
+ searchable?: boolean;
5980
+ selectionMetadataField?: string;
5981
+ submit?: boolean;
5982
+ };
5983
+ "ui:widget"?: "folders_explorer" | "multi_select" | "radio" | "select";
5679
5984
  };
5680
5985
  };
5681
5986
  updateSections: Array<{
@@ -6014,7 +6319,7 @@ declare const createAdministrationApi: (client: Client$1) => {
6014
6319
  indexContent?: boolean;
6015
6320
  indexOverview?: boolean;
6016
6321
  indexed?: boolean;
6017
- managedProjectionSource?: "organization_team" | "organization_user";
6322
+ managedProjectionSource?: "organization_group" | "organization_user";
6018
6323
  queryGuidance?: string;
6019
6324
  unique?: boolean;
6020
6325
  };
@@ -6029,8 +6334,8 @@ declare const createAdministrationApi: (client: Client$1) => {
6029
6334
  managedProjection: {
6030
6335
  connectorPolicy: "allow" | "deny_schema";
6031
6336
  genericMutationPolicy: "deny_managed_fields" | "deny_schema";
6032
- kind: "directory_person" | "directory_person_in_team" | "directory_team" | "directory_team_parent";
6033
- source: "organization_team" | "organization_team_hierarchy" | "organization_team_membership" | "organization_user";
6337
+ kind: "directory_person" | "directory_person_in_group" | "directory_group" | "directory_group_parent";
6338
+ source: "organization_group" | "organization_group_hierarchy" | "organization_group_membership" | "organization_user";
6034
6339
  } | null;
6035
6340
  name: string;
6036
6341
  persistFullFieldContributions: boolean;
@@ -6119,7 +6424,7 @@ declare const createAdministrationApi: (client: Client$1) => {
6119
6424
  indexContent?: boolean;
6120
6425
  indexOverview?: boolean;
6121
6426
  indexed?: boolean;
6122
- managedProjectionSource?: "organization_team" | "organization_user";
6427
+ managedProjectionSource?: "organization_group" | "organization_user";
6123
6428
  queryGuidance?: string;
6124
6429
  unique?: boolean;
6125
6430
  };
@@ -6134,8 +6439,8 @@ declare const createAdministrationApi: (client: Client$1) => {
6134
6439
  managedProjection: {
6135
6440
  connectorPolicy: "allow" | "deny_schema";
6136
6441
  genericMutationPolicy: "deny_managed_fields" | "deny_schema";
6137
- kind: "directory_person" | "directory_person_in_team" | "directory_team" | "directory_team_parent";
6138
- source: "organization_team" | "organization_team_hierarchy" | "organization_team_membership" | "organization_user";
6442
+ kind: "directory_person" | "directory_person_in_group" | "directory_group" | "directory_group_parent";
6443
+ source: "organization_group" | "organization_group_hierarchy" | "organization_group_membership" | "organization_user";
6139
6444
  } | null;
6140
6445
  name: string;
6141
6446
  sourceSchemaId: string;
@@ -6245,7 +6550,7 @@ declare const createAdministrationApi: (client: Client$1) => {
6245
6550
  indexContent?: boolean;
6246
6551
  indexOverview?: boolean;
6247
6552
  indexed?: boolean;
6248
- managedProjectionSource?: "organization_team" | "organization_user";
6553
+ managedProjectionSource?: "organization_group" | "organization_user";
6249
6554
  queryGuidance?: string;
6250
6555
  unique?: boolean;
6251
6556
  };
@@ -6260,8 +6565,8 @@ declare const createAdministrationApi: (client: Client$1) => {
6260
6565
  managedProjection: {
6261
6566
  connectorPolicy: "allow" | "deny_schema";
6262
6567
  genericMutationPolicy: "deny_managed_fields" | "deny_schema";
6263
- kind: "directory_person" | "directory_person_in_team" | "directory_team" | "directory_team_parent";
6264
- source: "organization_team" | "organization_team_hierarchy" | "organization_team_membership" | "organization_user";
6568
+ kind: "directory_person" | "directory_person_in_group" | "directory_group" | "directory_group_parent";
6569
+ source: "organization_group" | "organization_group_hierarchy" | "organization_group_membership" | "organization_user";
6265
6570
  } | null;
6266
6571
  name: string;
6267
6572
  persistFullFieldContributions: boolean;
@@ -6350,7 +6655,7 @@ declare const createAdministrationApi: (client: Client$1) => {
6350
6655
  indexContent?: boolean;
6351
6656
  indexOverview?: boolean;
6352
6657
  indexed?: boolean;
6353
- managedProjectionSource?: "organization_team" | "organization_user";
6658
+ managedProjectionSource?: "organization_group" | "organization_user";
6354
6659
  queryGuidance?: string;
6355
6660
  unique?: boolean;
6356
6661
  };
@@ -6365,8 +6670,8 @@ declare const createAdministrationApi: (client: Client$1) => {
6365
6670
  managedProjection: {
6366
6671
  connectorPolicy: "allow" | "deny_schema";
6367
6672
  genericMutationPolicy: "deny_managed_fields" | "deny_schema";
6368
- kind: "directory_person" | "directory_person_in_team" | "directory_team" | "directory_team_parent";
6369
- source: "organization_team" | "organization_team_hierarchy" | "organization_team_membership" | "organization_user";
6673
+ kind: "directory_person" | "directory_person_in_group" | "directory_group" | "directory_group_parent";
6674
+ source: "organization_group" | "organization_group_hierarchy" | "organization_group_membership" | "organization_user";
6370
6675
  } | null;
6371
6676
  name: string;
6372
6677
  sourceSchemaId: string;
@@ -6471,7 +6776,7 @@ declare const createAdministrationApi: (client: Client$1) => {
6471
6776
  indexContent?: boolean;
6472
6777
  indexOverview?: boolean;
6473
6778
  indexed?: boolean;
6474
- managedProjectionSource?: "organization_team" | "organization_user";
6779
+ managedProjectionSource?: "organization_group" | "organization_user";
6475
6780
  queryGuidance?: string;
6476
6781
  unique?: boolean;
6477
6782
  };
@@ -6486,8 +6791,8 @@ declare const createAdministrationApi: (client: Client$1) => {
6486
6791
  managedProjection: {
6487
6792
  connectorPolicy: "allow" | "deny_schema";
6488
6793
  genericMutationPolicy: "deny_managed_fields" | "deny_schema";
6489
- kind: "directory_person" | "directory_person_in_team" | "directory_team" | "directory_team_parent";
6490
- source: "organization_team" | "organization_team_hierarchy" | "organization_team_membership" | "organization_user";
6794
+ kind: "directory_person" | "directory_person_in_group" | "directory_group" | "directory_group_parent";
6795
+ source: "organization_group" | "organization_group_hierarchy" | "organization_group_membership" | "organization_user";
6491
6796
  } | null;
6492
6797
  name: string;
6493
6798
  persistFullFieldContributions: boolean;
@@ -6584,7 +6889,7 @@ declare const createAdministrationApi: (client: Client$1) => {
6584
6889
  indexContent?: boolean;
6585
6890
  indexOverview?: boolean;
6586
6891
  indexed?: boolean;
6587
- managedProjectionSource?: "organization_team" | "organization_user";
6892
+ managedProjectionSource?: "organization_group" | "organization_user";
6588
6893
  queryGuidance?: string;
6589
6894
  unique?: boolean;
6590
6895
  };
@@ -6599,8 +6904,8 @@ declare const createAdministrationApi: (client: Client$1) => {
6599
6904
  managedProjection: {
6600
6905
  connectorPolicy: "allow" | "deny_schema";
6601
6906
  genericMutationPolicy: "deny_managed_fields" | "deny_schema";
6602
- kind: "directory_person" | "directory_person_in_team" | "directory_team" | "directory_team_parent";
6603
- source: "organization_team" | "organization_team_hierarchy" | "organization_team_membership" | "organization_user";
6907
+ kind: "directory_person" | "directory_person_in_group" | "directory_group" | "directory_group_parent";
6908
+ source: "organization_group" | "organization_group_hierarchy" | "organization_group_membership" | "organization_user";
6604
6909
  } | null;
6605
6910
  name: string;
6606
6911
  sourceSchemaId: string;
@@ -6626,12 +6931,12 @@ declare const createAdministrationApi: (client: Client$1) => {
6626
6931
  acceptedAt: string | null;
6627
6932
  createdAt: string | null;
6628
6933
  email: string;
6934
+ groupIds: Array<string>;
6629
6935
  id: string;
6630
6936
  organizationId: string;
6631
6937
  organizationRole: string;
6632
6938
  role: "member" | "admin";
6633
6939
  status: "pending" | "accepted" | "revoked";
6634
- teamIds: Array<string>;
6635
6940
  updatedAt: string | null;
6636
6941
  }>;
6637
6942
  list: (options: Pick<Options$1<OrganizationUsersSearchData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
@@ -6639,7 +6944,7 @@ declare const createAdministrationApi: (client: Client$1) => {
6639
6944
  createdAt: string | null;
6640
6945
  id: string;
6641
6946
  organizationId: string;
6642
- role: "tenant_admin" | "organization_admin" | "organization_guest" | "organization_user";
6947
+ role: "tenant_admin" | "organization_admin" | "organization_guest" | "organization_user" | "member";
6643
6948
  updatedAt: string | null;
6644
6949
  userEmail: string | null;
6645
6950
  userId: string;
@@ -6679,7 +6984,7 @@ declare const createAdministrationApi: (client: Client$1) => {
6679
6984
  iconFileId: string | null;
6680
6985
  id: string;
6681
6986
  logoFileId: string | null;
6682
- maxTeamHierarchyDepth: number;
6987
+ maxGroupHierarchyDepth: number;
6683
6988
  meta: string | null;
6684
6989
  name: string;
6685
6990
  slug: string | null;
@@ -6711,7 +7016,7 @@ declare const createAdministrationApi: (client: Client$1) => {
6711
7016
  iconFileId: string | null;
6712
7017
  id: string;
6713
7018
  logoFileId: string | null;
6714
- maxTeamHierarchyDepth: number;
7019
+ maxGroupHierarchyDepth: number;
6715
7020
  meta: string | null;
6716
7021
  name: string;
6717
7022
  slug: string | null;
@@ -6969,117 +7274,6 @@ declare const createAdministrationApi: (client: Client$1) => {
6969
7274
  message: string;
6970
7275
  }>;
6971
7276
  };
6972
- teams: {
6973
- addMember: (options: Pick<Options$1<OrganizationTeamMembersCreateData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
6974
- createdAt: string | null;
6975
- id: string;
6976
- role: "member" | "admin";
6977
- teamId: string;
6978
- updatedAt: string | null;
6979
- userEmail: string | null;
6980
- userId: string;
6981
- userName: string | null;
6982
- }>;
6983
- create: (options: Pick<Options$1<OrganizationTeamsCreateData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
6984
- createdAt: string | null;
6985
- depth: number;
6986
- descendantMemberCount: number;
6987
- descendantTeamCount: number;
6988
- description: string | null;
6989
- directChildCount: number;
6990
- directMemberCount: number;
6991
- id: string;
6992
- inheritedMembershipImpact: {
6993
- descendantMemberCount: number;
6994
- descendantTeamCount: number;
6995
- inheritedMemberCount: number;
6996
- };
6997
- name: string;
6998
- organizationId: string;
6999
- parentPath: Array<{
7000
- id: string;
7001
- name: string;
7002
- slug: string | null;
7003
- }>;
7004
- parentTeamId: string | null;
7005
- projectionStatus: {
7006
- activeManagedProjectionCount: number;
7007
- directoryTeamEntityId: string | null;
7008
- healthy: boolean;
7009
- reasons: Array<string>;
7010
- state: "healthy" | "missing" | "archived" | "duplicated" | "drifted";
7011
- };
7012
- slug: string | null;
7013
- updatedAt: string | null;
7014
- }>;
7015
- delete: (options: Pick<Options$1<OrganizationTeamsDeleteData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
7016
- message: string;
7017
- }>;
7018
- list: (options: Pick<Options$1<OrganizationTeamsSearchData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
7019
- data: Array<{
7020
- createdAt: string | null;
7021
- depth: number;
7022
- descendantMemberCount: number;
7023
- descendantTeamCount: number;
7024
- description: string | null;
7025
- directChildCount: number;
7026
- directMemberCount: number;
7027
- id: string;
7028
- inheritedMembershipImpact: {
7029
- descendantMemberCount: number;
7030
- descendantTeamCount: number;
7031
- inheritedMemberCount: number;
7032
- };
7033
- name: string;
7034
- organizationId: string;
7035
- parentPath: Array<{
7036
- id: string;
7037
- name: string;
7038
- slug: string | null;
7039
- }>;
7040
- parentTeamId: string | null;
7041
- projectionStatus: {
7042
- activeManagedProjectionCount: number;
7043
- directoryTeamEntityId: string | null;
7044
- healthy: boolean;
7045
- reasons: Array<string>;
7046
- state: "healthy" | "missing" | "archived" | "duplicated" | "drifted";
7047
- };
7048
- slug: string | null;
7049
- updatedAt: string | null;
7050
- }>;
7051
- paging: {
7052
- page: number;
7053
- pageSize: number;
7054
- totalItems: number;
7055
- totalPages: number;
7056
- };
7057
- }>;
7058
- listMembers: (options: Pick<Options$1<OrganizationTeamMembersSearchData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
7059
- data: Array<{
7060
- createdAt: string | null;
7061
- id: string;
7062
- role: "member" | "admin";
7063
- teamId: string;
7064
- updatedAt: string | null;
7065
- userEmail: string | null;
7066
- userId: string;
7067
- userName: string | null;
7068
- }>;
7069
- paging: {
7070
- page: number;
7071
- pageSize: number;
7072
- totalItems: number;
7073
- totalPages: number;
7074
- };
7075
- }>;
7076
- removeMember: (options: Pick<Options$1<OrganizationTeamMembersDeleteData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
7077
- message: string;
7078
- }>;
7079
- update: (options: Pick<Options$1<OrganizationTeamsUpdateData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
7080
- message: string;
7081
- }>;
7082
- };
7083
7277
  tenantAdministration: {
7084
7278
  createVariable: (options: Pick<Options$1<TenantVariablesCreateData, true, unknown>, "query" | "body" | "headers" | "path">) => Promise<{
7085
7279
  deletable: boolean;
@@ -7391,13 +7585,13 @@ declare const createAdministrationApi: (client: Client$1) => {
7391
7585
  };
7392
7586
  };
7393
7587
  export type AdministrationApi = ReturnType<typeof createAdministrationApi>;
7394
- export type PublicApplicationRegistration = OrganizationPublicApplicationsGetResponse;
7395
- export type PublicApplicationRegistrationList = OrganizationPublicApplicationsListResponse;
7396
- export type CreatePublicApplicationRegistration = TenantPublicApplicationsCreateData["body"];
7397
- export type UpdatePublicApplicationRegistration = OrganizationPublicApplicationsUpdateData["body"];
7398
- export type CreatedPublicApplicationRegistration = OrganizationPublicApplicationsCreateResponse;
7399
- export type RotatedPublicApplicationCredential = OrganizationPublicApplicationsRotateCredentialResponse;
7400
- export type PublicApplicationAdministrationScope = Readonly<{
7588
+ export type ExternalAppRegistration = OrganizationExternalAppsGetResponse;
7589
+ export type ExternalAppRegistrationList = OrganizationExternalAppsListResponse;
7590
+ export type CreateExternalAppRegistration = TenantExternalAppsCreateData["body"];
7591
+ export type UpdateExternalAppRegistration = OrganizationExternalAppsUpdateData["body"];
7592
+ export type CreatedExternalAppRegistration = OrganizationExternalAppsCreateResponse;
7593
+ export type RotatedExternalAppCredential = OrganizationExternalAppsRotateCredentialResponse;
7594
+ export type ExternalAppAdministrationScope = Readonly<{
7401
7595
  kind: "tenant";
7402
7596
  }> | Readonly<{
7403
7597
  kind: "organization";
@@ -7412,18 +7606,18 @@ export interface RotatingServerAdminAuthorizationProvider {
7412
7606
  readonly getAuthorization: () => string | Promise<string>;
7413
7607
  }
7414
7608
  export type ServerAdminAuthorizationProvider = string | RotatingServerAdminAuthorizationProvider;
7415
- export interface PublicApplicationsAdminNamespace {
7416
- readonly create: (scope: PublicApplicationAdministrationScope, request: CreatePublicApplicationRegistration) => Promise<CreatedPublicApplicationRegistration>;
7417
- readonly disable: (scope: PublicApplicationAdministrationScope, id: string) => Promise<PublicApplicationRegistration>;
7418
- readonly get: (scope: PublicApplicationAdministrationScope, id: string) => Promise<PublicApplicationRegistration>;
7419
- readonly list: (scope: PublicApplicationAdministrationScope) => Promise<PublicApplicationRegistrationList>;
7420
- readonly rotateCredential: (scope: PublicApplicationAdministrationScope, id: string) => Promise<RotatedPublicApplicationCredential>;
7421
- readonly update: (scope: PublicApplicationAdministrationScope, id: string, request: UpdatePublicApplicationRegistration) => Promise<PublicApplicationRegistration>;
7609
+ export interface ExternalAppsAdminNamespace {
7610
+ readonly create: (scope: ExternalAppAdministrationScope, request: CreateExternalAppRegistration) => Promise<CreatedExternalAppRegistration>;
7611
+ readonly disable: (scope: ExternalAppAdministrationScope, id: string) => Promise<ExternalAppRegistration>;
7612
+ readonly get: (scope: ExternalAppAdministrationScope, id: string) => Promise<ExternalAppRegistration>;
7613
+ readonly list: (scope: ExternalAppAdministrationScope) => Promise<ExternalAppRegistrationList>;
7614
+ readonly rotateCredential: (scope: ExternalAppAdministrationScope, id: string) => Promise<RotatedExternalAppCredential>;
7615
+ readonly update: (scope: ExternalAppAdministrationScope, id: string, request: UpdateExternalAppRegistration) => Promise<ExternalAppRegistration>;
7422
7616
  }
7423
7617
  export type ServerAdminClient = AdministrationApi & {
7424
- readonly applications: PublicApplicationsAdminNamespace;
7618
+ readonly applications: ExternalAppsAdminNamespace;
7425
7619
  };
7426
- export declare const createAdminClient: (config: ServerAdminClientConfig) => ServerAdminClient, publicApplicationAdminScope: "applications:admin", serverAdminNamespaces: {
7620
+ export declare const createAdminClient: (config: ServerAdminClientConfig) => ServerAdminClient, externalAppAdminScope: "applications:admin", serverAdminNamespaces: {
7427
7621
  readonly aiAuthoring: {
7428
7622
  readonly scopes: readonly [
7429
7623
  "ai:admin"
@@ -7478,6 +7672,12 @@ export declare const createAdminClient: (config: ServerAdminClientConfig) => Ser
7478
7672
  ];
7479
7673
  readonly availability: "generated";
7480
7674
  };
7675
+ readonly groups: {
7676
+ readonly scopes: readonly [
7677
+ "organizations:admin"
7678
+ ];
7679
+ readonly availability: "generated";
7680
+ };
7481
7681
  readonly infrastructure: {
7482
7682
  readonly scopes: readonly [
7483
7683
  "infrastructure:admin"
@@ -7533,12 +7733,6 @@ export declare const createAdminClient: (config: ServerAdminClientConfig) => Ser
7533
7733
  ];
7534
7734
  readonly availability: "generated";
7535
7735
  };
7536
- readonly teams: {
7537
- readonly scopes: readonly [
7538
- "organizations:admin"
7539
- ];
7540
- readonly availability: "generated";
7541
- };
7542
7736
  readonly tenantAdministration: {
7543
7737
  readonly scopes: readonly [
7544
7738
  "organizations:admin"