@truepic/vision-api-types 3.82.0 → 3.83.1

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.
Files changed (2) hide show
  1. package/index.d.ts +80 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -502,6 +502,16 @@ export interface paths {
502
502
  * - `no_location`: captures with no expected address on the inspection
503
503
  */
504
504
  "captureLocationMaps[]"?: ("outside" | "within" | "no_location")[];
505
+ /**
506
+ * @description Whether the Image Details section embeds the full-resolution web image variant (up to 1080px) or a smaller PDF-optimized variant.
507
+ *
508
+ * If `true` (or unspecified), full-resolution images are embedded.
509
+ *
510
+ * If `false`, the PDF-optimized variant is embedded instead, producing a smaller file that exports faster.
511
+ *
512
+ * `1`/`0` are also accepted and coerced to `true`/`false`.
513
+ */
514
+ highResImages?: boolean;
505
515
  };
506
516
  header?: never;
507
517
  path: {
@@ -6369,6 +6379,41 @@ export interface components {
6369
6379
  */
6370
6380
  totalResults: number;
6371
6381
  };
6382
+ /** @description Response Body for GET /texts/unsubscribed-phone-number */
6383
+ GetUnsubscribedPhoneNumbersResult: {
6384
+ /**
6385
+ * @description The current version number of the Vision API
6386
+ * @example 3.0.0
6387
+ */
6388
+ api_version: string;
6389
+ /**
6390
+ * @description The human readable-status of the response
6391
+ * @example Success
6392
+ */
6393
+ message: string;
6394
+ /**
6395
+ * @description The total number of pages for the given query
6396
+ * @example 12
6397
+ */
6398
+ pageCount: number;
6399
+ /**
6400
+ * @description The HTTP status code of the response
6401
+ * @example 200
6402
+ */
6403
+ response_code: number;
6404
+ /** @description A paginated list of unsubscribed phone numbers */
6405
+ result: components["schemas"]["UnsubscribedPhoneNumber"][];
6406
+ /**
6407
+ * @description The total number of results for the given page
6408
+ * @example 25
6409
+ */
6410
+ total: number;
6411
+ /**
6412
+ * @description The total number of results for the given query
6413
+ * @example 251
6414
+ */
6415
+ totalResults: number;
6416
+ };
6372
6417
  /** @description Response Body for GET /users/{userId} */
6373
6418
  GetUserResult: {
6374
6419
  /**
@@ -11492,6 +11537,41 @@ export interface components {
11492
11537
  */
11493
11538
  updated_at: string;
11494
11539
  };
11540
+ /** @description An entry marking a phone number that has unsubscribed from texts from a specific organization. */
11541
+ UnsubscribedPhoneNumber: {
11542
+ /**
11543
+ * Format: date-time
11544
+ * @description The date/time the resource was created
11545
+ * @example 2020-05-01T21:44:40.000Z
11546
+ */
11547
+ created_at: string;
11548
+ /**
11549
+ * @description The id of the resource.
11550
+ * @example 1843
11551
+ */
11552
+ id: number;
11553
+ /**
11554
+ * @description The id of the organization that this phone number has unsubscribed from.
11555
+ * @example 532
11556
+ */
11557
+ organization_id: number;
11558
+ /**
11559
+ * @description The ISO 3166-1 alpha-2 country code for the phone number.
11560
+ * @example US
11561
+ */
11562
+ phone_country: string;
11563
+ /**
11564
+ * @description The phone number that has unsubscribed, stored as normalized national digits.
11565
+ * @example 5125551234
11566
+ */
11567
+ phone_number: string;
11568
+ /**
11569
+ * Format: date-time
11570
+ * @description The date/time the resource was last updated
11571
+ * @example 2020-05-01T21:44:40.000Z
11572
+ */
11573
+ updated_at: string;
11574
+ };
11495
11575
  /** @description The request body for PUT /inspections/{inspectionId} */
11496
11576
  UpdateInspectionBody: {
11497
11577
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truepic/vision-api-types",
3
- "version": "3.82.0",
3
+ "version": "3.83.1",
4
4
  "description": "TypeScript type declarations for Truepic Vision API v3",
5
5
  "license": "MIT",
6
6
  "types": "index.d.ts",