@proveanything/smartlinks 2.0.31 → 2.0.33

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
@@ -14509,6 +14509,21 @@ paths:
14509
14509
  required: false
14510
14510
  schema:
14511
14511
  type: string
14512
+ - name: qFields
14513
+ in: query
14514
+ required: false
14515
+ schema:
14516
+ type: string
14517
+ - name: dataFilter
14518
+ in: query
14519
+ required: false
14520
+ schema:
14521
+ type: object
14522
+ additionalProperties:
14523
+ type: array
14524
+ items:
14525
+ type: object
14526
+ additionalProperties: true
14512
14527
  - name: authorId
14513
14528
  in: query
14514
14529
  required: false
@@ -17108,12 +17123,42 @@ components:
17108
17123
  type: number
17109
17124
  required:
17110
17125
  - imageUrl
17111
- PdfCreateArgs:
17126
+ ImageOcrArgs:
17112
17127
  type: object
17113
17128
  properties:
17114
- html:
17129
+ imageUrl:
17130
+ type: string
17131
+ url:
17132
+ type: string
17133
+ page:
17134
+ type: number
17135
+ dpi:
17136
+ type: number
17137
+ clip:
17138
+ $ref: "#/components/schemas/PdfClip"
17139
+ languages:
17140
+ type: array
17141
+ items:
17142
+ type: string
17143
+ PdfClip:
17144
+ type: object
17145
+ properties:
17146
+ x0:
17115
17147
  type: object
17116
17148
  additionalProperties: true
17149
+ required:
17150
+ - x0
17151
+ PdfCreateArgs:
17152
+ type: object
17153
+ properties:
17154
+ html:
17155
+ type: string
17156
+ format:
17157
+ type: string
17158
+ landscape:
17159
+ type: boolean
17160
+ margin:
17161
+ type: string
17117
17162
  required:
17118
17163
  - html
17119
17164
  PdfFillArgs:
@@ -17145,8 +17190,13 @@ components:
17145
17190
  type: object
17146
17191
  properties:
17147
17192
  url:
17148
- type: object
17149
- additionalProperties: true
17193
+ type: string
17194
+ page:
17195
+ type: number
17196
+ dpi:
17197
+ type: number
17198
+ clip:
17199
+ $ref: "#/components/schemas/PdfClip"
17150
17200
  required:
17151
17201
  - url
17152
17202
  PdfExtractArgs:
@@ -17222,6 +17272,8 @@ components:
17222
17272
  $ref: "#/components/schemas/ImageSearchStockArgs"
17223
17273
  image.transform:
17224
17274
  $ref: "#/components/schemas/ImageTransformArgs"
17275
+ image.ocr:
17276
+ $ref: "#/components/schemas/ImageOcrArgs"
17225
17277
  pdf.create:
17226
17278
  $ref: "#/components/schemas/PdfCreateArgs"
17227
17279
  pdf.fill:
@@ -17255,6 +17307,7 @@ components:
17255
17307
  - image.fromReference
17256
17308
  - image.searchStock
17257
17309
  - image.transform
17310
+ - image.ocr
17258
17311
  - pdf.create
17259
17312
  - pdf.fill
17260
17313
  - pdf.merge
@@ -17371,6 +17424,75 @@ components:
17371
17424
  additionalProperties: true
17372
17425
  required:
17373
17426
  - url
17427
+ PdfRenderTooLarge:
17428
+ type: object
17429
+ properties:
17430
+ error:
17431
+ type: object
17432
+ additionalProperties: true
17433
+ required:
17434
+ - error
17435
+ OcrBox:
17436
+ type: object
17437
+ properties:
17438
+ x:
17439
+ type: object
17440
+ additionalProperties: true
17441
+ required:
17442
+ - x
17443
+ OcrWord:
17444
+ type: object
17445
+ properties:
17446
+ text:
17447
+ type: object
17448
+ additionalProperties: true
17449
+ required:
17450
+ - text
17451
+ OcrLine:
17452
+ type: object
17453
+ properties:
17454
+ text:
17455
+ type: object
17456
+ additionalProperties: true
17457
+ required:
17458
+ - text
17459
+ ImageOcrResult:
17460
+ type: object
17461
+ properties:
17462
+ words:
17463
+ type: array
17464
+ items:
17465
+ $ref: "#/components/schemas/OcrWord"
17466
+ lines:
17467
+ type: array
17468
+ items:
17469
+ $ref: "#/components/schemas/OcrLine"
17470
+ text:
17471
+ type: string
17472
+ width:
17473
+ type: number
17474
+ height:
17475
+ type: number
17476
+ languages:
17477
+ type: array
17478
+ items:
17479
+ type: string
17480
+ page:
17481
+ type: number
17482
+ dpi:
17483
+ type: number
17484
+ clip:
17485
+ $ref: "#/components/schemas/PdfClip"
17486
+ engine:
17487
+ type: string
17488
+ required:
17489
+ - words
17490
+ - lines
17491
+ - text
17492
+ - width
17493
+ - height
17494
+ - languages
17495
+ - engine
17374
17496
  PdfFieldMeta:
17375
17497
  type: object
17376
17498
  properties:
@@ -17498,6 +17620,7 @@ components:
17498
17620
  - image.fromReference
17499
17621
  - image.searchStock
17500
17622
  - image.transform
17623
+ - image.ocr
17501
17624
  - pdf.create
17502
17625
  - pdf.fill
17503
17626
  - pdf.merge
@@ -20052,6 +20175,15 @@ components:
20052
20175
  type: string
20053
20176
  q:
20054
20177
  type: string
20178
+ qFields:
20179
+ type: string
20180
+ dataFilter:
20181
+ type: object
20182
+ additionalProperties:
20183
+ type: array
20184
+ items:
20185
+ type: object
20186
+ additionalProperties: true
20055
20187
  authorId:
20056
20188
  type: string
20057
20189
  parentType:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proveanything/smartlinks",
3
- "version": "2.0.31",
3
+ "version": "2.0.33",
4
4
  "description": "Official JavaScript/TypeScript SDK for the Smartlinks API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",