@aionixone/client-aionixfn 0.0.0-stage → 0.3.0-beta.3

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.
Files changed (44) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +11 -0
  3. package/dist/generated/authoring.d.ts +18 -0
  4. package/dist/generated/authoring.d.ts.map +1 -0
  5. package/dist/generated/authoring.js +6 -0
  6. package/dist/generated/authoring.js.map +1 -0
  7. package/dist/generated/catalog.d.ts +373 -0
  8. package/dist/generated/catalog.d.ts.map +1 -0
  9. package/dist/generated/catalog.js +373 -0
  10. package/dist/generated/catalog.js.map +1 -0
  11. package/dist/generated/index.d.ts +7 -0
  12. package/dist/generated/index.d.ts.map +1 -0
  13. package/dist/generated/index.js +8 -0
  14. package/dist/generated/index.js.map +1 -0
  15. package/dist/generated/schema_types.d.ts +41 -0
  16. package/dist/generated/schema_types.d.ts.map +1 -0
  17. package/dist/generated/schema_types.js +3 -0
  18. package/dist/generated/schema_types.js.map +1 -0
  19. package/dist/generated/service.d.ts +436 -0
  20. package/dist/generated/service.d.ts.map +1 -0
  21. package/dist/generated/service.js +561 -0
  22. package/dist/generated/service.js.map +1 -0
  23. package/dist/generated/trn.d.ts +51 -0
  24. package/dist/generated/trn.d.ts.map +1 -0
  25. package/dist/generated/trn.js +241 -0
  26. package/dist/generated/trn.js.map +1 -0
  27. package/dist/generated/types.d.ts +240 -0
  28. package/dist/generated/types.d.ts.map +1 -0
  29. package/dist/generated/types.js +3 -0
  30. package/dist/generated/types.js.map +1 -0
  31. package/dist/index.d.ts +2 -0
  32. package/dist/index.d.ts.map +1 -0
  33. package/dist/index.js +2 -0
  34. package/dist/index.js.map +1 -0
  35. package/package.json +30 -4
  36. package/src/generated/authoring.ts +6 -0
  37. package/src/generated/catalog.ts +376 -0
  38. package/src/generated/index.ts +8 -0
  39. package/src/generated/schema_types.ts +42 -0
  40. package/src/generated/service.ts +596 -0
  41. package/src/generated/trn.ts +336 -0
  42. package/src/generated/types.ts +272 -0
  43. package/src/index.ts +1 -0
  44. package/README.md +0 -3
@@ -0,0 +1,336 @@
1
+ // @generated by xtask ts-client-export; DO NOT EDIT
2
+
3
+ function assertTrnField(name: string, value: string): string {
4
+ if (value.length === 0) {
5
+ throw new Error(`TRN field '${name}' must not be empty`);
6
+ }
7
+ return value;
8
+ }
9
+
10
+ function assertTrnQualifier(name: string, value: string): string {
11
+ assertTrnField(name, value);
12
+ if (!/^[A-Za-z0-9][A-Za-z0-9._-]*$/.test(value)) {
13
+ throw new Error(`TRN qualifier '${name}' is invalid`);
14
+ }
15
+ return value;
16
+ }
17
+
18
+ type ParsedTrnFields = Record<string, string>;
19
+
20
+ interface PlaceholderToken {
21
+ name: string;
22
+ pathLike: boolean;
23
+ }
24
+
25
+ function parsePlaceholderToken(token: string): PlaceholderToken | null {
26
+ if (!token.startsWith('{') || !token.endsWith('}')) {
27
+ return null;
28
+ }
29
+ const raw = token.slice(1, -1);
30
+ const pathLike = raw.startsWith('...');
31
+ const name = (pathLike ? raw.slice(3) : raw).trim();
32
+ if (name.length === 0) {
33
+ return null;
34
+ }
35
+ return { name, pathLike };
36
+ }
37
+
38
+ function matchPatternSegments(
39
+ patternSegments: string[],
40
+ actualSegments: string[],
41
+ patternIndex = 0,
42
+ actualIndex = 0,
43
+ captures: ParsedTrnFields = {}
44
+ ): ParsedTrnFields | null {
45
+ if (patternIndex === patternSegments.length && actualIndex === actualSegments.length) {
46
+ return captures;
47
+ }
48
+ if (patternIndex >= patternSegments.length) {
49
+ return null;
50
+ }
51
+ const token = patternSegments[patternIndex];
52
+ const placeholder = parsePlaceholderToken(token);
53
+ if (!placeholder) {
54
+ if (actualIndex >= actualSegments.length || actualSegments[actualIndex] !== token) {
55
+ return null;
56
+ }
57
+ return matchPatternSegments(patternSegments, actualSegments, patternIndex + 1, actualIndex + 1, captures);
58
+ }
59
+ if (!placeholder.pathLike) {
60
+ if (actualIndex >= actualSegments.length || actualSegments[actualIndex].length === 0) {
61
+ return null;
62
+ }
63
+ return matchPatternSegments(
64
+ patternSegments,
65
+ actualSegments,
66
+ patternIndex + 1,
67
+ actualIndex + 1,
68
+ { ...captures, [placeholder.name]: actualSegments[actualIndex] }
69
+ );
70
+ }
71
+ for (let end = actualIndex + 1; end <= actualSegments.length; end += 1) {
72
+ const candidate = actualSegments.slice(actualIndex, end).join('/');
73
+ if (candidate.length === 0) {
74
+ continue;
75
+ }
76
+ const matched = matchPatternSegments(
77
+ patternSegments,
78
+ actualSegments,
79
+ patternIndex + 1,
80
+ end,
81
+ { ...captures, [placeholder.name]: candidate }
82
+ );
83
+ if (matched) {
84
+ return matched;
85
+ }
86
+ }
87
+ return null;
88
+ }
89
+
90
+ function parseTrnByPattern(pattern: string, trn: string): ParsedTrnFields | null {
91
+ const optionalQualifierStart = pattern.endsWith(']') ? pattern.lastIndexOf('[:') : -1;
92
+ const qualifierOptional = optionalQualifierStart >= 0;
93
+ const normalizedPattern = qualifierOptional
94
+ ? `${pattern.slice(0, optionalQualifierStart)}:${pattern.slice(optionalQualifierStart + 2, -1)}`
95
+ : pattern;
96
+ const patternParts = normalizedPattern.split(':');
97
+ const trnParts = trn.split(':');
98
+ if ((patternParts.length !== 5 && patternParts.length !== 6)
99
+ || (trnParts.length !== 5 && trnParts.length !== 6)) {
100
+ return null;
101
+ }
102
+ let captures: ParsedTrnFields = {};
103
+ for (let index = 0; index < 4; index += 1) {
104
+ const patternToken = patternParts[index];
105
+ const trnToken = trnParts[index];
106
+ const placeholder = parsePlaceholderToken(patternToken);
107
+ if (!placeholder) {
108
+ if (patternToken !== trnToken) {
109
+ return null;
110
+ }
111
+ continue;
112
+ }
113
+ if (placeholder.pathLike || trnToken.length === 0) {
114
+ return null;
115
+ }
116
+ captures = { ...captures, [placeholder.name]: trnToken };
117
+ }
118
+ const patternResource = patternParts[4].length === 0 ? [] : patternParts[4].split('/');
119
+ const trnResource = trnParts[4].length === 0 ? [] : trnParts[4].split('/');
120
+ const resourceCaptures = matchPatternSegments(patternResource, trnResource);
121
+ if (!resourceCaptures) {
122
+ return null;
123
+ }
124
+ captures = { ...captures, ...resourceCaptures };
125
+ const patternQualifier = patternParts[5];
126
+ const trnQualifier = trnParts[5];
127
+ if (patternQualifier === undefined) {
128
+ return trnQualifier === undefined ? captures : null;
129
+ }
130
+ if (trnQualifier === undefined) {
131
+ return qualifierOptional ? captures : null;
132
+ }
133
+ if (!/^[A-Za-z0-9][A-Za-z0-9._-]*$/.test(trnQualifier)) {
134
+ return null;
135
+ }
136
+ const qualifierPlaceholder = parsePlaceholderToken(patternQualifier);
137
+ if (!qualifierPlaceholder) {
138
+ return patternQualifier === trnQualifier ? captures : null;
139
+ }
140
+ if (qualifierPlaceholder.pathLike) {
141
+ return null;
142
+ }
143
+ return { ...captures, [qualifierPlaceholder.name]: trnQualifier };
144
+ }
145
+
146
+ export interface buildAionixfnFunctionCollectionTrnInput {
147
+ tenant: string;
148
+ }
149
+
150
+ export function buildAionixfnFunctionCollectionTrn(input: buildAionixfnFunctionCollectionTrnInput): string {
151
+ return "trn:aionixfn:tenant:{tenant}:function/*"
152
+ .replace("{tenant}", assertTrnField("tenant", input.tenant))
153
+ ;
154
+ }
155
+
156
+ export function parseAionixfnFunctionCollectionTrn(trn: string): buildAionixfnFunctionCollectionTrnInput | null {
157
+ const parsed = parseTrnByPattern("trn:aionixfn:tenant:{tenant}:function/*", trn);
158
+ if (!parsed) {
159
+ return null;
160
+ }
161
+ return {
162
+ tenant: parsed.tenant,
163
+ };
164
+ }
165
+
166
+ export interface buildAionixfnFunctionExecutionTargetTrnInput {
167
+ tenant: string;
168
+ function_name: string;
169
+ version_id?: string;
170
+ }
171
+
172
+ export function buildAionixfnFunctionExecutionTargetTrn(input: buildAionixfnFunctionExecutionTargetTrnInput): string {
173
+ const trn = "trn:aionixfn:tenant:{tenant}:function/{...function_name}"
174
+ .replace("{tenant}", assertTrnField("tenant", input.tenant))
175
+ .replace("{...function_name}", assertTrnField("function_name", input.function_name))
176
+ ;
177
+ return input.version_id === undefined
178
+ ? trn
179
+ : `${trn}:${assertTrnQualifier("version_id", input.version_id)}`;
180
+ }
181
+
182
+ export function parseAionixfnFunctionExecutionTargetTrn(trn: string): buildAionixfnFunctionExecutionTargetTrnInput | null {
183
+ const parsed = parseTrnByPattern("trn:aionixfn:tenant:{tenant}:function/{...function_name}[:{version_id}]", trn);
184
+ if (!parsed) {
185
+ return null;
186
+ }
187
+ return {
188
+ tenant: parsed.tenant,
189
+ function_name: parsed.function_name,
190
+ version_id: parsed.version_id,
191
+ };
192
+ }
193
+
194
+ export interface buildAionixfnFunctionItemTrnInput {
195
+ tenant: string;
196
+ function_name: string;
197
+ }
198
+
199
+ export function buildAionixfnFunctionItemTrn(input: buildAionixfnFunctionItemTrnInput): string {
200
+ return "trn:aionixfn:tenant:{tenant}:function/{...function_name}"
201
+ .replace("{tenant}", assertTrnField("tenant", input.tenant))
202
+ .replace("{...function_name}", assertTrnField("function_name", input.function_name))
203
+ ;
204
+ }
205
+
206
+ export function parseAionixfnFunctionItemTrn(trn: string): buildAionixfnFunctionItemTrnInput | null {
207
+ const parsed = parseTrnByPattern("trn:aionixfn:tenant:{tenant}:function/{...function_name}", trn);
208
+ if (!parsed) {
209
+ return null;
210
+ }
211
+ return {
212
+ tenant: parsed.tenant,
213
+ function_name: parsed.function_name,
214
+ };
215
+ }
216
+
217
+ export interface buildAionixfnFunctionVersionTrnInput {
218
+ tenant: string;
219
+ function_name: string;
220
+ version_id: string;
221
+ }
222
+
223
+ export function buildAionixfnFunctionVersionTrn(input: buildAionixfnFunctionVersionTrnInput): string {
224
+ return "trn:aionixfn:tenant:{tenant}:function/{...function_name}:{version_id}"
225
+ .replace("{tenant}", assertTrnField("tenant", input.tenant))
226
+ .replace("{...function_name}", assertTrnField("function_name", input.function_name))
227
+ .replace("{version_id}", assertTrnQualifier("version_id", input.version_id))
228
+ ;
229
+ }
230
+
231
+ export function parseAionixfnFunctionVersionTrn(trn: string): buildAionixfnFunctionVersionTrnInput | null {
232
+ const parsed = parseTrnByPattern("trn:aionixfn:tenant:{tenant}:function/{...function_name}:{version_id}", trn);
233
+ if (!parsed) {
234
+ return null;
235
+ }
236
+ return {
237
+ tenant: parsed.tenant,
238
+ function_name: parsed.function_name,
239
+ version_id: parsed.version_id,
240
+ };
241
+ }
242
+
243
+ export interface buildAionixfnInvocationItemTrnInput {
244
+ tenant: string;
245
+ function_name: string;
246
+ invocation_id: string;
247
+ }
248
+
249
+ export function buildAionixfnInvocationItemTrn(input: buildAionixfnInvocationItemTrnInput): string {
250
+ return "trn:aionixfn:tenant:{tenant}:invocation/{...function_name}/{invocation_id}"
251
+ .replace("{tenant}", assertTrnField("tenant", input.tenant))
252
+ .replace("{...function_name}", assertTrnField("function_name", input.function_name))
253
+ .replace("{invocation_id}", assertTrnField("invocation_id", input.invocation_id))
254
+ ;
255
+ }
256
+
257
+ export function parseAionixfnInvocationItemTrn(trn: string): buildAionixfnInvocationItemTrnInput | null {
258
+ const parsed = parseTrnByPattern("trn:aionixfn:tenant:{tenant}:invocation/{...function_name}/{invocation_id}", trn);
259
+ if (!parsed) {
260
+ return null;
261
+ }
262
+ return {
263
+ tenant: parsed.tenant,
264
+ function_name: parsed.function_name,
265
+ invocation_id: parsed.invocation_id,
266
+ };
267
+ }
268
+
269
+ export interface buildAionixfnLayerCollectionTrnInput {
270
+ tenant: string;
271
+ }
272
+
273
+ export function buildAionixfnLayerCollectionTrn(input: buildAionixfnLayerCollectionTrnInput): string {
274
+ return "trn:aionixfn:tenant:{tenant}:layer/*"
275
+ .replace("{tenant}", assertTrnField("tenant", input.tenant))
276
+ ;
277
+ }
278
+
279
+ export function parseAionixfnLayerCollectionTrn(trn: string): buildAionixfnLayerCollectionTrnInput | null {
280
+ const parsed = parseTrnByPattern("trn:aionixfn:tenant:{tenant}:layer/*", trn);
281
+ if (!parsed) {
282
+ return null;
283
+ }
284
+ return {
285
+ tenant: parsed.tenant,
286
+ };
287
+ }
288
+
289
+ export interface buildAionixfnLayerItemTrnInput {
290
+ tenant: string;
291
+ layer_name: string;
292
+ }
293
+
294
+ export function buildAionixfnLayerItemTrn(input: buildAionixfnLayerItemTrnInput): string {
295
+ return "trn:aionixfn:tenant:{tenant}:layer/{...layer_name}"
296
+ .replace("{tenant}", assertTrnField("tenant", input.tenant))
297
+ .replace("{...layer_name}", assertTrnField("layer_name", input.layer_name))
298
+ ;
299
+ }
300
+
301
+ export function parseAionixfnLayerItemTrn(trn: string): buildAionixfnLayerItemTrnInput | null {
302
+ const parsed = parseTrnByPattern("trn:aionixfn:tenant:{tenant}:layer/{...layer_name}", trn);
303
+ if (!parsed) {
304
+ return null;
305
+ }
306
+ return {
307
+ tenant: parsed.tenant,
308
+ layer_name: parsed.layer_name,
309
+ };
310
+ }
311
+
312
+ export interface buildAionixfnLayerVersionTrnInput {
313
+ tenant: string;
314
+ layer_name: string;
315
+ version_id: string;
316
+ }
317
+
318
+ export function buildAionixfnLayerVersionTrn(input: buildAionixfnLayerVersionTrnInput): string {
319
+ return "trn:aionixfn:tenant:{tenant}:layer/{...layer_name}:{version_id}"
320
+ .replace("{tenant}", assertTrnField("tenant", input.tenant))
321
+ .replace("{...layer_name}", assertTrnField("layer_name", input.layer_name))
322
+ .replace("{version_id}", assertTrnQualifier("version_id", input.version_id))
323
+ ;
324
+ }
325
+
326
+ export function parseAionixfnLayerVersionTrn(trn: string): buildAionixfnLayerVersionTrnInput | null {
327
+ const parsed = parseTrnByPattern("trn:aionixfn:tenant:{tenant}:layer/{...layer_name}:{version_id}", trn);
328
+ if (!parsed) {
329
+ return null;
330
+ }
331
+ return {
332
+ tenant: parsed.tenant,
333
+ layer_name: parsed.layer_name,
334
+ version_id: parsed.version_id,
335
+ };
336
+ }
@@ -0,0 +1,272 @@
1
+ // @generated by xtask ts-client-export; DO NOT EDIT
2
+
3
+ import type { BinaryResponse } from '@aionixone/client-core';
4
+ import type { DownloadLayerVersionResponse, ExecuteFunctionResponse, FunctionResponse, FunctionVersionResponse, InvocationDetailResponse, LayerResponse, LayerVersionResponse, ListFunctionSourceFilesResponse, ListInvocationsResponse, ReadFunctionSourceFileResponse, ReadFunctionSourcePackageResponse, RuntimeId } from "@aionixone/client-types/aionixfn";
5
+ import type { CollectionSort, DurableInvocationCancelResponse, DurableInvocationCreateResponse, DurableInvocationStatus, ForwardCursorPage, OffsetPage, ProviderFilter, SearchTerm, TagSelector, ToolContractSpec, VersionSort } from "@aionixone/client-types/core";
6
+ import type { CurrentVersionResponse, VersionSummary } from "@aionixone/client-types/declarative";
7
+ import type { FunctionLogEntry, SortOrder } from "@aionixone/client-types/observability";
8
+
9
+ /** The result of `aionixfn.function.execute`. */
10
+ export type AionixfnFunctionExecuteResponse = ExecuteFunctionResponse;
11
+
12
+ /** The result of `aionixfn.function.list`. */
13
+ export type AionixfnFunctionListResponse = OffsetPage<FunctionResponse>;
14
+
15
+ /** The query of `aionixfn.function.list`, by wire names. */
16
+ export interface AionixfnFunctionListQuery {
17
+ /**
18
+ * Case-insensitive literal substring matched against name and description.
19
+ */
20
+ readonly search?: SearchTerm | null;
21
+ /**
22
+ * Tag selectors written as key:value; every selector must match.
23
+ */
24
+ readonly tag?: readonly TagSelector[];
25
+ /**
26
+ * Ordering; omitted means the collection's default order.
27
+ */
28
+ readonly sort?: CollectionSort | null;
29
+ /**
30
+ * Page size, between one and the shared maximum.
31
+ */
32
+ readonly limit?: number | null;
33
+ /**
34
+ * Row offset, counted from zero.
35
+ */
36
+ readonly offset?: number | null;
37
+ /**
38
+ * Provider the resource is filed under: `any`, `none`, or a Provider TRN.
39
+ */
40
+ readonly provider?: ProviderFilter | null;
41
+ /**
42
+ * Only Functions whose runtime target names this runtime.
43
+ */
44
+ readonly runtime?: RuntimeId | null;
45
+ }
46
+
47
+ /** The result of `aionixfn.function.log_query`. */
48
+ export type AionixfnFunctionLogQueryResponse = ForwardCursorPage<FunctionLogEntry>;
49
+
50
+ /** The query of `aionixfn.function.log_query`, by wire names. */
51
+ export interface AionixfnFunctionLogQueryQuery {
52
+ /**
53
+ * Case-insensitive literal substring matched against name and description.
54
+ */
55
+ readonly search?: SearchTerm | null;
56
+ /**
57
+ * Tag selectors written as key:value; every selector must match.
58
+ */
59
+ readonly tag?: readonly TagSelector[];
60
+ /**
61
+ * Page size, between one and the shared maximum.
62
+ */
63
+ readonly limit?: number | null;
64
+ /**
65
+ * Opaque cursor returned by the previous page.
66
+ */
67
+ readonly cursor?: string | null;
68
+ /**
69
+ * Only this call: the invocation ID of a durable call, or the execution name of a direct one.
70
+ */
71
+ readonly executionId?: string | null;
72
+ /**
73
+ * Only this durable Attempt of the execution.
74
+ */
75
+ readonly attempt?: number | null;
76
+ /**
77
+ * Only this stream.
78
+ */
79
+ readonly stream?: string | null;
80
+ /**
81
+ * Only lines read at or after this instant.
82
+ */
83
+ readonly since?: string | null;
84
+ /**
85
+ * Only lines read before this instant.
86
+ */
87
+ readonly until?: string | null;
88
+ /**
89
+ * `asc` by default.
90
+ */
91
+ readonly order?: SortOrder | null;
92
+ }
93
+
94
+ /** The result of `aionixfn.function.read`. */
95
+ export type AionixfnFunctionReadResponse = FunctionResponse;
96
+
97
+ /** The result of `aionixfn.function.schema_read`. */
98
+ export type AionixfnFunctionSchemaReadResponse = ToolContractSpec;
99
+
100
+ /** The result of `aionixfn.function.source_file_list`. */
101
+ export type AionixfnFunctionSourceFileListResponse = ListFunctionSourceFilesResponse;
102
+
103
+ /** The query of `aionixfn.function.source_file_list`, by wire names. */
104
+ export interface AionixfnFunctionSourceFileListQuery {
105
+ readonly offset?: number | null;
106
+ readonly limit?: number | null;
107
+ }
108
+
109
+ /** The result of `aionixfn.function.source_file_read`. */
110
+ export type AionixfnFunctionSourceFileReadResponse = BinaryResponse<ReadFunctionSourceFileResponse>;
111
+
112
+ /** The query of `aionixfn.function.source_file_read`, by wire names. */
113
+ export interface AionixfnFunctionSourceFileReadQuery {
114
+ readonly path: string;
115
+ /**
116
+ * Explicitly download a file larger than the editor limit. Full content is
117
+ * verified before streaming; it is never silently truncated for preview.
118
+ */
119
+ readonly download?: boolean | null;
120
+ }
121
+
122
+ /** The result of `aionixfn.function.source_read`. */
123
+ export type AionixfnFunctionSourceReadResponse = BinaryResponse<ReadFunctionSourcePackageResponse>;
124
+
125
+ /** The result of `aionixfn.function.submit`. */
126
+ export type AionixfnFunctionSubmitResponse = DurableInvocationCreateResponse;
127
+
128
+ /** The result of `aionixfn.function.version_delete`. */
129
+ export type AionixfnFunctionVersionDeleteResponse = void;
130
+
131
+ /** The result of `aionixfn.function.version_list`. */
132
+ export type AionixfnFunctionVersionListResponse = OffsetPage<VersionSummary>;
133
+
134
+ /** The query of `aionixfn.function.version_list`, by wire names. */
135
+ export interface AionixfnFunctionVersionListQuery {
136
+ /**
137
+ * Ordering; omitted means newest version first.
138
+ */
139
+ readonly sort?: VersionSort | null;
140
+ /**
141
+ * Page size, between one and the shared maximum.
142
+ */
143
+ readonly limit?: number | null;
144
+ /**
145
+ * Row offset, counted from zero.
146
+ */
147
+ readonly offset?: number | null;
148
+ }
149
+
150
+ /** The result of `aionixfn.function.version_read`. */
151
+ export type AionixfnFunctionVersionReadResponse = FunctionVersionResponse;
152
+
153
+ /** The result of `aionixfn.function.version_set_current`. */
154
+ export type AionixfnFunctionVersionSetCurrentResponse = CurrentVersionResponse;
155
+
156
+ /** The result of `aionixfn.invocation.cancel`. */
157
+ export type AionixfnInvocationCancelResponse = DurableInvocationCancelResponse;
158
+
159
+ /** The result of `aionixfn.invocation.list`. */
160
+ export type AionixfnInvocationListResponse = ListInvocationsResponse;
161
+
162
+ /** The query of `aionixfn.invocation.list`, by wire names. */
163
+ export interface AionixfnInvocationListQuery {
164
+ /**
165
+ * Case-insensitive literal substring matched against name and description.
166
+ */
167
+ readonly search?: SearchTerm | null;
168
+ /**
169
+ * Tag selectors written as key:value; every selector must match.
170
+ */
171
+ readonly tag?: readonly TagSelector[];
172
+ /**
173
+ * Ordering; omitted means the collection's default order.
174
+ */
175
+ readonly sort?: CollectionSort | null;
176
+ /**
177
+ * Page size, between one and the shared maximum.
178
+ */
179
+ readonly limit?: number | null;
180
+ /**
181
+ * Row offset, counted from zero.
182
+ */
183
+ readonly offset?: number | null;
184
+ /**
185
+ * Only invocations in this durable status.
186
+ */
187
+ readonly status?: DurableInvocationStatus | null;
188
+ /**
189
+ * Only invocations of this Function version.
190
+ */
191
+ readonly versionId?: string | null;
192
+ /**
193
+ * Only invocations created at or after this instant.
194
+ */
195
+ readonly since?: string | null;
196
+ /**
197
+ * Only invocations created at or before this instant.
198
+ */
199
+ readonly until?: string | null;
200
+ }
201
+
202
+ /** The result of `aionixfn.invocation.read`. */
203
+ export type AionixfnInvocationReadResponse = InvocationDetailResponse;
204
+
205
+ /** The result of `aionixfn.layer.list`. */
206
+ export type AionixfnLayerListResponse = OffsetPage<LayerResponse>;
207
+
208
+ /** The query of `aionixfn.layer.list`, by wire names. */
209
+ export interface AionixfnLayerListQuery {
210
+ /**
211
+ * Case-insensitive literal substring matched against name and description.
212
+ */
213
+ readonly search?: SearchTerm | null;
214
+ /**
215
+ * Tag selectors written as key:value; every selector must match.
216
+ */
217
+ readonly tag?: readonly TagSelector[];
218
+ /**
219
+ * Ordering; omitted means the collection's default order.
220
+ */
221
+ readonly sort?: CollectionSort | null;
222
+ /**
223
+ * Page size, between one and the shared maximum.
224
+ */
225
+ readonly limit?: number | null;
226
+ /**
227
+ * Row offset, counted from zero.
228
+ */
229
+ readonly offset?: number | null;
230
+ /**
231
+ * Provider the resource is filed under: `any`, `none`, or a Provider TRN.
232
+ */
233
+ readonly provider?: ProviderFilter | null;
234
+ /**
235
+ * Only Layers whose runtime target names this runtime.
236
+ */
237
+ readonly runtime?: RuntimeId | null;
238
+ }
239
+
240
+ /** The result of `aionixfn.layer.read`. */
241
+ export type AionixfnLayerReadResponse = LayerResponse;
242
+
243
+ /** The result of `aionixfn.layer.version_delete`. */
244
+ export type AionixfnLayerVersionDeleteResponse = void;
245
+
246
+ /** The result of `aionixfn.layer.version_download`. */
247
+ export type AionixfnLayerVersionDownloadResponse = BinaryResponse<DownloadLayerVersionResponse>;
248
+
249
+ /** The result of `aionixfn.layer.version_list`. */
250
+ export type AionixfnLayerVersionListResponse = OffsetPage<VersionSummary>;
251
+
252
+ /** The query of `aionixfn.layer.version_list`, by wire names. */
253
+ export interface AionixfnLayerVersionListQuery {
254
+ /**
255
+ * Ordering; omitted means newest version first.
256
+ */
257
+ readonly sort?: VersionSort | null;
258
+ /**
259
+ * Page size, between one and the shared maximum.
260
+ */
261
+ readonly limit?: number | null;
262
+ /**
263
+ * Row offset, counted from zero.
264
+ */
265
+ readonly offset?: number | null;
266
+ }
267
+
268
+ /** The result of `aionixfn.layer.version_read`. */
269
+ export type AionixfnLayerVersionReadResponse = LayerVersionResponse;
270
+
271
+ /** The result of `aionixfn.layer.version_set_current`. */
272
+ export type AionixfnLayerVersionSetCurrentResponse = CurrentVersionResponse;
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './generated/index.js';
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.