@truepic/vision-api-types 3.82.0 → 3.83.0

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 +70 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -6369,6 +6369,41 @@ export interface components {
6369
6369
  */
6370
6370
  totalResults: number;
6371
6371
  };
6372
+ /** @description Response Body for GET /texts/unsubscribed-phone-number */
6373
+ GetUnsubscribedPhoneNumbersResult: {
6374
+ /**
6375
+ * @description The current version number of the Vision API
6376
+ * @example 3.0.0
6377
+ */
6378
+ api_version: string;
6379
+ /**
6380
+ * @description The human readable-status of the response
6381
+ * @example Success
6382
+ */
6383
+ message: string;
6384
+ /**
6385
+ * @description The total number of pages for the given query
6386
+ * @example 12
6387
+ */
6388
+ pageCount: number;
6389
+ /**
6390
+ * @description The HTTP status code of the response
6391
+ * @example 200
6392
+ */
6393
+ response_code: number;
6394
+ /** @description A paginated list of unsubscribed phone numbers */
6395
+ result: components["schemas"]["UnsubscribedPhoneNumber"][];
6396
+ /**
6397
+ * @description The total number of results for the given page
6398
+ * @example 25
6399
+ */
6400
+ total: number;
6401
+ /**
6402
+ * @description The total number of results for the given query
6403
+ * @example 251
6404
+ */
6405
+ totalResults: number;
6406
+ };
6372
6407
  /** @description Response Body for GET /users/{userId} */
6373
6408
  GetUserResult: {
6374
6409
  /**
@@ -11492,6 +11527,41 @@ export interface components {
11492
11527
  */
11493
11528
  updated_at: string;
11494
11529
  };
11530
+ /** @description An entry marking a phone number that has unsubscribed from texts from a specific organization. */
11531
+ UnsubscribedPhoneNumber: {
11532
+ /**
11533
+ * Format: date-time
11534
+ * @description The date/time the resource was created
11535
+ * @example 2020-05-01T21:44:40.000Z
11536
+ */
11537
+ created_at: string;
11538
+ /**
11539
+ * @description The id of the resource.
11540
+ * @example 1843
11541
+ */
11542
+ id: number;
11543
+ /**
11544
+ * @description The id of the organization that this phone number has unsubscribed from.
11545
+ * @example 532
11546
+ */
11547
+ organization_id: number;
11548
+ /**
11549
+ * @description The ISO 3166-1 alpha-2 country code for the phone number.
11550
+ * @example US
11551
+ */
11552
+ phone_country: string;
11553
+ /**
11554
+ * @description The phone number that has unsubscribed, stored as normalized national digits.
11555
+ * @example 5125551234
11556
+ */
11557
+ phone_number: string;
11558
+ /**
11559
+ * Format: date-time
11560
+ * @description The date/time the resource was last updated
11561
+ * @example 2020-05-01T21:44:40.000Z
11562
+ */
11563
+ updated_at: string;
11564
+ };
11495
11565
  /** @description The request body for PUT /inspections/{inspectionId} */
11496
11566
  UpdateInspectionBody: {
11497
11567
  /**
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.0",
4
4
  "description": "TypeScript type declarations for Truepic Vision API v3",
5
5
  "license": "MIT",
6
6
  "types": "index.d.ts",