@pgds/api-interface 1.6.5 → 1.6.6
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/lib/auth/mustbeConfig.js +9 -21
- package/lib/auth/mustbeConfig.js.map +1 -1
- package/package.json +1 -1
- package/api/notes/createNoteEndpoint.d.ts +0 -8
- package/api/notes/getNoteByIdEndpoint.d.ts +0 -7
- package/api/notes/getNotesByReferenceIdEndpoint.d.ts +0 -7
- package/api/notes/removeNoteEndpoint.d.ts +0 -7
- package/api/notes/updateNoteEndpoint.d.ts +0 -7
- package/api/prescriptions/createPrescriptionEndpoint.d.ts +0 -7
- package/api/prescriptions/getAllPrescriptionsByOrganizationIdEndpoint.d.ts +0 -7
- package/api/prescriptions/getAllPrescriptionsEndpoint.d.ts +0 -7
- package/api/prescriptions/getPrescriptionByIdEndpoint.d.ts +0 -7
- package/api/prescriptions/removePrescriptionEndpoint.d.ts +0 -7
- package/api/prescriptions/updatePrescriptionEndpoint.d.ts +0 -7
- package/api/productTypes/createProductTypeEndpoint.d.ts +0 -7
- package/api/productTypes/customization/getThingProductTypeCustomizationEndpoint.d.ts +0 -7
- package/api/productTypes/customization/updateOrganizationIdForProductTypeCustomizationsEndpoint.d.ts +0 -7
- package/api/productTypes/customization/upsertProductTypeCustomizationEndpoint.d.ts +0 -7
- package/api/productTypes/getAvailableProductTypesEndpoint.d.ts +0 -7
- package/api/productTypes/getProductTypeByIdOrCodeEndpoint.d.ts +0 -7
- package/api/productTypes/getProductTypeByThingIdEndpoint.d.ts +0 -7
- package/api/productTypes/getProductTypesEndpoint.d.ts +0 -7
- package/api/productTypes/internal/deleteProductTypeCustomizationsByQueryEndpoint.d.ts +0 -7
- package/api/productTypes/internal/getProductTypesAndCustomizationsEndpoint.d.ts +0 -7
- package/api/productTypes/removeProductTypeEndpoint.d.ts +0 -7
- package/api/productTypes/sharing/createProductTypeSharingEndpoint.d.ts +0 -7
- package/api/productTypes/sharing/getAllProductTypeSharingEndpoint.d.ts +0 -7
- package/api/productTypes/sharing/getProductTypeAclsByShareIdEndpoint.d.ts +0 -7
- package/api/productTypes/sharing/getProductTypeSharingByIdEndpoint.d.ts +0 -7
- package/api/productTypes/sharing/removeProductTypeSharingEndpoint.d.ts +0 -7
- package/api/productTypes/updateProductTypeCapabilitiesEndpoint.d.ts +0 -7
- package/api/productTypes/updateProductTypeEndpoint.d.ts +0 -7
- package/api/routes.d.ts +0 -1
- package/api/schemas/notes/createNoteSchema.d.ts +0 -28
- package/api/schemas/notes/getNotesByReferenceIdSchema.d.ts +0 -36
- package/api/schemas/notes/getNotesByUserIdSchema.d.ts +0 -40
- package/api/schemas/notes/notesSchemasShared.d.ts +0 -5
- package/api/schemas/notes/updateNoteSchema.d.ts +0 -12
- package/api/schemas/notes/updateOrganizationIdRequestSchema.d.ts +0 -15
- package/api/schemas/prescriptions/createPrescriptionSchema.d.ts +0 -36
- package/api/schemas/prescriptions/prescriptionIdSchema.d.ts +0 -11
- package/api/schemas/prescriptions/updatePrescriptionSchema.d.ts +0 -39
- package/api/schemas/productTypes/createProductTypeSchema.d.ts +0 -63
- package/api/schemas/productTypes/createProductTypeSharingSchema.d.ts +0 -31
- package/api/schemas/productTypes/customization/productTypeCustomizationSchema.d.ts +0 -59
- package/api/schemas/productTypes/customization/updateOrganizationIdSchema.d.ts +0 -15
- package/api/schemas/productTypes/customization/upsertProductTypeCustomizationSchema.d.ts +0 -68
- package/api/schemas/productTypes/productTypesSchemasShared.d.ts +0 -84
- package/api/schemas/productTypes/updateCapabilitiesSchema.d.ts +0 -344
- package/api/schemas/productTypes/updateProductTypeSchema.d.ts +0 -60
- package/api/schemas/schemasShared.d.ts +0 -9
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { ThingVersion } from "../../../constants/constants";
|
|
2
|
-
export declare const updateProductTypeSchema: {
|
|
3
|
-
type: string;
|
|
4
|
-
properties: {
|
|
5
|
-
name: {
|
|
6
|
-
type: string;
|
|
7
|
-
minLength: number;
|
|
8
|
-
};
|
|
9
|
-
description: {
|
|
10
|
-
type: string;
|
|
11
|
-
};
|
|
12
|
-
dashboardUri: {
|
|
13
|
-
type: string;
|
|
14
|
-
};
|
|
15
|
-
productImageUrl: {
|
|
16
|
-
type: string;
|
|
17
|
-
};
|
|
18
|
-
category: {
|
|
19
|
-
enum: readonly ["sensor", "property", "health", "other", "waterSwitch", "waterMeter", "waterSensor", "weatherSensor"];
|
|
20
|
-
default: "sensor";
|
|
21
|
-
};
|
|
22
|
-
manufacturer: {
|
|
23
|
-
type: string;
|
|
24
|
-
};
|
|
25
|
-
heartbeat: {
|
|
26
|
-
type: string;
|
|
27
|
-
properties: {
|
|
28
|
-
interval: {
|
|
29
|
-
type: string[];
|
|
30
|
-
default: number;
|
|
31
|
-
};
|
|
32
|
-
timeout: {
|
|
33
|
-
type: string[];
|
|
34
|
-
default: number;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
additionalProperties: boolean;
|
|
38
|
-
};
|
|
39
|
-
canOnlyBeAddedByGlobal: {
|
|
40
|
-
type: string;
|
|
41
|
-
};
|
|
42
|
-
serialNumberPrefix: {
|
|
43
|
-
type: string;
|
|
44
|
-
maxLength: number;
|
|
45
|
-
};
|
|
46
|
-
serialNumberQrRegex: {
|
|
47
|
-
type: string;
|
|
48
|
-
maxLength: number;
|
|
49
|
-
};
|
|
50
|
-
supportedThingVersions: {
|
|
51
|
-
type: string;
|
|
52
|
-
items: {
|
|
53
|
-
type: string;
|
|
54
|
-
enum: ThingVersion[];
|
|
55
|
-
};
|
|
56
|
-
default: ThingVersion[];
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
additionalProperties: boolean;
|
|
60
|
-
};
|