@greensecurity/javascript-sdk 0.44.0-beta.14 → 0.44.0-beta.16
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__/zones.test.js +4 -31
- 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 +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- 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__/zones.test.js +4 -31
- 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 +2 -2
- package/dist/esm/lib/config.js +2 -2
- 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__/zones.test.ts +4 -31
- 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 +2 -2
- 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
|
@@ -40,11 +40,11 @@ export declare function useOrganizationsExportCompanyTargetFacilitiesSuspense(re
|
|
|
40
40
|
export declare function setOrganizationsExportCompanyTargetFacilitiesData(client: QueryClient, queryKeyBase: [
|
|
41
41
|
companyId: number,
|
|
42
42
|
parameters: {
|
|
43
|
-
status?: operations.
|
|
44
|
-
hasIndividual?: operations.
|
|
45
|
-
hasActiveIndividual?: operations.
|
|
43
|
+
status?: operations.QueryParamStatus | undefined;
|
|
44
|
+
hasIndividual?: operations.QueryParamHasIndividual | undefined;
|
|
45
|
+
hasActiveIndividual?: operations.QueryParamHasActiveIndividual | undefined;
|
|
46
46
|
facilityNameLike?: string | undefined;
|
|
47
|
-
sort?: operations.
|
|
47
|
+
sort?: operations.ExportCompanyTargetFacilitiesQueryParamSort | undefined;
|
|
48
48
|
desc?: operations.Desc | undefined;
|
|
49
49
|
itemsPerPage?: number | undefined;
|
|
50
50
|
}
|
|
@@ -52,11 +52,11 @@ export declare function setOrganizationsExportCompanyTargetFacilitiesData(client
|
|
|
52
52
|
export declare function invalidateOrganizationsExportCompanyTargetFacilities(client: QueryClient, queryKeyBase: TupleToPrefixes<[
|
|
53
53
|
companyId: number,
|
|
54
54
|
parameters: {
|
|
55
|
-
status?: operations.
|
|
56
|
-
hasIndividual?: operations.
|
|
57
|
-
hasActiveIndividual?: operations.
|
|
55
|
+
status?: operations.QueryParamStatus | undefined;
|
|
56
|
+
hasIndividual?: operations.QueryParamHasIndividual | undefined;
|
|
57
|
+
hasActiveIndividual?: operations.QueryParamHasActiveIndividual | undefined;
|
|
58
58
|
facilityNameLike?: string | undefined;
|
|
59
|
-
sort?: operations.
|
|
59
|
+
sort?: operations.ExportCompanyTargetFacilitiesQueryParamSort | undefined;
|
|
60
60
|
desc?: operations.Desc | undefined;
|
|
61
61
|
itemsPerPage?: number | undefined;
|
|
62
62
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationsExportCompanyTargetFacilities.d.ts","sourceRoot":"","sources":["../../../src/react-query/organizationsExportCompanyTargetFacilities.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,EAEX,cAAc,EAEd,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,eAAe,EAChB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,oDAAoD,EACpD,mDAAmD,EACnD,kDAAkD,EAClD,kDAAkD,EACnD,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EACL,oDAAoD,EACpD,KAAK,mDAAmD,EACxD,kDAAkD,EAClD,kDAAkD,GACnD,CAAC;AAEF,MAAM,MAAM,oDAAoD,GAC5D,MAAM,CAAC,gBAAgB,GACvB,kBAAkB,GAClB,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CAAC;AAEvB;;;;;;;;;;;;GAYG;AACH,wBAAgB,6CAA6C,CAC3D,OAAO,EAAE,UAAU,CAAC,oCAAoC,EACxD,OAAO,CAAC,EAAE,gBAAgB,CACxB,mDAAmD,EACnD,oDAAoD,CACrD,GACA,cAAc,CACf,mDAAmD,EACnD,oDAAoD,CACrD,CAUA;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,qDAAqD,CACnE,OAAO,EAAE,UAAU,CAAC,oCAAoC,EACxD,OAAO,CAAC,EAAE,wBAAwB,CAChC,mDAAmD,EACnD,oDAAoD,CACrD,GACA,sBAAsB,CACvB,mDAAmD,EACnD,oDAAoD,CACrD,CAUA;AAED,wBAAgB,iDAAiD,CAC/D,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE;IACZ,SAAS,EAAE,MAAM;IACjB,UAAU,EAAE;QACV,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"organizationsExportCompanyTargetFacilities.d.ts","sourceRoot":"","sources":["../../../src/react-query/organizationsExportCompanyTargetFacilities.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,s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,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAUf;AAED,wBAAgB,uDAAuD,CACrE,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CASf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationsExportCompanyTargetFacilities.js","sourceRoot":"","sources":["../../../src/react-query/organizationsExportCompanyTargetFacilities.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAiEH,sGAmBC;AAeD,sHAmBC;AAED,8GAyBC;AAED,
|
|
1
|
+
{"version":3,"file":"organizationsExportCompanyTargetFacilities.js","sourceRoot":"","sources":["../../../src/react-query/organizationsExportCompanyTargetFacilities.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAiEH,sGAmBC;AAeD,sHAmBC;AAED,8GAyBC;AAED,oHA+BC;AAED,0HAYC;AA9LD,uDAO+B;AAa/B,+CAAwD;AAMxD,6HAK8D;AAE5D,qIANA,yGAAoD,OAMA;AAEpD,mIANA,uGAAkD,OAMA;AAClD,mIANA,uGAAkD,OAMA;AAcpD;;;;;;;;;;;;GAYG;AACH,SAAgB,6CAA6C,CAC3D,OAAwD,EACxD,OAGC;IAKD,MAAM,MAAM,GAAG,IAAA,qCAAuB,GAAE,CAAC;IACzC,OAAO,IAAA,sBAAQ,EAAC;QACd,GAAG,IAAA,yGAAoD,EACrD,MAAM,EACN,OAAO,EACP,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,SAAgB,qDAAqD,CACnE,OAAwD,EACxD,OAGC;IAKD,MAAM,MAAM,GAAG,IAAA,qCAAuB,GAAE,CAAC;IACzC,OAAO,IAAA,8BAAgB,EAAC;QACtB,GAAG,IAAA,yGAAoD,EACrD,MAAM,EACN,OAAO,EACP,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,iDAAiD,CAC/D,MAAmB,EACnB,YAaC,EACD,IAAyD;IAEzD,MAAM,GAAG,GAAG,IAAA,uGAAkD,EAC5D,GAAG,YAAY,CAChB,CAAC;IAEF,OAAO,MAAM,CAAC,YAAY,CAExB,GAAG,EAAE,IAAI,CAAC,CAAC;AACf,CAAC;AAED,SAAgB,oDAAoD,CAClE,MAAmB,EACnB,YAiBC,EACD,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE;YACR,+BAA+B;YAC/B,eAAe;YACf,+BAA+B;YAC/B,GAAG,YAAY;SAChB;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,uDAAuD,CACrE,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE;YACR,+BAA+B;YAC/B,eAAe;YACf,+BAA+B;SAChC;KACF,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -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,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,iDAAiD,GAC3D,UAAU,CAAC,mCAAmC,CAAC;AAEjD,MAA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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,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.prefetchOrganizationsListCompanyTargetFacilities = prefetchOrganizationsListCompanyTargetFacilities;
|
|
7
|
+
exports.prefetchOrganizationsListCompanyTargetFacilitiesInfinite = prefetchOrganizationsListCompanyTargetFacilitiesInfinite;
|
|
8
|
+
exports.buildOrganizationsListCompanyTargetFacilitiesQuery = buildOrganizationsListCompanyTargetFacilitiesQuery;
|
|
9
|
+
exports.buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery = buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery;
|
|
10
|
+
exports.queryKeyOrganizationsListCompanyTargetFacilities = queryKeyOrganizationsListCompanyTargetFacilities;
|
|
11
|
+
exports.queryKeyOrganizationsListCompanyTargetFacilitiesInfinite = queryKeyOrganizationsListCompanyTargetFacilitiesInfinite;
|
|
12
|
+
const organizationsListCompanyTargetFacilities_js_1 = require("../funcs/organizationsListCompanyTargetFacilities.js");
|
|
13
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
14
|
+
const fp_js_1 = require("../types/fp.js");
|
|
15
|
+
const operations_js_1 = require("../types/operations.js");
|
|
16
|
+
const _types_js_1 = require("./_types.js");
|
|
17
|
+
function prefetchOrganizationsListCompanyTargetFacilities(queryClient, client$, request, options) {
|
|
18
|
+
return queryClient.prefetchQuery({
|
|
19
|
+
...buildOrganizationsListCompanyTargetFacilitiesQuery(client$, request, options),
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
function prefetchOrganizationsListCompanyTargetFacilitiesInfinite(queryClient, client$, request, options) {
|
|
23
|
+
return queryClient.prefetchInfiniteQuery({
|
|
24
|
+
...buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery(client$, request, options),
|
|
25
|
+
initialPageParam: undefined,
|
|
26
|
+
getNextPageParam: (previousPage) => previousPage["~next"],
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function buildOrganizationsListCompanyTargetFacilitiesQuery(client$, request, options) {
|
|
30
|
+
return {
|
|
31
|
+
queryKey: queryKeyOrganizationsListCompanyTargetFacilities(request.companyId, {
|
|
32
|
+
expand: request.expand,
|
|
33
|
+
status: request.status,
|
|
34
|
+
hasIndividual: request.hasIndividual,
|
|
35
|
+
hasActiveIndividual: request.hasActiveIndividual,
|
|
36
|
+
includePotentialTargets: request.includePotentialTargets,
|
|
37
|
+
facilityNameLike: request.facilityNameLike,
|
|
38
|
+
cityLike: request.cityLike,
|
|
39
|
+
addressLike: request.addressLike,
|
|
40
|
+
systemNameLike: request.systemNameLike,
|
|
41
|
+
sort: request.sort,
|
|
42
|
+
desc: request.desc,
|
|
43
|
+
page: request.page,
|
|
44
|
+
itemsPerPage: request.itemsPerPage,
|
|
45
|
+
}),
|
|
46
|
+
queryFn: async function organizationsListCompanyTargetFacilitiesQueryFn(ctx) {
|
|
47
|
+
const sig = (0, primitives_js_1.combineSignals)(ctx.signal, options?.signal, options?.fetchOptions?.signal);
|
|
48
|
+
const mergedOptions = {
|
|
49
|
+
...options?.fetchOptions,
|
|
50
|
+
...options,
|
|
51
|
+
signal: sig,
|
|
52
|
+
};
|
|
53
|
+
return (0, fp_js_1.unwrapAsync)((0, organizationsListCompanyTargetFacilities_js_1.organizationsListCompanyTargetFacilities)(client$, request, mergedOptions));
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery(client$, request, options) {
|
|
58
|
+
return {
|
|
59
|
+
queryKey: queryKeyOrganizationsListCompanyTargetFacilitiesInfinite(request.companyId, {
|
|
60
|
+
expand: request.expand,
|
|
61
|
+
status: request.status,
|
|
62
|
+
hasIndividual: request.hasIndividual,
|
|
63
|
+
hasActiveIndividual: request.hasActiveIndividual,
|
|
64
|
+
includePotentialTargets: request.includePotentialTargets,
|
|
65
|
+
facilityNameLike: request.facilityNameLike,
|
|
66
|
+
cityLike: request.cityLike,
|
|
67
|
+
addressLike: request.addressLike,
|
|
68
|
+
systemNameLike: request.systemNameLike,
|
|
69
|
+
sort: request.sort,
|
|
70
|
+
desc: request.desc,
|
|
71
|
+
page: request.page,
|
|
72
|
+
itemsPerPage: request.itemsPerPage,
|
|
73
|
+
}),
|
|
74
|
+
queryFn: async function organizationsListCompanyTargetFacilitiesQuery(ctx) {
|
|
75
|
+
const sig = (0, primitives_js_1.combineSignals)(ctx.signal, options?.fetchOptions?.signal);
|
|
76
|
+
const mergedOptions = {
|
|
77
|
+
...options,
|
|
78
|
+
fetchOptions: { ...options?.fetchOptions, signal: sig },
|
|
79
|
+
};
|
|
80
|
+
if (!ctx.pageParam) {
|
|
81
|
+
const pageResult = await (0, operations_js_1.unwrapResultIterator)((0, organizationsListCompanyTargetFacilities_js_1.organizationsListCompanyTargetFacilities)(client$, request, mergedOptions));
|
|
82
|
+
return (0, _types_js_1.pageIteratorToJSON)(pageResult);
|
|
83
|
+
}
|
|
84
|
+
const pageResult = await (0, operations_js_1.unwrapResultIterator)((0, organizationsListCompanyTargetFacilities_js_1.organizationsListCompanyTargetFacilities)(client$, {
|
|
85
|
+
...request,
|
|
86
|
+
page: ctx.pageParam.page,
|
|
87
|
+
}, mergedOptions));
|
|
88
|
+
return (0, _types_js_1.pageIteratorToJSON)(pageResult);
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
function queryKeyOrganizationsListCompanyTargetFacilities(companyId, parameters) {
|
|
93
|
+
return [
|
|
94
|
+
"@greensecurity/javascript-sdk",
|
|
95
|
+
"organizations",
|
|
96
|
+
"listCompanyTargetFacilities",
|
|
97
|
+
companyId,
|
|
98
|
+
parameters,
|
|
99
|
+
];
|
|
100
|
+
}
|
|
101
|
+
function queryKeyOrganizationsListCompanyTargetFacilitiesInfinite(companyId, parameters) {
|
|
102
|
+
return [
|
|
103
|
+
"@greensecurity/javascript-sdk",
|
|
104
|
+
"organizations",
|
|
105
|
+
"listCompanyTargetFacilities",
|
|
106
|
+
"infinite",
|
|
107
|
+
companyId,
|
|
108
|
+
parameters,
|
|
109
|
+
];
|
|
110
|
+
}
|
|
111
|
+
//# 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;;AA8BH,4GAaC;AAED,4HAkBC;AAED,gHAkDC;AAED,gIAgEC;AAED,4GAyBC;AAED,4HA0BC;AApOD,sHAAgH;AAChH,wDAAsD;AAItD,0CAA6C;AAC7C,0DAA4E;AAC5E,2CAAiD;AAejD,SAAgB,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,SAAgB,wDAAwD,CACtE,WAAwB,EACxB,OAA0B,EAC1B,OAAsD,EACtD,OAAwB;IAExB,OAAO,WAAW,CAAC,qBAAqB,CAAC;QACvC,GAAG,0DAA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AG,OAAO;gBACV,IAAI,EAAE,GAAG,CAAC,SAAS,CAAC,IAAI;aACzB,EACD,aAAa,CACd,CACF,CAAC;YACF,OAAO,IAAA,8BAAkB,EAAC,UAAU,CAAC,CAAC;QACxC,CAAC;KACF,CAAC;AACJ,CAAC;AAED,SAAgB,gDAAgD,CAC9D,SAAiB,EACjB,UAcC;IAED,OAAO;QACL,+BAA+B;QAC/B,eAAe;QACf,6BAA6B;QAC7B,SAAS;QACT,UAAU;KACX,CAAC;AACJ,CAAC;AAED,SAAgB,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,O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AC,cAAc,GAAG,SAAS,CAAC;QAC7C,IAAI,CAAC,EAAE,UAAU,CAAC,IAAI,GAAG,SAAS,CAAC;QACnC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KACnC;CACF,CACF,EACD,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,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,180 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.queryKeyOrganizationsListCompanyTargetFacilitiesInfinite = exports.queryKeyOrganizationsListCompanyTargetFacilities = exports.prefetchOrganizationsListCompanyTargetFacilitiesInfinite = exports.prefetchOrganizationsListCompanyTargetFacilities = exports.buildOrganizationsListCompanyTargetFacilitiesQuery = exports.buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery = void 0;
|
|
7
|
+
exports.useOrganizationsListCompanyTargetFacilities = useOrganizationsListCompanyTargetFacilities;
|
|
8
|
+
exports.useOrganizationsListCompanyTargetFacilitiesSuspense = useOrganizationsListCompanyTargetFacilitiesSuspense;
|
|
9
|
+
exports.useOrganizationsListCompanyTargetFacilitiesInfinite = useOrganizationsListCompanyTargetFacilitiesInfinite;
|
|
10
|
+
exports.useOrganizationsListCompanyTargetFacilitiesInfiniteSuspense = useOrganizationsListCompanyTargetFacilitiesInfiniteSuspense;
|
|
11
|
+
exports.setOrganizationsListCompanyTargetFacilitiesData = setOrganizationsListCompanyTargetFacilitiesData;
|
|
12
|
+
exports.invalidateOrganizationsListCompanyTargetFacilities = invalidateOrganizationsListCompanyTargetFacilities;
|
|
13
|
+
exports.invalidateAllOrganizationsListCompanyTargetFacilities = invalidateAllOrganizationsListCompanyTargetFacilities;
|
|
14
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
15
|
+
const _context_js_1 = require("./_context.js");
|
|
16
|
+
const organizationsListCompanyTargetFacilities_core_js_1 = require("./organizationsListCompanyTargetFacilities.core.js");
|
|
17
|
+
Object.defineProperty(exports, "buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery", { enumerable: true, get: function () { return organizationsListCompanyTargetFacilities_core_js_1.buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery; } });
|
|
18
|
+
Object.defineProperty(exports, "buildOrganizationsListCompanyTargetFacilitiesQuery", { enumerable: true, get: function () { return organizationsListCompanyTargetFacilities_core_js_1.buildOrganizationsListCompanyTargetFacilitiesQuery; } });
|
|
19
|
+
Object.defineProperty(exports, "prefetchOrganizationsListCompanyTargetFacilities", { enumerable: true, get: function () { return organizationsListCompanyTargetFacilities_core_js_1.prefetchOrganizationsListCompanyTargetFacilities; } });
|
|
20
|
+
Object.defineProperty(exports, "prefetchOrganizationsListCompanyTargetFacilitiesInfinite", { enumerable: true, get: function () { return organizationsListCompanyTargetFacilities_core_js_1.prefetchOrganizationsListCompanyTargetFacilitiesInfinite; } });
|
|
21
|
+
Object.defineProperty(exports, "queryKeyOrganizationsListCompanyTargetFacilities", { enumerable: true, get: function () { return organizationsListCompanyTargetFacilities_core_js_1.queryKeyOrganizationsListCompanyTargetFacilities; } });
|
|
22
|
+
Object.defineProperty(exports, "queryKeyOrganizationsListCompanyTargetFacilitiesInfinite", { enumerable: true, get: function () { return organizationsListCompanyTargetFacilities_core_js_1.queryKeyOrganizationsListCompanyTargetFacilitiesInfinite; } });
|
|
23
|
+
/**
|
|
24
|
+
* List company target facilities
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* Lists the CompanyTargetFacility links for a company — the facilities the
|
|
28
|
+
* company is targeting. Each row carries the linked facility (with location
|
|
29
|
+
* and parent system), the link status, and per-facility counts of the
|
|
30
|
+
* company's individuals targeting it.
|
|
31
|
+
*
|
|
32
|
+
* When `include_potential_targets=true`, returns ALL non-deleted facilities
|
|
33
|
+
* via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
|
|
34
|
+
* rows have `id: null` and `status: "Not Targeted"`.
|
|
35
|
+
*
|
|
36
|
+
* Access control: the URL's `company_id` must be in the caller's read scope
|
|
37
|
+
* for Company (a company manager's or vendor's own company, or a company
|
|
38
|
+
* whose app is activated for the API user). Callers outside that scope
|
|
39
|
+
* receive `404 Company not found`.
|
|
40
|
+
*
|
|
41
|
+
* Filter with `has_individual` / `has_active_individual` to drive the
|
|
42
|
+
* facility roster views.
|
|
43
|
+
*
|
|
44
|
+
* Available `expand` scopes are:
|
|
45
|
+
*
|
|
46
|
+
* - company_target_facility.facility
|
|
47
|
+
*/
|
|
48
|
+
function useOrganizationsListCompanyTargetFacilities(request, options) {
|
|
49
|
+
const client = (0, _context_js_1.useGreenSecurityContext)();
|
|
50
|
+
return (0, react_query_1.useQuery)({
|
|
51
|
+
...(0, organizationsListCompanyTargetFacilities_core_js_1.buildOrganizationsListCompanyTargetFacilitiesQuery)(client, request, options),
|
|
52
|
+
...options,
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* List company target facilities
|
|
57
|
+
*
|
|
58
|
+
* @remarks
|
|
59
|
+
* Lists the CompanyTargetFacility links for a company — the facilities the
|
|
60
|
+
* company is targeting. Each row carries the linked facility (with location
|
|
61
|
+
* and parent system), the link status, and per-facility counts of the
|
|
62
|
+
* company's individuals targeting it.
|
|
63
|
+
*
|
|
64
|
+
* When `include_potential_targets=true`, returns ALL non-deleted facilities
|
|
65
|
+
* via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
|
|
66
|
+
* rows have `id: null` and `status: "Not Targeted"`.
|
|
67
|
+
*
|
|
68
|
+
* Access control: the URL's `company_id` must be in the caller's read scope
|
|
69
|
+
* for Company (a company manager's or vendor's own company, or a company
|
|
70
|
+
* whose app is activated for the API user). Callers outside that scope
|
|
71
|
+
* receive `404 Company not found`.
|
|
72
|
+
*
|
|
73
|
+
* Filter with `has_individual` / `has_active_individual` to drive the
|
|
74
|
+
* facility roster views.
|
|
75
|
+
*
|
|
76
|
+
* Available `expand` scopes are:
|
|
77
|
+
*
|
|
78
|
+
* - company_target_facility.facility
|
|
79
|
+
*/
|
|
80
|
+
function useOrganizationsListCompanyTargetFacilitiesSuspense(request, options) {
|
|
81
|
+
const client = (0, _context_js_1.useGreenSecurityContext)();
|
|
82
|
+
return (0, react_query_1.useSuspenseQuery)({
|
|
83
|
+
...(0, organizationsListCompanyTargetFacilities_core_js_1.buildOrganizationsListCompanyTargetFacilitiesQuery)(client, request, options),
|
|
84
|
+
...options,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* List company target facilities
|
|
89
|
+
*
|
|
90
|
+
* @remarks
|
|
91
|
+
* Lists the CompanyTargetFacility links for a company — the facilities the
|
|
92
|
+
* company is targeting. Each row carries the linked facility (with location
|
|
93
|
+
* and parent system), the link status, and per-facility counts of the
|
|
94
|
+
* company's individuals targeting it.
|
|
95
|
+
*
|
|
96
|
+
* When `include_potential_targets=true`, returns ALL non-deleted facilities
|
|
97
|
+
* via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
|
|
98
|
+
* rows have `id: null` and `status: "Not Targeted"`.
|
|
99
|
+
*
|
|
100
|
+
* Access control: the URL's `company_id` must be in the caller's read scope
|
|
101
|
+
* for Company (a company manager's or vendor's own company, or a company
|
|
102
|
+
* whose app is activated for the API user). Callers outside that scope
|
|
103
|
+
* receive `404 Company not found`.
|
|
104
|
+
*
|
|
105
|
+
* Filter with `has_individual` / `has_active_individual` to drive the
|
|
106
|
+
* facility roster views.
|
|
107
|
+
*
|
|
108
|
+
* Available `expand` scopes are:
|
|
109
|
+
*
|
|
110
|
+
* - company_target_facility.facility
|
|
111
|
+
*/
|
|
112
|
+
function useOrganizationsListCompanyTargetFacilitiesInfinite(request, options) {
|
|
113
|
+
const client = (0, _context_js_1.useGreenSecurityContext)();
|
|
114
|
+
return (0, react_query_1.useInfiniteQuery)({
|
|
115
|
+
...(0, organizationsListCompanyTargetFacilities_core_js_1.buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery)(client, request, options),
|
|
116
|
+
initialPageParam: options?.initialPageParam,
|
|
117
|
+
getNextPageParam: (previousPage) => previousPage["~next"],
|
|
118
|
+
...options,
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* List company target facilities
|
|
123
|
+
*
|
|
124
|
+
* @remarks
|
|
125
|
+
* Lists the CompanyTargetFacility links for a company — the facilities the
|
|
126
|
+
* company is targeting. Each row carries the linked facility (with location
|
|
127
|
+
* and parent system), the link status, and per-facility counts of the
|
|
128
|
+
* company's individuals targeting it.
|
|
129
|
+
*
|
|
130
|
+
* When `include_potential_targets=true`, returns ALL non-deleted facilities
|
|
131
|
+
* via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
|
|
132
|
+
* rows have `id: null` and `status: "Not Targeted"`.
|
|
133
|
+
*
|
|
134
|
+
* Access control: the URL's `company_id` must be in the caller's read scope
|
|
135
|
+
* for Company (a company manager's or vendor's own company, or a company
|
|
136
|
+
* whose app is activated for the API user). Callers outside that scope
|
|
137
|
+
* receive `404 Company not found`.
|
|
138
|
+
*
|
|
139
|
+
* Filter with `has_individual` / `has_active_individual` to drive the
|
|
140
|
+
* facility roster views.
|
|
141
|
+
*
|
|
142
|
+
* Available `expand` scopes are:
|
|
143
|
+
*
|
|
144
|
+
* - company_target_facility.facility
|
|
145
|
+
*/
|
|
146
|
+
function useOrganizationsListCompanyTargetFacilitiesInfiniteSuspense(request, options) {
|
|
147
|
+
const client = (0, _context_js_1.useGreenSecurityContext)();
|
|
148
|
+
return (0, react_query_1.useSuspenseInfiniteQuery)({
|
|
149
|
+
...(0, organizationsListCompanyTargetFacilities_core_js_1.buildOrganizationsListCompanyTargetFacilitiesInfiniteQuery)(client, request, options),
|
|
150
|
+
initialPageParam: options?.initialPageParam,
|
|
151
|
+
getNextPageParam: (previousPage) => previousPage["~next"],
|
|
152
|
+
...options,
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
function setOrganizationsListCompanyTargetFacilitiesData(client, queryKeyBase, data) {
|
|
156
|
+
const key = (0, organizationsListCompanyTargetFacilities_core_js_1.queryKeyOrganizationsListCompanyTargetFacilities)(...queryKeyBase);
|
|
157
|
+
return client.setQueryData(key, data);
|
|
158
|
+
}
|
|
159
|
+
function invalidateOrganizationsListCompanyTargetFacilities(client, queryKeyBase, filters) {
|
|
160
|
+
return client.invalidateQueries({
|
|
161
|
+
...filters,
|
|
162
|
+
queryKey: [
|
|
163
|
+
"@greensecurity/javascript-sdk",
|
|
164
|
+
"organizations",
|
|
165
|
+
"listCompanyTargetFacilities",
|
|
166
|
+
...queryKeyBase,
|
|
167
|
+
],
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
function invalidateAllOrganizationsListCompanyTargetFacilities(client, filters) {
|
|
171
|
+
return client.invalidateQueries({
|
|
172
|
+
...filters,
|
|
173
|
+
queryKey: [
|
|
174
|
+
"@greensecurity/javascript-sdk",
|
|
175
|
+
"organizations",
|
|
176
|
+
"listCompanyTargetFacilities",
|
|
177
|
+
],
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
//# sourceMappingURL=organizationsListCompanyTargetFacilities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationsListCompanyTargetFacilities.js","sourceRoot":"","sources":["../../../src/react-query/organizationsListCompanyTargetFacilities.ts"],"names":[],"mappings":";AAAA;;GAEG;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GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,2DAA2D,CACzE,OAAsD,EACtD,OAGC;IAQD,MAAM,MAAM,GAAG,IAAA,qCAAuB,GAAE,CAAC;IACzC,OAAO,IAAA,sCAAwB,EAS7B;QACA,GAAG,IAAA,6GAA0D,EAC3D,MAAM,EACN,OAAO,EACP,OAAO,CACR;QACD,gBAAgB,EAAE,OAAO,EAAE,gBAAgB;QAC3C,gBAAgB,EAAE,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC;QACzD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,+CAA+C,CAC7D,MAAmB,EACnB,YAmBC,EACD,IAAuD;IAEvD,MAAM,GAAG,GAAG,IAAA,mGAAgD,EAAC,GAAG,YAAY,CAAC,CAAC;IAE9E,OAAO,MAAM,CAAC,YAAY,CACxB,GAAG,EACH,IAAI,CACL,CAAC;AACJ,CAAC;AAED,SAAgB,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,SAAgB,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/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,CAAC;AAEX,wBAAgB,wCAAwC,CACtD,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,iBAAiB,EAC1B,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC,CAQf;AAED,wBAAgB,gDAAgD,CAC9D,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,iBAAiB,EAC1B,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC,CAYf;AAED,wBAAgB,0CAA0C,CACxD,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,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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