@eide/foir-proto-ts 0.22.0 → 0.23.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.22.0",
3
+ "version": "0.23.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./analytics/v1/analytics_pb": "./src/analytics/v1/analytics_pb.js",
@@ -21,8 +21,6 @@
21
21
  "./hooks/v1/hooks_connect": "./src/hooks/v1/hooks_connect.js",
22
22
  "./identity/v1/identity_pb": "./src/identity/v1/identity_pb.js",
23
23
  "./identity/v1/identity_connect": "./src/identity/v1/identity_connect.js",
24
- "./integrations/v1/integrations_pb": "./src/integrations/v1/integrations_pb.js",
25
- "./integrations/v1/integrations_connect": "./src/integrations/v1/integrations_connect.js",
26
24
  "./models/v1/models_pb": "./src/models/v1/models_pb.js",
27
25
  "./models/v1/models_connect": "./src/models/v1/models_connect.js",
28
26
  "./notifications/v1/notifications_pb": "./src/notifications/v1/notifications_pb.js",
@@ -1,213 +0,0 @@
1
- // @generated by protoc-gen-connect-es v1.6.1 with parameter "import_extension=js"
2
- // @generated from file integrations/v1/integrations.proto (package integrations.v1, syntax proto3)
3
- /* eslint-disable */
4
- // @ts-nocheck
5
-
6
- import { DeleteExtensionRequest, DeleteExtensionResponse, DeleteIntegrationRequest, DeleteIntegrationResponse, GetConfigHistoryEntryRequest, GetConfigHistoryEntryResponse, GetExtensionRequest, GetExtensionResponse, GetIntegrationCredentialRequest, GetIntegrationCredentialResponse, GetIntegrationRequest, GetIntegrationResponse, GetIntegrationStatusRequest, GetIntegrationStatusResponse, IssueExchangeTicketRequest, IssueExchangeTicketResponse, ListConfigHistoryRequest, ListConfigHistoryResponse, ListExtensionsRequest, ListExtensionsResponse, ListIntegrationsRequest, ListIntegrationsResponse, RedeemExchangeTicketRequest, RedeemExchangeTicketResponse, TriggerSyncRequest, TriggerSyncResponse, UpsertExtensionRequest, UpsertExtensionResponse, UpsertIntegrationRequest, UpsertIntegrationResponse, UpsertIntegrationStatusRequest, UpsertIntegrationStatusResponse, ValidateConfigRequest, ValidateConfigResponse, WriteIntegrationCredentialRequest, WriteIntegrationCredentialResponse } from "./integrations_pbjs";
7
- import { MethodKind } from "@bufbuild/protobuf";
8
-
9
- /**
10
- * @generated from service integrations.v1.IntegrationCredentialsService
11
- */
12
- export declare const IntegrationCredentialsService: {
13
- readonly typeName: "integrations.v1.IntegrationCredentialsService",
14
- readonly methods: {
15
- /**
16
- * Return the plaintext credential for (project, integration). Requires
17
- * the caller's capability set to include credentials:read for this
18
- * integration. On success, updates last_read_at and emits an audit row.
19
- *
20
- * @generated from rpc integrations.v1.IntegrationCredentialsService.GetIntegrationCredential
21
- */
22
- readonly getIntegrationCredential: {
23
- readonly name: "GetIntegrationCredential",
24
- readonly I: typeof GetIntegrationCredentialRequest,
25
- readonly O: typeof GetIntegrationCredentialResponse,
26
- readonly kind: MethodKind.Unary,
27
- },
28
- /**
29
- * Encrypt and store a credential for (project, integration). Overwrites
30
- * any existing value. Requires the caller's capability set to include
31
- * credentials:write for this integration. Emits an audit row of kind
32
- * credential_write.
33
- *
34
- * @generated from rpc integrations.v1.IntegrationCredentialsService.WriteIntegrationCredential
35
- */
36
- readonly writeIntegrationCredential: {
37
- readonly name: "WriteIntegrationCredential",
38
- readonly I: typeof WriteIntegrationCredentialRequest,
39
- readonly O: typeof WriteIntegrationCredentialResponse,
40
- readonly kind: MethodKind.Unary,
41
- },
42
- }
43
- };
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
- * Atomically redeem a ticket and return the resolved subject.
67
- *
68
- * @generated from rpc integrations.v1.IntegrationAuthService.RedeemExchangeTicket
69
- */
70
- readonly redeemExchangeTicket: {
71
- readonly name: "RedeemExchangeTicket",
72
- readonly I: typeof RedeemExchangeTicketRequest,
73
- readonly O: typeof RedeemExchangeTicketResponse,
74
- readonly kind: MethodKind.Unary,
75
- },
76
- }
77
- };
78
-
79
- /**
80
- * @generated from service integrations.v1.IntegrationsService
81
- */
82
- export declare const IntegrationsService: {
83
- readonly typeName: "integrations.v1.IntegrationsService",
84
- readonly methods: {
85
- /**
86
- * @generated from rpc integrations.v1.IntegrationsService.ListIntegrations
87
- */
88
- readonly listIntegrations: {
89
- readonly name: "ListIntegrations",
90
- readonly I: typeof ListIntegrationsRequest,
91
- readonly O: typeof ListIntegrationsResponse,
92
- readonly kind: MethodKind.Unary,
93
- },
94
- /**
95
- * @generated from rpc integrations.v1.IntegrationsService.GetIntegration
96
- */
97
- readonly getIntegration: {
98
- readonly name: "GetIntegration",
99
- readonly I: typeof GetIntegrationRequest,
100
- readonly O: typeof GetIntegrationResponse,
101
- readonly kind: MethodKind.Unary,
102
- },
103
- /**
104
- * @generated from rpc integrations.v1.IntegrationsService.UpsertIntegration
105
- */
106
- readonly upsertIntegration: {
107
- readonly name: "UpsertIntegration",
108
- readonly I: typeof UpsertIntegrationRequest,
109
- readonly O: typeof UpsertIntegrationResponse,
110
- readonly kind: MethodKind.Unary,
111
- },
112
- /**
113
- * @generated from rpc integrations.v1.IntegrationsService.DeleteIntegration
114
- */
115
- readonly deleteIntegration: {
116
- readonly name: "DeleteIntegration",
117
- readonly I: typeof DeleteIntegrationRequest,
118
- readonly O: typeof DeleteIntegrationResponse,
119
- readonly kind: MethodKind.Unary,
120
- },
121
- /**
122
- * @generated from rpc integrations.v1.IntegrationsService.ListExtensions
123
- */
124
- readonly listExtensions: {
125
- readonly name: "ListExtensions",
126
- readonly I: typeof ListExtensionsRequest,
127
- readonly O: typeof ListExtensionsResponse,
128
- readonly kind: MethodKind.Unary,
129
- },
130
- /**
131
- * @generated from rpc integrations.v1.IntegrationsService.GetExtension
132
- */
133
- readonly getExtension: {
134
- readonly name: "GetExtension",
135
- readonly I: typeof GetExtensionRequest,
136
- readonly O: typeof GetExtensionResponse,
137
- readonly kind: MethodKind.Unary,
138
- },
139
- /**
140
- * @generated from rpc integrations.v1.IntegrationsService.UpsertExtension
141
- */
142
- readonly upsertExtension: {
143
- readonly name: "UpsertExtension",
144
- readonly I: typeof UpsertExtensionRequest,
145
- readonly O: typeof UpsertExtensionResponse,
146
- readonly kind: MethodKind.Unary,
147
- },
148
- /**
149
- * @generated from rpc integrations.v1.IntegrationsService.DeleteExtension
150
- */
151
- readonly deleteExtension: {
152
- readonly name: "DeleteExtension",
153
- readonly I: typeof DeleteExtensionRequest,
154
- readonly O: typeof DeleteExtensionResponse,
155
- readonly kind: MethodKind.Unary,
156
- },
157
- /**
158
- * @generated from rpc integrations.v1.IntegrationsService.GetIntegrationStatus
159
- */
160
- readonly getIntegrationStatus: {
161
- readonly name: "GetIntegrationStatus",
162
- readonly I: typeof GetIntegrationStatusRequest,
163
- readonly O: typeof GetIntegrationStatusResponse,
164
- readonly kind: MethodKind.Unary,
165
- },
166
- /**
167
- * @generated from rpc integrations.v1.IntegrationsService.UpsertIntegrationStatus
168
- */
169
- readonly upsertIntegrationStatus: {
170
- readonly name: "UpsertIntegrationStatus",
171
- readonly I: typeof UpsertIntegrationStatusRequest,
172
- readonly O: typeof UpsertIntegrationStatusResponse,
173
- readonly kind: MethodKind.Unary,
174
- },
175
- /**
176
- * @generated from rpc integrations.v1.IntegrationsService.TriggerSync
177
- */
178
- readonly triggerSync: {
179
- readonly name: "TriggerSync",
180
- readonly I: typeof TriggerSyncRequest,
181
- readonly O: typeof TriggerSyncResponse,
182
- readonly kind: MethodKind.Unary,
183
- },
184
- /**
185
- * @generated from rpc integrations.v1.IntegrationsService.ValidateConfig
186
- */
187
- readonly validateConfig: {
188
- readonly name: "ValidateConfig",
189
- readonly I: typeof ValidateConfigRequest,
190
- readonly O: typeof ValidateConfigResponse,
191
- readonly kind: MethodKind.Unary,
192
- },
193
- /**
194
- * @generated from rpc integrations.v1.IntegrationsService.ListConfigHistory
195
- */
196
- readonly listConfigHistory: {
197
- readonly name: "ListConfigHistory",
198
- readonly I: typeof ListConfigHistoryRequest,
199
- readonly O: typeof ListConfigHistoryResponse,
200
- readonly kind: MethodKind.Unary,
201
- },
202
- /**
203
- * @generated from rpc integrations.v1.IntegrationsService.GetConfigHistoryEntry
204
- */
205
- readonly getConfigHistoryEntry: {
206
- readonly name: "GetConfigHistoryEntry",
207
- readonly I: typeof GetConfigHistoryEntryRequest,
208
- readonly O: typeof GetConfigHistoryEntryResponse,
209
- readonly kind: MethodKind.Unary,
210
- },
211
- }
212
- };
213
-
@@ -1,213 +0,0 @@
1
- // @generated by protoc-gen-connect-es v1.6.1 with parameter "import_extension=js"
2
- // @generated from file integrations/v1/integrations.proto (package integrations.v1, syntax proto3)
3
- /* eslint-disable */
4
- // @ts-nocheck
5
-
6
- import { DeleteExtensionRequest, DeleteExtensionResponse, DeleteIntegrationRequest, DeleteIntegrationResponse, GetConfigHistoryEntryRequest, GetConfigHistoryEntryResponse, GetExtensionRequest, GetExtensionResponse, GetIntegrationCredentialRequest, GetIntegrationCredentialResponse, GetIntegrationRequest, GetIntegrationResponse, GetIntegrationStatusRequest, GetIntegrationStatusResponse, IssueExchangeTicketRequest, IssueExchangeTicketResponse, ListConfigHistoryRequest, ListConfigHistoryResponse, ListExtensionsRequest, ListExtensionsResponse, ListIntegrationsRequest, ListIntegrationsResponse, RedeemExchangeTicketRequest, RedeemExchangeTicketResponse, TriggerSyncRequest, TriggerSyncResponse, UpsertExtensionRequest, UpsertExtensionResponse, UpsertIntegrationRequest, UpsertIntegrationResponse, UpsertIntegrationStatusRequest, UpsertIntegrationStatusResponse, ValidateConfigRequest, ValidateConfigResponse, WriteIntegrationCredentialRequest, WriteIntegrationCredentialResponse } from "./integrations_pbjs";
7
- import { MethodKind } from "@bufbuild/protobuf";
8
-
9
- /**
10
- * @generated from service integrations.v1.IntegrationCredentialsService
11
- */
12
- export const IntegrationCredentialsService = {
13
- typeName: "integrations.v1.IntegrationCredentialsService",
14
- methods: {
15
- /**
16
- * Return the plaintext credential for (project, integration). Requires
17
- * the caller's capability set to include credentials:read for this
18
- * integration. On success, updates last_read_at and emits an audit row.
19
- *
20
- * @generated from rpc integrations.v1.IntegrationCredentialsService.GetIntegrationCredential
21
- */
22
- getIntegrationCredential: {
23
- name: "GetIntegrationCredential",
24
- I: GetIntegrationCredentialRequest,
25
- O: GetIntegrationCredentialResponse,
26
- kind: MethodKind.Unary,
27
- },
28
- /**
29
- * Encrypt and store a credential for (project, integration). Overwrites
30
- * any existing value. Requires the caller's capability set to include
31
- * credentials:write for this integration. Emits an audit row of kind
32
- * credential_write.
33
- *
34
- * @generated from rpc integrations.v1.IntegrationCredentialsService.WriteIntegrationCredential
35
- */
36
- writeIntegrationCredential: {
37
- name: "WriteIntegrationCredential",
38
- I: WriteIntegrationCredentialRequest,
39
- O: WriteIntegrationCredentialResponse,
40
- kind: MethodKind.Unary,
41
- },
42
- }
43
- };
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
- * Atomically redeem a ticket and return the resolved subject.
67
- *
68
- * @generated from rpc integrations.v1.IntegrationAuthService.RedeemExchangeTicket
69
- */
70
- redeemExchangeTicket: {
71
- name: "RedeemExchangeTicket",
72
- I: RedeemExchangeTicketRequest,
73
- O: RedeemExchangeTicketResponse,
74
- kind: MethodKind.Unary,
75
- },
76
- }
77
- };
78
-
79
- /**
80
- * @generated from service integrations.v1.IntegrationsService
81
- */
82
- export const IntegrationsService = {
83
- typeName: "integrations.v1.IntegrationsService",
84
- methods: {
85
- /**
86
- * @generated from rpc integrations.v1.IntegrationsService.ListIntegrations
87
- */
88
- listIntegrations: {
89
- name: "ListIntegrations",
90
- I: ListIntegrationsRequest,
91
- O: ListIntegrationsResponse,
92
- kind: MethodKind.Unary,
93
- },
94
- /**
95
- * @generated from rpc integrations.v1.IntegrationsService.GetIntegration
96
- */
97
- getIntegration: {
98
- name: "GetIntegration",
99
- I: GetIntegrationRequest,
100
- O: GetIntegrationResponse,
101
- kind: MethodKind.Unary,
102
- },
103
- /**
104
- * @generated from rpc integrations.v1.IntegrationsService.UpsertIntegration
105
- */
106
- upsertIntegration: {
107
- name: "UpsertIntegration",
108
- I: UpsertIntegrationRequest,
109
- O: UpsertIntegrationResponse,
110
- kind: MethodKind.Unary,
111
- },
112
- /**
113
- * @generated from rpc integrations.v1.IntegrationsService.DeleteIntegration
114
- */
115
- deleteIntegration: {
116
- name: "DeleteIntegration",
117
- I: DeleteIntegrationRequest,
118
- O: DeleteIntegrationResponse,
119
- kind: MethodKind.Unary,
120
- },
121
- /**
122
- * @generated from rpc integrations.v1.IntegrationsService.ListExtensions
123
- */
124
- listExtensions: {
125
- name: "ListExtensions",
126
- I: ListExtensionsRequest,
127
- O: ListExtensionsResponse,
128
- kind: MethodKind.Unary,
129
- },
130
- /**
131
- * @generated from rpc integrations.v1.IntegrationsService.GetExtension
132
- */
133
- getExtension: {
134
- name: "GetExtension",
135
- I: GetExtensionRequest,
136
- O: GetExtensionResponse,
137
- kind: MethodKind.Unary,
138
- },
139
- /**
140
- * @generated from rpc integrations.v1.IntegrationsService.UpsertExtension
141
- */
142
- upsertExtension: {
143
- name: "UpsertExtension",
144
- I: UpsertExtensionRequest,
145
- O: UpsertExtensionResponse,
146
- kind: MethodKind.Unary,
147
- },
148
- /**
149
- * @generated from rpc integrations.v1.IntegrationsService.DeleteExtension
150
- */
151
- deleteExtension: {
152
- name: "DeleteExtension",
153
- I: DeleteExtensionRequest,
154
- O: DeleteExtensionResponse,
155
- kind: MethodKind.Unary,
156
- },
157
- /**
158
- * @generated from rpc integrations.v1.IntegrationsService.GetIntegrationStatus
159
- */
160
- getIntegrationStatus: {
161
- name: "GetIntegrationStatus",
162
- I: GetIntegrationStatusRequest,
163
- O: GetIntegrationStatusResponse,
164
- kind: MethodKind.Unary,
165
- },
166
- /**
167
- * @generated from rpc integrations.v1.IntegrationsService.UpsertIntegrationStatus
168
- */
169
- upsertIntegrationStatus: {
170
- name: "UpsertIntegrationStatus",
171
- I: UpsertIntegrationStatusRequest,
172
- O: UpsertIntegrationStatusResponse,
173
- kind: MethodKind.Unary,
174
- },
175
- /**
176
- * @generated from rpc integrations.v1.IntegrationsService.TriggerSync
177
- */
178
- triggerSync: {
179
- name: "TriggerSync",
180
- I: TriggerSyncRequest,
181
- O: TriggerSyncResponse,
182
- kind: MethodKind.Unary,
183
- },
184
- /**
185
- * @generated from rpc integrations.v1.IntegrationsService.ValidateConfig
186
- */
187
- validateConfig: {
188
- name: "ValidateConfig",
189
- I: ValidateConfigRequest,
190
- O: ValidateConfigResponse,
191
- kind: MethodKind.Unary,
192
- },
193
- /**
194
- * @generated from rpc integrations.v1.IntegrationsService.ListConfigHistory
195
- */
196
- listConfigHistory: {
197
- name: "ListConfigHistory",
198
- I: ListConfigHistoryRequest,
199
- O: ListConfigHistoryResponse,
200
- kind: MethodKind.Unary,
201
- },
202
- /**
203
- * @generated from rpc integrations.v1.IntegrationsService.GetConfigHistoryEntry
204
- */
205
- getConfigHistoryEntry: {
206
- name: "GetConfigHistoryEntry",
207
- I: GetConfigHistoryEntryRequest,
208
- O: GetConfigHistoryEntryResponse,
209
- kind: MethodKind.Unary,
210
- },
211
- }
212
- };
213
-