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

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
@@ -23462,6 +23462,20 @@ export const openstackRoutersAvailableExternalNetworksList = (options) => (optio
23462
23462
  url: '/api/openstack-routers/{uuid}/available_external_networks/',
23463
23463
  ...options
23464
23464
  });
23465
+ /**
23466
+ * Effective routes for this router
23467
+ *
23468
+ * Compose the router's routing table from three sources: the default route inherited from the external gateway subnet, the on-link routes implied by each attached interface, and the user-set static routes. SNAT state is reported alongside.
23469
+ */
23470
+ export const openstackRoutersEffectiveRoutesRetrieve = (options) => (options.client ?? client).get({
23471
+ security: [
23472
+ { name: 'Authorization', type: 'apiKey' },
23473
+ { scheme: 'bearer', type: 'http' },
23474
+ { scheme: 'bearer', type: 'http' }
23475
+ ],
23476
+ url: '/api/openstack-routers/{uuid}/effective_routes/',
23477
+ ...options
23478
+ });
23465
23479
  /**
23466
23480
  * Remove external gateway
23467
23481
  *
@@ -7119,6 +7119,35 @@ export type DuplicateCallRequestRequest = {
7119
7119
  copy_assignment_configuration?: boolean;
7120
7120
  };
7121
7121
  export type EnabledreportingscreensEnum = 'resource-usage' | 'user-usage' | 'quotas' | 'usage-monitoring' | 'usage-trends' | 'organization-summary' | 'project-detail' | 'resources-geography' | 'project-classification' | 'usage-by-customer' | 'usage-by-org-type' | 'usage-by-creator' | 'call-performance' | 'review-progress' | 'resource-demand' | 'capacity' | 'provider-overview' | 'provider-revenue' | 'provider-orders' | 'provider-resources' | 'provider-customers' | 'provider-offerings' | 'openstack-instances' | 'offering-usage' | 'user-analytics' | 'user-demographics' | 'user-organizations' | 'user-affiliations' | 'user-roles' | 'growth' | 'revenue' | 'pricelist' | 'orders' | 'offering-costs' | 'maintenance-overview' | 'provisioning-stats';
7122
+ export type EffectiveRoute = {
7123
+ destination: string;
7124
+ /**
7125
+ * An IPv4 or IPv6 address.
7126
+ */
7127
+ nexthop: string | string | null;
7128
+ source: EffectiveRouteSourceEnum;
7129
+ subnet_uuid?: string | null;
7130
+ subnet_name?: string;
7131
+ subnet_cidr?: string;
7132
+ port_uuid?: string | null;
7133
+ port_backend_id?: string;
7134
+ /**
7135
+ * An IPv4 or IPv6 address.
7136
+ */
7137
+ ip_on_router?: string | string | null;
7138
+ /**
7139
+ * An IPv4 or IPv6 address.
7140
+ */
7141
+ gateway_ip_on_router?: string | string | null;
7142
+ external_network_uuid?: string | null;
7143
+ external_network_name?: string;
7144
+ };
7145
+ export type EffectiveRouteSourceEnum = 'default' | 'connected' | 'static';
7146
+ export type EffectiveRoutesResponse = {
7147
+ snat: boolean | null;
7148
+ has_external_gateway: boolean;
7149
+ routes: Array<EffectiveRoute>;
7150
+ };
7122
7151
  export type EligibilityCheck = {
7123
7152
  is_eligible: boolean;
7124
7153
  restrictions: Array<string>;
@@ -11669,9 +11698,9 @@ export type NestedSecurityGroupRule = {
11669
11698
  */
11670
11699
  direction?: DirectionEnum;
11671
11700
  /**
11672
- * The network protocol (TCP, UDP, ICMP, or empty for any protocol)
11701
+ * Network protocol: 'tcp', 'udp', 'icmp', empty (any) or an IANA protocol number 0-255 (e.g. '112' for VRRP).
11673
11702
  */
11674
- protocol?: SecurityGroupRuleProtocolEnum | BlankEnum;
11703
+ protocol?: string;
11675
11704
  /**
11676
11705
  * Starting port number in the range (1-65535)
11677
11706
  */
@@ -11699,9 +11728,9 @@ export type NestedSecurityGroupRuleRequest = {
11699
11728
  */
11700
11729
  direction?: DirectionEnum;
11701
11730
  /**
11702
- * The network protocol (TCP, UDP, ICMP, or empty for any protocol)
11731
+ * Network protocol: 'tcp', 'udp', 'icmp', empty (any) or an IANA protocol number 0-255 (e.g. '112' for VRRP).
11703
11732
  */
11704
- protocol?: SecurityGroupRuleProtocolEnum | BlankEnum;
11733
+ protocol?: string;
11705
11734
  /**
11706
11735
  * Starting port number in the range (1-65535)
11707
11736
  */
@@ -15033,9 +15062,9 @@ export type OpenStackSecurityGroupRuleCreate = {
15033
15062
  */
15034
15063
  direction?: DirectionEnum;
15035
15064
  /**
15036
- * The network protocol (TCP, UDP, ICMP, or empty for any protocol)
15065
+ * Network protocol: 'tcp', 'udp', 'icmp', empty (any) or an IANA protocol number 0-255 (e.g. '112' for VRRP).
15037
15066
  */
15038
- protocol?: SecurityGroupRuleProtocolEnum | BlankEnum;
15067
+ protocol?: string;
15039
15068
  /**
15040
15069
  * Starting port number in the range (1-65535)
15041
15070
  */
@@ -15067,9 +15096,9 @@ export type OpenStackSecurityGroupRuleCreateRequest = {
15067
15096
  */
15068
15097
  direction?: DirectionEnum;
15069
15098
  /**
15070
- * The network protocol (TCP, UDP, ICMP, or empty for any protocol)
15099
+ * Network protocol: 'tcp', 'udp', 'icmp', empty (any) or an IANA protocol number 0-255 (e.g. '112' for VRRP).
15071
15100
  */
15072
- protocol?: SecurityGroupRuleProtocolEnum | BlankEnum;
15101
+ protocol?: string;
15073
15102
  /**
15074
15103
  * Starting port number in the range (1-65535)
15075
15104
  */
@@ -15098,9 +15127,9 @@ export type OpenStackSecurityGroupRuleUpdateByNameRequest = {
15098
15127
  */
15099
15128
  direction?: DirectionEnum;
15100
15129
  /**
15101
- * The network protocol (TCP, UDP, ICMP, or empty for any protocol)
15130
+ * Network protocol: 'tcp', 'udp', 'icmp', empty (any) or an IANA protocol number 0-255 (e.g. '112' for VRRP).
15102
15131
  */
15103
- protocol?: SecurityGroupRuleProtocolEnum | BlankEnum;
15132
+ protocol?: string;
15104
15133
  /**
15105
15134
  * Starting port number in the range (1-65535)
15106
15135
  */
@@ -15127,9 +15156,9 @@ export type OpenStackSecurityGroupRuleUpdateRequest = {
15127
15156
  */
15128
15157
  direction?: DirectionEnum;
15129
15158
  /**
15130
- * The network protocol (TCP, UDP, ICMP, or empty for any protocol)
15159
+ * Network protocol: 'tcp', 'udp', 'icmp', empty (any) or an IANA protocol number 0-255 (e.g. '112' for VRRP).
15131
15160
  */
15132
- protocol?: SecurityGroupRuleProtocolEnum | BlankEnum;
15161
+ protocol?: string;
15133
15162
  /**
15134
15163
  * Starting port number in the range (1-65535)
15135
15164
  */
@@ -21315,9 +21344,9 @@ export type RancherClusterSecurityGroupRule = {
21315
21344
  */
21316
21345
  direction?: DirectionEnum;
21317
21346
  /**
21318
- * The network protocol (TCP, UDP, ICMP, or empty for any protocol)
21347
+ * Network protocol: 'tcp', 'udp', 'icmp', empty (any) or an IANA protocol number 0-255 (e.g. '112' for VRRP).
21319
21348
  */
21320
- protocol?: SecurityGroupRuleProtocolEnum | BlankEnum;
21349
+ protocol?: string;
21321
21350
  /**
21322
21351
  * Starting port number in the range (1-65535)
21323
21352
  */
@@ -21342,9 +21371,9 @@ export type RancherClusterSecurityGroupRuleRequest = {
21342
21371
  */
21343
21372
  direction?: DirectionEnum;
21344
21373
  /**
21345
- * The network protocol (TCP, UDP, ICMP, or empty for any protocol)
21374
+ * Network protocol: 'tcp', 'udp', 'icmp', empty (any) or an IANA protocol number 0-255 (e.g. '112' for VRRP).
21346
21375
  */
21347
- protocol?: SecurityGroupRuleProtocolEnum | BlankEnum;
21376
+ protocol?: string;
21348
21377
  /**
21349
21378
  * Starting port number in the range (1-65535)
21350
21379
  */
@@ -24316,7 +24345,6 @@ export type SectionRequest = {
24316
24345
  */
24317
24346
  is_standalone?: boolean;
24318
24347
  };
24319
- export type SecurityGroupRuleProtocolEnum = 'tcp' | 'udp' | 'icmp';
24320
24348
  export type SelfDeclaredConflictRequest = {
24321
24349
  proposal_uuid: string;
24322
24350
  coi_type: CoiTypeEnum;
@@ -70099,6 +70127,18 @@ export type OpenstackRoutersAvailableExternalNetworksListResponses = {
70099
70127
  200: Array<AvailableExternalNetwork>;
70100
70128
  };
70101
70129
  export type OpenstackRoutersAvailableExternalNetworksListResponse = OpenstackRoutersAvailableExternalNetworksListResponses[keyof OpenstackRoutersAvailableExternalNetworksListResponses];
70130
+ export type OpenstackRoutersEffectiveRoutesRetrieveData = {
70131
+ body?: never;
70132
+ path: {
70133
+ uuid: string;
70134
+ };
70135
+ query?: never;
70136
+ url: '/api/openstack-routers/{uuid}/effective_routes/';
70137
+ };
70138
+ export type OpenstackRoutersEffectiveRoutesRetrieveResponses = {
70139
+ 200: EffectiveRoutesResponse;
70140
+ };
70141
+ export type OpenstackRoutersEffectiveRoutesRetrieveResponse = OpenstackRoutersEffectiveRoutesRetrieveResponses[keyof OpenstackRoutersEffectiveRoutesRetrieveResponses];
70102
70142
  export type OpenstackRoutersRemoveExternalGatewayData = {
70103
70143
  body?: never;
70104
70144
  path: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.9-dev.33",
3
+ "version": "8.0.9-dev.35",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",