waldur-js-client 8.0.9-dev.35 → 8.0.9-dev.36

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/sdk.gen.js CHANGED
@@ -24614,6 +24614,20 @@ export const openstackTenantsSetQuotas = (options) => (options.client ?? client)
24614
24614
  ...options.headers
24615
24615
  }
24616
24616
  });
24617
+ /**
24618
+ * Tenant network topology
24619
+ *
24620
+ * Compose the tenant's network topology — routers, networks, subnets, ports, instances, floating IPs, external networks, and inbound RBAC shares — as a graph (nodes + edges). Read-only; all data comes from already-pulled state, no Neutron calls.
24621
+ */
24622
+ export const openstackTenantsTopologyRetrieve = (options) => (options.client ?? client).get({
24623
+ security: [
24624
+ { name: 'Authorization', type: 'apiKey' },
24625
+ { scheme: 'bearer', type: 'http' },
24626
+ { scheme: 'bearer', type: 'http' }
24627
+ ],
24628
+ url: '/api/openstack-tenants/{uuid}/topology/',
24629
+ ...options
24630
+ });
24617
24631
  /**
24618
24632
  * Unlink resource
24619
24633
  *
@@ -9369,7 +9369,6 @@ export type KeycloakUserGroupMembershipRequest = {
9369
9369
  };
9370
9370
  export type KeycloakUserGroupMembershipState = 'pending' | 'active';
9371
9371
  export type KeywordSearchModeEnum = 'expertise_only' | 'full_text';
9372
- export type KindEnum = 'default' | 'course' | 'public';
9373
9372
  export type LoginpagelayoutEnum = 'split-screen' | 'centered-card' | 'minimal' | 'full-hero' | 'gradient' | 'stacked' | 'right-split' | 'glassmorphism' | 'neumorphism' | 'animated-gradient' | 'video-background' | 'bottom-sheet' | 'tabbed' | 'wizard' | 'stats' | 'news' | 'carousel' | 'logo-watermark' | 'brand-pattern' | 'duotone' | 'diagonal' | 'time-based' | 'seasonal' | 'weather';
9374
9373
  export type LbAlgorithmEnum = 'ROUND_ROBIN' | 'LEAST_CONNECTIONS' | 'SOURCE_IP' | 'SOURCE_IP_PORT';
9375
9374
  export type LevelEnum = 'DEBUG' | 'INFO' | 'WARNING' | 'ERROR' | 'CRITICAL';
@@ -17346,7 +17345,7 @@ export type PatchedProjectRequest = {
17346
17345
  /**
17347
17346
  * Project type
17348
17347
  */
17349
- kind?: KindEnum;
17348
+ kind?: ProjectKindEnum;
17350
17349
  /**
17351
17350
  * Internal notes visible only to staff and support users (HTML content will be sanitized)
17352
17351
  */
@@ -18724,7 +18723,7 @@ export type Project = {
18724
18723
  /**
18725
18724
  * Project type
18726
18725
  */
18727
- kind?: KindEnum;
18726
+ kind?: ProjectKindEnum;
18728
18727
  readonly is_removed?: boolean;
18729
18728
  /**
18730
18729
  * Metadata about project termination (read-only)
@@ -19055,6 +19054,7 @@ export type ProjectInfoRequest = {
19055
19054
  */
19056
19055
  allowed_destinations?: string | null;
19057
19056
  };
19057
+ export type ProjectKindEnum = 'default' | 'course' | 'public';
19058
19058
  export type ProjectMapping = {
19059
19059
  uuid: string;
19060
19060
  name: string;
@@ -19189,7 +19189,7 @@ export type ProjectRequest = {
19189
19189
  /**
19190
19190
  * Project type
19191
19191
  */
19192
- kind?: KindEnum;
19192
+ kind?: ProjectKindEnum;
19193
19193
  /**
19194
19194
  * Internal notes visible only to staff and support users (HTML content will be sanitized)
19195
19195
  */
@@ -25797,6 +25797,10 @@ export type TenantSecurityGroupUpdateRequest = {
25797
25797
  description?: string;
25798
25798
  rules?: Array<OpenStackSecurityGroupRuleUpdateByNameRequest>;
25799
25799
  };
25800
+ export type TenantTopology = {
25801
+ nodes: Array<TopologyNode>;
25802
+ edges: Array<TopologyEdge>;
25803
+ };
25800
25804
  export type ThreadSession = {
25801
25805
  readonly uuid?: string;
25802
25806
  name?: string;
@@ -25969,6 +25973,22 @@ export type TopServiceProviderByResources = {
25969
25973
  */
25970
25974
  projects_count: number;
25971
25975
  };
25976
+ export type TopologyEdge = {
25977
+ source: string;
25978
+ target: string;
25979
+ kind: TopologyEdgeKindEnum;
25980
+ };
25981
+ export type TopologyEdgeKindEnum = 'contains' | 'has_subnet' | 'has_port' | 'has_interface' | 'attached_to' | 'gateway' | 'floating_for' | 'shared_with';
25982
+ export type TopologyNode = {
25983
+ id: string;
25984
+ type: TopologyNodeTypeEnum;
25985
+ name: string;
25986
+ uuid?: string | null;
25987
+ attrs: {
25988
+ [key: string]: unknown;
25989
+ };
25990
+ };
25991
+ export type TopologyNodeTypeEnum = 'tenant' | 'router' | 'network' | 'subnet' | 'port' | 'instance' | 'floating_ip' | 'external_network' | 'rbac_share';
25972
25992
  export type TotalCustomerCost = {
25973
25993
  readonly total: number;
25974
25994
  readonly price: number;
@@ -28443,7 +28463,7 @@ export type ProjectRequestForm = {
28443
28463
  /**
28444
28464
  * Project type
28445
28465
  */
28446
- kind?: KindEnum;
28466
+ kind?: ProjectKindEnum;
28447
28467
  /**
28448
28468
  * Internal notes visible only to staff and support users (HTML content will be sanitized)
28449
28469
  */
@@ -28494,7 +28514,7 @@ export type ProjectRequestMultipart = {
28494
28514
  /**
28495
28515
  * Project type
28496
28516
  */
28497
- kind?: KindEnum;
28517
+ kind?: ProjectKindEnum;
28498
28518
  /**
28499
28519
  * Internal notes visible only to staff and support users (HTML content will be sanitized)
28500
28520
  */
@@ -28545,7 +28565,7 @@ export type PatchedProjectRequestForm = {
28545
28565
  /**
28546
28566
  * Project type
28547
28567
  */
28548
- kind?: KindEnum;
28568
+ kind?: ProjectKindEnum;
28549
28569
  /**
28550
28570
  * Internal notes visible only to staff and support users (HTML content will be sanitized)
28551
28571
  */
@@ -28596,7 +28616,7 @@ export type PatchedProjectRequestMultipart = {
28596
28616
  /**
28597
28617
  * Project type
28598
28618
  */
28599
- kind?: KindEnum;
28619
+ kind?: ProjectKindEnum;
28600
28620
  /**
28601
28621
  * Internal notes visible only to staff and support users (HTML content will be sanitized)
28602
28622
  */
@@ -72171,6 +72191,18 @@ export type OpenstackTenantsSetQuotasResponses = {
72171
72191
  202: Status;
72172
72192
  };
72173
72193
  export type OpenstackTenantsSetQuotasResponse = OpenstackTenantsSetQuotasResponses[keyof OpenstackTenantsSetQuotasResponses];
72194
+ export type OpenstackTenantsTopologyRetrieveData = {
72195
+ body?: never;
72196
+ path: {
72197
+ uuid: string;
72198
+ };
72199
+ query?: never;
72200
+ url: '/api/openstack-tenants/{uuid}/topology/';
72201
+ };
72202
+ export type OpenstackTenantsTopologyRetrieveResponses = {
72203
+ 200: TenantTopology;
72204
+ };
72205
+ export type OpenstackTenantsTopologyRetrieveResponse = OpenstackTenantsTopologyRetrieveResponses[keyof OpenstackTenantsTopologyRetrieveResponses];
72174
72206
  export type OpenstackTenantsUnlinkData = {
72175
72207
  body?: never;
72176
72208
  path: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.9-dev.35",
3
+ "version": "8.0.9-dev.36",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",