@greensecurity/javascript-sdk 0.44.0-beta.15 → 0.44.0-beta.17
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/README.md +9 -0
- package/dist/commonjs/__tests__/organizations.test.js +72 -6
- package/dist/commonjs/__tests__/organizations.test.js.map +1 -1
- package/dist/commonjs/__tests__/webhooks.test.js +1 -1
- package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
- package/dist/commonjs/__tests__/zones.test.js +34 -6
- package/dist/commonjs/__tests__/zones.test.js.map +1 -1
- package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.d.ts +34 -0
- package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.d.ts.map +1 -0
- package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.js +145 -0
- package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.js.map +1 -0
- package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.d.ts +28 -0
- package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.d.ts.map +1 -0
- package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.js +138 -0
- package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.js.map +1 -0
- package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.d.ts +42 -0
- package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.d.ts.map +1 -0
- package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.js +194 -0
- package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/components/companytargetfacility.d.ts +54 -0
- package/dist/commonjs/models/components/companytargetfacility.d.ts.map +1 -0
- package/dist/commonjs/models/components/companytargetfacility.js +80 -0
- package/dist/commonjs/models/components/companytargetfacility.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +1 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +1 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/operations/createcompanytargetfacility.d.ts +50 -0
- package/dist/commonjs/models/operations/createcompanytargetfacility.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createcompanytargetfacility.js +84 -0
- package/dist/commonjs/models/operations/createcompanytargetfacility.js.map +1 -0
- package/dist/commonjs/models/operations/deletecompanytargetfacility.d.ts +20 -0
- package/dist/commonjs/models/operations/deletecompanytargetfacility.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deletecompanytargetfacility.js +55 -0
- package/dist/commonjs/models/operations/deletecompanytargetfacility.js.map +1 -0
- package/dist/commonjs/models/operations/exportcompanytargetfacilities.d.ts +16 -16
- package/dist/commonjs/models/operations/exportcompanytargetfacilities.d.ts.map +1 -1
- package/dist/commonjs/models/operations/exportcompanytargetfacilities.js +14 -15
- package/dist/commonjs/models/operations/exportcompanytargetfacilities.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +3 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +3 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listcompanytargetfacilities.d.ts +173 -0
- package/dist/commonjs/models/operations/listcompanytargetfacilities.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listcompanytargetfacilities.js +150 -0
- package/dist/commonjs/models/operations/listcompanytargetfacilities.js.map +1 -0
- package/dist/commonjs/models/operations/listfacilityvendors.d.ts +4 -4
- package/dist/commonjs/models/operations/listfacilityvendors.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listfacilityvendors.js +4 -4
- package/dist/commonjs/models/operations/listfacilityvendors.js.map +1 -1
- package/dist/commonjs/react-query/index.d.ts +3 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +3 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.d.ts +43 -0
- package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.d.ts.map +1 -0
- package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.js +65 -0
- package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.js.map +1 -0
- package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.d.ts +37 -0
- package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.d.ts.map +1 -0
- package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.js +59 -0
- package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.js.map +1 -0
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.d.ts +4 -4
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.js.map +1 -1
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.d.ts +8 -8
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.d.ts.map +1 -1
- package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.js.map +1 -1
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.d.ts +54 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.js +111 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.js.map +1 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.d.ts +154 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.d.ts.map +1 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.js +180 -0
- package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.js.map +1 -0
- package/dist/commonjs/react-query/organizationsListFacilityVendors.core.d.ts +2 -2
- package/dist/commonjs/react-query/organizationsListFacilityVendors.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/organizationsListFacilityVendors.d.ts +2 -2
- package/dist/commonjs/react-query/organizationsListFacilityVendors.d.ts.map +1 -1
- package/dist/commonjs/sdk/organizations.d.ts +64 -0
- package/dist/commonjs/sdk/organizations.d.ts.map +1 -1
- package/dist/commonjs/sdk/organizations.js +71 -0
- package/dist/commonjs/sdk/organizations.js.map +1 -1
- package/dist/esm/__tests__/organizations.test.js +73 -7
- package/dist/esm/__tests__/organizations.test.js.map +1 -1
- package/dist/esm/__tests__/webhooks.test.js +1 -1
- package/dist/esm/__tests__/webhooks.test.js.map +1 -1
- package/dist/esm/__tests__/zones.test.js +34 -6
- package/dist/esm/__tests__/zones.test.js.map +1 -1
- package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.d.ts +34 -0
- package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.d.ts.map +1 -0
- package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.js +109 -0
- package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.js.map +1 -0
- package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.d.ts +28 -0
- package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.d.ts.map +1 -0
- package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.js +102 -0
- package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.js.map +1 -0
- package/dist/esm/funcs/organizationsListCompanyTargetFacilities.d.ts +42 -0
- package/dist/esm/funcs/organizationsListCompanyTargetFacilities.d.ts.map +1 -0
- package/dist/esm/funcs/organizationsListCompanyTargetFacilities.js +158 -0
- package/dist/esm/funcs/organizationsListCompanyTargetFacilities.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/components/companytargetfacility.d.ts +54 -0
- package/dist/esm/models/components/companytargetfacility.d.ts.map +1 -0
- package/dist/esm/models/components/companytargetfacility.js +41 -0
- package/dist/esm/models/components/companytargetfacility.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +1 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +1 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/operations/createcompanytargetfacility.d.ts +50 -0
- package/dist/esm/models/operations/createcompanytargetfacility.d.ts.map +1 -0
- package/dist/esm/models/operations/createcompanytargetfacility.js +45 -0
- package/dist/esm/models/operations/createcompanytargetfacility.js.map +1 -0
- package/dist/esm/models/operations/deletecompanytargetfacility.d.ts +20 -0
- package/dist/esm/models/operations/deletecompanytargetfacility.d.ts.map +1 -0
- package/dist/esm/models/operations/deletecompanytargetfacility.js +18 -0
- package/dist/esm/models/operations/deletecompanytargetfacility.js.map +1 -0
- package/dist/esm/models/operations/exportcompanytargetfacilities.d.ts +16 -16
- package/dist/esm/models/operations/exportcompanytargetfacilities.d.ts.map +1 -1
- package/dist/esm/models/operations/exportcompanytargetfacilities.js +13 -14
- package/dist/esm/models/operations/exportcompanytargetfacilities.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +3 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +3 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listcompanytargetfacilities.d.ts +173 -0
- package/dist/esm/models/operations/listcompanytargetfacilities.d.ts.map +1 -0
- package/dist/esm/models/operations/listcompanytargetfacilities.js +111 -0
- package/dist/esm/models/operations/listcompanytargetfacilities.js.map +1 -0
- package/dist/esm/models/operations/listfacilityvendors.d.ts +4 -4
- package/dist/esm/models/operations/listfacilityvendors.d.ts.map +1 -1
- package/dist/esm/models/operations/listfacilityvendors.js +3 -3
- package/dist/esm/models/operations/listfacilityvendors.js.map +1 -1
- package/dist/esm/react-query/index.d.ts +3 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +3 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.d.ts +43 -0
- package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.d.ts.map +1 -0
- package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.js +60 -0
- package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.js.map +1 -0
- package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.d.ts +37 -0
- package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.d.ts.map +1 -0
- package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.js +54 -0
- package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.js.map +1 -0
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.d.ts +4 -4
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.d.ts.map +1 -1
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.js.map +1 -1
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.d.ts +8 -8
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.d.ts.map +1 -1
- package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.js.map +1 -1
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.d.ts +54 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.d.ts.map +1 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.js +103 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.js.map +1 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.d.ts +154 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.d.ts.map +1 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.js +165 -0
- package/dist/esm/react-query/organizationsListCompanyTargetFacilities.js.map +1 -0
- package/dist/esm/react-query/organizationsListFacilityVendors.core.d.ts +2 -2
- package/dist/esm/react-query/organizationsListFacilityVendors.core.d.ts.map +1 -1
- package/dist/esm/react-query/organizationsListFacilityVendors.d.ts +2 -2
- package/dist/esm/react-query/organizationsListFacilityVendors.d.ts.map +1 -1
- package/dist/esm/sdk/organizations.d.ts +64 -0
- package/dist/esm/sdk/organizations.d.ts.map +1 -1
- package/dist/esm/sdk/organizations.js +71 -0
- package/dist/esm/sdk/organizations.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/organizations.test.ts +79 -13
- package/src/__tests__/webhooks.test.ts +1 -1
- package/src/__tests__/zones.test.ts +34 -6
- package/src/funcs/organizationsCreateCompanyTargetFacility.ts +204 -0
- package/src/funcs/organizationsDeleteCompanyTargetFacility.ts +193 -0
- package/src/funcs/organizationsListCompanyTargetFacilities.ts +291 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/companytargetfacility.ts +124 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/operations/createcompanytargetfacility.ts +132 -0
- package/src/models/operations/deletecompanytargetfacility.ts +47 -0
- package/src/models/operations/exportcompanytargetfacilities.ts +34 -31
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/listcompanytargetfacilities.ts +293 -0
- package/src/models/operations/listfacilityvendors.ts +10 -7
- package/src/react-query/index.ts +3 -0
- package/src/react-query/organizationsCreateCompanyTargetFacility.ts +129 -0
- package/src/react-query/organizationsDeleteCompanyTargetFacility.ts +122 -0
- package/src/react-query/organizationsExportCompanyTargetFacilities.core.ts +4 -6
- package/src/react-query/organizationsExportCompanyTargetFacilities.ts +12 -10
- package/src/react-query/organizationsListCompanyTargetFacilities.core.ts +239 -0
- package/src/react-query/organizationsListCompanyTargetFacilities.ts +369 -0
- package/src/react-query/organizationsListFacilityVendors.core.ts +2 -2
- package/src/react-query/organizationsListFacilityVendors.ts +2 -2
- package/src/sdk/organizations.ts +102 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { QueryClient, QueryFunctionContext, QueryKey } from "@tanstack/react-query";
|
|
2
|
+
import { GreenSecurityCore } from "../core.js";
|
|
3
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
4
|
+
import * as components from "../models/components/index.js";
|
|
5
|
+
import * as operations from "../models/operations/index.js";
|
|
6
|
+
import { PageIterator } from "../types/operations.js";
|
|
7
|
+
export type OrganizationsListCompanyTargetFacilitiesQueryData = operations.ListCompanyTargetFacilitiesResponse;
|
|
8
|
+
export type OrganizationsListCompanyTargetFacilitiesInfiniteQueryData = PageIterator<operations.ListCompanyTargetFacilitiesResponse, {
|
|
9
|
+
page: number;
|
|
10
|
+
}>;
|
|
11
|
+
export type OrganizationsListCompanyTargetFacilitiesPageParams = PageIterator<operations.ListCompanyTargetFacilitiesResponse, {
|
|
12
|
+
page: number;
|
|
13
|
+
}>["~next"];
|
|
14
|
+
export declare function prefetchOrganizationsListCompanyTargetFacilities(queryClient: QueryClient, client$: GreenSecurityCore, request: operations.ListCompanyTargetFacilitiesRequest, options?: RequestOptions): Promise<void>;
|
|
15
|
+
export declare function prefetchOrganizationsListCompanyTargetFacilitiesInfinite(queryClient: QueryClient, client$: GreenSecurityCore, request: operations.ListCompanyTargetFacilitiesRequest, options?: RequestOptions): Promise<void>;
|
|
16
|
+
export declare function buildOrganizationsListCompanyTargetFacilitiesQuery(client$: GreenSecurityCore, request: operations.ListCompanyTargetFacilitiesRequest, options?: RequestOptions): {
|
|
17
|
+
queryKey: QueryKey;
|
|
18
|
+
queryFn: (context: QueryFunctionContext) => Promise<OrganizationsListCompanyTargetFacilitiesQueryData>;
|
|
19
|
+
};
|
|
20
|
+
export declare function buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery(client$: GreenSecurityCore, request: operations.ListCompanyTargetFacilitiesRequest, options?: RequestOptions): {
|
|
21
|
+
queryKey: QueryKey;
|
|
22
|
+
queryFn: (context: QueryFunctionContext<QueryKey, OrganizationsListCompanyTargetFacilitiesPageParams>) => Promise<OrganizationsListCompanyTargetFacilitiesInfiniteQueryData>;
|
|
23
|
+
};
|
|
24
|
+
export declare function queryKeyOrganizationsListCompanyTargetFacilities(companyId: number, parameters: {
|
|
25
|
+
expand?: Array<components.Expand> | undefined;
|
|
26
|
+
status?: operations.ListCompanyTargetFacilitiesQueryParamStatus | undefined;
|
|
27
|
+
hasIndividual?: operations.HasIndividual | undefined;
|
|
28
|
+
hasActiveIndividual?: operations.HasActiveIndividual | undefined;
|
|
29
|
+
includePotentialTargets?: operations.IncludePotentialTargets | undefined;
|
|
30
|
+
facilityNameLike?: string | undefined;
|
|
31
|
+
cityLike?: string | undefined;
|
|
32
|
+
addressLike?: string | undefined;
|
|
33
|
+
systemNameLike?: string | undefined;
|
|
34
|
+
sort?: operations.QueryParamSort | undefined;
|
|
35
|
+
desc?: components.Desc | undefined;
|
|
36
|
+
page?: number | undefined;
|
|
37
|
+
itemsPerPage?: number | undefined;
|
|
38
|
+
}): QueryKey;
|
|
39
|
+
export declare function queryKeyOrganizationsListCompanyTargetFacilitiesInfinite(companyId: number, parameters: {
|
|
40
|
+
expand?: Array<components.Expand> | undefined;
|
|
41
|
+
status?: operations.ListCompanyTargetFacilitiesQueryParamStatus | undefined;
|
|
42
|
+
hasIndividual?: operations.HasIndividual | undefined;
|
|
43
|
+
hasActiveIndividual?: operations.HasActiveIndividual | undefined;
|
|
44
|
+
includePotentialTargets?: operations.IncludePotentialTargets | undefined;
|
|
45
|
+
facilityNameLike?: string | undefined;
|
|
46
|
+
cityLike?: string | undefined;
|
|
47
|
+
addressLike?: string | undefined;
|
|
48
|
+
systemNameLike?: string | undefined;
|
|
49
|
+
sort?: operations.QueryParamSort | undefined;
|
|
50
|
+
desc?: components.Desc | undefined;
|
|
51
|
+
page?: number | undefined;
|
|
52
|
+
itemsPerPage?: number | undefined;
|
|
53
|
+
}): QueryKey;
|
|
54
|
+
//# sourceMappingURL=organizationsListCompanyTargetFacilities.core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationsListCompanyTargetFacilities.core.d.ts","sourceRoot":"","sources":["../../../src/react-query/organizationsListCompanyTargetFacilities.core.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,QAAQ,EACT,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9C,MAAM,CAAC,EAAE,UAAU,CAAC,2CAA2C,GAAG,SAAS,CAAC;IAC5E,aAAa,CAAC,EAAE,UAAU,CAAC,aAAa,GAAG,SAAS,CAAC;IACrD,mBAAmB,CAAC,EAAE,UAAU,CAAC,mBAAmB,GAAG,SAAS,CAAC;IACjE,uBAAuB,CAAC,EAAE,UAAU,CAAC,uBAAuB,GAAG,SAAS,CAAC;IACzE,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,IAAI,CAAC,EAAE,UAAU,CAAC,cAAc,GAAG,SAAS,CAAC;IAC7C,IAAI,CAAC,EAAE,UAAU,CAAC,IAAI,GAAG,SAAS,CAAC;IACnC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,GACA,QAAQ,CASV"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { organizationsListCompanyTargetFacilities } from "../funcs/organizationsListCompanyTargetFacilities.js";
|
|
5
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
6
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
7
|
+
import { unwrapResultIterator } from "../types/operations.js";
|
|
8
|
+
import { pageIteratorToJSON } from "./_types.js";
|
|
9
|
+
export function prefetchOrganizationsListCompanyTargetFacilities(queryClient, client$, request, options) {
|
|
10
|
+
return queryClient.prefetchQuery({
|
|
11
|
+
...buildOrganizationsListCompanyTargetFacilitiesQuery(client$, request, options),
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
export function prefetchOrganizationsListCompanyTargetFacilitiesInfinite(queryClient, client$, request, options) {
|
|
15
|
+
return queryClient.prefetchInfiniteQuery({
|
|
16
|
+
...buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery(client$, request, options),
|
|
17
|
+
initialPageParam: undefined,
|
|
18
|
+
getNextPageParam: (previousPage) => previousPage["~next"],
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
export function buildOrganizationsListCompanyTargetFacilitiesQuery(client$, request, options) {
|
|
22
|
+
return {
|
|
23
|
+
queryKey: queryKeyOrganizationsListCompanyTargetFacilities(request.companyId, {
|
|
24
|
+
expand: request.expand,
|
|
25
|
+
status: request.status,
|
|
26
|
+
hasIndividual: request.hasIndividual,
|
|
27
|
+
hasActiveIndividual: request.hasActiveIndividual,
|
|
28
|
+
includePotentialTargets: request.includePotentialTargets,
|
|
29
|
+
facilityNameLike: request.facilityNameLike,
|
|
30
|
+
cityLike: request.cityLike,
|
|
31
|
+
addressLike: request.addressLike,
|
|
32
|
+
systemNameLike: request.systemNameLike,
|
|
33
|
+
sort: request.sort,
|
|
34
|
+
desc: request.desc,
|
|
35
|
+
page: request.page,
|
|
36
|
+
itemsPerPage: request.itemsPerPage,
|
|
37
|
+
}),
|
|
38
|
+
queryFn: async function organizationsListCompanyTargetFacilitiesQueryFn(ctx) {
|
|
39
|
+
const sig = combineSignals(ctx.signal, options?.signal, options?.fetchOptions?.signal);
|
|
40
|
+
const mergedOptions = {
|
|
41
|
+
...options?.fetchOptions,
|
|
42
|
+
...options,
|
|
43
|
+
signal: sig,
|
|
44
|
+
};
|
|
45
|
+
return unwrapAsync(organizationsListCompanyTargetFacilities(client$, request, mergedOptions));
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery(client$, request, options) {
|
|
50
|
+
return {
|
|
51
|
+
queryKey: queryKeyOrganizationsListCompanyTargetFacilitiesInfinite(request.companyId, {
|
|
52
|
+
expand: request.expand,
|
|
53
|
+
status: request.status,
|
|
54
|
+
hasIndividual: request.hasIndividual,
|
|
55
|
+
hasActiveIndividual: request.hasActiveIndividual,
|
|
56
|
+
includePotentialTargets: request.includePotentialTargets,
|
|
57
|
+
facilityNameLike: request.facilityNameLike,
|
|
58
|
+
cityLike: request.cityLike,
|
|
59
|
+
addressLike: request.addressLike,
|
|
60
|
+
systemNameLike: request.systemNameLike,
|
|
61
|
+
sort: request.sort,
|
|
62
|
+
desc: request.desc,
|
|
63
|
+
page: request.page,
|
|
64
|
+
itemsPerPage: request.itemsPerPage,
|
|
65
|
+
}),
|
|
66
|
+
queryFn: async function organizationsListCompanyTargetFacilitiesQuery(ctx) {
|
|
67
|
+
const sig = combineSignals(ctx.signal, options?.fetchOptions?.signal);
|
|
68
|
+
const mergedOptions = {
|
|
69
|
+
...options,
|
|
70
|
+
fetchOptions: { ...options?.fetchOptions, signal: sig },
|
|
71
|
+
};
|
|
72
|
+
if (!ctx.pageParam) {
|
|
73
|
+
const pageResult = await unwrapResultIterator(organizationsListCompanyTargetFacilities(client$, request, mergedOptions));
|
|
74
|
+
return pageIteratorToJSON(pageResult);
|
|
75
|
+
}
|
|
76
|
+
const pageResult = await unwrapResultIterator(organizationsListCompanyTargetFacilities(client$, {
|
|
77
|
+
...request,
|
|
78
|
+
page: ctx.pageParam.page,
|
|
79
|
+
}, mergedOptions));
|
|
80
|
+
return pageIteratorToJSON(pageResult);
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
export function queryKeyOrganizationsListCompanyTargetFacilities(companyId, parameters) {
|
|
85
|
+
return [
|
|
86
|
+
"@greensecurity/javascript-sdk",
|
|
87
|
+
"organizations",
|
|
88
|
+
"listCompanyTargetFacilities",
|
|
89
|
+
companyId,
|
|
90
|
+
parameters,
|
|
91
|
+
];
|
|
92
|
+
}
|
|
93
|
+
export function queryKeyOrganizationsListCompanyTargetFacilitiesInfinite(companyId, parameters) {
|
|
94
|
+
return [
|
|
95
|
+
"@greensecurity/javascript-sdk",
|
|
96
|
+
"organizations",
|
|
97
|
+
"listCompanyTargetFacilities",
|
|
98
|
+
"infinite",
|
|
99
|
+
companyId,
|
|
100
|
+
parameters,
|
|
101
|
+
];
|
|
102
|
+
}
|
|
103
|
+
//# sourceMappingURL=organizationsListCompanyTargetFacilities.core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationsListCompanyTargetFacilities.core.js","sourceRoot":"","sources":["../../../src/react-query/organizationsListCompanyTargetFacilities.core.ts"],"names":[],"mappings":"AAAA;;GAEG;AAQH,OAAO,EAAE,wCAAwC,EAAE,MAAM,sDAAsD,CAAC;AAChH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAItD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAgB,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAejD,MAAM,UAAU,gDAAgD,CAC9D,WAAwB,EACxB,OAA0B,EAC1B,OAAsD,EACtD,OAAwB;IAExB,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,kDAAkD,CACnD,OAAO,EACP,OAAO,EACP,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,wDAAwD,CACtE,WAAwB,EACxB,OAA0B,EAC1B,OAAsD,EACtD,OAAwB;IAExB,OAAO,WAAW,CAAC,qBAAqB,CAAC;QACvC,GAAG,0DAA0D,CAC3D,OAAO,EACP,OAAO,EACP,OAAO,CACR;QACD,gBAAgB,EACd,SAA+D;QACjE,gBAAgB,EAAE,CAChB,YAAuE,EACvE,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC;KAC3B,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,kDAAkD,CAChE,OAA0B,EAC1B,OAAsD,EACtD,OAAwB;IAOxB,OAAO;QACL,QAAQ,EAAE,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ED,MAAM,UAAU,wDAAwD,CACtE,SAAiB,EACjB,UAcC;IAED,OAAO;QACL,+BAA+B;QAC/B,eAAe;QACf,6BAA6B;QAC7B,UAAU;QACV,SAAS;QACT,UAAU;KACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { InfiniteData, InvalidateQueryFilters, QueryClient, UseInfiniteQueryResult, UseQueryResult, UseSuspenseInfiniteQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import * as components from "../models/components/index.js";
|
|
3
|
+
import { GreenSecurityError } from "../models/errors/greensecurityerror.js";
|
|
4
|
+
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
5
|
+
import * as errors from "../models/errors/index.js";
|
|
6
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
7
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
8
|
+
import * as operations from "../models/operations/index.js";
|
|
9
|
+
import { InfiniteQueryHookOptions, QueryHookOptions, SuspenseInfiniteQueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js";
|
|
10
|
+
import { buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery, buildOrganizationsListCompanyTargetFacilitiesQuery, OrganizationsListCompanyTargetFacilitiesInfiniteQueryData, OrganizationsListCompanyTargetFacilitiesPageParams, OrganizationsListCompanyTargetFacilitiesQueryData, prefetchOrganizationsListCompanyTargetFacilities, prefetchOrganizationsListCompanyTargetFacilitiesInfinite, queryKeyOrganizationsListCompanyTargetFacilities, queryKeyOrganizationsListCompanyTargetFacilitiesInfinite } from "./organizationsListCompanyTargetFacilities.core.js";
|
|
11
|
+
export { buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery, buildOrganizationsListCompanyTargetFacilitiesQuery, type OrganizationsListCompanyTargetFacilitiesInfiniteQueryData, type OrganizationsListCompanyTargetFacilitiesPageParams, type OrganizationsListCompanyTargetFacilitiesQueryData, prefetchOrganizationsListCompanyTargetFacilities, prefetchOrganizationsListCompanyTargetFacilitiesInfinite, queryKeyOrganizationsListCompanyTargetFacilities, queryKeyOrganizationsListCompanyTargetFacilitiesInfinite, };
|
|
12
|
+
export type OrganizationsListCompanyTargetFacilitiesQueryError = errors.ApiErrorResponse | GreenSecurityError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError;
|
|
13
|
+
/**
|
|
14
|
+
* List company target facilities
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
* Lists the CompanyTargetFacility links for a company — the facilities the
|
|
18
|
+
* company is targeting. Each row carries the linked facility (with location
|
|
19
|
+
* and parent system), the link status, and per-facility counts of the
|
|
20
|
+
* company's individuals targeting it.
|
|
21
|
+
*
|
|
22
|
+
* When `include_potential_targets=true`, returns ALL non-deleted facilities
|
|
23
|
+
* via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
|
|
24
|
+
* rows have `id: null` and `status: "Not Targeted"`.
|
|
25
|
+
*
|
|
26
|
+
* Access control: the URL's `company_id` must be in the caller's read scope
|
|
27
|
+
* for Company (a company manager's or vendor's own company, or a company
|
|
28
|
+
* whose app is activated for the API user). Callers outside that scope
|
|
29
|
+
* receive `404 Company not found`.
|
|
30
|
+
*
|
|
31
|
+
* Filter with `has_individual` / `has_active_individual` to drive the
|
|
32
|
+
* facility roster views.
|
|
33
|
+
*
|
|
34
|
+
* Available `expand` scopes are:
|
|
35
|
+
*
|
|
36
|
+
* - company_target_facility.facility
|
|
37
|
+
*/
|
|
38
|
+
export declare function useOrganizationsListCompanyTargetFacilities(request: operations.ListCompanyTargetFacilitiesRequest, options?: QueryHookOptions<OrganizationsListCompanyTargetFacilitiesQueryData, OrganizationsListCompanyTargetFacilitiesQueryError>): UseQueryResult<OrganizationsListCompanyTargetFacilitiesQueryData, OrganizationsListCompanyTargetFacilitiesQueryError>;
|
|
39
|
+
/**
|
|
40
|
+
* List company target facilities
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
* Lists the CompanyTargetFacility links for a company — the facilities the
|
|
44
|
+
* company is targeting. Each row carries the linked facility (with location
|
|
45
|
+
* and parent system), the link status, and per-facility counts of the
|
|
46
|
+
* company's individuals targeting it.
|
|
47
|
+
*
|
|
48
|
+
* When `include_potential_targets=true`, returns ALL non-deleted facilities
|
|
49
|
+
* via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
|
|
50
|
+
* rows have `id: null` and `status: "Not Targeted"`.
|
|
51
|
+
*
|
|
52
|
+
* Access control: the URL's `company_id` must be in the caller's read scope
|
|
53
|
+
* for Company (a company manager's or vendor's own company, or a company
|
|
54
|
+
* whose app is activated for the API user). Callers outside that scope
|
|
55
|
+
* receive `404 Company not found`.
|
|
56
|
+
*
|
|
57
|
+
* Filter with `has_individual` / `has_active_individual` to drive the
|
|
58
|
+
* facility roster views.
|
|
59
|
+
*
|
|
60
|
+
* Available `expand` scopes are:
|
|
61
|
+
*
|
|
62
|
+
* - company_target_facility.facility
|
|
63
|
+
*/
|
|
64
|
+
export declare function useOrganizationsListCompanyTargetFacilitiesSuspense(request: operations.ListCompanyTargetFacilitiesRequest, options?: SuspenseQueryHookOptions<OrganizationsListCompanyTargetFacilitiesQueryData, OrganizationsListCompanyTargetFacilitiesQueryError>): UseSuspenseQueryResult<OrganizationsListCompanyTargetFacilitiesQueryData, OrganizationsListCompanyTargetFacilitiesQueryError>;
|
|
65
|
+
/**
|
|
66
|
+
* List company target facilities
|
|
67
|
+
*
|
|
68
|
+
* @remarks
|
|
69
|
+
* Lists the CompanyTargetFacility links for a company — the facilities the
|
|
70
|
+
* company is targeting. Each row carries the linked facility (with location
|
|
71
|
+
* and parent system), the link status, and per-facility counts of the
|
|
72
|
+
* company's individuals targeting it.
|
|
73
|
+
*
|
|
74
|
+
* When `include_potential_targets=true`, returns ALL non-deleted facilities
|
|
75
|
+
* via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
|
|
76
|
+
* rows have `id: null` and `status: "Not Targeted"`.
|
|
77
|
+
*
|
|
78
|
+
* Access control: the URL's `company_id` must be in the caller's read scope
|
|
79
|
+
* for Company (a company manager's or vendor's own company, or a company
|
|
80
|
+
* whose app is activated for the API user). Callers outside that scope
|
|
81
|
+
* receive `404 Company not found`.
|
|
82
|
+
*
|
|
83
|
+
* Filter with `has_individual` / `has_active_individual` to drive the
|
|
84
|
+
* facility roster views.
|
|
85
|
+
*
|
|
86
|
+
* Available `expand` scopes are:
|
|
87
|
+
*
|
|
88
|
+
* - company_target_facility.facility
|
|
89
|
+
*/
|
|
90
|
+
export declare function useOrganizationsListCompanyTargetFacilitiesInfinite(request: operations.ListCompanyTargetFacilitiesRequest, options?: InfiniteQueryHookOptions<OrganizationsListCompanyTargetFacilitiesInfiniteQueryData, OrganizationsListCompanyTargetFacilitiesQueryError>): UseInfiniteQueryResult<InfiniteData<OrganizationsListCompanyTargetFacilitiesInfiniteQueryData, OrganizationsListCompanyTargetFacilitiesPageParams>, OrganizationsListCompanyTargetFacilitiesQueryError>;
|
|
91
|
+
/**
|
|
92
|
+
* List company target facilities
|
|
93
|
+
*
|
|
94
|
+
* @remarks
|
|
95
|
+
* Lists the CompanyTargetFacility links for a company — the facilities the
|
|
96
|
+
* company is targeting. Each row carries the linked facility (with location
|
|
97
|
+
* and parent system), the link status, and per-facility counts of the
|
|
98
|
+
* company's individuals targeting it.
|
|
99
|
+
*
|
|
100
|
+
* When `include_potential_targets=true`, returns ALL non-deleted facilities
|
|
101
|
+
* via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
|
|
102
|
+
* rows have `id: null` and `status: "Not Targeted"`.
|
|
103
|
+
*
|
|
104
|
+
* Access control: the URL's `company_id` must be in the caller's read scope
|
|
105
|
+
* for Company (a company manager's or vendor's own company, or a company
|
|
106
|
+
* whose app is activated for the API user). Callers outside that scope
|
|
107
|
+
* receive `404 Company not found`.
|
|
108
|
+
*
|
|
109
|
+
* Filter with `has_individual` / `has_active_individual` to drive the
|
|
110
|
+
* facility roster views.
|
|
111
|
+
*
|
|
112
|
+
* Available `expand` scopes are:
|
|
113
|
+
*
|
|
114
|
+
* - company_target_facility.facility
|
|
115
|
+
*/
|
|
116
|
+
export declare function useOrganizationsListCompanyTargetFacilitiesInfiniteSuspense(request: operations.ListCompanyTargetFacilitiesRequest, options?: SuspenseInfiniteQueryHookOptions<OrganizationsListCompanyTargetFacilitiesInfiniteQueryData, OrganizationsListCompanyTargetFacilitiesQueryError>): UseSuspenseInfiniteQueryResult<InfiniteData<OrganizationsListCompanyTargetFacilitiesInfiniteQueryData, OrganizationsListCompanyTargetFacilitiesPageParams>, OrganizationsListCompanyTargetFacilitiesQueryError>;
|
|
117
|
+
export declare function setOrganizationsListCompanyTargetFacilitiesData(client: QueryClient, queryKeyBase: [
|
|
118
|
+
companyId: number,
|
|
119
|
+
parameters: {
|
|
120
|
+
expand?: Array<components.Expand> | undefined;
|
|
121
|
+
status?: operations.ListCompanyTargetFacilitiesQueryParamStatus | undefined;
|
|
122
|
+
hasIndividual?: operations.HasIndividual | undefined;
|
|
123
|
+
hasActiveIndividual?: operations.HasActiveIndividual | undefined;
|
|
124
|
+
includePotentialTargets?: operations.IncludePotentialTargets | undefined;
|
|
125
|
+
facilityNameLike?: string | undefined;
|
|
126
|
+
cityLike?: string | undefined;
|
|
127
|
+
addressLike?: string | undefined;
|
|
128
|
+
systemNameLike?: string | undefined;
|
|
129
|
+
sort?: operations.QueryParamSort | undefined;
|
|
130
|
+
desc?: components.Desc | undefined;
|
|
131
|
+
page?: number | undefined;
|
|
132
|
+
itemsPerPage?: number | undefined;
|
|
133
|
+
}
|
|
134
|
+
], data: OrganizationsListCompanyTargetFacilitiesQueryData): OrganizationsListCompanyTargetFacilitiesQueryData | undefined;
|
|
135
|
+
export declare function invalidateOrganizationsListCompanyTargetFacilities(client: QueryClient, queryKeyBase: TupleToPrefixes<[
|
|
136
|
+
companyId: number,
|
|
137
|
+
parameters: {
|
|
138
|
+
expand?: Array<components.Expand> | undefined;
|
|
139
|
+
status?: operations.ListCompanyTargetFacilitiesQueryParamStatus | undefined;
|
|
140
|
+
hasIndividual?: operations.HasIndividual | undefined;
|
|
141
|
+
hasActiveIndividual?: operations.HasActiveIndividual | undefined;
|
|
142
|
+
includePotentialTargets?: operations.IncludePotentialTargets | undefined;
|
|
143
|
+
facilityNameLike?: string | undefined;
|
|
144
|
+
cityLike?: string | undefined;
|
|
145
|
+
addressLike?: string | undefined;
|
|
146
|
+
systemNameLike?: string | undefined;
|
|
147
|
+
sort?: operations.QueryParamSort | undefined;
|
|
148
|
+
desc?: components.Desc | undefined;
|
|
149
|
+
page?: number | undefined;
|
|
150
|
+
itemsPerPage?: number | undefined;
|
|
151
|
+
}
|
|
152
|
+
]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
153
|
+
export declare function invalidateAllOrganizationsListCompanyTargetFacilities(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
154
|
+
//# sourceMappingURL=organizationsListCompanyTargetFacilities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationsListCompanyTargetFacilities.d.ts","sourceRoot":"","sources":["../../../src/react-query/organizationsListCompanyTargetFacilities.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,WAAW,EAGX,sBAAsB,EAEtB,cAAc,EAEd,8BAA8B,EAE9B,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAA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,CAUf;AAED,wBAAgB,qDAAqD,CACnE,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CASf"}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { useInfiniteQuery, useQuery, useSuspenseInfiniteQuery, useSuspenseQuery, } from "@tanstack/react-query";
|
|
5
|
+
import { useGreenSecurityContext } from "./_context.js";
|
|
6
|
+
import { buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery, buildOrganizationsListCompanyTargetFacilitiesQuery, prefetchOrganizationsListCompanyTargetFacilities, prefetchOrganizationsListCompanyTargetFacilitiesInfinite, queryKeyOrganizationsListCompanyTargetFacilities, queryKeyOrganizationsListCompanyTargetFacilitiesInfinite, } from "./organizationsListCompanyTargetFacilities.core.js";
|
|
7
|
+
export { buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery, buildOrganizationsListCompanyTargetFacilitiesQuery, prefetchOrganizationsListCompanyTargetFacilities, prefetchOrganizationsListCompanyTargetFacilitiesInfinite, queryKeyOrganizationsListCompanyTargetFacilities, queryKeyOrganizationsListCompanyTargetFacilitiesInfinite, };
|
|
8
|
+
/**
|
|
9
|
+
* List company target facilities
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* Lists the CompanyTargetFacility links for a company — the facilities the
|
|
13
|
+
* company is targeting. Each row carries the linked facility (with location
|
|
14
|
+
* and parent system), the link status, and per-facility counts of the
|
|
15
|
+
* company's individuals targeting it.
|
|
16
|
+
*
|
|
17
|
+
* When `include_potential_targets=true`, returns ALL non-deleted facilities
|
|
18
|
+
* via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
|
|
19
|
+
* rows have `id: null` and `status: "Not Targeted"`.
|
|
20
|
+
*
|
|
21
|
+
* Access control: the URL's `company_id` must be in the caller's read scope
|
|
22
|
+
* for Company (a company manager's or vendor's own company, or a company
|
|
23
|
+
* whose app is activated for the API user). Callers outside that scope
|
|
24
|
+
* receive `404 Company not found`.
|
|
25
|
+
*
|
|
26
|
+
* Filter with `has_individual` / `has_active_individual` to drive the
|
|
27
|
+
* facility roster views.
|
|
28
|
+
*
|
|
29
|
+
* Available `expand` scopes are:
|
|
30
|
+
*
|
|
31
|
+
* - company_target_facility.facility
|
|
32
|
+
*/
|
|
33
|
+
export function useOrganizationsListCompanyTargetFacilities(request, options) {
|
|
34
|
+
const client = useGreenSecurityContext();
|
|
35
|
+
return useQuery({
|
|
36
|
+
...buildOrganizationsListCompanyTargetFacilitiesQuery(client, request, options),
|
|
37
|
+
...options,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* List company target facilities
|
|
42
|
+
*
|
|
43
|
+
* @remarks
|
|
44
|
+
* Lists the CompanyTargetFacility links for a company — the facilities the
|
|
45
|
+
* company is targeting. Each row carries the linked facility (with location
|
|
46
|
+
* and parent system), the link status, and per-facility counts of the
|
|
47
|
+
* company's individuals targeting it.
|
|
48
|
+
*
|
|
49
|
+
* When `include_potential_targets=true`, returns ALL non-deleted facilities
|
|
50
|
+
* via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
|
|
51
|
+
* rows have `id: null` and `status: "Not Targeted"`.
|
|
52
|
+
*
|
|
53
|
+
* Access control: the URL's `company_id` must be in the caller's read scope
|
|
54
|
+
* for Company (a company manager's or vendor's own company, or a company
|
|
55
|
+
* whose app is activated for the API user). Callers outside that scope
|
|
56
|
+
* receive `404 Company not found`.
|
|
57
|
+
*
|
|
58
|
+
* Filter with `has_individual` / `has_active_individual` to drive the
|
|
59
|
+
* facility roster views.
|
|
60
|
+
*
|
|
61
|
+
* Available `expand` scopes are:
|
|
62
|
+
*
|
|
63
|
+
* - company_target_facility.facility
|
|
64
|
+
*/
|
|
65
|
+
export function useOrganizationsListCompanyTargetFacilitiesSuspense(request, options) {
|
|
66
|
+
const client = useGreenSecurityContext();
|
|
67
|
+
return useSuspenseQuery({
|
|
68
|
+
...buildOrganizationsListCompanyTargetFacilitiesQuery(client, request, options),
|
|
69
|
+
...options,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* List company target facilities
|
|
74
|
+
*
|
|
75
|
+
* @remarks
|
|
76
|
+
* Lists the CompanyTargetFacility links for a company — the facilities the
|
|
77
|
+
* company is targeting. Each row carries the linked facility (with location
|
|
78
|
+
* and parent system), the link status, and per-facility counts of the
|
|
79
|
+
* company's individuals targeting it.
|
|
80
|
+
*
|
|
81
|
+
* When `include_potential_targets=true`, returns ALL non-deleted facilities
|
|
82
|
+
* via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
|
|
83
|
+
* rows have `id: null` and `status: "Not Targeted"`.
|
|
84
|
+
*
|
|
85
|
+
* Access control: the URL's `company_id` must be in the caller's read scope
|
|
86
|
+
* for Company (a company manager's or vendor's own company, or a company
|
|
87
|
+
* whose app is activated for the API user). Callers outside that scope
|
|
88
|
+
* receive `404 Company not found`.
|
|
89
|
+
*
|
|
90
|
+
* Filter with `has_individual` / `has_active_individual` to drive the
|
|
91
|
+
* facility roster views.
|
|
92
|
+
*
|
|
93
|
+
* Available `expand` scopes are:
|
|
94
|
+
*
|
|
95
|
+
* - company_target_facility.facility
|
|
96
|
+
*/
|
|
97
|
+
export function useOrganizationsListCompanyTargetFacilitiesInfinite(request, options) {
|
|
98
|
+
const client = useGreenSecurityContext();
|
|
99
|
+
return useInfiniteQuery({
|
|
100
|
+
...buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery(client, request, options),
|
|
101
|
+
initialPageParam: options?.initialPageParam,
|
|
102
|
+
getNextPageParam: (previousPage) => previousPage["~next"],
|
|
103
|
+
...options,
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* List company target facilities
|
|
108
|
+
*
|
|
109
|
+
* @remarks
|
|
110
|
+
* Lists the CompanyTargetFacility links for a company — the facilities the
|
|
111
|
+
* company is targeting. Each row carries the linked facility (with location
|
|
112
|
+
* and parent system), the link status, and per-facility counts of the
|
|
113
|
+
* company's individuals targeting it.
|
|
114
|
+
*
|
|
115
|
+
* When `include_potential_targets=true`, returns ALL non-deleted facilities
|
|
116
|
+
* via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
|
|
117
|
+
* rows have `id: null` and `status: "Not Targeted"`.
|
|
118
|
+
*
|
|
119
|
+
* Access control: the URL's `company_id` must be in the caller's read scope
|
|
120
|
+
* for Company (a company manager's or vendor's own company, or a company
|
|
121
|
+
* whose app is activated for the API user). Callers outside that scope
|
|
122
|
+
* receive `404 Company not found`.
|
|
123
|
+
*
|
|
124
|
+
* Filter with `has_individual` / `has_active_individual` to drive the
|
|
125
|
+
* facility roster views.
|
|
126
|
+
*
|
|
127
|
+
* Available `expand` scopes are:
|
|
128
|
+
*
|
|
129
|
+
* - company_target_facility.facility
|
|
130
|
+
*/
|
|
131
|
+
export function useOrganizationsListCompanyTargetFacilitiesInfiniteSuspense(request, options) {
|
|
132
|
+
const client = useGreenSecurityContext();
|
|
133
|
+
return useSuspenseInfiniteQuery({
|
|
134
|
+
...buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery(client, request, options),
|
|
135
|
+
initialPageParam: options?.initialPageParam,
|
|
136
|
+
getNextPageParam: (previousPage) => previousPage["~next"],
|
|
137
|
+
...options,
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
export function setOrganizationsListCompanyTargetFacilitiesData(client, queryKeyBase, data) {
|
|
141
|
+
const key = queryKeyOrganizationsListCompanyTargetFacilities(...queryKeyBase);
|
|
142
|
+
return client.setQueryData(key, data);
|
|
143
|
+
}
|
|
144
|
+
export function invalidateOrganizationsListCompanyTargetFacilities(client, queryKeyBase, filters) {
|
|
145
|
+
return client.invalidateQueries({
|
|
146
|
+
...filters,
|
|
147
|
+
queryKey: [
|
|
148
|
+
"@greensecurity/javascript-sdk",
|
|
149
|
+
"organizations",
|
|
150
|
+
"listCompanyTargetFacilities",
|
|
151
|
+
...queryKeyBase,
|
|
152
|
+
],
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
export function invalidateAllOrganizationsListCompanyTargetFacilities(client, filters) {
|
|
156
|
+
return client.invalidateQueries({
|
|
157
|
+
...filters,
|
|
158
|
+
queryKey: [
|
|
159
|
+
"@greensecurity/javascript-sdk",
|
|
160
|
+
"organizations",
|
|
161
|
+
"listCompanyTargetFacilities",
|
|
162
|
+
],
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
//# sourceMappingURL=organizationsListCompanyTargetFacilities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationsListCompanyTargetFacilities.js","sourceRoot":"","sources":["../../../src/react-query/organizationsListCompanyTargetFacilities.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAKL,gBAAgB,EAEhB,QAAQ,EAER,wBAAwB,EAExB,gBAAgB,GAEjB,MAAM,uBAAuB,CAAC;AAc/B,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAQxD,OAAO,EACL,0DAA0D,EAC1D,kDAAkD,EAIlD,gDAAgD,EAChD,wDAAwD,EACxD,gDAAgD,EAChD,wDAAwD,GACzD,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,0DAA0D,EAC1D,kDAAkD,EAIlD,gDAAgD,EAChD,wDAAwD,EACxD,gDAAgD,EAChD,wDAAwD,GACzD,CAAC;AAaF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,UAAU,2CAA2C,CACzD,OAAsD,EACtD,OAGC;IAKD,MAAM,MAAM,GAAG,uBAAuB,EAAE,CAAC;IACzC,OAAO,QAAQ,CAAC;QACd,GAAG,kDAAkD,CACnD,MAAM,EACN,OAA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,MAAM,CAAC,YAAY,CACxB,GAAG,EACH,IAAI,CACL,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kDAAkD,CAChE,MAAmB,EACnB,YAuBC,EACD,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE;YACR,+BAA+B;YAC/B,eAAe;YACf,6BAA6B;YAC7B,GAAG,YAAY;SAChB;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,qDAAqD,CACnE,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE;YACR,+BAA+B;YAC/B,eAAe;YACf,6BAA6B;SAC9B;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -23,7 +23,7 @@ export declare function buildOrganizationsListFacilityVendorsInfiniteQuery(clien
|
|
|
23
23
|
};
|
|
24
24
|
export declare function queryKeyOrganizationsListFacilityVendors(id: number, parameters: {
|
|
25
25
|
companyId?: number | undefined;
|
|
26
|
-
status?: operations.
|
|
26
|
+
status?: operations.ListFacilityVendorsQueryParamStatus | undefined;
|
|
27
27
|
search?: string | undefined;
|
|
28
28
|
page?: number | undefined;
|
|
29
29
|
itemsPerPage?: number | undefined;
|
|
@@ -32,7 +32,7 @@ export declare function queryKeyOrganizationsListFacilityVendors(id: number, par
|
|
|
32
32
|
}): QueryKey;
|
|
33
33
|
export declare function queryKeyOrganizationsListFacilityVendorsInfinite(id: number, parameters: {
|
|
34
34
|
companyId?: number | undefined;
|
|
35
|
-
status?: operations.
|
|
35
|
+
status?: operations.ListFacilityVendorsQueryParamStatus | undefined;
|
|
36
36
|
search?: string | undefined;
|
|
37
37
|
page?: number | undefined;
|
|
38
38
|
itemsPerPage?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationsListFacilityVendors.core.d.ts","sourceRoot":"","sources":["../../../src/react-query/organizations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KAC1B,OAAO,CAAC,yCAAyC,CAAC,CAAC;CACzD,CAgCA;AAED,wBAAgB,kDAAkD,CAChE,OAAO,EAAE,iBAAiB,EAC1B,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CACP,OAAO,EAAE,oBAAoB,CAC3B,QAAQ,EACR,0CAA0C,CAC3C,KACE,OAAO,CAAC,iDAAiD,CAAC,CAAC;CACjE,CA2CA;AAED,wBAAgB,wCAAwC,CACtD,EAAE,EAAE,MAAM,EACV,UAAU,EAAE;IACV,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,MAAM,CAAC,EAAE,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"organizationsListFacilityVendors.core.d.ts","sourceRoot":"","sources":["../../../src/react-query/organizationsListFacilityVendors.core.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,QAAQ,EACT,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAwB,MAAM,wBAAwB,CAAC;AAE5E,MAAM,MAAM,yCAAyC,GACnD,UAAU,CAAC,2BAA2B,CAAC;AAEzC,MAAM,MAAM,iDAAiD,GAAG,YAAY,CAC1E,UAAU,CAAC,2BAA2B,EACtC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CACjB,CAAC;AAEF,MAAM,MAAM,0CAA0C,GAAG,YAAY,CACnE,UAAU,CAAC,2BAA2B,EACtC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CACjB,CAAC,OAAO,CAAC,C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AI,CAAC,EAAE,UAAU,CAAC,iCAAiC,GAAG,SAAS,CAAC;IAChE,IAAI,CAAC,EAAE,UAAU,CAAC,IAAI,GAAG,SAAS,CAAC;CACpC,GACA,QAAQ,CAQV;AAED,wBAAgB,gDAAgD,CAC9D,EAAE,EAAE,MAAM,EACV,UAAU,EAAE;IACV,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,MAAM,CAAC,EAAE,UAAU,CAAC,mCAAmC,GAAG,SAAS,CAAC;IACpE,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,IAAI,CAAC,EAAE,UAAU,CAAC,iCAAiC,GAAG,SAAS,CAAC;IAChE,IAAI,CAAC,EAAE,UAAU,CAAC,IAAI,GAAG,SAAS,CAAC;CACpC,GACA,QAAQ,CASV"}
|
|
@@ -118,7 +118,7 @@ export declare function setOrganizationsListFacilityVendorsData(client: QueryCli
|
|
|
118
118
|
id: number,
|
|
119
119
|
parameters: {
|
|
120
120
|
companyId?: number | undefined;
|
|
121
|
-
status?: operations.
|
|
121
|
+
status?: operations.ListFacilityVendorsQueryParamStatus | undefined;
|
|
122
122
|
search?: string | undefined;
|
|
123
123
|
page?: number | undefined;
|
|
124
124
|
itemsPerPage?: number | undefined;
|
|
@@ -130,7 +130,7 @@ export declare function invalidateOrganizationsListFacilityVendors(client: Query
|
|
|
130
130
|
id: number,
|
|
131
131
|
parameters: {
|
|
132
132
|
companyId?: number | undefined;
|
|
133
|
-
status?: operations.
|
|
133
|
+
status?: operations.ListFacilityVendorsQueryParamStatus | undefined;
|
|
134
134
|
search?: string | undefined;
|
|
135
135
|
page?: number | undefined;
|
|
136
136
|
itemsPerPage?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationsListFacilityVendors.d.ts","sourceRoot":"","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;;;;;;;;;GAwBG;AACH,wBAAgB,mCAAmC,CACjD,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,gBAAgB,CACxB,yCAAyC,EACzC,0CAA0C,CAC3C,GACA,cAAc,CACf,yCAAyC,EACzC,0CAA0C,CAC3C,CAUA;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,2CAA2C,CACzD,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,wBAAwB,CAChC,yCAAyC,EACzC,0CAA0C,CAC3C,GACA,sBAAsB,CACvB,yCAAyC,EACzC,0CAA0C,CAC3C,CAUA;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,2CAA2C,CACzD,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,wBAAwB,CAChC,iDAAiD,EACjD,0CAA0C,CAC3C,GACA,sBAAsB,CACvB,YAAY,CACV,iDAAiD,EACjD,0CAA0C,CAC3C,EACD,0CAA0C,CAC3C,CAqBA;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,mDAAmD,CACjE,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,gCAAgC,CACxC,iDAAiD,EACjD,0CAA0C,CAC3C,GACA,8BAA8B,CAC/B,YAAY,CACV,iDAAiD,EACjD,0CAA0C,CAC3C,EACD,0CAA0C,CAC3C,CAqBA;AAED,wBAAgB,uCAAuC,CACrD,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE;IACZ,EAAE,EAAE,MAAM;IACV,UAAU,EAAE;QACV,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC/B,MAAM,CAAC,EAAE,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"organizationsListFacilityVendors.d.ts","sourceRoot":"","sources":["../../../src/react-query/organizationsListFacilityVendors.ts"],"names":[],"m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