@seamapi/types 1.26.2 → 1.28.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/dist/connect.cjs +3 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +8 -0
- package/dist/devicedb.cjs +2 -1
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +4 -0
- package/lib/seam/connect/openapi.d.ts +6 -0
- package/lib/seam/connect/openapi.js +2 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2 -0
- package/lib/seam/connect/unstable/models/acs/system.d.ts +3 -0
- package/lib/seam/connect/unstable/models/acs/system.js +1 -0
- package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
- package/lib/seam/devicedb/route-specs.d.ts +3 -0
- package/lib/seam/devicedb/route-specs.js +1 -0
- package/lib/seam/devicedb/route-specs.js.map +1 -1
- package/lib/seam/devicedb/route-types.d.ts +1 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +2 -0
- package/src/lib/seam/connect/route-types.ts +2 -0
- package/src/lib/seam/connect/unstable/models/acs/system.ts +1 -0
- package/src/lib/seam/devicedb/route-specs.ts +1 -0
- package/src/lib/seam/devicedb/route-types.ts +1 -0
|
@@ -710,6 +710,7 @@ export interface Routes {
|
|
|
710
710
|
system_type_display_name: string;
|
|
711
711
|
name: string;
|
|
712
712
|
created_at: string;
|
|
713
|
+
connected_account_ids: string[];
|
|
713
714
|
};
|
|
714
715
|
};
|
|
715
716
|
};
|
|
@@ -733,6 +734,7 @@ export interface Routes {
|
|
|
733
734
|
system_type_display_name: string;
|
|
734
735
|
name: string;
|
|
735
736
|
created_at: string;
|
|
737
|
+
connected_account_ids: string[];
|
|
736
738
|
}>;
|
|
737
739
|
};
|
|
738
740
|
};
|
|
@@ -9,6 +9,7 @@ export declare const acs_system: z.ZodObject<{
|
|
|
9
9
|
system_type_display_name: z.ZodString;
|
|
10
10
|
name: z.ZodString;
|
|
11
11
|
created_at: z.ZodString;
|
|
12
|
+
connected_account_ids: z.ZodArray<z.ZodString, "many">;
|
|
12
13
|
}, "strip", z.ZodTypeAny, {
|
|
13
14
|
name: string;
|
|
14
15
|
created_at: string;
|
|
@@ -17,6 +18,7 @@ export declare const acs_system: z.ZodObject<{
|
|
|
17
18
|
external_type_display_name: string;
|
|
18
19
|
system_type: "pti_site" | "alta_org";
|
|
19
20
|
system_type_display_name: string;
|
|
21
|
+
connected_account_ids: string[];
|
|
20
22
|
}, {
|
|
21
23
|
name: string;
|
|
22
24
|
created_at: string;
|
|
@@ -25,5 +27,6 @@ export declare const acs_system: z.ZodObject<{
|
|
|
25
27
|
external_type_display_name: string;
|
|
26
28
|
system_type: "pti_site" | "alta_org";
|
|
27
29
|
system_type_display_name: string;
|
|
30
|
+
connected_account_ids: string[];
|
|
28
31
|
}>;
|
|
29
32
|
export type AcsSystem = z.output<typeof acs_system>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,kEAAkE;AAClE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC,CAAA;AAIxE,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,aAAa,EAAE,wBAAwB;IACvC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,WAAW,EAAE,wBAAwB,CAAC,QAAQ,CAC5C,+BAA+B,CAChC;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,kEAAkE;AAClE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC,CAAA;AAIxE,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,aAAa,EAAE,wBAAwB;IACvC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,WAAW,EAAE,wBAAwB,CAAC,QAAQ,CAC5C,+BAA+B,CAChC;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC3C,CAAC,CAAA"}
|
|
@@ -1738,10 +1738,13 @@ export declare const routes: {
|
|
|
1738
1738
|
readonly methods: readonly ["GET", "OPTIONS"];
|
|
1739
1739
|
readonly queryParams: z.ZodObject<{
|
|
1740
1740
|
integration_status: z.ZodOptional<z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>>;
|
|
1741
|
+
liqe_query: z.ZodOptional<z.ZodString>;
|
|
1741
1742
|
}, "strip", z.ZodTypeAny, {
|
|
1742
1743
|
integration_status?: "beta" | "stable" | "unsupported" | "planned" | "inquire" | undefined;
|
|
1744
|
+
liqe_query?: string | undefined;
|
|
1743
1745
|
}, {
|
|
1744
1746
|
integration_status?: "beta" | "stable" | "unsupported" | "planned" | "inquire" | undefined;
|
|
1747
|
+
liqe_query?: string | undefined;
|
|
1745
1748
|
}>;
|
|
1746
1749
|
readonly jsonResponse: z.ZodObject<{
|
|
1747
1750
|
manufacturers: z.ZodArray<z.ZodObject<{
|
|
@@ -40,6 +40,7 @@ export const routes = {
|
|
|
40
40
|
methods: ['GET', 'OPTIONS'],
|
|
41
41
|
queryParams: z.object({
|
|
42
42
|
integration_status: schemas.manufacturer.shape.integration.optional(),
|
|
43
|
+
liqe_query: z.string().optional(),
|
|
43
44
|
}),
|
|
44
45
|
jsonResponse: z.object({
|
|
45
46
|
manufacturers: schemas.manufacturer.array(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route-specs.js","sourceRoot":"","sources":["../../../src/lib/seam/devicedb/route-specs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,OAAO,MAAM,0BAA0B,CAAA;AAEnD,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,2BAA2B,EAAE;QAC3B,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC;QAC3B,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC;YACpB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;SACnC,CAAC;QACF,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC;YACrB,YAAY,EAAE,OAAO,CAAC,eAAe;SACtC,CAAC;KACH;IACD,4BAA4B,EAAE;QAC5B,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC;QAC3B,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC;YACpB,aAAa,EAAE,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE;YACjD,eAAe,EAAE,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EAAE,iBAAiB;QACvB,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC;QAC3B,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC;YACpB,kBAAkB,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,WAAW,CAAC,QAAQ,EAAE;YACrE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SAClC,CAAC;QACF,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC;YACrB,aAAa,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,EAAE;SAC5C,CAAC;KACH;CACO,CAAA"}
|
|
@@ -236,6 +236,7 @@ export interface Routes {
|
|
|
236
236
|
method: 'GET' | 'OPTIONS';
|
|
237
237
|
queryParams: {
|
|
238
238
|
integration_status?: ('stable' | 'beta' | 'planned' | 'unsupported' | 'inquire') | undefined;
|
|
239
|
+
liqe_query?: string | undefined;
|
|
239
240
|
};
|
|
240
241
|
jsonBody: {};
|
|
241
242
|
commonParams: {};
|
package/package.json
CHANGED
|
@@ -93,6 +93,7 @@ export default {
|
|
|
93
93
|
acs_system: {
|
|
94
94
|
properties: {
|
|
95
95
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
96
|
+
connected_account_ids: { items: { type: 'string' }, type: 'array' },
|
|
96
97
|
created_at: { format: 'date-time', type: 'string' },
|
|
97
98
|
external_type: { enum: ['pti_site', 'alta_org'], type: 'string' },
|
|
98
99
|
external_type_display_name: { type: 'string' },
|
|
@@ -115,6 +116,7 @@ export default {
|
|
|
115
116
|
'system_type_display_name',
|
|
116
117
|
'name',
|
|
117
118
|
'created_at',
|
|
119
|
+
'connected_account_ids',
|
|
118
120
|
],
|
|
119
121
|
type: 'object',
|
|
120
122
|
},
|
|
@@ -748,6 +748,7 @@ export interface Routes {
|
|
|
748
748
|
system_type_display_name: string
|
|
749
749
|
name: string
|
|
750
750
|
created_at: string
|
|
751
|
+
connected_account_ids: string[]
|
|
751
752
|
}
|
|
752
753
|
}
|
|
753
754
|
}
|
|
@@ -771,6 +772,7 @@ export interface Routes {
|
|
|
771
772
|
system_type_display_name: string
|
|
772
773
|
name: string
|
|
773
774
|
created_at: string
|
|
775
|
+
connected_account_ids: string[]
|
|
774
776
|
}>
|
|
775
777
|
}
|
|
776
778
|
}
|
|
@@ -17,6 +17,7 @@ export const acs_system = z.object({
|
|
|
17
17
|
.describe('deprecated: use external_type_display_name'),
|
|
18
18
|
name: z.string(),
|
|
19
19
|
created_at: z.string().datetime(),
|
|
20
|
+
connected_account_ids: z.array(z.string()),
|
|
20
21
|
})
|
|
21
22
|
|
|
22
23
|
export type AcsSystem = z.output<typeof acs_system>
|
|
@@ -42,6 +42,7 @@ export const routes = {
|
|
|
42
42
|
methods: ['GET', 'OPTIONS'],
|
|
43
43
|
queryParams: z.object({
|
|
44
44
|
integration_status: schemas.manufacturer.shape.integration.optional(),
|
|
45
|
+
liqe_query: z.string().optional(),
|
|
45
46
|
}),
|
|
46
47
|
jsonResponse: z.object({
|
|
47
48
|
manufacturers: schemas.manufacturer.array(),
|