@celigo/api-specs 0.2.265 → 0.2.267

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.
@@ -260,7 +260,22 @@ paths:
260
260
  '401':
261
261
  $ref: '#/components/responses/401-unauthorized'
262
262
  '422':
263
- $ref: '#/components/responses/422-unprocessable-entity'
263
+ description: |-
264
+ The connector failed validation. Among other checks, a `type`, `region`,
265
+ or `model` outside the deployment's configured values returns
266
+ `invalid_field` naming the field, the rejected value, and the allowed
267
+ values.
268
+ content:
269
+ application/json:
270
+ schema:
271
+ $ref: '#/components/schemas/Error'
272
+ examples:
273
+ invalidType:
274
+ summary: type outside the configured values
275
+ value:
276
+ errors:
277
+ - code: invalid_field
278
+ message: 'type ''VAN'' is not valid. Allowed values: FTP, AS2, S3'
264
279
  /v1/tpconnectors/{_id}:
265
280
  get:
266
281
  x-internal: false
@@ -442,7 +457,22 @@ paths:
442
457
  '401':
443
458
  $ref: '#/components/responses/401-unauthorized'
444
459
  '422':
445
- $ref: '#/components/responses/422-unprocessable-entity'
460
+ description: |-
461
+ The connector failed validation. Among other checks, a `type`, `region`,
462
+ or `model` outside the deployment's configured values returns
463
+ `invalid_field` naming the field, the rejected value, and the allowed
464
+ values.
465
+ content:
466
+ application/json:
467
+ schema:
468
+ $ref: '#/components/schemas/Error'
469
+ examples:
470
+ invalidType:
471
+ summary: type outside the configured values
472
+ value:
473
+ errors:
474
+ - code: invalid_field
475
+ message: 'type ''VAN'' is not valid. Allowed values: FTP, AS2, S3'
446
476
  delete:
447
477
  x-internal: false
448
478
  summary: Delete a trading partner connector
@@ -1501,9 +1531,9 @@ components:
1501
1531
  `filedefinition` -- these are validated when `published` is `true`.
1502
1532
 
1503
1533
  `type`, `region`, and `model` must match the deployment's configured
1504
- values exactly, including case. A value outside the list is not
1505
- rejected with a validation error: the request never completes (no
1506
- response is returned) and nothing is created or changed.
1534
+ values exactly, including case. A value outside the list fails the
1535
+ create or update with 422 `invalid_field` ("type 'VAN' is not valid.
1536
+ Allowed values: FTP, AS2, S3"), and nothing is created or changed.
1507
1537
  x-celigo-ai-guidance:
1508
1538
  - |-
1509
1539
  Trading partner connectors define reusable templates for onboarding EDI trading partners.
@@ -1512,9 +1542,7 @@ components:
1512
1542
  exports, imports, and EDI profiles.
1513
1543
  - |-
1514
1544
  Send `type`, `region`, and `model` exactly as configured (`AS2`, not `as2`;
1515
- `North America`; `Dropship`). An out-of-list value gets no response at all — the
1516
- create or update never completes and nothing is saved — so a request that hangs
1517
- on this endpoint means a categorization value is wrong, not that the platform is slow.
1545
+ `North America`; `Dropship`).
1518
1546
  - |-
1519
1547
  When `published` is true, the connector's `supportedBy` sections are validated
1520
1548
  to ensure all required fields are present. For example:
@@ -1573,19 +1601,6 @@ components:
1573
1601
  errors:
1574
1602
  - code: invalid_request
1575
1603
  message: The request body failed validation.
1576
- 422-unprocessable-entity:
1577
- description: |
1578
- Unprocessable entity. The request was well-formed but was unable to be followed due to semantic errors.
1579
- content:
1580
- application/json:
1581
- schema:
1582
- $ref: '#/components/schemas/Error'
1583
- examples:
1584
- default:
1585
- value:
1586
- errors:
1587
- - code: unprocessable_entity
1588
- message: The request could not be processed due to a semantic error.
1589
1604
  404-not-found:
1590
1605
  description: |
1591
1606
  Not found. The requested resource does not exist or is not visible to the caller.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.265",
3
+ "version": "0.2.267",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [
package/schemas.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "b6a06db4",
4
+ "iasCommit": "b730d98d",
5
5
  "generatedAt": "2026-11-07"
6
6
  },
7
7
  "roots": {
@@ -7040,8 +7040,8 @@
7040
7040
  ],
7041
7041
  "p": {
7042
7042
  "bulkInsert": 585,
7043
- "bulkLoad": 586,
7044
- "lookups": 589,
7043
+ "bulkLoad": 588,
7044
+ "lookups": 591,
7045
7045
  "query": 582,
7046
7046
  "queryType": 584
7047
7047
  },
@@ -7084,11 +7084,30 @@
7084
7084
  "tableName": 0
7085
7085
  }
7086
7086
  },
7087
+ {
7088
+ "t": [
7089
+ "string"
7090
+ ],
7091
+ "e": [
7092
+ "size"
7093
+ ]
7094
+ },
7095
+ {
7096
+ "t": [
7097
+ "object"
7098
+ ],
7099
+ "p": {
7100
+ "loadDataAsAvailable": 8,
7101
+ "maxFileSizeInMB": 120,
7102
+ "type": 586
7103
+ }
7104
+ },
7087
7105
  {
7088
7106
  "t": [
7089
7107
  "object"
7090
7108
  ],
7091
7109
  "p": {
7110
+ "aggregation": 587,
7092
7111
  "overrideMergeOrInsertQuery": 8,
7093
7112
  "primaryKeys": 450,
7094
7113
  "tableName": 0
@@ -7114,14 +7133,14 @@
7114
7133
  "extract": 0,
7115
7134
  "map": 41,
7116
7135
  "name": 0,
7117
- "query": 587
7136
+ "query": 589
7118
7137
  }
7119
7138
  },
7120
7139
  {
7121
7140
  "t": [
7122
7141
  "array"
7123
7142
  ],
7124
- "i": 588,
7143
+ "i": 590,
7125
7144
  "a": [
7126
7145
  "lookup"
7127
7146
  ]
@@ -7136,7 +7155,7 @@
7136
7155
  "filter": 180,
7137
7156
  "ignoreExtract": 0,
7138
7157
  "ignoreLookupFilter": 0,
7139
- "method": 591,
7158
+ "method": 593,
7140
7159
  "update": 180,
7141
7160
  "upsert": 8
7142
7161
  },
@@ -7161,12 +7180,12 @@
7161
7180
  "p": {
7162
7181
  "batchSize": 4,
7163
7182
  "customFieldMetadata": 41,
7164
- "file": 598,
7165
- "internalIdLookup": 596,
7183
+ "file": 600,
7184
+ "internalIdLookup": 598,
7166
7185
  "isFileProvider": 8,
7167
- "lookups": 594,
7168
- "operation": 595,
7169
- "preferences": 597,
7186
+ "lookups": 596,
7187
+ "operation": 597,
7188
+ "preferences": 599,
7170
7189
  "recordType": 0,
7171
7190
  "recordTypeId": 0,
7172
7191
  "retryUpdateAsAdd": 8
@@ -7192,7 +7211,7 @@
7192
7211
  "t": [
7193
7212
  "array"
7194
7213
  ],
7195
- "i": 593
7214
+ "i": 595
7196
7215
  },
7197
7216
  {
7198
7217
  "t": [
@@ -7247,16 +7266,16 @@
7247
7266
  "p": {
7248
7267
  "batchSize": 4,
7249
7268
  "customFieldMetadata": 41,
7250
- "file": 598,
7251
- "hooks": 602,
7252
- "internalIdLookup": 600,
7269
+ "file": 600,
7270
+ "hooks": 604,
7271
+ "internalIdLookup": 602,
7253
7272
  "isFileProvider": 8,
7254
7273
  "isMigrated": 8,
7255
- "lookups": 614,
7256
- "mapping": 612,
7274
+ "lookups": 616,
7275
+ "mapping": 614,
7257
7276
  "missingOrCorruptedDAConfig": 8,
7258
- "operation": 595,
7259
- "preferences": 597,
7277
+ "operation": 597,
7278
+ "preferences": 599,
7260
7279
  "rawOverride": 41,
7261
7280
  "recordIdentifier": 0,
7262
7281
  "recordType": 0,
@@ -7293,9 +7312,9 @@
7293
7312
  "object"
7294
7313
  ],
7295
7314
  "p": {
7296
- "postMap": 601,
7297
- "postSubmit": 601,
7298
- "preMap": 601
7315
+ "postMap": 603,
7316
+ "postSubmit": 603,
7317
+ "preMap": 603
7299
7318
  }
7300
7319
  },
7301
7320
  {
@@ -7329,7 +7348,7 @@
7329
7348
  ],
7330
7349
  "p": {
7331
7350
  "lookupName": 0,
7332
- "when": 604
7351
+ "when": 606
7333
7352
  }
7334
7353
  },
7335
7354
  {
@@ -7337,7 +7356,7 @@
7337
7356
  "object"
7338
7357
  ],
7339
7358
  "p": {
7340
- "conditional": 605,
7359
+ "conditional": 607,
7341
7360
  "dataType": 0,
7342
7361
  "discardIfEmpty": 8,
7343
7362
  "extract": 88,
@@ -7348,21 +7367,21 @@
7348
7367
  "immutable": 8,
7349
7368
  "internalId": 8,
7350
7369
  "lookupName": 0,
7351
- "subRecordMapping": 603
7370
+ "subRecordMapping": 605
7352
7371
  }
7353
7372
  },
7354
7373
  {
7355
7374
  "t": [
7356
7375
  "array"
7357
7376
  ],
7358
- "i": 606
7377
+ "i": 608
7359
7378
  },
7360
7379
  {
7361
7380
  "t": [
7362
7381
  "object"
7363
7382
  ],
7364
7383
  "p": {
7365
- "conditional": 605,
7384
+ "conditional": 607,
7366
7385
  "dataType": 0,
7367
7386
  "discardIfEmpty": 8,
7368
7387
  "extract": 88,
@@ -7374,21 +7393,21 @@
7374
7393
  "internalId": 8,
7375
7394
  "isKey": 8,
7376
7395
  "lookupName": 0,
7377
- "subRecordMapping": 603
7396
+ "subRecordMapping": 605
7378
7397
  }
7379
7398
  },
7380
7399
  {
7381
7400
  "t": [
7382
7401
  "array"
7383
7402
  ],
7384
- "i": 608
7403
+ "i": 610
7385
7404
  },
7386
7405
  {
7387
7406
  "t": [
7388
7407
  "object"
7389
7408
  ],
7390
7409
  "p": {
7391
- "fields": 609,
7410
+ "fields": 611,
7392
7411
  "generate": 0,
7393
7412
  "jsonPath": 0
7394
7413
  }
@@ -7397,15 +7416,15 @@
7397
7416
  "t": [
7398
7417
  "array"
7399
7418
  ],
7400
- "i": 610
7419
+ "i": 612
7401
7420
  },
7402
7421
  {
7403
7422
  "t": [
7404
7423
  "object"
7405
7424
  ],
7406
7425
  "p": {
7407
- "fields": 607,
7408
- "lists": 611
7426
+ "fields": 609,
7427
+ "lists": 613
7409
7428
  },
7410
7429
  "a": [
7411
7430
  "mapping"
@@ -7433,7 +7452,7 @@
7433
7452
  "t": [
7434
7453
  "array"
7435
7454
  ],
7436
- "i": 613,
7455
+ "i": 615,
7437
7456
  "a": [
7438
7457
  "lookup"
7439
7458
  ]
@@ -7447,9 +7466,9 @@
7447
7466
  "bulkLoad": 621,
7448
7467
  "ignoreExtract": 88,
7449
7468
  "ignoreLookupName": 88,
7450
- "lookups": 616,
7469
+ "lookups": 618,
7451
7470
  "query": 582,
7452
- "queryType": 618,
7471
+ "queryType": 620,
7453
7472
  "updateExtract": 88,
7454
7473
  "updateLookupName": 88
7455
7474
  }
@@ -7482,32 +7501,14 @@
7482
7501
  "array",
7483
7502
  "null"
7484
7503
  ],
7485
- "i": 617
7486
- },
7487
- {
7488
- "t": [
7489
- "string"
7490
- ],
7491
- "e": [
7492
- "size"
7493
- ]
7504
+ "i": 619
7494
7505
  },
7495
7506
  {
7496
7507
  "t": [
7497
7508
  "object"
7498
7509
  ],
7499
7510
  "p": {
7500
- "loadDataAsAvailable": 8,
7501
- "maxFileSizeInMB": 120,
7502
- "type": 619
7503
- }
7504
- },
7505
- {
7506
- "t": [
7507
- "object"
7508
- ],
7509
- "p": {
7510
- "aggregation": 620,
7511
+ "aggregation": 587,
7511
7512
  "overrideMergeQuery": 8,
7512
7513
  "primaryKeys": 20,
7513
7514
  "tableName": 0
@@ -7536,7 +7537,7 @@
7536
7537
  "p": {
7537
7538
  "configuration": 9,
7538
7539
  "function": 0,
7539
- "lookups": 616
7540
+ "lookups": 618
7540
7541
  }
7541
7542
  },
7542
7543
  {
@@ -8067,22 +8068,22 @@
8067
8068
  "inputContext": 98,
8068
8069
  "jdbc": 581,
8069
8070
  "lastModified": 0,
8070
- "lookups": 616,
8071
+ "lookups": 618,
8071
8072
  "mapping": 665,
8072
8073
  "mappings": 666,
8073
8074
  "maxAttempts": 4,
8074
8075
  "mockResponse": 656,
8075
8076
  "modelMetadata": 41,
8076
- "mongodb": 590,
8077
+ "mongodb": 592,
8077
8078
  "name": 0,
8078
- "netsuite": 592,
8079
- "netsuite_da": 599,
8079
+ "netsuite": 594,
8080
+ "netsuite_da": 601,
8080
8081
  "nsDomainType": 354,
8081
8082
  "oneToMany": 8,
8082
8083
  "parsers": 122,
8083
8084
  "pathToMany": 0,
8084
8085
  "preSave": 104,
8085
- "rdbms": 615,
8086
+ "rdbms": 617,
8086
8087
  "responseTransform": 664,
8087
8088
  "s3": 622,
8088
8089
  "salesforce": 624,