@celigo/api-specs 0.2.340 → 0.2.341
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/dist/import.yml +35 -8
- package/dist/tool.yml +35 -8
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/import.yml
CHANGED
|
@@ -1222,9 +1222,18 @@ components:
|
|
|
1222
1222
|
- handlebars
|
|
1223
1223
|
x-celigo-ui-override: 'Required by the AS2 import form (fieldDefinitions/resources/imports/as2.js: as2.fileNameTemplate is required:true, default ''file-{{timestamp}}''). Encoded to mirror the form so builders produce connectable configurations.'
|
|
1224
1224
|
description: |-
|
|
1225
|
-
Handlebars template that names the file carrying each AS2 message payload.
|
|
1226
|
-
|
|
1227
|
-
|
|
1225
|
+
Handlebars template that names the file carrying each AS2 message payload. The rendered
|
|
1226
|
+
name travels in the message's `Subject` header, as `File <name> sent from <as2Id> to
|
|
1227
|
+
<partnerId>`, and is not written on the payload's MIME part. Include a uniqueness token
|
|
1228
|
+
such as {{timestamp}} so concurrent or repeated sends do not collide; defaults to
|
|
1229
|
+
file-{{timestamp}} in the form.
|
|
1230
|
+
x-celigo-ai-guidance:
|
|
1231
|
+
- |-
|
|
1232
|
+
When a trading partner reports that the received document has no file name: this
|
|
1233
|
+
field's name is never written on the payload's MIME part, which is where a receiving
|
|
1234
|
+
server that takes the name from the payload's `Content-Disposition` header looks.
|
|
1235
|
+
Keep this field and, on an import that does not compress its files, add a
|
|
1236
|
+
`Content-Disposition` entry to `headers` that repeats its expression.
|
|
1228
1237
|
examples:
|
|
1229
1238
|
- file-{{timestamp}}
|
|
1230
1239
|
- orders-{{timestamp}}.edi
|
|
@@ -1258,18 +1267,36 @@ components:
|
|
|
1258
1267
|
properties:
|
|
1259
1268
|
name:
|
|
1260
1269
|
type: string
|
|
1261
|
-
description:
|
|
1270
|
+
description: |-
|
|
1271
|
+
Name of the HTTP header, for example `Content-Disposition`. An entry named like a
|
|
1272
|
+
header integrator.io sets itself, such as `Subject`, replaces that header.
|
|
1273
|
+
x-celigo-ai-guidance:
|
|
1274
|
+
- |-
|
|
1275
|
+
Write `Content-Type`, `Content-Transfer-Encoding` and `Content-Disposition` in
|
|
1276
|
+
exactly this capitalization, whatever spelling the request uses.
|
|
1262
1277
|
value:
|
|
1263
1278
|
type: string
|
|
1264
1279
|
description: Value sent for the header. Supports handlebars expressions rendered against the record.
|
|
1265
1280
|
x-celigo-agent:
|
|
1266
1281
|
- handlebars
|
|
1267
1282
|
description: |-
|
|
1268
|
-
HTTP headers
|
|
1269
|
-
|
|
1283
|
+
HTTP headers added to the request that carries the AS2 message: standard AS2 headers, or
|
|
1284
|
+
custom ones a trading partner agreement requires. `Content-Type`,
|
|
1285
|
+
`Content-Transfer-Encoding` and `Content-Disposition`, in exactly that capitalization, are
|
|
1286
|
+
written on the payload's MIME part before the message is signed and encrypted, unless the
|
|
1287
|
+
import compresses its files (`file.compressionFormat`): that part is then the compression
|
|
1288
|
+
wrapper, which carries `Content-Type: application/pkcs7-mime; smime-type=compressed-data;
|
|
1289
|
+
name="smime.p7z"`, `Content-Transfer-Encoding: base64` and `Content-Disposition:
|
|
1290
|
+
attachment; filename="smime.p7z"` whatever these entries say.
|
|
1291
|
+
x-celigo-ai-guidance:
|
|
1292
|
+
- |-
|
|
1293
|
+
To send the document's file name inside the signed and encrypted payload of an import
|
|
1294
|
+
that does not compress its files, add a `Content-Disposition` entry whose value is
|
|
1295
|
+
`attachment; filename="<the fileNameTemplate expression>"`. Without this entry the
|
|
1296
|
+
name is in the `Subject` header only.
|
|
1270
1297
|
examples:
|
|
1271
|
-
- - name:
|
|
1272
|
-
value: attachment; filename=order-{{record.id}}.edi
|
|
1298
|
+
- - name: Content-Disposition
|
|
1299
|
+
value: attachment; filename="order-{{record.id}}.edi"
|
|
1273
1300
|
Dynamodb:
|
|
1274
1301
|
type: object
|
|
1275
1302
|
description: |-
|
package/dist/tool.yml
CHANGED
|
@@ -13988,9 +13988,18 @@ components:
|
|
|
13988
13988
|
- handlebars
|
|
13989
13989
|
x-celigo-ui-override: 'Required by the AS2 import form (fieldDefinitions/resources/imports/as2.js: as2.fileNameTemplate is required:true, default ''file-{{timestamp}}''). Encoded to mirror the form so builders produce connectable configurations.'
|
|
13990
13990
|
description: |-
|
|
13991
|
-
Handlebars template that names the file carrying each AS2 message payload.
|
|
13992
|
-
|
|
13993
|
-
|
|
13991
|
+
Handlebars template that names the file carrying each AS2 message payload. The rendered
|
|
13992
|
+
name travels in the message's `Subject` header, as `File <name> sent from <as2Id> to
|
|
13993
|
+
<partnerId>`, and is not written on the payload's MIME part. Include a uniqueness token
|
|
13994
|
+
such as {{timestamp}} so concurrent or repeated sends do not collide; defaults to
|
|
13995
|
+
file-{{timestamp}} in the form.
|
|
13996
|
+
x-celigo-ai-guidance:
|
|
13997
|
+
- |-
|
|
13998
|
+
When a trading partner reports that the received document has no file name: this
|
|
13999
|
+
field's name is never written on the payload's MIME part, which is where a receiving
|
|
14000
|
+
server that takes the name from the payload's `Content-Disposition` header looks.
|
|
14001
|
+
Keep this field and, on an import that does not compress its files, add a
|
|
14002
|
+
`Content-Disposition` entry to `headers` that repeats its expression.
|
|
13994
14003
|
examples:
|
|
13995
14004
|
- file-{{timestamp}}
|
|
13996
14005
|
- orders-{{timestamp}}.edi
|
|
@@ -14024,18 +14033,36 @@ components:
|
|
|
14024
14033
|
properties:
|
|
14025
14034
|
name:
|
|
14026
14035
|
type: string
|
|
14027
|
-
description:
|
|
14036
|
+
description: |-
|
|
14037
|
+
Name of the HTTP header, for example `Content-Disposition`. An entry named like a
|
|
14038
|
+
header integrator.io sets itself, such as `Subject`, replaces that header.
|
|
14039
|
+
x-celigo-ai-guidance:
|
|
14040
|
+
- |-
|
|
14041
|
+
Write `Content-Type`, `Content-Transfer-Encoding` and `Content-Disposition` in
|
|
14042
|
+
exactly this capitalization, whatever spelling the request uses.
|
|
14028
14043
|
value:
|
|
14029
14044
|
type: string
|
|
14030
14045
|
description: Value sent for the header. Supports handlebars expressions rendered against the record.
|
|
14031
14046
|
x-celigo-agent:
|
|
14032
14047
|
- handlebars
|
|
14033
14048
|
description: |-
|
|
14034
|
-
HTTP headers
|
|
14035
|
-
|
|
14049
|
+
HTTP headers added to the request that carries the AS2 message: standard AS2 headers, or
|
|
14050
|
+
custom ones a trading partner agreement requires. `Content-Type`,
|
|
14051
|
+
`Content-Transfer-Encoding` and `Content-Disposition`, in exactly that capitalization, are
|
|
14052
|
+
written on the payload's MIME part before the message is signed and encrypted, unless the
|
|
14053
|
+
import compresses its files (`file.compressionFormat`): that part is then the compression
|
|
14054
|
+
wrapper, which carries `Content-Type: application/pkcs7-mime; smime-type=compressed-data;
|
|
14055
|
+
name="smime.p7z"`, `Content-Transfer-Encoding: base64` and `Content-Disposition:
|
|
14056
|
+
attachment; filename="smime.p7z"` whatever these entries say.
|
|
14057
|
+
x-celigo-ai-guidance:
|
|
14058
|
+
- |-
|
|
14059
|
+
To send the document's file name inside the signed and encrypted payload of an import
|
|
14060
|
+
that does not compress its files, add a `Content-Disposition` entry whose value is
|
|
14061
|
+
`attachment; filename="<the fileNameTemplate expression>"`. Without this entry the
|
|
14062
|
+
name is in the `Subject` header only.
|
|
14036
14063
|
examples:
|
|
14037
|
-
- - name:
|
|
14038
|
-
value: attachment; filename=order-{{record.id}}.edi
|
|
14064
|
+
- - name: Content-Disposition
|
|
14065
|
+
value: attachment; filename="order-{{record.id}}.edi"
|
|
14039
14066
|
Dynamodb:
|
|
14040
14067
|
type: object
|
|
14041
14068
|
description: |-
|
package/package.json
CHANGED