@fi-ts/api 0.0.1-alpha.0 → 0.0.1

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.
@@ -0,0 +1,83 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file fits/api/mvm/v1/location.proto.
5
+ */
6
+ export declare const file_fits_api_mvm_v1_location: GenFile;
7
+ /**
8
+ * Location is the definition of an available datacenter location for MVM instances.
9
+ *
10
+ * @generated from message fits.api.mvm.v1.Location
11
+ */
12
+ export type Location = Message<"fits.api.mvm.v1.Location"> & {
13
+ /**
14
+ * Uuid of this location
15
+ *
16
+ * @generated from field: string uuid = 1;
17
+ */
18
+ uuid: string;
19
+ /**
20
+ * title of the location
21
+ *
22
+ * @generated from field: string title = 2;
23
+ */
24
+ title: string;
25
+ };
26
+ /**
27
+ * Describes the message fits.api.mvm.v1.Location.
28
+ * Use `create(LocationSchema)` to create a new message.
29
+ */
30
+ export declare const LocationSchema: GenMessage<Location>;
31
+ /**
32
+ * LocationServiceListRequest is the request payload for a location list request.
33
+ *
34
+ * @generated from message fits.api.mvm.v1.LocationServiceListRequest
35
+ */
36
+ export type LocationServiceListRequest = Message<"fits.api.mvm.v1.LocationServiceListRequest"> & {
37
+ /**
38
+ * Tenant to list available locations for
39
+ *
40
+ * @generated from field: string tenant = 1;
41
+ */
42
+ tenant: string;
43
+ };
44
+ /**
45
+ * Describes the message fits.api.mvm.v1.LocationServiceListRequest.
46
+ * Use `create(LocationServiceListRequestSchema)` to create a new message.
47
+ */
48
+ export declare const LocationServiceListRequestSchema: GenMessage<LocationServiceListRequest>;
49
+ /**
50
+ * LocationServiceListResponse is the response payload for a location list request.
51
+ *
52
+ * @generated from message fits.api.mvm.v1.LocationServiceListResponse
53
+ */
54
+ export type LocationServiceListResponse = Message<"fits.api.mvm.v1.LocationServiceListResponse"> & {
55
+ /**
56
+ * The available locations
57
+ *
58
+ * @generated from field: repeated fits.api.mvm.v1.Location locations = 1;
59
+ */
60
+ locations: Location[];
61
+ };
62
+ /**
63
+ * Describes the message fits.api.mvm.v1.LocationServiceListResponse.
64
+ * Use `create(LocationServiceListResponseSchema)` to create a new message.
65
+ */
66
+ export declare const LocationServiceListResponseSchema: GenMessage<LocationServiceListResponse>;
67
+ /**
68
+ * LocationService lists datacenter locations available for managed VM (MVM) instances, scoped per tenant.
69
+ *
70
+ * @generated from service fits.api.mvm.v1.LocationService
71
+ */
72
+ export declare const LocationService: GenService<{
73
+ /**
74
+ * Returns a list of all datacenter locations available for a tenant.
75
+ *
76
+ * @generated from rpc fits.api.mvm.v1.LocationService.List
77
+ */
78
+ list: {
79
+ methodKind: "unary";
80
+ input: typeof LocationServiceListRequestSchema;
81
+ output: typeof LocationServiceListResponseSchema;
82
+ };
83
+ }>;
@@ -0,0 +1,32 @@
1
+ // @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
2
+ // @generated from file fits/api/mvm/v1/location.proto (package fits.api.mvm.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
+ import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb";
6
+ import { file_fits_api_v1_common } from "../../v1/common_pb";
7
+ import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb";
8
+ /**
9
+ * Describes the file fits/api/mvm/v1/location.proto.
10
+ */
11
+ export const file_fits_api_mvm_v1_location = /*@__PURE__*/ fileDesc("Ch5maXRzL2FwaS9tdm0vdjEvbG9jYXRpb24ucHJvdG8SD2ZpdHMuYXBpLm12bS52MSI+CghMb2NhdGlvbhIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARIaCgV0aXRsZRgCIAEoCUILukgIcgbAs66xAgEiOQoaTG9jYXRpb25TZXJ2aWNlTGlzdFJlcXVlc3QSGwoGdGVuYW50GAEgASgJQgu6SAhyBsCzrrECASJLChtMb2NhdGlvblNlcnZpY2VMaXN0UmVzcG9uc2USLAoJbG9jYXRpb25zGAEgAygLMhkuZml0cy5hcGkubXZtLnYxLkxvY2F0aW9uMoEBCg9Mb2NhdGlvblNlcnZpY2USbgoETGlzdBIrLmZpdHMuYXBpLm12bS52MS5Mb2NhdGlvblNlcnZpY2VMaXN0UmVxdWVzdBosLmZpdHMuYXBpLm12bS52MS5Mb2NhdGlvblNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQrIBChNjb20uZml0cy5hcGkubXZtLnYxQg1Mb2NhdGlvblByb3RvUAFaLWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL212bS92MTttdm12MaICA0ZBTaoCD0ZpdHMuQXBpLk12bS5WMcoCD0ZpdHNcQXBpXE12bVxWMeICG0ZpdHNcQXBpXE12bVxWMVxHUEJNZXRhZGF0YeoCEkZpdHM6OkFwaTo6TXZtOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
12
+ /**
13
+ * Describes the message fits.api.mvm.v1.Location.
14
+ * Use `create(LocationSchema)` to create a new message.
15
+ */
16
+ export const LocationSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_location, 0);
17
+ /**
18
+ * Describes the message fits.api.mvm.v1.LocationServiceListRequest.
19
+ * Use `create(LocationServiceListRequestSchema)` to create a new message.
20
+ */
21
+ export const LocationServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_location, 1);
22
+ /**
23
+ * Describes the message fits.api.mvm.v1.LocationServiceListResponse.
24
+ * Use `create(LocationServiceListResponseSchema)` to create a new message.
25
+ */
26
+ export const LocationServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_location, 2);
27
+ /**
28
+ * LocationService lists datacenter locations available for managed VM (MVM) instances, scoped per tenant.
29
+ *
30
+ * @generated from service fits.api.mvm.v1.LocationService
31
+ */
32
+ export const LocationService = /*@__PURE__*/ serviceDesc(file_fits_api_mvm_v1_location, 0);
@@ -0,0 +1,106 @@
1
+ // @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
2
+ // @generated from file fits/api/mvm/v1/location.proto (package fits.api.mvm.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb";
8
+ import { file_fits_api_v1_common } from "../../v1/common_pb";
9
+ import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb";
10
+ import type { Message } from "@bufbuild/protobuf";
11
+
12
+ /**
13
+ * Describes the file fits/api/mvm/v1/location.proto.
14
+ */
15
+ export const file_fits_api_mvm_v1_location: GenFile = /*@__PURE__*/
16
+ fileDesc("Ch5maXRzL2FwaS9tdm0vdjEvbG9jYXRpb24ucHJvdG8SD2ZpdHMuYXBpLm12bS52MSI+CghMb2NhdGlvbhIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARIaCgV0aXRsZRgCIAEoCUILukgIcgbAs66xAgEiOQoaTG9jYXRpb25TZXJ2aWNlTGlzdFJlcXVlc3QSGwoGdGVuYW50GAEgASgJQgu6SAhyBsCzrrECASJLChtMb2NhdGlvblNlcnZpY2VMaXN0UmVzcG9uc2USLAoJbG9jYXRpb25zGAEgAygLMhkuZml0cy5hcGkubXZtLnYxLkxvY2F0aW9uMoEBCg9Mb2NhdGlvblNlcnZpY2USbgoETGlzdBIrLmZpdHMuYXBpLm12bS52MS5Mb2NhdGlvblNlcnZpY2VMaXN0UmVxdWVzdBosLmZpdHMuYXBpLm12bS52MS5Mb2NhdGlvblNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQrIBChNjb20uZml0cy5hcGkubXZtLnYxQg1Mb2NhdGlvblByb3RvUAFaLWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL212bS92MTttdm12MaICA0ZBTaoCD0ZpdHMuQXBpLk12bS5WMcoCD0ZpdHNcQXBpXE12bVxWMeICG0ZpdHNcQXBpXE12bVxWMVxHUEJNZXRhZGF0YeoCEkZpdHM6OkFwaTo6TXZtOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
17
+
18
+ /**
19
+ * Location is the definition of an available datacenter location for MVM instances.
20
+ *
21
+ * @generated from message fits.api.mvm.v1.Location
22
+ */
23
+ export type Location = Message<"fits.api.mvm.v1.Location"> & {
24
+ /**
25
+ * Uuid of this location
26
+ *
27
+ * @generated from field: string uuid = 1;
28
+ */
29
+ uuid: string;
30
+
31
+ /**
32
+ * title of the location
33
+ *
34
+ * @generated from field: string title = 2;
35
+ */
36
+ title: string;
37
+ };
38
+
39
+ /**
40
+ * Describes the message fits.api.mvm.v1.Location.
41
+ * Use `create(LocationSchema)` to create a new message.
42
+ */
43
+ export const LocationSchema: GenMessage<Location> = /*@__PURE__*/
44
+ messageDesc(file_fits_api_mvm_v1_location, 0);
45
+
46
+ /**
47
+ * LocationServiceListRequest is the request payload for a location list request.
48
+ *
49
+ * @generated from message fits.api.mvm.v1.LocationServiceListRequest
50
+ */
51
+ export type LocationServiceListRequest = Message<"fits.api.mvm.v1.LocationServiceListRequest"> & {
52
+ /**
53
+ * Tenant to list available locations for
54
+ *
55
+ * @generated from field: string tenant = 1;
56
+ */
57
+ tenant: string;
58
+ };
59
+
60
+ /**
61
+ * Describes the message fits.api.mvm.v1.LocationServiceListRequest.
62
+ * Use `create(LocationServiceListRequestSchema)` to create a new message.
63
+ */
64
+ export const LocationServiceListRequestSchema: GenMessage<LocationServiceListRequest> = /*@__PURE__*/
65
+ messageDesc(file_fits_api_mvm_v1_location, 1);
66
+
67
+ /**
68
+ * LocationServiceListResponse is the response payload for a location list request.
69
+ *
70
+ * @generated from message fits.api.mvm.v1.LocationServiceListResponse
71
+ */
72
+ export type LocationServiceListResponse = Message<"fits.api.mvm.v1.LocationServiceListResponse"> & {
73
+ /**
74
+ * The available locations
75
+ *
76
+ * @generated from field: repeated fits.api.mvm.v1.Location locations = 1;
77
+ */
78
+ locations: Location[];
79
+ };
80
+
81
+ /**
82
+ * Describes the message fits.api.mvm.v1.LocationServiceListResponse.
83
+ * Use `create(LocationServiceListResponseSchema)` to create a new message.
84
+ */
85
+ export const LocationServiceListResponseSchema: GenMessage<LocationServiceListResponse> = /*@__PURE__*/
86
+ messageDesc(file_fits_api_mvm_v1_location, 2);
87
+
88
+ /**
89
+ * LocationService lists datacenter locations available for managed VM (MVM) instances, scoped per tenant.
90
+ *
91
+ * @generated from service fits.api.mvm.v1.LocationService
92
+ */
93
+ export const LocationService: GenService<{
94
+ /**
95
+ * Returns a list of all datacenter locations available for a tenant.
96
+ *
97
+ * @generated from rpc fits.api.mvm.v1.LocationService.List
98
+ */
99
+ list: {
100
+ methodKind: "unary";
101
+ input: typeof LocationServiceListRequestSchema;
102
+ output: typeof LocationServiceListResponseSchema;
103
+ },
104
+ }> = /*@__PURE__*/
105
+ serviceDesc(file_fits_api_mvm_v1_location, 0);
106
+