@ontemper/sdk 0.7.1-postgresql.2 → 0.7.1-postgresql.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.
- package/README.md +46 -2
- package/dist/As2Resource.d.ts +431 -76
- package/dist/As2Resource.d.ts.map +1 -1
- package/dist/As2Resource.js +31 -30
- package/dist/As2Resource.js.map +1 -1
- package/dist/As2Transport.d.ts.map +1 -1
- package/dist/As2Transport.js +3 -1
- package/dist/As2Transport.js.map +1 -1
- package/dist/As2Wire.d.ts +39 -0
- package/dist/As2Wire.d.ts.map +1 -1
- package/dist/DatabaseTunnelAuthorization.d.ts +11 -0
- package/dist/DatabaseTunnelAuthorization.d.ts.map +1 -0
- package/dist/DatabaseTunnelAuthorization.js +35 -0
- package/dist/DatabaseTunnelAuthorization.js.map +1 -0
- package/dist/ExpiringMap.d.ts +21 -0
- package/dist/ExpiringMap.d.ts.map +1 -0
- package/dist/ExpiringMap.js +79 -0
- package/dist/ExpiringMap.js.map +1 -0
- package/dist/HttpApiResource.d.ts +2904 -177
- package/dist/HttpApiResource.d.ts.map +1 -1
- package/dist/HttpApiResource.js +81 -59
- package/dist/HttpApiResource.js.map +1 -1
- package/dist/Kafka.d.ts +89 -0
- package/dist/Kafka.d.ts.map +1 -0
- package/dist/Kafka.js +297 -0
- package/dist/Kafka.js.map +1 -0
- package/dist/Manifest.d.ts +1 -1
- package/dist/Manifest.js +1 -1
- package/dist/PostgreSql.d.ts.map +1 -1
- package/dist/PostgreSql.js +2 -11
- package/dist/PostgreSql.js.map +1 -1
- package/dist/PostgreSqlPool.d.ts +1 -39
- package/dist/PostgreSqlPool.d.ts.map +1 -1
- package/dist/PostgreSqlPool.js +2 -22
- package/dist/PostgreSqlPool.js.map +1 -1
- package/dist/Redaction.d.ts +2 -0
- package/dist/Redaction.d.ts.map +1 -1
- package/dist/Redaction.js +16 -4
- package/dist/Redaction.js.map +1 -1
- package/dist/ResourceRecords.d.ts +1086 -0
- package/dist/ResourceRecords.d.ts.map +1 -0
- package/dist/ResourceRecords.js +303 -0
- package/dist/ResourceRecords.js.map +1 -0
- package/dist/Resources.d.ts +13 -3
- package/dist/Resources.d.ts.map +1 -1
- package/dist/Resources.js +11 -3
- package/dist/Resources.js.map +1 -1
- package/dist/ResourcesCache.d.ts +33 -0
- package/dist/ResourcesCache.d.ts.map +1 -0
- package/dist/ResourcesCache.js +205 -0
- package/dist/ResourcesCache.js.map +1 -0
- package/dist/ResourcesEnv.d.ts +81 -0
- package/dist/ResourcesEnv.d.ts.map +1 -0
- package/dist/ResourcesEnv.js +104 -0
- package/dist/ResourcesEnv.js.map +1 -0
- package/dist/ResourcesErrors.d.ts +5 -1
- package/dist/ResourcesErrors.d.ts.map +1 -1
- package/dist/ResourcesErrors.js +5 -2
- package/dist/ResourcesErrors.js.map +1 -1
- package/dist/ResourcesToken.d.ts +9 -0
- package/dist/ResourcesToken.d.ts.map +1 -1
- package/dist/ResourcesToken.js +20 -7
- package/dist/ResourcesToken.js.map +1 -1
- package/dist/RuntimeResources.d.ts +18 -3
- package/dist/RuntimeResources.d.ts.map +1 -1
- package/dist/RuntimeResources.js +53 -29
- package/dist/RuntimeResources.js.map +1 -1
- package/dist/TransportResource.d.ts +1 -32
- package/dist/TransportResource.d.ts.map +1 -1
- package/dist/TransportResource.js +1 -19
- package/dist/TransportResource.js.map +1 -1
- package/dist/Workflow.js +2 -2
- package/dist/Workflow.js.map +1 -1
- package/package.json +14 -2
package/README.md
CHANGED
|
@@ -353,6 +353,49 @@ WebSocket tunnel. Each physical connection reads the current runtime token, and
|
|
|
353
353
|
connection without a TCP fallback. `createPostgresqlPool` registers the password in the process-wide secret
|
|
354
354
|
registry; inside a workflow handler, prefer `makePostgresqlPool`, which registers it in the workflow's own.
|
|
355
355
|
|
|
356
|
+
## Resource records and Kafka
|
|
357
|
+
|
|
358
|
+
`@temper/workflow/resources` gives Effect workflows what `@ontemper/resources` gives legacy ones: record schemas
|
|
359
|
+
(`KafkaResource`, `S3Resource`, `AzureBlobResource`, `SftpResource`, `PostgresqlResource`), `kafkaConfig`, and a promise
|
|
360
|
+
`env` for code that cannot run an Effect. Declare the Resource with `Resource` from the root; its secrets arrive as
|
|
361
|
+
`Redacted` values, and `kafkaConfig` unwraps them itself. It loads the optional peers `@aws-sdk/credential-providers` and
|
|
362
|
+
`aws-msk-iam-sasl-signer-js` only for AWS MSK IAM.
|
|
363
|
+
|
|
364
|
+
```ts
|
|
365
|
+
import { Resource } from '@temper/workflow';
|
|
366
|
+
import { KafkaResource, kafkaConfig } from '@temper/workflow/resources';
|
|
367
|
+
import { Kafka } from 'kafkajs';
|
|
368
|
+
|
|
369
|
+
class Events extends Resource<Events>()('events', { type: 'kafka', schema: KafkaResource }) {}
|
|
370
|
+
|
|
371
|
+
// In an Effect: const kafka = new Kafka(kafkaConfig(yield* Events));
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
For scripts outside Effect, the subpath exports the promise-style `env`:
|
|
375
|
+
|
|
376
|
+
```ts
|
|
377
|
+
import { env, S3Resource } from '@temper/workflow/resources';
|
|
378
|
+
|
|
379
|
+
const archive = await env.resources.resolve('archive', S3Resource);
|
|
380
|
+
const metadata = await env.resources.inspect('archive');
|
|
381
|
+
const { key } = await env.resources.select({ resourceTypeKey: 'http_api', match: { tenantKey } });
|
|
382
|
+
const region = await env.variables.get('PARTNER_REGION');
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
Without a schema, `resolve` returns the JSON object; with one, it decodes it and keeps extension fields.
|
|
386
|
+
`ResourceNotFoundError` means the key or selection has no record. A found record with a missing reference
|
|
387
|
+
fails with `InvalidResourceError`; unknown closed values in a built-in schema fail with `UnknownRecordValueError`.
|
|
388
|
+
Authorization failures use `ResourcesUnauthorizedError`; outages use `ResourcesUnavailableError`.
|
|
389
|
+
|
|
390
|
+
Promise reads use the same runtime API and Run token as the declarations. Their cache matches the legacy
|
|
391
|
+
resolver: a 30 s TTL, up to 15 min of stale reads through an outage (5 min for selections), and a separate
|
|
392
|
+
10 s select-miss cache with a cap of 60 distinct misses per minute. `{ cache: false }` bypasses it;
|
|
393
|
+
`{ ttlMs }` sets a read's TTL. The legacy cache environment settings still apply.
|
|
394
|
+
|
|
395
|
+
The runtime API cannot list Variables, so snapshot `initialize`, `reload`, `variables.tryGet`, and
|
|
396
|
+
`variables.has` have no equivalent. The legacy partners and connections APIs are also excluded.
|
|
397
|
+
Existing workflows can keep `@ontemper/resources`; this entry does not modify that package.
|
|
398
|
+
|
|
356
399
|
## Versions
|
|
357
400
|
|
|
358
401
|
CI publishes every version to npm as `@ontemper/sdk`; nobody publishes by hand. Workflow code keeps
|
|
@@ -366,10 +409,11 @@ npm install --save-exact @temper/workflow@npm:@ontemper/sdk@<version>
|
|
|
366
409
|
A published version never changes. The workflow template and the examples pin one exact
|
|
367
410
|
version; `pnpm sdk:pin` moves them all together.
|
|
368
411
|
|
|
369
|
-
The package has
|
|
412
|
+
The package has ten entry points: `@temper/workflow`, `@temper/workflow/testing`,
|
|
370
413
|
`@temper/workflow/contract`, `@temper/workflow/sftp`, `@temper/workflow/sftp/testing`,
|
|
371
414
|
`@temper/workflow/edi`, `@temper/workflow/as2`, `@temper/workflow/as2/testing`, and `@temper/workflow/resources`.
|
|
372
|
-
Only `/sftp` loads `ssh2`,
|
|
415
|
+
Only `/sftp` loads `ssh2`. In `/resources`, only a PostgreSQL pool loads `pg` and `ws`, and only AWS MSK IAM loads
|
|
416
|
+
`@aws-sdk/credential-providers` and `aws-msk-iam-sasl-signer-js` (optional peer dependencies).
|
|
373
417
|
`@temper/workflow/contract` holds the runtime Resources HttpApi and the
|
|
374
418
|
manifest, trigger, and invocation schemas that the platform imports. Workflow code rarely needs it.
|
|
375
419
|
|
package/dist/As2Resource.d.ts
CHANGED
|
@@ -1,113 +1,468 @@
|
|
|
1
1
|
import { Schema } from 'effect';
|
|
2
2
|
/** The resolved value of the `as2_identity` system type: our AS2 ID and the key pairs that sign and decrypt. */
|
|
3
|
-
export declare const As2IdentityResource: Schema.Struct<{
|
|
3
|
+
export declare const As2IdentityResource: Schema.StructWithRest<Schema.Struct<{
|
|
4
4
|
readonly as2Id: Schema.String;
|
|
5
|
-
readonly keys: Schema.Union<readonly [Schema.Struct<{
|
|
5
|
+
readonly keys: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
6
6
|
readonly certificate: Schema.String;
|
|
7
7
|
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
8
|
-
readonly secondaryCertificate: Schema.
|
|
9
|
-
readonly secondaryPrivateKey: Schema.
|
|
8
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
9
|
+
readonly secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
10
10
|
readonly mode: Schema.Literal<"combined">;
|
|
11
|
-
}>, Schema.Struct<{
|
|
11
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
12
12
|
readonly mode: Schema.Literal<"separate">;
|
|
13
|
-
readonly signing: Schema.Struct<{
|
|
13
|
+
readonly signing: Schema.StructWithRest<Schema.Struct<{
|
|
14
14
|
certificate: Schema.String;
|
|
15
15
|
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
16
|
-
secondaryCertificate: Schema.
|
|
17
|
-
secondaryPrivateKey: Schema.
|
|
18
|
-
}>;
|
|
19
|
-
readonly encryption: Schema.Struct<{
|
|
16
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
17
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
18
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
19
|
+
readonly encryption: Schema.StructWithRest<Schema.Struct<{
|
|
20
20
|
certificate: Schema.String;
|
|
21
21
|
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
22
|
-
secondaryCertificate: Schema.
|
|
23
|
-
secondaryPrivateKey: Schema.
|
|
24
|
-
}>;
|
|
25
|
-
}>]
|
|
26
|
-
|
|
22
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
23
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
24
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
25
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
26
|
+
readonly mode: Schema.Literal<"separate">;
|
|
27
|
+
readonly signing: Schema.StructWithRest<Schema.Struct<{
|
|
28
|
+
certificate: Schema.String;
|
|
29
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
30
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
31
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
32
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
33
|
+
readonly encryption: Schema.StructWithRest<Schema.Struct<{
|
|
34
|
+
certificate: Schema.String;
|
|
35
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
36
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
37
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
38
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
39
|
+
}>, "fields" | "mapFields">]>;
|
|
40
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
41
|
+
readonly as2Id: Schema.String;
|
|
42
|
+
readonly keys: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
43
|
+
readonly certificate: Schema.String;
|
|
44
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
45
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
46
|
+
readonly secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
47
|
+
readonly mode: Schema.Literal<"combined">;
|
|
48
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
49
|
+
readonly mode: Schema.Literal<"separate">;
|
|
50
|
+
readonly signing: Schema.StructWithRest<Schema.Struct<{
|
|
51
|
+
certificate: Schema.String;
|
|
52
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
53
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
54
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
55
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
56
|
+
readonly encryption: Schema.StructWithRest<Schema.Struct<{
|
|
57
|
+
certificate: Schema.String;
|
|
58
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
59
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
60
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
61
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
62
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
63
|
+
readonly mode: Schema.Literal<"separate">;
|
|
64
|
+
readonly signing: Schema.StructWithRest<Schema.Struct<{
|
|
65
|
+
certificate: Schema.String;
|
|
66
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
67
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
68
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
69
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
70
|
+
readonly encryption: Schema.StructWithRest<Schema.Struct<{
|
|
71
|
+
certificate: Schema.String;
|
|
72
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
73
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
74
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
75
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
76
|
+
}>, "fields" | "mapFields">]>;
|
|
77
|
+
}>, "fields" | "mapFields">;
|
|
27
78
|
export type As2IdentityResource = typeof As2IdentityResource.Type;
|
|
28
79
|
/** The resolved value of the `as2_partner` system type; the referenced identity arrives inline under `identity`. */
|
|
29
|
-
export declare const As2PartnerResource: Schema.Struct<{
|
|
30
|
-
readonly identity: Schema.Struct<{
|
|
80
|
+
export declare const As2PartnerResource: Schema.StructWithRest<Schema.Struct<{
|
|
81
|
+
readonly identity: Schema.StructWithRest<Schema.Struct<{
|
|
31
82
|
readonly as2Id: Schema.String;
|
|
32
|
-
readonly keys: Schema.Union<readonly [Schema.Struct<{
|
|
83
|
+
readonly keys: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
33
84
|
readonly certificate: Schema.String;
|
|
34
85
|
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
35
|
-
readonly secondaryCertificate: Schema.
|
|
36
|
-
readonly secondaryPrivateKey: Schema.
|
|
86
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
87
|
+
readonly secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
37
88
|
readonly mode: Schema.Literal<"combined">;
|
|
38
|
-
}>, Schema.Struct<{
|
|
89
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
90
|
+
readonly mode: Schema.Literal<"separate">;
|
|
91
|
+
readonly signing: Schema.StructWithRest<Schema.Struct<{
|
|
92
|
+
certificate: Schema.String;
|
|
93
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
94
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
95
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
96
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
97
|
+
readonly encryption: Schema.StructWithRest<Schema.Struct<{
|
|
98
|
+
certificate: Schema.String;
|
|
99
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
100
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
101
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
102
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
103
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
104
|
+
readonly mode: Schema.Literal<"separate">;
|
|
105
|
+
readonly signing: Schema.StructWithRest<Schema.Struct<{
|
|
106
|
+
certificate: Schema.String;
|
|
107
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
108
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
109
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
110
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
111
|
+
readonly encryption: Schema.StructWithRest<Schema.Struct<{
|
|
112
|
+
certificate: Schema.String;
|
|
113
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
114
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
115
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
116
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
117
|
+
}>, "fields" | "mapFields">]>;
|
|
118
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
119
|
+
readonly as2Id: Schema.String;
|
|
120
|
+
readonly keys: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
121
|
+
readonly certificate: Schema.String;
|
|
122
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
123
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
124
|
+
readonly secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
125
|
+
readonly mode: Schema.Literal<"combined">;
|
|
126
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
127
|
+
readonly mode: Schema.Literal<"separate">;
|
|
128
|
+
readonly signing: Schema.StructWithRest<Schema.Struct<{
|
|
129
|
+
certificate: Schema.String;
|
|
130
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
131
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
132
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
133
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
134
|
+
readonly encryption: Schema.StructWithRest<Schema.Struct<{
|
|
135
|
+
certificate: Schema.String;
|
|
136
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
137
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
138
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
139
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
140
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
39
141
|
readonly mode: Schema.Literal<"separate">;
|
|
40
|
-
readonly signing: Schema.Struct<{
|
|
142
|
+
readonly signing: Schema.StructWithRest<Schema.Struct<{
|
|
41
143
|
certificate: Schema.String;
|
|
42
144
|
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
43
|
-
secondaryCertificate: Schema.
|
|
44
|
-
secondaryPrivateKey: Schema.
|
|
45
|
-
}>;
|
|
46
|
-
readonly encryption: Schema.Struct<{
|
|
145
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
146
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
147
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
148
|
+
readonly encryption: Schema.StructWithRest<Schema.Struct<{
|
|
47
149
|
certificate: Schema.String;
|
|
48
150
|
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
49
|
-
secondaryCertificate: Schema.
|
|
50
|
-
secondaryPrivateKey: Schema.
|
|
51
|
-
}>;
|
|
52
|
-
}>]>;
|
|
53
|
-
}>;
|
|
151
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
152
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
153
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
154
|
+
}>, "fields" | "mapFields">]>;
|
|
155
|
+
}>, "fields" | "mapFields">;
|
|
54
156
|
readonly as2Id: Schema.String;
|
|
55
|
-
readonly url: Schema.
|
|
56
|
-
readonly certificates: Schema.Union<readonly [Schema.Struct<{
|
|
157
|
+
readonly url: Schema.optional<Schema.String>;
|
|
158
|
+
readonly certificates: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
57
159
|
readonly certificate: Schema.String;
|
|
58
|
-
readonly secondaryCertificate: Schema.
|
|
160
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
59
161
|
readonly mode: Schema.Literal<"combined">;
|
|
60
|
-
}>, Schema.Struct<{
|
|
162
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
163
|
+
readonly certificate: Schema.String;
|
|
164
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
165
|
+
readonly mode: Schema.Literal<"combined">;
|
|
166
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
61
167
|
readonly mode: Schema.Literal<"separate">;
|
|
62
|
-
readonly encryption: Schema.Struct<{
|
|
63
|
-
readonly certificate: Schema.String;
|
|
64
|
-
readonly secondaryCertificate: Schema.
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
readonly
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
readonly
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
168
|
+
readonly encryption: Schema.StructWithRest<Schema.Struct<{
|
|
169
|
+
readonly certificate: Schema.String;
|
|
170
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
171
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
172
|
+
readonly certificate: Schema.String;
|
|
173
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
174
|
+
}>, "fields" | "mapFields">;
|
|
175
|
+
readonly signing: Schema.StructWithRest<Schema.Struct<{
|
|
176
|
+
readonly certificate: Schema.String;
|
|
177
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
178
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
179
|
+
readonly certificate: Schema.String;
|
|
180
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
181
|
+
}>, "fields" | "mapFields">;
|
|
182
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
183
|
+
readonly mode: Schema.Literal<"separate">;
|
|
184
|
+
readonly encryption: Schema.StructWithRest<Schema.Struct<{
|
|
185
|
+
readonly certificate: Schema.String;
|
|
186
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
187
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
188
|
+
readonly certificate: Schema.String;
|
|
189
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
190
|
+
}>, "fields" | "mapFields">;
|
|
191
|
+
readonly signing: Schema.StructWithRest<Schema.Struct<{
|
|
192
|
+
readonly certificate: Schema.String;
|
|
193
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
194
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
195
|
+
readonly certificate: Schema.String;
|
|
196
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
197
|
+
}>, "fields" | "mapFields">;
|
|
198
|
+
}>, "fields" | "mapFields">]>;
|
|
199
|
+
readonly signOutgoing: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
200
|
+
readonly encryptOutgoing: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
201
|
+
readonly requireSignedIncoming: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
202
|
+
readonly requireEncryptedIncoming: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
203
|
+
readonly compression: Schema.withDecodingDefault<Schema.Literals<readonly ["none", "zlib"]>, never>;
|
|
204
|
+
readonly receipt: Schema.withDecodingDefault<Schema.Literals<readonly ["none", "sync", "async"]>, never>;
|
|
205
|
+
readonly receiptSigningAlgorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["sha-1", "sha-256", "sha-384", "sha-512"]>, never>;
|
|
206
|
+
readonly digestAlgorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["sha-1", "sha-256", "sha-384", "sha-512"]>, never>;
|
|
207
|
+
readonly encryptionAlgorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["3des", "aes128-cbc", "aes192-cbc", "aes256-cbc", "aes128-gcm", "aes256-gcm"]>, never>;
|
|
208
|
+
readonly httpAuth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
81
209
|
readonly type: Schema.Literal<"none">;
|
|
82
|
-
}>, Schema.Struct<{
|
|
210
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
211
|
+
readonly type: Schema.Literal<"none">;
|
|
212
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
213
|
+
readonly type: Schema.Literal<"basic">;
|
|
214
|
+
readonly username: Schema.String;
|
|
215
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
216
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
83
217
|
readonly type: Schema.Literal<"basic">;
|
|
84
218
|
readonly username: Schema.String;
|
|
85
219
|
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
86
|
-
}>]>, never>;
|
|
87
|
-
readonly tls: Schema.
|
|
88
|
-
readonly caCertificate: Schema.
|
|
89
|
-
readonly clientCertificate: Schema.
|
|
90
|
-
readonly clientKey: Schema.
|
|
91
|
-
readonly clientKeyPassphrase: Schema.
|
|
92
|
-
readonly serverName: Schema.
|
|
93
|
-
}>>;
|
|
94
|
-
readonly proxy: Schema.
|
|
220
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
221
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
222
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
223
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
224
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
225
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
226
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
227
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
228
|
+
readonly proxy: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
95
229
|
readonly url: Schema.String;
|
|
96
|
-
readonly auth: Schema.
|
|
230
|
+
readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
231
|
+
readonly type: Schema.Literal<"none">;
|
|
232
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
97
233
|
readonly type: Schema.Literal<"none">;
|
|
98
|
-
}>, Schema.Struct<{
|
|
234
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
235
|
+
readonly type: Schema.Literal<"basic">;
|
|
236
|
+
readonly username: Schema.String;
|
|
237
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
238
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
239
|
+
readonly type: Schema.Literal<"basic">;
|
|
240
|
+
readonly username: Schema.String;
|
|
241
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
242
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
243
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
244
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
245
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
246
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
247
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
248
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
249
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
250
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
251
|
+
readonly url: Schema.String;
|
|
252
|
+
readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
253
|
+
readonly type: Schema.Literal<"none">;
|
|
254
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
255
|
+
readonly type: Schema.Literal<"none">;
|
|
256
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
257
|
+
readonly type: Schema.Literal<"basic">;
|
|
258
|
+
readonly username: Schema.String;
|
|
259
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
260
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
261
|
+
readonly type: Schema.Literal<"basic">;
|
|
262
|
+
readonly username: Schema.String;
|
|
263
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
264
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
265
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
266
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
267
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
268
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
269
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
270
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
271
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
272
|
+
}>, "fields" | "mapFields">>;
|
|
273
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
274
|
+
readonly identity: Schema.StructWithRest<Schema.Struct<{
|
|
275
|
+
readonly as2Id: Schema.String;
|
|
276
|
+
readonly keys: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
277
|
+
readonly certificate: Schema.String;
|
|
278
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
279
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
280
|
+
readonly secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
281
|
+
readonly mode: Schema.Literal<"combined">;
|
|
282
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
283
|
+
readonly mode: Schema.Literal<"separate">;
|
|
284
|
+
readonly signing: Schema.StructWithRest<Schema.Struct<{
|
|
285
|
+
certificate: Schema.String;
|
|
286
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
287
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
288
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
289
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
290
|
+
readonly encryption: Schema.StructWithRest<Schema.Struct<{
|
|
291
|
+
certificate: Schema.String;
|
|
292
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
293
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
294
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
295
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
296
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
297
|
+
readonly mode: Schema.Literal<"separate">;
|
|
298
|
+
readonly signing: Schema.StructWithRest<Schema.Struct<{
|
|
299
|
+
certificate: Schema.String;
|
|
300
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
301
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
302
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
303
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
304
|
+
readonly encryption: Schema.StructWithRest<Schema.Struct<{
|
|
305
|
+
certificate: Schema.String;
|
|
306
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
307
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
308
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
309
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
310
|
+
}>, "fields" | "mapFields">]>;
|
|
311
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
312
|
+
readonly as2Id: Schema.String;
|
|
313
|
+
readonly keys: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
314
|
+
readonly certificate: Schema.String;
|
|
315
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
316
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
317
|
+
readonly secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
318
|
+
readonly mode: Schema.Literal<"combined">;
|
|
319
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>, Schema.StructWithRest<Schema.Struct<{
|
|
320
|
+
readonly mode: Schema.Literal<"separate">;
|
|
321
|
+
readonly signing: Schema.StructWithRest<Schema.Struct<{
|
|
322
|
+
certificate: Schema.String;
|
|
323
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
324
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
325
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
326
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
327
|
+
readonly encryption: Schema.StructWithRest<Schema.Struct<{
|
|
328
|
+
certificate: Schema.String;
|
|
329
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
330
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
331
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
332
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
333
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
334
|
+
readonly mode: Schema.Literal<"separate">;
|
|
335
|
+
readonly signing: Schema.StructWithRest<Schema.Struct<{
|
|
336
|
+
certificate: Schema.String;
|
|
337
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
338
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
339
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
340
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
341
|
+
readonly encryption: Schema.StructWithRest<Schema.Struct<{
|
|
342
|
+
certificate: Schema.String;
|
|
343
|
+
privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
344
|
+
secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
345
|
+
secondaryPrivateKey: Schema.compose<Schema.optional<Schema.RedactedFromValue<Schema.String>>, Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>>;
|
|
346
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
347
|
+
}>, "fields" | "mapFields">]>;
|
|
348
|
+
}>, "fields" | "mapFields">;
|
|
349
|
+
readonly as2Id: Schema.String;
|
|
350
|
+
readonly url: Schema.optional<Schema.String>;
|
|
351
|
+
readonly certificates: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
352
|
+
readonly certificate: Schema.String;
|
|
353
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
354
|
+
readonly mode: Schema.Literal<"combined">;
|
|
355
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
356
|
+
readonly certificate: Schema.String;
|
|
357
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
358
|
+
readonly mode: Schema.Literal<"combined">;
|
|
359
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
360
|
+
readonly mode: Schema.Literal<"separate">;
|
|
361
|
+
readonly encryption: Schema.StructWithRest<Schema.Struct<{
|
|
362
|
+
readonly certificate: Schema.String;
|
|
363
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
364
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
365
|
+
readonly certificate: Schema.String;
|
|
366
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
367
|
+
}>, "fields" | "mapFields">;
|
|
368
|
+
readonly signing: Schema.StructWithRest<Schema.Struct<{
|
|
369
|
+
readonly certificate: Schema.String;
|
|
370
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
371
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
372
|
+
readonly certificate: Schema.String;
|
|
373
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
374
|
+
}>, "fields" | "mapFields">;
|
|
375
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
376
|
+
readonly mode: Schema.Literal<"separate">;
|
|
377
|
+
readonly encryption: Schema.StructWithRest<Schema.Struct<{
|
|
378
|
+
readonly certificate: Schema.String;
|
|
379
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
380
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
381
|
+
readonly certificate: Schema.String;
|
|
382
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
383
|
+
}>, "fields" | "mapFields">;
|
|
384
|
+
readonly signing: Schema.StructWithRest<Schema.Struct<{
|
|
385
|
+
readonly certificate: Schema.String;
|
|
386
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
387
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
388
|
+
readonly certificate: Schema.String;
|
|
389
|
+
readonly secondaryCertificate: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optional<Schema.String>, never, never>;
|
|
390
|
+
}>, "fields" | "mapFields">;
|
|
391
|
+
}>, "fields" | "mapFields">]>;
|
|
392
|
+
readonly signOutgoing: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
393
|
+
readonly encryptOutgoing: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
394
|
+
readonly requireSignedIncoming: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
395
|
+
readonly requireEncryptedIncoming: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
396
|
+
readonly compression: Schema.withDecodingDefault<Schema.Literals<readonly ["none", "zlib"]>, never>;
|
|
397
|
+
readonly receipt: Schema.withDecodingDefault<Schema.Literals<readonly ["none", "sync", "async"]>, never>;
|
|
398
|
+
readonly receiptSigningAlgorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["sha-1", "sha-256", "sha-384", "sha-512"]>, never>;
|
|
399
|
+
readonly digestAlgorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["sha-1", "sha-256", "sha-384", "sha-512"]>, never>;
|
|
400
|
+
readonly encryptionAlgorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["3des", "aes128-cbc", "aes192-cbc", "aes256-cbc", "aes128-gcm", "aes256-gcm"]>, never>;
|
|
401
|
+
readonly httpAuth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
402
|
+
readonly type: Schema.Literal<"none">;
|
|
403
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
404
|
+
readonly type: Schema.Literal<"none">;
|
|
405
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
406
|
+
readonly type: Schema.Literal<"basic">;
|
|
407
|
+
readonly username: Schema.String;
|
|
408
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
409
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
410
|
+
readonly type: Schema.Literal<"basic">;
|
|
411
|
+
readonly username: Schema.String;
|
|
412
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
413
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
414
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
415
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
416
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
417
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
418
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
419
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
420
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
421
|
+
readonly proxy: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
422
|
+
readonly url: Schema.String;
|
|
423
|
+
readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
424
|
+
readonly type: Schema.Literal<"none">;
|
|
425
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
426
|
+
readonly type: Schema.Literal<"none">;
|
|
427
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
428
|
+
readonly type: Schema.Literal<"basic">;
|
|
429
|
+
readonly username: Schema.String;
|
|
430
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
431
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
432
|
+
readonly type: Schema.Literal<"basic">;
|
|
433
|
+
readonly username: Schema.String;
|
|
434
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
435
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
436
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
437
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
438
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
439
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
440
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
441
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
442
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
443
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
444
|
+
readonly url: Schema.String;
|
|
445
|
+
readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
446
|
+
readonly type: Schema.Literal<"none">;
|
|
447
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
448
|
+
readonly type: Schema.Literal<"none">;
|
|
449
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
450
|
+
readonly type: Schema.Literal<"basic">;
|
|
451
|
+
readonly username: Schema.String;
|
|
452
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
453
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
99
454
|
readonly type: Schema.Literal<"basic">;
|
|
100
455
|
readonly username: Schema.String;
|
|
101
456
|
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
102
|
-
}>]>, never>;
|
|
103
|
-
readonly tls: Schema.
|
|
104
|
-
readonly caCertificate: Schema.
|
|
105
|
-
readonly clientCertificate: Schema.
|
|
106
|
-
readonly clientKey: Schema.
|
|
107
|
-
readonly clientKeyPassphrase: Schema.
|
|
108
|
-
readonly serverName: Schema.
|
|
109
|
-
}>>;
|
|
110
|
-
}>>;
|
|
111
|
-
}>;
|
|
457
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
458
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
459
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
460
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
461
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
462
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
463
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
464
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
465
|
+
}>, "fields" | "mapFields">>;
|
|
466
|
+
}>, "fields" | "mapFields">;
|
|
112
467
|
export type As2PartnerResource = typeof As2PartnerResource.Type;
|
|
113
468
|
//# sourceMappingURL=As2Resource.d.ts.map
|