@proveanything/smartlinks 2.0.34 → 2.0.36

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/openapi.yaml CHANGED
@@ -74,6 +74,8 @@ tags:
74
74
  description: Product facet querying and aggregation.
75
75
  - name: form
76
76
  description: Form definitions and submissions.
77
+ - name: functions
78
+ description: functions API
77
79
  - name: integrations
78
80
  description: Third-party integration flows and imports.
79
81
  - name: interactions
@@ -10022,6 +10024,26 @@ paths:
10022
10024
  description: Unauthorized
10023
10025
  404:
10024
10026
  description: Not found
10027
+ /functions:
10028
+ get:
10029
+ tags:
10030
+ - functions
10031
+ summary: List the public functions available for a collection (discovery).
10032
+ operationId: functions_list
10033
+ security: []
10034
+ responses:
10035
+ 200:
10036
+ description: Success
10037
+ content:
10038
+ application/json:
10039
+ schema:
10040
+ $ref: "#/components/schemas/FunctionListResponse"
10041
+ 400:
10042
+ description: Bad request
10043
+ 401:
10044
+ description: Unauthorized
10045
+ 404:
10046
+ description: Not found
10025
10047
  /platform/location:
10026
10048
  post:
10027
10049
  tags:
@@ -17223,6 +17245,68 @@ components:
17223
17245
  additionalProperties: true
17224
17246
  required:
17225
17247
  - url
17248
+ PdfBox:
17249
+ type: object
17250
+ properties:
17251
+ x:
17252
+ type: object
17253
+ additionalProperties: true
17254
+ required:
17255
+ - x
17256
+ PdfEditArgs:
17257
+ type: object
17258
+ properties:
17259
+ url:
17260
+ type: string
17261
+ replaceText:
17262
+ type: array
17263
+ items:
17264
+ type: object
17265
+ additionalProperties: true
17266
+ addText:
17267
+ type: array
17268
+ items:
17269
+ type: object
17270
+ additionalProperties: true
17271
+ addImages:
17272
+ type: array
17273
+ items:
17274
+ type: object
17275
+ additionalProperties: true
17276
+ preserveColour:
17277
+ type: boolean
17278
+ required:
17279
+ - url
17280
+ PdfPreflightArgs:
17281
+ type: object
17282
+ properties:
17283
+ url:
17284
+ type: object
17285
+ additionalProperties: true
17286
+ required:
17287
+ - url
17288
+ PdfPrintReadyArgs:
17289
+ type: object
17290
+ properties:
17291
+ url:
17292
+ type: string
17293
+ profile:
17294
+ $ref: "#/components/schemas/PdfXProfile"
17295
+ outputIntent:
17296
+ type: string
17297
+ convertToCmyk:
17298
+ type: boolean
17299
+ embedFonts:
17300
+ type: boolean
17301
+ bleed:
17302
+ type: object
17303
+ additionalProperties: true
17304
+ flattenTransparency:
17305
+ type: boolean
17306
+ minDpi:
17307
+ type: number
17308
+ required:
17309
+ - url
17226
17310
  HttpRequestArgs:
17227
17311
  type: object
17228
17312
  properties:
@@ -17290,6 +17374,12 @@ components:
17290
17374
  $ref: "#/components/schemas/PdfDecodeBarcodesArgs"
17291
17375
  pdf.inspectGraphics:
17292
17376
  $ref: "#/components/schemas/PdfInspectGraphicsArgs"
17377
+ pdf.edit:
17378
+ $ref: "#/components/schemas/PdfEditArgs"
17379
+ pdf.preflight:
17380
+ $ref: "#/components/schemas/PdfPreflightArgs"
17381
+ pdf.printReady:
17382
+ $ref: "#/components/schemas/PdfPrintReadyArgs"
17293
17383
  http.request:
17294
17384
  $ref: "#/components/schemas/HttpRequestArgs"
17295
17385
  translate:
@@ -17316,6 +17406,9 @@ components:
17316
17406
  - pdf.extract
17317
17407
  - pdf.decodeBarcodes
17318
17408
  - pdf.inspectGraphics
17409
+ - pdf.edit
17410
+ - pdf.preflight
17411
+ - pdf.printReady
17319
17412
  - http.request
17320
17413
  - translate
17321
17414
  WebSearchResultItem:
@@ -17545,6 +17638,139 @@ components:
17545
17638
  additionalProperties: true
17546
17639
  required:
17547
17640
  - url
17641
+ PdfEditItemResult:
17642
+ type: object
17643
+ properties:
17644
+ id:
17645
+ type: string
17646
+ status:
17647
+ type: string
17648
+ enum:
17649
+ - done
17650
+ - failed
17651
+ note:
17652
+ type: string
17653
+ verified:
17654
+ type: boolean
17655
+ usedFallbackFont:
17656
+ type: boolean
17657
+ required:
17658
+ - id
17659
+ - status
17660
+ PdfEditResult:
17661
+ type: object
17662
+ properties:
17663
+ url:
17664
+ type: array
17665
+ items:
17666
+ type: object
17667
+ additionalProperties: true
17668
+ required:
17669
+ - url
17670
+ PdfPreflightFinding:
17671
+ type: object
17672
+ properties:
17673
+ severity:
17674
+ type: string
17675
+ enum:
17676
+ - error
17677
+ - warning
17678
+ required:
17679
+ - severity
17680
+ PdfPreflightResult:
17681
+ type: object
17682
+ properties:
17683
+ url:
17684
+ type: string
17685
+ compliant:
17686
+ type: boolean
17687
+ profile:
17688
+ $ref: "#/components/schemas/PdfXProfile"
17689
+ version:
17690
+ type: string
17691
+ findings:
17692
+ type: array
17693
+ items:
17694
+ $ref: "#/components/schemas/PdfPreflightFinding"
17695
+ stats:
17696
+ type: object
17697
+ additionalProperties: true
17698
+ pageCount:
17699
+ type: number
17700
+ fonts:
17701
+ type: array
17702
+ items:
17703
+ type: object
17704
+ additionalProperties: true
17705
+ spotColours:
17706
+ type: array
17707
+ items:
17708
+ type: string
17709
+ images:
17710
+ type: array
17711
+ items:
17712
+ type: object
17713
+ additionalProperties: true
17714
+ transparency:
17715
+ type: boolean
17716
+ outputIntent:
17717
+ type: object
17718
+ additionalProperties: true
17719
+ required:
17720
+ - url
17721
+ - compliant
17722
+ - profile
17723
+ - version
17724
+ - findings
17725
+ - stats
17726
+ - pageCount
17727
+ - fonts
17728
+ - spotColours
17729
+ - images
17730
+ - transparency
17731
+ - outputIntent
17732
+ PdfPrintReadyResult:
17733
+ type: object
17734
+ properties:
17735
+ url:
17736
+ type: string
17737
+ report:
17738
+ type: object
17739
+ additionalProperties: true
17740
+ compliant:
17741
+ type: boolean
17742
+ profile:
17743
+ $ref: "#/components/schemas/PdfXProfile"
17744
+ outputIntent:
17745
+ type: string
17746
+ findings:
17747
+ type: array
17748
+ items:
17749
+ $ref: "#/components/schemas/PdfPreflightFinding"
17750
+ changes:
17751
+ type: array
17752
+ items:
17753
+ type: object
17754
+ additionalProperties: true
17755
+ before:
17756
+ type: object
17757
+ additionalProperties: true
17758
+ stats:
17759
+ type: object
17760
+ additionalProperties: true
17761
+ note:
17762
+ type: string
17763
+ required:
17764
+ - url
17765
+ - report
17766
+ - compliant
17767
+ - profile
17768
+ - outputIntent
17769
+ - findings
17770
+ - changes
17771
+ - before
17772
+ - stats
17773
+ - note
17548
17774
  ResponsesAgentTrace:
17549
17775
  type: object
17550
17776
  properties:
@@ -17629,8 +17855,19 @@ components:
17629
17855
  - pdf.extract
17630
17856
  - pdf.decodeBarcodes
17631
17857
  - pdf.inspectGraphics
17858
+ - pdf.edit
17859
+ - pdf.preflight
17860
+ - pdf.printReady
17632
17861
  - http.request
17633
17862
  - translate
17863
+ PdfColour:
17864
+ type: object
17865
+ additionalProperties: true
17866
+ PdfXProfile:
17867
+ type: string
17868
+ enum:
17869
+ - pdfx-1a
17870
+ - pdfx-4
17634
17871
  AgentStreamEvent:
17635
17872
  type: object
17636
17873
  additionalProperties: true
@@ -22815,6 +23052,8 @@ components:
22815
23052
  type: string
22816
23053
  hubCustomDomain:
22817
23054
  type: string
23055
+ siteHost:
23056
+ type: string
22818
23057
  shortId:
22819
23058
  type: string
22820
23059
  dark:
@@ -30302,6 +30541,19 @@ components:
30302
30541
  appId:
30303
30542
  type: object
30304
30543
  additionalProperties: true
30544
+ FunctionSiteUrlOptions:
30545
+ type: object
30546
+ properties:
30547
+ channel:
30548
+ type: string
30549
+ path:
30550
+ type: string
30551
+ query:
30552
+ type: object
30553
+ additionalProperties:
30554
+ type: string
30555
+ host:
30556
+ type: string
30305
30557
  AllocateSequenceInput:
30306
30558
  type: object
30307
30559
  properties:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proveanything/smartlinks",
3
- "version": "2.0.34",
3
+ "version": "2.0.36",
4
4
  "description": "Official JavaScript/TypeScript SDK for the Smartlinks API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",