@eide/foir-proto-ts 0.4.0 → 0.6.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eide/foir-proto-ts",
3
- "version": "0.4.0",
3
+ "version": "0.6.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./analytics/v1/analytics_pb": "./src/analytics/v1/analytics_pb.js",
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { GetIntegrationCredentialRequest, GetIntegrationCredentialResponse, WriteIntegrationCredentialRequest, WriteIntegrationCredentialResponse } from "./integrations_pbjs";
6
+ import { DeleteExtensionRequest, DeleteExtensionResponse, DeleteIntegrationRequest, DeleteIntegrationResponse, GetConfigHistoryEntryRequest, GetConfigHistoryEntryResponse, GetExtensionRequest, GetExtensionResponse, GetIntegrationCredentialRequest, GetIntegrationCredentialResponse, GetIntegrationRequest, GetIntegrationResponse, GetIntegrationStatusRequest, GetIntegrationStatusResponse, IssueExchangeTicketRequest, IssueExchangeTicketResponse, ListConfigHistoryRequest, ListConfigHistoryResponse, ListExtensionsRequest, ListExtensionsResponse, ListIntegrationsRequest, ListIntegrationsResponse, TriggerSyncRequest, TriggerSyncResponse, UpsertExtensionRequest, UpsertExtensionResponse, UpsertIntegrationRequest, UpsertIntegrationResponse, ValidateConfigRequest, ValidateConfigResponse, WriteIntegrationCredentialRequest, WriteIntegrationCredentialResponse } from "./integrations_pbjs";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -42,3 +42,152 @@ export declare const IntegrationCredentialsService: {
42
42
  }
43
43
  };
44
44
 
45
+ /**
46
+ * @generated from service integrations.v1.IntegrationAuthService
47
+ */
48
+ export declare const IntegrationAuthService: {
49
+ readonly typeName: "integrations.v1.IntegrationAuthService",
50
+ readonly methods: {
51
+ /**
52
+ * Create a single-use exchange ticket for the given (project, integration)
53
+ * with capability credentials:write. The admin caller must have
54
+ * TENANT_OWNER / PROJECT_ADMIN (or be a platform admin) for the target
55
+ * project. Emits an auth_events row of kind ticket_issue.
56
+ *
57
+ * @generated from rpc integrations.v1.IntegrationAuthService.IssueExchangeTicket
58
+ */
59
+ readonly issueExchangeTicket: {
60
+ readonly name: "IssueExchangeTicket",
61
+ readonly I: typeof IssueExchangeTicketRequest,
62
+ readonly O: typeof IssueExchangeTicketResponse,
63
+ readonly kind: MethodKind.Unary,
64
+ },
65
+ }
66
+ };
67
+
68
+ /**
69
+ * @generated from service integrations.v1.IntegrationsService
70
+ */
71
+ export declare const IntegrationsService: {
72
+ readonly typeName: "integrations.v1.IntegrationsService",
73
+ readonly methods: {
74
+ /**
75
+ * @generated from rpc integrations.v1.IntegrationsService.ListIntegrations
76
+ */
77
+ readonly listIntegrations: {
78
+ readonly name: "ListIntegrations",
79
+ readonly I: typeof ListIntegrationsRequest,
80
+ readonly O: typeof ListIntegrationsResponse,
81
+ readonly kind: MethodKind.Unary,
82
+ },
83
+ /**
84
+ * @generated from rpc integrations.v1.IntegrationsService.GetIntegration
85
+ */
86
+ readonly getIntegration: {
87
+ readonly name: "GetIntegration",
88
+ readonly I: typeof GetIntegrationRequest,
89
+ readonly O: typeof GetIntegrationResponse,
90
+ readonly kind: MethodKind.Unary,
91
+ },
92
+ /**
93
+ * @generated from rpc integrations.v1.IntegrationsService.UpsertIntegration
94
+ */
95
+ readonly upsertIntegration: {
96
+ readonly name: "UpsertIntegration",
97
+ readonly I: typeof UpsertIntegrationRequest,
98
+ readonly O: typeof UpsertIntegrationResponse,
99
+ readonly kind: MethodKind.Unary,
100
+ },
101
+ /**
102
+ * @generated from rpc integrations.v1.IntegrationsService.DeleteIntegration
103
+ */
104
+ readonly deleteIntegration: {
105
+ readonly name: "DeleteIntegration",
106
+ readonly I: typeof DeleteIntegrationRequest,
107
+ readonly O: typeof DeleteIntegrationResponse,
108
+ readonly kind: MethodKind.Unary,
109
+ },
110
+ /**
111
+ * @generated from rpc integrations.v1.IntegrationsService.ListExtensions
112
+ */
113
+ readonly listExtensions: {
114
+ readonly name: "ListExtensions",
115
+ readonly I: typeof ListExtensionsRequest,
116
+ readonly O: typeof ListExtensionsResponse,
117
+ readonly kind: MethodKind.Unary,
118
+ },
119
+ /**
120
+ * @generated from rpc integrations.v1.IntegrationsService.GetExtension
121
+ */
122
+ readonly getExtension: {
123
+ readonly name: "GetExtension",
124
+ readonly I: typeof GetExtensionRequest,
125
+ readonly O: typeof GetExtensionResponse,
126
+ readonly kind: MethodKind.Unary,
127
+ },
128
+ /**
129
+ * @generated from rpc integrations.v1.IntegrationsService.UpsertExtension
130
+ */
131
+ readonly upsertExtension: {
132
+ readonly name: "UpsertExtension",
133
+ readonly I: typeof UpsertExtensionRequest,
134
+ readonly O: typeof UpsertExtensionResponse,
135
+ readonly kind: MethodKind.Unary,
136
+ },
137
+ /**
138
+ * @generated from rpc integrations.v1.IntegrationsService.DeleteExtension
139
+ */
140
+ readonly deleteExtension: {
141
+ readonly name: "DeleteExtension",
142
+ readonly I: typeof DeleteExtensionRequest,
143
+ readonly O: typeof DeleteExtensionResponse,
144
+ readonly kind: MethodKind.Unary,
145
+ },
146
+ /**
147
+ * @generated from rpc integrations.v1.IntegrationsService.GetIntegrationStatus
148
+ */
149
+ readonly getIntegrationStatus: {
150
+ readonly name: "GetIntegrationStatus",
151
+ readonly I: typeof GetIntegrationStatusRequest,
152
+ readonly O: typeof GetIntegrationStatusResponse,
153
+ readonly kind: MethodKind.Unary,
154
+ },
155
+ /**
156
+ * @generated from rpc integrations.v1.IntegrationsService.TriggerSync
157
+ */
158
+ readonly triggerSync: {
159
+ readonly name: "TriggerSync",
160
+ readonly I: typeof TriggerSyncRequest,
161
+ readonly O: typeof TriggerSyncResponse,
162
+ readonly kind: MethodKind.Unary,
163
+ },
164
+ /**
165
+ * @generated from rpc integrations.v1.IntegrationsService.ValidateConfig
166
+ */
167
+ readonly validateConfig: {
168
+ readonly name: "ValidateConfig",
169
+ readonly I: typeof ValidateConfigRequest,
170
+ readonly O: typeof ValidateConfigResponse,
171
+ readonly kind: MethodKind.Unary,
172
+ },
173
+ /**
174
+ * @generated from rpc integrations.v1.IntegrationsService.ListConfigHistory
175
+ */
176
+ readonly listConfigHistory: {
177
+ readonly name: "ListConfigHistory",
178
+ readonly I: typeof ListConfigHistoryRequest,
179
+ readonly O: typeof ListConfigHistoryResponse,
180
+ readonly kind: MethodKind.Unary,
181
+ },
182
+ /**
183
+ * @generated from rpc integrations.v1.IntegrationsService.GetConfigHistoryEntry
184
+ */
185
+ readonly getConfigHistoryEntry: {
186
+ readonly name: "GetConfigHistoryEntry",
187
+ readonly I: typeof GetConfigHistoryEntryRequest,
188
+ readonly O: typeof GetConfigHistoryEntryResponse,
189
+ readonly kind: MethodKind.Unary,
190
+ },
191
+ }
192
+ };
193
+
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { GetIntegrationCredentialRequest, GetIntegrationCredentialResponse, WriteIntegrationCredentialRequest, WriteIntegrationCredentialResponse } from "./integrations_pbjs";
6
+ import { DeleteExtensionRequest, DeleteExtensionResponse, DeleteIntegrationRequest, DeleteIntegrationResponse, GetConfigHistoryEntryRequest, GetConfigHistoryEntryResponse, GetExtensionRequest, GetExtensionResponse, GetIntegrationCredentialRequest, GetIntegrationCredentialResponse, GetIntegrationRequest, GetIntegrationResponse, GetIntegrationStatusRequest, GetIntegrationStatusResponse, IssueExchangeTicketRequest, IssueExchangeTicketResponse, ListConfigHistoryRequest, ListConfigHistoryResponse, ListExtensionsRequest, ListExtensionsResponse, ListIntegrationsRequest, ListIntegrationsResponse, TriggerSyncRequest, TriggerSyncResponse, UpsertExtensionRequest, UpsertExtensionResponse, UpsertIntegrationRequest, UpsertIntegrationResponse, ValidateConfigRequest, ValidateConfigResponse, WriteIntegrationCredentialRequest, WriteIntegrationCredentialResponse } from "./integrations_pbjs";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -42,3 +42,152 @@ export const IntegrationCredentialsService = {
42
42
  }
43
43
  };
44
44
 
45
+ /**
46
+ * @generated from service integrations.v1.IntegrationAuthService
47
+ */
48
+ export const IntegrationAuthService = {
49
+ typeName: "integrations.v1.IntegrationAuthService",
50
+ methods: {
51
+ /**
52
+ * Create a single-use exchange ticket for the given (project, integration)
53
+ * with capability credentials:write. The admin caller must have
54
+ * TENANT_OWNER / PROJECT_ADMIN (or be a platform admin) for the target
55
+ * project. Emits an auth_events row of kind ticket_issue.
56
+ *
57
+ * @generated from rpc integrations.v1.IntegrationAuthService.IssueExchangeTicket
58
+ */
59
+ issueExchangeTicket: {
60
+ name: "IssueExchangeTicket",
61
+ I: IssueExchangeTicketRequest,
62
+ O: IssueExchangeTicketResponse,
63
+ kind: MethodKind.Unary,
64
+ },
65
+ }
66
+ };
67
+
68
+ /**
69
+ * @generated from service integrations.v1.IntegrationsService
70
+ */
71
+ export const IntegrationsService = {
72
+ typeName: "integrations.v1.IntegrationsService",
73
+ methods: {
74
+ /**
75
+ * @generated from rpc integrations.v1.IntegrationsService.ListIntegrations
76
+ */
77
+ listIntegrations: {
78
+ name: "ListIntegrations",
79
+ I: ListIntegrationsRequest,
80
+ O: ListIntegrationsResponse,
81
+ kind: MethodKind.Unary,
82
+ },
83
+ /**
84
+ * @generated from rpc integrations.v1.IntegrationsService.GetIntegration
85
+ */
86
+ getIntegration: {
87
+ name: "GetIntegration",
88
+ I: GetIntegrationRequest,
89
+ O: GetIntegrationResponse,
90
+ kind: MethodKind.Unary,
91
+ },
92
+ /**
93
+ * @generated from rpc integrations.v1.IntegrationsService.UpsertIntegration
94
+ */
95
+ upsertIntegration: {
96
+ name: "UpsertIntegration",
97
+ I: UpsertIntegrationRequest,
98
+ O: UpsertIntegrationResponse,
99
+ kind: MethodKind.Unary,
100
+ },
101
+ /**
102
+ * @generated from rpc integrations.v1.IntegrationsService.DeleteIntegration
103
+ */
104
+ deleteIntegration: {
105
+ name: "DeleteIntegration",
106
+ I: DeleteIntegrationRequest,
107
+ O: DeleteIntegrationResponse,
108
+ kind: MethodKind.Unary,
109
+ },
110
+ /**
111
+ * @generated from rpc integrations.v1.IntegrationsService.ListExtensions
112
+ */
113
+ listExtensions: {
114
+ name: "ListExtensions",
115
+ I: ListExtensionsRequest,
116
+ O: ListExtensionsResponse,
117
+ kind: MethodKind.Unary,
118
+ },
119
+ /**
120
+ * @generated from rpc integrations.v1.IntegrationsService.GetExtension
121
+ */
122
+ getExtension: {
123
+ name: "GetExtension",
124
+ I: GetExtensionRequest,
125
+ O: GetExtensionResponse,
126
+ kind: MethodKind.Unary,
127
+ },
128
+ /**
129
+ * @generated from rpc integrations.v1.IntegrationsService.UpsertExtension
130
+ */
131
+ upsertExtension: {
132
+ name: "UpsertExtension",
133
+ I: UpsertExtensionRequest,
134
+ O: UpsertExtensionResponse,
135
+ kind: MethodKind.Unary,
136
+ },
137
+ /**
138
+ * @generated from rpc integrations.v1.IntegrationsService.DeleteExtension
139
+ */
140
+ deleteExtension: {
141
+ name: "DeleteExtension",
142
+ I: DeleteExtensionRequest,
143
+ O: DeleteExtensionResponse,
144
+ kind: MethodKind.Unary,
145
+ },
146
+ /**
147
+ * @generated from rpc integrations.v1.IntegrationsService.GetIntegrationStatus
148
+ */
149
+ getIntegrationStatus: {
150
+ name: "GetIntegrationStatus",
151
+ I: GetIntegrationStatusRequest,
152
+ O: GetIntegrationStatusResponse,
153
+ kind: MethodKind.Unary,
154
+ },
155
+ /**
156
+ * @generated from rpc integrations.v1.IntegrationsService.TriggerSync
157
+ */
158
+ triggerSync: {
159
+ name: "TriggerSync",
160
+ I: TriggerSyncRequest,
161
+ O: TriggerSyncResponse,
162
+ kind: MethodKind.Unary,
163
+ },
164
+ /**
165
+ * @generated from rpc integrations.v1.IntegrationsService.ValidateConfig
166
+ */
167
+ validateConfig: {
168
+ name: "ValidateConfig",
169
+ I: ValidateConfigRequest,
170
+ O: ValidateConfigResponse,
171
+ kind: MethodKind.Unary,
172
+ },
173
+ /**
174
+ * @generated from rpc integrations.v1.IntegrationsService.ListConfigHistory
175
+ */
176
+ listConfigHistory: {
177
+ name: "ListConfigHistory",
178
+ I: ListConfigHistoryRequest,
179
+ O: ListConfigHistoryResponse,
180
+ kind: MethodKind.Unary,
181
+ },
182
+ /**
183
+ * @generated from rpc integrations.v1.IntegrationsService.GetConfigHistoryEntry
184
+ */
185
+ getConfigHistoryEntry: {
186
+ name: "GetConfigHistoryEntry",
187
+ I: GetConfigHistoryEntryRequest,
188
+ O: GetConfigHistoryEntryResponse,
189
+ kind: MethodKind.Unary,
190
+ },
191
+ }
192
+ };
193
+