@greensecurity/javascript-sdk 0.45.0-beta.20 → 0.45.0-beta.22

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 (254) hide show
  1. package/README.md +7 -4
  2. package/dist/commonjs/__tests__/lookups.test.js +24 -0
  3. package/dist/commonjs/__tests__/lookups.test.js.map +1 -1
  4. package/dist/commonjs/__tests__/vendors.test.js +1 -1
  5. package/dist/commonjs/__tests__/zones.test.js +9 -10
  6. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  7. package/dist/commonjs/funcs/companiesListCompanyManagerContacts.d.ts +3 -1
  8. package/dist/commonjs/funcs/companiesListCompanyManagerContacts.d.ts.map +1 -1
  9. package/dist/commonjs/funcs/companiesListCompanyManagerContacts.js +3 -1
  10. package/dist/commonjs/funcs/companiesListCompanyManagerContacts.js.map +1 -1
  11. package/dist/commonjs/funcs/lookupsLookupCompanyManagers.d.ts +18 -0
  12. package/dist/commonjs/funcs/lookupsLookupCompanyManagers.d.ts.map +1 -0
  13. package/dist/commonjs/funcs/lookupsLookupCompanyManagers.js +121 -0
  14. package/dist/commonjs/funcs/lookupsLookupCompanyManagers.js.map +1 -0
  15. package/dist/commonjs/funcs/organizationsListOrSearchFacilities.js +1 -0
  16. package/dist/commonjs/funcs/organizationsListOrSearchFacilities.js.map +1 -1
  17. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts +1 -0
  18. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  19. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js +1 -0
  20. package/dist/commonjs/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
  21. package/dist/commonjs/lib/config.d.ts +2 -2
  22. package/dist/commonjs/lib/config.js +2 -2
  23. package/dist/commonjs/models/components/alert.d.ts +3 -2
  24. package/dist/commonjs/models/components/alert.d.ts.map +1 -1
  25. package/dist/commonjs/models/components/alert.js +2 -0
  26. package/dist/commonjs/models/components/alert.js.map +1 -1
  27. package/dist/commonjs/models/components/{companymanagercontact.d.ts → companymanagerlookup.d.ts} +4 -4
  28. package/dist/commonjs/models/components/companymanagerlookup.d.ts.map +1 -0
  29. package/dist/commonjs/models/components/{companymanagercontact.js → companymanagerlookup.js} +6 -6
  30. package/dist/commonjs/models/components/companymanagerlookup.js.map +1 -0
  31. package/dist/commonjs/models/components/expand.d.ts +1 -0
  32. package/dist/commonjs/models/components/expand.d.ts.map +1 -1
  33. package/dist/commonjs/models/components/expand.js +1 -0
  34. package/dist/commonjs/models/components/expand.js.map +1 -1
  35. package/dist/commonjs/models/components/index.d.ts +1 -1
  36. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  37. package/dist/commonjs/models/components/index.js +1 -1
  38. package/dist/commonjs/models/components/index.js.map +1 -1
  39. package/dist/commonjs/models/components/invoice.d.ts +30 -6
  40. package/dist/commonjs/models/components/invoice.d.ts.map +1 -1
  41. package/dist/commonjs/models/components/invoice.js +39 -1
  42. package/dist/commonjs/models/components/invoice.js.map +1 -1
  43. package/dist/commonjs/models/operations/index.d.ts +1 -0
  44. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  45. package/dist/commonjs/models/operations/index.js +1 -0
  46. package/dist/commonjs/models/operations/index.js.map +1 -1
  47. package/dist/commonjs/models/operations/listcompanymanagercontacts.d.ts +2 -2
  48. package/dist/commonjs/models/operations/listcompanymanagercontacts.d.ts.map +1 -1
  49. package/dist/commonjs/models/operations/listcompanymanagercontacts.js +1 -1
  50. package/dist/commonjs/models/operations/listcompanymanagercontacts.js.map +1 -1
  51. package/dist/commonjs/models/operations/listlookupsystems.d.ts +4 -4
  52. package/dist/commonjs/models/operations/listlookupsystems.d.ts.map +1 -1
  53. package/dist/commonjs/models/operations/listlookupsystems.js +4 -4
  54. package/dist/commonjs/models/operations/listlookupsystems.js.map +1 -1
  55. package/dist/commonjs/models/operations/listorsearchfacilities.d.ts +17 -0
  56. package/dist/commonjs/models/operations/listorsearchfacilities.d.ts.map +1 -1
  57. package/dist/commonjs/models/operations/listorsearchfacilities.js +10 -1
  58. package/dist/commonjs/models/operations/listorsearchfacilities.js.map +1 -1
  59. package/dist/commonjs/models/operations/lookupcompanymanagers.d.ts +27 -0
  60. package/dist/commonjs/models/operations/lookupcompanymanagers.d.ts.map +1 -0
  61. package/dist/commonjs/models/operations/lookupcompanymanagers.js +64 -0
  62. package/dist/commonjs/models/operations/lookupcompanymanagers.js.map +1 -0
  63. package/dist/commonjs/react-query/companiesListCompanyManagerContacts.d.ts +6 -2
  64. package/dist/commonjs/react-query/companiesListCompanyManagerContacts.d.ts.map +1 -1
  65. package/dist/commonjs/react-query/companiesListCompanyManagerContacts.js +6 -2
  66. package/dist/commonjs/react-query/companiesListCompanyManagerContacts.js.map +1 -1
  67. package/dist/commonjs/react-query/index.d.ts +1 -0
  68. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  69. package/dist/commonjs/react-query/index.js +1 -0
  70. package/dist/commonjs/react-query/index.js.map +1 -1
  71. package/dist/commonjs/react-query/lookupsListLookupSystems.core.d.ts +1 -1
  72. package/dist/commonjs/react-query/lookupsListLookupSystems.core.d.ts.map +1 -1
  73. package/dist/commonjs/react-query/lookupsListLookupSystems.d.ts +2 -2
  74. package/dist/commonjs/react-query/lookupsListLookupSystems.d.ts.map +1 -1
  75. package/dist/commonjs/react-query/lookupsLookupCompanyManagers.core.d.ts +14 -0
  76. package/dist/commonjs/react-query/lookupsLookupCompanyManagers.core.d.ts.map +1 -0
  77. package/dist/commonjs/react-query/lookupsLookupCompanyManagers.core.js +41 -0
  78. package/dist/commonjs/react-query/lookupsLookupCompanyManagers.core.js.map +1 -0
  79. package/dist/commonjs/react-query/lookupsLookupCompanyManagers.d.ts +33 -0
  80. package/dist/commonjs/react-query/lookupsLookupCompanyManagers.d.ts.map +1 -0
  81. package/dist/commonjs/react-query/lookupsLookupCompanyManagers.js +69 -0
  82. package/dist/commonjs/react-query/lookupsLookupCompanyManagers.js.map +1 -0
  83. package/dist/commonjs/react-query/organizationsListOrSearchFacilities.core.d.ts +2 -0
  84. package/dist/commonjs/react-query/organizationsListOrSearchFacilities.core.d.ts.map +1 -1
  85. package/dist/commonjs/react-query/organizationsListOrSearchFacilities.core.js +2 -0
  86. package/dist/commonjs/react-query/organizationsListOrSearchFacilities.core.js.map +1 -1
  87. package/dist/commonjs/react-query/organizationsListOrSearchFacilities.d.ts +2 -0
  88. package/dist/commonjs/react-query/organizationsListOrSearchFacilities.d.ts.map +1 -1
  89. package/dist/commonjs/react-query/organizationsListOrSearchFacilities.js.map +1 -1
  90. package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.d.ts +2 -0
  91. package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  92. package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.js +2 -0
  93. package/dist/commonjs/react-query/vendorsGetVendorInvoiceDetails.js.map +1 -1
  94. package/dist/commonjs/sdk/companies.d.ts +3 -1
  95. package/dist/commonjs/sdk/companies.d.ts.map +1 -1
  96. package/dist/commonjs/sdk/companies.js +3 -1
  97. package/dist/commonjs/sdk/companies.js.map +1 -1
  98. package/dist/commonjs/sdk/lookups.d.ts +7 -0
  99. package/dist/commonjs/sdk/lookups.d.ts.map +1 -1
  100. package/dist/commonjs/sdk/lookups.js +10 -0
  101. package/dist/commonjs/sdk/lookups.js.map +1 -1
  102. package/dist/commonjs/sdk/sdk.d.ts +2 -2
  103. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  104. package/dist/commonjs/sdk/sdk.js +3 -3
  105. package/dist/commonjs/sdk/sdk.js.map +1 -1
  106. package/dist/commonjs/sdk/vendors.d.ts +1 -0
  107. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  108. package/dist/commonjs/sdk/vendors.js +1 -0
  109. package/dist/commonjs/sdk/vendors.js.map +1 -1
  110. package/dist/esm/__tests__/lookups.test.js +24 -0
  111. package/dist/esm/__tests__/lookups.test.js.map +1 -1
  112. package/dist/esm/__tests__/vendors.test.js +1 -1
  113. package/dist/esm/__tests__/zones.test.js +9 -10
  114. package/dist/esm/__tests__/zones.test.js.map +1 -1
  115. package/dist/esm/funcs/companiesListCompanyManagerContacts.d.ts +3 -1
  116. package/dist/esm/funcs/companiesListCompanyManagerContacts.d.ts.map +1 -1
  117. package/dist/esm/funcs/companiesListCompanyManagerContacts.js +3 -1
  118. package/dist/esm/funcs/companiesListCompanyManagerContacts.js.map +1 -1
  119. package/dist/esm/funcs/lookupsLookupCompanyManagers.d.ts +18 -0
  120. package/dist/esm/funcs/lookupsLookupCompanyManagers.d.ts.map +1 -0
  121. package/dist/esm/funcs/lookupsLookupCompanyManagers.js +85 -0
  122. package/dist/esm/funcs/lookupsLookupCompanyManagers.js.map +1 -0
  123. package/dist/esm/funcs/organizationsListOrSearchFacilities.js +1 -0
  124. package/dist/esm/funcs/organizationsListOrSearchFacilities.js.map +1 -1
  125. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts +1 -0
  126. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  127. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js +1 -0
  128. package/dist/esm/funcs/vendorsGetVendorInvoiceDetails.js.map +1 -1
  129. package/dist/esm/lib/config.d.ts +2 -2
  130. package/dist/esm/lib/config.js +2 -2
  131. package/dist/esm/models/components/alert.d.ts +3 -2
  132. package/dist/esm/models/components/alert.d.ts.map +1 -1
  133. package/dist/esm/models/components/alert.js +2 -0
  134. package/dist/esm/models/components/alert.js.map +1 -1
  135. package/dist/esm/models/components/{companymanagercontact.d.ts → companymanagerlookup.d.ts} +4 -4
  136. package/dist/esm/models/components/companymanagerlookup.d.ts.map +1 -0
  137. package/dist/esm/models/components/{companymanagercontact.js → companymanagerlookup.js} +4 -4
  138. package/dist/esm/models/components/companymanagerlookup.js.map +1 -0
  139. package/dist/esm/models/components/expand.d.ts +1 -0
  140. package/dist/esm/models/components/expand.d.ts.map +1 -1
  141. package/dist/esm/models/components/expand.js +1 -0
  142. package/dist/esm/models/components/expand.js.map +1 -1
  143. package/dist/esm/models/components/index.d.ts +1 -1
  144. package/dist/esm/models/components/index.d.ts.map +1 -1
  145. package/dist/esm/models/components/index.js +1 -1
  146. package/dist/esm/models/components/index.js.map +1 -1
  147. package/dist/esm/models/components/invoice.d.ts +30 -6
  148. package/dist/esm/models/components/invoice.d.ts.map +1 -1
  149. package/dist/esm/models/components/invoice.js +36 -0
  150. package/dist/esm/models/components/invoice.js.map +1 -1
  151. package/dist/esm/models/operations/index.d.ts +1 -0
  152. package/dist/esm/models/operations/index.d.ts.map +1 -1
  153. package/dist/esm/models/operations/index.js +1 -0
  154. package/dist/esm/models/operations/index.js.map +1 -1
  155. package/dist/esm/models/operations/listcompanymanagercontacts.d.ts +2 -2
  156. package/dist/esm/models/operations/listcompanymanagercontacts.d.ts.map +1 -1
  157. package/dist/esm/models/operations/listcompanymanagercontacts.js +1 -1
  158. package/dist/esm/models/operations/listcompanymanagercontacts.js.map +1 -1
  159. package/dist/esm/models/operations/listlookupsystems.d.ts +4 -4
  160. package/dist/esm/models/operations/listlookupsystems.d.ts.map +1 -1
  161. package/dist/esm/models/operations/listlookupsystems.js +3 -3
  162. package/dist/esm/models/operations/listlookupsystems.js.map +1 -1
  163. package/dist/esm/models/operations/listorsearchfacilities.d.ts +17 -0
  164. package/dist/esm/models/operations/listorsearchfacilities.d.ts.map +1 -1
  165. package/dist/esm/models/operations/listorsearchfacilities.js +9 -0
  166. package/dist/esm/models/operations/listorsearchfacilities.js.map +1 -1
  167. package/dist/esm/models/operations/lookupcompanymanagers.d.ts +27 -0
  168. package/dist/esm/models/operations/lookupcompanymanagers.d.ts.map +1 -0
  169. package/dist/esm/models/operations/lookupcompanymanagers.js +26 -0
  170. package/dist/esm/models/operations/lookupcompanymanagers.js.map +1 -0
  171. package/dist/esm/react-query/companiesListCompanyManagerContacts.d.ts +6 -2
  172. package/dist/esm/react-query/companiesListCompanyManagerContacts.d.ts.map +1 -1
  173. package/dist/esm/react-query/companiesListCompanyManagerContacts.js +6 -2
  174. package/dist/esm/react-query/companiesListCompanyManagerContacts.js.map +1 -1
  175. package/dist/esm/react-query/index.d.ts +1 -0
  176. package/dist/esm/react-query/index.d.ts.map +1 -1
  177. package/dist/esm/react-query/index.js +1 -0
  178. package/dist/esm/react-query/index.js.map +1 -1
  179. package/dist/esm/react-query/lookupsListLookupSystems.core.d.ts +1 -1
  180. package/dist/esm/react-query/lookupsListLookupSystems.core.d.ts.map +1 -1
  181. package/dist/esm/react-query/lookupsListLookupSystems.d.ts +2 -2
  182. package/dist/esm/react-query/lookupsListLookupSystems.d.ts.map +1 -1
  183. package/dist/esm/react-query/lookupsLookupCompanyManagers.core.d.ts +14 -0
  184. package/dist/esm/react-query/lookupsLookupCompanyManagers.core.d.ts.map +1 -0
  185. package/dist/esm/react-query/lookupsLookupCompanyManagers.core.js +36 -0
  186. package/dist/esm/react-query/lookupsLookupCompanyManagers.core.js.map +1 -0
  187. package/dist/esm/react-query/lookupsLookupCompanyManagers.d.ts +33 -0
  188. package/dist/esm/react-query/lookupsLookupCompanyManagers.d.ts.map +1 -0
  189. package/dist/esm/react-query/lookupsLookupCompanyManagers.js +59 -0
  190. package/dist/esm/react-query/lookupsLookupCompanyManagers.js.map +1 -0
  191. package/dist/esm/react-query/organizationsListOrSearchFacilities.core.d.ts +2 -0
  192. package/dist/esm/react-query/organizationsListOrSearchFacilities.core.d.ts.map +1 -1
  193. package/dist/esm/react-query/organizationsListOrSearchFacilities.core.js +2 -0
  194. package/dist/esm/react-query/organizationsListOrSearchFacilities.core.js.map +1 -1
  195. package/dist/esm/react-query/organizationsListOrSearchFacilities.d.ts +2 -0
  196. package/dist/esm/react-query/organizationsListOrSearchFacilities.d.ts.map +1 -1
  197. package/dist/esm/react-query/organizationsListOrSearchFacilities.js.map +1 -1
  198. package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.d.ts +2 -0
  199. package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.d.ts.map +1 -1
  200. package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.js +2 -0
  201. package/dist/esm/react-query/vendorsGetVendorInvoiceDetails.js.map +1 -1
  202. package/dist/esm/sdk/companies.d.ts +3 -1
  203. package/dist/esm/sdk/companies.d.ts.map +1 -1
  204. package/dist/esm/sdk/companies.js +3 -1
  205. package/dist/esm/sdk/companies.js.map +1 -1
  206. package/dist/esm/sdk/lookups.d.ts +7 -0
  207. package/dist/esm/sdk/lookups.d.ts.map +1 -1
  208. package/dist/esm/sdk/lookups.js +10 -0
  209. package/dist/esm/sdk/lookups.js.map +1 -1
  210. package/dist/esm/sdk/sdk.d.ts +2 -2
  211. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  212. package/dist/esm/sdk/sdk.js +3 -3
  213. package/dist/esm/sdk/sdk.js.map +1 -1
  214. package/dist/esm/sdk/vendors.d.ts +1 -0
  215. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  216. package/dist/esm/sdk/vendors.js +1 -0
  217. package/dist/esm/sdk/vendors.js.map +1 -1
  218. package/jsr.json +1 -1
  219. package/package.json +1 -1
  220. package/src/__tests__/lookups.test.ts +27 -0
  221. package/src/__tests__/vendors.test.ts +1 -1
  222. package/src/__tests__/zones.test.ts +9 -10
  223. package/src/funcs/companiesListCompanyManagerContacts.ts +3 -1
  224. package/src/funcs/lookupsLookupCompanyManagers.ts +178 -0
  225. package/src/funcs/organizationsListOrSearchFacilities.ts +1 -0
  226. package/src/funcs/vendorsGetVendorInvoiceDetails.ts +1 -0
  227. package/src/lib/config.ts +2 -2
  228. package/src/models/components/alert.ts +5 -2
  229. package/src/models/components/{companymanagercontact.ts → companymanagerlookup.ts} +7 -7
  230. package/src/models/components/expand.ts +1 -0
  231. package/src/models/components/index.ts +1 -1
  232. package/src/models/components/invoice.ts +89 -6
  233. package/src/models/operations/index.ts +1 -0
  234. package/src/models/operations/listcompanymanagercontacts.ts +3 -3
  235. package/src/models/operations/listlookupsystems.ts +7 -7
  236. package/src/models/operations/listorsearchfacilities.ts +22 -0
  237. package/src/models/operations/lookupcompanymanagers.ts +78 -0
  238. package/src/react-query/companiesListCompanyManagerContacts.ts +6 -2
  239. package/src/react-query/index.ts +1 -0
  240. package/src/react-query/lookupsListLookupSystems.core.ts +1 -1
  241. package/src/react-query/lookupsListLookupSystems.ts +2 -2
  242. package/src/react-query/lookupsLookupCompanyManagers.core.ts +80 -0
  243. package/src/react-query/lookupsLookupCompanyManagers.ts +147 -0
  244. package/src/react-query/organizationsListOrSearchFacilities.core.ts +4 -0
  245. package/src/react-query/organizationsListOrSearchFacilities.ts +2 -0
  246. package/src/react-query/vendorsGetVendorInvoiceDetails.ts +2 -0
  247. package/src/sdk/companies.ts +3 -1
  248. package/src/sdk/lookups.ts +18 -0
  249. package/src/sdk/sdk.ts +5 -5
  250. package/src/sdk/vendors.ts +1 -0
  251. package/dist/commonjs/models/components/companymanagercontact.d.ts.map +0 -1
  252. package/dist/commonjs/models/components/companymanagercontact.js.map +0 -1
  253. package/dist/esm/models/components/companymanagercontact.d.ts.map +0 -1
  254. package/dist/esm/models/components/companymanagercontact.js.map +0 -1
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  export type ListCompanyManagerContactsRequest = {
13
13
  /**
14
- * Id of the company whose manager contacts are being listed.
14
+ * Id of the company whose managers are being listed.
15
15
  */
16
16
  companyId: number;
17
17
  };
@@ -20,7 +20,7 @@ export type ListCompanyManagerContactsRequest = {
20
20
  * The request was successful, and the server has returned the requested resource in the response body.
21
21
  */
22
22
  export type ListCompanyManagerContactsListCompanyManagerContactsOk = {
23
- items: Array<components.CompanyManagerContact>;
23
+ items: Array<components.CompanyManagerLookup>;
24
24
  };
25
25
 
26
26
  /** @internal */
@@ -58,7 +58,7 @@ export const ListCompanyManagerContactsListCompanyManagerContactsOk$inboundSchem
58
58
  z.ZodTypeDef,
59
59
  unknown
60
60
  > = z.object({
61
- items: z.array(components.CompanyManagerContact$inboundSchema),
61
+ items: z.array(components.CompanyManagerLookup$inboundSchema),
62
62
  });
63
63
 
64
64
  export function listCompanyManagerContactsListCompanyManagerContactsOkFromJSON(
@@ -18,14 +18,14 @@ export type QueryParamExpand = ClosedEnum<typeof QueryParamExpand>;
18
18
  /**
19
19
  * Filter systems to those with facilities of the given use type.
20
20
  */
21
- export const Use = {
21
+ export const QueryParamUse = {
22
22
  Credentialing: "credentialing",
23
23
  VisitorManagement: "visitor_management",
24
24
  } as const;
25
25
  /**
26
26
  * Filter systems to those with facilities of the given use type.
27
27
  */
28
- export type Use = ClosedEnum<typeof Use>;
28
+ export type QueryParamUse = ClosedEnum<typeof QueryParamUse>;
29
29
 
30
30
  export type ListLookupSystemsRequest = {
31
31
  /**
@@ -35,7 +35,7 @@ export type ListLookupSystemsRequest = {
35
35
  /**
36
36
  * Filter systems to those with facilities of the given use type.
37
37
  */
38
- use?: Use | undefined;
38
+ use?: QueryParamUse | undefined;
39
39
  };
40
40
 
41
41
  /**
@@ -51,9 +51,9 @@ export const QueryParamExpand$outboundSchema: z.ZodNativeEnum<
51
51
  > = z.nativeEnum(QueryParamExpand);
52
52
 
53
53
  /** @internal */
54
- export const Use$outboundSchema: z.ZodNativeEnum<typeof Use> = z.nativeEnum(
55
- Use,
56
- );
54
+ export const QueryParamUse$outboundSchema: z.ZodNativeEnum<
55
+ typeof QueryParamUse
56
+ > = z.nativeEnum(QueryParamUse);
57
57
 
58
58
  /** @internal */
59
59
  export type ListLookupSystemsRequest$Outbound = {
@@ -68,7 +68,7 @@ export const ListLookupSystemsRequest$outboundSchema: z.ZodType<
68
68
  ListLookupSystemsRequest
69
69
  > = z.object({
70
70
  expand: z.array(QueryParamExpand$outboundSchema).optional(),
71
- use: Use$outboundSchema.optional(),
71
+ use: QueryParamUse$outboundSchema.optional(),
72
72
  });
73
73
 
74
74
  export function listLookupSystemsRequestToJSON(
@@ -22,6 +22,17 @@ export const Targeted = {
22
22
  */
23
23
  export type Targeted = ClosedEnum<typeof Targeted>;
24
24
 
25
+ /**
26
+ * Narrow the listing to facilities that are selectable for a given product. `credentialing` restricts the response to facilities in the caller's own site that use credentialing and are publicly listed — exactly the facilities `POST /api/vendors` accepts as a `primary_facility_id`, so a picker built on this endpoint cannot offer a facility that the create call would then reject.
27
+ */
28
+ export const Use = {
29
+ Credentialing: "credentialing",
30
+ } as const;
31
+ /**
32
+ * Narrow the listing to facilities that are selectable for a given product. `credentialing` restricts the response to facilities in the caller's own site that use credentialing and are publicly listed — exactly the facilities `POST /api/vendors` accepts as a `primary_facility_id`, so a picker built on this endpoint cannot offer a facility that the create call would then reject.
33
+ */
34
+ export type Use = ClosedEnum<typeof Use>;
35
+
25
36
  export type ListOrSearchFacilitiesRequest = {
26
37
  /**
27
38
  * A comma-separated list of object attributes to sort on.
@@ -75,6 +86,10 @@ export type ListOrSearchFacilitiesRequest = {
75
86
  * For Company Manager callers, filter facilities by whether the manager's company has already targeted them via a `CompanyTargetFacility` link. Only `false` is accepted — restricts the response to same-site facilities the company has not yet targeted (useful when discovering candidate facilities the company could newly target). The facilities a company already targets are available from `GET /api/companies/{company_id}/target-facilities`. Ignored for non-Company-Manager callers.
76
87
  */
77
88
  targeted?: Targeted | undefined;
89
+ /**
90
+ * Narrow the listing to facilities that are selectable for a given product. `credentialing` restricts the response to facilities in the caller's own site that use credentialing and are publicly listed — exactly the facilities `POST /api/vendors` accepts as a `primary_facility_id`, so a picker built on this endpoint cannot offer a facility that the create call would then reject.
91
+ */
92
+ use?: Use | undefined;
78
93
  };
79
94
 
80
95
  /**
@@ -96,6 +111,11 @@ export type ListOrSearchFacilitiesResponse = {
96
111
  export const Targeted$outboundSchema: z.ZodNativeEnum<typeof Targeted> = z
97
112
  .nativeEnum(Targeted);
98
113
 
114
+ /** @internal */
115
+ export const Use$outboundSchema: z.ZodNativeEnum<typeof Use> = z.nativeEnum(
116
+ Use,
117
+ );
118
+
99
119
  /** @internal */
100
120
  export type ListOrSearchFacilitiesRequest$Outbound = {
101
121
  sort?: string | null | undefined;
@@ -110,6 +130,7 @@ export type ListOrSearchFacilitiesRequest$Outbound = {
110
130
  latitude?: number | undefined;
111
131
  longitude?: number | undefined;
112
132
  targeted?: string | undefined;
133
+ use?: string | undefined;
113
134
  };
114
135
 
115
136
  /** @internal */
@@ -130,6 +151,7 @@ export const ListOrSearchFacilitiesRequest$outboundSchema: z.ZodType<
130
151
  latitude: z.number().optional(),
131
152
  longitude: z.number().optional(),
132
153
  targeted: Targeted$outboundSchema.optional(),
154
+ use: Use$outboundSchema.optional(),
133
155
  }).transform((v) => {
134
156
  return remap$(v, {
135
157
  itemsPerPage: "items_per_page",
@@ -0,0 +1,78 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as components from "../components/index.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type LookupCompanyManagersRequest = {
13
+ /**
14
+ * Id of the company whose managers are being listed.
15
+ */
16
+ companyId: number;
17
+ };
18
+
19
+ /**
20
+ * The request was successful, and the server has returned the requested resource in the response body.
21
+ */
22
+ export type LookupCompanyManagersLookupCompanyManagersOk = {
23
+ items: Array<components.CompanyManagerLookup>;
24
+ };
25
+
26
+ /** @internal */
27
+ export type LookupCompanyManagersRequest$Outbound = {
28
+ company_id: number;
29
+ };
30
+
31
+ /** @internal */
32
+ export const LookupCompanyManagersRequest$outboundSchema: z.ZodType<
33
+ LookupCompanyManagersRequest$Outbound,
34
+ z.ZodTypeDef,
35
+ LookupCompanyManagersRequest
36
+ > = z.object({
37
+ companyId: z.number().int(),
38
+ }).transform((v) => {
39
+ return remap$(v, {
40
+ companyId: "company_id",
41
+ });
42
+ });
43
+
44
+ export function lookupCompanyManagersRequestToJSON(
45
+ lookupCompanyManagersRequest: LookupCompanyManagersRequest,
46
+ ): string {
47
+ return JSON.stringify(
48
+ LookupCompanyManagersRequest$outboundSchema.parse(
49
+ lookupCompanyManagersRequest,
50
+ ),
51
+ );
52
+ }
53
+
54
+ /** @internal */
55
+ export const LookupCompanyManagersLookupCompanyManagersOk$inboundSchema:
56
+ z.ZodType<
57
+ LookupCompanyManagersLookupCompanyManagersOk,
58
+ z.ZodTypeDef,
59
+ unknown
60
+ > = z.object({
61
+ items: z.array(components.CompanyManagerLookup$inboundSchema),
62
+ });
63
+
64
+ export function lookupCompanyManagersLookupCompanyManagersOkFromJSON(
65
+ jsonString: string,
66
+ ): SafeParseResult<
67
+ LookupCompanyManagersLookupCompanyManagersOk,
68
+ SDKValidationError
69
+ > {
70
+ return safeParse(
71
+ jsonString,
72
+ (x) =>
73
+ LookupCompanyManagersLookupCompanyManagersOk$inboundSchema.parse(
74
+ JSON.parse(x),
75
+ ),
76
+ `Failed to parse 'LookupCompanyManagersLookupCompanyManagersOk' from JSON`,
77
+ );
78
+ }
@@ -56,7 +56,9 @@ export type CompaniesListCompanyManagerContactsQueryError =
56
56
  * List the contact details of a company's managers
57
57
  *
58
58
  * @remarks
59
- * List the active managers of a company who have an email address, so someone who belongs to that company can contact them. Readable by a vendor of the company, a manager of the company, or an admin; every other caller receives a 404. Carries only the fields needed to address a message, not the full company manager or user record. Distinct from `/companies/{company_id}/managers`, which is the administration listing and is gated on the `company_managers` view permission.
59
+ * Deprecated in favor of `/lookups/company_managers`, which returns the same list. Kept so app builds released before the move keep working.
60
+ *
61
+ * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
60
62
  */
61
63
  export function useCompaniesListCompanyManagerContacts(
62
64
  request: operations.ListCompanyManagerContactsRequest,
@@ -83,7 +85,9 @@ export function useCompaniesListCompanyManagerContacts(
83
85
  * List the contact details of a company's managers
84
86
  *
85
87
  * @remarks
86
- * List the active managers of a company who have an email address, so someone who belongs to that company can contact them. Readable by a vendor of the company, a manager of the company, or an admin; every other caller receives a 404. Carries only the fields needed to address a message, not the full company manager or user record. Distinct from `/companies/{company_id}/managers`, which is the administration listing and is gated on the `company_managers` view permission.
88
+ * Deprecated in favor of `/lookups/company_managers`, which returns the same list. Kept so app builds released before the move keep working.
89
+ *
90
+ * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
87
91
  */
88
92
  export function useCompaniesListCompanyManagerContactsSuspense(
89
93
  request: operations.ListCompanyManagerContactsRequest,
@@ -44,6 +44,7 @@ export * from "./invoicesListInvoices.js";
44
44
  export * from "./invoicesMakePayment.js";
45
45
  export * from "./invoicesUpdateInvoice.js";
46
46
  export * from "./lookupsListLookupSystems.js";
47
+ export * from "./lookupsLookupCompanyManagers.js";
47
48
  export * from "./lookupsLookupPostalCode.js";
48
49
  export * from "./medicalProductsCreateDistributor.js";
49
50
  export * from "./medicalProductsCreateManufacturer.js";
@@ -72,7 +72,7 @@ export function buildLookupsListLookupSystemsQuery(
72
72
  export function queryKeyLookupsListLookupSystems(
73
73
  parameters: {
74
74
  expand?: Array<operations.QueryParamExpand> | undefined;
75
- use?: operations.Use | undefined;
75
+ use?: operations.QueryParamUse | undefined;
76
76
  },
77
77
  ): QueryKey {
78
78
  return [
@@ -125,7 +125,7 @@ export function setLookupsListLookupSystemsData(
125
125
  queryKeyBase: [
126
126
  parameters: {
127
127
  expand?: Array<operations.QueryParamExpand> | undefined;
128
- use?: operations.Use | undefined;
128
+ use?: operations.QueryParamUse | undefined;
129
129
  },
130
130
  ],
131
131
  data: LookupsListLookupSystemsQueryData,
@@ -140,7 +140,7 @@ export function invalidateLookupsListLookupSystems(
140
140
  queryKeyBase: TupleToPrefixes<
141
141
  [parameters: {
142
142
  expand?: Array<operations.QueryParamExpand> | undefined;
143
- use?: operations.Use | undefined;
143
+ use?: operations.QueryParamUse | undefined;
144
144
  }]
145
145
  >,
146
146
  filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
@@ -0,0 +1,80 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import {
6
+ QueryClient,
7
+ QueryFunctionContext,
8
+ QueryKey,
9
+ } from "@tanstack/react-query";
10
+ import { GreenSecurityCore } from "../core.js";
11
+ import { lookupsLookupCompanyManagers } from "../funcs/lookupsLookupCompanyManagers.js";
12
+ import { combineSignals } from "../lib/primitives.js";
13
+ import { RequestOptions } from "../lib/sdks.js";
14
+ import * as operations from "../models/operations/index.js";
15
+ import { unwrapAsync } from "../types/fp.js";
16
+ export type LookupsLookupCompanyManagersQueryData =
17
+ operations.LookupCompanyManagersLookupCompanyManagersOk;
18
+
19
+ export function prefetchLookupsLookupCompanyManagers(
20
+ queryClient: QueryClient,
21
+ client$: GreenSecurityCore,
22
+ request: operations.LookupCompanyManagersRequest,
23
+ options?: RequestOptions,
24
+ ): Promise<void> {
25
+ return queryClient.prefetchQuery({
26
+ ...buildLookupsLookupCompanyManagersQuery(
27
+ client$,
28
+ request,
29
+ options,
30
+ ),
31
+ });
32
+ }
33
+
34
+ export function buildLookupsLookupCompanyManagersQuery(
35
+ client$: GreenSecurityCore,
36
+ request: operations.LookupCompanyManagersRequest,
37
+ options?: RequestOptions,
38
+ ): {
39
+ queryKey: QueryKey;
40
+ queryFn: (
41
+ context: QueryFunctionContext,
42
+ ) => Promise<LookupsLookupCompanyManagersQueryData>;
43
+ } {
44
+ return {
45
+ queryKey: queryKeyLookupsLookupCompanyManagers({
46
+ companyId: request.companyId,
47
+ }),
48
+ queryFn: async function lookupsLookupCompanyManagersQueryFn(
49
+ ctx,
50
+ ): Promise<LookupsLookupCompanyManagersQueryData> {
51
+ const sig = combineSignals(
52
+ ctx.signal,
53
+ options?.signal,
54
+ options?.fetchOptions?.signal,
55
+ );
56
+ const mergedOptions = {
57
+ ...options?.fetchOptions,
58
+ ...options,
59
+ signal: sig,
60
+ };
61
+
62
+ return unwrapAsync(lookupsLookupCompanyManagers(
63
+ client$,
64
+ request,
65
+ mergedOptions,
66
+ ));
67
+ },
68
+ };
69
+ }
70
+
71
+ export function queryKeyLookupsLookupCompanyManagers(
72
+ parameters: { companyId: number },
73
+ ): QueryKey {
74
+ return [
75
+ "@greensecurity/javascript-sdk",
76
+ "lookups",
77
+ "lookupCompanyManagers",
78
+ parameters,
79
+ ];
80
+ }
@@ -0,0 +1,147 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import {
6
+ InvalidateQueryFilters,
7
+ QueryClient,
8
+ useQuery,
9
+ UseQueryResult,
10
+ useSuspenseQuery,
11
+ UseSuspenseQueryResult,
12
+ } from "@tanstack/react-query";
13
+ import { GreenSecurityError } from "../models/errors/greensecurityerror.js";
14
+ import {
15
+ ConnectionError,
16
+ InvalidRequestError,
17
+ RequestAbortedError,
18
+ RequestTimeoutError,
19
+ UnexpectedClientError,
20
+ } from "../models/errors/httpclienterrors.js";
21
+ import * as errors from "../models/errors/index.js";
22
+ import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
23
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
24
+ import * as operations from "../models/operations/index.js";
25
+ import { useGreenSecurityContext } from "./_context.js";
26
+ import {
27
+ QueryHookOptions,
28
+ SuspenseQueryHookOptions,
29
+ TupleToPrefixes,
30
+ } from "./_types.js";
31
+ import {
32
+ buildLookupsLookupCompanyManagersQuery,
33
+ LookupsLookupCompanyManagersQueryData,
34
+ prefetchLookupsLookupCompanyManagers,
35
+ queryKeyLookupsLookupCompanyManagers,
36
+ } from "./lookupsLookupCompanyManagers.core.js";
37
+ export {
38
+ buildLookupsLookupCompanyManagersQuery,
39
+ type LookupsLookupCompanyManagersQueryData,
40
+ prefetchLookupsLookupCompanyManagers,
41
+ queryKeyLookupsLookupCompanyManagers,
42
+ };
43
+
44
+ export type LookupsLookupCompanyManagersQueryError =
45
+ | errors.ApiErrorResponse
46
+ | GreenSecurityError
47
+ | ResponseValidationError
48
+ | ConnectionError
49
+ | RequestAbortedError
50
+ | RequestTimeoutError
51
+ | InvalidRequestError
52
+ | UnexpectedClientError
53
+ | SDKValidationError;
54
+
55
+ /**
56
+ * List the managers of a company for addressing a message
57
+ *
58
+ * @remarks
59
+ * List the active managers of a company who have an email address, so someone who belongs to that company can contact them. Readable by a vendor of the company, a manager of the company, or an admin; every other caller receives a 404. Carries only the fields needed to address a message, not the full company manager or user record. Distinct from `/companies/{id}/managers`, which is the administration listing and is gated on the `company_managers` view permission.
60
+ */
61
+ export function useLookupsLookupCompanyManagers(
62
+ request: operations.LookupCompanyManagersRequest,
63
+ options?: QueryHookOptions<
64
+ LookupsLookupCompanyManagersQueryData,
65
+ LookupsLookupCompanyManagersQueryError
66
+ >,
67
+ ): UseQueryResult<
68
+ LookupsLookupCompanyManagersQueryData,
69
+ LookupsLookupCompanyManagersQueryError
70
+ > {
71
+ const client = useGreenSecurityContext();
72
+ return useQuery({
73
+ ...buildLookupsLookupCompanyManagersQuery(
74
+ client,
75
+ request,
76
+ options,
77
+ ),
78
+ ...options,
79
+ });
80
+ }
81
+
82
+ /**
83
+ * List the managers of a company for addressing a message
84
+ *
85
+ * @remarks
86
+ * List the active managers of a company who have an email address, so someone who belongs to that company can contact them. Readable by a vendor of the company, a manager of the company, or an admin; every other caller receives a 404. Carries only the fields needed to address a message, not the full company manager or user record. Distinct from `/companies/{id}/managers`, which is the administration listing and is gated on the `company_managers` view permission.
87
+ */
88
+ export function useLookupsLookupCompanyManagersSuspense(
89
+ request: operations.LookupCompanyManagersRequest,
90
+ options?: SuspenseQueryHookOptions<
91
+ LookupsLookupCompanyManagersQueryData,
92
+ LookupsLookupCompanyManagersQueryError
93
+ >,
94
+ ): UseSuspenseQueryResult<
95
+ LookupsLookupCompanyManagersQueryData,
96
+ LookupsLookupCompanyManagersQueryError
97
+ > {
98
+ const client = useGreenSecurityContext();
99
+ return useSuspenseQuery({
100
+ ...buildLookupsLookupCompanyManagersQuery(
101
+ client,
102
+ request,
103
+ options,
104
+ ),
105
+ ...options,
106
+ });
107
+ }
108
+
109
+ export function setLookupsLookupCompanyManagersData(
110
+ client: QueryClient,
111
+ queryKeyBase: [parameters: { companyId: number }],
112
+ data: LookupsLookupCompanyManagersQueryData,
113
+ ): LookupsLookupCompanyManagersQueryData | undefined {
114
+ const key = queryKeyLookupsLookupCompanyManagers(...queryKeyBase);
115
+
116
+ return client.setQueryData<LookupsLookupCompanyManagersQueryData>(key, data);
117
+ }
118
+
119
+ export function invalidateLookupsLookupCompanyManagers(
120
+ client: QueryClient,
121
+ queryKeyBase: TupleToPrefixes<[parameters: { companyId: number }]>,
122
+ filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
123
+ ): Promise<void> {
124
+ return client.invalidateQueries({
125
+ ...filters,
126
+ queryKey: [
127
+ "@greensecurity/javascript-sdk",
128
+ "lookups",
129
+ "lookupCompanyManagers",
130
+ ...queryKeyBase,
131
+ ],
132
+ });
133
+ }
134
+
135
+ export function invalidateAllLookupsLookupCompanyManagers(
136
+ client: QueryClient,
137
+ filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
138
+ ): Promise<void> {
139
+ return client.invalidateQueries({
140
+ ...filters,
141
+ queryKey: [
142
+ "@greensecurity/javascript-sdk",
143
+ "lookups",
144
+ "lookupCompanyManagers",
145
+ ],
146
+ });
147
+ }
@@ -88,6 +88,7 @@ export function buildOrganizationsListOrSearchFacilitiesQuery(
88
88
  latitude: request.latitude,
89
89
  longitude: request.longitude,
90
90
  targeted: request.targeted,
91
+ use: request.use,
91
92
  }),
92
93
  queryFn: async function organizationsListOrSearchFacilitiesQueryFn(
93
94
  ctx,
@@ -139,6 +140,7 @@ export function buildOrganizationsListOrSearchFacilitiesInfiniteQuery(
139
140
  latitude: request.latitude,
140
141
  longitude: request.longitude,
141
142
  targeted: request.targeted,
143
+ use: request.use,
142
144
  }),
143
145
  queryFn: async function organizationsListOrSearchFacilitiesQuery(
144
146
  ctx,
@@ -188,6 +190,7 @@ export function queryKeyOrganizationsListOrSearchFacilities(
188
190
  latitude?: number | undefined;
189
191
  longitude?: number | undefined;
190
192
  targeted?: operations.Targeted | undefined;
193
+ use?: operations.Use | undefined;
191
194
  },
192
195
  ): QueryKey {
193
196
  return [
@@ -212,6 +215,7 @@ export function queryKeyOrganizationsListOrSearchFacilitiesInfinite(
212
215
  latitude?: number | undefined;
213
216
  longitude?: number | undefined;
214
217
  targeted?: operations.Targeted | undefined;
218
+ use?: operations.Use | undefined;
215
219
  },
216
220
  ): QueryKey {
217
221
  return [
@@ -275,6 +275,7 @@ export function setOrganizationsListOrSearchFacilitiesData(
275
275
  latitude?: number | undefined;
276
276
  longitude?: number | undefined;
277
277
  targeted?: operations.Targeted | undefined;
278
+ use?: operations.Use | undefined;
278
279
  },
279
280
  ],
280
281
  data: OrganizationsListOrSearchFacilitiesQueryData,
@@ -303,6 +304,7 @@ export function invalidateOrganizationsListOrSearchFacilities(
303
304
  latitude?: number | undefined;
304
305
  longitude?: number | undefined;
305
306
  targeted?: operations.Targeted | undefined;
307
+ use?: operations.Use | undefined;
306
308
  }]
307
309
  >,
308
310
  filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
@@ -64,6 +64,7 @@ export type VendorsGetVendorInvoiceDetailsQueryError =
64
64
  * invoice.line_items
65
65
  * invoice.invoice_transactions
66
66
  * invoice.may_pay_invoice
67
+ * invoice.associated_credentials
67
68
  * invoice_transactions.payee
68
69
  */
69
70
  export function useVendorsGetVendorInvoiceDetails(
@@ -98,6 +99,7 @@ export function useVendorsGetVendorInvoiceDetails(
98
99
  * invoice.line_items
99
100
  * invoice.invoice_transactions
100
101
  * invoice.may_pay_invoice
102
+ * invoice.associated_credentials
101
103
  * invoice_transactions.payee
102
104
  */
103
105
  export function useVendorsGetVendorInvoiceDetailsSuspense(
@@ -158,7 +158,9 @@ export class Companies extends ClientSDK {
158
158
  * List the contact details of a company's managers
159
159
  *
160
160
  * @remarks
161
- * List the active managers of a company who have an email address, so someone who belongs to that company can contact them. Readable by a vendor of the company, a manager of the company, or an admin; every other caller receives a 404. Carries only the fields needed to address a message, not the full company manager or user record. Distinct from `/companies/{company_id}/managers`, which is the administration listing and is gated on the `company_managers` view permission.
161
+ * Deprecated in favor of `/lookups/company_managers`, which returns the same list. Kept so app builds released before the move keep working.
162
+ *
163
+ * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
162
164
  */
163
165
  async listCompanyManagerContacts(
164
166
  request: operations.ListCompanyManagerContactsRequest,
@@ -3,12 +3,30 @@
3
3
  */
4
4
 
5
5
  import { lookupsListLookupSystems } from "../funcs/lookupsListLookupSystems.js";
6
+ import { lookupsLookupCompanyManagers } from "../funcs/lookupsLookupCompanyManagers.js";
6
7
  import { lookupsLookupPostalCode } from "../funcs/lookupsLookupPostalCode.js";
7
8
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
8
9
  import * as operations from "../models/operations/index.js";
9
10
  import { unwrapAsync } from "../types/fp.js";
10
11
 
11
12
  export class Lookups extends ClientSDK {
13
+ /**
14
+ * List the managers of a company for addressing a message
15
+ *
16
+ * @remarks
17
+ * List the active managers of a company who have an email address, so someone who belongs to that company can contact them. Readable by a vendor of the company, a manager of the company, or an admin; every other caller receives a 404. Carries only the fields needed to address a message, not the full company manager or user record. Distinct from `/companies/{id}/managers`, which is the administration listing and is gated on the `company_managers` view permission.
18
+ */
19
+ async lookupCompanyManagers(
20
+ request: operations.LookupCompanyManagersRequest,
21
+ options?: RequestOptions,
22
+ ): Promise<operations.LookupCompanyManagersLookupCompanyManagersOk> {
23
+ return unwrapAsync(lookupsLookupCompanyManagers(
24
+ this,
25
+ request,
26
+ options,
27
+ ));
28
+ }
29
+
12
30
  /**
13
31
  * List systems for dropdown/picker use
14
32
  *
package/src/sdk/sdk.ts CHANGED
@@ -73,6 +73,11 @@ export class GreenSecurity extends ClientSDK {
73
73
  return (this._companies ??= new Companies(this._options));
74
74
  }
75
75
 
76
+ private _lookups?: Lookups;
77
+ get lookups(): Lookups {
78
+ return (this._lookups ??= new Lookups(this._options));
79
+ }
80
+
76
81
  private _zones?: Zones;
77
82
  get zones(): Zones {
78
83
  return (this._zones ??= new Zones(this._options));
@@ -118,11 +123,6 @@ export class GreenSecurity extends ClientSDK {
118
123
  return (this._fhirConfigs ??= new FhirConfigs(this._options));
119
124
  }
120
125
 
121
- private _lookups?: Lookups;
122
- get lookups(): Lookups {
123
- return (this._lookups ??= new Lookups(this._options));
124
- }
125
-
126
126
  private _reports?: Reports;
127
127
  get reports(): Reports {
128
128
  return (this._reports ??= new Reports(this._options));
@@ -724,6 +724,7 @@ export class Vendors extends ClientSDK {
724
724
  * invoice.line_items
725
725
  * invoice.invoice_transactions
726
726
  * invoice.may_pay_invoice
727
+ * invoice.associated_credentials
727
728
  * invoice_transactions.payee
728
729
  */
729
730
  async getVendorInvoiceDetails(
@@ -1 +0,0 @@
1
- {"version":3,"file":"companymanagercontact.d.ts","sourceRoot":"","sources":["../../../../src/models/components/companymanagercontact.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"companymanagercontact.js","sourceRoot":"","sources":["../../../../src/models/components/companymanagercontact.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCH,sEAQC;AA7CD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,iEAAmD;AAgBnD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE;IAClB,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC1C,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACzC,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;QACzB,WAAW,EAAE,UAAU;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"companymanagercontact.d.ts","sourceRoot":"","sources":["../../../../src/models/components/companymanagercontact.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"companymanagercontact.js","sourceRoot":"","sources":["../../../../src/models/components/companymanagercontact.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AAgBnD,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE;IAClB,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC1C,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACzC,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;QACzB,WAAW,EAAE,UAAU;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}