@appport/sdk 1.0.2 → 1.1.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.
Files changed (90) hide show
  1. package/README.md +23 -1
  2. package/dist/external-compatibility.d.ts +142 -0
  3. package/dist/external-compatibility.d.ts.map +1 -0
  4. package/dist/external-compatibility.js +132 -0
  5. package/dist/external-compatibility.js.map +1 -0
  6. package/dist/index.d.ts +4 -0
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +4 -0
  9. package/dist/index.js.map +1 -1
  10. package/dist/provider-lifecycle.d.ts +247 -0
  11. package/dist/provider-lifecycle.d.ts.map +1 -0
  12. package/dist/provider-lifecycle.js +314 -0
  13. package/dist/provider-lifecycle.js.map +1 -0
  14. package/dist/resolution-policy.d.ts +81 -0
  15. package/dist/resolution-policy.d.ts.map +1 -0
  16. package/dist/resolution-policy.js +131 -0
  17. package/dist/resolution-policy.js.map +1 -0
  18. package/package.json +1 -1
  19. package/vendor/@appport/core/dist/appboundry-capability-catalog.d.ts +930 -0
  20. package/vendor/@appport/core/dist/appboundry-capability-catalog.d.ts.map +1 -0
  21. package/vendor/@appport/core/dist/appboundry-capability-catalog.js +352 -0
  22. package/vendor/@appport/core/dist/appboundry-capability-catalog.js.map +1 -0
  23. package/vendor/@appport/core/dist/appboundry-composition.d.ts +93 -0
  24. package/vendor/@appport/core/dist/appboundry-composition.d.ts.map +1 -0
  25. package/vendor/@appport/core/dist/appboundry-composition.js +184 -0
  26. package/vendor/@appport/core/dist/appboundry-composition.js.map +1 -0
  27. package/vendor/@appport/core/dist/appboundry-discovery.d.ts +110 -0
  28. package/vendor/@appport/core/dist/appboundry-discovery.d.ts.map +1 -0
  29. package/vendor/@appport/core/dist/appboundry-discovery.js +141 -0
  30. package/vendor/@appport/core/dist/appboundry-discovery.js.map +1 -0
  31. package/vendor/@appport/core/dist/appboundry-entitlements.d.ts +128 -0
  32. package/vendor/@appport/core/dist/appboundry-entitlements.d.ts.map +1 -0
  33. package/vendor/@appport/core/dist/appboundry-entitlements.js +312 -0
  34. package/vendor/@appport/core/dist/appboundry-entitlements.js.map +1 -0
  35. package/vendor/@appport/core/dist/appboundry-execution.d.ts +72 -0
  36. package/vendor/@appport/core/dist/appboundry-execution.d.ts.map +1 -0
  37. package/vendor/@appport/core/dist/appboundry-execution.js +114 -0
  38. package/vendor/@appport/core/dist/appboundry-execution.js.map +1 -0
  39. package/vendor/@appport/core/dist/appboundry-materialization.d.ts +222 -0
  40. package/vendor/@appport/core/dist/appboundry-materialization.d.ts.map +1 -0
  41. package/vendor/@appport/core/dist/appboundry-materialization.js +474 -0
  42. package/vendor/@appport/core/dist/appboundry-materialization.js.map +1 -0
  43. package/vendor/@appport/core/dist/appboundry-resolution.d.ts +160 -0
  44. package/vendor/@appport/core/dist/appboundry-resolution.d.ts.map +1 -0
  45. package/vendor/@appport/core/dist/appboundry-resolution.js +218 -0
  46. package/vendor/@appport/core/dist/appboundry-resolution.js.map +1 -0
  47. package/vendor/@appport/core/dist/appboundry-surface.d.ts +96 -0
  48. package/vendor/@appport/core/dist/appboundry-surface.d.ts.map +1 -0
  49. package/vendor/@appport/core/dist/appboundry-surface.js +223 -0
  50. package/vendor/@appport/core/dist/appboundry-surface.js.map +1 -0
  51. package/vendor/@appport/core/dist/application.d.ts +3 -1
  52. package/vendor/@appport/core/dist/application.d.ts.map +1 -1
  53. package/vendor/@appport/core/dist/application.js +3 -0
  54. package/vendor/@appport/core/dist/application.js.map +1 -1
  55. package/vendor/@appport/core/dist/index.d.ts +8 -0
  56. package/vendor/@appport/core/dist/index.d.ts.map +1 -1
  57. package/vendor/@appport/core/dist/index.js +8 -0
  58. package/vendor/@appport/core/dist/index.js.map +1 -1
  59. package/vendor/@appport/core/dist/public.d.ts +1 -0
  60. package/vendor/@appport/core/dist/public.d.ts.map +1 -1
  61. package/vendor/@appport/core/dist/public.js +1 -0
  62. package/vendor/@appport/core/dist/public.js.map +1 -1
  63. package/vendor/@appport/core/dist/registry.d.ts +2 -1
  64. package/vendor/@appport/core/dist/registry.d.ts.map +1 -1
  65. package/vendor/@appport/core/dist/registry.js +1 -0
  66. package/vendor/@appport/core/dist/registry.js.map +1 -1
  67. package/vendor/@appport/mcp/README.md +29 -0
  68. package/vendor/@appport/mcp/dist/index.d.ts +58 -0
  69. package/vendor/@appport/mcp/dist/index.d.ts.map +1 -0
  70. package/vendor/@appport/mcp/dist/index.js +69 -0
  71. package/vendor/@appport/mcp/dist/index.js.map +1 -0
  72. package/vendor/@appport/mcp/package.json +29 -0
  73. package/vendor/@appport/protocol/dist/errors.d.ts +1 -1
  74. package/vendor/@appport/protocol/dist/errors.d.ts.map +1 -1
  75. package/vendor/@appport/protocol/dist/errors.js +1 -0
  76. package/vendor/@appport/protocol/dist/errors.js.map +1 -1
  77. package/vendor/@appport/protocol/dist/index.d.ts +1 -0
  78. package/vendor/@appport/protocol/dist/index.d.ts.map +1 -1
  79. package/vendor/@appport/protocol/dist/index.js +1 -0
  80. package/vendor/@appport/protocol/dist/index.js.map +1 -1
  81. package/vendor/@appport/protocol/dist/manifest.d.ts +3 -0
  82. package/vendor/@appport/protocol/dist/manifest.d.ts.map +1 -1
  83. package/vendor/@appport/protocol/dist/manifest.js.map +1 -1
  84. package/vendor/@appport/protocol/dist/materialization.d.ts +59 -0
  85. package/vendor/@appport/protocol/dist/materialization.d.ts.map +1 -0
  86. package/vendor/@appport/protocol/dist/materialization.js +2 -0
  87. package/vendor/@appport/protocol/dist/materialization.js.map +1 -0
  88. package/vendor/@appport/server/dist/http.d.ts.map +1 -1
  89. package/vendor/@appport/server/dist/http.js +1 -0
  90. package/vendor/@appport/server/dist/http.js.map +1 -1
@@ -0,0 +1,930 @@
1
+ import { type Schema } from "../../schema/dist/index.d.ts";
2
+ export declare const APPBOUNDRY_CANONICAL_CAPABILITY_VERSION = 1;
3
+ export interface CanonicalCapabilityRequirement {
4
+ readonly name: string;
5
+ readonly version: number;
6
+ }
7
+ export interface CanonicalCapabilityDefinition<Input = unknown, Output = unknown> {
8
+ readonly id: `${string}@${number}`;
9
+ readonly name: string;
10
+ readonly version: number;
11
+ readonly description: string;
12
+ readonly input: Schema<Input>;
13
+ readonly output: Schema<Output>;
14
+ readonly requirements?: readonly CanonicalCapabilityRequirement[];
15
+ }
16
+ export declare function canonicalCapabilityId(name: string, version?: number): `${string}@${number}`;
17
+ export declare const canonicalCapabilities: readonly (CanonicalCapabilityDefinition<{
18
+ id: string;
19
+ }, {
20
+ found: boolean;
21
+ identity?: Record<string, unknown> | undefined;
22
+ }> | CanonicalCapabilityDefinition<{
23
+ subject: {
24
+ id: string;
25
+ };
26
+ assertion: string;
27
+ }, {
28
+ verified: boolean;
29
+ reasons?: string[] | undefined;
30
+ }> | CanonicalCapabilityDefinition<{
31
+ attributes: Record<string, unknown>;
32
+ }, {
33
+ resolved: boolean;
34
+ identity?: {
35
+ id: string;
36
+ } | undefined;
37
+ candidates?: {
38
+ id: string;
39
+ }[] | undefined;
40
+ }> | CanonicalCapabilityDefinition<{
41
+ subject: {
42
+ id: string;
43
+ };
44
+ action: string;
45
+ resource: {
46
+ id: string;
47
+ };
48
+ }, {
49
+ allowed: boolean;
50
+ reasons?: string[] | undefined;
51
+ }> | CanonicalCapabilityDefinition<{
52
+ subject: {
53
+ id: string;
54
+ };
55
+ scope?: {
56
+ id: string;
57
+ } | undefined;
58
+ }, {
59
+ roles: string[];
60
+ }> | CanonicalCapabilityDefinition<{
61
+ id: string;
62
+ }, {
63
+ found: boolean;
64
+ organization?: Record<string, unknown> | undefined;
65
+ }> | CanonicalCapabilityDefinition<{
66
+ subject: string;
67
+ to: string[];
68
+ body: string;
69
+ from?: string | undefined;
70
+ }, {
71
+ accepted: boolean;
72
+ messageId?: string | undefined;
73
+ }> | CanonicalCapabilityDefinition<{
74
+ email: string;
75
+ }, {
76
+ valid: boolean;
77
+ reasons?: string[] | undefined;
78
+ normalized?: string | undefined;
79
+ }> | CanonicalCapabilityDefinition<{
80
+ phone: string;
81
+ country?: string | undefined;
82
+ }, {
83
+ valid: boolean;
84
+ reasons?: string[] | undefined;
85
+ normalized?: string | undefined;
86
+ }> | CanonicalCapabilityDefinition<{
87
+ to: string;
88
+ body: string;
89
+ from?: string | undefined;
90
+ }, {
91
+ accepted: boolean;
92
+ messageId?: string | undefined;
93
+ }> | CanonicalCapabilityDefinition<{
94
+ body: string;
95
+ recipient: {
96
+ id: string;
97
+ };
98
+ channel?: string | undefined;
99
+ title?: string | undefined;
100
+ }, {
101
+ accepted: boolean;
102
+ notificationId?: string | undefined;
103
+ }> | CanonicalCapabilityDefinition<{
104
+ body: string;
105
+ target: string;
106
+ title?: string | undefined;
107
+ data?: Record<string, unknown> | undefined;
108
+ }, {
109
+ accepted: boolean;
110
+ messageId?: string | undefined;
111
+ }> | CanonicalCapabilityDefinition<{
112
+ data: Record<string, unknown>;
113
+ template: string;
114
+ }, {
115
+ content: string;
116
+ contentType?: string | undefined;
117
+ }> | CanonicalCapabilityDefinition<{
118
+ data: Record<string, unknown>;
119
+ template: string;
120
+ format?: string | undefined;
121
+ }, {
122
+ data: string;
123
+ contentType: string;
124
+ }> | CanonicalCapabilityDefinition<{
125
+ document: {
126
+ data: string;
127
+ contentType: string;
128
+ };
129
+ toFormat: string;
130
+ }, {
131
+ data: string;
132
+ contentType: string;
133
+ }> | CanonicalCapabilityDefinition<{
134
+ document: {
135
+ data: string;
136
+ contentType: string;
137
+ };
138
+ target?: string | undefined;
139
+ }, {
140
+ data: string;
141
+ contentType: string;
142
+ }> | CanonicalCapabilityDefinition<{
143
+ document: {
144
+ data: string;
145
+ contentType: string;
146
+ };
147
+ fields?: string[] | undefined;
148
+ }, {
149
+ fields?: Record<string, unknown> | undefined;
150
+ text?: string | undefined;
151
+ }> | CanonicalCapabilityDefinition<{
152
+ data: string;
153
+ contentType: string;
154
+ name?: string | undefined;
155
+ }, {
156
+ file: {
157
+ id: string;
158
+ uri?: string | undefined;
159
+ };
160
+ }> | CanonicalCapabilityDefinition<{
161
+ file: {
162
+ id: string;
163
+ uri?: string | undefined;
164
+ };
165
+ }, {
166
+ data: string;
167
+ contentType: string;
168
+ name?: string | undefined;
169
+ }> | CanonicalCapabilityDefinition<{
170
+ file: {
171
+ id: string;
172
+ uri?: string | undefined;
173
+ };
174
+ transform: string;
175
+ options?: Record<string, unknown> | undefined;
176
+ }, {
177
+ file: {
178
+ id: string;
179
+ uri?: string | undefined;
180
+ };
181
+ contentType?: string | undefined;
182
+ }> | CanonicalCapabilityDefinition<{
183
+ file: {
184
+ id: string;
185
+ uri?: string | undefined;
186
+ };
187
+ algorithm?: string | undefined;
188
+ }, {
189
+ value: string;
190
+ algorithm: string;
191
+ }> | CanonicalCapabilityDefinition<{
192
+ collection: string;
193
+ key: string;
194
+ }, {
195
+ found: boolean;
196
+ record?: Record<string, unknown> | undefined;
197
+ }> | CanonicalCapabilityDefinition<{
198
+ collection: string;
199
+ query?: string | undefined;
200
+ filters?: Record<string, unknown> | undefined;
201
+ limit?: number | undefined;
202
+ }, {
203
+ records: Record<string, unknown>[];
204
+ total?: number | undefined;
205
+ }> | CanonicalCapabilityDefinition<{
206
+ data: Record<string, unknown>;
207
+ rules?: string[] | undefined;
208
+ }, {
209
+ valid: boolean;
210
+ reasons?: string[] | undefined;
211
+ }> | CanonicalCapabilityDefinition<{
212
+ data: Record<string, unknown>;
213
+ profile?: string | undefined;
214
+ }, {
215
+ data: Record<string, unknown>;
216
+ }> | CanonicalCapabilityDefinition<{
217
+ data: Record<string, unknown>;
218
+ fields?: string[] | undefined;
219
+ }, {
220
+ data: Record<string, unknown>;
221
+ }> | CanonicalCapabilityDefinition<{
222
+ format: string;
223
+ records: Record<string, unknown>[];
224
+ }, {
225
+ data: string;
226
+ contentType: string;
227
+ }> | CanonicalCapabilityDefinition<{
228
+ amount: {
229
+ amount: number;
230
+ currency: string;
231
+ };
232
+ paymentMethod: string;
233
+ reference?: string | undefined;
234
+ }, {
235
+ authorized: boolean;
236
+ reasons?: string[] | undefined;
237
+ authorizationId?: string | undefined;
238
+ }> | CanonicalCapabilityDefinition<{
239
+ authorizationId: string;
240
+ amount?: {
241
+ amount: number;
242
+ currency: string;
243
+ } | undefined;
244
+ }, {
245
+ captured: boolean;
246
+ reasons?: string[] | undefined;
247
+ captureId?: string | undefined;
248
+ }> | CanonicalCapabilityDefinition<{
249
+ paymentId: string;
250
+ amount?: {
251
+ amount: number;
252
+ currency: string;
253
+ } | undefined;
254
+ reason?: string | undefined;
255
+ }, {
256
+ refunded: boolean;
257
+ reasons?: string[] | undefined;
258
+ refundId?: string | undefined;
259
+ }> | CanonicalCapabilityDefinition<{
260
+ paymentMethod: Record<string, unknown>;
261
+ }, {
262
+ token: string;
263
+ expiresAt?: string | undefined;
264
+ }> | CanonicalCapabilityDefinition<{
265
+ customer: {
266
+ id: string;
267
+ };
268
+ lineItems: {
269
+ amount: {
270
+ amount: number;
271
+ currency: string;
272
+ };
273
+ description: string;
274
+ }[];
275
+ }, {
276
+ total: {
277
+ amount: number;
278
+ currency: string;
279
+ };
280
+ invoiceId: string;
281
+ }> | CanonicalCapabilityDefinition<{
282
+ amount: {
283
+ amount: number;
284
+ currency: string;
285
+ };
286
+ jurisdiction: string;
287
+ address?: {
288
+ country: string;
289
+ line1: string;
290
+ line2?: string | undefined;
291
+ city?: string | undefined;
292
+ region?: string | undefined;
293
+ postalCode?: string | undefined;
294
+ } | undefined;
295
+ }, {
296
+ tax: {
297
+ amount: number;
298
+ currency: string;
299
+ };
300
+ rate?: number | undefined;
301
+ }> | CanonicalCapabilityDefinition<{
302
+ address: {
303
+ country: string;
304
+ line1: string;
305
+ line2?: string | undefined;
306
+ city?: string | undefined;
307
+ region?: string | undefined;
308
+ postalCode?: string | undefined;
309
+ };
310
+ }, {
311
+ valid: boolean;
312
+ reasons?: string[] | undefined;
313
+ normalized?: {
314
+ country: string;
315
+ line1: string;
316
+ line2?: string | undefined;
317
+ city?: string | undefined;
318
+ region?: string | undefined;
319
+ postalCode?: string | undefined;
320
+ } | undefined;
321
+ }> | CanonicalCapabilityDefinition<{
322
+ address: {
323
+ country: string;
324
+ line1: string;
325
+ line2?: string | undefined;
326
+ city?: string | undefined;
327
+ region?: string | undefined;
328
+ postalCode?: string | undefined;
329
+ };
330
+ }, {
331
+ address: {
332
+ country: string;
333
+ line1: string;
334
+ line2?: string | undefined;
335
+ city?: string | undefined;
336
+ region?: string | undefined;
337
+ postalCode?: string | undefined;
338
+ };
339
+ }> | CanonicalCapabilityDefinition<{
340
+ address: {
341
+ country: string;
342
+ line1: string;
343
+ line2?: string | undefined;
344
+ city?: string | undefined;
345
+ region?: string | undefined;
346
+ postalCode?: string | undefined;
347
+ };
348
+ }, {
349
+ latitude: number;
350
+ longitude: number;
351
+ accuracy?: string | undefined;
352
+ }> | CanonicalCapabilityDefinition<{
353
+ latitude: number;
354
+ longitude: number;
355
+ }, {
356
+ address?: {
357
+ country: string;
358
+ line1: string;
359
+ line2?: string | undefined;
360
+ city?: string | undefined;
361
+ region?: string | undefined;
362
+ postalCode?: string | undefined;
363
+ } | undefined;
364
+ formatted?: string | undefined;
365
+ }> | CanonicalCapabilityDefinition<{
366
+ to: {
367
+ latitude: number;
368
+ longitude: number;
369
+ };
370
+ from: {
371
+ latitude: number;
372
+ longitude: number;
373
+ };
374
+ unit?: string | undefined;
375
+ }, {
376
+ unit: string;
377
+ distance: number;
378
+ }> | CanonicalCapabilityDefinition<{
379
+ latitude: number;
380
+ longitude: number;
381
+ at?: string | undefined;
382
+ }, {
383
+ timezone: string;
384
+ offsetMinutes?: number | undefined;
385
+ }> | CanonicalCapabilityDefinition<{
386
+ value: string;
387
+ format: string;
388
+ }, {
389
+ data: string;
390
+ contentType: string;
391
+ }> | CanonicalCapabilityDefinition<{
392
+ value: string;
393
+ size?: number | undefined;
394
+ }, {
395
+ data: string;
396
+ contentType: string;
397
+ }> | CanonicalCapabilityDefinition<{
398
+ size: {
399
+ width: number;
400
+ height: number;
401
+ };
402
+ image: {
403
+ data: string;
404
+ contentType: string;
405
+ };
406
+ }, {
407
+ data: string;
408
+ contentType: string;
409
+ size: {
410
+ width: number;
411
+ height: number;
412
+ };
413
+ }> | CanonicalCapabilityDefinition<{
414
+ toFormat: string;
415
+ image: {
416
+ data: string;
417
+ contentType: string;
418
+ };
419
+ }, {
420
+ data: string;
421
+ contentType: string;
422
+ }> | CanonicalCapabilityDefinition<{
423
+ source: {
424
+ data: string;
425
+ contentType: string;
426
+ };
427
+ }, {
428
+ text: string;
429
+ }> | CanonicalCapabilityDefinition<{
430
+ text: string;
431
+ operation: string;
432
+ options?: Record<string, unknown> | undefined;
433
+ }, {
434
+ text: string;
435
+ }> | CanonicalCapabilityDefinition<{
436
+ version?: string | undefined;
437
+ }, {
438
+ value: string;
439
+ }> | CanonicalCapabilityDefinition<{
440
+ value: string;
441
+ amount: number;
442
+ unit: string;
443
+ operation: string;
444
+ }, {
445
+ value: string;
446
+ }> | CanonicalCapabilityDefinition<{
447
+ to: string;
448
+ from: string;
449
+ amount: number;
450
+ }, {
451
+ to: string;
452
+ from: string;
453
+ amount: number;
454
+ }> | CanonicalCapabilityDefinition<{
455
+ value: number;
456
+ to: string;
457
+ from: string;
458
+ }, {
459
+ value: number;
460
+ to: string;
461
+ from: string;
462
+ }> | CanonicalCapabilityDefinition<{
463
+ algorithm: string;
464
+ payload: string;
465
+ signature: string;
466
+ keyId?: string | undefined;
467
+ }, {
468
+ valid: boolean;
469
+ reason?: string | undefined;
470
+ }>)[];
471
+ export type CanonicalCapabilityName = (typeof canonicalCapabilities)[number]["name"];
472
+ export declare function getCanonicalCapability(name: CanonicalCapabilityName | string, version?: number): CanonicalCapabilityDefinition | undefined;
473
+ export declare function hasCanonicalCapability(name: CanonicalCapabilityName | string, version?: number): boolean;
474
+ export declare const canonicalCapabilityCatalog: Readonly<{
475
+ [k: string]: CanonicalCapabilityDefinition<{
476
+ id: string;
477
+ }, {
478
+ found: boolean;
479
+ identity?: Record<string, unknown> | undefined;
480
+ }> | CanonicalCapabilityDefinition<{
481
+ subject: {
482
+ id: string;
483
+ };
484
+ assertion: string;
485
+ }, {
486
+ verified: boolean;
487
+ reasons?: string[] | undefined;
488
+ }> | CanonicalCapabilityDefinition<{
489
+ attributes: Record<string, unknown>;
490
+ }, {
491
+ resolved: boolean;
492
+ identity?: {
493
+ id: string;
494
+ } | undefined;
495
+ candidates?: {
496
+ id: string;
497
+ }[] | undefined;
498
+ }> | CanonicalCapabilityDefinition<{
499
+ subject: {
500
+ id: string;
501
+ };
502
+ action: string;
503
+ resource: {
504
+ id: string;
505
+ };
506
+ }, {
507
+ allowed: boolean;
508
+ reasons?: string[] | undefined;
509
+ }> | CanonicalCapabilityDefinition<{
510
+ subject: {
511
+ id: string;
512
+ };
513
+ scope?: {
514
+ id: string;
515
+ } | undefined;
516
+ }, {
517
+ roles: string[];
518
+ }> | CanonicalCapabilityDefinition<{
519
+ id: string;
520
+ }, {
521
+ found: boolean;
522
+ organization?: Record<string, unknown> | undefined;
523
+ }> | CanonicalCapabilityDefinition<{
524
+ subject: string;
525
+ to: string[];
526
+ body: string;
527
+ from?: string | undefined;
528
+ }, {
529
+ accepted: boolean;
530
+ messageId?: string | undefined;
531
+ }> | CanonicalCapabilityDefinition<{
532
+ email: string;
533
+ }, {
534
+ valid: boolean;
535
+ reasons?: string[] | undefined;
536
+ normalized?: string | undefined;
537
+ }> | CanonicalCapabilityDefinition<{
538
+ phone: string;
539
+ country?: string | undefined;
540
+ }, {
541
+ valid: boolean;
542
+ reasons?: string[] | undefined;
543
+ normalized?: string | undefined;
544
+ }> | CanonicalCapabilityDefinition<{
545
+ to: string;
546
+ body: string;
547
+ from?: string | undefined;
548
+ }, {
549
+ accepted: boolean;
550
+ messageId?: string | undefined;
551
+ }> | CanonicalCapabilityDefinition<{
552
+ body: string;
553
+ recipient: {
554
+ id: string;
555
+ };
556
+ channel?: string | undefined;
557
+ title?: string | undefined;
558
+ }, {
559
+ accepted: boolean;
560
+ notificationId?: string | undefined;
561
+ }> | CanonicalCapabilityDefinition<{
562
+ body: string;
563
+ target: string;
564
+ title?: string | undefined;
565
+ data?: Record<string, unknown> | undefined;
566
+ }, {
567
+ accepted: boolean;
568
+ messageId?: string | undefined;
569
+ }> | CanonicalCapabilityDefinition<{
570
+ data: Record<string, unknown>;
571
+ template: string;
572
+ }, {
573
+ content: string;
574
+ contentType?: string | undefined;
575
+ }> | CanonicalCapabilityDefinition<{
576
+ data: Record<string, unknown>;
577
+ template: string;
578
+ format?: string | undefined;
579
+ }, {
580
+ data: string;
581
+ contentType: string;
582
+ }> | CanonicalCapabilityDefinition<{
583
+ document: {
584
+ data: string;
585
+ contentType: string;
586
+ };
587
+ toFormat: string;
588
+ }, {
589
+ data: string;
590
+ contentType: string;
591
+ }> | CanonicalCapabilityDefinition<{
592
+ document: {
593
+ data: string;
594
+ contentType: string;
595
+ };
596
+ target?: string | undefined;
597
+ }, {
598
+ data: string;
599
+ contentType: string;
600
+ }> | CanonicalCapabilityDefinition<{
601
+ document: {
602
+ data: string;
603
+ contentType: string;
604
+ };
605
+ fields?: string[] | undefined;
606
+ }, {
607
+ fields?: Record<string, unknown> | undefined;
608
+ text?: string | undefined;
609
+ }> | CanonicalCapabilityDefinition<{
610
+ data: string;
611
+ contentType: string;
612
+ name?: string | undefined;
613
+ }, {
614
+ file: {
615
+ id: string;
616
+ uri?: string | undefined;
617
+ };
618
+ }> | CanonicalCapabilityDefinition<{
619
+ file: {
620
+ id: string;
621
+ uri?: string | undefined;
622
+ };
623
+ }, {
624
+ data: string;
625
+ contentType: string;
626
+ name?: string | undefined;
627
+ }> | CanonicalCapabilityDefinition<{
628
+ file: {
629
+ id: string;
630
+ uri?: string | undefined;
631
+ };
632
+ transform: string;
633
+ options?: Record<string, unknown> | undefined;
634
+ }, {
635
+ file: {
636
+ id: string;
637
+ uri?: string | undefined;
638
+ };
639
+ contentType?: string | undefined;
640
+ }> | CanonicalCapabilityDefinition<{
641
+ file: {
642
+ id: string;
643
+ uri?: string | undefined;
644
+ };
645
+ algorithm?: string | undefined;
646
+ }, {
647
+ value: string;
648
+ algorithm: string;
649
+ }> | CanonicalCapabilityDefinition<{
650
+ collection: string;
651
+ key: string;
652
+ }, {
653
+ found: boolean;
654
+ record?: Record<string, unknown> | undefined;
655
+ }> | CanonicalCapabilityDefinition<{
656
+ collection: string;
657
+ query?: string | undefined;
658
+ filters?: Record<string, unknown> | undefined;
659
+ limit?: number | undefined;
660
+ }, {
661
+ records: Record<string, unknown>[];
662
+ total?: number | undefined;
663
+ }> | CanonicalCapabilityDefinition<{
664
+ data: Record<string, unknown>;
665
+ rules?: string[] | undefined;
666
+ }, {
667
+ valid: boolean;
668
+ reasons?: string[] | undefined;
669
+ }> | CanonicalCapabilityDefinition<{
670
+ data: Record<string, unknown>;
671
+ profile?: string | undefined;
672
+ }, {
673
+ data: Record<string, unknown>;
674
+ }> | CanonicalCapabilityDefinition<{
675
+ data: Record<string, unknown>;
676
+ fields?: string[] | undefined;
677
+ }, {
678
+ data: Record<string, unknown>;
679
+ }> | CanonicalCapabilityDefinition<{
680
+ format: string;
681
+ records: Record<string, unknown>[];
682
+ }, {
683
+ data: string;
684
+ contentType: string;
685
+ }> | CanonicalCapabilityDefinition<{
686
+ amount: {
687
+ amount: number;
688
+ currency: string;
689
+ };
690
+ paymentMethod: string;
691
+ reference?: string | undefined;
692
+ }, {
693
+ authorized: boolean;
694
+ reasons?: string[] | undefined;
695
+ authorizationId?: string | undefined;
696
+ }> | CanonicalCapabilityDefinition<{
697
+ authorizationId: string;
698
+ amount?: {
699
+ amount: number;
700
+ currency: string;
701
+ } | undefined;
702
+ }, {
703
+ captured: boolean;
704
+ reasons?: string[] | undefined;
705
+ captureId?: string | undefined;
706
+ }> | CanonicalCapabilityDefinition<{
707
+ paymentId: string;
708
+ amount?: {
709
+ amount: number;
710
+ currency: string;
711
+ } | undefined;
712
+ reason?: string | undefined;
713
+ }, {
714
+ refunded: boolean;
715
+ reasons?: string[] | undefined;
716
+ refundId?: string | undefined;
717
+ }> | CanonicalCapabilityDefinition<{
718
+ paymentMethod: Record<string, unknown>;
719
+ }, {
720
+ token: string;
721
+ expiresAt?: string | undefined;
722
+ }> | CanonicalCapabilityDefinition<{
723
+ customer: {
724
+ id: string;
725
+ };
726
+ lineItems: {
727
+ amount: {
728
+ amount: number;
729
+ currency: string;
730
+ };
731
+ description: string;
732
+ }[];
733
+ }, {
734
+ total: {
735
+ amount: number;
736
+ currency: string;
737
+ };
738
+ invoiceId: string;
739
+ }> | CanonicalCapabilityDefinition<{
740
+ amount: {
741
+ amount: number;
742
+ currency: string;
743
+ };
744
+ jurisdiction: string;
745
+ address?: {
746
+ country: string;
747
+ line1: string;
748
+ line2?: string | undefined;
749
+ city?: string | undefined;
750
+ region?: string | undefined;
751
+ postalCode?: string | undefined;
752
+ } | undefined;
753
+ }, {
754
+ tax: {
755
+ amount: number;
756
+ currency: string;
757
+ };
758
+ rate?: number | undefined;
759
+ }> | CanonicalCapabilityDefinition<{
760
+ address: {
761
+ country: string;
762
+ line1: string;
763
+ line2?: string | undefined;
764
+ city?: string | undefined;
765
+ region?: string | undefined;
766
+ postalCode?: string | undefined;
767
+ };
768
+ }, {
769
+ valid: boolean;
770
+ reasons?: string[] | undefined;
771
+ normalized?: {
772
+ country: string;
773
+ line1: string;
774
+ line2?: string | undefined;
775
+ city?: string | undefined;
776
+ region?: string | undefined;
777
+ postalCode?: string | undefined;
778
+ } | undefined;
779
+ }> | CanonicalCapabilityDefinition<{
780
+ address: {
781
+ country: string;
782
+ line1: string;
783
+ line2?: string | undefined;
784
+ city?: string | undefined;
785
+ region?: string | undefined;
786
+ postalCode?: string | undefined;
787
+ };
788
+ }, {
789
+ address: {
790
+ country: string;
791
+ line1: string;
792
+ line2?: string | undefined;
793
+ city?: string | undefined;
794
+ region?: string | undefined;
795
+ postalCode?: string | undefined;
796
+ };
797
+ }> | CanonicalCapabilityDefinition<{
798
+ address: {
799
+ country: string;
800
+ line1: string;
801
+ line2?: string | undefined;
802
+ city?: string | undefined;
803
+ region?: string | undefined;
804
+ postalCode?: string | undefined;
805
+ };
806
+ }, {
807
+ latitude: number;
808
+ longitude: number;
809
+ accuracy?: string | undefined;
810
+ }> | CanonicalCapabilityDefinition<{
811
+ latitude: number;
812
+ longitude: number;
813
+ }, {
814
+ address?: {
815
+ country: string;
816
+ line1: string;
817
+ line2?: string | undefined;
818
+ city?: string | undefined;
819
+ region?: string | undefined;
820
+ postalCode?: string | undefined;
821
+ } | undefined;
822
+ formatted?: string | undefined;
823
+ }> | CanonicalCapabilityDefinition<{
824
+ to: {
825
+ latitude: number;
826
+ longitude: number;
827
+ };
828
+ from: {
829
+ latitude: number;
830
+ longitude: number;
831
+ };
832
+ unit?: string | undefined;
833
+ }, {
834
+ unit: string;
835
+ distance: number;
836
+ }> | CanonicalCapabilityDefinition<{
837
+ latitude: number;
838
+ longitude: number;
839
+ at?: string | undefined;
840
+ }, {
841
+ timezone: string;
842
+ offsetMinutes?: number | undefined;
843
+ }> | CanonicalCapabilityDefinition<{
844
+ value: string;
845
+ format: string;
846
+ }, {
847
+ data: string;
848
+ contentType: string;
849
+ }> | CanonicalCapabilityDefinition<{
850
+ value: string;
851
+ size?: number | undefined;
852
+ }, {
853
+ data: string;
854
+ contentType: string;
855
+ }> | CanonicalCapabilityDefinition<{
856
+ size: {
857
+ width: number;
858
+ height: number;
859
+ };
860
+ image: {
861
+ data: string;
862
+ contentType: string;
863
+ };
864
+ }, {
865
+ data: string;
866
+ contentType: string;
867
+ size: {
868
+ width: number;
869
+ height: number;
870
+ };
871
+ }> | CanonicalCapabilityDefinition<{
872
+ toFormat: string;
873
+ image: {
874
+ data: string;
875
+ contentType: string;
876
+ };
877
+ }, {
878
+ data: string;
879
+ contentType: string;
880
+ }> | CanonicalCapabilityDefinition<{
881
+ source: {
882
+ data: string;
883
+ contentType: string;
884
+ };
885
+ }, {
886
+ text: string;
887
+ }> | CanonicalCapabilityDefinition<{
888
+ text: string;
889
+ operation: string;
890
+ options?: Record<string, unknown> | undefined;
891
+ }, {
892
+ text: string;
893
+ }> | CanonicalCapabilityDefinition<{
894
+ version?: string | undefined;
895
+ }, {
896
+ value: string;
897
+ }> | CanonicalCapabilityDefinition<{
898
+ value: string;
899
+ amount: number;
900
+ unit: string;
901
+ operation: string;
902
+ }, {
903
+ value: string;
904
+ }> | CanonicalCapabilityDefinition<{
905
+ to: string;
906
+ from: string;
907
+ amount: number;
908
+ }, {
909
+ to: string;
910
+ from: string;
911
+ amount: number;
912
+ }> | CanonicalCapabilityDefinition<{
913
+ value: number;
914
+ to: string;
915
+ from: string;
916
+ }, {
917
+ value: number;
918
+ to: string;
919
+ from: string;
920
+ }> | CanonicalCapabilityDefinition<{
921
+ algorithm: string;
922
+ payload: string;
923
+ signature: string;
924
+ keyId?: string | undefined;
925
+ }, {
926
+ valid: boolean;
927
+ reason?: string | undefined;
928
+ }>;
929
+ }>;
930
+ //# sourceMappingURL=appboundry-capability-catalog.d.ts.map