@greensecurity/javascript-sdk 0.44.0-beta.15 → 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.
Files changed (200) hide show
  1. package/README.md +9 -0
  2. package/dist/commonjs/__tests__/organizations.test.js +72 -6
  3. package/dist/commonjs/__tests__/organizations.test.js.map +1 -1
  4. package/dist/commonjs/__tests__/webhooks.test.js +1 -1
  5. package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
  6. package/dist/commonjs/__tests__/zones.test.js +4 -31
  7. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  8. package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.d.ts +34 -0
  9. package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.js +145 -0
  11. package/dist/commonjs/funcs/organizationsCreateCompanyTargetFacility.js.map +1 -0
  12. package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.d.ts +28 -0
  13. package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.js +138 -0
  15. package/dist/commonjs/funcs/organizationsDeleteCompanyTargetFacility.js.map +1 -0
  16. package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.d.ts +42 -0
  17. package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.d.ts.map +1 -0
  18. package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.js +194 -0
  19. package/dist/commonjs/funcs/organizationsListCompanyTargetFacilities.js.map +1 -0
  20. package/dist/commonjs/lib/config.d.ts +2 -2
  21. package/dist/commonjs/lib/config.js +2 -2
  22. package/dist/commonjs/models/components/companytargetfacility.d.ts +54 -0
  23. package/dist/commonjs/models/components/companytargetfacility.d.ts.map +1 -0
  24. package/dist/commonjs/models/components/companytargetfacility.js +80 -0
  25. package/dist/commonjs/models/components/companytargetfacility.js.map +1 -0
  26. package/dist/commonjs/models/components/index.d.ts +1 -0
  27. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  28. package/dist/commonjs/models/components/index.js +1 -0
  29. package/dist/commonjs/models/components/index.js.map +1 -1
  30. package/dist/commonjs/models/operations/createcompanytargetfacility.d.ts +50 -0
  31. package/dist/commonjs/models/operations/createcompanytargetfacility.d.ts.map +1 -0
  32. package/dist/commonjs/models/operations/createcompanytargetfacility.js +84 -0
  33. package/dist/commonjs/models/operations/createcompanytargetfacility.js.map +1 -0
  34. package/dist/commonjs/models/operations/deletecompanytargetfacility.d.ts +20 -0
  35. package/dist/commonjs/models/operations/deletecompanytargetfacility.d.ts.map +1 -0
  36. package/dist/commonjs/models/operations/deletecompanytargetfacility.js +55 -0
  37. package/dist/commonjs/models/operations/deletecompanytargetfacility.js.map +1 -0
  38. package/dist/commonjs/models/operations/exportcompanytargetfacilities.d.ts +16 -16
  39. package/dist/commonjs/models/operations/exportcompanytargetfacilities.d.ts.map +1 -1
  40. package/dist/commonjs/models/operations/exportcompanytargetfacilities.js +14 -15
  41. package/dist/commonjs/models/operations/exportcompanytargetfacilities.js.map +1 -1
  42. package/dist/commonjs/models/operations/index.d.ts +3 -0
  43. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  44. package/dist/commonjs/models/operations/index.js +3 -0
  45. package/dist/commonjs/models/operations/index.js.map +1 -1
  46. package/dist/commonjs/models/operations/listcompanytargetfacilities.d.ts +173 -0
  47. package/dist/commonjs/models/operations/listcompanytargetfacilities.d.ts.map +1 -0
  48. package/dist/commonjs/models/operations/listcompanytargetfacilities.js +150 -0
  49. package/dist/commonjs/models/operations/listcompanytargetfacilities.js.map +1 -0
  50. package/dist/commonjs/models/operations/listfacilityvendors.d.ts +4 -4
  51. package/dist/commonjs/models/operations/listfacilityvendors.d.ts.map +1 -1
  52. package/dist/commonjs/models/operations/listfacilityvendors.js +4 -4
  53. package/dist/commonjs/models/operations/listfacilityvendors.js.map +1 -1
  54. package/dist/commonjs/react-query/index.d.ts +3 -0
  55. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  56. package/dist/commonjs/react-query/index.js +3 -0
  57. package/dist/commonjs/react-query/index.js.map +1 -1
  58. package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.d.ts +43 -0
  59. package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.d.ts.map +1 -0
  60. package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.js +65 -0
  61. package/dist/commonjs/react-query/organizationsCreateCompanyTargetFacility.js.map +1 -0
  62. package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.d.ts +37 -0
  63. package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.d.ts.map +1 -0
  64. package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.js +59 -0
  65. package/dist/commonjs/react-query/organizationsDeleteCompanyTargetFacility.js.map +1 -0
  66. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.d.ts +4 -4
  67. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.d.ts.map +1 -1
  68. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.core.js.map +1 -1
  69. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.d.ts +8 -8
  70. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.d.ts.map +1 -1
  71. package/dist/commonjs/react-query/organizationsExportCompanyTargetFacilities.js.map +1 -1
  72. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.d.ts +54 -0
  73. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.d.ts.map +1 -0
  74. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.js +111 -0
  75. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.core.js.map +1 -0
  76. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.d.ts +154 -0
  77. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.d.ts.map +1 -0
  78. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.js +180 -0
  79. package/dist/commonjs/react-query/organizationsListCompanyTargetFacilities.js.map +1 -0
  80. package/dist/commonjs/react-query/organizationsListFacilityVendors.core.d.ts +2 -2
  81. package/dist/commonjs/react-query/organizationsListFacilityVendors.core.d.ts.map +1 -1
  82. package/dist/commonjs/react-query/organizationsListFacilityVendors.d.ts +2 -2
  83. package/dist/commonjs/react-query/organizationsListFacilityVendors.d.ts.map +1 -1
  84. package/dist/commonjs/sdk/organizations.d.ts +64 -0
  85. package/dist/commonjs/sdk/organizations.d.ts.map +1 -1
  86. package/dist/commonjs/sdk/organizations.js +71 -0
  87. package/dist/commonjs/sdk/organizations.js.map +1 -1
  88. package/dist/esm/__tests__/organizations.test.js +73 -7
  89. package/dist/esm/__tests__/organizations.test.js.map +1 -1
  90. package/dist/esm/__tests__/webhooks.test.js +1 -1
  91. package/dist/esm/__tests__/webhooks.test.js.map +1 -1
  92. package/dist/esm/__tests__/zones.test.js +4 -31
  93. package/dist/esm/__tests__/zones.test.js.map +1 -1
  94. package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.d.ts +34 -0
  95. package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.d.ts.map +1 -0
  96. package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.js +109 -0
  97. package/dist/esm/funcs/organizationsCreateCompanyTargetFacility.js.map +1 -0
  98. package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.d.ts +28 -0
  99. package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.d.ts.map +1 -0
  100. package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.js +102 -0
  101. package/dist/esm/funcs/organizationsDeleteCompanyTargetFacility.js.map +1 -0
  102. package/dist/esm/funcs/organizationsListCompanyTargetFacilities.d.ts +42 -0
  103. package/dist/esm/funcs/organizationsListCompanyTargetFacilities.d.ts.map +1 -0
  104. package/dist/esm/funcs/organizationsListCompanyTargetFacilities.js +158 -0
  105. package/dist/esm/funcs/organizationsListCompanyTargetFacilities.js.map +1 -0
  106. package/dist/esm/lib/config.d.ts +2 -2
  107. package/dist/esm/lib/config.js +2 -2
  108. package/dist/esm/models/components/companytargetfacility.d.ts +54 -0
  109. package/dist/esm/models/components/companytargetfacility.d.ts.map +1 -0
  110. package/dist/esm/models/components/companytargetfacility.js +41 -0
  111. package/dist/esm/models/components/companytargetfacility.js.map +1 -0
  112. package/dist/esm/models/components/index.d.ts +1 -0
  113. package/dist/esm/models/components/index.d.ts.map +1 -1
  114. package/dist/esm/models/components/index.js +1 -0
  115. package/dist/esm/models/components/index.js.map +1 -1
  116. package/dist/esm/models/operations/createcompanytargetfacility.d.ts +50 -0
  117. package/dist/esm/models/operations/createcompanytargetfacility.d.ts.map +1 -0
  118. package/dist/esm/models/operations/createcompanytargetfacility.js +45 -0
  119. package/dist/esm/models/operations/createcompanytargetfacility.js.map +1 -0
  120. package/dist/esm/models/operations/deletecompanytargetfacility.d.ts +20 -0
  121. package/dist/esm/models/operations/deletecompanytargetfacility.d.ts.map +1 -0
  122. package/dist/esm/models/operations/deletecompanytargetfacility.js +18 -0
  123. package/dist/esm/models/operations/deletecompanytargetfacility.js.map +1 -0
  124. package/dist/esm/models/operations/exportcompanytargetfacilities.d.ts +16 -16
  125. package/dist/esm/models/operations/exportcompanytargetfacilities.d.ts.map +1 -1
  126. package/dist/esm/models/operations/exportcompanytargetfacilities.js +13 -14
  127. package/dist/esm/models/operations/exportcompanytargetfacilities.js.map +1 -1
  128. package/dist/esm/models/operations/index.d.ts +3 -0
  129. package/dist/esm/models/operations/index.d.ts.map +1 -1
  130. package/dist/esm/models/operations/index.js +3 -0
  131. package/dist/esm/models/operations/index.js.map +1 -1
  132. package/dist/esm/models/operations/listcompanytargetfacilities.d.ts +173 -0
  133. package/dist/esm/models/operations/listcompanytargetfacilities.d.ts.map +1 -0
  134. package/dist/esm/models/operations/listcompanytargetfacilities.js +111 -0
  135. package/dist/esm/models/operations/listcompanytargetfacilities.js.map +1 -0
  136. package/dist/esm/models/operations/listfacilityvendors.d.ts +4 -4
  137. package/dist/esm/models/operations/listfacilityvendors.d.ts.map +1 -1
  138. package/dist/esm/models/operations/listfacilityvendors.js +3 -3
  139. package/dist/esm/models/operations/listfacilityvendors.js.map +1 -1
  140. package/dist/esm/react-query/index.d.ts +3 -0
  141. package/dist/esm/react-query/index.d.ts.map +1 -1
  142. package/dist/esm/react-query/index.js +3 -0
  143. package/dist/esm/react-query/index.js.map +1 -1
  144. package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.d.ts +43 -0
  145. package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.d.ts.map +1 -0
  146. package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.js +60 -0
  147. package/dist/esm/react-query/organizationsCreateCompanyTargetFacility.js.map +1 -0
  148. package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.d.ts +37 -0
  149. package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.d.ts.map +1 -0
  150. package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.js +54 -0
  151. package/dist/esm/react-query/organizationsDeleteCompanyTargetFacility.js.map +1 -0
  152. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.d.ts +4 -4
  153. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.d.ts.map +1 -1
  154. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.core.js.map +1 -1
  155. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.d.ts +8 -8
  156. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.d.ts.map +1 -1
  157. package/dist/esm/react-query/organizationsExportCompanyTargetFacilities.js.map +1 -1
  158. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.d.ts +54 -0
  159. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.d.ts.map +1 -0
  160. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.js +103 -0
  161. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.core.js.map +1 -0
  162. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.d.ts +154 -0
  163. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.d.ts.map +1 -0
  164. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.js +165 -0
  165. package/dist/esm/react-query/organizationsListCompanyTargetFacilities.js.map +1 -0
  166. package/dist/esm/react-query/organizationsListFacilityVendors.core.d.ts +2 -2
  167. package/dist/esm/react-query/organizationsListFacilityVendors.core.d.ts.map +1 -1
  168. package/dist/esm/react-query/organizationsListFacilityVendors.d.ts +2 -2
  169. package/dist/esm/react-query/organizationsListFacilityVendors.d.ts.map +1 -1
  170. package/dist/esm/sdk/organizations.d.ts +64 -0
  171. package/dist/esm/sdk/organizations.d.ts.map +1 -1
  172. package/dist/esm/sdk/organizations.js +71 -0
  173. package/dist/esm/sdk/organizations.js.map +1 -1
  174. package/jsr.json +1 -1
  175. package/package.json +1 -1
  176. package/src/__tests__/organizations.test.ts +79 -13
  177. package/src/__tests__/webhooks.test.ts +1 -1
  178. package/src/__tests__/zones.test.ts +4 -31
  179. package/src/funcs/organizationsCreateCompanyTargetFacility.ts +204 -0
  180. package/src/funcs/organizationsDeleteCompanyTargetFacility.ts +193 -0
  181. package/src/funcs/organizationsListCompanyTargetFacilities.ts +291 -0
  182. package/src/lib/config.ts +2 -2
  183. package/src/models/components/companytargetfacility.ts +124 -0
  184. package/src/models/components/index.ts +1 -0
  185. package/src/models/operations/createcompanytargetfacility.ts +132 -0
  186. package/src/models/operations/deletecompanytargetfacility.ts +47 -0
  187. package/src/models/operations/exportcompanytargetfacilities.ts +34 -31
  188. package/src/models/operations/index.ts +3 -0
  189. package/src/models/operations/listcompanytargetfacilities.ts +293 -0
  190. package/src/models/operations/listfacilityvendors.ts +10 -7
  191. package/src/react-query/index.ts +3 -0
  192. package/src/react-query/organizationsCreateCompanyTargetFacility.ts +129 -0
  193. package/src/react-query/organizationsDeleteCompanyTargetFacility.ts +122 -0
  194. package/src/react-query/organizationsExportCompanyTargetFacilities.core.ts +4 -6
  195. package/src/react-query/organizationsExportCompanyTargetFacilities.ts +12 -10
  196. package/src/react-query/organizationsListCompanyTargetFacilities.core.ts +239 -0
  197. package/src/react-query/organizationsListCompanyTargetFacilities.ts +369 -0
  198. package/src/react-query/organizationsListFacilityVendors.core.ts +2 -2
  199. package/src/react-query/organizationsListFacilityVendors.ts +2 -2
  200. package/src/sdk/organizations.ts +102 -0
@@ -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,kDAA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QAC/B,eAAe;QACf,6BAA6B;QAC7B,SAAS;QACT,UAAU;KACX,CAAC;AACJ,CAAC;AAED,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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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,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;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C,OAAO,CAAC;QACzD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,+CAA+C,CAC7D,MAAmB,EACnB,YAmBC,EACD,IAAuD;IAEvD,MAAM,GAAG,GAAG,gDAAgD,CAAC,GAAG,YAAY,CAAC,CAAC;IAE9E,OAAO,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.QueryParamStatus | undefined;
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.QueryParamStatus | undefined;
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,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AAI,CAAC,EAAE,UAAU,CAAC,iCAAiC,GAAG,SAAS,CAAC;IAChE,IAAI,CAAC,EAAE,UAAU,CAAC,IAAI,GAAG,SAAS,CAAC;CACpC,GACA,QAAQ,CASV"}
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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S,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.QueryParamStatus | undefined;
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.QueryParamStatus | undefined;
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":"","sources":["../../../src/react-query/organizationsListFacilityVendors.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,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,u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AAU,CAAC,gBAAgB,GAAG,SAAS,CAAC;QACjD,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAClC,IAAI,CAAC,EAAE,UAAU,CAAC,iCAAiC,GAAG,SAAS,CAAC;QAChE,IAAI,CAAC,EAAE,UAAU,CAAC,IAAI,GAAG,SAAS,CAAC;KACpC;CACF,CACF,EACD,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAUf;AAED,wBAAgB,6CAA6C,CAC3D,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CASf"}
1
+ {"version":3,"file":"organizationsListFacilityVendors.d.ts","sourceRoot":"","sources":["../../../src/react-query/organizationsListFacilityVendors.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,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,M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AM,GAAG,SAAS,CAAC;QAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAClC,IAAI,CAAC,EAAE,UAAU,CAAC,iCAAiC,GAAG,SAAS,CAAC;QAChE,IAAI,CAAC,EAAE,UAAU,CAAC,IAAI,GAAG,SAAS,CAAC;KACpC;CACF,CACF,EACD,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAUf;AAED,wBAAgB,6CAA6C,CAC3D,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CASf"}
@@ -41,6 +41,70 @@ export declare class Organizations extends ClientSDK {
41
41
  listOrSearchDepartments(request: operations.ListOrSearchDepartmentsRequest, options?: RequestOptions): Promise<PageIterator<operations.ListOrSearchDepartmentsResponse, {
42
42
  page: number;
43
43
  }>>;
44
+ /**
45
+ * List company target facilities
46
+ *
47
+ * @remarks
48
+ * Lists the CompanyTargetFacility links for a company — the facilities the
49
+ * company is targeting. Each row carries the linked facility (with location
50
+ * and parent system), the link status, and per-facility counts of the
51
+ * company's individuals targeting it.
52
+ *
53
+ * When `include_potential_targets=true`, returns ALL non-deleted facilities
54
+ * via a LEFT JOIN. Targeted rows carry their CTF `id` and `status`; non-targeted
55
+ * rows have `id: null` and `status: "Not Targeted"`.
56
+ *
57
+ * Access control: the URL's `company_id` must be in the caller's read scope
58
+ * for Company (a company manager's or vendor's own company, or a company
59
+ * whose app is activated for the API user). Callers outside that scope
60
+ * receive `404 Company not found`.
61
+ *
62
+ * Filter with `has_individual` / `has_active_individual` to drive the
63
+ * facility roster views.
64
+ *
65
+ * Available `expand` scopes are:
66
+ *
67
+ * - company_target_facility.facility
68
+ */
69
+ listCompanyTargetFacilities(request: operations.ListCompanyTargetFacilitiesRequest, options?: RequestOptions): Promise<PageIterator<operations.ListCompanyTargetFacilitiesResponse, {
70
+ page: number;
71
+ }>>;
72
+ /**
73
+ * Add a company target facility
74
+ *
75
+ * @remarks
76
+ * Links the URL's company to an existing facility. The link is created with
77
+ * status `Pending`. Only the link row is created — the Facility entity
78
+ * itself is never created or modified by this endpoint.
79
+ *
80
+ * Access control: the URL's `company_id` must be in the caller's update
81
+ * scope for Company, AND the `facility_id` must be in the caller's create
82
+ * scope for Facility (a facility on the company's site, or a facility
83
+ * reachable via the API user's site/system/facility-scoped activation).
84
+ * Either being out of scope returns `404 Company not found` /
85
+ * `404 Facility not found` respectively. Deleted facilities also return
86
+ * `404 Facility not found`.
87
+ *
88
+ * Available `expand` scopes are:
89
+ *
90
+ * - company_target_facility.facility
91
+ */
92
+ createCompanyTargetFacility(request: operations.CreateCompanyTargetFacilityRequest, options?: RequestOptions): Promise<operations.CreateCompanyTargetFacilityCreateCompanyTargetFacilityOk>;
93
+ /**
94
+ * Remove a company target facility
95
+ *
96
+ * @remarks
97
+ * Removes a CompanyTargetFacility link. Blocked when any of the company's
98
+ * individuals still target the same facility (to avoid orphaning their
99
+ * vendor-scoped target rows). Only the link row is removed — the Facility
100
+ * entity itself is never touched.
101
+ *
102
+ * Access control: the URL's `company_id` must be in the caller's update
103
+ * scope for Company (a company manager's or vendor's own company, or a
104
+ * company whose app is activated for the API user). Callers outside that
105
+ * scope receive `404 Company not found`.
106
+ */
107
+ deleteCompanyTargetFacility(request: operations.DeleteCompanyTargetFacilityRequest, options?: RequestOptions): Promise<boolean>;
44
108
  /**
45
109
  * Export company target facilities to CSV (async)
46
110
  *
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../../src/sdk/organizations.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,K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