@truepic/vision-api-types 3.81.0 → 3.82.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.
- package/index.d.ts +83 -27
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -478,12 +478,30 @@ export interface paths {
|
|
|
478
478
|
/** @description Limit the PDF to a subset of photos/videos. */
|
|
479
479
|
photos: number[];
|
|
480
480
|
};
|
|
481
|
-
/**
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
481
|
+
/**
|
|
482
|
+
* @description Additional sections to include that are NOT included by default. If you do not want to include any extra sections, you can omit this property.
|
|
483
|
+
*
|
|
484
|
+
* Accepts the legacy `inspectionNote` alias and the canonical section ids. The only opt-in section is Inspection Notes; the other ids are accepted for forward-compatibility.
|
|
485
|
+
*/
|
|
486
|
+
"include[]"?: ("inspectionNote" | "cover" | "contents" | "captureLocation" | "inspectionItems" | "imageDetails" | "aiAnalysis" | "inspectionNotes" | "captureDevices" | "timeline")[];
|
|
487
|
+
/**
|
|
488
|
+
* @description Specific sections to exclude that are included by default. If you do not want to exclude any sections, you can omit this property.
|
|
489
|
+
*
|
|
490
|
+
* Accepts the legacy tokens (`questions` → Inspection Items, `thumbnails` → no-op, `imageDetails`, `timeline`) and the canonical section ids.
|
|
491
|
+
*/
|
|
492
|
+
"exclude[]"?: ("questions" | "thumbnails" | "cover" | "contents" | "captureLocation" | "inspectionItems" | "imageDetails" | "aiAnalysis" | "inspectionNotes" | "captureDevices" | "timeline")[];
|
|
493
|
+
/** @description Whether to include items the customer never submitted (unanswered questions and captures with no upload) in the Inspection Items section. Set to `false` to hide them. */
|
|
494
|
+
showUnansweredItems?: boolean;
|
|
485
495
|
/** @description The IANA time zone name to use when displaying dates/times in the PDF. Defaults to UTC. */
|
|
486
496
|
tz?: string;
|
|
497
|
+
/**
|
|
498
|
+
* @description Which capture-location maps to render in the Image Details section. Omit to render a map for every capture (the default); provide a subset to limit which captures get a map, or an empty array to render no maps.
|
|
499
|
+
*
|
|
500
|
+
* - `outside`: captures taken outside the expected address
|
|
501
|
+
* - `within`: captures taken within the expected address
|
|
502
|
+
* - `no_location`: captures with no expected address on the inspection
|
|
503
|
+
*/
|
|
504
|
+
"captureLocationMaps[]"?: ("outside" | "within" | "no_location")[];
|
|
487
505
|
};
|
|
488
506
|
header?: never;
|
|
489
507
|
path: {
|
|
@@ -4466,20 +4484,41 @@ export interface components {
|
|
|
4466
4484
|
* @default false
|
|
4467
4485
|
*/
|
|
4468
4486
|
async: boolean;
|
|
4487
|
+
/**
|
|
4488
|
+
* @description Which capture-location maps to render in the Image Details section. Omit to render a map for every capture (the default). Provide a subset to limit it, or an empty array to render no maps.
|
|
4489
|
+
* - `outside`: captures taken outside the expected address
|
|
4490
|
+
* - `within`: captures taken within the expected address
|
|
4491
|
+
* - `no_location`: captures with no expected address on the inspection
|
|
4492
|
+
* @default [
|
|
4493
|
+
* "outside",
|
|
4494
|
+
* "within",
|
|
4495
|
+
* "no_location"
|
|
4496
|
+
* ]
|
|
4497
|
+
*/
|
|
4498
|
+
captureLocationMaps: ("outside" | "within" | "no_location")[];
|
|
4469
4499
|
/**
|
|
4470
4500
|
* @description Specific sections to exclude that are included by default. If you do not want to exclude any sections, you can omit this property.
|
|
4501
|
+
*
|
|
4502
|
+
* Accepts the legacy tokens (`questions` → Inspection Items, `thumbnails` → no-op, `imageDetails`, `timeline`) and the canonical section ids.
|
|
4471
4503
|
* @default []
|
|
4472
4504
|
*/
|
|
4473
|
-
exclude: ("questions" | "thumbnails" | "imageDetails" | "timeline")[];
|
|
4505
|
+
exclude: ("questions" | "thumbnails" | "cover" | "contents" | "captureLocation" | "inspectionItems" | "imageDetails" | "aiAnalysis" | "inspectionNotes" | "captureDevices" | "timeline")[];
|
|
4474
4506
|
/** @description Filters which photos/videos are included in the PDF. Once specified, the PDF will only be generated based on the specific list of photos that are listed. By default all photos/videos are included. If you don't want to generate a PDF with a specific set of photos/videos, you can omit this property. */
|
|
4475
4507
|
filter?: {
|
|
4476
4508
|
photos: number[];
|
|
4477
4509
|
};
|
|
4478
4510
|
/**
|
|
4479
4511
|
* @description Additional sections to include that are NOT included by default. If you do not want to include any extra sections, you can omit this property.
|
|
4512
|
+
*
|
|
4513
|
+
* Accepts the legacy `inspectionNote` alias and the canonical section ids. The only opt-in section is Inspection Notes; the other ids are accepted for forward-compatibility and are no-ops when a section is already included.
|
|
4480
4514
|
* @default []
|
|
4481
4515
|
*/
|
|
4482
|
-
include: ("inspectionNote" | "")[];
|
|
4516
|
+
include: ("inspectionNote" | "cover" | "contents" | "captureLocation" | "inspectionItems" | "imageDetails" | "aiAnalysis" | "inspectionNotes" | "captureDevices" | "timeline")[];
|
|
4517
|
+
/**
|
|
4518
|
+
* @description Whether to include items the customer never submitted (unanswered questions and captures with no upload) in the Inspection Items section. Set `false` to hide them.
|
|
4519
|
+
* @default true
|
|
4520
|
+
*/
|
|
4521
|
+
showUnansweredItems: boolean;
|
|
4483
4522
|
/**
|
|
4484
4523
|
* @description The IANA time zone name to use when displaying dates/times in the PDF. Defaults to UTC.
|
|
4485
4524
|
* @default UTC
|
|
@@ -5744,11 +5783,6 @@ export interface components {
|
|
|
5744
5783
|
*/
|
|
5745
5784
|
web_camera: boolean;
|
|
5746
5785
|
};
|
|
5747
|
-
/**
|
|
5748
|
-
* @description An identifier from an external system used to reference the team. It must be unique within an organization when set.
|
|
5749
|
-
* @example X50100039
|
|
5750
|
-
*/
|
|
5751
|
-
external_id?: string | null;
|
|
5752
5786
|
/**
|
|
5753
5787
|
* @description The accuracy threshold that GPS coordinates must not exceed in meters.
|
|
5754
5788
|
* @example 1500
|
|
@@ -6147,6 +6181,14 @@ export interface components {
|
|
|
6147
6181
|
* @example 2020-05-01T21:44:40.000Z
|
|
6148
6182
|
*/
|
|
6149
6183
|
updated_at: string;
|
|
6184
|
+
/**
|
|
6185
|
+
* @description Verisk customer codes used to route SSO users to this team. Multiple values are supported so a single team can be addressed by many Verisk custCodes, and a single custCode may be shared across multiple teams within an organization (no uniqueness constraint is enforced). Requires the `verisk_sso` organization feature to be enabled.
|
|
6186
|
+
* @example [
|
|
6187
|
+
* "X50100039",
|
|
6188
|
+
* "X50100040"
|
|
6189
|
+
* ]
|
|
6190
|
+
*/
|
|
6191
|
+
verisk_cust_codes?: string[] | unknown;
|
|
6150
6192
|
/**
|
|
6151
6193
|
* @description Whether video is enabled as a capture method in the app.
|
|
6152
6194
|
* @default false
|
|
@@ -7485,6 +7527,11 @@ export interface components {
|
|
|
7485
7527
|
* @example 11.4.1
|
|
7486
7528
|
*/
|
|
7487
7529
|
os?: string;
|
|
7530
|
+
/**
|
|
7531
|
+
* @description A URL to a PDF-optimized variant (max 720×960, aspect preserved), used by the PDF report engine to cut render time and file size.
|
|
7532
|
+
* @example https://d3tbfdtihunht2.cloudfront.net/qfzkoxugjn_p.jpg?...
|
|
7533
|
+
*/
|
|
7534
|
+
pdf_image?: string;
|
|
7488
7535
|
/**
|
|
7489
7536
|
* @description Whether the Truepic is still uploading
|
|
7490
7537
|
* @default false
|
|
@@ -8648,7 +8695,7 @@ export interface components {
|
|
|
8648
8695
|
updated_by_user_id: number | null;
|
|
8649
8696
|
};
|
|
8650
8697
|
/** @enum {string} */
|
|
8651
|
-
OrganizationEnabledFeatureType: "ai_analysis" | "ask_for_app_review" | "inspection_device_insights" | "device_details" | "risk_network" | "external_risk_network" | "content_analysis_odometer" | "content_analysis_text_matching" | "content_analysis_vin" | "content_analysis_dot_tin" | "object_detection_auto" | "object_detection_jewelry" | "object_detection_real_estate" | "landing_pages" | "inspection_readiness" | "dashboard_user_feedback_forms" | "member_homepage" | "reuse_detection" | "restrict_members_to_inspection_details" | "ai_analysis_configuration" | "guided_capture";
|
|
8698
|
+
OrganizationEnabledFeatureType: "ai_analysis" | "ask_for_app_review" | "inspection_device_insights" | "device_details" | "risk_network" | "external_risk_network" | "content_analysis_odometer" | "content_analysis_text_matching" | "content_analysis_vin" | "content_analysis_dot_tin" | "object_detection_auto" | "object_detection_jewelry" | "object_detection_real_estate" | "landing_pages" | "inspection_readiness" | "dashboard_user_feedback_forms" | "member_homepage" | "reuse_detection" | "restrict_members_to_inspection_details" | "ai_analysis_configuration" | "guided_capture" | "verisk_sso";
|
|
8652
8699
|
/** @description A possible outcome for an inspection */
|
|
8653
8700
|
Outcome: {
|
|
8654
8701
|
/**
|
|
@@ -9135,11 +9182,6 @@ export interface components {
|
|
|
9135
9182
|
*/
|
|
9136
9183
|
web_camera: boolean;
|
|
9137
9184
|
};
|
|
9138
|
-
/**
|
|
9139
|
-
* @description An identifier from an external system used to reference the team. It must be unique within an organization when set.
|
|
9140
|
-
* @example X50100039
|
|
9141
|
-
*/
|
|
9142
|
-
external_id?: string | null;
|
|
9143
9185
|
/**
|
|
9144
9186
|
* @description The accuracy threshold that GPS coordinates must not exceed in meters.
|
|
9145
9187
|
* @example 1500
|
|
@@ -9543,6 +9585,14 @@ export interface components {
|
|
|
9543
9585
|
* @example 2020-05-01T21:44:40.000Z
|
|
9544
9586
|
*/
|
|
9545
9587
|
updated_at: string;
|
|
9588
|
+
/**
|
|
9589
|
+
* @description Verisk customer codes used to route SSO users to this team. Multiple values are supported so a single team can be addressed by many Verisk custCodes, and a single custCode may be shared across multiple teams within an organization (no uniqueness constraint is enforced). Requires the `verisk_sso` organization feature to be enabled.
|
|
9590
|
+
* @example [
|
|
9591
|
+
* "X50100039",
|
|
9592
|
+
* "X50100040"
|
|
9593
|
+
* ]
|
|
9594
|
+
*/
|
|
9595
|
+
verisk_cust_codes?: string[] | unknown;
|
|
9546
9596
|
/**
|
|
9547
9597
|
* @description Whether video is enabled as a capture method in the app.
|
|
9548
9598
|
* @default false
|
|
@@ -10734,11 +10784,6 @@ export interface components {
|
|
|
10734
10784
|
*/
|
|
10735
10785
|
web_camera: boolean;
|
|
10736
10786
|
};
|
|
10737
|
-
/**
|
|
10738
|
-
* @description An identifier from an external system used to reference the team. It must be unique within an organization when set.
|
|
10739
|
-
* @example X50100039
|
|
10740
|
-
*/
|
|
10741
|
-
external_id?: string | null;
|
|
10742
10787
|
/**
|
|
10743
10788
|
* @description The accuracy threshold that GPS coordinates must not exceed in meters.
|
|
10744
10789
|
* @example 1500
|
|
@@ -10848,6 +10893,14 @@ export interface components {
|
|
|
10848
10893
|
* @example 2020-05-01T21:44:40.000Z
|
|
10849
10894
|
*/
|
|
10850
10895
|
updated_at: string;
|
|
10896
|
+
/**
|
|
10897
|
+
* @description Verisk customer codes used to route SSO users to this team. Multiple values are supported so a single team can be addressed by many Verisk custCodes, and a single custCode may be shared across multiple teams within an organization (no uniqueness constraint is enforced). Requires the `verisk_sso` organization feature to be enabled.
|
|
10898
|
+
* @example [
|
|
10899
|
+
* "X50100039",
|
|
10900
|
+
* "X50100040"
|
|
10901
|
+
* ]
|
|
10902
|
+
*/
|
|
10903
|
+
verisk_cust_codes?: string[] | unknown;
|
|
10851
10904
|
/**
|
|
10852
10905
|
* @description Whether video is enabled as a capture method in the app.
|
|
10853
10906
|
* @default false
|
|
@@ -10944,11 +10997,6 @@ export interface components {
|
|
|
10944
10997
|
*/
|
|
10945
10998
|
web_camera: boolean;
|
|
10946
10999
|
};
|
|
10947
|
-
/**
|
|
10948
|
-
* @description An identifier from an external system used to reference the team. It must be unique within an organization when set.
|
|
10949
|
-
* @example X50100039
|
|
10950
|
-
*/
|
|
10951
|
-
external_id?: string | null;
|
|
10952
11000
|
/**
|
|
10953
11001
|
* @description The accuracy threshold that GPS coordinates must not exceed in meters.
|
|
10954
11002
|
* @example 1500
|
|
@@ -11061,6 +11109,14 @@ export interface components {
|
|
|
11061
11109
|
* @example 2020-05-01T21:44:40.000Z
|
|
11062
11110
|
*/
|
|
11063
11111
|
updated_at?: string;
|
|
11112
|
+
/**
|
|
11113
|
+
* @description Verisk customer codes used to route SSO users to this team. Multiple values are supported so a single team can be addressed by many Verisk custCodes, and a single custCode may be shared across multiple teams within an organization (no uniqueness constraint is enforced). Requires the `verisk_sso` organization feature to be enabled.
|
|
11114
|
+
* @example [
|
|
11115
|
+
* "X50100039",
|
|
11116
|
+
* "X50100040"
|
|
11117
|
+
* ]
|
|
11118
|
+
*/
|
|
11119
|
+
verisk_cust_codes?: string[] | unknown;
|
|
11064
11120
|
/**
|
|
11065
11121
|
* @description Whether video is enabled as a capture method in the app.
|
|
11066
11122
|
* @default false
|